1 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
3 Document TZ transition times >= 25:00:00.
4 * manual/time.texi (TZ Variable): Document transition times from
5 25:00:00 through 167:59:59. These are already supported, and this
6 support will help with version-3 tz-format files.
8 * manual/time.texi (TZ Variable): Modernize North America example
9 to reflect current (i.e., 2007-and-later) daylight saving rules.
11 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13 2013-12-17 Joseph Myers <joseph@codesourcery.com>
15 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20 * sysdeps/unix/bsd/bsdstat.h: Likewise.
21 * sysdeps/unix/bsd/clock.c: Likewise.
22 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24 * sysdeps/unix/bsd/init-posix.c: Likewise.
25 * sysdeps/unix/bsd/poll.c: Likewise.
26 * sysdeps/unix/bsd/ptsname.c: Likewise.
27 * sysdeps/unix/bsd/seekdir.c: Likewise.
28 * sysdeps/unix/bsd/setegid.c: Likewise.
29 * sysdeps/unix/bsd/seteuid.c: Likewise.
30 * sysdeps/unix/bsd/setgid.c: Likewise.
31 * sysdeps/unix/bsd/setrgid.c: Likewise.
32 * sysdeps/unix/bsd/setruid.c: Likewise.
33 * sysdeps/unix/bsd/setsid.c: Likewise.
34 * sysdeps/unix/bsd/setuid.c: Likewise.
35 * sysdeps/unix/bsd/sigaction.c: Likewise.
36 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
37 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
39 * sysdeps/unix/bsd/telldir.c: Likewise.
40 * sysdeps/unix/bsd/times.c: Likewise.
41 * sysdeps/unix/bsd/usleep.c: Likewise.
43 * misc/Makefile (install-lib): Remove libbsd-compat.a.
44 ($(objpfx)libbsd-compat.a): Remove rule.
46 * include/features.h (__FAVOR_BSD): Do not define.
47 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48 features conflicting with POSIX.
49 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
50 (_BSD_SOURCE): Remove description of not being a subset of other
52 * manual/job.texi (getpgrp): Do not document BSD version.
53 (getpgid): Do not document by reference to BSD getpgrp.
54 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
55 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
56 * signal/signal.h [__FAVOR_BSD]: Likewise.
57 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58 instead of making contents conditional on [__FAVOR_BSD].
59 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
61 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65 2013-12-17 Joseph Myers <joseph@codesourcery.com>
68 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
69 values below 2**-450, not 2**-500.
70 * math/auto-libm-test-in: Don't allow spurious underflow from
72 * math/auto-libm-test-out: Regenerated.
76 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
77 values of ha and hb and sort them after adjusting subnormal
79 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
81 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
82 values of ea and eb and sort them after adjusting subnormal
84 * math/auto-libm-test-in: Do not expect some hypot tests of
85 subnormals to fail. Add more hypot tests.
86 * math/auto-libm-test-out: Regenerated.
88 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
91 * sysdeps/sh/s_fma.c: New file.
92 * sysdeps/sh/s_fmaf.c: New file.
93 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
95 * sysdeps/sh/Implies: Add sh/soft-fp.
97 2013-12-16 Roland McGrath <roland@hack.frob.com>
99 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
100 level of indirection to members `objname', `errstring', `malloced'.
101 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
102 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
103 it as the __longjmp argument (just pass 1 instead).
104 (_dl_catch_error): Initialize C with argument pointers and address of
105 volatile local ERRCODE rather than copying values out of C at return.
107 2013-12-16 Joseph Myers <joseph@codesourcery.com>
109 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
110 * math/auto-libm-test-out: Regenerated.
111 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
112 (hypot_test_data): Likewise.
113 (pow_test_data): Likewise.
114 (pow_tonearest_test_data): Likewise.
115 * math/gen-auto-libm-tests.c (func_calc_method): Add value
117 (func_calc_desc): Add mpfr_ff_f union field.
118 (FUNC_mpfr_ff_f): New macro.
119 (test_functions): Add atan2, hypot and pow.
120 (special_fill_min): New function.
121 (special_fill_minus_min): Likewise.
122 (special_fill_min_subnorm): Likewise.
123 (special_fill_minus_min_subnorm): Likewise.
124 (special_real_inputs): Add min, -min, min_subnorm and
126 (calc_generic_results): Handle mpfr_ff_f.
127 * sysdeps/i386/fpu/libm-test-ulps: Update.
128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
130 2013-12-16 Will Newton <will.newton@linaro.org>
132 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
133 (Aligned Memory Blocks): Add documentation for aligned_alloc
134 and suggest it as an alternative to posix_memalign.
135 (Hooks for Malloc): Document __memalign_hook is also called
136 for aligned_alloc. (Summary of Malloc): Add summary for
137 aligned alloc. Document __memalign_hook is also called
140 2013-12-16 Will Newton <will.newton@linaro.org>
142 * manual/memory.texi (Malloc Examples): Clarify default
143 alignment documentation. Suggest posix_memalign rather
144 than memalign or valloc.
145 (Aligned Memory Blocks): Remove suggestion to use memalign
146 or valloc. Remove obsolete comment about BSD.
147 Document memalign errno values and mark the function obsolete.
148 Document posix_memalign returned error codes. Mark valloc
149 as obsolete. (Hooks for Malloc): __memalign_hook is also
150 called for posix_memalign and valloc.
151 (Summary of Malloc): Add posix_memalign to function summary.
152 __memalign_hook is also called for posix_memalign and valloc.
154 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
156 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
160 (sloww): Use mynumber union. Expand ternary operator into
162 (cslow): use mynumber union.
164 2013-12-16 Allan McRae <allan@archlinux.org>
166 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
167 * configure: Regenerated.
169 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
172 * configure.ac: Added --enable-maintainer-mode. Check for
173 autoconf when enabled.
174 * configure: Regenerated.
176 * nscd/nscd.service: New file.
177 * nscd/nscd.tmpfiles: New file.
179 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
182 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
183 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
184 * sysdeps/x86_64/multiarch/strstr.c: ... here.
185 (strstr): Add __strstr_sse2_unaligned ifunc.
186 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
187 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
188 (strcasestr): Remove __strcasestr_sse42 ifunc.
189 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
191 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
193 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
195 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
196 * sysdeps/sh/bits/fenv.h: ... here.
197 * sysdeps/sh/sh4/fpu/bits: Remove directory.
199 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
201 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
203 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
206 hypotf multiarch implementations.
207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
210 multiarch hypot for PPC64.
211 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
212 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
213 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
214 multiarch hypotf for PPC64.
216 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
219 modff multiarch implementations.
220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
223 multiarch modf for PPC64.
224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
227 multiarch modff for PPC64.
229 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
231 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
232 and logl multiarch implementations.
233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
236 multiarch logb for PPC64.
237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
240 multiarch logb for PPC64.
241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
244 multiarch logb for PPC64.
246 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
248 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
249 isinff multiarch implementation.
250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
254 multiarch isinf for PPC64.
255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
258 multiarch isinff for PPC64.
260 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
263 finitef multiarch implementation.
264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
268 multiarch finite for PPC64.
269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
272 multiarch finitef for PPC64.
274 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
277 lrint multiarch implementation.
278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
282 multiarch llrint for PPC64.
283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
284 multiarch lrint for PPC64.
286 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
289 copysignf multiarch implementation.
290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
295 multiarch copysign for PPC64.
296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
297 multiarch copysignf for PPC64.
299 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
302 multiarch implementation.
303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
311 multiarch llround for PPC64.
312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
313 multiarch trunc for PPC64.
314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
315 multiarch truncf for PPC64.
317 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
320 multiarch implementation.
321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
329 multiarch llround for PPC64.
330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
331 multiarch round for PPC64.
332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
333 multiarch roundf for PPC64.
335 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
338 multiarch implementation.
339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
347 multiarch llround for PPC64.
348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
349 multiarch floor for PPC64.
350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
351 multiarch floorf for PPC64.
353 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
356 multiarch implementation.
357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
365 multiarch llround for PPC64.
366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
367 multiarch ceil for PPC64.
368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
369 multiarch ceilf for PPC64.
371 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
373 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
374 multiarch implementation.
375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
382 multiarch llround for PPC64.
383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
384 multiarch lround for PPC64.
386 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
389 multiarch implementation.
390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
397 multiarch isnan for PPC64.
398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
399 multiarch isnanf for PPC64.
401 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
403 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
404 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
405 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
406 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
407 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
410 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
412 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
413 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
417 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
420 multiarch implementations.
421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
422 (__libc_ifunc_impl_list): Likewise.
423 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
424 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
425 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
426 multiarch stpcpy for PPC64.
428 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
431 multiarch implementations.
432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
433 (__libc_ifunc_impl_list): Likewise.
434 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
435 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
436 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
437 multiarch strcpy for PPC64.
439 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
441 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
442 redefine function name.
443 (_wordcopy_fwd_dest_aligned): Likewise.
444 (_wordcopy_bwd_aligned): Likewise.
445 (_wordcopy_bwd_dest_aligned): Likewise.
446 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
447 multiarch implementations.
448 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
449 (__libc_ifunc_impl_list): Likewise.
450 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
451 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
452 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
453 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
454 multiarch wcscpy for PPC64.
456 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
459 multiarch implementations.
460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
461 (__libc_ifunc_impl_list): Likewise.
462 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
463 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
464 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
465 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
466 multiarch wcscpy for PPC64.
468 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
471 multiarch implementations.
472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
473 (__libc_ifunc_impl_list): Likewise.
474 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
475 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
476 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
477 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
478 multiarch wcsrchr for PPC64.
480 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
483 multiarch implementations.
484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
485 (__libc_ifunc_impl_list): Likewise.
486 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
487 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
488 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
489 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
490 multiarch wcschr for PPC64.
492 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
495 multiarch implementations.
496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
497 (__libc_ifunc_impl_list): Likewise.
498 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
499 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
500 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
501 multiarch strchrnul for PPC64.
503 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
508 (__libc_ifunc_impl_list): Likewise.
509 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
510 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
511 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
512 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
515 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
520 (__libc_ifunc_impl_list): Likewise.
521 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
522 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
523 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
524 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
527 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
529 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
530 multiarch implementations.
531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
532 (__libc_ifunc_impl_list): Likewise.
533 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
534 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
535 strncasecmp for PPC64.
536 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
537 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
538 multiarch strncasecmp_l for PPC64.
540 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
543 multiarch implementations.
544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
545 (__libc_ifunc_impl_list): Likewise.
546 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
547 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
548 multiarch strcasecmp for PPC64.
549 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
551 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
552 multiarch strcasecmp_l for PPC64.
554 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
556 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
559 (__libc_ifunc_impl_list): Likewise.
560 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
561 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
562 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
565 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
570 (__libc_ifunc_impl_list): Likewise.
571 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
572 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
573 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
576 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
581 (__libc_ifunc_impl_list): Likewise.
582 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
583 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
584 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
585 rawmemrchr for PPC64.
587 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
592 (__libc_ifunc_impl_list): Likewise.
593 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
594 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
595 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
598 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
600 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
602 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
603 (__libc_ifunc_impl_list): Likewise.
604 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
605 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
606 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
609 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
614 (__libc_ifunc_impl_list): Likewise.
615 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
616 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
617 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
620 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
622 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
623 avoid cretion of __bzero symbol.
624 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
626 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
628 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
631 multiarch implementations.
632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
633 (__libc_ifunc_impl_list): Likewise.
634 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
635 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
636 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
637 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
639 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
640 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
641 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
642 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
643 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
645 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
647 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
649 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
653 (__libc_ifunc_impl_list): Likewise.
654 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
655 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
656 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
657 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
660 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
663 multiarch for POWER/PPC64.
664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
665 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
666 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
667 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
668 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
669 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
670 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
671 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
672 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
675 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
677 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
678 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
679 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
680 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
681 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
682 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
683 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
684 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
685 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
686 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
687 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
688 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
689 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
690 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
691 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
700 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
702 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
704 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
706 * benchtests/Makefile (bench): Add exp2 and log2.
707 (LDLIBS-bench-exp2): Add -lm.
708 (LDLIBS-bench-log2): Likewise.
709 * benchtests/exp2-inputs: New inputs file.
710 * benchtests/log2-inputs: New inputs file.
711 * benchtests/log-inputs: Add new inputs.
712 * benchtests/tan-inputs: Likewise.
714 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
716 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
718 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
719 csloww1, csloww2): ... from here.
721 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
722 instead of structures.
723 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
724 (POLYNOMIAL): Likewise.
725 (TAYLOR_SLOW): Likewise.
740 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
742 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
743 (__malloc_assert, __libc_realloc, __libc_calloc,
744 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
746 * malloc/hooks.c (realloc_check): Likewise.
748 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
750 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
751 * malloc/arena.c: Remove PER_THREAD conditional.
752 [!PER_THREAD]: Remove code.
753 (ptmalloc_unlock_all2): Likewise.
754 (ptmalloc_init): Likewise.
755 (_int_new_arena): Likewise.
756 (arena_get2): Likewise.
757 * malloc/hooks.c (__malloc_get_state): Likewise.
758 (__malloc_set_state): Likewise.
759 * malloc/malloc.c: Likewise.
760 (struct malloc_state): Likewise.
761 (struct malloc_par): Likewise.
762 (__libc_realloc): Likewise.
763 (__libc_mallopt): Likewise.
765 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
767 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
769 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
771 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
772 macro to a function. Check for zero perturb_byte.
773 (_int_malloc, _int_free): Remove zero perturb_byte checks.
775 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
777 * malloc/malloc.c: (force_reg): Remove.
778 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
779 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
780 force_reg by atomic_forced_read.
781 * malloc/arena.c (ptmalloc_init): Likewise.
782 * malloc/hooks.c (top_check): Likewise.
784 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
788 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
792 2013-12-08 Joseph Myers <joseph@codesourcery.com>
794 * math/auto-libm-test-in: Add tests of lgamma.
795 * math/auto-libm-test-out: Regenerated.
796 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
797 (M_LOG_2_SQRT_PIl): Likewise.
798 (lgamma_test_data): Use AUTO_TESTS_f_f1.
799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
801 (func_calc_desc): Add mpfr_f_f1 union field.
810 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
811 (test_functions): Add lgamma.
812 (calc_generic_results): Handle mpfr_f_f1.
813 * sysdeps/i386/fpu/libm-test-ulps: Update.
814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
816 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
818 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
819 __mpn_add_n for PowerPC64/POWER7.
820 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
821 __mpn_sub_n for PowerPC64/POWER7.
823 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
825 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
826 __mpn_addmul_1 for PowerPC64.
827 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
828 __mpn_submul_1 for PowerPC64.
829 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
831 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
834 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
837 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
839 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
841 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
843 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
845 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
846 add multiarch folders.
847 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
848 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
849 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
850 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
851 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
852 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
853 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
854 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
855 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
856 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
857 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
865 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
868 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
874 multiarch __ieee754_hypot for PowerPC32.
875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
880 multiarch __ieee754_hypotf for PowerPC32.
882 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
885 long_double_symbol only if __logbl is defined.
886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
887 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
889 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
891 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
893 path for implementation.
894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
895 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
897 logb, and logbl multiarch implementations for PowerPC32.
898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
903 multiarch logb for PowerPC32.
904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
909 multiarch logbf for PowerPC32.
910 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
914 multiarch logbl implementation for PowerPC32.
916 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
919 and modff multiarch implementations.
920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
925 multiarch modf for PowerPC32.
926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
931 multiarch modff for PowerPC32.
933 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
936 and lrintf multiarch implementations.
937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
942 multiarch lrint for PowerPC32.
943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
944 file: multiarch lrintf for PowerPC32.
946 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
949 and lroundf multiarch implementations.
950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
957 multiarch lround for PowerPC32.
958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
959 file: multiarch lroundf for PowerPC32.
961 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
964 copysign and copysignf multiarch implementations.
965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
970 file: multiarch copysign for PowerPC32.
971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
972 file: multiarch copysignf for PowerPC32.
974 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
977 and truncf multiarch implementations.
978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
983 multiarch trunc for PowerPC32.
984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
989 multiarch truncf for PowerPC32.
991 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
994 and roundf multiarch implementations.
995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1000 multiarch round for PowerPC32.
1001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1006 multiarch roundf for PowerPC32.
1008 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1011 and floorf multiarch implementations.
1012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1017 multiarch floor for PowerPC32.
1018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1023 multiarch floorf for PowerPC32.
1025 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1028 and ceilf multiarch implementations.
1029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1034 multiarch ceil for PowerPC32.
1035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1040 multiarch ceilf for PowerPC32.
1042 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1044 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1046 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1049 and finitef multiarch implementations.
1050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1055 multiarch finite for PowerPC32.
1056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1059 file: multiarch finitef for PowerPC32.
1061 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1064 and isinff multiarch implementations.
1065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1070 multiarch isinf for PowerPC32.
1071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1074 multiarch isinff for PowerPC32.
1076 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1079 alias when __isnan is defined.
1080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1081 and isnanf multiarch implementations.
1082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1091 multiarch isnan for PowerPC32.
1092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1097 multiarch isnanf for PowerPC32.
1099 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1102 and sqrtf multiarch implementations.
1103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1108 multiarch sqrt for PowerPC32.
1109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1114 multiarch sqrtf for PowerPC32.
1116 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1119 and llroundf multiarch implementations.
1120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1127 file: multiarch llround for PowerPC32.
1128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1129 file: multiarch llroundf for PowerPC32.
1131 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1134 multiarch PowerPC32 fpu implementations.
1135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1140 multiarch llrint for PowerPC32.
1141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1148 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1152 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1154 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1156 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1158 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1160 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1161 multiarch wordcopy for PPC32.
1162 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1164 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1165 (__libc_ifunc_impl_list): Likewise.
1166 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1167 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1168 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1169 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1170 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1171 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1173 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1175 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1176 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1178 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1180 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1183 multiarch wcscpy for PPC32.
1184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1187 (__libc_ifunc_impl_list): Likewise.
1188 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1189 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1190 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1191 sysdeps/powerpc/power6/wcscpy.c.
1193 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1195 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1196 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1203 multiarch wcsrchr for PPC32.
1204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1207 (__libc_ifunc_impl_list): Likewise.
1208 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1209 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1210 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1211 sysdeps/powerpc/power6/wcsrchr.c.
1213 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1221 multiarch wcschr for PPc32.
1222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1225 (__libc_ifunc_impl_list): Likewise.
1226 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1227 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1228 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1229 sysdeps/powerpc/power6/wcschr.c.
1231 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1233 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1234 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1236 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1237 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1238 file: multiarch strchr for PPC32.
1239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1242 (__libc_ifunc_impl_list): Likewise.
1244 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1246 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1248 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1250 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1252 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1253 multiarch strchrnul for PPC32.
1254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1257 (__libc_ifunc_impl_list): Likewise.
1259 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1261 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1263 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1264 multiarch strncasecmp for PPC32.
1265 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1267 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1268 multiarch strncasecmp_l for PPC32.
1269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1270 strncasecmp multiarch objects.
1271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1272 (__libc_ifunc_impl_list): Likewise.
1274 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1276 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1278 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1279 multiarch strncasecmp for PPC32.
1280 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1282 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1283 multiarch strcasecmp_l for PPC32.
1284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1287 (__libc_ifunc_impl_list): Likewise.
1289 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1291 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1293 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1295 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1296 multiarch strncmp for PPC32.
1297 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1299 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1300 (__libc_ifunc_impl_list): Likewise.
1302 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1304 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1305 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1307 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1308 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1312 (__libc_ifunc_impl_list): Likewise.
1314 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1318 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1320 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1324 (__libc_ifunc_impl_list): Likewise.
1326 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1328 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1330 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1332 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1333 multiarch rawmemchr for PPC32.
1334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1337 (__libc_ifunc_impl_list): Likewise.
1339 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1341 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1343 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1345 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1346 file: memrchr multiarch for PPC32.
1347 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1349 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1350 (__libc_ifunc_impl_list): Likewise.
1352 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1354 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1355 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1357 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1358 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1359 multiarch memchr for PPC32.
1360 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1362 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1363 (__libc_ifunc_impl_list): Likewise.
1365 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1367 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1368 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1370 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1372 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1373 file: multiarch mempcpy for PPC32.
1374 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1376 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1377 (__libc_ifunc_impl_list): Likewise.
1379 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1381 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1382 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1383 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1384 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1385 multiarch bzero for PPC32.
1386 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1388 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1390 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1391 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1392 file: multiarch memset for PPC32.
1393 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1394 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1395 memset multiarch objects.
1396 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1397 (__libc_ifunc_impl_list): Likewise.
1399 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1401 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1403 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1406 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1407 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1409 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1410 (__libc_ifunc_impl_list): Likewise.
1412 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1414 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1415 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1416 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1422 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1423 multiarch memcpy for PPC32.
1424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1427 (__libc_ifunc_impl_list): Likewise.
1429 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1431 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1432 support multiarch for POWER/PPC32.
1433 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1435 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1437 Implies file to make multiarch folder appers before the fpu and
1438 default folder for power4 configuration.
1440 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1442 * scripts/bench.pl: Append volatile keyword to type.
1444 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1446 * sysdeps/sh/sotruss-lib.c: New file.
1447 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1449 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1453 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1456 * math/w_tgamma.c: Include <errno.h>.
1457 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1458 * math/w_tgammaf.c: Include <errno.h>.
1459 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1460 * math/w_tgammal.c: Include <errno.h>.
1461 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1462 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1463 underflow. Add more tgamma tests.
1464 * math/auto-libm-test-out: Regenerated.
1465 * sysdeps/i386/fpu/libm-test-ulps: Update.
1466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1468 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1469 sin, sinh, tan, tanh, tgamma, y0 and y1.
1470 * math/auto-libm-test-out: Regenerated.
1471 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1472 (TEST_COND_x86): Likewise.
1473 (M_E2l): Remove macro.
1475 (M_2_SQRT_PIl): Likewise.
1476 (M_SQRT_PIl): Likewise.
1477 (M_1_DIV_El): Likewise.
1478 (log_test_data): Use AUTO_TESTS_f_f.
1479 (log10_test_data): Likewise.
1480 (log1p_test_data): Likewise.
1481 (log2_test_data): Likewise.
1482 (sin_test_data): Likewise.
1483 (sin_tonearest_test_data): Likewise.
1484 (sin_towardzero_test_data): Likewise.
1485 (sin_downward_test_data): Likewise.
1486 (sin_upward_test_data): Likewise.
1487 (sinh_test_data): Likewise.
1488 (sinh_tonearest_test_data): Likewise.
1489 (sinh_towardzero_test_data): Likewise.
1490 (sinh_downward_test_data): Likewise.
1491 (sinh_upward_test_data): Likewise.
1492 (tan_test_data): Likewise.
1493 (tan_tonearest_test_data): Likewise.
1494 (tan_towardzero_test_data): Likewise.
1495 (tan_downward_test_data): Likewise.
1496 (tan_upward_test_data): Likewise.
1497 (tanh_test_data): Likewise.
1498 (tgamma_test_data): Likewise.
1499 (y0_test_data): Likewise.
1500 (y1_test_data): Likewise.
1501 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1502 (special_real_inputs): Add pi/4.
1503 * sysdeps/i386/fpu/libm-test-ulps: Update.
1504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1506 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1508 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1509 "longjmp_target" static probes.
1510 (__longjmp): Rename to __longjmp_symbol.
1511 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1512 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1513 on which longjmp to generate.
1514 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1515 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1517 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1518 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1519 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1520 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1521 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1522 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1524 __longjmp_symbol based on which __longjmp to generate.
1525 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1527 (setjmp): Rename to setjmp_symbol.
1528 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1529 (_setjmp): Rename to _setjmp_symbol.
1530 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1531 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1532 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1533 which setjmp to generate.
1534 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1535 "longjmp_target" static probes.
1537 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1539 * benchtests/README: Add note about output arguments.
1540 * benchtests/bench-sincos.c: Remove file.
1541 * benchtests/sincos-inputs: New file.
1542 * scripts/bench.pl: Identify output arguments and define
1543 static variables for them.
1545 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
1548 * Makefile (INSTALL): Add install-plain.texi as the primary
1550 * manual/install-plain.texi: New file.
1551 * manual/install.texi: Include node directive only for
1552 non-plaintext output.
1554 2013-12-04 Joseph Myers <joseph@codesourcery.com>
1556 * stdlib/longlong.h: Update from GCC.
1560 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
1561 * math/w_j0f.c (y0f): Likewise.
1562 * math/w_j0l.c (__y0l): Likewise.
1563 * math/w_j1.c (y1): Likewise.
1564 * math/w_j1f.c (y1f): Likewise.
1565 * math/w_j1l.c (__y1l): Likewise
1566 * math/w_jn.c (yn): Likewise.
1567 * math/w_jnf.c (ynf): Likewise.
1568 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
1569 Bessel function pole errors in _POSIX_ mode. Use NAN as return
1570 value for Bessel function domain errors outside _SVID_ mode.
1571 Adjust sign of return value for yn (negative integer, 0).
1572 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
1573 by zero in return for negative x and set sign appropriately for
1575 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
1576 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1577 * math/libm-test.inc (y0_test_data): Add more tests and adjust
1578 expectations in error cases.
1579 (y1_test_data): Likewise.
1580 (yn_test_data): Likewise.
1581 * sysdeps/i386/fpu/libm-test-ulps: Update.
1582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1584 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1586 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
1587 "64" to "64-v1". Add "64-v2".
1588 (abi-64-options): Rename to ...
1589 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
1590 (abi-64-condition): Rename to ...
1591 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
1592 (abi-64-ld-soname): Rename to ...
1593 (abi-64-v1-ld-soname): ... this.
1594 (abi-64-v2-options): Define.
1595 (abi-64-v2-condition): Likewise.
1596 (abi-64-v2-ld-soname): Likewise.
1597 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
1598 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
1599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
1600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
1603 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1604 Alan Modra <amodra@gmail.com>
1606 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
1607 New versions for use with the ELFv2 ABI.
1608 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
1609 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
1611 (struct La_ppc64v2_retval): Likewise.
1612 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
1613 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
1614 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
1615 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
1616 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
1617 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
1618 Do not save or restore CR.
1619 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1620 (_dl_profile_resolve): Do no save or restore CR. Support extended
1621 return values for ELFv2 ABI. Fix location of FPR return registers.
1622 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1623 updated values for _CALL_ELF == 2.
1624 (La_regs, La_retval, int_retval): Likewise.
1626 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1628 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1629 (FRAME_MIN_SIZE_PARM): Likewise.
1630 (FRAME_BACKCHAIN): Likewise.
1631 (FRAME_CR_SAVE): Likewise.
1632 (FRAME_LR_SAVE): Likewise.
1633 (FRAME_TOC_SAVE): Likewise.
1634 (FRAME_PARM_SAVE): Likewise.
1635 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1636 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1637 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1638 (call_mcount_parm_offset): New macro.
1639 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1640 (PROF): Use symbolic stack frame offsets.
1641 (TAIL_CALL_SYSCALL_ERROR): Likewise.
1642 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1643 Redefine in terms of FRAME_MIN_SIZE.
1644 (_dl_runtime_resolve): Use symbolic stack frame offsets.
1645 (_dl_profile_resolve): Likewise. Update comment.
1646 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1647 symbols stack frame offsets.
1648 (__sigsetjmp): Likewise.
1649 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1650 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1651 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1652 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1655 (FRAME_BACKCHAIN): Remove.
1656 (FRAME_CR_SAVE): Likewise.
1657 (FRAME_LR_SAVE): Likewise.
1658 (FRAME_COMPILER_DW): Likewise.
1659 (FRAME_LINKER_DW): Likewise.
1660 (FRAME_TOC_SAVE): Likewise.
1661 (FRAME_PARM_SAVE): Likewise.
1662 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1663 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1664 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1666 (CHECK_SP): Use symbolic stack frame offsets.
1667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1668 zone" instead of caller's parameter save area for temp storage.
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1670 Likewise. Also, use symbolic stack frame offsets.
1671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1672 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1673 our own stack frame instead of the caller's.
1674 (__socket): Use symbolic stack frame offsets.
1676 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1677 Alan Modra <amodra@gmail.com>
1679 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1681 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1682 PPC64_LOCAL_ENTRY_OFFSET): Define.
1683 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1685 (elf_machine_fixup_plt): Call it.
1686 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
1688 (elf_machine_rela): Update call to elf_machine_plt_conflict.
1689 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1690 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1691 r2 before calling target.
1693 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1694 Alan Modra <amodra@gmail.com>
1696 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1697 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1698 versions of macros to support ELFv2 ABI.
1699 (LOCALENTRY): New macro.
1700 (ENTRY, EALIGN): Use it.
1701 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1702 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1703 fall through into ENTRY entry point.
1704 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1705 Only define if _CALL_ELF != 2.
1707 (elf_machine_matches_host): Verify ABI version matches.
1708 (RTLD_START): Use LOCALENTRY.
1709 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1710 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1711 (PLT_ENTRY_WORDS): New macro.
1712 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1713 (elf_machine_runtime_setup): Support ELFv2 ABI.
1714 (elf_machine_fixup_plt): Likewise.
1715 (elf_machine_plt_conflict): Likewise.
1716 (resolve_ifunc): Likewise.
1717 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1718 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1721 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1723 (makecontext): Support ELFv2 ABI.
1724 * elf/elf.h (EF_PPC64_ABI): Define.
1726 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1728 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1729 New assembler macro.
1730 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1731 [ASSEMBLER] (ENTRY): ... but instead here ...
1732 [ASSEMBLER] (EALIGN): ... and here.
1733 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1734 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1735 [!ASSEMBLER] (ENTRY_2): Use it.
1736 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1737 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
1738 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1739 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1740 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1742 Use PPC64_LOAD_FUNCPTR.
1744 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1746 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1748 2013-12-04 Alan Modra <amodra@gmail.com>
1750 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1751 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1752 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1753 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1755 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1756 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1757 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1758 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1759 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1760 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1762 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1765 (__makecontext): Fix incorrect CFI when backtracing out of
1766 context created via makecontext.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1768 (__setcontext): Fix incorrect CFI during switch to new context.
1769 (__novec_setcontext): Likewise.
1771 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1774 * time/strptime_l.c (__strptime_internal): Allow modifiers
1776 * time/tst-strptime.c (day_tests): Add testcase.
1779 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1781 * scripts/bench.pl: Skip over blank lines.
1783 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
1786 * manual/time.texi (Calendar Time): Clarify what timezone functions
1789 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1793 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
1795 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1797 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1798 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1799 * debug/memset_chk.c (__memset_chk): Likewise.
1800 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1801 * debug/strncpy_chk.c: Likewise.
1803 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1807 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1808 (__ieee754_exp): For possibly underflowing results, check size of
1809 result and force underflow exception if required.
1810 * math/auto-libm-test-in: Add more tests of exp.
1811 * math/auto-libm-test-out: Regenerated.
1812 * sysdeps/i386/fpu/libm-test-ulps: Update.
1813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1816 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1817 * math/w_exp2f.c (__exp2f): Likewise.
1818 * math/w_exp2l.c (__exp2l): Likewise.
1819 * math/auto-libm-test-in: Do not allow missing errno on exp2
1821 * math/auto-libm-test-out: Regenerated.
1823 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
1826 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1827 handle filename validation.
1828 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1831 2013-12-03 Joseph Myers <joseph@codesourcery.com>
1834 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1835 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1836 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1838 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1839 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1840 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1841 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1842 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1843 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1844 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1845 * math/auto-libm-test-in: Don't allow missing errno from erfc.
1846 Add more erfc tests.
1847 * math/auto-libm-test-out: Regenerated.
1848 * sysdeps/i386/fpu/libm-test-ulps: Update.
1849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1851 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1852 exp2, expm1, j0 and j1.
1853 * math/auto-libm-test-out: Regenerated.
1854 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1855 (erfc_test_data): Likewise.
1856 (exp_test_data): Likewise.
1857 (exp_tonearest_test_data): Likewise.
1858 (exp_towardzero_test_data): Likewise.
1859 (exp_downward_test_data): Likewise.
1860 (exp_upward_test_data): Likewise.
1861 (exp10_test_data): Likewise.
1862 (exp2_test_data): Likewise.
1863 (expm1_test_data): Likewise.
1864 (j0_test_data): Likewise.
1865 (j1_test_data): Likewise.
1866 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1867 (input_flag_type): Add flag_xfail_rounding.
1868 (input_flags): Add xfail-rounding.
1869 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1870 (output_for_one_input_case): Handle flag_xfail_rounding.
1871 * sysdeps/i386/fpu/libm-test-ulps: Update.
1872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1874 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
1877 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1880 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1883 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1884 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1885 (STAP_PROBE0): New macro.
1886 (STAP_PROBE1): Likewise.
1887 (STAP_PROBE2): Likewise.
1888 (STAP_PROBE3): Likewise.
1889 (STAP_PROBE4): Likewise.
1891 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
1893 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1895 2013-12-02 Steve Ellcey <sellcey@mips.com>
1897 * benchtests/Makefile (bench): Add sqrt.
1898 (LDLIBS-bench-sqrt): New.
1899 * benchtests/sqrt-input: New.
1901 2013-12-02 Pavel Simerda <psimerda@redhat.com>
1903 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1904 (GAIH_EAI): Likewise.
1905 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1906 (gaih_inet): Likewise.
1907 (getaddrinfo): Don't use GAIH_EAI.
1909 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1910 (struct gaih): Remove definition.
1912 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1914 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1915 Use HERRNOP directly.
1917 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1921 2013-11-30 Joseph Myers <joseph@codesourcery.com>
1923 * math/gen-auto-libm-tests.c (test_functions): Add more
1924 single-argument functions.
1925 (special_fill_pi_2): New function.
1926 (special_fill_minus_pi_2): Likewise.
1927 (special_fill_pi_6): Likewise.
1928 (special_fill_minus_pi_6): Likewise.
1929 (special_fill_pi_3): Likewise.
1930 (special_fill_2pi_3): Likewise.
1931 (special_fill_e): Likewise.
1932 (special_fill_1_e): Likewise.
1933 (special_fill_e_minus_1): Likewise.
1934 (special_real_inputs): Add more special inputs.
1935 (output_for_one_input_case): Do not require ERANGE on underflow to
1936 zero if round-to-nearest result does not underflow to zero, unless
1937 exact results required.
1938 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1939 atan, atanh, cbrt, cos and cosh.
1940 * math/auto-libm-test-out: Regenerated.
1941 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1942 (acos_tonearest_test_data): Likewise.
1943 (acos_towardzero_test_data): Likewise.
1944 (acos_downward_test_data): Likewise.
1945 (acos_upward_test_data): Likewise.
1946 (acosh_test_data): Likewise.
1947 (asin_test_data): Likewise.
1948 (asin_tonearest_test_data): Likewise.
1949 (asin_towardzero_test_data): Likewise.
1950 (asin_upward_test_data): Likewise.
1951 (asinh_test_data): Likewise.
1952 (atan_test_data): Likewise.
1953 (atanh_test_data): Likewise.
1954 (cbrt_test_data): Likewise.
1955 (cos_test_data): Likewise.
1956 (cos_tonearest_test_data): Likewise.
1957 (cos_towardzero_test_data): Likewise.
1958 (cos_downward_test_data): Likewise.
1959 (cos_upward_test_data): Likewise.
1960 (cosh_test_data): Likewise.
1961 (cosh_tonearest_test_data): Likewise.
1962 (cosh_towardzero_test_data): Likewise.
1963 (cosh_downward_test_data): Likewise.
1964 (cosh_upward_test_data): Likewise.
1965 * sysdeps/i386/fpu/libm-test-ulps: Update.
1966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1968 2013-11-29 Joseph Myers <joseph@codesourcery.com>
1971 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1972 * math/w_exp10f.c (__exp10f): Likewise.
1973 * math/w_exp10l.c (__exp10l): Likewise.
1974 * math/libm-test.inc (exp10_test_data): Add more tests and expect
1975 errno settings in existing tests.
1978 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1979 precision control set to double precision.
1980 * sysdeps/i386/fpu/w_sqrt.c: New file.
1981 * math/auto-libm-test-in: Add more tests.
1982 * math/auto-libm-test-out: Update.
1984 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1985 (sqrt_test_tonearest): New function.
1986 (sqrt_towardzero_test_data): New variable.
1987 (sqrt_test_towardzero): New function.
1988 (sqrt_downward_test_data): New variable.
1989 (sqrt_test_downward): New function.
1990 (sqrt_upward_test_data): New variable.
1991 (sqrt_test_upward): New function.
1992 (main): Call the new functions.
1994 * math/gen-auto-libm-tests.c: New file.
1995 * math/auto-libm-test-in: Likewise.
1996 * math/auto-libm-test-out: New generated file.
1997 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1999 (%beautify): Add generated representations of zero.
2000 (top level): Set $auto_input and call parse_auto_input.
2001 (beautify): Remove trailing "f" from hex float constants.
2002 (parse_args): Handle XFAIL_TEST.
2003 (convert_condition): New function.
2004 (or_value): Likewise.
2005 (or_cond_value): Likewise.
2006 (generate_testfile): Handle AUTO_TESTS_* lines.
2007 (parse_auto_input): New function.
2008 * math/libm-test.inc (XFAIL_TEST): New macro.
2009 (ERRNO_UNCHANGED): Update value.
2010 (ERRNO_EDOM): Likewise.
2011 (ERRNO_ERANGE): Likewise.
2012 (IGNORE_RESULT): Likewise.
2013 (TEST_COND_flt_32): New macro.
2014 (TEST_COND_dbl_64): Likewise.
2015 (TEST_COND_ldbl_96_intel): Likewise.
2016 (TEST_COND_ldbl_96_m68k): Likewise.
2017 (TEST_COND_ldbl_128): Likewise.
2018 (TEST_COND_ldbl_128ibm): Likewise.
2019 (TEST_COND_long32): Likewise.
2020 (TEST_COND_long64): Likewise.
2021 (TEST_COND_before_rounding): Likewise.
2022 (TEST_COND_after_rounding): Likewise.
2023 (enable_test): Handle XFAIL_TEST flag.
2024 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2025 with finite results.
2026 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2029 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2030 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2033 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2034 __tls_get_addr_internal instead of __tls_get_offset in order to
2035 avoid GOT pointer dependency. Make rtld export
2036 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2037 __tls_get_addr since we are a __tls_get_offset platform.
2038 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2039 GOT pointer being set up before.
2040 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2042 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2044 * manual/math.texi (Errors in Math Functions): Document accuracy
2048 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2049 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2052 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2054 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2060 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2065 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2066 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2067 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2068 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2069 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2071 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2073 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2075 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2076 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2077 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2078 atomic-feupdateenv and flt-rounds.
2079 * sysdeps/powerpc/nofpu/Versions (libc): Add
2080 __atomic_feholdexcept, __atomic_feclearexcept,
2081 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2082 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2083 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2084 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2085 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2090 * manual/arith.texi (FP Exceptions): Document that exceptions may
2091 not be raised when matherr is used.
2092 (Math Error Reporting): Document overflow in directed rounding
2093 modes. Document that errno may not be set when finite values are
2094 returned on overflow. Document intent to set errno on underflow
2095 only for underflow to zero.
2098 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2099 round-to-nearest then adjust result for other rounding modes.
2100 * include/fenv.h (fegetround): Use libm_hidden_proto.
2101 * math/fegetround.c (fegetround): Use libm_hidden_def.
2102 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2103 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2104 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2105 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2107 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2108 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2109 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2110 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2112 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2115 * nss/Versions (libnss_files): Add
2116 _nss_files_gethostbyname3_r.
2117 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2119 (HOST_DB_LOOKUP): Remove macro.
2120 (_nss_files_gethostbyname_r): Implement function without the
2121 HOST_DB_LOOKUP macro.
2122 (_nss_files_gethostbyname2_r): Likewise.
2124 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2126 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2128 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2130 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2131 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2134 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2137 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2138 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2139 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2140 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2141 __fe_nomask_env_priv and attribute_hidden.
2142 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2143 (libc_feupdateenv_test_ppc): Likewise.
2144 (libc_feresetround_ppc): Likewise.
2145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2146 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2147 compat_symbol macro.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2149 (__fe_nomask_env): Likewise.
2150 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2152 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2154 * string/Makefile: Remove ifunc tests.
2155 * string/test-string.h: Define TEST_IFUNC.
2156 * string/test-bcopy-ifunc.c: Remove.
2157 * string/test-bzero-ifunc.c: Likewise.
2158 * string/test-memccpy-ifunc.c: Likewise.
2159 * string/test-memchr-ifunc.c: Likewise.
2160 * string/test-memcmp-ifunc.c: Likewise.
2161 * string/test-memcpy-ifunc.c: Likewise.
2162 * string/test-memmem-ifunc.c: Likewise.
2163 * string/test-memmove-ifunc.c: Likewise.
2164 * string/test-mempcpy-ifunc.c: Likewise.
2165 * string/test-memrchr-ifunc.c: Likewise.
2166 * string/test-memset-ifunc.c: Likewise.
2167 * string/test-rawmemchr-ifunc.c: Likewise.
2168 * string/test-stpcpy-ifunc.c: Likewise.
2169 * string/test-stpncpy-ifunc.c: Likewise.
2170 * string/test-strcasecmp-ifunc.c: Likewise.
2171 * string/test-strcasestr-ifunc.c: Likewise.
2172 * string/test-strcat-ifunc.c: Likewise.
2173 * string/test-strchr-ifunc.c: Likewise.
2174 * string/test-strchrnul-ifunc.c: Likewise.
2175 * string/test-strcmp-ifunc.c: Likewise.
2176 * string/test-strcpy-ifunc.c: Likewise.
2177 * string/test-strcspn-ifunc.c: Likewise.
2178 * string/test-strlen-ifunc.c: Likewise.
2179 * string/test-strncasecmp-ifunc.c: Likewise.
2180 * string/test-strncat-ifunc.c: Likewise.
2181 * string/test-strncmp-ifunc.c: Likewise.
2182 * string/test-strncpy-ifunc.c: Likewise.
2183 * string/test-strnlen-ifunc.c: Likewise.
2184 * string/test-strpbrk-ifunc.c: Likewise.
2185 * string/test-strrchr-ifunc.c: Likewise.
2186 * string/test-strspn-ifunc.c: Likewise.
2187 * string/test-strstr-ifunc.c: Likewise.
2189 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2191 * benchtests/Makefile: Remove ifunc tests.
2192 * benchtests/bench-string.h: Define TEST_IFUNC.
2193 * benchtests/bench-bcopy-ifunc.c: Remove.
2194 * benchtests/bench-bzero-ifunc.c: Likewise.
2195 * benchtests/bench-memccpy-ifunc.c: Likewise.
2196 * benchtests/bench-memchr-ifunc.c: Likewise.
2197 * benchtests/bench-memcmp-ifunc.c: Likewise.
2198 * benchtests/bench-memcpy-ifunc.c: Likewise.
2199 * benchtests/bench-memmem-ifunc.c: Likewise.
2200 * benchtests/bench-memmove-ifunc.c: Likewise.
2201 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2202 * benchtests/bench-memrchr-ifunc.c: Likewise.
2203 * benchtests/bench-memset-ifunc.c: Likewise.
2204 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2205 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2206 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2207 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2208 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2209 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2210 * benchtests/bench-strcat-ifunc.c: Likewise.
2211 * benchtests/bench-strchr-ifunc.c: Likewise.
2212 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2213 * benchtests/bench-strcmp-ifunc.c: Likewise.
2214 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2215 * benchtests/bench-strcpy-ifunc.c: Likewise.
2216 * benchtests/bench-strcspn-ifunc.c: Likewise.
2217 * benchtests/bench-strlen-ifunc.c: Likewise.
2218 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2219 * benchtests/bench-strncat-ifunc.c: Likewise.
2220 * benchtests/bench-strncmp-ifunc.c: Likewise.
2221 * benchtests/bench-strncpy-ifunc.c: Likewise.
2222 * benchtests/bench-strnlen-ifunc.c: Likewise.
2223 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2224 * benchtests/bench-strrchr-ifunc.c: Likewise.
2225 * benchtests/bench-strsep-ifunc.c: Likewise.
2226 * benchtests/bench-strspn-ifunc.c: Likewise.
2227 * benchtests/bench-strstr-ifunc.c: Likewise.
2229 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2231 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2233 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2235 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2236 * rt/aio.h: Likewise.
2237 * sysdeps/gnu/bits/utmp.h: Likewise.
2238 * sysdeps/gnu/bits/utmpx.h: Likewise.
2239 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2240 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2241 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2242 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2243 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2244 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2245 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2246 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2247 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2248 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2249 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2250 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2251 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2253 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2254 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2255 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2256 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2257 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2258 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2259 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2260 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2261 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2262 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2263 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2265 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2266 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2267 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2268 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2269 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2270 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2271 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2272 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2273 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2274 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2275 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2276 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2277 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2278 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2279 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2280 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2282 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2285 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2286 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2288 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2290 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2291 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2294 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2296 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2297 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2298 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2299 (__fesetround): Remove define.
2300 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2301 rounding and exceptions handling.
2302 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2303 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2304 (__fe_nomask_env): Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2306 __fegetround instead of fegetround.
2307 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2308 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2310 2013-11-21 Roland McGrath <roland@hack.frob.com>
2312 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2315 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2317 2013-11-21 Meador Inge <meadori@codesourcery.com>
2320 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2321 (encrypt_r): Likewise.
2322 * malloc/obstack.h (obstack_free): Likewise.
2323 * posix/unistd.h (encrypt): Likewise.
2325 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2327 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2328 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2329 DL_CALL_DT_FINI() that call the functions directly.
2330 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2331 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2332 * elf/dl-fini.c: Likewise.
2334 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2336 * malloc/hooks.c (memalign_check): Add alignment rounding.
2337 * malloc/malloc.c (_mid_memalign): New function.
2338 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2339 Implement by calling _mid_memalign.
2340 * manual/probes.texi (Memory Allocation Probes): Remove
2341 memory_valloc_retry and memory_pvalloc_retry.
2343 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2345 * locale/programs/locarchive.c (open_archive): Add const
2346 qualifier to ARCHIVEFNAME and copy default fname to
2350 * libio/tst-widetext.input: Rename Oriya to Odia.
2351 * locale/iso-639.def: Likewise.
2353 * manual/probes.texi (Mathematical Function Probes): Add
2354 documentation for sin, cos, asin and acos probes.
2355 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2356 (__sin32): Add slowasin probe.
2357 (__cos32): Add slowacos probe.
2358 (__mpsin): Add slowsin probe.
2359 (__mpcos): Add slowcos probe.
2361 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2364 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2365 thread-local __sim_exceptions_thread and global
2366 __sim_exceptions_global.
2367 (__sim_disabled_exceptions): Change to thread-local
2368 __sim_disabled_exceptions_thread and global
2369 __sim_disabled_exceptions_global.
2370 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2371 and global __sim_round_mode_global.
2372 (__simulate_exceptions): Use thread-local floating-point state and
2373 set global state from it as needed.
2374 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2375 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2376 __sim_round_mode_thread.
2377 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2378 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2379 and global __sim_exceptions_global.
2380 (__sim_disabled_exceptions): Change to thread-local
2381 __sim_disabled_exceptions_thread and global
2382 __sim_disabled_exceptions_global.
2383 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2384 and global __sim_round_mode_global.
2385 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2386 (SIM_SET_GLOBAL): Likewise.
2387 * sysdeps/powerpc/soft-fp/sfp-machine.h
2388 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2389 __sim_round_mode_thread.
2390 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2391 __sim_disabled_exceptions_thread.
2392 (__sim_exceptions): Change to __sim_exceptions_thread.
2393 (__sim_disabled_exceptions): Change to
2394 __sim_disabled_exceptions_thread.
2395 (__sim_round_mode): Change to __sim_round_mode_thread.
2396 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2397 thread-local floating-point state and set global state from it as
2399 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2400 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2401 (__sim_disabled_exceptions): Remove extern declaration.
2402 (feenableexcept): Use thread-local floating-point state and set
2403 global state from it as needed.
2404 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2406 (__sim_disabled_exceptions): Likewise.
2407 (__sim_round_mode): Likewise.
2408 (__fegetenv): Use thread-local floating-point state.
2409 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2410 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2411 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2412 floating-point state and set global state from it as needed.
2413 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2414 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2415 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2417 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2418 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2420 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2421 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2422 Use __sim_round_mode_thread.
2423 * math/test-fenv-tls.c: New file.
2424 * math/Makefile (tests): Add test-fenv-tls.
2425 ($(objpfx)test-fenv-tls): Depend on
2426 $(common-objpfx)nptl/libpthread.so.
2428 2013-11-19 Andreas Schwab <schwab@suse.de>
2430 * locale/programs/locale.c (show_info): Decode wordarray elements.
2431 * locale/categories.def (LC_MONETARY): Add element for
2432 _NL_MONETARY_CRNCYSTR.
2433 * locale/C-monetary.c (conversion_rate): New variable.
2434 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2437 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2439 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2440 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2442 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2444 * elf/Makefile (tst-auxv): New test.
2445 * elf/tst-auxv.c: New
2446 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2448 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2450 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2451 (hidden_proto): Caller changed.
2452 (hidden_tls_proto): New macro.
2453 (libc_hidden_tls_proto): Likewise.
2454 (rtld_hidden_tls_proto): Likewise.
2455 (libm_hidden_tls_proto): Likewise.
2456 (libresolv_hidden_tls_proto): Likewise.
2457 (librt_hidden_tls_proto): Likewise.
2458 (libdl_hidden_tls_proto): Likewise.
2459 (libnss_files_hidden_tls_proto): Likewise.
2460 (libnsl_hidden_tls_proto): Likewise.
2461 (libnss_nisplus_hidden_tls_proto): Likewise.
2462 (libutil_hidden_tls_proto): Likewise.
2464 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2467 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2468 (decompose_rpath): Defer expansion to fillin_rpath.
2469 (_dl_init_paths): Pass linkmap to fillin_rpath.
2471 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2473 * benchtests/Makefile: Add strsep.
2474 * benchtests/bench-strsep.c: New file: strsep benchtest.
2475 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2477 2013-11-18 Andreas Schwab <schwab@suse.de>
2479 * locale/programs/locale.c (show_info) [case byte]: Check for
2480 '\377' instead of '\177'.
2481 * locale/C-monetary.c (not_available): Always use "\377".
2482 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2483 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2484 detect unavailable sign_posn locale elements.
2485 * locale/localeconv.c (__localeconv): For grouping and
2486 mon_grouping handle "\177" and "\377" like no grouping.
2487 (INT_ELEM): New macro. Use it to set all numeric members.
2488 * locale/programs/ld-monetary.c (monetary_read)
2489 <tok_mon_grouping>: Normalize single -1 to the empty string.
2490 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2493 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2496 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2497 when we match (nil).
2498 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2500 2013-11-16 Joseph Myers <joseph@codesourcery.com>
2502 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2503 (NO_TEST_INLINE): Update value.
2504 (ERRNO_UNCHANGED): Likewise.
2505 (ERRNO_EDOM): Likewise.
2506 (ERRNO_ERANGE): Likewise.
2507 (IGNORE_RESULT): Likewise.
2508 (check_float_internal): Check signs of NaN results if
2510 (check_complex): Pass TEST_NAN_SIGN flag through to second
2511 check_float_internal call.
2512 (copysign_test_data): Add tests with quiet NaNs as second
2513 argument. Use TEST_NAN_SIGN.
2514 (fabs_test_data): Add test of negative quiet NaN argument. Use
2516 (signbit_test_data): Add tests of quiet NaN argument.
2517 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2519 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2521 (parse_args): Handle function results specified as IGNORE.
2522 * math/libm-test.inc (IGNORE_RESULT): New macro.
2523 (check_float_internal): Do not check numerical result if flag
2525 (check_complex): Pass through IGNORE_RESULT to second
2526 check_float_internal call.
2527 (check_int): Do not check numerical result if flag IGNORE_RESULT
2529 (check_long): Likewise.
2530 (check_bool): Likewise.
2531 (check_longlong): Likewise.
2532 (lrint_test_data): Add tests of infinite and NaN arguments.
2533 (lrint_tonearest_test_data): Likewise.
2534 (lrint_towardzero_test_data): Likewise.
2535 (lrint_downward_test_data): Likewise.
2536 (lrint_upward_test_data): Likewise.
2537 (llrint_test_data): Likewise.
2538 (llrint_tonearest_test_data): Likewise.
2539 (llrint_towardzero_test_data): Likewise.
2540 (llrint_downward_test_data): Likewise.
2541 (llrint_upward_test_data): Likewise.
2542 (lround_test_data): Likewise.
2543 (llround_test_data): Likewise.
2545 * math/libm-test.inc (NO_TEST_INLINE): New macro.
2546 (ERRNO_UNCHANGED): Update value.
2547 (ERRNO_EDOM): Likewise.
2548 (ERRNO_ERANGE): Likewise.
2549 (NO_TEST_INLINE_FLOAT): New macro.
2550 (NO_TEST_INLINE_DOUBLE): Likewise.
2551 (enable_test): New function.
2552 (RUN_TEST_f_f): Check enable_test before running test.
2553 (RUN_TEST_2_f): Likewise.
2554 (RUN_TEST_fff_f): Likewise.
2555 (RUN_TEST_c_f): Likewise.
2556 (RUN_TEST_f_f1): Likewise.
2557 (RUN_TEST_fF_f1): Likewise.
2558 (RUN_TEST_fI_f1): Likewise.
2559 (RUN_TEST_ffI_f1): Likewise.
2560 (RUN_TEST_c_c): Likewise.
2561 (RUN_TEST_cc_c): Likewise.
2562 (RUN_TEST_f_i): Likewise.
2563 (RUN_TEST_f_i_tg): Likewise.
2564 (RUN_TEST_ff_i_tg): Likewise.
2565 (RUN_TEST_f_b): Likewise.
2566 (RUN_TEST_f_b_tg): Likewise.
2567 (RUN_TEST_f_l): Likewise.
2568 (RUN_TEST_f_L): Likewise.
2569 (RUN_TEST_fFF_11): Likewise.
2570 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
2572 (cosh_test_data): Likewise.
2573 (exp_test_data): Likewise.
2574 (expm1_test_data): Likewise.
2575 (hypot_test_data): Likewise.
2576 (pow_test_data): Likewise.
2577 (sinh_test_data): Likewise.
2578 (tanh_test_data): Likewise.
2579 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
2582 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
2583 tests with quiet NaN input and output.
2584 (acosh_test_data): Likewise.
2585 (asin_test_data): Likewise.
2586 (asinh_test_data): Likewise.
2587 (atan_test_data): Likewise.
2588 (atanh_test_data): Likewise.
2589 (atan2_test_data): Likewise.
2590 (cbrt_test_data): Likewise.
2591 (cos_test_data): Likewise.
2592 (cosh_test_data): Likewise.
2593 (erf_test_data): Likewise.
2594 (erfc_test_data): Likewise.
2595 (exp_test_data): Likewise.
2596 (exp10_test_data): Likewise.
2597 (exp2_test_data): Likewise.
2598 (expm1_test_data): Likewise.
2599 (hypot_test_data): Likewise.
2600 (j0_test_data): Likewise.
2601 (j1_test_data): Likewise.
2602 (jn_test_data): Likewise.
2603 (lgamma_test_data): Likewise.
2604 (log_test_data): Likewise.
2605 (log10_test_data): Likewise.
2606 (log1p_test_data): Likewise.
2607 (log2_test_data): Likewise.
2608 (pow_test_data): Likewise.
2609 (scalb_test_data): Likewise.
2610 (sin_test_data): Likewise.
2611 (sincos_test_data): Likewise.
2612 (sinh_test_data): Likewise.
2613 (tan_test_data): Likewise.
2614 (tanh_test_data): Likewise.
2615 (tgamma_test_data): Likewise.
2616 (y0_test_data): Likewise.
2617 (y1_test_data): Likewise.
2618 (yn_test_data): Likewise.
2621 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2622 argument being NaN and avoid computations with second argument in
2624 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2625 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2626 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2628 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
2630 * locale/iso-639.def: Add Chitwani Tharu (the).
2632 2013-11-14 Andreas Schwab <schwab@suse.de>
2634 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2635 word instead of empty string.
2637 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2640 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2642 (__fe_nomask_env): Likewise.
2644 2013-11-13 Steve Ellcey <sellcey@mips.com>
2646 * benchtests/bench-timing.h: Include time.h.
2648 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
2651 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2653 * sysdeps/unix/sysv/linux/configure: Regenerated.
2655 2013-11-13 Joseph Myers <joseph@codesourcery.com>
2658 * stdlib/strtod_l.c (round_and_return): Do not consider
2659 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2660 exponent one less than half the least subnormal exponent.
2661 * stdlib/test-strtod-round-data: Add more tests.
2662 * stdlib/tst-strtod-round.c (tests): Regenerated.
2664 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2667 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2668 (__fe_mask_env): Likewise.
2669 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2670 libm_hidden_proto and add function prototype.
2671 (__fe_mask_env): Add function prototype.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2673 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2675 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2677 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2679 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2681 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2682 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2684 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2686 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2687 of htab_find_slot().
2689 2013-11-11 David S. Miller <davem@davemloft.net>
2692 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2693 symbol in the non-vis3 case in static builds.
2694 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2695 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2696 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2697 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2699 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2702 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2705 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2707 * benchtests/Makefile: Add bench-strtod.
2708 * benchtests/bench-strtod.c: New file: strtod benchtest
2710 2013-11-11 Andreas Schwab <schwab@suse.de>
2713 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2714 terminating NUL in key length.
2716 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2718 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2719 Add artificial ODP entry for vDSO symbol for PPC64.
2720 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2721 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2723 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
2726 * nss/getent.c (services_keys): Recognize services starting with digit.
2728 2013-11-06 David S. Miller <davem@davemloft.net>
2731 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2732 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2734 2013-11-06 Will Newton <will.newton@linaro.org>
2736 * manual/memory.texi (Malloc Examples): Remove register
2737 keyword from examples.
2739 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
2741 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2743 2013-11-04 Joseph Myers <joseph@codesourcery.com>
2745 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2746 depending on [__GCC_IEC_559 > 0].
2747 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2748 depending on [__GCC_IEC_559_COMPLEX > 0].
2750 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
2752 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2755 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
2757 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2759 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
2762 * malloc/malloc (malloc_info): Do not handle first bin as
2765 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
2767 * locale/iso-639.def: Add Central Nahuatl (nhn).
2769 2013-11-01 Bruno Haible <bruno@clisp.org>
2772 * manual/math.texi (BSD Random): Specify range upper bound as
2775 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
2777 * locale/iso-639.def: Add Meadow Mari (mhr).
2779 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
2781 [BZ #14752], [BZ #15763]
2782 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2784 * rt/tst_shm.c: Add test for escaping directory.
2786 2013-10-31 Andreas Schwab <schwab@suse.de>
2789 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2790 followed by 'x' as part of digit sequence.
2791 * stdio-common/tst-sscanf.c (double_tests2): New tests.
2793 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2796 * configure.ac: allow GNU Make 4.0 and greater.
2797 * configure: Regenerated.
2799 2013-10-30 Will Newton <will.newton@linaro.org>
2802 * malloc/hooks.c (memalign_check): Limit alignment to the
2803 maximum representable power of two.
2804 * malloc/malloc.c (__libc_memalign): Likewise.
2805 * malloc/tst-memalign.c (do_test): Add test for very
2806 large alignment values.
2807 * malloc/tst-posix_memalign.c (do_test): Likewise.
2809 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2812 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2813 (munmap_chunk): Likewise.
2814 (mremap_chunk): Likewise.
2816 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
2819 * stdlib/div.c (div): Remove obsolete code.
2820 * stdlib/ldiv.c (ldiv): Likewise.
2821 * stdlib/lldiv.c (lldiv): Likewise.
2823 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2826 * nss/nss_files/files-XXX.c (get_contents_ret): New
2828 (get_contents): New function.
2829 (internal_getent): Use it. Expand size of LINEBUFLEN.
2831 2013-10-30 Mike Frysinger <vapier@gentoo.org>
2833 * configure.in: Moved to ...
2834 * configure.ac: ... here. Change reference to configure.in
2836 * sysdeps/arm/preconfigure.ac: ... here.
2837 configure.in to configure.ac.
2838 * sysdeps/gnu/configure.in: Moved to ...
2839 * sysdeps/gnu/configure.ac: ... here.
2840 * sysdeps/i386/configure.in: Moved to ...
2841 * sysdeps/i386/configure.ac: ... here.
2842 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2843 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2844 * sysdeps/mach/configure.in: Moved to ...
2845 * sysdeps/mach/configure.ac: ... here.
2846 * sysdeps/mach/hurd/configure.in: Moved to ...
2847 * sysdeps/mach/hurd/configure.ac: ... here.
2848 * sysdeps/powerpc/configure.in: Moved to ...
2849 * sysdeps/powerpc/configure.ac: ... here.
2850 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2851 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2852 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2853 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2854 * sysdeps/s390/s390-32/configure.in: Moved to ...
2855 * sysdeps/s390/s390-32/configure.ac: ... here.
2856 * sysdeps/s390/s390-64/configure.in: Moved to ...
2857 * sysdeps/s390/s390-64/configure.ac: ... here.
2858 * sysdeps/sh/configure.in: Moved to ...
2859 * sysdeps/sh/configure.ac: ... here.
2860 * sysdeps/sparc/configure.in: Moved to ...
2861 * sysdeps/sparc/configure.ac: ... here.
2862 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2863 * sysdeps/unix/sysv/linux/configure.ac: ... here.
2864 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2865 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2866 * sysdeps/x86_64/configure.in: Moved to ...
2867 * sysdeps/x86_64/configure.ac: ... here.
2868 * sysdeps/x86_64/preconfigure.in: Moved to ...
2869 * sysdeps/x86_64/preconfigure.ac: ... here.
2870 * aclocal.m4: Change reference to configure.in to configure.ac.
2871 * config.h.in: Likewise.
2872 * manual/install.texi: Likewise.
2873 * manual/maint.texi: Likewise.
2874 * Makefile: Likewise.
2875 * malloc/Makefile: Likewise.
2876 * nscd/Makefile: Likewise.
2877 * Makeconfig: Change reference to configure.in and
2878 preconfigure.in to configure.ac and preconfigure.ac
2880 * INSTALL: Regenerated.
2881 * configure: Likewise.
2882 * sysdeps/gnu/configure: Likewise.
2883 * sysdeps/i386/configure: Likewise.
2884 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2885 * sysdeps/mach/configure: Likewise.
2886 * sysdeps/mach/hurd/configure: Likewise.
2887 * sysdeps/powerpc/configure: Likewise.
2888 * sysdeps/powerpc/powerpc32/configure: Likewise.
2889 * sysdeps/powerpc/powerpc64/configure: Likewise.
2890 * sysdeps/s390/s390-32/configure: Likewise.
2891 * sysdeps/s390/s390-64/configure: Likewise.
2892 * sysdeps/sh/configure: Likewise.
2893 * sysdeps/sparc/configure: Likewise.
2894 * sysdeps/unix/sysv/linux/configure: Likewise.
2895 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2896 * sysdeps/x86_64/configure: Likewise.
2897 * sysdeps/x86_64/preconfigure: Likewise.
2899 2013-10-29 Andreas Schwab <schwab@suse.de>
2901 * stdio-common/Makefile (tst-swscanf-ENV): Define.
2903 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2905 * benchtests/pow-inputs: Add new inputs.
2907 * benchtests/exp-inputs: Add new inputs.
2909 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2910 conditional check for return value.
2911 (__cos32): Likewise.
2913 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2915 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2916 to provide a boost for large inputs with word alignment.
2917 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2918 implementation based on optimized PPC64 strcpy.
2919 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2920 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2921 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2922 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2924 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2927 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2929 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2932 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2933 * time/tst-strptime.c (day_tests): Add testcase.
2935 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
2938 * manual/pattern.texi: Acknowledge that fnmatch can fail.
2940 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
2943 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2944 MAP_FAILED on error.
2946 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2949 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2950 heap for large requests.
2952 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
2955 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2956 result if the result has no associated interface.
2957 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2958 interface for all 127.X.Y.Z addresses.
2960 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
2962 * locale/iso-639.def: Add Ligurian (lij)
2964 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
2967 * sunrpc/rpc_main.c: Document rpcgen -5.
2969 2013-10-19 Michael Stahl <mstahl@redhat.com>
2971 * elf/rtld.c (do_preload): Print the reason why preloading failed.
2973 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2976 * posix/glob.c: Match only directories when trailing slash is present.
2977 * posix/tst-gnuglob.c (my_opendir): Do not open files.
2978 (main): Add testcase.
2980 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
2983 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2985 2013-10-18 Carlos O'Donell <carlos@redhat.com>
2987 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2988 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2989 AUTH_DES and cindex for FIPS 140-2.
2990 (DES Encryption): Add cindex FIPS 46-3.
2992 * locale/locarchive.h (struct locarhandle): Add fname.
2993 * locale/programs/localedef.c (main): Pass ARGV[remaining]
2994 if an optional argument was specified to --list-archive,
2996 * locale/programs/locarchive.c (show_archive_content): Take new
2997 argument fname and pass it via ah.fname to open_archive.
2998 * locale/programs/localedef.h: Update decl.
2999 (open_archive): If AH->fname is non-null, open that file
3000 rather than the default file name, and don't ignore ENOENT.
3001 (create_archive): Set AH.fname to NULL.
3002 (delete_locales_from_archive): Likewise.
3003 (add_locales_to_archive): Likewise.
3004 * locale/programs/locfile.c (write_all_categories): Likewise.
3006 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3007 Aldy Hernandez <aldyh@redhat.com>
3009 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3010 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3011 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3012 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3013 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3014 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3015 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3016 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3017 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3018 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3019 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3020 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3021 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3022 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3023 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3025 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3027 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3029 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3031 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3032 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3034 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3035 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3036 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3037 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3039 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3040 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3041 * sysdeps/powerpc/preconfigure: Likewise.
3042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3044 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3045 Replace contents of file by #include of <fenv_libc.h>.
3046 * sysdeps/powerpc/soft-fp/sfp-machine.h
3047 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3049 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3050 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3051 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3052 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3053 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3054 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3056 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3057 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3058 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3059 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3060 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3062 Allow copysignl PLT reference to be missing.
3064 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3065 Joseph Myers <joseph@codesourcery.com
3068 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3070 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3072 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3074 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3075 * elf/tst-tls1.c: Likewise.
3076 * elf/tst-tls10.h: Likewise.
3077 * elf/tst-tls14.c: Likewise.
3078 * elf/tst-tls2.c: Likewise.
3079 * elf/tst-tls3.c: Likewise.
3080 * elf/tst-tls4.c: Likewise.
3081 * elf/tst-tls5.c: Likewise.
3082 * elf/tst-tls6.c: Likewise.
3083 * elf/tst-tls7.c: Likewise.
3084 * elf/tst-tls8.c: Likewise.
3085 * elf/tst-tls9.c: Likewise.
3086 * elf/tst-tlsmod1.c: Likewise.
3087 * elf/tst-tlsmod13.c: Likewise.
3088 * elf/tst-tlsmod13a.c: Likewise.
3089 * elf/tst-tlsmod14a.c: Likewise.
3090 * elf/tst-tlsmod16a.c: Likewise.
3091 * elf/tst-tlsmod16b.c: Likewise.
3092 * elf/tst-tlsmod2.c: Likewise.
3093 * elf/tst-tlsmod3.c: Likewise.
3094 * elf/tst-tlsmod4.c: Likewise.
3095 * elf/tst-tlsmod5.c: Likewise.
3096 * elf/tst-tlsmod6.c: Likewise.
3098 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3101 * malloc/malloc.c: remove checks for statistics.
3103 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3106 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3107 * inet/tst-network.c: Add testcase.
3109 2013-10-17 Andreas Schwab <schwab@suse.de>
3112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3113 to determine canonical name.
3115 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3117 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3118 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3120 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3122 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3123 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3124 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3125 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3126 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3127 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3128 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3129 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3130 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3131 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3132 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3133 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3134 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3135 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3136 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3140 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3141 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3142 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3143 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3144 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3145 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3146 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3147 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3149 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3150 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3151 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3152 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3153 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3154 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3155 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3156 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3157 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3158 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3159 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3160 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3161 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3162 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3163 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3164 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3165 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3166 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3167 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3168 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3169 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3170 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3171 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3172 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3174 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3176 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3179 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3180 make result into a quiet NaN.
3182 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3184 * soft-fp/adddf3.c: Fix horizontal whitespace.
3185 * soft-fp/addsf3.c: Likewise.
3186 * soft-fp/addtf3.c: Likewise.
3187 * soft-fp/divdf3.c: Likewise.
3188 * soft-fp/divsf3.c: Likewise.
3189 * soft-fp/divtf3.c: Likewise.
3190 * soft-fp/double.h: Likewise.
3191 * soft-fp/eqdf2.c: Likewise.
3192 * soft-fp/eqsf2.c: Likewise.
3193 * soft-fp/eqtf2.c: Likewise.
3194 * soft-fp/extenddftf2.c: Likewise.
3195 * soft-fp/extended.h: Likewise.
3196 * soft-fp/extendsfdf2.c: Likewise.
3197 * soft-fp/extendsftf2.c: Likewise.
3198 * soft-fp/extendxftf2.c: Likewise.
3199 * soft-fp/fixdfdi.c: Likewise.
3200 * soft-fp/fixdfsi.c: Likewise.
3201 * soft-fp/fixdfti.c: Likewise.
3202 * soft-fp/fixsfdi.c: Likewise.
3203 * soft-fp/fixsfsi.c: Likewise.
3204 * soft-fp/fixsfti.c: Likewise.
3205 * soft-fp/fixtfdi.c: Likewise.
3206 * soft-fp/fixtfsi.c: Likewise.
3207 * soft-fp/fixtfti.c: Likewise.
3208 * soft-fp/fixunsdfdi.c: Likewise.
3209 * soft-fp/fixunsdfsi.c: Likewise.
3210 * soft-fp/fixunsdfti.c: Likewise.
3211 * soft-fp/fixunssfdi.c: Likewise.
3212 * soft-fp/fixunssfsi.c: Likewise.
3213 * soft-fp/fixunssfti.c: Likewise.
3214 * soft-fp/fixunstfdi.c: Likewise.
3215 * soft-fp/fixunstfsi.c: Likewise.
3216 * soft-fp/fixunstfti.c: Likewise.
3217 * soft-fp/floatdidf.c: Likewise.
3218 * soft-fp/floatdisf.c: Likewise.
3219 * soft-fp/floatditf.c: Likewise.
3220 * soft-fp/floatsidf.c: Likewise.
3221 * soft-fp/floatsisf.c: Likewise.
3222 * soft-fp/floatsitf.c: Likewise.
3223 * soft-fp/floattidf.c: Likewise.
3224 * soft-fp/floattisf.c: Likewise.
3225 * soft-fp/floattitf.c: Likewise.
3226 * soft-fp/floatundidf.c: Likewise.
3227 * soft-fp/floatundisf.c: Likewise.
3228 * soft-fp/floatunditf.c: Likewise.
3229 * soft-fp/floatunsidf.c: Likewise.
3230 * soft-fp/floatunsisf.c: Likewise.
3231 * soft-fp/floatunsitf.c: Likewise.
3232 * soft-fp/floatuntidf.c: Likewise.
3233 * soft-fp/floatuntisf.c: Likewise.
3234 * soft-fp/floatuntitf.c: Likewise.
3235 * soft-fp/fmadf4.c: Likewise.
3236 * soft-fp/fmasf4.c: Likewise.
3237 * soft-fp/fmatf4.c: Likewise.
3238 * soft-fp/gedf2.c: Likewise.
3239 * soft-fp/gesf2.c: Likewise.
3240 * soft-fp/getf2.c: Likewise.
3241 * soft-fp/ledf2.c: Likewise.
3242 * soft-fp/lesf2.c: Likewise.
3243 * soft-fp/letf2.c: Likewise.
3244 * soft-fp/muldf3.c: Likewise.
3245 * soft-fp/mulsf3.c: Likewise.
3246 * soft-fp/multf3.c: Likewise.
3247 * soft-fp/negdf2.c: Likewise.
3248 * soft-fp/negsf2.c: Likewise.
3249 * soft-fp/negtf2.c: Likewise.
3250 * soft-fp/op-1.h: Likewise.
3251 * soft-fp/op-2.h: Likewise.
3252 * soft-fp/op-4.h: Likewise.
3253 * soft-fp/op-8.h: Likewise.
3254 * soft-fp/op-common.h: Likewise.
3255 * soft-fp/quad.h: Likewise.
3256 * soft-fp/single.h: Likewise.
3257 * soft-fp/soft-fp.h: Likewise.
3258 * soft-fp/sqrtdf2.c: Likewise.
3259 * soft-fp/sqrtsf2.c: Likewise.
3260 * soft-fp/sqrttf2.c: Likewise.
3261 * soft-fp/subdf3.c: Likewise.
3262 * soft-fp/subsf3.c: Likewise.
3263 * soft-fp/subtf3.c: Likewise.
3264 * soft-fp/truncdfsf2.c: Likewise.
3265 * soft-fp/trunctfdf2.c: Likewise.
3266 * soft-fp/trunctfsf2.c: Likewise.
3267 * soft-fp/trunctfxf2.c: Likewise.
3268 * soft-fp/unorddf2.c: Likewise.
3269 * soft-fp/unordsf2.c: Likewise.
3270 * soft-fp/unordtf2.c: Likewise.
3272 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3274 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3275 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3277 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3279 * elf/dl-libc.c: Clear initfini list after freeing.
3281 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3283 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3284 * soft-fp/addsf3.c: Likewise.
3285 * soft-fp/addtf3.c: Likewise.
3286 * soft-fp/divdf3.c: Likewise.
3287 * soft-fp/divsf3.c: Likewise.
3288 * soft-fp/divtf3.c: Likewise.
3289 * soft-fp/double.h: Likewise.
3290 * soft-fp/eqdf2.c: Likewise.
3291 * soft-fp/eqsf2.c: Likewise.
3292 * soft-fp/eqtf2.c: Likewise.
3293 * soft-fp/extenddftf2.c: Likewise.
3294 * soft-fp/extended.h: Likewise.
3295 * soft-fp/extendsfdf2.c: Likewise.
3296 * soft-fp/extendsftf2.c: Likewise.
3297 * soft-fp/extendxftf2.c: Likewise.
3298 * soft-fp/fixdfdi.c: Likewise.
3299 * soft-fp/fixdfsi.c: Likewise.
3300 * soft-fp/fixdfti.c: Likewise.
3301 * soft-fp/fixsfdi.c: Likewise.
3302 * soft-fp/fixsfsi.c: Likewise.
3303 * soft-fp/fixsfti.c: Likewise.
3304 * soft-fp/fixtfdi.c: Likewise.
3305 * soft-fp/fixtfsi.c: Likewise.
3306 * soft-fp/fixtfti.c: Likewise.
3307 * soft-fp/fixunsdfdi.c: Likewise.
3308 * soft-fp/fixunsdfsi.c: Likewise.
3309 * soft-fp/fixunsdfti.c: Likewise.
3310 * soft-fp/fixunssfdi.c: Likewise.
3311 * soft-fp/fixunssfsi.c: Likewise.
3312 * soft-fp/fixunssfti.c: Likewise.
3313 * soft-fp/fixunstfdi.c: Likewise.
3314 * soft-fp/fixunstfsi.c: Likewise.
3315 * soft-fp/fixunstfti.c: Likewise.
3316 * soft-fp/floatdidf.c: Likewise.
3317 * soft-fp/floatdisf.c: Likewise.
3318 * soft-fp/floatditf.c: Likewise.
3319 * soft-fp/floatsidf.c: Likewise.
3320 * soft-fp/floatsisf.c: Likewise.
3321 * soft-fp/floatsitf.c: Likewise.
3322 * soft-fp/floattidf.c: Likewise.
3323 * soft-fp/floattisf.c: Likewise.
3324 * soft-fp/floattitf.c: Likewise.
3325 * soft-fp/floatundidf.c: Likewise.
3326 * soft-fp/floatundisf.c: Likewise.
3327 * soft-fp/floatunsidf.c: Likewise.
3328 * soft-fp/floatunsisf.c: Likewise.
3329 * soft-fp/floatuntidf.c: Likewise.
3330 * soft-fp/floatuntisf.c: Likewise.
3331 * soft-fp/floatuntitf.c: Likewise.
3332 * soft-fp/fmadf4.c: Likewise.
3333 * soft-fp/fmasf4.c: Likewise.
3334 * soft-fp/fmatf4.c: Likewise.
3335 * soft-fp/gedf2.c: Likewise.
3336 * soft-fp/gesf2.c: Likewise.
3337 * soft-fp/getf2.c: Likewise.
3338 * soft-fp/ledf2.c: Likewise.
3339 * soft-fp/lesf2.c: Likewise.
3340 * soft-fp/letf2.c: Likewise.
3341 * soft-fp/muldf3.c: Likewise.
3342 * soft-fp/mulsf3.c: Likewise.
3343 * soft-fp/multf3.c: Likewise.
3344 * soft-fp/negdf2.c: Likewise.
3345 * soft-fp/negsf2.c: Likewise.
3346 * soft-fp/negtf2.c: Likewise.
3347 * soft-fp/op-1.h: Likewise.
3348 * soft-fp/op-2.h: Likewise.
3349 * soft-fp/op-4.h: Likewise.
3350 * soft-fp/op-8.h: Likewise.
3351 * soft-fp/op-common.h: Likewise.
3352 * soft-fp/quad.h: Likewise.
3353 * soft-fp/single.h: Likewise.
3354 * soft-fp/soft-fp.h: Likewise.
3355 * soft-fp/sqrtdf2.c: Likewise.
3356 * soft-fp/sqrtsf2.c: Likewise.
3357 * soft-fp/sqrttf2.c: Likewise.
3358 * soft-fp/subdf3.c: Likewise.
3359 * soft-fp/subsf3.c: Likewise.
3360 * soft-fp/subtf3.c: Likewise.
3361 * soft-fp/truncdfsf2.c: Likewise.
3362 * soft-fp/trunctfdf2.c: Likewise.
3363 * soft-fp/trunctfsf2.c: Likewise.
3364 * soft-fp/trunctfxf2.c: Likewise.
3365 * soft-fp/unorddf2.c: Likewise.
3366 * soft-fp/unordsf2.c: Likewise.
3367 * soft-fp/unordtf2.c: Likewise.
3369 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3372 * misc/error.c (error_tail): Fix possible buffer overflow.
3374 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3377 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3380 2013-10-14 P. J. McDermott <pj@pehjota.net>
3383 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3384 testing pipefail option.
3386 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3388 * soft-fp/double.h: Indent preprocessor directives inside #if.
3389 * soft-fp/extended.h: Likewise.
3390 * soft-fp/op-2.h: Likewise.
3391 * soft-fp/op-4.h: Likewise.
3392 * soft-fp/op-common.h: Likewise.
3393 * soft-fp/quad.h: Likewise.
3394 * soft-fp/single.h: Likewise.
3395 * soft-fp/soft-fp.h: Likewise.
3397 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3399 * iconv/iconv_prog.c: Fix typos.
3400 * stdio-common/psiginfo-data.h: Likewise.
3402 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3405 * locale/setlocale.c: Fix typo.
3407 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3410 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3411 signaling NaN arguments.
3412 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3413 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3416 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3418 * soft-fp/gesf2.c (__gesf2): Likewise.
3419 * soft-fp/getf2.c (__getf2): Likewise.
3420 * soft-fp/ledf2.c (__ledf2): Likewise.
3421 * soft-fp/lesf2.c (__lesf2): Likewise.
3422 * soft-fp/letf2.c (__letf2): Likewise.
3424 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3425 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3426 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3427 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3428 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3429 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3430 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3431 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3432 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3433 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3434 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3435 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3436 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3437 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3438 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3439 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3440 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3441 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3442 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3443 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3444 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3445 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3446 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3447 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3448 * soft-fp/floattidf.c (__floattidf): Likewise.
3449 * soft-fp/floattisf.c (__floattisf): Likewise.
3450 * soft-fp/floattitf.c (__floattitf): Likewise.
3451 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3452 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3453 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3454 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3455 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3456 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3457 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3458 * soft-fp/gesf2.c (__gesf2): Likewise.
3459 * soft-fp/getf2.c (__getf2): Likewise.
3460 * soft-fp/ledf2.c (__ledf2): Likewise.
3461 * soft-fp/lesf2.c (__lesf2): Likewise.
3462 * soft-fp/letf2.c (__letf2): Likewise.
3464 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3465 Undefine and redefine.
3466 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3467 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3468 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3469 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3470 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3471 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3472 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3473 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3474 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3475 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3476 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3477 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3478 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3479 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3480 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3483 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3484 without decrementing exponent if mantissa >= that for the
3486 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3487 denominator, not >. Decrement exponent in < case instead of
3488 incrementing in >= case.
3489 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3490 without decrementing exponent if mantissa >= that for the
3493 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3494 computing saturated result for unsigned overflow.
3496 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3497 Jeff Law <law@redhat.com>
3499 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3500 (atan2Mp): Add systemtap probe marker.
3501 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3502 (__ieee754_log): Add systemtap probe marker.
3503 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3504 (atanMp): Add systemtap probe marker.
3505 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3506 (tanMp): Add systemtap probe marker.
3507 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3508 (__slowexp): Add systemtap probe marker.
3509 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3510 (__slowpow): Add systemtap probe marker.
3511 * manual/probes.texi: Document probes.
3513 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
3516 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3518 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3520 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3521 written to buffer but not flushed.
3522 * libio/iofwrite_u.c: Likewise.
3523 * libio/iopadn.c: Return bytes returned even if EOF was
3525 * libio/iowpadn.c: Likewise.
3526 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3527 if _IO_padn does not write the whole buffer.
3528 [!COMPILE_WPRINTF] (PAD): Likewise.
3530 2013-10-10 David S. Miller <davem@davemloft.net>
3532 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3535 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3537 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
3538 instead of FSF address.
3539 * soft-fp/fixdfti.c: Likewise.
3540 * soft-fp/fixsfti.c: Likewise.
3541 * soft-fp/fixtfti.c: Likewise.
3542 * soft-fp/fixunsdfti.c: Likewise.
3543 * soft-fp/fixunssfti.c: Likewise.
3544 * soft-fp/fixunstfti.c: Likewise.
3545 * soft-fp/floattidf.c: Likewise.
3546 * soft-fp/floattisf.c: Likewise.
3547 * soft-fp/floattitf.c: Likewise.
3548 * soft-fp/floatuntidf.c: Likewise.
3549 * soft-fp/floatuntisf.c: Likewise.
3550 * soft-fp/floatuntitf.c: Likewise.
3551 * soft-fp/trunctfxf2.c: Likewise.
3553 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
3554 * soft-fp/fixdfti.c: Likewise.
3555 * soft-fp/fixsfti.c: Likewise.
3556 * soft-fp/fixtfti.c: Likewise.
3557 * soft-fp/fixunsdfti.c: Likewise.
3558 * soft-fp/fixunssfti.c: Likewise.
3559 * soft-fp/fixunstfti.c: Likewise.
3560 * soft-fp/floattidf.c: Likewise.
3561 * soft-fp/floattisf.c: Likewise.
3562 * soft-fp/floattitf.c: Likewise.
3563 * soft-fp/floatuntidf.c: Likewise.
3564 * soft-fp/floatuntisf.c: Likewise.
3565 * soft-fp/floatuntitf.c: Likewise.
3566 * soft-fp/trunctfxf2.c: Likewise.
3568 2013-10-10 David S. Miller <davem@davemloft.net>
3570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3572 2013-10-10 Joseph Myers <joseph@codsourcery.com>
3574 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3575 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
3576 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
3577 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
3578 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
3579 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
3580 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
3582 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
3583 for NaNs before doing comparisons on argument.
3584 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3587 2013-10-10 Will Newton <will.newton@linaro.org>
3589 * malloc/hooks.c (memalign_check): Ensure the value of bytes
3590 passed to _int_memalign does not overflow.
3592 2013-10-10 Torvald Riegel <triegel@redhat.com>
3594 * scripts/bench.pl: Add include-sources directive.
3595 * benchtests/README: Update documentation.
3597 2013-10-10 Joseph Myers <joseph@codesourcery.com>
3599 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
3600 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
3601 instead of FP_INIT_ROUNDMODE.
3602 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
3603 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
3606 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
3607 copy class of input value.
3608 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
3609 not handle exceptions.
3610 * soft-fp/negsf2.c (__negsf2): Likewise.
3611 * soft-fp/negtf2.c (__negtf2): Likewise.
3612 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
3614 2013-10-09 Joseph Myers <joseph@codesourcery.com>
3616 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
3617 semicolon. From Linux kernel.
3619 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
3621 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3623 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
3626 * manual/socket.texi: Added statement about buffer
3627 for gethostbyname2_r.
3629 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
3631 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3632 Use .p2align directive instead, throughout.
3633 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3634 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3635 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3636 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3637 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3638 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3639 * sysdeps/x86_64/strchr.S: Likewise.
3640 * sysdeps/x86_64/strrchr.S: Likewise.
3642 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3644 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3646 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3648 * sysdeps/generic/math_private.h (__mpsin1): Remove
3650 (__mpcos1): Likewise.
3651 (__mpsin): New argument __range_reduce.
3652 (__mpcos): Likewise.
3653 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3654 (slow): Use __mpsin and __mpcos.
3661 (bsloww1): Likewise.
3662 (bsloww2): Likewise.
3665 (csloww1): Likewise.
3666 (csloww2): Likewise.
3667 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3668 range_reduce. Merge in __mpsin1.
3669 (__mpcos): Likewise.
3671 (__mpcos1): Likewise.
3673 2013-10-07 Joseph Myers <joseph@codesourcery.com>
3675 * locale/loadlocale.c (_nl_intern_locale_data): Use
3677 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3678 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3679 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3680 obstack data is appropriately aligned.
3681 (obstack_int32_grow_fast): Likewise.
3682 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3683 * locale/programs/locfile.c (add_locale_uint32): Likewise.
3684 (add_locale_uint32_array): Likewise.
3686 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
3688 * benchtests/Makefile: Remove ARGLIST and RET variables.
3689 ($(objpfx)bench-%.c): Pass only function name to the script.
3690 * benchtests/README: Update documentation.
3691 * benchtests/acos-inputs: Add new directives.
3692 * benchtests/acosh-inputs: Likewise.
3693 * benchtests/asin-inputs: Likewise.
3694 * benchtests/asinh-inputs: Likewise.
3695 * benchtests/atan-inputs: Likewise.
3696 * benchtests/atanh-inputs: Likewise.
3697 * benchtests/cos-inputs: Likewise.
3698 * benchtests/cosh-inputs: Likewise.
3699 * benchtests/exp-inputs: Likewise.
3700 * benchtests/log-inputs: Likewise.
3701 * benchtests/pow-inputs: Likewise.
3702 * benchtests/rint-inputs: Likewise.
3703 * benchtests/sin-inputs: Likewise.
3704 * benchtests/sinh-inputs: Likewise.
3705 * benchtests/tan-inputs: Likewise.
3706 * benchtests/tanh-inputs: Likewise.
3707 * scripts/bench.pl: Add support for new directives.
3709 2013-10-07 Alan Modra <amodra@gmail.com>
3711 * README: Fix careless merge.
3713 2013-10-05 Alan Modra <amodra@gmail.com>
3715 * NEWS: Mention powerpc64le support and bugs fixed.
3716 * README: Both big-endian and little-endian powerpc64 supported.
3718 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3720 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3721 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3722 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3723 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3725 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
3727 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3730 2013-10-04 Joseph Myers <joseph@codesourcery.com>
3732 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3733 Move -mhard-float appending from
3734 ports/sysdeps/powerpc/powerpc32/Makefile.
3735 [$(with-fp) = yes] (ASFLAGS): Likewise.
3736 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3737 * sysdeps/powerpc/nofpu: Move directory from
3738 ports/sysdeps/powerpc/nofpu.
3739 * sysdeps/powerpc/soft-fp: Move directory from
3740 ports/sysdeps/powerpc/soft-fp.
3741 * sysdeps/powerpc/powerpc32/405: Move directory from
3742 ports/sysdeps/powerpc/powerpc32/405.
3743 * sysdeps/powerpc/powerpc32/440: Move directory from
3744 ports/sysdeps/powerpc/powerpc32/440.
3745 * sysdeps/powerpc/powerpc32/464: Move directory from
3746 ports/sysdeps/powerpc/powerpc32/464.
3747 * sysdeps/powerpc/powerpc32/476: Move directory from
3748 ports/sysdeps/powerpc/powerpc32/476.
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3750 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3752 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3754 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3756 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3758 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3759 * README: Update for powerpc-*-linux-gnu software floating point
3762 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3763 case to powerpc/powerpc32*.
3764 * sysdeps/unix/sysv/linux/configure: Regenerated.
3766 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3767 (_FPU_MASK_OM): Define as 0x04.
3768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3776 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3779 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3782 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3783 and setcontext_e500.
3785 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
3787 * locale/iso-3166.def: Update iso-1366.def and related occurrences
3789 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3791 * manual/threads.texi (Default Thread Attributes): Fix typo.
3793 2013-10-04 Will Newton <will.newton@linaro.org>
3795 * malloc/Makefile: Add tst-memalign.
3796 * malloc/tst-memalign.c: New file.
3798 * malloc/tst-posix_memalign.c: Add comments.
3799 (do_test): Add comments and call free on all potentially
3800 allocated pointers. Add space after cast.
3802 * malloc/tst-pvalloc.c: Add comments.
3803 (do_test): Add comments and call free on all potentially
3804 allocated pointers. Remove duplicate check for NULL pointer.
3805 Add space after cast.
3807 * malloc/tst-valloc.c: Add comments.
3808 (do_test): Add comments and call free on all potentially
3809 allocated pointers. Remove duplicate check for NULL pointer.
3810 Add space after cast.
3812 2013-10-04 Alan Modra <amodra@gmail.com>
3814 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3815 Use stdint types in rather than __attribute__((mode())).
3816 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3818 2013-10-04 Alan Modra <amodra@gmail.com>
3820 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3821 Correct handling of unaligned relocs for little-endian.
3822 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3824 2013-10-04 Alan Modra <amodra@gmail.com>
3826 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3827 * configure: Regenerate.
3828 * nptl/shlib-versions: Powerpc*le starts at 2.18.
3829 * shlib-versions: Likewise.
3831 2013-10-04 Alan Modra <amodra@gmail.com>
3833 * string/tester.c (test_memrchr): Increment reported test cycle.
3835 2013-10-04 Alan Modra <amodra@gmail.com>
3837 * string/test-memcpy.c (do_one_test): When reporting errors, print
3838 string address and don't overrun end of string.
3840 2013-10-04 Alan Modra <amodra@gmail.com>
3842 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3843 insrdi. Make better use of reg selection to speed exit slightly.
3844 Schedule entry path a little better. Remove useless "are we done"
3845 checks on entry to main loop. Handle wrapping around zero address.
3846 Correct main loop count. Handle single left-over word from main
3847 loop inline rather than by using loop_small. Remove extra word
3848 case in loop_small caused by wrong loop count. Add little-endian
3850 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3851 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
3853 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3854 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3855 support. Avoid rlwimi.
3856 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3858 2013-10-04 Alan Modra <amodra@gmail.com>
3860 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3862 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3863 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3864 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3865 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3866 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3867 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3869 2013-10-04 Alan Modra <amodra@gmail.com>
3871 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3872 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3873 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3874 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3875 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3876 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3877 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3878 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3879 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
3880 use of regs. Use power7 mtocrf. Tidy function tails.
3882 2013-10-04 Alan Modra <amodra@gmail.com>
3884 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3885 Formatting. Consistently use rXXX register defines or rN defines.
3886 Use early exit labels that avoid restoring unused non-volatile regs.
3887 Make cr field use more consistent with rWORDn compares. Rename
3888 regs used as shift registers for unaligned loop, using rN defines
3889 for short lifetime/multiple use regs.
3890 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3891 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
3892 addi 1,1,64 to pop stack frame. Simplify return value code.
3893 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3895 2013-10-04 Alan Modra <amodra@gmail.com>
3897 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3898 support. Correct typos, formatting. Optimize tail. Use insrdi
3900 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3901 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3902 little-endian support. Correct typos.
3903 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
3905 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
3906 in loop and entry code to keep "and." results.
3907 (strchr): Add little-endian support. Comment. Move cntlzd
3909 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3911 2013-10-04 Alan Modra <amodra@gmail.com>
3913 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3914 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3915 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3918 2013-10-04 Alan Modra <amodra@gmail.com>
3920 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3921 (rTMP): Define as r11.
3922 (strcmp): Add little-endian support. Optimise tail.
3923 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3924 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3925 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3926 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3927 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3929 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3931 2013-10-04 Alan Modra <amodra@gmail.com>
3933 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3934 little-endian support. Remove unnecessary "are we done" tests.
3935 Handle "s" wrapping around zero and extremely large "size".
3936 Correct main loop count. Handle single left-over word from main
3937 loop inline rather than by using small_loop. Correct comments.
3938 Delete "zero" tail, use "end_max" instead.
3939 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3941 2013-10-04 Alan Modra <amodra@gmail.com>
3943 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3944 support. Don't branch over align.
3945 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3946 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3947 support. Rearrange tmp reg use to suit. Comment.
3948 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3950 2013-10-04 Alan Modra <amodra@gmail.com>
3952 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3954 2013-10-04 Alan Modra <amodra@gmail.com>
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3957 conditional form of branch and link when obtaining pc.
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3960 2013-10-04 Alan Modra <amodra@gmail.com>
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3967 2013-10-04 Alan Modra <amodra@gmail.com>
3969 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3970 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3971 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3972 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3973 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3974 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3975 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3976 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3977 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3978 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3980 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
3981 Alistair Popple <alistair@ozlabs.au.ibm.com>
3982 Alan Modra <amodra@gmail.com>
3985 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3986 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3987 _dl_hwcap access for little-endian.
3988 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
3989 destroy vmx regs when saving unaligned.
3990 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3991 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
3992 destroy vmx regs when saving unaligned.
3994 2013-10-04 Alan Modra <amodra@gmail.com>
3996 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3997 Don't use a union to pack hi/low value.
3999 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4001 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4003 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4004 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4005 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4006 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4007 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4009 2013-10-04 Alan Modra <amodra@gmail.com>
4011 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4012 constants to usual value for .cst8 section, and remove redundant
4014 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4015 constant for 0x1p52. Load little-endian words of double from
4016 correct stack offsets.
4018 2013-10-04 Alan Modra <amodra@gmail.com>
4020 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4021 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4022 words of double from correct stack offsets.
4023 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4024 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4025 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4026 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4027 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4028 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4029 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4030 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4031 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4032 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4033 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4034 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4035 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4036 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4037 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4038 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4039 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4041 2013-10-04 Alan Modra <amodra@gmail.com>
4043 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4044 64-bit int/double union.
4045 (_FPU_SETCW): Likewise.
4046 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4047 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4049 2013-10-04 Alan Modra <amodra@gmail.com>
4051 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4052 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4054 2013-10-04 Alan Modra <amodra@gmail.com>
4056 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4057 use vector int constants.
4058 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4060 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4062 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4063 array with long long.
4064 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4065 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4066 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4067 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4068 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4069 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4070 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4071 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4072 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4073 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4074 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4075 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4076 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4078 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4080 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4081 (__signbit): Likewise. Correct for little-endian.
4082 (__signbitl): Call __signbit.
4083 (lrint): Correct for little-endian.
4084 (lrintf): Call lrint.
4086 2013-10-04 Alan Modra <amodra@gmail.com>
4088 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4089 union 32-bit int array member with 64-bit int array.
4090 (t515, tm256): Double rather than long double.
4091 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4093 2013-10-04 Alan Modra <amodra@gmail.com>
4095 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4097 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4098 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4099 version of math_ldbl.h.
4101 2013-10-04 Alan Modra <amodra@gmail.com>
4103 [BZ #15734], [BZ #15735]
4104 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4105 all uses of ieee875 long double macros and unions. Simplify test
4106 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4107 ldbl_extract_mantissa value for ix,iy exponents. Properly
4108 normalize after ldbl_extract_mantissa, and don't add hidden bit
4109 already handled. Don't treat low word of ieee854 mantissa like
4110 low word of IBM long double and mask off bit when testing for
4112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4113 all uses of ieee875 long double macros and unions. Simplify tests
4114 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4115 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4116 two1022, instead use their values. Recognise that tests for large
4117 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4118 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4119 Rewrite all uses of ieee875 long double macros and unions. Simplify
4120 test for 0.0L and nan. Correct negation.
4121 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4122 ieee875 long double macros and unions. Correct output for large
4123 magnitude x. Correct absolute value calculation.
4124 (__erfcl): Likewise.
4125 * math/libm-test.inc: Add tests for errors discovered in IBM long
4126 double versions of fmodl, remainderl, erfl and erfcl.
4128 2013-10-04 Alan Modra <amodra@gmail.com>
4130 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4131 all uses of ieee854 long double macros and unions. Simplify tests
4132 for long doubles that are fully specified by the high double.
4133 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4135 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4136 Remove dead code too.
4137 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4138 (__ieee754_ynl): Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4142 Remove dead code too.
4143 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4145 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4146 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4150 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4151 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4152 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4153 Comment on variable precision.
4154 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4155 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4157 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4158 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4159 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4160 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4161 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4163 2013-10-04 Alan Modra <amodra@gmail.com>
4165 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4166 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4167 all uses of ieee854 long double macros and unions.
4168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4170 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4171 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4172 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4175 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4177 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4178 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4179 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4180 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4181 Simplify sign and nan test too.
4182 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4183 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4184 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4185 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4187 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4188 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4191 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4192 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4193 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4194 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4197 2013-10-04 Alan Modra <amodra@gmail.com>
4199 * stdio-common/printf_size.c (__printf_size): Don't use
4200 union ieee854_long_double in fpnum union.
4201 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4202 signbit macro to retrieve sign from long double.
4203 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4204 retrieve sign from long double.
4205 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4206 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4207 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4208 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4209 * math/test-misc.c (main): Don't use union ieee854_long_double.
4211 2013-10-04 Alan Modra <amodra@gmail.com>
4214 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4215 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4216 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4217 calculation. Remove unnecessary test for denormal exponent.
4218 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4219 Correct handling of denormals. Avoid undefined shift behaviour.
4220 Correct normalisation of low mantissa when low double is denormal.
4221 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4222 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4223 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4224 Correct normalisation of low mantissa. Test for overflow of high
4225 mantissa and normalise.
4226 (ldbl_nearbyint): Use more readable constant for two52.
4227 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4228 (__mpn_construct_long_double): Fix test for overflow of high
4229 mantissa and correct normalisation. Avoid undefined shift.
4231 2013-10-04 Alan Modra <amodra@gmail.com>
4233 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4234 (union ibm_extended_long_double): Define as an array of ieee754_double.
4235 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4236 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4237 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4238 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4242 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4247 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4249 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4250 page size instead of calling getpagesize.
4252 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4253 (LOCFILE_ALIGN_MASK): Likewise.
4254 (LOCFILE_ALIGN_UP): Likewise.
4255 (LOCFILE_ALIGNED_P): Likewise.
4256 * locale/programs/ld-collate.c (collate_output): Use the new
4257 macros instead of __alignof__ (int32_t).
4258 * locale/weight.h (findidx): Likewise.
4260 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4263 * manual/string.texi: Fix strncat and wcsncat.
4265 2013-10-03 Brooks Moses <bmoses@google.com>
4268 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4269 * Makerules: ...here, and adjust associated comments.
4271 2013-10-02 Will Newton <will.newton@linaro.org>
4273 * malloc/Makefile: Add tst-pvalloc.
4274 * malloc/tst-pvalloc.c: New file.
4276 2013-10-02 Will Newton <will.newton@linaro.org>
4278 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4279 improve test coverage.
4281 2013-10-02 Will Newton <will.newton@linaro.org>
4283 * malloc/Makefile: Add tst-posix_memalign.
4284 * malloc/tst-posix_memalign.c: New file.
4286 2013-10-01 Eric Blake <eblake@redhat.com>
4288 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4289 Use __THROWNL rather than __THROW on static functions.
4291 2013-09-30 Petr Machata <pmachata@redhat.com>
4293 * elf/elf.h (R_AARCH64_ABS16): New macro.
4294 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4295 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4296 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4297 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4298 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4299 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4300 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4301 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4302 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4303 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4304 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4305 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4306 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4307 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4308 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4309 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4310 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4311 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4312 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4313 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4314 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4315 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4316 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4317 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4318 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4319 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4320 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4321 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4322 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4323 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4324 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4325 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4326 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4327 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4328 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4329 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4330 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4331 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4332 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4333 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4334 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4335 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4336 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4337 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4338 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4339 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4340 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4341 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4342 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4343 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4344 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4345 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4346 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4347 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4348 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4349 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4350 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4351 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4352 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4353 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4354 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4355 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4356 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4357 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4358 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4359 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4360 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4361 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4362 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4363 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4364 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4365 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4366 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4367 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4368 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4369 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4370 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4371 (R_AARCH64_TLSDESC_LDR): Likewise.
4372 (R_AARCH64_TLSDESC_ADD): Likewise.
4373 (R_AARCH64_TLSDESC_CALL): Likewise.
4375 2013-09-30 Andreas Schwab <schwab@suse.de>
4378 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4379 the nss database lookup.
4380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4383 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4385 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4387 2013-09-28 P. J. McDermott <pj@pehjota.net>
4389 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4390 ${Bash-specific parameter/pattern/string} parameter expansion.
4391 * sysdeps/unix/make-syscalls.sh: Likewise.
4393 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4395 * sysdeps/sh/stackguard-macros.h: New file.
4397 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4401 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4402 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4403 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4404 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4406 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4408 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4409 Fix thread ID register.
4411 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4413 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4414 [POSIX || UNIX98]: Require rather than permitting all symbols from
4416 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4417 element of struct sched_param.
4418 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4419 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4420 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4421 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4424 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4426 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4427 argument calculation.
4429 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4431 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4433 [POSIX] (pthread_attr_t): Do not require type.
4434 [POSIX] (pthread_cond_t): Likewise.
4435 [POSIX] (pthread_condattr_t): Likewise.
4436 [POSIX] (pthread_key_t): Likewise.
4437 [POSIX] (pthread_mutex_t): Likewise.
4438 [POSIX] (pthread_mutexattr_t): Likewise.
4439 [POSIX] (pthread_once_t): Likewise.
4440 [POSIX] (pthread_t): Likewise.
4441 [POSIX-based standards] (pthread_atfork): Expect function.
4443 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4444 Richard Sandiford <richard@codesourcery.com>
4446 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4447 (swap_endianness_p): New extern variable.
4448 (set_big_endian): New inline function.
4449 (maybe_swap_uint32): Likewise.
4450 (maybe_swap_uint32_array): Likewise.
4451 (maybe_swap_uint32_obstack): Likewise.
4452 * locale/programs/locfile.c: Include <stdbool.h>.
4453 (swap_endianness_p): New variable.
4454 (add_locale_uint32): Call maybe_swap_uint32.
4455 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4456 (write_locale_data): Call maybe_swap_uint32_array.
4457 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4459 (obstack_int32_grow_fast): Likewise.
4460 (output_weightwc): Call maybe_swap_uint32_obstack.
4461 (collate_output): Likewise.
4462 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4463 (OPT_LITTLE_ENDIAN): Likewise.
4464 (options): Add --little-endian and --big-endian options.
4465 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4466 * locale/programs/locarchive.c: Include "locfile.h".
4470 (create_archive): Use the new macros to access fields of
4471 structures directly mapped from or written to locale archives.
4472 (oldlocrecentcmp): Likewise.
4473 (enlarge_archive): Likewise.
4474 (insert_name): Likewise.
4475 (add_alias): Likewise.
4476 (add_locale): Likewise.
4477 (delete_locales_from_archive): Likewise.
4478 (show_archive_content): Likewise.
4479 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4482 2013-09-24 Roland McGrath <roland@hack.frob.com>
4484 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4485 http://www.gnu.org/doc/freemanuals.texi.
4486 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4488 2013-09-24 Will Newton <will.newton@linaro.org>
4490 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4493 2013-09-23 Joseph Myers <joseph@codesourcery.com>
4495 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4498 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4500 * manual/threads.texi (POSIX Threads): Fix a typo.
4502 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4505 * string/tst-strcoll-overflow.c: New test case.
4506 * string/Makefile (xtests): Add tst-strcoll-overflow.
4507 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4508 cache if string sizes may cause integer overflow.
4511 * string/strcoll_l.c (coll_seq): New members rule, idx,
4512 save_idx and back_us.
4513 (get_next_seq_nocache): New function.
4514 (do_compare_nocache): New function.
4515 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4518 2013-09-23 Carlos O'Donell <carlos@redhat.com>
4521 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4522 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4523 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4526 * elf/Makefile (tests): Add tst-ptrguard1.
4527 (tests-static): Add tst-ptrguard1-static.
4528 (tst-ptrguard1-ARGS): Define.
4529 (tst-ptrguard1-static-ARGS): Define.
4530 * elf/tst-ptrguard1.c: New file.
4531 * elf/tst-ptrguard1-static.c: New file.
4532 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4533 * sysdeps/i386/stackguard-macros.h: Likewise.
4534 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4535 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4536 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4537 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4538 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4539 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4541 2013-09-23 Hector Marco <hecmargi@upv.es>
4542 Ismael Ripoll <iripoll@disca.upv.es>
4543 Carlos O'Donell <carlos@redhat.com>
4546 * sysdeps/generic/stackguard-macros.h: Define
4547 __pointer_chk_guard_local and POINTER_CHK_GUARD.
4548 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
4549 Define __pointer_chk_guard_local.
4550 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
4551 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
4553 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
4556 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
4558 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
4560 * include/string.h (__ffs): Declare as hidden.
4561 * string/ffs.c (__ffs): Define as hidden.
4562 * sysdeps/i386/ffs.c (__ffs): Likewise.
4563 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4564 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
4565 * sysdeps/s390/ffs.c (__ffs): Likewise.
4566 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
4568 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
4570 * NEWS: Mention malloc probes.
4572 * malloc/arena.c (new_heap): New memory_heap_new probe.
4573 (grow_heap): New memory_heap_more probe.
4574 (shrink_heap): New memory_heap_less probe.
4575 (heap_trim): New memory_heap_free probe.
4576 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
4577 (systrim): New memory_sbrk_less probe.
4578 * manual/probes.texi: Document them.
4580 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
4581 * manual/probes.texi: Document it.
4583 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
4584 (__libc_realloc): Add memory_realloc_retry probe.
4585 (__libc_memalign): Add memory_memalign_retry probe.
4586 (__libc_valloc): Add memory_valloc_retry probe.
4587 (__libc_pvalloc): Add memory_pvalloc_retry probe.
4588 (__libc_calloc): Add memory_calloc_retry probe.
4589 * manual/probes.texi: Document them.
4591 * malloc/arena.c (get_free_list): Add probe
4592 memory_arena_reuse_free_list.
4593 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
4594 and memory_arena_reuse.
4595 (arena_get2) [!PER_THREAD]: Likewise.
4596 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
4597 memory_arena_reuse_realloc.
4598 * manual/probes.texi: Document them.
4600 * malloc/malloc.c (__libc_free): Add
4601 memory_mallopt_free_dyn_thresholds probe.
4602 (__libc_mallopt): Add multiple memory_mallopt probes.
4603 * manual/probes.texi: Document them.
4605 * malloc/malloc.c: Include stap-probe.h.
4606 (__libc_mallopt): Add memory_mallopt probe.
4607 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
4608 * manual/probes.texi: New.
4609 * manual/Makefile (chapters): Add probes.
4610 * manual/threads.texi: Set next node.
4612 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
4615 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
4616 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
4617 Add `Chinese' to `nan' entry name.
4619 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4621 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4622 (POLYNOMIAL): Likewise.
4623 (TAYLOR_SINCOS): Likewise.
4624 (TAYLOR_SLOW): Likewise.
4625 (__sin): Use TAYLOR_SINCOS.
4627 (slow): Use TAYLOR_SLOW.
4632 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4634 * stdlib/strtod_l.c: Fix buffer overrun.
4636 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4638 * benchtests/Makefile (bench): Add sincos.
4639 * benchtests/bench-sincos.c: New file.
4641 * math/libm-test.inc (cos_test_data): New test inputs.
4642 (sin_test_data): Likewise.
4644 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4652 (bsloww1): Likewise.
4653 (bsloww2): Likewise.
4655 (csloww1): Likewise.
4656 (csloww2): Likewise.
4658 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4663 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4667 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
4669 * config.h.in (HAVE_MIPS_NAN2008): New macro.
4670 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4671 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4672 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4673 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4674 * elf/cache.c (print_entry): Handle the new cache flags.
4676 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4677 Aldy Hernandez <aldyh@redhat.com>
4679 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4680 Change condition to [_SOFT_FLOAT].
4681 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4682 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4683 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4684 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4685 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4686 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4687 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4688 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4689 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4691 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4693 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4696 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4699 2013-09-18 Joseph Myers <joseph@codesourcery.com>
4701 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4702 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4703 (__longjmp): Use LOAD_GP to load saved GPRs.
4704 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4705 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4706 (__sigsetjmp): Use SAVE_GP to save GPRs.
4708 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4709 Do not append -msoft-float.
4710 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4712 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4714 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4716 2013-09-17 Joseph Myers <joseph@codesourcery.com>
4719 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4720 (_FPU_GETCW): Use initial "__" on variable and field names but not
4721 on macro parameter name.
4722 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
4723 parentheses around reference to macro parameter.
4725 2013-09-13 Richard Sandiford <richard@codesourcery.com>
4727 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4729 (ctype_startup): Use uint32_t in cast and sizeof for
4732 2013-09-11 Jia Liu <proljc@gmail.com>
4734 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4736 [__FreeBSD__]: Likewise.
4738 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
4740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4741 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4742 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4743 (strchr): Remove __strchr_sse42 ifunc selection.
4744 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4745 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4747 2013-09-11 Will Newton <will.newton@linaro.org>
4749 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4750 parameter to RES. Remove hardcoded 1000 value.
4751 * benchtests/bench-skeleton.c (main): Pass RES parameter
4752 to TIMING_INIT and multiply result by 1000.
4754 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4758 2013-09-11 Andreas Schwab <schwab@suse.de>
4760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4762 (O_TMPFILE) [__USE_GNU]: Define.
4763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4766 2013-09-11 Will Newton <will.newton@linaro.org>
4769 * malloc/malloc.c (__libc_memalign): Check the value of bytes
4772 2013-09-11 Will Newton <will.newton@linaro.org>
4775 * malloc/malloc.c (__libc_valloc): Check the value of bytes
4778 2013-09-11 Will Newton <will.newton@linaro.org>
4781 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4784 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
4786 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4787 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4788 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4789 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4790 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4792 2013-09-10 Allan McRae <allan@archlinux.org>
4795 * manual/arith.texi (Parsing of Floats): Clarify
4799 * manual/install.texi (Running make install): Mention
4801 * INSTALL: Regenerated.
4803 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
4805 * csu/init-first.c (_init): Remove the !SHARED condition around
4806 FPU control word initialization.
4807 * elf/dl-support.c (_dl_fpu_control): New variable.
4808 (_dl_aux_init) <AT_FPUCW>: Initialize it.
4809 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4810 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4811 * math/test-fpucw-static.c: New file.
4812 * math/test-fpucw-ieee.c: New file.
4813 * math/test-fpucw-ieee-static.c: New file.
4814 * math/Makefile (tests): Add `test-fpucw-ieee' and
4816 (tests-static): New variable.
4817 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4819 [($(build-shared),yes)]
4820 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4822 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4825 2013-09-09 Allan McRae <allan@archlinux.org>
4828 * manual/string.texi (Collation Functions): Fix typo in
4830 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4833 * stdlib/isomac.c (get_null_defines): Fix memory leak.
4836 * libio/memstream.c (open_memstream): Fix memory leak.
4837 * libio/wmemstream.c (open_wmemstream): Likewise.
4840 * nscd/netgroupcache.c: Fix nesting of ifdefs.
4842 2013-09-09 Will Newton <will.newton@linaro.org>
4844 * malloc/Makefile: Add tst-realloc to tests.
4845 * malloc/tst-realloc.c: New file.
4847 2013-09-09 Allan McRae <allan@archlinux.org>
4850 * COPYING: Update from GNU website to fix FSF address.
4851 * COPYING.LIB: Likewise.
4853 2013-09-06 David S. Miller <davem@davemloft.net>
4855 * po/zh_TW.po: Update Chinese (traditional) translation from
4856 translation project.
4858 2013-09-06 Richard Sandiford <richard@codesourcery.com>
4859 Joseph Myers <joseph@codesourcery.com>
4861 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4863 (obstack_chunk_alloc): New macro.
4864 (obstack_chunk_free): Likewise.
4865 (record_offset): New function.
4866 (init_locale_data): Likewise.
4867 (align_locale_data): Likewise.
4868 (add_locale_empty): Likewise.
4869 (add_locale_raw_data): Likewise.
4870 (add_locale_raw_obstack): Likewise.
4871 (add_locale_string): Likewise.
4872 (add_locale_wstring): Likewise.
4873 (add_locale_uint32): Likewise.
4874 (add_locale_uint32_array): Likewise.
4875 (add_locale_char): Likewise.
4876 (start_locale_structure): Likewise.
4877 (end_locale_structure): Likewise.
4878 (start_locale_prelude): Likewise.
4879 (end_locale_prelude): Likewise.
4880 (write_locale_data): Take locale_file structure rather than an
4882 * locale/programs/locfile.h: Include "obstack.h".
4883 (struct locale_file): Change to store locale file contents instead
4885 (init_locale_data): New prototype.
4886 (align_locale_data): Likewise.
4887 (add_locale_empty): Likewise.
4888 (add_locale_raw_data): Likewise.
4889 (add_locale_raw_obstack): Likewise.
4890 (add_locale_string): Likewise.
4891 (add_locale_wstring): Likewise.
4892 (add_locale_uint32): Likewise.
4893 (add_locale_uint32_array): Likewise.
4894 (add_locale_char): Likewise.
4895 (start_locale_structure): Likewise.
4896 (end_locale_structure): Likewise.
4897 (start_locale_prelude): Likewise.
4898 (end_locale_prelude): Likewise.
4899 (write_locale_data): Update prototype.
4900 * locale/programs/3level.h (struct TABLE): Remove result field.
4901 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4902 Use new locale_file interface.
4903 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4904 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4905 * locale/programs/ld-address.c (address_output): Use new
4906 locale_file interface.
4907 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4909 (collate_finish): Don't call collseq_table_finalize.
4910 (collate_output): Use new locale_file interface.
4911 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4913 (NO_FINALIZE): Change to NO_ADD_LOCALE.
4914 (TABLE): Move defines earlier in file.
4915 (ELEMENT): Likewise.
4916 (DEFAULT): Likewise.
4917 (wctrans_table_add): Move macro and inline function earlier in
4919 (struct wctype_table): Move type earlier in file.
4920 (add_locale_wctype_table): New static prototype.
4921 (struct locale_ctype_t): Use logical types instead of struct iovec
4922 pointers for members.
4923 (ctype_output): Use new locale_file interface.
4924 (wctype_table_finalize): Change to add_locale_wctype_table. Use
4925 new locale_file interface.
4926 (allocate_arrays): Update for use of new locale_file interface.
4927 * locale/programs/ld-identification.c (identification_output): Use
4928 new locale_file interface.
4929 * locale/programs/ld-measurement.c (measurement_output): Likewise.
4930 * locale/programs/ld-messages.c (messages_output): Likewise.
4931 * locale/programs/ld-monetary.c (monetary_output): Likewise.
4932 * locale/programs/ld-name.c (name_output): Likewise.
4933 * locale/programs/ld-numeric.c (numeric_output): Likewise.
4934 * locale/programs/ld-paper.c (paper_output): Likewise.
4935 * locale/programs/ld-telephone.c (telephone_output): Likewise.
4936 * locale/programs/ld-time.c (time_output): Likewise.
4938 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4940 * benchtests/Makefile: Add memrchr benchmark.
4941 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4942 benchmark as memrchr.
4943 * benchtests/bench-memrchr-ifunc.c: New file.
4944 * benchtests/bench-memrchr.c: New file.
4946 2013-09-06 Will Newton <will.newton@linaro.org>
4948 * benchtests/Makefile (string-bench): Add memcpy.
4950 2013-09-05 Carlos O'Donell <carlos@redhat.com>
4951 Cong Wang <amwang@redhat.com>
4953 * sysdeps/unix/sysv/linux/bits/in.h
4954 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4955 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4956 before __USE_KERNEL_IPV6_DEFS uses.
4957 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4959 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4960 sockaddr_in6, or ipv6_mreq.
4962 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4964 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4965 memory access for final bytes in some large inputs.
4966 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4968 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4970 * string/test-memrchr.c: New file.
4971 * string/test-memrchr-ifunc.c: New file.
4972 * string/Makefile: Add new memrchr testcase.
4974 2013-09-05 Mike Frysinger <vapier@gentoo.org>
4976 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4977 fanotify_init returns EPERM.
4979 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4981 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4983 (top level): Treat second token from macro or constant entries for
4984 allowed headers as allowed.
4985 * include/complex.h: Condition internal declarations on
4987 * include/fenv.h: Condition include of <stdbool.h> and internal
4988 declarations on [!_ISOMAC].
4990 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
4993 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4995 2013-09-04 Joseph Myers <joseph@codesourcery.com>
4997 * configure.in (--enable-versioning): Remove configure option.
4998 (libc_cv_asm_symver_directive): Remove configure test.
4999 (libc_cv_ld_version_script_option): Likewise.
5000 (VERSIONING): Remove variable and AC_SUBST.
5001 (DO_VERSIONING): Remove AC_DEFINE.
5002 * configure: Regenerated.
5003 * config.h.in (DO_VERSIONING): Remove macro.
5004 * Makerules [$(versioning) = yes]: Change conditionals to
5005 [$(build-shared) = yes].
5006 * config.make.in (versioning): Remove variable.
5007 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5008 [$(build-shared) = yes].
5009 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5010 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5011 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5012 [$(build-shared) = yes].
5013 * extra-lib.mk [$(versioning) = yes]: Likewise.
5014 * hurd/Makefile [$(versioning) = yes]: Likewise.
5015 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5017 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5019 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5020 [SHARED && !NO_HIDDEN].
5021 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5023 [SHARED && DO_VERSIONING]: Likewise..
5024 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5025 [$(build-shared) = yes].
5026 * manual/install.texi (--disable-versioning): Remove
5028 * INSTALL: Regenerated.
5029 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5031 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5032 [$(build-shared) = yes].
5033 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5034 * sysdeps/i386/i686/multiarch/strstr-c.c
5035 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5036 [SHARED && !NO_HIDDEN].
5037 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5038 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5039 * sysdeps/powerpc/powerpc32/dl-machine.c
5040 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5041 * sysdeps/powerpc/powerpc32/sysdep.h
5042 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5043 to [SHARED && PIC && !NO_HIDDEN].
5044 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5045 conditional to [SHARED].
5047 2013-09-04 Will Newton <will.newton@linaro.org>
5049 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5050 * benchtests/bench-string.h: Include bench-timing.h instead
5051 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5052 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5053 call to HP_TIMING_DIFF_INIT.
5054 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5055 instead of hp-timing.h macros.
5056 * benchtests/bench-memchr.c: Likewise.
5057 * benchtests/bench-memcmp.c: Likewise.
5058 * benchtests/bench-memcpy.c: Likewise.
5059 * benchtests/bench-memmem.c: Likewise.
5060 * benchtests/bench-memmove.c: Likewise.
5061 * benchtests/bench-memset.c: Likewise.
5062 * benchtests/bench-rawmemchr.c: Likewise.
5063 * benchtests/bench-strcasecmp.c: Likewise.
5064 * benchtests/bench-strcasestr.c: Likewise.
5065 * benchtests/bench-strcat.c: Likewise.
5066 * benchtests/bench-strchr.c: Likewise.
5067 * benchtests/bench-strcmp.c: Likewise.
5068 * benchtests/bench-strcpy.c: Likewise.
5069 * benchtests/bench-strcpy_chk.c: Likewise.
5070 * benchtests/bench-strlen.c: Likewise.
5071 * benchtests/bench-strncasecmp.c: Likewise.
5072 * benchtests/bench-strncat.c: Likewise.
5073 * benchtests/bench-strncmp.c: Likewise.
5074 * benchtests/bench-strncpy.c: Likewise.
5075 * benchtests/bench-strnlen.c: Likewise.
5076 * benchtests/bench-strpbrk.c: Likewise.
5077 * benchtests/bench-strrchr.c: Likewise.
5078 * benchtests/bench-strspn.c: Likewise.
5079 * benchtests/bench-strstr.c: Likewise.
5081 2013-09-04 Will Newton <will.newton@linaro.org>
5083 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5085 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5088 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5089 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5090 * math/libm-test.inc (lgamma_test_data): Add more tests.
5091 * sysdeps/i386/fpu/libm-test-ulps: Update.
5092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5094 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5096 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5097 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5100 Add strcmp-sse2-unaligned
5101 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5103 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5105 * Versions.def (libc): Add GLIBC_2.19.
5107 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5109 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5110 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5112 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5115 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5116 intermediate calculations in recurrence.
5117 (__ieee754_ynf): Likewise.
5118 * math/libm-test.inc (jn_test_data): Do not allow spurious
5119 underflow exception. Add more tests.
5120 (yn_test_data): Add more tests.
5121 * sysdeps/i386/fpu/libm-test-ulps: Update.
5122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5124 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5126 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5128 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5130 * csu/init-first.c: Fix then/than typos.
5131 * locale/programs/ld-collate.c: Likewise.
5132 * locale/programs/linereader.h: Likewise.
5133 * manual/charset.texi: Likewise.
5134 * manual/filesys.texi: Likewise.
5135 * manual/stdio.texi: Likewise.
5136 * manual/string.texi: Likewise.
5137 * stdlib/fmtmsg.c: Likewise.
5138 * sysdeps/i386/stpncpy.S: Likewise.
5139 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5140 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5141 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5142 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5144 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5146 * elf/dl-open.c: Fix typos.
5147 * iconvdata/gbbig5.c: Likewise.
5148 * iconvdata/iso-2022-jp.c: Likewise.
5149 * iconv/gconv_int.h: Likewise.
5150 * iconv/loop.c: Likewise.
5151 * nis/rpcsvc/nis.h: Likewise.
5152 * resolv/ns_name.c: Likewise.
5153 * stdio-common/vfscanf.c: Likewise.
5154 * streams/stropts.h: Likewise.
5155 * sunrpc/rpc_thread.c: Likewise.
5156 * sysdeps/i386/strpbrk.S: Likewise.
5157 * sysdeps/ieee754/k_standard.c: Likewise.
5158 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5159 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5160 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5161 * sysdeps/mach/hurd/profil.c: Likewise.
5162 * sysdeps/s390/dl-procinfo.h: Likewise.
5163 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5164 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5165 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5166 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5167 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5169 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5171 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5174 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5176 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5178 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5179 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5180 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5181 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5182 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5183 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5184 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5185 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5187 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5188 Roland McGrath <roland@hack.frob.com>
5190 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5191 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5193 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5195 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5196 __executable_start symbol instead of _start.
5198 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5200 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5201 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5203 * sysdeps/gnu/ldsodefs.h: ... this new file.
5205 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5206 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5207 instead of ELFOSABI_LINUX.
5209 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5210 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5211 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5212 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5214 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5215 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5218 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5219 (ibm_extended_long_double): Add ieee_nan member.
5220 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5221 (do_test): New function.
5223 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5225 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5226 functions, renamed from truncdfsf_test, trunctfsf_test,
5228 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5230 (do_test): Run all these.
5232 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5234 * argp/argp-help.c: Fix typos.
5235 * argp/argp-parse.c: Likewise.
5236 * debug/backtracesyms.c: Likewise.
5237 * elf/elf.h: Likewise.
5238 * malloc/malloc.c: Likewise.
5239 * nis/nis_print.c: Likewise.
5240 * resolv/res_comp.c: Likewise.
5241 * stdlib/stdlib.h: Likewise.
5242 * sunrpc/clnt_tcp.c: Likewise.
5243 * sunrpc/clnt_udp.c: Likewise.
5244 * sunrpc/clnt_unix.c: Likewise.
5245 * sysdeps/unix/bsd/ptsname.c: Likewise.
5246 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5247 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5254 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5256 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5258 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5261 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5264 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5265 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5266 ($(objpfx)bug-dl-leaf): New rule.
5267 ($(objpfx)bug-dl-leaf.so): Likewise.
5268 ($(objpfx)bug-dl-leaf.out): Likewise.
5269 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5270 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5271 * dlfcn/bug-dl-leaf.c: New test.
5272 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5273 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5274 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5275 (dlclose): Likewise.
5276 (dlmopen): Likewise.
5278 2013-08-27 Roland McGrath <roland@hack.frob.com>
5280 * include/netdb.h [!_ISOMAC]:
5281 Don't include <tls.h>.
5282 (h_errno, __libc_h_errno): Move declaration and macros out of
5285 * include/resolv.h [_RESOLV_H_]:
5286 Don't include <tls.h>.
5287 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5288 * resolv/res_libc.c: Don't include <tls.h>.
5289 (_res): Use __attribute__ ((nocommon)) in place of
5290 __attribute__ ((section (".bss"))).
5292 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5293 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5295 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5297 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5298 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5300 * resolv/res_mkquery.c: Include <sys/time.h>.
5302 * inet/ifreq.c: Moved to ...
5303 * sysdeps/unix/ifreq.c: ... here.
5304 * inet/ifreq.c: New file, true stub version.
5306 * socket/sa_len.c: New file.
5307 * socket/Makefile (aux): Add it.
5308 * sysdeps/unix/sysv/linux/Makefile
5309 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5310 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5311 and #include <socket/sa_len.c>.
5312 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5313 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5315 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5316 * bits/socket.h: ... here.
5318 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5319 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5320 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5322 2013-08-27 Andreas Schwab <schwab@suse.de>
5325 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5326 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5327 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5328 * string/test-strcasecmp.c (test_main): Run tests in several
5330 * string/test-strncasecmp.c (test_main): Likewise.
5332 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5333 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5334 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5336 (__strncasecmp_ssse3) [PIC]: Likewise.
5338 2013-08-26 Roland McGrath <roland@hack.frob.com>
5340 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5342 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5343 instead of explicitly declaring xdecrypt.
5344 * nis/nss_nis/nis-publickey.c: Likewise.
5346 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5349 * nscd/aicache.c: Include res_hconf.h.
5350 (addhstaiX): Initialize res_hconf.
5352 2013-08-26 Andreas Schwab <schwab@suse.de>
5354 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5355 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5357 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5359 * nscd/aicache.c (addhstaiX): Fix indentation.
5361 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5363 * configure.ac: Quote $build_pt_chown test.
5364 * configure: Regenerated.
5366 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5369 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5370 * math/s_cexpf.c (__cexpf): Likewise.
5371 * math/s_cexpl.c (__cexpl): Likewise.
5372 * math/libm-test.inc (cexp_test_data): Correct expected return
5373 value for NaN + i0. Add another test.
5375 2013-08-22 David S. Miller <davem@davemloft.net>
5377 * po/ca.po: Update Catalan translation from translation project.
5378 * po/uk.po: Add Ukrainian translations from translation project.
5380 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5383 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5384 is infinite, not alongside NaN test.
5385 * math/s_fdimf.c (__fdimf): Likewise.
5386 * math/s_fdiml.c (__fdiml): Likewise.
5387 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5390 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5392 * argp/argp-help.c: Fix typos.
5393 * crypt/speeds.c: Likewise.
5394 * csu/check_fds.c: Likewise.
5395 * elf/dl-load.c: Likewise.
5396 * elf/dl-open.c: Likewise.
5397 * elf/reldep3.c: Likewise.
5398 * elf/reldep.c: Likewise.
5399 * elf/sprof.c: Likewise.
5400 * iconv/iconv_charmap.c: Likewise.
5401 * iconv/skeleton.c: Likewise.
5402 * iconv/strtab.c: Likewise.
5403 * io/lockf64.c: Likewise.
5404 * libio/libioP.h: Likewise.
5405 * resolv/gai_notify.c: Likewise.
5406 * resolv/ns_name.c: Likewise.
5407 * resolv/ns_samedomain.c: Likewise.
5408 * resolv/res_send.c: Likewise.
5409 * stdlib/random.c: Likewise.
5410 * sunrpc/rpc/xdr.h: Likewise.
5411 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5412 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5413 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5414 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5415 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5416 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5418 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5419 * sysdeps/mach/hurd/check_fds.c: Likewise.
5420 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5421 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5422 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5423 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5424 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5425 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5426 * sysdeps/pthread/aio_notify.c: Likewise.
5427 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5428 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5429 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5430 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5431 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5433 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5435 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5436 version if bit_Slow_SSE4_2 is set.
5437 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5438 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5440 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5444 trampoline stack frame information.
5445 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5446 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5447 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5448 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5449 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5450 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5451 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5452 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5454 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5455 interrupting a syscall and set with option SA_SIGINFO.
5457 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5460 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5461 argument is infinite.
5462 * math/s_cprojf.c (__cprojf): Likewise.
5463 * math/s_cprojl.c (__cprojl): Likewise.
5464 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5465 * math/libm-test.inc (cproj_test_data): Add more tests.
5467 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5469 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5470 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5471 size. Use __ffs to determine corresponding shift.
5473 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5474 Roland McGrath <roland@hack.frob.com>
5476 * Makefile (INSTALL): Remove trailing blank lines from output of
5479 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5481 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5482 Align 32 bit compat elf_greg to 8 bytes.
5484 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5486 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5488 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5490 * string/strcoll_l.c (coll_seq): New structure.
5491 (get_next_seq_cached): New function.
5492 (get_next_seq): New function.
5493 (do_compare): New function.
5494 (STRCOLL): Use GNU style definition. Simplify implementation
5495 by using get_next_seq, get_next_seq_cached and do_compare.
5497 2013-08-16 Florian Weimer <fweimer@redhat.com>
5501 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5503 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5505 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5506 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5507 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5509 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5510 GETDENTS_64BIT_ALIGNED.
5511 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5512 * manual/filesys.texi (Reading/Closing Directory): Document
5513 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5515 * manual/conf.texi (Limits for Files): Add portability note to
5517 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5519 2013-08-13 Andreas Schwab <schwab@suse.de>
5522 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5524 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5525 LDBL_MAX_EXP >= 16384]: Add tests for it.
5527 2013-08-12 David S. Miller <davem@davemloft.net>
5529 * version.h (RELEASE): Set to "development".
5530 (VERSION): Set to "2.18.90".
5531 * NEWS: Add 2.19 section.
5533 2013-08-03 David S. Miller <davem@davemloft.net>
5535 * po/ko.po: Update Korean translation from translation project.
5537 2013-08-01 David S. Miller <davem@davemloft.net>
5539 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
5540 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
5543 2013-07-30 David S. Miller <davem@davemloft.net>
5545 * po/fr.po: Update French translation from translation project.
5547 2013-07-28 David S. Miller <davem@davemloft.net>
5549 * po/cs.po: Update Czech translation from translation project.
5551 * po/sv.po: Update Swedish translation from translation project.
5553 2013-07-27 David S. Miller <davem@davemloft.net>
5555 * po/eo.po: Update Esperanto translation from translation project.
5557 * po/vi.po: Update Vietnamese translation from translation project.
5559 * po/de.po: Update German translation from translation project.
5561 2013-07-26 David S. Miller <davem@davemloft.net>
5563 * po/bg.po: Update Bulgarian translation from translation project.
5565 * po/nl.po: Update Dutch translation from translation project.
5566 * po/pl.po: Update Polish translation from translation project.
5567 * po/ru.po: Update Russian translation from translation project.
5569 2013-07-24 David S. Miller <davem@davemloft.net>
5571 * po/libc.pot: Update.
5573 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5575 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
5577 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
5578 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
5579 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
5581 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5583 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
5585 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5586 Andreas Schwab <schwab@suse.de>
5587 Roland McGrath <roland@hack.frob.com>
5588 Joseph Myers <joseph@codesourcery.com>
5589 Carlos O'Donell <carlos@redhat.com>
5592 * config.h.in: Define HAVE_PT_CHOWN.
5593 * config.make.in (build-pt-chown): New variable.
5594 * configure.in (--enable-pt_chown): New configure option.
5595 * configure: Regenerate.
5596 * login/Makefile: Include Makeconfig. Build pt_chown only if
5597 build-pt-chown is enabled.
5598 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
5599 pt_chown to fix pty ownership.
5600 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
5602 * manual/install.texi (Configuring and compiling): Mention
5603 --enable-pt_chown. Add @findex for grantpt.
5604 * INSTALL: Regenerate.
5606 2013-07-20 David S. Miller <davem@davemloft.net>
5608 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
5609 difference between 32-bit and 64-bit.
5611 2013-07-15 Carlos O'Donell <carlos@redhat.com>
5614 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
5615 Avoid system header dependency with -ffreestanding.
5616 ($(objpfx)bits/syscall%d): Likewise.
5618 2013-07-13 David S. Miller <davem@davemloft.net>
5620 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5621 underflows from atanl/atan2l due to bug 15319.
5622 (casinh_test_data): Likewise.
5624 2013-07-07 David S. Miller <davem@davemloft.net>
5626 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5628 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
5630 * sysdeps/i386/fpu/libm-test-ulps: Update.
5631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5633 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5635 * configure.in (--enable-lock-elision): Fix message text.
5636 * INSTALL: Regenerate.
5637 * configure: Regenerate.
5639 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5643 2013-07-03 Andreas Jaeger <aj@suse.de>
5645 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5647 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5648 (ptrace_peeksiginfo_args): Add.
5649 (__ptrace_peeksiginfo_flags): Add.
5650 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5651 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5652 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5654 2013-07-03 Allan McRae <allan@archlinux.org>
5656 * sysdeps/i386/fpu/libm-test-ulps: Update.
5658 2013-07-02 David S. Miller <davem@davemloft.net>
5660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5662 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
5664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5666 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5668 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5671 2013-07-02 Andi Kleen <ak@linux.intel.com>
5673 * config.h.in (ENABLE_LOCK_ELISION): Add.
5674 * configure.in (--enable-lock-elision): Add option.
5675 * manual/install.texi: Document --enable lock elision.
5676 * configure: Regenerate
5677 * INSTALL: Regenerate.
5679 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
5681 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5682 SSE4.2 strcasecmp for libc.a.
5683 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5685 2013-07-02 Joseph Myers <joseph@codesourcery.com>
5688 * soft-fp/op-common.h (_FP_FMA): New macro.
5689 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5690 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
5691 (_FP_MUL_MEAT_1_imm): ... here.
5692 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
5693 (_FP_MUL_MEAT_1_wide): ... here.
5694 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
5695 (_FP_MUL_MEAT_1_hard): ... here.
5696 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5697 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
5698 (_FP_MUL_MEAT_2_wide): ... here.
5699 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
5700 (_FP_MUL_MEAT_2_wide_3mul): ... here.
5701 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
5702 (_FP_MUL_MEAT_2_gmp): ... here.
5703 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5704 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
5705 (_FP_MUL_MEAT_4_wide): ... here.
5706 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
5707 (_FP_MUL_MEAT_4_gmp): ... here.
5708 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5709 (_FP_WFRACBITS_DW_S): Likewise.
5710 (_FP_WFRACXBITS_DW_S): Likewise.
5711 (_FP_HIGHBIT_DW_S): Likewise.
5712 (FP_FMA_S): Likewise.
5713 (_FP_FRAC_HIGH_DW_S): Likewise.
5714 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5715 (_FP_WFRACBITS_DW_D): Likewise.
5716 (_FP_WFRACXBITS_DW_D): Likewise.
5717 (_FP_HIGHBIT_DW_D): Likewise.
5718 (FP_FMA_D): Likewise.
5719 (_FP_FRAC_HIGH_DW_D): Likewise.
5720 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5721 (_FP_WFRACBITS_DW_E): Likewise.
5722 (_FP_WFRACXBITS_DW_E): Likewise.
5723 (_FP_HIGHBIT_DW_E): Likewise.
5724 (FP_FMA_E): Likewise.
5725 (_FP_FRAC_HIGH_DW_E): Likewise.
5726 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5727 (_FP_WFRACBITS_DW_Q): Likewise.
5728 (_FP_WFRACXBITS_DW_Q): Likewise.
5729 (_FP_HIGHBIT_DW_Q): Likewise.
5730 (FP_FMA_Q): Likewise.
5731 (_FP_FRAC_HIGH_DW_Q): Likewise.
5732 * soft-fp/fmasf4.c: New file.
5733 * soft-fp/fmadf4.c: Likewise.
5734 * soft-fp/fmatf4.c: Likewise.
5736 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5739 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5741 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5743 (index_Slow_SSE4_2): Likewise.
5744 (index_Prefer_PMINUB_for_stringop): Likewise.
5745 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5746 bit_Slow_SSE4_2 is set.
5747 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5748 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5750 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5752 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5753 rtld_global._dl_hwcap2.
5754 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5756 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5757 POWER8 feature descriptions defined in _dl_hwcap2.
5758 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5759 string handling for POWER8 feature bits.
5760 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5761 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5762 _dl_powerpc_cap_flags.
5763 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5764 * sysdeps/powerpc/rtld-global-offsets.sym
5765 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5766 _dl_hwcap2 in the rtld_global_ro structure.
5768 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5770 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5771 hardware capabilities in support of AT_HWCAP2.
5772 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5773 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5775 (_dl_show_auxv): Add support for calling _dl_procinfo to display
5776 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
5777 explicitly the unknown a_type display mechanism is used.
5778 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5779 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5781 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5782 to macro prototype for AT_HWCAP2 support.
5783 * sysdeps/i386/dl-procinfo.h: Likewise.
5784 * sysdeps/s390/dl-procinfo.h: Likewise.
5785 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5786 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
5787 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
5788 return -1 for unknown a_type display fallback.
5789 * sysdeps/sparc/dl-procinfo.h: Likewise.
5790 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5791 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5793 2013-06-28 Joseph Myers <joseph@codesourcery.com>
5795 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5796 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5798 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
5801 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5802 mprotect making __stack_prot writable.
5804 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
5805 Joseph Myers <joseph@codesourcery.com>
5807 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5808 as being properly aligned.
5810 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
5812 * dlfcn/modstatic5.c: New file.
5813 * dlfcn/tststatic5.c: New file.
5814 * dlfcn/Makefile (tests): Add tststatic5.
5815 (tests-static): Likewise.
5816 (modules-names): Add modstatic5.
5817 (tststatic5-ENV): New variable.
5818 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5821 * elf/dl-support.c (_dl_main_map): New variable.
5822 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5823 (_dl_nns, _dl_load_adds): Set to 1.
5824 (_dl_initial_searchlist): Refer to _dl_main_map.
5825 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5826 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5827 call to _dl_get_origin.
5828 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5830 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5831 * dlfcn/modstatic3.c: New file.
5832 * dlfcn/tststatic3.c: New file.
5833 * dlfcn/tststatic4.c: New file.
5834 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5835 (tests-static): Likewise.
5836 (modules-names): Add modstatic3.
5837 (tststatic3-ENV, tststatic4-ENV): New variables.
5838 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5839 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5841 2013-06-26 Joseph Myers <joseph@codesourcery.com>
5843 * configure.in (CC): Require GCC version 4.4 or later.
5844 * configure: Regenerated.
5845 * manual/install.texi (Tools for Compilation): Update GCC version
5847 * INSTALL: Regenerated.
5849 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5852 * string/test-memcmp.c (check2): New.
5853 (main): Call check2.
5855 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5857 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
5860 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5862 (dl_open_worker) [!SHARED]: ... here.
5864 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5866 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5868 2013-06-25 Richard Henderson <rth@redhat.com>
5870 * locale/programs/locarchive.c: Include <libc-internal.h>
5872 2013-06-25 Joseph Myers <joseph@codesourcery.com>
5874 * manual/texinfo.tex: Update to version 2013-06-21.17, with
5875 trailing whitespace removed.
5877 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5880 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5881 * locale/programs/locarchive.c: Include libc-mmap.h.
5882 (prepare_address_space): Take two new outputs (the mmap base and len).
5883 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
5885 (create_archive): Declare new mmap base and len values for
5886 prepare_address_space, and store the result in ah.
5887 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5888 (enlarge_archive): If ah->mmap_base is not NULL, use that and
5889 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5890 Declare new mmap base and len values for
5891 prepare_address_space, and store the result in new_ah.
5892 (open_archive): Declare new mmap base and len values for
5893 prepare_address_space, and store the result in ah.
5894 (close_archive): If ah->mmap_base is not NULL, use that and
5895 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5896 * sysdeps/generic/libc-mmap.h: New file.
5898 2013-06-24 Mike Frysinger <vapier@gentoo.org>
5900 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5901 (ALIGN_UP): Likewise.
5902 (PTR_ALIGN_DOWN): Likewise.
5903 (PTR_ALIGN_UP): Likewise.
5905 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5907 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5908 entry mapped to PPC_PLATFORM_POWER8.
5909 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5911 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5912 (_dl_string_platform): Add case for exporting platform position for
5914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5915 search path to sysdeps/powerpc/powerpc32/power8 directory.
5916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5917 search path to sysdeps/powerpc/powerpc64/power8 directory.
5918 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5920 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5923 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5925 * INSTALL: Regenerate.
5927 * nscd/connections.c (nscd_init): Fix comment.
5929 2013-06-22 Joseph Myers <joseph@codesourcery.com>
5931 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5934 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5935 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5937 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5939 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5941 (DL_DST_REQ_STATIC): Remove macro.
5943 2013-06-21 Joseph Myers <joseph@codesourcery.com>
5946 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5947 with a shift of 0 bits.
5949 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
5951 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5954 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5957 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5959 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5961 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5962 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5963 accepts -fno-tree-loop-distribute-patterns.
5964 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5965 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5967 * string/memset.c (memset): Likewise.
5968 * string/test-memmove.c (simple_memmove): Disable loop transformation
5970 * string/test-memset.c (simple_memset): Likewise.
5971 * benchtests/bench-memmove.c (simple_memmove): Likewise.
5972 * benchtests/bench-memset.c (simple_memset): Likewise.
5973 * configure: Regenerated.
5975 2013-06-20 Joseph Myers <joseph@codesourcery.com>
5977 * math/test-misc.c (main): Ignore fesetround failure when failures
5978 of subsequent rounding tests would be ignored.
5981 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5982 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5983 * math/fegetenv.c (__fegetenv): Return 0.
5984 * math/fegetexcept.c (fegetexcept): Return 0.
5985 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5987 * math/feholdexcpt.c (feholdexcept): Return 0.
5988 * math/fesetenv.c (__fesetenv): Return 0.
5989 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5990 argument FE_TONEAREST.
5991 * math/feupdateenv.c (__feupdateenv): Return 0.
5992 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5994 2013-06-18 Roland McGrath <roland@hack.frob.com>
5996 * elf/rtld-Rules (rtld-compile-command.S): New variable.
5997 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5998 ($(objpfx)rtld-%.os rules): Use them.
6000 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6002 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6005 2013-06-17 Roland McGrath <roland@hack.frob.com>
6007 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6008 length of target pattern, then descending length of dependency pattern.
6009 * configure.in (AWK): Require gawk 3.1.2 or newer.
6010 * manual/install.texi (Tools for Compilation): Say that we do.
6011 * configure: Regenerated.
6013 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6014 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6015 * scripts/sysd-rules.awk: ... this new script.
6016 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6017 than a glob-style pattern.
6019 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6021 * math/test-misc.c (main): Do not treat incorrectly rounded
6022 conversions as failure unless ROUNDING_TESTS passes.
6024 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6027 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6028 restore exception state around main square root computation, then
6029 check for inexactness explicitly.
6031 * math/libm-test.inc (fma_test_data): Add another test.
6033 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6035 * manual/threads.texi (Non-POSIX Extensions): New document
6036 node. Document pthread_getattr_default_np and
6037 pthread_setattr_default_np.
6039 * Versions.def (libpthread): Add GLIBC_2.18.
6040 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6049 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6060 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6063 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6065 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6066 H.J. Lu <hjl.tools@gmail.com>
6069 * sysdeps/x86_64/rtld-memset.c: Remove file.
6070 * sysdeps/x86_64/rtld-memset.S: New file.
6072 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6074 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6075 (test_in_one_mode): Take arguments for whether the rounding mode
6076 is supported for each floating-point type.
6077 (do_test): Pass new arguments to test_in_one_mode using
6080 2013-06-13 Roland McGrath <roland@hack.frob.com>
6082 * posix/tst-waitid.c (do_test): Distinguish different instances of
6083 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6084 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6085 before entering the kernel for waitpid.
6087 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6089 * NEWS: Fix note on clock function precision. Text by Roland
6092 2013-06-13 Roland McGrath <roland@hack.frob.com>
6094 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6095 it into place only when and if the sanity check passes.
6097 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6099 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6100 output for whether conversion result is exact. Take argument
6101 indicating whether type is IBM long double.
6102 (round_for_all): Change need_exact field to ibm_ld.
6103 * stdlib/tst-strtod-round.c (struct exactness): New type.
6104 (struct test): Change bool ld_ok field to struct exactness exact.
6105 (TEST): Update all definitions for change to field.
6106 (tests): Regenerate array contents.
6107 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6108 field value. Check for IBM long double here.
6109 (do_test): Update calls to test_in_one_mode.
6111 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6114 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6115 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6117 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6120 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6121 generated by the compiler on loop optimizations.
6122 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6123 general definitions.
6125 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6127 * math/bug-nextafter.c: Include <math-tests.h>.
6128 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6130 * math/bug-nexttoward.c: Include <math-tests.h>.
6131 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6133 * math/test-misc.c: Include <math-tests.h>.
6134 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6137 2013-06-12 Andreas Jaeger <aj@suse.de>
6139 * po/ia.po: Update Interlingua translation from translation
6142 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6144 * include/fenv.h: Include stdbool.h.
6145 (struct rm_ctx): New structure.
6146 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6148 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6149 (SET_RESTORE_ROUNDF): Likewise.
6150 (SET_RESTORE_ROUNDL): Likewise.
6151 (SET_RESTORE_ROUND_NOEX): Likewise.
6152 (SET_RESTORE_ROUND_NOEXF): Likewise.
6153 (SET_RESTORE_ROUND_NOEXL): Likewise.
6154 (SET_RESTORE_ROUND_53BIT): Likewise.
6155 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6156 (libc_feresetround_noexf_ctx): Likewise.
6157 (libc_feresetround_noexl_ctx): Likewise.
6158 (libc_feholdsetround_53bit_ctx): Likewise.
6159 (libc_feresetround_53bit_ctx): Likewise.
6160 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6161 (libc_feholdexcept_setround_sse_ctx): New function.
6162 (libc_fesetenv_sse_ctx): Likewise.
6163 (libc_feupdateenv_sse_ctx): Likewise.
6164 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6165 (libc_feholdexcept_setround_387_ctx): Likewise.
6166 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6167 (libc_feholdsetround_387_prec_ctx): Likewise.
6168 (libc_feholdsetround_387_ctx): Likewise.
6169 (libc_feholdsetround_387_53bit_ctx): Likewise.
6170 (libc_feholdsetround_sse_ctx): Likewise.
6171 (libc_feresetround_sse_ctx): Likewise.
6172 (libc_feresetround_387_ctx): Likewise.
6173 (libc_feupdateenv_387_ctx): Likewise.
6174 (libc_feholdexcept_setroundf_ctx): Define macro.
6175 (libc_fesetenvf_ctx): Likewise.
6176 (libc_feupdateenvf_ctx): Likewise.
6177 (libc_feholdsetroundf_ctx): Likewise.
6178 (libc_feresetroundf_ctx): Likewise.
6179 (libc_feholdexcept_setround_ctx): Likewise.
6180 (libc_fesetenv_ctx): Likewise.
6181 (libc_feupdateenv_ctx): Likewise.
6182 (libc_feholdsetround_ctx): Likewise.
6183 (libc_feresetround_ctx): Likewise.
6184 (libc_feholdexcept_setroundl_ctx): Likewise.
6185 (libc_feupdateenvl_ctx): Likewise.
6186 (libc_feholdsetroundl_ctx): Likewise.
6187 (libc_feresetroundl_ctx): Likewise.
6188 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6189 (libc_feresetround_53bit_ctx): Likewise.
6191 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6193 * locale/iso-639.def: Convert to UTF-8.
6195 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6197 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6198 (EXCEPTION_TESTS_double): Likewise.
6199 (EXCEPTION_TESTS_long_double): Likewise.
6200 (EXCEPTION_TESTS): Likewise.
6201 * math/libm-test.inc (test_exceptions): Only test exceptions if
6202 EXCEPTION_TESTS (FLOAT).
6204 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6206 * benchtests/Makefile (string-bench): Add strcpy_chk and
6208 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6209 * benchtests/bench-stpcpy_chk.c: New file.
6210 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6211 * benchtests/bench-strcpy_chk.c: New file.
6212 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6214 (do_test): Likewise.
6216 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6218 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6219 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6220 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6221 with tabs where appropriate.
6222 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6224 [PPC_PLATFORM_PPC440]: Likewise.
6225 [PPC_PLATFORM_PPC464]: Likewise.
6226 [PPC_PLATFORM_PPC476]: Likewise.
6227 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6228 ppc464, and ppc476 platform strings merging from ports/
6231 2013-06-11 Andreas Schwab <schwab@suse.de>
6234 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6235 (from_ucs4_idx): Regenerate.
6236 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6237 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6238 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6239 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6240 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6241 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6242 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6243 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6244 from FROM_LOOP and TO_LOOP specific macros.
6245 (BODY): Handle combining characters.
6246 * iconvdata/BIG5HKSCS.irreversible: Update.
6247 * iconvdata/BIG5HKSCS.precomposed: New file.
6248 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6250 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6252 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6254 * include/sys/time.h: Fix indentation and add copyright header.
6256 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6257 (do_test): Likewise.
6258 * string/test-memchr.c (do_one_test): Likewise.
6259 (do_test): Likewise.
6260 * string/test-memcmp.c (do_one_test): Likewise.
6261 (do_test): Likewise.
6262 * string/test-memcpy.c (do_one_test): Likewise.
6263 (do_test): Likewise.
6264 * string/test-memmem.c (do_one_test): Likewise.
6265 (do_test): Likewise.
6266 (do_random_tests): Likewise.
6267 * string/test-memmove.c (do_one_test): Likewise.
6268 (do_test): Likewise.
6269 * string/test-memset.c (do_one_test): Likewise.
6270 (do_test): Likewise.
6271 * string/test-rawmemchr.c (do_one_test): Likewise.
6272 (do_test): Likewise.
6273 * string/test-strcasecmp.c (do_one_test): Likewise.
6274 (do_test): Likewise.
6275 * string/test-strcasestr.c (do_one_test): Likewise.
6276 (do_test): Likewise.
6277 * string/test-strcat.c (do_one_test): Likewise.
6278 (do_test): Likewise.
6279 * string/test-strchr.c (do_one_test): Likewise.
6280 (do_test): Likewise.
6281 * string/test-strcmp.c (do_one_test): Likewise.
6282 (do_test): Likewise.
6283 * string/test-strcpy.c (do_one_test): Likewise.
6284 (do_test): Likewise.
6285 * string/test-string.h: Likewise.
6286 (test_init): Likewise.
6287 * string/test-strlen.c (do_one_test): Likewise.
6288 (do_test): Likewise.
6289 * string/test-strncasecmp.c (do_one_test): Likewise.
6290 (do_test): Likewise.
6291 * string/test-strncat.c (do_one_test): Likewise.
6292 (do_test): Likewise.
6293 * string/test-strncmp.c (do_one_test): Likewise.
6294 (do_test_limit): Likewise.
6295 (do_test): Likewise.
6296 * string/test-strncpy.c (do_one_test): Likewise.
6297 (do_test): Likewise.
6298 * string/test-strnlen.c (do_one_test): Likewise.
6299 (do_test): Likewise.
6300 * string/test-strpbrk.c (do_one_test): Likewise.
6301 (do_test): Likewise.
6302 * string/test-strrchr.c (do_one_test): Likewise.
6303 (do_test): Likewise.
6304 * string/test-strspn.c (do_one_test): Likewise.
6305 (do_test): Likewise.
6306 * string/test-strstr.c (do_one_test): Likewise.
6307 (do_test): Likewise.
6309 * benchtests/Makefile (string-bench): Add string benchmarks.
6310 * benchtests/bench-bcopy-ifunc.c: New file.
6311 * benchtests/bench-bcopy.c: New file.
6312 * benchtests/bench-bzero-ifunc.c: New file.
6313 * benchtests/bench-bzero.c: New file.
6314 * benchtests/bench-memccpy-ifunc.c: New file.
6315 * benchtests/bench-memccpy.c: New file.
6316 * benchtests/bench-memchr-ifunc.c: New file.
6317 * benchtests/bench-memchr.c: New file.
6318 * benchtests/bench-memcmp-ifunc.c: New file.
6319 * benchtests/bench-memcmp.c: New file.
6320 * benchtests/bench-memmem-ifunc.c: New file.
6321 * benchtests/bench-memmem.c: New file.
6322 * benchtests/bench-memmove-ifunc.c: New file.
6323 * benchtests/bench-memmove.c: New file.
6324 * benchtests/bench-mempcpy-ifunc.c: New file.
6325 * benchtests/bench-mempcpy.c: New file.
6326 * benchtests/bench-memset-ifunc.c: New file.
6327 * benchtests/bench-memset.c: New file.
6328 * benchtests/bench-rawmemchr-ifunc.c: New file.
6329 * benchtests/bench-rawmemchr.c: New file.
6330 * benchtests/bench-stpcpy-ifunc.c: New file.
6331 * benchtests/bench-stpcpy.c: New file.
6332 * benchtests/bench-stpncpy-ifunc.c: New file.
6333 * benchtests/bench-stpncpy.c: New file.
6334 * benchtests/bench-strcasecmp-ifunc.c: New file.
6335 * benchtests/bench-strcasecmp.c: New file.
6336 * benchtests/bench-strcasestr-ifunc.c: New file.
6337 * benchtests/bench-strcasestr.c: New file.
6338 * benchtests/bench-strcat-ifunc.c: New file.
6339 * benchtests/bench-strcat.c: New file.
6340 * benchtests/bench-strchr-ifunc.c: New file.
6341 * benchtests/bench-strchr.c: New file.
6342 * benchtests/bench-strchrnul-ifunc.c: New file.
6343 * benchtests/bench-strchrnul.c: New file.
6344 * benchtests/bench-strcmp-ifunc.c: New file.
6345 * benchtests/bench-strcmp.c: New file.
6346 * benchtests/bench-strcpy-ifunc.c: New file.
6347 * benchtests/bench-strcpy.c: New file.
6348 * benchtests/bench-strcspn-ifunc.c: New file.
6349 * benchtests/bench-strcspn.c: New file.
6350 * benchtests/bench-strlen-ifunc.c: New file.
6351 * benchtests/bench-strlen.c: New file.
6352 * benchtests/bench-strncasecmp-ifunc.c: New file.
6353 * benchtests/bench-strncasecmp.c: New file.
6354 * benchtests/bench-strncat-ifunc.c: New file.
6355 * benchtests/bench-strncat.c: New file.
6356 * benchtests/bench-strncmp-ifunc.c: New file.
6357 * benchtests/bench-strncmp.c: New file.
6358 * benchtests/bench-strncpy-ifunc.c: New file.
6359 * benchtests/bench-strncpy.c: New file.
6360 * benchtests/bench-strnlen-ifunc.c: New file.
6361 * benchtests/bench-strnlen.c: New file.
6362 * benchtests/bench-strpbrk-ifunc.c: New file.
6363 * benchtests/bench-strpbrk.c: New file.
6364 * benchtests/bench-strrchr-ifunc.c: New file.
6365 * benchtests/bench-strrchr.c: New file.
6366 * benchtests/bench-strspn-ifunc.c: New file.
6367 * benchtests/bench-strspn.c: New file.
6368 * benchtests/bench-strstr-ifunc.c: New file.
6369 * benchtests/bench-strstr.c: New file.
6371 * benchtests/Makefile: Disable parallel execution of targets.
6372 (string-bench): Add memcpy.
6373 (benchset): New variable to store a list of benchmark sets.
6374 (bench-func): Renamed from bench.
6375 (bench-set): New target.
6376 (bench): Depend on bench-func and bench-set.
6377 * benchtests/README: Add section on benchmark sets.
6378 * benchtests/bench-memcpy-ifunc.c: New file.
6379 * benchtests/bench-memcpy.c: New file.
6380 * benchtests/bench-string.h: New file.
6382 2013-06-11 Andreas Schwab <schwab@suse.de>
6385 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6386 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6387 values in the triple.
6388 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6389 terminator in the group key.
6391 2013-06-11 Andreas Jaeger <aj@suse.de>
6393 * po/zh_TW.po: Update Chinese (traditional) translation from
6394 translation project.
6396 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6398 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6399 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6400 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6401 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6402 (clock_getcpuclockid): Likewise.
6403 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6404 Add weak_alias and libc_hidden_def.
6405 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6406 * rt/clock_gettime.c (clock_gettime): Rename to
6407 __clock_gettime. Add weak_alias and libc_hidden_def.
6408 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6409 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6410 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6411 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6412 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6414 * rt/clock_settime.c (clock_settime): Rename to
6415 __clock_settime. Add weak_alias and libc_hidden_def.
6416 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6418 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6420 * mach/err_boot.sub: Remove trailing whitespace.
6421 * mach/err_ipc.sub: Likewise.
6422 * mach/err_mach.sub: Likewise.
6424 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6425 (ROUNDING_TESTS_double): Likewise.
6426 (ROUNDING_TESTS_long_double): Likewise.
6427 (ROUNDING_TESTS): Likewise.
6428 * math/libm-test.inc: Include <math-tests.h>.
6429 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6430 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6431 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6432 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6434 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6436 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6439 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6441 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6442 otherwise empty TRANS lines.
6443 * sysdeps/gnu/errlist.c: Regenerated.
6445 * catgets/gencat.c (error_print): Use (void) in function
6447 * crypt/crypt_util.c (__init_des): Likewise.
6448 * crypt/speeds.c (Stop): Likewise.
6450 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6451 * inet/ruserpass.c (token): Likewise.
6452 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6453 * intl/localealias.c (extend_alias_table): Likewise.
6454 * intl/plural-exp.c (init_germanic_plural): Likewise.
6455 * libio/fcloseall.c (__fcloseall): Likewise.
6456 * libio/genops.c (_IO_flush_all): Likewise.
6457 (_IO_flush_all_linebuffered): Likewise.
6458 (_IO_cleanup): Likewise.
6459 (_IO_iter_begin): Likewise.
6460 (_IO_iter_end): Likewise.
6461 (_IO_list_lock): Likewise.
6462 (_IO_list_unlock): Likewise.
6463 (_IO_list_resetlock): Likewise.
6464 * libio/getchar.c (getchar): Likewise.
6465 * libio/getchar_u.c (getchar_unlocked): Likewise.
6466 * libio/getwchar.c (getwchar): Likewise.
6467 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6468 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6469 * login/getpt.c (__getpt): Likewise.
6470 * login/tst-utmp.c (main): Likewise.
6471 * malloc/hooks.c (__malloc_check_init): Likewise.
6472 * malloc/malloc.c (__malloc_stats): Likewise.
6473 * malloc/mtrace.c (tr_break): Likewise.
6475 (muntrace): Likewise.
6476 * misc/fstab.c (endfsent): Likewise.
6477 * misc/getclktck.c (__getclktck): Likewise.
6478 * misc/getdtsz.c (__getdtablesize): Likewise.
6479 * misc/gethostid.c (gethostid): Likewise.
6480 * misc/getpagesize.c (__getpagesize): Likewise.
6481 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6482 (__get_nprocs): Likewise.
6483 (__get_phys_pages): Likewise.
6484 (__get_avphys_pages): Likewise.
6485 * misc/getttyent.c (getttyent): Likewise.
6486 (setttyent): Likewise.
6487 (endttyent): Likewise.
6488 * misc/getusershell.c (getusershell): Likewise.
6489 (endusershell): Likewise.
6490 (setusershell): Likewise.
6491 (initshells): Likewise.
6492 * misc/hsearch.c (__hdestroy): Likewise.
6493 * misc/sync.c (sync): Likewise.
6494 * misc/syslog.c (closelog_internal): Likewise.
6495 (closelog): Likewise.
6496 * misc/ttyslot.c (ttyslot): Likewise.
6497 * misc/vhangup.c (vhangup): Likewise.
6498 * posix/fork.c (__fork): Likewise.
6499 * posix/getegid.c (__getegid): Likewise.
6500 * posix/geteuid.c (__geteuid): Likewise.
6501 * posix/getgid.c (__getgid): Likewise.
6502 * posix/getpid.c (__getpid): Likewise.
6503 * posix/getppid.c (__getppid): Likewise.
6504 * posix/getuid.c (__getuid): Likewise.
6505 * posix/pause.c (pause): Likewise.
6506 * posix/setpgrp.c (setpgrp): Likewise.
6507 * posix/setsid.c (__setsid): Likewise.
6508 * posix/test-vfork.c (noop): Likewise.
6509 * resolv/gethnamaddr.c (_endhtent): Likewise.
6510 (_gethtent): Likewise.
6511 (ht_endhostent): Likewise.
6512 (gethostent): Likewise.
6513 (dns_service): Likewise.
6514 * stdlib/drand48.c (drand48): Likewise.
6515 * stdlib/lrand48.c (lrand48): Likewise.
6516 * stdlib/mrand48.c (mrand48): Likewise.
6517 * stdlib/rand.c (rand): Likewise.
6518 * stdlib/random.c (__random): Likewise.
6519 * stdlib/setenv.c (clearenv): Likewise.
6520 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6521 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6522 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6523 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6524 (__get_nprocs): Likewise.
6525 (__get_phys_pages): Likewise.
6526 (__get_avphys_pages): Likewise.
6527 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6528 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6529 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6530 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6531 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6532 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6533 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6534 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6535 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6536 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6537 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
6538 * sysdeps/mach/hurd/sync.c (sync): Likewise.
6539 * sysdeps/posix/clock.c (clock): Likewise.
6540 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
6541 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
6542 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
6543 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
6544 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
6545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
6546 (__get_nprocs_conf): Likewise.
6547 (__get_phys_pages): Likewise.
6548 (__get_avphys_pages): Likewise.
6549 * time/clock.c (clock): Likewise.
6550 * time/tzset.c (__tzname_max): Likewise.
6552 2013-06-07 Joseph Myers <joseph@codesourcery.com>
6554 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
6555 (__bswap_32): Do not use "register".
6556 * crypt/crypt.c (_ufc_doit_r): Likewise.
6557 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6558 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6559 * gmon/gmon.c (__monstartup): Likewise.
6560 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
6561 * hurd/hurdmalloc.c (more_memory): Likewise.
6564 (realloc): Likewise.
6565 (malloc_fork_prepare): Likewise.
6566 (malloc_fork_parent): Likewise.
6567 (malloc_fork_child): Likewise.
6568 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
6569 (_svcauth_des): Likewise.
6570 * inet/inet_lnaof.c (inet_lnaof): Likewise.
6571 * inet/inet_net.c (inet_network): Likewise.
6572 * inet/inet_netof.c (inet_netof): Likewise.
6573 * inet/rcmd.c (__validuser2_sa): Likewise.
6574 * io/fts.c (fts_open): Likewise.
6575 (fts_load): Likewise.
6576 (fts_close): Likewise.
6577 (fts_read): Likewise.
6578 (fts_children): Likewise.
6579 (fts_build): Likewise.
6580 (fts_stat): Likewise.
6581 (fts_sort): Likewise.
6582 (fts_alloc): Likewise.
6583 (fts_lfree): Likewise.
6584 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
6585 (_IO_file_xsgetn): Likewise.
6586 (_IO_file_xsgetn_mmap): Likewise.
6587 * libio/iofopncook.c (_IO_cookie_read): Likewise.
6588 (_IO_cookie_write): Likewise.
6589 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
6590 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
6591 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
6592 * malloc/obstack.c (_obstack_begin): Likewise.
6593 (_obstack_begin_1): Likewise.
6594 (_obstack_newchunk): Likewise.
6595 (_obstack_allocated_p): Likewise.
6596 (obstack_free): Likewise.
6597 (_obstack_memory_used): Likewise.
6598 * misc/getttyent.c (getttynam): Likewise.
6599 (getttyent): Likewise.
6602 * misc/getusershell.c (initshells): Likewise.
6603 * misc/syslog.c (__vsyslog_chk): Likewise.
6604 * misc/ttyslot.c (ttyslot): Likewise.
6605 * nis/nis_hash.c (__nis_hash): Likewise.
6606 * posix/fnmatch_loop.c (FCT): Likewise.
6607 * posix/getconf.c (print_all): Likewise.
6609 * posix/getopt.c (exchange): Likewise.
6610 * posix/glob.c (globfree): Likewise.
6611 (prefix_array): Likewise.
6612 (__glob_pattern_type): Likewise.
6613 * resolv/arpa/nameser.h (NS_GET16): Likewise.
6614 (NS_GET32): Likewise.
6615 (NS_PUT16): Likewise.
6616 (NS_PUT32): Likewise.
6617 * resolv/gethnamaddr.c (getanswer): Likewise.
6618 (gethostbyname2): Likewise.
6619 (gethostbyaddr): Likewise.
6620 (_gethtent): Likewise.
6621 (_gethtbyname2): Likewise.
6622 (_gethtbyaddr): Likewise.
6623 * resolv/ns_print.c (dst_s_get_int16): Likewise.
6624 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6625 * resolv/res_init.c (__res_vinit): Likewise.
6626 (net_mask): Likewise.
6627 * resolv/res_mkquery.c (outchar): Likewise.
6629 * stdio-common/printf_fp.c (outchar): Likewise.
6631 * stdio-common/printf_fphex.c (outchar): Likewise.
6633 * stdio-common/printf_size.c (outchar): Likewise.
6635 * stdio-common/test_rdwr.c (main): Likewise.
6636 * stdio-common/tfformat.c (matches): Likewise.
6637 * stdio-common/vfprintf.c (outchar): Likewise.
6638 (printf_unknown): Likewise.
6639 (buffered_vfprintf): Likewise.
6640 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6641 * stdio-common/xbug.c (AppendToBuffer): Likewise.
6642 (ReadFile): Likewise.
6643 * stdlib/qsort.c (SWAP): Likewise.
6644 (_quicksort): Likewise.
6645 * stdlib/setenv.c (__add_to_environ): Likewise.
6646 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6647 * stdlib/strtol_l.c (__strtol_l): Likewise.
6648 * stdlib/tst-strtod.c (main): Likewise.
6649 * stdlib/tst-strtol.c (main): Likewise.
6650 * stdlib/tst-strtoll.c (main): Likewise.
6651 * string/bits/string2.h (__strcmp_cc): Likewise.
6652 (__strcmp_cg): Likewise.
6653 (__strcspn_c1): Likewise.
6654 (__strcspn_c2): Likewise.
6655 (__strcspn_c3): Likewise.
6656 (__strspn_c1): Likewise.
6657 (__strspn_c2): Likewise.
6658 (__strspn_c3): Likewise.
6659 (__strsep_1c): Likewise.
6660 (__strsep_2c): Likewise.
6661 (__strsep_3c): Likewise.
6662 * string/memccpy.c (__memccpy): Likewise.
6663 * string/stpcpy.c (__stpcpy): Likewise.
6664 * string/strcmp.c (strcmp): Likewise.
6665 * string/strrchr.c (strrchr): Likewise.
6666 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6668 * sysdeps/mach/hurd/getcwd.c
6669 (_hurd_canonicalize_directory_name_internal): Likewise.
6670 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6671 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6672 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6673 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6674 Likewise, in both definitions.
6675 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6677 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6678 64] (__bswap_64): Likewise.
6679 * time/test_time.c (main): Likewise.
6680 * time/tzfile.c (__tzfile_read): Likewise.
6681 (__tzfile_compute): Likewise.
6682 * time/tzset.c (__tzset_parse_tz): Likewise.
6683 (tzset_internal): Likewise.
6684 (compute_change): Likewise.
6685 * wcsmbs/wcscat.c (__wcscat): Likewise.
6686 * wcsmbs/wcschr.c (wcschr): Likewise.
6687 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6688 * wcsmbs/wcscspn.c (wcscspn): Likewise.
6689 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6690 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6691 * wcsmbs/wcsspn.c (wcsspn): Likewise.
6692 * wcsmbs/wcsstr.c (wcsstr): Likewise.
6693 * wcsmbs/wmemchr.c (wmemchr): Likewise.
6694 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6695 * wcsmbs/wmemset.c (wmemset): Likewise.
6697 2013-06-06 Joseph Myers <joseph@codesourcery.com>
6699 * scripts/config.guess: Update to version 2013-05-16.
6700 * scripts/config.sub: Update to version 2013-04-24.
6701 * scripts/install-sh: Update to version 2011-11-20.07.
6702 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6703 * scripts/move-if-change: Update to version 2012-01-06 07:23.
6705 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
6707 * debug/fgetws_u_chk.c: Fix leading whitespaces.
6708 * elf/sln.c: Likewise.
6709 * hurd/hurd/ioctl.h: Likewise.
6710 * hurd/hurdmalloc.c: Likewise.
6711 * hurd/xattr.c: Likewise.
6712 * include/shlib-compat.h: Likewise.
6713 * inet/ruserpass.c: Likewise.
6714 * libio/iofgets_u.c: Likewise.
6715 * libio/iofgetws_u.c: Likewise.
6716 * locale/programs/ld-identification.c: Likewise.
6717 * locale/programs/ld-time.c: Likewise.
6718 * mach/msg-destroy.c: Likewise.
6719 * nss/nss_files/files-netgrp.c: Likewise.
6720 * resolv/res_data.c: Likewise.
6721 * soft-fp/op-1.h: Likewise.
6722 * soft-fp/op-2.h: Likewise.
6723 * soft-fp/op-4.h: Likewise.
6724 * soft-fp/op-common.h: Likewise.
6725 * stdio-common/printf_fphex.c: Likewise.
6726 * stdlib/strtod_l.c: Likewise.
6727 * sunrpc/rpc/clnt.h: Likewise.
6728 * sysdeps/generic/framestate.c: Likewise.
6729 * sysdeps/i386/bsd-_setjmp.S: Likewise.
6730 * sysdeps/i386/bsd-setjmp.S: Likewise.
6731 * sysdeps/i386/__longjmp.S: Likewise.
6732 * sysdeps/i386/setjmp.S: Likewise.
6733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6734 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6735 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6751 * sysdeps/ieee754/support.c: Likewise.
6752 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6753 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6754 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6755 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6756 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6757 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6758 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6759 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6760 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6761 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6762 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6763 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6764 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6765 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6766 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6767 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6768 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6771 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
6773 * posix/transbug.c: Remove executable mode.
6775 2013-06-05 Joseph Myers <joseph@codesourcery.com>
6777 * crypt/speeds.c: Remove trailing whitespace.
6778 * dlfcn/default.c: Likewise.
6779 * elf/ifuncdep2.c: Likewise.
6780 * elf/ifuncmain1.c: Likewise.
6781 * elf/ifuncmain1vis.c: Likewise.
6782 * elf/testobj.h: Likewise.
6783 * elf/tst-stackguard1.c: Likewise.
6784 * gmon/sys/gmon.h: Likewise.
6785 * hurd/hurdmsg.c: Likewise.
6786 * hurd/new-fd.c: Likewise.
6787 * hurd/ports-get.c: Likewise.
6788 * iconvdata/ibm1008_420.c: Likewise.
6789 * inet/tst-getni1.c: Likewise.
6790 * inet/tst-getni2.c: Likewise.
6791 * libio/ioungetc.c: Likewise.
6792 * libio/wfiledoalloc.c: Likewise.
6793 * manual/libm-err-tab.pl: Likewise.
6794 * math/w_dremf.c: Likewise.
6795 * misc/ftruncate.c: Likewise.
6796 * posix/bug-glob2.c: Likewise.
6797 * posix/tst-pcre.c: Likewise.
6798 * posix/wait4.c: Likewise.
6799 * resolv/README: Likewise.
6800 * resolv/res_debug.h: Likewise.
6801 * resolv/tst-inet_ntop.c: Likewise.
6802 * setjmp/bug269-setjmp.c: Likewise.
6803 * soft-fp/extended.h: Likewise.
6804 * soft-fp/op-1.h: Likewise.
6805 * soft-fp/op-2.h: Likewise.
6806 * soft-fp/op-4.h: Likewise.
6807 * soft-fp/op-8.h: Likewise.
6808 * soft-fp/testit.c: Likewise.
6809 * stdio-common/bug16.c: Likewise.
6810 * stdlib/random.c: Likewise.
6811 * sunrpc/rpcsvc/rquota.x: Likewise.
6812 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6813 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6814 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6815 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6816 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6817 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6818 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6819 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6820 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6821 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6822 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6839 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6841 * sysdeps/ieee754/s_lib_version.c: Likewise.
6842 * sysdeps/mach/hurd/check_fds.c: Likewise.
6843 * sysdeps/mach/hurd/getsockname.c: Likewise.
6844 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6845 * sysdeps/mach/hurd/recvfrom.c: Likewise.
6846 * sysdeps/powerpc/bits/link.h: Likewise.
6847 * sysdeps/powerpc/dl-procinfo.c: Likewise.
6848 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6849 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6850 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6851 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6852 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6853 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6854 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6855 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6856 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6857 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6858 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6859 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6860 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6861 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6862 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6863 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6864 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6865 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6866 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6867 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6868 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6869 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6870 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6871 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6872 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6873 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6874 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6875 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6876 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6877 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6878 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6879 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6880 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6881 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6882 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6883 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6884 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6885 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6886 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6887 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6888 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6889 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6890 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6891 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6892 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6893 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6894 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6895 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6896 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6899 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6900 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6901 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6902 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6903 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6904 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6905 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6906 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6907 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6908 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6909 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6910 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6911 * sysdeps/powerpc/sysdep.h: Likewise.
6912 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6913 * sysdeps/s390/s390-64/sub_n.S: Likewise.
6914 * sysdeps/sh/dl-trampoline.S: Likewise.
6915 * sysdeps/sh/memset.S: Likewise.
6916 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6917 * sysdeps/sh/strlen.S: Likewise.
6918 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6919 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6920 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6921 * sysdeps/sparc/sparc32/rem.S: Likewise.
6922 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6923 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6924 * sysdeps/sparc/sparc32/strchr.S: Likewise.
6925 * sysdeps/sparc/sparc32/udiv.S: Likewise.
6926 * sysdeps/sparc/sparc32/urem.S: Likewise.
6927 * sysdeps/sparc/sparc64/add_n.S: Likewise.
6928 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6929 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6930 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6932 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6933 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6934 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6935 * sysdeps/unix/bsd/times.c: Likewise.
6936 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6937 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6941 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6942 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6943 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6944 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6945 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6946 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6947 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6948 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6949 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6950 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6951 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6952 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6953 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6954 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6955 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6956 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6957 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6958 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6959 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6960 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6961 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6962 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6963 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6964 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6965 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6966 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6967 * sysdeps/x86_64/strcspn.S: Likewise.
6969 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6971 * locale/C-translit.h: Revert #include <stdint.h> because this is a
6972 generated file. Regenerate properly from gen-translit.pl.
6973 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
6974 locale/C-translit.h.
6976 2013-06-05 Andreas Schwab <schwab@suse.de>
6979 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6980 week as 6 instead of -1.
6981 * time/tst-strptime.c (day_tests): Add test case.
6983 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6985 * sysdeps/generic/math_private.h
6986 (libc_feholdexcept_setround_53bit): Replace with
6987 libc_feholdsetround_53bit.
6988 (libc_feupdateenv_53bit): Replace with
6989 libc_feresetround_53bit.
6990 (SET_RESTORE_ROUND_53BIT): Adjust.
6992 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6994 * string/test-strchrnul.c: Add copyright header.
6996 * posix/tst-getaddrinfo4.c: Increase test timeout.
6998 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7001 * math/libm-test.inc (MAX_EXP): Remove
7003 (ulp): Use MIN_EXP - MANT_DIG.
7004 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7006 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7008 * po/be.po: Revert last change.
7009 * po/zh_CN.po: Likewise.
7010 * po/header.pot: Likewise.
7012 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7014 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7015 link-libc-deps to empty as target-specific variable.
7016 * Makerules (link-libc-args): New variable.
7017 (libc-for-link): Likewise.
7018 (link-libc-deps): Likewise.
7019 (lib%.so): Depend on $(link-libc-deps). Link with
7021 (build-module): Link with $(link-libc-args).
7022 (build-module-asneeded): Likewise.
7023 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7025 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7026 target-specific variable.
7027 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7028 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7029 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7031 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7033 ($(objpfx)libpcprofile.so): Likewise.
7034 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7036 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7037 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7038 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7040 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7041 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7042 * login/Makefile ($(objpfx)libutil.so): Likewise.
7043 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7044 * math/Makefile ($(objpfx)libm.so): Likewise.
7045 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7046 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7047 variable instead of depending directly on libc.
7048 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7049 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7051 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7053 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7054 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7055 ($(objpfx)libanl.so): Likewise.
7056 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7058 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7060 * sysdeps/i386/fpu/Makefile: Remove file.
7061 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7062 ($(objpfx)libm.so): Remove dependency on ld.so.
7064 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7067 * nis/yp_xdr.c (XDRMAXNAME): Define.
7068 (XDRMAXRECORD): Define.
7069 (xdr_domainname): Use XDRMAXNAME.
7070 (xdr_mapname): Likewise.
7071 (xdr_peername): Likewise.
7072 (xdr_keydat): Use XDRMAXRECORD.
7073 (xdr_valdat): Likewise.
7075 2013-05-30 Jeff Law <law@redhat.com>
7078 * manual/errno.texi (ESTALE): Update to account for more than
7079 just NFS file systems.
7080 * sysdeps/gnu/errlist.c: Regenerated.
7082 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7085 * elf/Makefile (tests): Add tst-null-argv.
7086 (modules-names): Add tst-null-argv-lib.
7087 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7088 (tst-null-argv-ENV): Set environment for tst-null-argv.
7089 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7090 (RTLD_PROGNAME): New macro.
7091 * elf/tst-null-argv.c: New test case.
7092 * elf/tst-null-argv-lib.c: Library for test case.
7093 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7094 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7095 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7096 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7097 * elf/dl-init.c (call_init): Likewise.
7098 (_dl_init): Likewise.
7099 * elf/dl-load.c (print_search_path): Likewise.
7100 (_dl_map_object): Likewise.
7101 * elf/dl-lookup.c (do_lookup_x): Likewise.
7102 (add_dependency): Likewise.
7103 (_dl_lookup_symbol_x): Likewise.
7104 (_dl_debug_bindings): Likewise.
7105 * elf/dl-open.c (_dl_show_scope): Likewise.
7106 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7107 * elf/dl-version.c (match_symbol): Likewise.
7108 (_dl_check_map_versions): Likewise.
7109 * elf/rtld.c (dl_main): Likewise.
7110 (print_unresolved): Use RTLD_PROGNAME.
7111 (print_missing_version): Likewise.
7112 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7113 (elf_machine_rela): Likewise.
7114 * sysdeps/powerpc/powerpc32/dl-machine.c
7115 (__process_machine_rela): Likewise.
7116 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7118 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7120 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7122 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7123 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7125 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7127 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7129 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7131 * po/be.po: Add descriptive title.
7132 * po/zh_CN.po: Likewise.
7133 * po/header.pot: Likewise.
7135 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7137 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7139 (enlarge_archive): Likewise.
7141 2013-05-28 Ben North <ben@redfrontdoor.org>
7143 * manual/arith.texi (frexp): It is the magnitude of the return
7144 value which lies in [0.5, 1), not the return value itself.
7146 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7150 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7152 * stdio-common/bug26.c (main): Correct fscanf template.
7154 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7155 declare _dl_skip_args.
7157 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7160 * manual/platform.texi: Add missing @end deftypefun.
7162 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7165 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7166 bit of mantissa of 2^16382.
7167 * math/libm-test.inc (hypot_test_data): Add more tests.
7169 * math/libm-test.inc: Add drem and pow10 to list of tested
7171 (pow10_test): New function.
7172 (drem_test): Likewise.
7173 (drem_test_tonearest): Likewise.
7174 (drem_test_towardzero): Likewise.
7175 (drem_test_downward): Likewise.
7176 (drem_test_upward): Likewise.
7177 (main): Call the new functions.
7179 * math/libm-test.inc (finite_test_data): Remove.
7180 (finite_test): Run tests from isfinite_test_data.
7181 (gamma_test_data): Remove.
7182 (gamma_test): Run tests from lgamma_test_data.
7183 * sysdeps/i386/fpu/libm-test-ulps: Update.
7184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7186 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7188 * manual/platform.texi: Add PowerPC PPR function set documentation.
7189 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7192 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7194 * math/libm-test.inc (MAX_EXP): Define.
7196 (ulp): New function.
7197 (check_float_internal): Use ULPDIFF.
7198 (cpow_test): Disable failing test.
7199 (check_ulp): Test ulp() implemetnation.
7200 (main): Call check_ulp before starting tests.
7202 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7204 * math/gen-libm-test.pl (generate_testfile): Do not handle
7205 START_DATA and END_DATA.
7206 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7208 (acos_tonearest_test_data): Likewise.
7209 (acos_towardzero_test_data): Likewise.
7210 (acos_downward_test_data): Likewise.
7211 (acos_upward_test_data): Likewise.
7212 (acosh_test_data): Likewise.
7213 (asin_test_data): Likewise.
7214 (asin_tonearest_test_data): Likewise.
7215 (asin_towardzero_test_data): Likewise.
7216 (asin_downward_test_data): Likewise.
7217 (asin_upward_test_data): Likewise.
7218 (asinh_test_data): Likewise.
7219 (atan_test_data): Likewise.
7220 (atanh_test_data): Likewise.
7221 (atan2_test_data): Likewise.
7222 (cabs_test_data): Likewise.
7223 (cacos_test_data): Likewise.
7224 (cacosh_test_data): Likewise.
7225 (carg_test_data): Likewise.
7226 (casin_test_data): Likewise.
7227 (casinh_test_data): Likewise.
7228 (catan_test_data): Likewise.
7229 (catanh_test_data): Likewise.
7230 (cbrt_test_data): Likewise.
7231 (ccos_test_data): Likewise.
7232 (ccosh_test_data): Likewise.
7233 (ceil_test_data): Likewise.
7234 (cexp_test_data): Likewise.
7235 (cimag_test_data): Likewise.
7236 (clog_test_data): Likewise.
7237 (clog10_test_data): Likewise.
7238 (conj_test_data): Likewise.
7239 (copysign_test_data): Likewise.
7240 (cos_test_data): Likewise.
7241 (cos_tonearest_test_data): Likewise.
7242 (cos_towardzero_test_data): Likewise.
7243 (cos_downward_test_data): Likewise.
7244 (cos_upward_test_data): Likewise.
7245 (cosh_test_data): Likewise.
7246 (cosh_tonearest_test_data): Likewise.
7247 (cosh_towardzero_test_data): Likewise.
7248 (cosh_downward_test_data): Likewise.
7249 (cosh_upward_test_data): Likewise.
7250 (cpow_test_data): Likewise.
7251 (cproj_test_data): Likewise.
7252 (creal_test_data): Likewise.
7253 (csin_test_data): Likewise.
7254 (csinh_test_data): Likewise.
7255 (csqrt_test_data): Likewise.
7256 (ctan_test_data): Likewise.
7257 (ctan_tonearest_test_data): Likewise.
7258 (ctan_towardzero_test_data): Likewise.
7259 (ctan_downward_test_data): Likewise.
7260 (ctan_upward_test_data): Likewise.
7261 (ctanh_test_data): Likewise.
7262 (ctanh_tonearest_test_data): Likewise.
7263 (ctanh_towardzero_test_data): Likewise.
7264 (ctanh_downward_test_data): Likewise.
7265 (ctanh_upward_test_data): Likewise.
7266 (erf_test_data): Likewise.
7267 (erfc_test_data): Likewise.
7268 (exp_test_data): Likewise.
7269 (exp_tonearest_test_data): Likewise.
7270 (exp_towardzero_test_data): Likewise.
7271 (exp_downward_test_data): Likewise.
7272 (exp_upward_test_data): Likewise.
7273 (exp10_test_data): Likewise.
7274 (exp2_test_data): Likewise.
7275 (expm1_test_data): Likewise.
7276 (fabs_test_data): Likewise.
7277 (fdim_test_data): Likewise.
7278 (finite_test_data): Likewise.
7279 (floor_test_data): Likewise.
7280 (fma_test_data): Likewise.
7281 (fma_towardzero_test_data): Likewise.
7282 (fma_downward_test_data): Likewise.
7283 (fma_upward_test_data): Likewise.
7284 (fmax_test_data): Likewise.
7285 (fmin_test_data): Likewise.
7286 (fmod_test_data): Likewise.
7287 (fpclassify_test_data): Likewise.
7288 (frexp_test_data): Likewise.
7289 (gamma_test_data): Likewise.
7290 (hypot_test_data): Likewise.
7291 (ilogb_test_data): Likewise.
7292 (isfinite_test_data): Likewise.
7293 (isgreater_test_data): Likewise.
7294 (isgreaterequal_test_data): Likewise.
7295 (isinf_test_data): Likewise.
7296 (isless_test_data): Likewise.
7297 (islessequal_test_data): Likewise.
7298 (islessgreater_test_data): Likewise.
7299 (isnan_test_data): Likewise.
7300 (isnormal_test_data): Likewise.
7301 (issignaling_test_data): Likewise.
7302 (isunordered_test_data): Likewise.
7303 (j0_test_data): Likewise.
7304 (j1_test_data): Likewise.
7305 (jn_test_data): Likewise.
7306 (ldexp_test_data): Likewise.
7307 (lgamma_test_data): Likewise.
7308 (lrint_test_data): Likewise.
7309 (lrint_tonearest_test_data): Likewise.
7310 (lrint_towardzero_test_data): Likewise.
7311 (lrint_downward_test_data): Likewise.
7312 (lrint_upward_test_data): Likewise.
7313 (llrint_test_data): Likewise.
7314 (llrint_tonearest_test_data): Likewise.
7315 (llrint_towardzero_test_data): Likewise.
7316 (llrint_downward_test_data): Likewise.
7317 (llrint_upward_test_data): Likewise.
7318 (log_test_data): Likewise.
7319 (log10_test_data): Likewise.
7320 (log1p_test_data): Likewise.
7321 (log2_test_data): Likewise.
7322 (logb_test_data): Likewise.
7323 (logb_downward_test_data): Likewise.
7324 (lround_test_data): Likewise.
7325 (llround_test_data): Likewise.
7326 (modf_test_data): Likewise.
7327 (nearbyint_test_data): Likewise.
7328 (nextafter_test_data): Likewise.
7329 (nexttoward_test_data): Likewise.
7330 (pow_test_data): Likewise.
7331 (pow_tonearest_test_data): Likewise.
7332 (pow_towardzero_test_data): Likewise.
7333 (pow_downward_test_data): Likewise.
7334 (pow_upward_test_data): Likewise.
7335 (remainder_test_data): Likewise.
7336 (remainder_tonearest_test_data): Likewise.
7337 (remainder_towardzero_test_data): Likewise.
7338 (remainder_downward_test_data): Likewise.
7339 (remainder_upward_test_data): Likewise.
7340 (remquo_test_data): Likewise.
7341 (rint_test_data): Likewise.
7342 (rint_tonearest_test_data): Likewise.
7343 (rint_towardzero_test_data): Likewise.
7344 (rint_downward_test_data): Likewise.
7345 (rint_upward_test_data): Likewise.
7346 (round_test_data): Likewise.
7347 (scalb_test_data): Likewise.
7348 (scalbn_test_data): Likewise.
7349 (scalbln_test_data): Likewise.
7350 (signbit_test_data): Likewise.
7351 (sin_test_data): Likewise.
7352 (sin_tonearest_test_data): Likewise.
7353 (sin_towardzero_test_data): Likewise.
7354 (sin_downward_test_data): Likewise.
7355 (sin_upward_test_data): Likewise.
7356 (sincos_test_data): Likewise.
7357 (sinh_test_data): Likewise.
7358 (sinh_tonearest_test_data): Likewise.
7359 (sinh_towardzero_test_data): Likewise.
7360 (sinh_downward_test_data): Likewise.
7361 (sinh_upward_test_data): Likewise.
7362 (sqrt_test_data): Likewise.
7363 (tan_test_data): Likewise.
7364 (tan_tonearest_test_data): Likewise.
7365 (tan_towardzero_test_data): Likewise.
7366 (tan_downward_test_data): Likewise.
7367 (tan_upward_test_data): Likewise.
7368 (tanh_test_data): Likewise.
7369 (tgamma_test_data): Likewise.
7370 (trunc_test_data): Likewise.
7371 (y0_test_data): Likewise.
7372 (y1_test_data): Likewise.
7373 (yn_test_data): Likewise.
7374 (significand_test_data): Likewise.
7376 * math/gen-libm-test.pl (@functions): Remove variable.
7377 (generate_testfile): Don't handle START and END lines.
7378 * math/libm-test.inc (START): New macro.
7380 (END_COMPLEX): Likewise.
7381 (acos_test): Use END macro without arguments.
7382 (acos_test_tonearest): Likewise.
7383 (acos_test_towardzero): Likewise.
7384 (acos_test_downward): Likewise.
7385 (acos_test_upward): Likewise.
7386 (acosh_test): Likewise.
7387 (asin_test): Likewise.
7388 (asin_test_tonearest): Likewise.
7389 (asin_test_towardzero): Likewise.
7390 (asin_test_downward): Likewise.
7391 (asin_test_upward): Likewise.
7392 (asinh_test): Likewise.
7393 (atan_test): Likewise.
7394 (atanh_test): Likewise.
7395 (atan2_test): Likewise.
7396 (cabs_test): Likewise.
7397 (cacos_test): Use END_COMPLEX macro without arguments.
7398 (cacosh_test): Likewise.
7399 (carg_test): Use END macro without arguments.
7400 (casin_test): Use END_COMPLEX macro without arguments.
7401 (casinh_test): Likewise.
7402 (catan_test): Likewise.
7403 (catanh_test): Likewise.
7404 (cbrt_test): Use END macro without arguments.
7405 (ccos_test): Use END_COMPLEX macro without arguments.
7406 (ccosh_test): Likewise.
7407 (ceil_test): Use END macro without arguments.
7408 (cexp_test): Use END_COMPLEX macro without arguments.
7409 (cimag_test): Use END macro without arguments.
7410 (clog_test): Use END_COMPLEX macro without arguments.
7411 (clog10_test): Likewise.
7412 (conj_test): Likewise.
7413 (copysign_test): Use END macro without arguments.
7414 (cos_test): Likewise.
7415 (cos_test_tonearest): Likewise.
7416 (cos_test_towardzero): Likewise.
7417 (cos_test_downward): Likewise.
7418 (cos_test_upward): Likewise.
7419 (cosh_test): Likewise.
7420 (cosh_test_tonearest): Likewise.
7421 (cosh_test_towardzero): Likewise.
7422 (cosh_test_downward): Likewise.
7423 (cosh_test_upward): Likewise.
7424 (cpow_test): Use END_COMPLEX macro without arguments.
7425 (cproj_test): Likewise.
7426 (creal_test): Use END macro without arguments.
7427 (csin_test): Use END_COMPLEX macro without arguments.
7428 (csinh_test): Likewise.
7429 (csqrt_test): Likewise.
7430 (ctan_test): Likewise.
7431 (ctan_test_tonearest): Likewise.
7432 (ctan_test_towardzero): Likewise.
7433 (ctan_test_downward): Likewise.
7434 (ctan_test_upward): Likewise.
7435 (ctanh_test): Likewise.
7436 (ctanh_test_tonearest): Likewise.
7437 (ctanh_test_towardzero): Likewise.
7438 (ctanh_test_downward): Likewise.
7439 (ctanh_test_upward): Likewise.
7440 (erf_test): Use END macro without arguments.
7441 (erfc_test): Likewise.
7442 (exp_test): Likewise.
7443 (exp_test_tonearest): Likewise.
7444 (exp_test_towardzero): Likewise.
7445 (exp_test_downward): Likewise.
7446 (exp_test_upward): Likewise.
7447 (exp10_test): Likewise.
7448 (exp2_test): Likewise.
7449 (expm1_test): Likewise.
7450 (fabs_test): Likewise.
7451 (fdim_test): Likewise.
7452 (finite_test): Likewise.
7453 (floor_test): Likewise.
7454 (fma_test): Likewise.
7455 (fma_test_towardzero): Likewise.
7456 (fma_test_downward): Likewise.
7457 (fma_test_upward): Likewise.
7458 (fmax_test): Likewise.
7459 (fmin_test): Likewise.
7460 (fmod_test): Likewise.
7461 (fpclassify_test): Likewise.
7462 (frexp_test): Likewise.
7463 (gamma_test): Likewise.
7464 (hypot_test): Likewise.
7465 (ilogb_test): Likewise.
7466 (isfinite_test): Likewise.
7467 (isgreater_test): Likewise.
7468 (isgreaterequal_test): Likewise.
7469 (isinf_test): Likewise.
7470 (isless_test): Likewise.
7471 (islessequal_test): Likewise.
7472 (islessgreater_test): Likewise.
7473 (isnan_test): Likewise.
7474 (isnormal_test): Likewise.
7475 (issignaling_test): Likewise.
7476 (isunordered_test): Likewise.
7477 (j0_test): Likewise.
7478 (j1_test): Likewise.
7479 (jn_test): Likewise.
7480 (ldexp_test): Likewise.
7481 (lgamma_test): Likewise.
7482 (lrint_test): Likewise.
7483 (lrint_test_tonearest): Likewise.
7484 (lrint_test_towardzero): Likewise.
7485 (lrint_test_downward): Likewise.
7486 (lrint_test_upward): Likewise.
7487 (llrint_test): Likewise.
7488 (llrint_test_tonearest): Likewise.
7489 (llrint_test_towardzero): Likewise.
7490 (llrint_test_downward): Likewise.
7491 (llrint_test_upward): Likewise.
7492 (log_test): Likewise.
7493 (log10_test): Likewise.
7494 (log1p_test): Likewise.
7495 (log2_test): Likewise.
7496 (logb_test): Likewise.
7497 (logb_test_downward): Likewise.
7498 (lround_test): Likewise.
7499 (llround_test): Likewise.
7500 (modf_test): Likewise.
7501 (nearbyint_test): Likewise.
7502 (nextafter_test): Likewise.
7503 (nexttoward_test): Likewise.
7504 (pow_test): Likewise.
7505 (pow_test_tonearest): Likewise.
7506 (pow_test_towardzero): Likewise.
7507 (pow_test_downward): Likewise.
7508 (pow_test_upward): Likewise.
7509 (remainder_test): Likewise.
7510 (remainder_test_tonearest): Likewise.
7511 (remainder_test_towardzero): Likewise.
7512 (remainder_test_downward): Likewise.
7513 (remainder_test_upward): Likewise.
7514 (remquo_test): Likewise.
7515 (rint_test): Likewise.
7516 (rint_test_tonearest): Likewise.
7517 (rint_test_towardzero): Likewise.
7518 (rint_test_downward): Likewise.
7519 (rint_test_upward): Likewise.
7520 (round_test): Likewise.
7521 (scalb_test): Likewise.
7522 (scalbn_test): Likewise.
7523 (scalbln_test): Likewise.
7524 (signbit_test): Likewise.
7525 (sin_test): Likewise.
7526 (sin_test_tonearest): Likewise.
7527 (sin_test_towardzero): Likewise.
7528 (sin_test_downward): Likewise.
7529 (sin_test_upward): Likewise.
7530 (sincos_test): Likewise.
7531 (sinh_test): Likewise.
7532 (sinh_test_tonearest): Likewise.
7533 (sinh_test_towardzero): Likewise.
7534 (sinh_test_downward): Likewise.
7535 (sinh_test_upward): Likewise.
7536 (sqrt_test): Likewise.
7537 (tan_test): Likewise.
7538 (tan_test_tonearest): Likewise.
7539 (tan_test_towardzero): Likewise.
7540 (tan_test_downward): Likewise.
7541 (tan_test_upward): Likewise.
7542 (tanh_test): Likewise.
7543 (tgamma_test): Likewise.
7544 (trunc_test): Likewise.
7545 (y0_test): Likewise.
7546 (y1_test): Likewise.
7547 (yn_test): Likewise.
7548 (significand_test): Likewise.
7550 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
7553 * libio/genops.c (_IO_no_init): Initialize wide struct info.
7555 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
7558 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
7559 __ppc_mdoio and __ppc_mdoom.
7560 * manual/platform.texi: Document new functions __ppc_yield,
7561 __ppc_mdoio and __ppc_mdoom.
7563 2013-05-22 Carlos O'Donell <carlos@redhat.com>
7565 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
7566 (main): Mention "tls" pseudo-hwcap is legacy.
7567 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
7569 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7571 * math/gen-libm-test.pl (parse_args): Output only string of
7572 arguments as text for test name, not full call or descriptions of
7573 tests for extra outputs.
7574 (generate_testfile): Do not pass function name to parse_args.
7575 Generate this_func variable from START.
7576 * math/libm-test.inc (struct test_f_f_data): Rename test_name
7578 (struct test_ff_f_data): Likewise.
7579 (test_ff_f_data_nexttoward): Likewise.
7580 (struct test_fi_f_data): Likewise.
7581 (struct test_fl_f_data): Likewise.
7582 (struct test_if_f_data): Likewise.
7583 (struct test_fff_f_data): Likewise.
7584 (struct test_c_f_data): Likewise.
7585 (struct test_f_f1_data): Likewise. Remove field extra_name.
7586 (struct test_fF_f1_data): Likewise.
7587 (struct test_ffI_f1_data): Likewise.
7588 (struct test_c_c_data): Rename test_name field to arg_str.
7589 (struct test_cc_c_data): Likewise.
7590 (struct test_f_i_data): Likewise.
7591 (struct test_ff_i_data): Likewise.
7592 (struct test_f_l_data): Likewise.
7593 (struct test_f_L_data): Likewise.
7594 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
7596 (COMMON_TEST_SETUP): New macro.
7597 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7598 (COMMON_TEST_CLEANUP): Likewise.
7599 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7600 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
7602 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
7603 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
7605 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
7606 (RUN_TEST_fff_f): Take argument string. Call new setup and
7608 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
7609 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
7611 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
7612 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
7614 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7615 (RUN_TEST_fF_f1): Take argument string. Call new setup and
7617 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7618 (RUN_TEST_fI_f1): Take argument string. Call new setup and
7620 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7621 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
7623 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7624 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
7626 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7627 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
7629 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7630 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
7632 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7633 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
7635 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7636 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
7638 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7639 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
7641 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7642 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
7644 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7645 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
7647 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7648 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
7650 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7651 (RUN_TEST_fFF_11): Take argument string. Call new setup and
7653 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7655 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7657 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7658 to _sifields.sigfault.
7659 (si_addr_lsb): Define new macro.
7660 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7661 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7662 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7664 2013-05-03 Carlos O'Donell <carlos at redhat.com>
7667 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7669 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7671 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7674 2013-05-22 Joseph Myers <joseph@codesourcery.com>
7676 * math/gen-libm-test.pl (parse_args): Do not include expected
7677 result in test name.
7678 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7679 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7680 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7681 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7682 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7685 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7687 * benchtests/Makefile: Sort function entries.
7689 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7690 tanh, asinh, acosh, atanh.
7691 * benchtests/acos-inputs: New file.
7692 * benchtests/acosh-inputs: New file.
7693 * benchtests/asin-inputs: New file.
7694 * benchtests/asinh-inputs: New file.
7695 * benchtests/atanh-inputs: New file.
7696 * benchtests/cosh-inputs: New file.
7697 * benchtests/log-inputs: New file.
7698 * benchtests/sinh-inputs: New file.
7699 * benchtests/tanh-inputs: New file.
7701 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
7704 * posix/tst-getaddrinfo4.c: New test.
7705 * posix/Makefile (tests): Add it.
7707 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7710 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7711 when no services were used.
7712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7713 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7715 2013-05-21 Andreas Schwab <schwab@suse.de>
7718 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7719 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7721 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7722 redundant variable declarations and reallocation of buffer when
7723 parsing as IPv6 address. Always set NSS status when called from
7724 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
7725 buffer too small. Correct computation of needed size.
7726 * nss/Makefile (tests): Add test-digits-dots.
7727 * nss/test-digits-dots.c: New test.
7729 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7731 * benchtests/Makefile: Remove instructions for adding
7733 * benchtests/README: New file to explain how to execute and
7734 enhance the benchmark tests.
7736 2013-05-21 Andreas Schwab <schwab@suse.de>
7739 * setjmp/Makefile (tests): Add tst-sigsetjmp.
7740 * setjmp/tst-sigsetjmp.c: New test.
7742 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7744 * sysdeps/x86_64/memset.S (memset): New implementation.
7745 (__bzero): Likewise.
7746 (__memset_tail): New function.
7748 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
7750 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7751 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7752 __memcpy_sse2_unaligned ifunc selection.
7753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7754 Add memcpy-sse2-unaligned.S.
7755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7756 Add: __memcpy_sse2_unaligned.
7758 2013-05-19 Joseph Myers <joseph@codesourcery.com>
7761 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7762 math_force_eval before restoring floating-point envrionment.
7763 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7764 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7766 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7768 (__nearbyintl): Use math_force_eval before restoring
7769 floating-point environment.
7770 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7772 * math/gen-libm-test.pl (special_functions): Remove.
7773 (parse_args): Don't handle TEST_extra. Handle functions with no
7775 * math/libm-test.inc (struct test_sincos_data): Replace with
7776 struct test_fFF_11_data.
7777 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7778 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7779 (sincos_test_data): Change element type to struct
7780 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
7781 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7782 RUN_TEST_LOOP_sincos.
7783 * math/README.libm-test: Don't mention special handling of
7784 individual functions.
7785 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7786 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7787 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7788 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7789 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7792 * math/gen-libm-test.pl (get_variable): Remove function.
7793 (parse_args): Don't show pointer parameters to call in test
7794 names. Use "extra output N" in test names for extra outputs
7795 rather than naming variables.
7797 2013-05-18 Joseph Myers <joseph@codesourcery.com>
7800 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7801 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7802 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7804 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7806 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7809 * math/gen-libm-test.pl (@tests): Remove variable.
7811 (new_test): Remove function.
7812 (show_exceptions): New function.
7813 (special_functions): Use show_exceptions instead of new_test.
7814 (parse_args): Likewise.
7815 (generate_testfile): Pass only function name in generated call to
7816 print_max_error or print_complex_max_error.
7817 (get_ulps): Do not handle complex tests specially.
7818 (output_test): Rename to ...
7819 (get_all_ulps_for_test): ... this. Return a string rather than
7820 printing to a file. Require ulps to be present.
7821 (output_ulps): Generate arrays rather than #defines.
7822 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7823 (struct ulp_data): New type.
7824 (BUILD_COMPLEX_ULP): Remove macro.
7825 (compare_ulp_data): New function.
7826 (find_ulps): Likewise.
7827 (find_test_ulps): Likewise.
7828 (find_function_ulps): Likewise.
7829 (find_complex_function_ulps): Likewise.
7830 (print_max_error): Determine allowed ulps using
7832 (print_complex_max_error): Determine allowed ulps using
7833 find_complex_function_ulps.
7834 (check_float_internal): Determine max ulps using find_test_ulps.
7835 (check_float): Do not take max_ulp parameter. Update call to
7836 check_float_internal.
7837 (check_complex): Likewise.
7838 (check_int): Do not take max_ulp parameter.
7839 (check_long): Likewise.
7840 (check_bool): Likewise.
7841 (check_longlong): Likewise.
7842 (struct test_f_f_data): Remove max_ulp field.
7843 (struct test_ff_f_data): Likewise.
7844 (struct test_ff_f_data_nexttoward): Likewise.
7845 (struct test_fi_f_data): Likewise.
7846 (struct test_fl_f_data): Likewise.
7847 (struct test_if_f_data): Likewise.
7848 (struct test_fff_f_data): Likewise.
7849 (struct test_c_f_data): Likewise.
7850 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7851 (struct test_fF_f1_data): Likewise.
7852 (struct test_ffI_f1_data): Likewise.
7853 (struct test_c_c_data): Remove max_ulp field.
7854 (struct test_cc_c_data): Likewise.
7855 (struct test_f_i_data): Likewise.
7856 (struct test_ff_i_data): Likewise.
7857 (struct test_f_l_data): Likewise.
7858 (struct test_f_L_data): Likewise.
7859 (struct test_sincos_data): Likewise.
7860 (RUN_TEST_f_f): Do not handle ulps.
7861 (RUN_TEST_LOOP_f_f): Likewise.
7862 (RUN_TEST_2_f): Likewise.
7863 (RUN_TEST_LOOP_2_f): Likewise.
7864 (RUN_TEST_fff_f): Likewise.
7865 (RUN_TEST_LOOP_fff_f): Likewise.
7866 (RUN_TEST_c_f): Likewise.
7867 (RUN_TEST_LOOP_c_f): Likewise.
7868 (RUN_TEST_f_f1): Likewise.
7869 (RUN_TEST_LOOP_f_f1): Likewise.
7870 (RUN_TEST_fF_f1): Likewise.
7871 (RUN_TEST_LOOP_fF_f1): Likewise.
7872 (RUN_TEST_fI_f1): Likewise.
7873 (RUN_TEST_LOOP_fI_f1): Likewise.
7874 (RUN_TEST_ffI_f1): Likewise.
7875 (RUN_TEST_LOOP_ffI_f1): Likewise.
7876 (RUN_TEST_c_c): Likewise.
7877 (RUN_TEST_LOOP_c_c): Likewise.
7878 (RUN_TEST_cc_c): Likewise.
7879 (RUN_TEST_LOOP_cc_c): Likewise.
7880 (RUN_TEST_f_i): Likewise.
7881 (RUN_TEST_LOOP_f_i): Likewise.
7882 (RUN_TEST_f_i_tg): Likewise.
7883 (RUN_TEST_LOOP_f_i_tg): Likewise.
7884 (RUN_TEST_ff_i_tg): Likewise.
7885 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7886 (RUN_TEST_f_b): Likewise.
7887 (RUN_TEST_LOOP_f_b): Likewise.
7888 (RUN_TEST_f_b_tg): Likewise.
7889 (RUN_TEST_LOOP_f_b_tg): Likewise.
7890 (RUN_TEST_f_l): Likewise.
7891 (RUN_TEST_LOOP_f_l): Likewise.
7892 (RUN_TEST_f_L): Likewise.
7893 (RUN_TEST_LOOP_f_L): Likewise.
7894 (RUN_TEST_sincos): Likewise.
7895 (RUN_TEST_LOOP_sincos): Likewise.
7897 2013-05-17 Joseph Myers <joseph@codesourcery.com>
7901 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7902 main case of finite arguments, set rounding mode to FE_TONEAREST
7903 and discard exceptions.
7904 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7906 (remainder_tonearest_test_data): New variable.
7907 (remainder_test_tonearest): New function.
7908 (remainder_towardzero_test_data): New variable.
7909 (remainder_test_towardzero): New function.
7910 (remainder_downward_test_data): New variable.
7911 (remainder_test_downward): New function.
7912 (remainder_upward_test_data): New variable.
7913 (remainder_test_upward): New function.
7914 (main): Call the new test functions.
7916 * math/libm-test.inc (struct test_f_f1_data): Remove field
7918 (struct test_fF_f1_data): Likewise.
7919 (struct test_ffI_f1_data): Likewise.
7920 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
7921 based on value of EXTRA_EXPECTED.
7922 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7923 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
7924 EXTRA_VAR based on value of EXTRA_EXPECTED.
7925 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7926 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
7927 EXTRA_VAR based on value of EXTRA_EXPECTED.
7928 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7929 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
7930 EXTRA_VAR based on value of EXTRA_EXPECTED.
7931 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7932 * math/gen-libm-test.pl (parse_args): Don't output initializers
7933 for extra output values.
7935 * math/libm-test.inc (check_int): Expect result to be exactly
7936 equal to expected value and do not handle ulps.
7937 (check_long): Likewise.
7938 (check_longlong): Likewise.
7940 * math/libm-test.inc (ceil_test_data): Test for "inexact"
7942 (cimag_test_data): Likewise.
7943 (conj_test_data): Likewise.
7944 (copysign_test_data): Likewise.
7945 (cproj_test_data): Likewise.
7946 (creal_test_data): Likewise.
7947 (fabs_test_data): Likewise.
7948 (fdim_test_data): Likewise.
7949 (finite_test_data): Likewise.
7950 (floor_test_data): Likewise.
7951 (fmax_test_data): Likewise.
7952 (fmin_test_data): Likewise.
7953 (fmod_test_data): Likewise.
7954 (fpclassify_test_data): Likewise.
7955 (frexp_test_data): Likewise.
7956 (ilogb_test_data): Likewise.
7957 (isfinite_test_data): Likewise.
7958 (isgreater_test_data): Likewise.
7959 (isgreaterequal_test_data): Likewise.
7960 (isinf_test_data): Likewise.
7961 (isless_test_data): Likewise.
7962 (islessequal_test_data): Likewise.
7963 (islessgreater_test_data): Likewise.
7964 (isnan_test_data): Likewise.
7965 (isnormal_test_data): Likewise.
7966 (issignaling_test_data): Likewise.
7967 (isunordered_test_data): Likewise.
7968 (ldexp_test_data): Likewise.
7969 (lrint_test_data): Likewise.
7970 (lrint_test_data) [TEST_FLOAT]: Disable one test.
7971 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7972 (lrint_tonearest_test_data): Test for "inexact" exceptions.
7973 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7974 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7975 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7977 (lrint_towardzero_test_data): Test for "inexact" exceptions.
7978 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7979 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7980 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7982 (lrint_downward_test_data): Test for "inexact" exceptions.
7983 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7984 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7985 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7987 (lrint_upward_test_data): Test for "inexact" exceptions.
7988 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7990 (llrint_test_data): Test for "inexact" exceptions.
7991 (llrint_test_data) [TEST_FLOAT]: Disable one test.
7992 (llrint_tonearest_test_data): Test for "inexact" exceptions.
7993 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7994 (llrint_towardzero_test_data): Test for "inexact" exceptions.
7995 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7996 (llrint_downward_test_data): Test for "inexact" exceptions.
7997 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7998 (llrint_upward_test_data): Test for "inexact" exceptions.
7999 (logb_test_data): Likewise.
8000 (logb_downward_test_data): Likewise.
8001 (nextafter_test_data): Likewise.
8002 (nexttoward_test_data): Likewise.
8003 (remainder_test_data): Likewise.
8004 (remquo_test_data): Likewise.
8005 (scalbn_test_data): Likewise.
8006 (scalbln_test_data): Likewise.
8007 (signbit_test_data): Likewise.
8008 (sqrt_test_data): Likewise.
8009 (significand_test_data): Likewise.
8011 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8014 * benchtests/bench-modf.c (struct args): Mark arg0 as
8016 * scripts/bench.pl: Mark members of struct args as volatile.
8018 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8021 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8022 negative infinity on POWER6 or lower.
8023 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8025 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8028 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8029 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8030 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8031 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8032 (_FP_SETQNAN): New macro.
8033 (_FP_SETQNAN_SEMIRAW): Likewise.
8034 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8035 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8036 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8037 (FP_EXTEND): Use _FP_FRAC_SNANP.
8038 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8039 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8041 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8043 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8046 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8048 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8049 with DIVIDE_BY_ZERO_EXCEPTION.
8050 (gamma_test_data): Likewise.
8051 (lgamma_test_data): Likewise.
8052 (log_test_data): Likewise.
8053 (log10_test_data): Likewise.
8054 (log2_test_data): Likewise.
8055 (tgamma_test_data): Likewise.
8057 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8058 (acos_test_tonearest): Likewise.
8059 (acos_test_towardzero): Likewise.
8060 (acos_test_downward): Likewise.
8061 (acos_test_upward): Likewise.
8062 (acosh_test): Likewise.
8063 (asin_test): Likewise.
8064 (asin_test_tonearest): Likewise.
8065 (asin_test_towardzero): Likewise.
8066 (asin_test_downward): Likewise.
8067 (asin_test_upward): Likewise.
8068 (asinh_test): Likewise.
8069 (atan_test): Likewise.
8070 (atanh_test): Likewise.
8071 (atan2_test): Likewise.
8072 (cabs_test): Likewise.
8073 (cacos_test): Likewise.
8074 (cacosh_test): Likewise.
8075 (casin_test): Likewise.
8076 (casinh_test): Likewise.
8077 (catan_test): Likewise.
8078 (catanh_test): Likewise.
8079 (cbrt_test): Likewise.
8080 (ccos_test): Likewise.
8081 (ccosh_test): Likewise.
8082 (cexp_test): Likewise.
8083 (clog_test): Likewise.
8084 (clog10_test): Likewise.
8085 (cos_test): Likewise.
8086 (cos_test_tonearest): Likewise.
8087 (cos_test_towardzero): Likewise.
8088 (cos_test_downward): Likewise.
8089 (cos_test_upward): Likewise.
8090 (cosh_test): Likewise.
8091 (cosh_test_tonearest): Likewise.
8092 (cosh_test_towardzero): Likewise.
8093 (cosh_test_downward): Likewise.
8094 (cosh_test_upward): Likewise.
8095 (cpow_test): Likewise.
8096 (csin_test): Likewise.
8097 (csinh_test): Likewise.
8098 (csqrt_test): Likewise.
8099 (ctan_test): Likewise.
8100 (ctan_test_tonearest): Likewise.
8101 (ctan_test_towardzero): Likewise.
8102 (ctan_test_downward): Likewise.
8103 (ctan_test_upward): Likewise.
8104 (ctanh_test): Likewise.
8105 (ctanh_test_tonearest): Likewise.
8106 (ctanh_test_towardzero): Likewise.
8107 (ctanh_test_downward): Likewise.
8108 (ctanh_test_upward): Likewise.
8109 (erf_test): Likewise.
8110 (erfc_test): Likewise.
8111 (exp_test): Likewise.
8112 (exp_test_tonearest): Likewise.
8113 (exp_test_towardzero): Likewise.
8114 (exp_test_downward): Likewise.
8115 (exp_test_upward): Likewise.
8116 (exp10_test): Likewise.
8117 (exp2_test): Likewise.
8118 (expm1_test): Likewise.
8119 (fmod_test): Likewise.
8120 (gamma_test): Likewise.
8121 (hypot_test): Likewise.
8122 (j0_test): Likewise.
8123 (j1_test): Likewise.
8124 (jn_test): Likewise.
8125 (lgamma_test): Likewise.
8126 (log_test): Likewise.
8127 (log10_test): Likewise.
8128 (log1p_test): Likewise.
8129 (log2_test): Likewise.
8130 (logb_test_downward): Likewise.
8131 (pow_test): Likewise.
8132 (pow_test_tonearest): Likewise.
8133 (pow_test_towardzero): Likewise.
8134 (pow_test_downward): Likewise.
8135 (pow_test_upward): Likewise.
8136 (remainder_test): Likewise.
8137 (remquo_test): Likewise.
8138 (sin_test): Likewise.
8139 (sin_test_tonearest): Likewise.
8140 (sin_test_towardzero): Likewise.
8141 (sin_test_downward): Likewise.
8142 (sin_test_upward): Likewise.
8143 (sincos_test): Likewise.
8144 (sinh_test): Likewise.
8145 (sinh_test_tonearest): Likewise.
8146 (sinh_test_towardzero): Likewise.
8147 (sinh_test_downward): Likewise.
8148 (sinh_test_upward): Likewise.
8149 (sqrt_test): Likewise.
8150 (tan_test): Likewise.
8151 (tan_test_tonearest): Likewise.
8152 (tan_test_towardzero): Likewise.
8153 (tan_test_downward): Likewise.
8154 (tan_test_upward): Likewise.
8155 (tanh_test): Likewise.
8156 (tgamma_test): Likewise.
8157 (y0_test): Likewise.
8158 (y1_test): Likewise.
8159 (yn_test): Likewise.
8161 * math/gen-libm-test.pl (adjust_arg): Remove function.
8162 (special_function): Remove argument $in_func. Only handle
8163 generating output for tables of tests, not inside functions.
8164 (parse_args): Likewise.
8165 (generate_testfile): Remove variable $in_func. Update call to
8167 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8168 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8169 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8170 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8171 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8172 (MAX_VALUE_INIT): Rename macro to max_value.
8173 (MIN_VALUE_INIT): Rename macro to min_value.
8174 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8175 (plus_zero): Remove variable.
8176 (minus_zero): Likewise.
8177 (plus_infty): Likewise.
8178 (minus_infty): Likewise.
8179 (qnan_value): Likewise.
8180 (max_value): Likewise.
8181 (min_value): Likewise.
8182 (min_subnorm_value): Likewise.
8184 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8186 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8187 uint64_t or uint32_t usage.
8188 * crypt/sha256-block.c: Likewise.
8189 * crypt/sha256-crypt.c: Likewise.
8190 * crypt/sha256.c: Likewise.
8191 * crypt/sha512-block.c: Likewise.
8192 * crypt/sha512-crypt.c: Likewise.
8193 * crypt/sha512.c: Likewise.
8194 * debug/backtrace-tst.c: Likewise.
8195 * debug/pcprofiledump.c: Likewise.
8196 * elf/cache.c: Likewise.
8197 * elf/dl-cache.c: Likewise.
8198 * elf/dl-misc.c: Likewise.
8199 * elf/dl-profile.c: Likewise.
8200 * elf/dl-support.c: Likewise.
8201 * elf/ldconfig.c: Likewise.
8202 * elf/sprof.c: Likewise.
8203 * iconv/dummy-repertoire.c: Likewise.
8204 * iconv/iconv_charmap.c: Likewise.
8205 * iconv/skeleton.c: Likewise.
8206 * iconvdata/8bit-generic.c: Likewise.
8207 * iconvdata/cp737.h: Likewise.
8208 * iconvdata/cp775.h: Likewise.
8209 * iconvdata/ibm1008.h: Likewise.
8210 * iconvdata/ibm1025.h: Likewise.
8211 * iconvdata/ibm1046.h: Likewise.
8212 * iconvdata/ibm1097.h: Likewise.
8213 * iconvdata/ibm1112.h: Likewise.
8214 * iconvdata/ibm1122.h: Likewise.
8215 * iconvdata/ibm1123.h: Likewise.
8216 * iconvdata/ibm1124.h: Likewise.
8217 * iconvdata/ibm1129.h: Likewise.
8218 * iconvdata/ibm1130.h: Likewise.
8219 * iconvdata/ibm1132.h: Likewise.
8220 * iconvdata/ibm1133.h: Likewise.
8221 * iconvdata/ibm1137.h: Likewise.
8222 * iconvdata/ibm1140.h: Likewise.
8223 * iconvdata/ibm1141.h: Likewise.
8224 * iconvdata/ibm1142.h: Likewise.
8225 * iconvdata/ibm1143.h: Likewise.
8226 * iconvdata/ibm1144.h: Likewise.
8227 * iconvdata/ibm1145.h: Likewise.
8228 * iconvdata/ibm1146.h: Likewise.
8229 * iconvdata/ibm1147.h: Likewise.
8230 * iconvdata/ibm1148.h: Likewise.
8231 * iconvdata/ibm1149.h: Likewise.
8232 * iconvdata/ibm1153.h: Likewise.
8233 * iconvdata/ibm1154.h: Likewise.
8234 * iconvdata/ibm1155.h: Likewise.
8235 * iconvdata/ibm1156.h: Likewise.
8236 * iconvdata/ibm1157.h: Likewise.
8237 * iconvdata/ibm1158.h: Likewise.
8238 * iconvdata/ibm1160.h: Likewise.
8239 * iconvdata/ibm1161.h: Likewise.
8240 * iconvdata/ibm1162.h: Likewise.
8241 * iconvdata/ibm1163.h: Likewise.
8242 * iconvdata/ibm1164.h: Likewise.
8243 * iconvdata/ibm1166.h: Likewise.
8244 * iconvdata/ibm1167.h: Likewise.
8245 * iconvdata/ibm12712.h: Likewise.
8246 * iconvdata/ibm1390.h: Likewise.
8247 * iconvdata/ibm1399.h: Likewise.
8248 * iconvdata/ibm16804.h: Likewise.
8249 * iconvdata/ibm4517.h: Likewise.
8250 * iconvdata/ibm4899.h: Likewise.
8251 * iconvdata/ibm4909.h: Likewise.
8252 * iconvdata/ibm4971.h: Likewise.
8253 * iconvdata/ibm5347.h: Likewise.
8254 * iconvdata/ibm803.h: Likewise.
8255 * iconvdata/ibm856.h: Likewise.
8256 * iconvdata/ibm901.h: Likewise.
8257 * iconvdata/ibm902.h: Likewise.
8258 * iconvdata/ibm9030.h: Likewise.
8259 * iconvdata/ibm9066.h: Likewise.
8260 * iconvdata/ibm921.h: Likewise.
8261 * iconvdata/ibm922.h: Likewise.
8262 * iconvdata/ibm9448.h: Likewise.
8263 * iconvdata/isiri-3342.h: Likewise.
8264 * iconvdata/jis0201.h: Likewise.
8265 * include/link.h: Likewise.
8266 * include/netdb.h: Likewise.
8267 * inet/check_native.c: Likewise.
8268 * inet/check_pf.c: Likewise.
8269 * inet/getipv4sourcefilter.c: Likewise.
8270 * inet/getnameinfo.c: Likewise.
8271 * inet/getsourcefilter.c: Likewise.
8272 * inet/htonl.c: Likewise.
8273 * inet/setipv4sourcefilter.c: Likewise.
8274 * inet/setsourcefilter.c: Likewise.
8275 * inet/test-inet6_opt.c: Likewise.
8276 * inet/tst-network.c: Likewise.
8277 * locale/C-collate.c: Likewise.
8278 * locale/C-ctype.c: Likewise.
8279 * locale/C-time.c: Likewise.
8280 * locale/C-translit.h: Likewise.
8281 * locale/loadarchive.c: Likewise.
8282 * locale/programs/3level.h: Likewise.
8283 * locale/programs/charmap.c: Likewise.
8284 * locale/programs/charmap.h: Likewise.
8285 * locale/programs/ld-address.c: Likewise.
8286 * locale/programs/ld-collate.c: Likewise.
8287 * locale/programs/ld-ctype.c: Likewise.
8288 * locale/programs/ld-identification.c: Likewise.
8289 * locale/programs/ld-measurement.c: Likewise.
8290 * locale/programs/ld-messages.c: Likewise.
8291 * locale/programs/ld-monetary.c: Likewise.
8292 * locale/programs/ld-name.c: Likewise.
8293 * locale/programs/ld-numeric.c: Likewise.
8294 * locale/programs/ld-paper.c: Likewise.
8295 * locale/programs/ld-telephone.c: Likewise.
8296 * locale/programs/ld-time.c: Likewise.
8297 * locale/programs/linereader.c: Likewise.
8298 * locale/programs/locale.c: Likewise.
8299 * locale/programs/locarchive.c: Likewise.
8300 * locale/programs/locfile.h: Likewise.
8301 * locale/programs/repertoire.c: Likewise.
8302 * locale/programs/simple-hash.c: Likewise.
8303 * locale/programs/simple-hash.h: Likewise.
8304 * malloc/memusage.c: Likewise.
8305 * malloc/memusagestat.c: Likewise.
8306 * nis/nis_defaults.c: Likewise.
8307 * nis/nis_hash.c: Likewise.
8308 * nis/nis_print.c: Likewise.
8309 * nis/nis_xdr.c: Likewise.
8310 * nscd/connections.c: Likewise.
8311 * nscd/hstcache.c: Likewise.
8312 * nscd/nscd_gethst_r.c: Likewise.
8313 * nscd/nscd_getserv_r.c: Likewise.
8314 * nscd/nscd_helper.c: Likewise.
8315 * nscd/servicescache.c: Likewise.
8316 * nss/makedb.c: Likewise.
8317 * nss/nss_db/db-XXX.c: Likewise.
8318 * nss/nss_db/db-initgroups.c: Likewise.
8319 * nss/nss_db/db-netgrp.c: Likewise.
8320 * nss/nss_files/files-network.c: Likewise.
8321 * nss/nss_files/files-parse.c: Likewise.
8322 * posix/bug-regex5.c: Likewise.
8323 * posix/fnmatch_loop.c: Likewise.
8324 * posix/regcomp.c: Likewise.
8325 * posix/regexec.c: Likewise.
8326 * posix/tst-rfc3484-2.c: Likewise.
8327 * posix/tst-rfc3484-3.c: Likewise.
8328 * posix/tst-rfc3484.c: Likewise.
8329 * resolv/nss_dns/dns-canon.c: Likewise.
8330 * resolv/nss_dns/dns-network.c: Likewise.
8331 * resolv/res_init.c: Likewise.
8332 * resolv/res_mkquery.c: Likewise.
8333 * resolv/tst-aton.c: Likewise.
8334 * stdlib/cxa_atexit.c: Likewise.
8335 * stdlib/cxa_finalize.c: Likewise.
8336 * stdlib/gen-fpioconst.c: Likewise.
8337 * stdlib/strtol_l.c: Likewise.
8338 * string/tst-endian.c: Likewise.
8339 * sunrpc/auth_des.c: Likewise.
8340 * sunrpc/clnt_udp.c: Likewise.
8341 * sunrpc/rtime.c: Likewise.
8342 * sunrpc/svcauth_des.c: Likewise.
8343 * sunrpc/xdr.c: Likewise.
8344 * sunrpc/xdr_intXX_t.c: Likewise.
8345 * sunrpc/xdr_rec.c: Likewise.
8346 * sysdeps/generic/ldconfig.h: Likewise.
8347 * sysdeps/generic/ldsodefs.h: Likewise.
8348 * sysdeps/generic/memusage.h: Likewise.
8349 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8350 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8351 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8352 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8353 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8355 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8356 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8357 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8359 * sysdeps/posix/getaddrinfo.c: Likewise.
8360 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8361 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8362 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8363 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8364 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8365 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8366 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8367 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8368 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8369 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8370 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8371 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8372 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8373 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8374 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8375 * sysdeps/x86_64/dl-tls.h: Likewise.
8376 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8377 * time/alt_digit.c: Likewise.
8378 * time/era.c: Likewise.
8379 * wcsmbs/tst-c16c32-1.c: Likewise.
8381 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8383 * math/libm-test.inc (struct test_sincos_data): New type.
8384 (RUN_TEST_LOOP_sincos): New macro.
8385 (sincos_test_data): New variable.
8386 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8388 2013-05-16 Richard Henderson <rth@redhat.com>
8390 * math/atest-exp2.c (LIMB64): New macro.
8391 (CONSTSZ): New macro.
8392 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8394 (print_mpn_fp): ... to function scope.
8395 (read_mpn_hex): Remove.
8397 (exp2_mpn): Use mp_log2.
8398 (main): Use mp_exp1.
8400 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8402 * math/libm-test.inc: Remove comment about not testing "inexact"
8404 (INEXACT_EXCEPTION): New macro.
8405 (NO_INEXACT_EXCEPTION): Likewise.
8406 (INVALID_EXCEPTION_OK): Update value.
8407 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8408 (OVERFLOW_EXCEPTION_OK): Likewise.
8409 (UNDERFLOW_EXCEPTION_OK): Likewise.
8410 (IGNORE_ZERO_INF_SIGN): Likewise.
8411 (ERRNO_UNCHANGED): Likewise.
8412 (ERRNO_EDOM): Likewise.
8413 (ERRNO_ERANGE): Likewise.
8414 (test_exceptions): Handle testing "inexact" exceptions.
8415 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8416 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8417 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8418 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8420 (rint_towardzero_test_data): Likewise.
8421 (rint_downward_test_data): Likewise.
8422 (rint_upward_test_data): Likewise.
8424 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8425 with OVERFLOW_EXCEPTION.
8426 (exp10_test_data): Likewise.
8427 (exp2_test_data): Likewise.
8428 (expm1_test_data): Likewise.
8429 (lgamma_test_data): Likewise.
8430 (pow_test_data): Likewise.
8431 (tgamma_test_data): Likewise.
8432 (yn_test_data): Remove duplicate test of overflow.
8434 * math/libm-test.inc (struct test_cc_c_data): New type.
8435 (RUN_TEST_LOOP_cc_c): New macro.
8436 (cpow_test_data): New variable.
8437 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8439 * math/libm-test.inc (struct test_f_L_data): New type.
8440 (RUN_TEST_LOOP_f_L): New macro.
8441 (llrint_test_data): New variable.
8442 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8443 (llrint_tonearest_test_data): New variable.
8444 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8445 (llrint_towardzero_test_data): New variable.
8446 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8447 (llrint_downward_test_data): New variable.
8448 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8449 (llrint_upward_test_data): New variable.
8450 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8451 (llround_test_data): New variable.
8452 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8454 2013-05-13 Peter Collingbourne <pcc@google.com>
8456 * math/atest-exp2.c (get_log2): Remove const attribute.
8458 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8460 * math/libm-test.inc (struct test_f_l_data): New type.
8461 (RUN_TEST_LOOP_f_l): New macro.
8462 (lrint_test_data): New variable.
8463 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8464 (lrint_tonearest_test_data): New variable.
8465 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8466 (lrint_towardzero_test_data): New variable.
8467 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8468 (lrint_downward_test_data): New variable.
8469 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8470 (lrint_upward_test_data): New variable.
8471 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8472 (lround_test_data): New variable.
8473 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8475 2013-05-15 Peter Collingbourne <pcc@google.com>
8477 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8478 (EXTRACT_WORDS64) Use where appropriate.
8479 (INSERT_WORDS64) Likewise.
8481 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8482 constraints with x constraints.
8483 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8485 * malloc/obstack.c (_obstack_compat): Add initializer.
8487 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8489 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8490 si_trapno and add si_addr_lsb to _sifields.sigfault.
8491 (si_trapno): Remove macro.
8492 (si_addr_lsb): Define new macro.
8493 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8495 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8497 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8498 instead of TEST_f_l.
8499 (llrint_test_tonearest): Likewise.
8500 (llrint_test_towardzero): Likewise.
8501 (llrint_test_downward): Likewise.
8502 (llrint_test_upward): Likewise.
8503 (llround_test): Likewise.
8505 * math/libm-test.inc (struct test_f_i_data): Add comment.
8506 (RUN_TEST_LOOP_f_b): New macro.
8507 (RUN_TEST_LOOP_f_b_tg): Likewise.
8508 (finite_test_data): New variable.
8509 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8510 (isfinite_test_data): New variable.
8511 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8512 (isinf_test_data): New variable.
8513 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8514 (isnan_test_data): New variable.
8515 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8516 (isnormal_test_data): New variable.
8517 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8518 (issignaling_test_data): New variable.
8519 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8520 (signbit_test_data): New variable.
8521 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8523 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8524 with INVALID_EXCEPTION.
8525 (acosh_test_data): Likewise.
8526 (asin_test_data): Likewise.
8527 (atanh_test_data): Likewise.
8528 (fmod_test_data): Likewise.
8529 (log_test_data): Likewise.
8530 (log10_test_data): Likewise.
8531 (log2_test_data): Likewise.
8532 (pow_test_data): Likewise.
8533 (sqrt_test_data): Likewise.
8534 (y0_test_data): Likewise.
8535 (y1_test_data): Likewise.
8536 (yn_test_data): Likewise.
8538 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
8541 * math/libm-test.inc (struct test_ff_i_data): New type.
8542 (RUN_TEST_LOOP_ff_i_tg): New macro.
8543 (isgreater_test_data): New variable.
8544 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8545 (isgreaterequal_test_data): New variable.
8546 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8547 (isless_test_data): New variable.
8548 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8549 (islessequal_test_data): New variable.
8550 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8551 (islessgreater_test_data): New variable.
8552 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8553 (isunordered_test_data): New variable.
8554 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
8556 2013-05-14 David S. Miller <davem@davemloft.net>
8558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8560 2013-05-14 Joseph Myers <joseph@codesourcery.com>
8562 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
8564 * math/libm-test.inc (struct test_fF_f1_data): Change type of
8566 (struct test_f_i_data): Change type of max_ulp to int.
8568 * math/libm-test.inc (test_ffI_f1_data): New type.
8569 (RUN_TEST_LOOP_ffI_f1): New macro.
8570 (remquo_test_data): New variable.
8571 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8573 * setjmp/tst-setjmp-fp.c: New file.
8574 * setjmp/Makefile (tests): Add tst-setjmp-fp.
8575 (link-libm): New variable.
8576 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8578 * math/libm-test.inc (struct test_f_i_data): New type.
8579 (RUN_TEST_LOOP_f_i): New macro.
8580 (RUN_TEST_LOOP_f_i_tg): Likewise.
8581 (fpclassify_test_data): New variable.
8582 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
8583 (ilogb_test_data): New variable.
8584 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
8586 * math/libm-test.inc (scalbln_test): Correct function name in END
8589 * math/libm-test.inc (struct test_f_f1_data): Add comment.
8590 (RUN_TEST_LOOP_fI_f1): New macro.
8591 (frexp_test_data): New variable.
8592 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
8594 * math/libm-test.inc (struct test_fF_f1_data): New type.
8595 (RUN_TEST_LOOP_fF_f1): New macro.
8596 (modf_test_data): New variable.
8597 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
8599 * math/libm-test.inc (struct test_f_f1_data): New type.
8600 (RUN_TEST_LOOP_f_f1): New macro.
8601 (gamma_test_data): New variable.
8602 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8603 (lgamma_test_data): New variable.
8604 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
8606 2013-05-13 Carlos O'Donell <carlos@redhat.com>
8608 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
8609 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
8610 (main): Comment "tls" pseudo-hwcap.
8612 2013-05-13 Joseph Myers <joseph@codesourcery.com>
8614 * math/libm-test.inc (struct test_fl_f_data): New type.
8615 (RUN_TEST_LOOP_fl_f): New variable.
8616 (scalbln_test_data): New variable.
8617 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8619 * math/libm-test.inc (struct test_fi_f_data): New type.
8620 (RUN_TEST_LOOP_fi_f): New macro.
8621 (ldexp_test_data): New variable.
8622 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8623 (scalbn_test_data): New variable.
8624 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8626 * math/libm-test.inc (struct test_c_f_data): New type.
8627 (RUN_TEST_LOOP_c_f): New macro.
8628 (cabs_test_data): New variable.
8629 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8630 (carg_test_data): New variable.
8631 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8632 (cimag_test_data): New variable.
8633 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8634 (creal_test_data): New variable.
8635 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8637 * math/libm-test.inc (struct test_if_f_data): New type.
8638 (RUN_TEST_LOOP_if_f): New macro.
8639 (jn_test_data): New variable.
8640 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8641 (yn_test_data): New variable.
8642 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8644 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8646 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8648 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8649 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8651 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8653 * benchtests/Makefile (CPPFLAGS-nonlib): Add
8654 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8655 (bench-deps): Add bench-timing.h.
8656 * benchtests-bench-skeleton.c: Include bench-timing.h.
8657 (main): Use TIMING_* macros instead of clock_gettime.
8658 * benchtests/bench-timing.h: New file.
8661 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8662 Renamed from _LIB_VERSION.
8663 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8665 2013-05-12 Joseph Myers <joseph@codesourcery.com>
8667 * math/libm-test.inc (struct test_fff_f_data): New type.
8668 (RUN_TEST_LOOP_fff_f): New macro.
8669 (fma_test_data): New variable.
8670 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8671 (fma_towardzero_test_data): New variable.
8672 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8673 (fma_downward_test_data): New variable.
8674 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8675 (fma_upward_test_data): New variable.
8676 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8678 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8679 (struct test_c_c_data): New type.
8680 (RUN_TEST_LOOP_c_c): New macro.
8681 (cacos_test_data): New variable.
8682 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8683 (cacosh_test_data): New variable.
8684 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8685 (casin_test_data): New variable.
8686 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8687 (casinh_test_data): New variable.
8688 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8689 (catan_test_data): New variable.
8690 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8691 (catanh_test_data): New variable.
8692 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8693 (ccos_test_data): New variable.
8694 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8695 (ccosh_test_data): New variable.
8696 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8697 (cexp_test_data): New variable.
8698 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8699 (clog_test_data): New variable.
8700 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8701 (clog10_test_data): New variable.
8702 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8703 (conj_test_data): New variable.
8704 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8705 (cproj_test_data): New variable.
8706 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8707 (csin_test_data): New variable.
8708 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8709 (csinh_test_data): New variable.
8710 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8711 (csqrt_test_data): New variable.
8712 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8713 (ctan_test_data): New variable.
8714 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8715 (ctan_tonearest_test_data): New variable.
8716 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8717 (ctan_towardzero_test_data): New variable.
8718 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8719 (ctan_downward_test_data): New variable.
8720 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8721 (ctan_upward_test_data): New variable.
8722 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8723 (ctanh_test_data): New variable.
8724 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8725 (ctanh_tonearest_test_data): New variable.
8726 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8727 (ctanh_towardzero_test_data): New variable.
8728 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8729 (ctanh_downward_test_data): New variable.
8730 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8731 (ctanh_upward_test_data): New variable.
8732 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8733 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8736 * math/libm-test.inc (struct test_ff_f_data): New type.
8737 (struct test_ff_f_data_nexttoward): Likewise.
8738 (RUN_TEST_LOOP_2_f): New macro.
8739 (RUN_TEST_LOOP_ff_f): Likewise.
8740 (atan2_test_data): New variable.
8741 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8742 (copysign_test_data): New variable.
8743 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8744 (fdim_test_data): New variable.
8745 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8746 (fmax_test_data): New variable.
8747 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8748 (fmin_test_data): New variable.
8749 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8750 (fmod_test_data): New variable.
8751 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8752 (hypot_test_data): New variable.
8753 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8754 (nextafter_test_data): New variable.
8755 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8756 (nexttoward_test_data): New variable.
8757 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8758 (pow_test_data): New variable.
8759 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8760 (pow_tonearest_test_data): New variable.
8761 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8762 (pow_towardzero_test_data): New variable.
8763 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8764 (pow_downward_test_data): New variable.
8765 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8766 (pow_upward_test_data): New variable.
8767 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8768 (remainder_test_data): New variable.
8769 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8770 (scalb_test_data): New variable.
8771 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8772 * sysdeps/i386/fpu/libm-test-ulps: Update.
8774 2013-05-11 Joseph Myers <joseph@codesourcery.com>
8776 * math/libm-test.inc (fma_test): Use max_value instead of local
8778 (nextafter_test): Likewise.
8780 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8781 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8782 (acos_downward_test_data): New variable.
8783 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8784 (acos_upward_test_data): New variable.
8785 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8786 (acosh_test_data): New variable.
8787 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8788 (asin_test_data): New variable.
8789 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8790 (asin_tonearest_test_data): New variable.
8791 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8792 (asin_towardzero_test_data): New variable.
8793 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8794 (asin_downward_test_data): New variable.
8795 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8796 (asin_upward_test_data): New variable.
8797 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8798 (asinh_test_data): New variable.
8799 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8800 (atan_test_data): New variable.
8801 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8802 (atanh_test_data): New variable.
8803 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8804 (cbrt_test_data): New variable.
8805 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8806 (ceil_test_data): New variable.
8807 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8808 (cos_test_data): New variable.
8809 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8810 (cos_tonearest_test_data): New variable.
8811 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8812 (cos_towardzero_test_data): New variable.
8813 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8814 (cos_downward_test_data): New variable.
8815 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8816 (cos_upward_test_data): New variable.
8817 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8818 (cosh_test_data): New variable.
8819 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8820 (cosh_tonearest_test_data): New variable.
8821 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8822 (cosh_towardzero_test_data): New variable.
8823 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8824 (cosh_downward_test_data): New variable.
8825 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8826 (cosh_upward_test_data): New variable.
8827 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8828 (erf_test_data): New variable.
8829 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8830 (erfc_test_data): New variable.
8831 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8832 (exp_test_data): New variable.
8833 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8834 (exp_tonearest_test_data): New variable.
8835 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8836 (exp_towardzero_test_data): New variable.
8837 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8838 (exp_downward_test_data): New variable.
8839 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8840 (exp_upward_test_data): New variable.
8841 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8842 (exp10_test_data): New variable.
8843 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8844 (exp2_test_data): New variable.
8845 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8846 (expm1_test_data): New variable.
8847 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8848 (fabs_test_data): New variable.
8849 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8850 (floor_test_data): New variable.
8851 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8852 (j0_test_data): New variable.
8853 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8854 (j1_test_data): New variable.
8855 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8856 (log_test_data): New variable.
8857 (log_test): Run tests with RUN_TEST_LOOP_f_f.
8858 (log10_test_data): New variable.
8859 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8860 (log1p_test_data): New variable.
8861 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8862 (log2_test_data): New variable.
8863 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8864 (logb_test_data): New variable.
8865 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8866 (logb_downward_test_data): New variable.
8867 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8868 (nearbyint_test_data): New variable.
8869 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8870 (rint_test_data): New variable.
8871 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8872 (rint_tonearest_test_data): New variable.
8873 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8874 (rint_towardzero_test_data): New variable.
8875 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8876 (rint_downward_test_data): New variable.
8877 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8878 (rint_upward_test_data): New variable.
8879 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8880 (round_test_data): New variable.
8881 (round_test): Run tests with RUN_TEST_LOOP_f_f.
8882 (sin_test_data): New variable.
8883 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8884 (sin_tonearest_test_data): New variable.
8885 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8886 (sin_towardzero_test_data): New variable.
8887 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8888 (sin_downward_test_data): New variable.
8889 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8890 (sin_upward_test_data): New variable.
8891 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8892 (sinh_test_data): New variable.
8893 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8894 (sinh_tonearest_test_data): New variable.
8895 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8896 (sinh_towardzero_test_data): New variable.
8897 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8898 (sinh_downward_test_data): New variable.
8899 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8900 (sinh_upward_test_data): New variable.
8901 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8902 (sqrt_test_data): New variable.
8903 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8904 (tan_test_data): New variable.
8905 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8906 (tan_tonearest_test_data): New variable.
8907 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8908 (tan_towardzero_test_data): New variable.
8909 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8910 (tan_downward_test_data): New variable.
8911 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8912 (tan_upward_test_data): New variable.
8913 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8914 (tanh_test_data): New variable.
8915 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8916 (tgamma_test_data): New variable.
8917 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8918 (trunc_test_data): New variable.
8919 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8920 (y0_test_data): New variable.
8921 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8922 (y1_test_data): New variable.
8923 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8924 (significand_test_data): New variable.
8925 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8927 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
8930 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8932 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
8934 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8936 2013-05-10 Andreas Jaeger <aj@suse.de>
8939 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8940 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8942 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8944 * math/gen-libm-test.pl (adjust_arg): New function.
8945 (special_functions): Handle generating output in both functions
8947 (parse_args): Likewise.
8948 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
8949 $in_func argument to parse_args.
8950 * math/libm-test.inc (struct test_f_f_data): New type.
8951 (IF_ROUND_INIT_): New macro.
8952 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8953 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8954 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8955 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8956 (ROUND_RESTORE_): Likewise.
8957 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8958 (ROUND_RESTORE_FE_TONEAREST): Likewise.
8959 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8960 (ROUND_RESTORE_FE_UPWARD): Likewise.
8961 (RUN_TEST_LOOP_f_f): New macro.
8962 (acos_test_data): New variable.
8963 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8964 (acos_tonearest_test_data): New variable.
8965 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8967 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8969 * benchtests/bench-skeleton.c (startup): Fix coding style.
8971 2013-05-10 Joseph Myers <joseph@codesourcery.com>
8974 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8975 negative infinity argument.
8976 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8977 negative infinity argument.
8978 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8979 negative infinity argument.
8980 * math/libm-test.inc (tgamma_test): Expect errno to be set for
8983 2013-05-10 Florian Weimer <fweimer@redhat.com>
8985 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8986 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8987 * iconv/iconv_prog.c (main): Likewise.
8988 * locale/programs/charmap-dir.c (charmap_readdir)
8989 (fopen_uncompressed): Likewise.
8990 * locale/programs/locfile.c (siblings_uncached)
8991 (write_locale_data): Use lstat64 instead of lstat.
8992 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8995 2013-05-10 Andreas Jaeger <aj@suse.de>
8998 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9002 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9004 * elf/dl-close.c (_dl_close_worker): Add comments.
9006 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9009 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9011 (__ieee754_rem_pio2l): Update comments.
9014 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9016 (__ieee754_rem_pio2l): Update comments.
9018 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9019 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9021 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9024 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9025 (M_PI_34_LOG10El): Likewise.
9026 (M_PI2_LOG10El): Likewise.
9027 (M_PI4_LOG10El): Likewise.
9028 (M_PI_LOG10El): Likewise.
9030 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9034 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9036 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9037 (MINUS_ZERO_INIT): Likewise.
9038 (PLUS_INFTY_INIT): Likewise.
9039 (MINUS_INFTY_INIT): Likewise.
9040 (QNAN_VALUE_INIT): Likewise.
9041 (MAX_VALUE_INIT): Likewise.
9042 (MIN_VALUE_INIT): Likewise.
9043 (MIN_SUBNORM_VALUE_INIT): Likewise.
9044 (plus_zero): Initialize with PLUS_ZERO_INIT.
9045 (minus_zero): Initialize with MINUS_ZERO_INIT.
9046 (plus_infty): Initialize with PLUS_INFTY_INIT.
9047 (minus_infty): Initialize with MINUS_INFTY_INIT.
9048 (qnan_value): Initialize with QNAN_VALUE_INIT.
9049 (max_value): Initialize with MAX_VALUE_INIT.
9050 (min_value): Initialize with MIN_VALUE_INIT.
9051 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9053 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9054 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9055 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9056 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9058 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9059 (RUN_TEST_2_f): Likewise.
9060 (RUN_TEST_ff_f): Likewise.
9061 (RUN_TEST_fi_f): Likewise.
9062 (RUN_TEST_fl_f): Likewise.
9063 (RUN_TEST_fff_f): Likewise.
9064 (RUN_TEST_c_f): Likewise.
9065 (RUN_TEST_f_f1): Likewise.
9066 (RUN_TEST_fF_f1): Likewise.
9067 (RUN_TEST_fI_f1): Likewise.
9068 (RUN_TEST_ffI_f1): Likewise.
9069 (RUN_TEST_c_c): Likewise.
9070 (RUN_TEST_cc_c): Likewise.
9071 (RUN_TEST_f_i): Likewise.
9072 (RUN_TEST_f_i_tg): Likewise.
9073 (RUN_TEST_ff_i_tg): Likewise.
9074 (RUN_TEST_f_b): Likewise.
9075 (RUN_TEST_f_b_tg): Likewise.
9076 (RUN_TEST_f_l): Likewise.
9077 (RUN_TEST_f_L): Likewise.
9078 (RUN_TEST_sincos): Likewise.
9079 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9080 whether to show exceptions. Do not include ");\n" in return
9082 (special_functions): Output call to RUN_TEST_sincos instead of
9083 check_float calls. Update calls to new_test.
9084 (parse_args): Output call to single RUN_TEST_* macro instead of
9085 check_* calls and other assignments. Update calls to new_test.
9091 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9092 input to result for tgamma overflow.
9093 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9094 (gamma_coeff): New variable.
9095 (NCOEFF): New macro.
9096 (gamma_positive): New function.
9097 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9098 underflow here. Use gamma_positive instead of exp (lgamma) for
9100 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9101 (gamma_coeff): New variable.
9102 (NCOEFF): New macro.
9103 (gammaf_positive): New function.
9104 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9105 underflow here. Use gamma_positive instead of exp (lgamma) for
9107 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9108 (gamma_coeff): New variable.
9109 (NCOEFF): New macro.
9110 (gammal_positive): New function.
9111 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9112 underflow here. Use gamma_positive instead of exp (lgamma) for
9114 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9115 (gamma_coeff): New variable.
9116 (NCOEFF): New macro.
9117 (gammal_positive): New function.
9118 (__ieee754_gammal_r): Handle positive infinity, overflow and
9119 underflow here. Handle NaN the same as positive infinity. Remove
9120 check x < 0xffffffff for negative integers. Use gamma_positive
9121 instead of exp (lgamma) for other arguments.
9122 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9123 (gamma_coeff): New variable.
9124 (NCOEFF): New macro.
9125 (gammal_positive): New function.
9126 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9127 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9131 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9132 * sysdeps/generic/math_private.h (__gamma_productf): New
9134 (__gamma_product): Likewise.
9135 (__gamma_productl): Likewise.
9136 * math/Makefile (libm-calls): Add gamma_product.
9137 * math/libm-test.inc (tgamma_test): Add more tests.
9138 * sysdeps/i386/fpu/libm-test-ulps: Update.
9139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9141 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9143 * benchtests/bench-skeleton.c (main): Preheat CPU.
9145 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9147 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9149 2013-05-07 Roland McGrath <roland@hack.frob.com>
9151 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9152 and _dl_skip_args_internal.
9154 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9156 * manual/message.texi (Message Translation): Talk about users.
9157 Message to key mapping impacts design.
9159 2013-05-06 Roland McGrath <roland@hack.frob.com>
9161 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9163 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9165 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9166 * sysdeps/wordsize-64/glob64.c: ... here.
9168 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9169 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9172 * debug/getlogin_r_chk.c: Moved to ...
9173 * login/getlogin_r_chk.c: ... here.
9174 * debug/Makefile (routines): Move getlogin_r_chk to ...
9175 * login/Makefile (routines): ... here.
9176 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9177 * login/Versions (libc: GLIBC_2.4): ... here.
9179 * io/poll.c (__poll): Renamed from poll.
9180 Add libc_hidden_def.
9181 (poll): Define as weak alias.
9183 * debug/ptsname_r_chk.c: Moved to ...
9184 * login/ptsname_r_chk.c: ... here.
9185 * debug/Makefile (routines): Move ptsname_r_chk to ...
9186 * login/Makefile (routines): ... here.
9187 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9188 * login/Versions (libc: GLIBC_2.4): ... here.
9190 * posix/getlogin.c: Moved to ...
9191 * login/getlogin.c: ... here.
9192 * posix/getlogin_r.c: Moved to ...
9193 * login/getlogin_r.c: ... here.
9194 * posix/getlogin_r.c: Moved to ...
9195 * login/getlogin_r.c: ... here.
9196 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9197 * login/Makefile (routines): ... here.
9198 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9199 * login/Versions (libc: GLIBC_2.0): ... here.
9201 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9202 (setrlimit): Define as weak alias.
9204 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9205 Call __ names for open, ftruncate, and close.
9206 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9207 (truncate): Define as weak alias.
9209 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9211 * math/gen-libm-test.pl (parse_args): Initialize x before each
9212 test of frexp, modf and remquo.
9214 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9217 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9221 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9223 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9225 2013-05-06 Roland McGrath <roland@hack.frob.com>
9227 * elf/dl-writev.h: New file.
9228 * elf/dl-misc.c: Include it.
9229 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9230 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9232 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9234 * math/libm-test.inc (noXFails): Remove variable.
9235 (noXPasses): Likewise.
9236 (BUILD_COMPLEX_INT): Remove macro.
9237 (print_screen): Remove xfail argument.
9238 (print_screen_max_error): Likewise.
9239 (update_stats): Likewise.
9240 (print_max_error): Likewise. Update calls to other affected
9242 (print_complex_max_error): Likewise.
9243 (test_single_exception): Update calls to print_screen.
9244 (test_single_errno): Likewise.
9245 (check_float_internal): Remove xfail argument. Update calls to
9246 other affected functions.
9247 (check_float): Likewise.
9248 (check_complex): Likewise.
9249 (check_int): Likewise.
9250 (check_long): Likewise.
9251 (check_bool): Likewise.
9252 (check_longlong): Likewise.
9253 (main): Don't print noXFails and noXPasses.
9254 * math/gen-libm-test.pl (top level): Don't mention expected
9255 failure handling in comment.
9256 (new_test): Don't handle expected failures.
9257 (parse_args): Don't mention expected failure handling in comment.
9258 (generate_testfile): Don't handle expected failures.
9259 (parse_ulps): Likewise.
9260 (print_ulps_file): Likewise.
9261 (get_failure): Remove function.
9262 (output_test): Don't handle expected failures.
9263 * make/README.libm-test: Don't mention expected failure handling.
9265 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9266 (minus_zero): Likewise.
9267 (plus_infty): Likewise.
9268 (minus_infty): Likewise.
9269 (qnan_value): Likewise.
9270 (max_value): Likewise.
9271 (min_value): Likewise.
9272 (min_subnorm_value): Likewise.
9273 (initialize): Do not initialize those variables dynamically.
9275 2013-05-03 Roland McGrath <roland@hack.frob.com>
9277 * io/open.c (__open_2): Moved to ...
9278 * io/open_2.c: ... this new file.
9279 * io/open64.c (__open64_2): Moved to ...
9280 * io/open64_2.c: ... this new file.
9281 * io/openat.c (__openat_2): Moved to ...
9282 * io/openat_2.c: ... this new file.
9283 * io/openat64.c (__openat64_2): Moved to ...
9284 * io/openat64_2.c: ... this new file.
9285 * io/Makefile (routines): Add them.
9286 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9287 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9288 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9289 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9290 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9291 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9292 (__openat64): Add hidden_ver.
9293 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9294 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9296 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9297 Separately conditionalize setting of GLRO(dl_sysinfo) so
9298 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9299 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9301 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9303 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9304 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9306 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9307 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9308 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9309 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9310 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9312 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9314 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9317 * math/libm-test.inc (hypot_test): Do not use
9318 IGNORE_ZERO_INF_SIGN.
9320 2013-05-03 Andreas Jaeger <aj@suse.de>
9322 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9324 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9325 (PF_MAX): Adjust for VSOCK change.
9327 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9331 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9334 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9335 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9336 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9338 2013-05-02 David S. Miller <davem@davemloft.net>
9340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9342 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9344 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9346 2013-05-01 Roland McGrath <roland@hack.frob.com>
9348 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9350 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9353 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9354 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9355 Use __attribute__ ((__gnu_inline__)).
9356 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9357 Don't use __attribute__ ((__gnu_inline__)).
9359 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9362 * math/s_catan.c (__catan): Handle small real or imaginary part of
9363 input specially to avoid spurious underflow.
9364 * math/s_catanf.c (__catanf): Likewise.
9365 * math/s_catanh.c (__catanh): Likewise.
9366 * math/s_catanhf.c (__catanhf): Likewise.
9367 * math/s_catanhl.c (__catanhl): Likewise.
9368 * math/s_catanl.c (__catanl): Likewise.
9369 * math/libm-test.inc (catan_test): Add more tests.
9370 (catanh_test): Likewise.
9371 * sysdeps/i386/fpu/libm-test-ulps: Update.
9372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9374 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9378 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9381 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9382 accurately for denominator in atan2.
9383 * math/s_catanf.c (__catanf): Likewise.
9384 * math/s_catanh.c (__catanh): Likewise.
9385 * math/s_catanhf.c (__catanhf): Likewise.
9386 * math/s_catanhl.c (__catanhl): Likewise.
9387 * math/s_catanl.c (__catanl): Likewise.
9388 * math/libm-test.inc (catan_test): Add more tests.
9389 (catanh_test): Likewise.
9390 * sysdeps/i386/fpu/libm-test-ulps: Update.
9391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9393 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9395 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9397 * benchtests/Makefile (bench): Remove slow benchmarks.
9398 * benchtests/atan-inputs: Add slow benchmark inputs.
9399 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9400 (BENCH_FUNC): Accept variant offset.
9402 * benchtests/bench-skeleton.c (main): Run benchmark for each
9404 * benchtests/cos-inputs: Add slow benchmark inputs.
9405 * benchtests/exp-inputs: Likewise.
9406 * benchtests/pow-inputs: Likewise.
9407 * benchtests/sin-inputs: Likewise.
9408 * benchtests/slowatan-inputs: Remove.
9409 * benchtests/slowatan.c: Remove.
9410 * benchtests/slowcos-inputs: Remove.
9411 * benchtests/slowcos.c: Remove.
9412 * benchtests/slowexp-inputs: Remove.
9413 * benchtests/slowexp.c: Remove.
9414 * benchtests/slowpow-inputs: Remove.
9415 * benchtests/slowpow.c: Remove.
9416 * benchtests/slowsin-inputs: Remove.
9417 * benchtests/slowsin.c: Remove.
9418 * benchtests/slowtan-inputs: Remove.
9419 * benchtests/slowtan.c: Remove.
9420 * benchtests/tan-inputs: Add slow benchmark inputs.
9421 * scripts/bench.pl: Parse comments and directives.
9423 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9425 ($(objpfx)bench-%.c): Remove *-ITER.
9426 * benchtests/bench-modf.c: Remove definition of ITER.
9427 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9428 (main): Loop for DURATION seconds instead of fixed number of
9430 * scripts/bench.pl: Don't expect iterations in parameters.
9432 2013-04-29 Roland McGrath <roland@hack.frob.com>
9434 * io/fchdir.c (__fchdir): Renamed from fchdir.
9435 (fchdir): Define as weak alias.
9437 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9439 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9440 (ERRNO_EDOM): Likewise.
9441 (ERRNO_ERANGE): Likewise.
9442 (noErrnoTests): New variable.
9443 (init_max_error): Set errno to 0.
9444 (test_single_errno): New function.
9445 (test_errno): Likewise.
9446 (check_float_internal): Call test_errno. Set errno to 0.
9447 (check_complex): Refer to errno tests in comment.
9448 (check_int): Call test_errno. Set errno to 0.
9449 (check_long): Likewise.
9450 (check_bool): Likewise.
9451 (check_longlong): Likewise.
9452 (cos_test): Use ERRNO_* flags for errno tests instead of
9454 (expm1_test): Likewise.
9455 (fmod_test): Likewise.
9456 (ilogb_test): Likewise.
9457 (lgamma_test): Likewise.
9458 (pow_test): Likewise.
9459 (remainder_test): Likewise.
9460 (sin_test): Likewise.
9461 (tan_test): Likewise.
9462 (yn_test): Likewise.
9463 (initialize): Set errno to 0.
9464 (main): Print number of errno tests.
9465 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9467 2013-04-29 Andreas Jaeger <aj@suse.de>
9470 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9474 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9475 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9479 * stdlib/random.c (__initstate): Return NULL if
9483 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9484 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9487 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9491 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9493 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9494 of individual tests.
9495 (casin_test): Likewise.
9496 (casinh_test): Likewise.
9498 2013-04-27 Joseph Myers <joseph@codesourcery.com>
9501 * math/s_catan.c (__catan): Handle arguments with large real or
9502 imaginary part separately without squaring.
9503 * math/s_catanf.c (__catanf): Likewise.
9504 * math/s_catanh.c (__catanh): Likewise.
9505 * math/s_catanhf.c (__catanhf): Likewise.
9506 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9508 (__catanhl): Handle arguments with large real or imaginary part
9509 separately without squaring.
9510 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9512 (__catanl): Handle arguments with large real or imaginary part
9513 separately without squaring.
9514 * math/libm-test.inc (catan_test): Add more tests.
9515 (catanh_test): Likewise.
9516 * sysdeps/i386/fpu/libm-test-ulps: Update.
9517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9519 2013-04-27 Andreas Jaeger <aj@suse.de>
9522 * stdlib/stdlib.h: Update guards for qecvt.
9523 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9526 2013-04-27 Allan McRae <allan@archlinux.org>
9528 * sysdeps/i386/fpu/libm-test-ulps: Update.
9530 2013-04-26 Joseph Myers <joseph@codesourcery.com>
9533 * math/s_catan.c: Include <float.h>.
9534 (__catan): Ensure underflow exception occurs for underflowed
9536 * math/s_catanf.c: Include <float.h>.
9537 (__catanf): Ensure underflow exception occurs for underflowed
9539 * math/s_catanh.c: Include <float.h>.
9540 (__catanh): Ensure underflow exception occurs for underflowed
9542 * math/s_catanhf.c: Include <float.h>.
9543 (__catanhf): Ensure underflow exception occurs for underflowed
9545 * math/s_catanhl.c: Include <float.h>.
9546 (__catanhl): Ensure underflow exception occurs for underflowed
9548 * math/s_catanl.c: Include <float.h>.
9549 (__catanl): Ensure underflow exception occurs for underflowed
9551 * math/libm-test.inc (catan_test): Add more tests.
9552 (catanh_test): Likewise.
9555 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
9557 * math/s_ccoshf.c (__ccoshf): Likewise.
9558 * math/s_ccoshl.c (__ccoshl): Likewise.
9559 * math/s_csin.c (__csin): Likewise.
9560 * math/s_csinf.c (__csinf): Likewise.
9561 * math/s_csinh.c (__csinh): Likewise.
9562 * math/s_csinhf.c (__csinhf): Likewise.
9563 * math/s_csinhl.c (__csinhl): Likewise.
9564 * math/s_csinl.c (__csinl): Likewise.
9565 * math/libm-test.inc (ccos_test): Add more tests.
9566 (ccosh_test): Likewise.
9567 (csin_test): Likewise.
9568 (csinh_test): Likewise.
9570 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9572 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
9573 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
9574 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
9575 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
9576 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
9577 powerpc/power5+/fpu folders.
9578 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
9581 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9585 2013-04-25 Joseph Myers <joseph@codesourcery.com>
9587 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
9588 additions to variable.
9589 [$(config-machine) = x86_64] (modules-names): Likewise.
9590 ($(objpfx)tst-audit3): Remove dependency.
9591 ($(objpfx)tst-audit3.out): Likewise.
9592 ($(objpfx)tst-audit4): Likewise.
9593 ($(objpfx)tst-audit4.out): Likewise.
9594 ($(objpfx)tst-audit5): Likewise.
9595 ($(objpfx)tst-audit5.out): Likewise.
9596 ($(objpfx)tst-audit6): Likewise.
9597 ($(objpfx)tst-audit6.out): Likewise.
9598 ($(objpfx)tst-audit7): Likewise.
9599 ($(objpfx)tst-audit7.out): Likewise.
9600 (tst-audit3-ENV): Remove variable.
9601 (tst-audit4-ENV): Likewise.
9602 (tst-audit5-ENV): Likewise.
9603 (tst-audit6-ENV): Likewise.
9604 (tst-audit7-ENV): Likewise.
9605 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
9606 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
9607 addition to variable.
9608 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
9609 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
9610 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
9611 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
9612 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
9613 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
9614 tst-audit3, tst-audit4 and tst-audit5.
9615 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
9616 tst-audit6 and tst-audit7.
9617 [$(subdir) = elf] (modules-names): Add audit modules for those
9619 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9620 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9621 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9622 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9623 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9624 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9625 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9626 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9627 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9628 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9629 [$(subdir) = elf] (tst-audit3-ENV): New variable.
9630 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9631 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9632 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9633 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9634 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9636 [$(subdir) = elf && $(config-cflags-avx) = yes]
9637 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9638 [$(subdir) = elf && $(config-cflags-avx) = yes]
9639 (CFLAGS-tst-auditmod4a.c): Likewise.
9640 [$(subdir) = elf && $(config-cflags-avx) = yes]
9641 (CFLAGS-tst-auditmod4b.c): Likewise.
9642 [$(subdir) = elf && $(config-cflags-avx) = yes]
9643 (CFLAGS-tst-auditmod6b.c): Likewise.
9644 [$(subdir) = elf && $(config-cflags-avx) = yes]
9645 (CFLAGS-tst-auditmod6c.c): Likewise.
9646 [$(subdir) = elf && $(config-cflags-avx) = yes]
9647 (CFLAGS-tst-auditmod7b.c): Likewise.
9648 * elf/tst-audit3.c: Move to ...
9649 * sysdeps/x86_64/tst-audit3.c: ... here.
9650 * elf/tst-audit4.c: Move to ...
9651 * sysdeps/x86_64/tst-audit4.c: ... here.
9652 * elf/tst-audit5.c: Move to ...
9653 * sysdeps/x86_64/tst-audit5.c: ... here.
9654 * elf/tst-audit6.c: Move to ...
9655 * sysdeps/x86_64/tst-audit6.c: ... here.
9656 * elf/tst-audit7.c: Move to ...
9657 * sysdeps/x86_64/tst-audit7.c: ... here.
9658 * elf/tst-auditmod3a.c: Move to ...
9659 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9660 * elf/tst-auditmod3b.c: Move to ...
9661 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9662 * elf/tst-auditmod4a.c: Move to ...
9663 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9664 * elf/tst-auditmod4b.c: Move to ...
9665 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9666 * elf/tst-auditmod5a.c: Move to ...
9667 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9668 * elf/tst-auditmod5b.c: Move to ...
9669 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9670 * elf/tst-auditmod6a.c: Move to ...
9671 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9672 * elf/tst-auditmod6b.c: Move to ...
9673 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9674 * elf/tst-auditmod6c.c: Move to ...
9675 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9676 * elf/tst-auditmod7a.c: Move to ...
9677 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9678 * elf/tst-auditmod7b.c: Move to ...
9679 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9681 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
9684 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9685 define unconditionally.
9686 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9687 define unconditionally.
9688 (INT8_C, INT16_C, etc.): Likewise.
9690 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
9692 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9693 __ehdr_start with hidden visibility.
9695 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9697 2013-04-24 Carlos O'Donell <carlos@redhat.com>
9699 * math/libm-test.inc (cos_test): Use accurate hex constants.
9700 (sincost_test): Likewise.
9702 2013-04-24 Joseph Myers <joseph@codesourcery.com>
9704 * math/libm-test.inc (catan_test): Add more tests.
9705 (catanh_test): Likewise.
9707 * math/s_catanf.c (__catanf): Use suffixed floating-point
9709 * math/s_catanhf.c (__catanhf): Likewise.
9710 * math/s_catanhl.c (__catanhl): Likewise.
9711 * math/s_catanl.c (__catanl): Likewise.
9714 * math/s_catan.c (__catan): Calculate imaginary part of result
9715 with log1p not log unless computing log of number close to 0.
9716 * math/s_catanf.c (__catanf): Likewise.
9717 * math/s_catanl.c (__catanl): Likewise.
9718 * math/s_catanh.c (__catanh): Calculate real part of result with
9719 log1p not log unless computing log of number close to 0.
9720 * math/s_catanhf.c (__catanhf): Likewise.
9721 * math/s_catanhl.c (__catanhl): Likewise.
9722 * math/libm-test.inc (catan_test): Add more tests.
9723 (catanh_test): Likewise.
9724 * sysdeps/i386/fpu/libm-test-ulps: Update.
9725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9727 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9729 * benchtests/Makefile: Mention files in which fast and slow
9730 paths of math functions are implemented.
9732 2013-04-23 Roland McGrath <roland@hack.frob.com>
9734 * sysdeps/posix/timespec_get.c: New file.
9736 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9738 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9740 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9742 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9743 powerpc/power5/fpu folders.
9744 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9745 * benchtests/Makefile: Add modf testcase.
9746 * benchtests/bench-modf.c: New file: Benchmark test for mo
9748 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9751 * time/Makefile (tests): Add tst-strptime-whitespace.
9752 * time/strptime_l.c (get_number): Use ISSPACE.
9753 (__strptime_internal): Likewise.
9754 * time/tst-strptime-whitespace.c: New test case.
9756 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
9758 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9760 (_nss_files_init): Set it here.
9762 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
9764 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9765 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9768 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
9770 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9772 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9774 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9777 2013-04-21 David S. Miller <davem@davemloft.net>
9779 * po/ru.po: Update Russion translation from translation project.
9781 2013-04-17 Adam Conrad <adconrad@0c3.net>
9783 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9786 2013-04-17 Carlos O'Donell <carlos@redhat.com>
9788 * configure.in: Remove i386 configure warning. Remove i386 case.
9789 * configure: Regenerate.
9790 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9791 Add example to error message.
9792 * sysdeps/i386/configure: Regenerate.
9794 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9796 * benchtests/Makefile (bench): Add cos, tan, slowcos and
9798 * benchtests/cos-inputs: New file.
9799 * benchtests/slowcos-inputs: New file.
9800 * benchtests/slowcos.c: New file.
9801 * benchtests/slowtan-inputs: New file.
9802 * benchtests/slowtan.c: New file.
9803 * benchtests/tan-inputs: New file.
9805 2013-04-16 Roland McGrath <roland@hack.frob.com>
9807 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9810 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9812 * benchtests/Makefile: Include cppflags-iterator.mk to add
9813 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9815 * Makefile.in (bench-clean): New target.
9816 * benchtests/Makefile (bench-clean): Likewise.
9818 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
9820 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9822 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
9824 * stdio-common/tstdiomisc.c: Fix coding-style violation.
9826 2013-04-15 Andreas Schwab <schwab@suse.de>
9828 * nscd/grpcache.c (cache_addgr): Properly check for short write.
9829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9830 * nscd/pwdcache.c (cache_addpw): Likewise.
9831 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
9834 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9836 * benchtests/Makefile (bench): Write all output to
9837 bench-out.tmp together.
9839 2013-04-15 Andreas Schwab <schwab@suse.de>
9841 * nscd/nscd.c (main): Don't fork again after closing files.
9843 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9845 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9847 * benchtests/Rules (bench-deps): Collect dependencies into a
9848 single variable. Add Makefile to dependencies.
9849 ($(objpfx)bench-%.c): Depend on bench-deps.
9851 2013-04-12 Roland McGrath <roland@hack.frob.com>
9852 Xavier Roche <roche+kml2@exalead.com>
9855 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9856 just that it's a file descriptor.
9857 * manual/llio.texi (Synchronizing AIO Operations): Update description
9858 for EBADF error from aio_fsync.
9860 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9862 * Rules (bench): Move target definition...
9863 * benchtests/Makefile: ... here.
9865 2013-04-11 Carlos O'Donell <carlos@redhat.com>
9867 * math/libm-test.inc (cos_test): Fix PI/2 test.
9868 (sincos_test): Likewise.
9869 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9870 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9872 2013-04-11 Andreas Schwab <schwab@suse.de>
9875 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9876 accept exponent character only when digits were seen.
9877 * stdio-common/Makefile (tests): Add bug26.
9878 * stdio-common/bug26.c: New file.
9881 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9884 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9886 * Makeconfig (rtld-prefix): Define built linker prefix.
9887 * Rules (run-bench): Use it.
9888 * math/Makefile (run-regen-ulps): Likewise.
9890 * Rules (bench): Remove eval.
9892 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9893 Roland McGrath <roland@hack.frob.com>
9894 Ondrej Bilka <neleai@seznam.cz>
9897 * time/getdate.c: Include ctype.h and alloca.h.
9898 (__getdate_r): Trim leading and trailing spaces of input.
9899 * time/tst-getdate.c (tests): Add tests with leading and
9902 2013-04-08 Roland McGrath <roland@hack.frob.com>
9905 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9906 when computing value.
9908 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9910 * math/README.libm-test (How can I generate "libm-test-ulps"?):
9911 Use testrun.sh to run libm tests.
9914 * elf/dl-open.c (dl_open_worker): memset all of seen array.
9916 2013-04-06 Marko Myllynen <myllynen@redhat.com>
9919 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9921 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9923 * Makefile.in (regen-ulps): New target.
9924 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9925 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9926 [ifneq (no,$(PERL)] (regen-ulps): New target.
9927 [ifeq (no,$(PERL)] (regen-ulps): New target.
9928 * math/libm-test.inc (ulps_file_name): Define.
9929 (output_dir): New variable.
9930 (options): Add "output-dir" option.
9931 (parse_opt): Handle 'o' case.
9932 (main): If output_dir is non-NULL use it as a prefix
9934 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9936 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9939 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9940 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9941 fail configure if __sync_val_compare_and_swap is not inlined.
9942 * sysdeps/i386/configure: Regenerate.
9943 * configure.in: Build for i686 when configured for i386.
9944 * configure: Regenerate.
9945 * README: Remove i386 reference.
9947 2013-04-06 Carlos O'Donell <carlos@redhat.com>
9949 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9950 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9952 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
9954 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9955 (lmsnanval): New variables.
9956 (F): Add conversion tests.
9957 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9958 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9960 * stdio-common/tstdiomisc.c (F): Properly collect individual
9964 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9965 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9966 Instead, use input NaN values or generate a qNaN by arithmetic
9967 operation. Also fix bugs to comply with the standard.
9968 * math/libm-test.inc (remainder_test): Add more tests.
9971 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9972 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9973 input NaN values or generate a qNaN by arithmetic operation.
9975 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9978 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9981 2013-04-03 Joseph Myers <joseph@codesourcery.com>
9984 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9986 * math/s_cexpf.c (__cexpf): Likewise.
9987 * math/s_cexpl.c (__cexpl): Likewise.
9988 * math/libm-test.inc (cexp_test): Add more tests.
9990 2013-04-03 Andreas Schwab <schwab@suse.de>
9993 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9994 order arrays from heap if bigger than alloca cutoff.
9996 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
9998 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9999 (SNAN_TESTS_double): Refer to GCC PR56831.
10000 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10003 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10005 * Rules (bench): Move bench.out after the run is complete.
10007 * Rules (bench): Echo currently running benchmark.
10009 * benchtests/Makefile (bench): Add atan and slowatan.
10010 * benchtests/atan-inputs: New file.
10011 * benchtests/slowatan-inputs: New file.
10012 * benchtests/slowatan.c: New file.
10014 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10015 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10019 * sysdeps/unix/sysv/linux/kernel-features.h
10020 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10021 __ASSUME_XFS_RESTRICTED_CHOWN.
10022 * sysdeps/unix/sysv/linux/pathconf.c
10023 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10024 Save and restore errno.
10026 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10029 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10030 arguments using __kernel_casinh.
10031 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10032 arguments using __kernel_casinhf.
10033 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10034 arguments using __kernel_casinhl.
10035 * math/libm-test.inc (cacosh_test): Add more tests.
10036 * sysdeps/i386/fpu/libm-test-ulps: Update.
10037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10039 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10041 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10042 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10044 * bench/Makefile (bench): Add sin and slowsin.
10045 * benchtests/sin-inputs: New file.
10046 * benchtests/slowsin-inputs: New file.
10047 * benchtests/slowsin.c: New file.
10049 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10050 (bench): Add slowexp and slowpow.
10051 (exp-ITER): Increase iterations.
10052 (pow-ITER): Likewise.
10053 * benchtests/exp-inputs: Change input.
10054 * benchtests/pow-inputs: Likewise.
10055 * benchtests/slowexp-inputs: New file.
10056 * benchtests/slowexp.c: New file.
10057 * benchtests/slowpow-inputs: New file.
10058 * benchtests/slowpow.c: New file.
10060 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10062 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10064 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10065 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10066 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10067 * benchtests/Makefile: Add rint benchtest.
10068 * benchtests/rint-inputs: Input for rint benchtest.
10070 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10072 * Versions.def (libm): Add GLIBC_2.18.
10073 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10074 hidden libm prototypes.
10075 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10076 * math/Makefile (libm-calls): Add s_issignaling.
10077 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10078 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10079 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10081 * math/math.h [__USE_GNU] (issignaling): New macro.
10082 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10083 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10085 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10086 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10087 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10088 * manual/arith.texi (issignaling): New section.
10089 * manual/libm-err-tab.pl (@all_functions): Update comment.
10090 * math/gen-libm-test.pl (parse_args): Apply special handling for
10092 * math/libm-test.inc (print_float, issignaling_test): New
10094 (check_float_internal): Add issignaling checks.
10095 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10096 default definition.
10097 * sysdeps/powerpc/math-tests.h: New file.
10098 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10100 * math/test-snan.c (TEST_FUNC): Likewise.
10102 2013-03-30 David S. Miller <davem@davemloft.net>
10104 * po/de.po: Update from translation team.
10106 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10109 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10110 imaginary part less than 1.0 and real part less than 0.5
10112 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10113 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10114 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10115 (cacos_test): Add more tests.
10116 (casin_test): Likewise.
10117 (casinh_test): Likewise.
10118 * sysdeps/i386/fpu/libm-test-ulps: Update.
10119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10121 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10123 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10124 ONE with its value.
10126 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10127 (__pow_mp): Replace ONE and MONE with their values.
10128 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10129 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10130 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10131 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10132 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10133 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10135 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10137 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10138 (__pow_mp): Replace ZERO and MZERO with their values.
10139 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10140 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10141 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10142 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10143 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10144 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10147 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10149 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10151 2013-03-28 Roland McGrath <roland@hack.frob.com>
10153 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10154 Declare with __attribute__ ((weak)).
10155 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10156 Call __call_tls_dtors only if it's not NULL.
10158 2013-03-28 Roland McGrath <roland@hack.frob.com>
10160 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10161 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10162 magic __ehdr_start linker symbol if it's defined.
10163 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10164 them up here if it was already done.
10166 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10167 (_dl_aux_init): Use const in cast when setting it.
10168 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10169 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10170 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10172 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10174 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10175 * csu/libc-tls.c: Nor here.
10176 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10178 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10179 (__libc_message): Never call vsyslog.
10181 2013-03-28 Alan Modra <amodra@gmail.com>
10183 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10185 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10188 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10191 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10195 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10198 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10199 Don't add gid passed as argument.
10201 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10203 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10206 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10207 imaginary part between 1.0 and 1.5 and real part less than 0.5
10209 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10210 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10211 * math/libm-test.inc (cacos_test): Add more tests.
10212 (casin_test): Likewise.
10213 (casinh_test): Likewise.
10214 * sysdeps/i386/fpu/libm-test-ulps: Update.
10215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10217 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10219 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10222 (denorm): Likewise.
10223 (__dbl_mp): Likewise.
10224 (add_magnitudes): Likewise.
10225 (sub_magnitudes): Likewise.
10233 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10235 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10236 (__dubcos): Likewise.
10237 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10238 (__ieee754_acos): Likewise.
10239 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10240 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10241 (__exp1): Likewise.
10242 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10243 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10245 (my_log2): Likewise.
10246 (checkint): Likewise.
10247 * sysdeps/ieee754/dbl-64/e_remainder.c
10248 (__ieee754_remainder): Likewise.
10249 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10251 (bsloww): Likewise.
10252 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10254 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10255 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10256 MANTISSA_STORE_T to store computations on mantissa. Use
10257 macros for rounding and division.
10258 (denorm): Likewise.
10259 (__dbl_mp): Likewise.
10260 (add_magnitudes): Likewise.
10261 (sub_magnitudes): Likewise.
10264 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10265 powers of two in terms of TWOPOW macro.
10266 (mp_no): Make type of mantissa as MANTISSA_T.
10267 [!RADIXI]: Define RADIXI.
10268 [!TWO52]: Define TWO52.
10269 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10271 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10273 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10274 llroundl symbol when building for PPC32.
10276 2013-03-24 Mark H Weaver <mhw@netris.org>
10278 * manual/arith.texi (Normalization Functions): Fix prototypes for
10279 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10281 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10285 high value to check if expl overflow.
10286 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10287 to check for underflow and overflow.
10288 * math/libm-test.inc: Add exp test.
10290 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10293 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10296 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10298 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10301 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10303 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10304 wrap blocks consisting of several statements.
10306 * sysdeps/generic/math-tests.h: New file.
10307 * sysdeps/i386/fpu/math-tests.h: Likewise.
10308 * math/test-snan.c: Include it.
10309 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10311 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10314 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10315 (__ieee754_j0l): Do not improve calculations using cos of twice
10316 input for inputs above LDBL_MAX / 2.0L.
10317 (__ieee754_y0l): Likewise.
10318 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10319 (__ieee754_j1l): Do not improve calculations using cos of twice
10320 input for inputs above LDBL_MAX / 2.0L.
10321 (__ieee754_y1l): Likewise.
10322 * math/libm-test.inc (j0_test): Add another test.
10323 (j1_test): Likewise.
10324 (y0_test): Likewise.
10325 (y1_test): Likewise.
10326 * sysdeps/i386/fpu/libm-test-ulps: Update.
10328 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10330 * Rules ($(objpfx)bench-%.c): Include code from a C source
10333 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10336 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10337 imaginary part 1.0 and real part less than 0.5 specially.
10338 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10339 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10340 * math/libm-test.inc (cacos_test): Add more tests.
10341 (casin_test): Likewise.
10342 (casinh_test): Likewise.
10343 * sysdeps/i386/fpu/libm-test-ulps: Update.
10344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10346 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10348 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10349 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10351 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10353 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10354 * config.make.in (config-cflags-sse4): Remove variable.
10355 (config-cflags-avx): Likewise.
10356 (config-cflags-sse2avx): Likewise.
10357 (config-cflags-novzeroupper): Likewise.
10358 (config-asflags-i686): Likewise.
10359 (have-mfma4): Likewise.
10360 (have-as-vis3): Likewise.
10362 * configure.in (MIG): Do not AC_SUBST.
10363 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10364 (libc_cv_cc_sse4): Do not AC_SUBST.
10365 (libc_cv_cc_avx): Likewise.
10366 (libc_cv_cc_sse2avx): Likewise.
10367 (libc_cv_cc_novzeroupper): Likewise.
10368 (libc_cv_cc_fma4): Likewise.
10369 (libc_cv_as_i686): Likewise.
10370 (libc_cv_sparc_as_vis3): Likewise.
10371 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10373 (config-asflags-i686): Likewise.
10374 (config-cflags-avx): Likewise.
10375 (config-cflags-sse2avx): Likewise.
10376 (have-mfma4): Likewise.
10377 (config-cflags-novzeroupper): Likewise.
10378 * sysdeps/mach/configure.in (MIG): Likewise.
10379 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10380 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10382 (config-cflags-avx): Likewise.
10383 (config-cflags-sse2avx): Likewise.
10384 (have-mfma4): Likewise.
10385 (config-cflags-novzeroupper): Likewise.
10386 * configure: Regenerated.
10387 * sysdeps/i386/configure: Likewise.
10388 * sysdeps/mach/configure: Likewise.
10389 * sysdeps/sparc/configure: Likewise.
10390 * sysdeps/x86_64/configure: Likewise.
10392 2013-03-20 Roland McGrath <roland@hack.frob.com>
10395 * locale/programs/localedef.c (options): Put N_ translation marker
10396 on argument names, not just descriptions.
10398 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10400 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10402 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10405 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10407 2013-03-19 Roland McGrath <roland@hack.frob.com>
10409 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10410 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10411 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10412 [!BEFORE_ABORT] (before_abort): New function.
10413 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10414 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10415 (writev_for_fatal): New function.
10416 (WRITEV_FOR_FATAL): New macro; call that.
10417 (backtrace_and_maps): New function.
10418 (BEFORE_ABORT): New macro; call that.
10419 (struct str_list): Type removed.
10420 (__libc_message, __libc_fatal): Functions removed.
10421 Include <sysdeps/posix/libc_fatal.c> instead.
10423 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10425 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10427 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10430 2013-03-19 Andreas Schwab <schwab@suse.de>
10432 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10433 * sysdeps/gnu/configure: Regenerate.
10435 * configure.in: Substitute libc_cv_rtlddir.
10436 * configure: Regenerate.
10437 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10438 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10439 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10440 * elf/Makefile (install-others, CFLAGS-interp.c)
10441 (ldso_install, common-ldd-rewrite): Likewise.
10442 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10443 $(inst_slibdir)/$(rtld-installed-name).
10444 * scripts/rellns-sh: Add -p option.
10445 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10448 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10450 * manual/nptl.texi: Renamed to ...
10451 * manual/threads.texi: ... this.
10452 * manual/Makefile (chapters): Update.
10454 2013-03-18 Roland McGrath <roland@hack.frob.com>
10457 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10458 on argument names, not just descriptions.
10459 * malloc/memusagestat.c (options): Likewise.
10460 * nss/getent.c (options): Likewise.
10462 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10465 * iconv/iconv_prog.c (options): Put N_ translation marker
10466 on argument names, not just descriptions.
10467 * iconv/iconvconfig.c (options): Likewise.
10469 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10471 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10472 implementation which is faster on all x86_64 architectures.
10473 Tested on AMD, Intel Nehalem, SNB, IVB.
10474 * sysdeps/x86_64/strnlen.S: Likewise.
10476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10477 Remove all multiarch strlen and strnlen versions.
10478 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10479 Remove strlen and strnlen related parts.
10481 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10482 Inline strlen part.
10483 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10485 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10486 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10487 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10488 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10489 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10490 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10492 2013-03-17 Carlos O'Donell <carlos@redhat.com>
10494 * manual/memory.texi (Malloc Tunable Parameters):
10495 Sort parameters alphabetically. Add comments for missing entries.
10497 2013-03-17 David S. Miller <davem@davemloft.net>
10499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10501 2013-03-16 Joseph Myers <joseph@codesourcery.com>
10504 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10505 for arguments at most half maximum finite value.
10506 * math/libm-test.inc (j0_test): Add more tests.
10507 (j1_test): Likewise.
10508 (y0_test): Likewise.
10509 (y1_test): Likewise.
10510 * sysdeps/i386/fpu/libm-test-ulps: Update.
10511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10514 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10515 1 / x and functions P and Q for arguments above 0x1p256L.
10516 (__ieee754_y0l): Likewise.
10517 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10518 (__ieee754_y1l): Likewise.
10519 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10520 (j1_test): Likewise.
10521 (y0_test): Likewise.
10522 (y1_test): Likewise.
10524 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10526 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10529 2013-03-15 Roland McGrath <roland@hack.frob.com>
10531 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10532 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10533 zero since it's initialized to EXEC_PAGESIZE.
10535 * sysdeps/unix/sysv/linux/ldsodefs.h
10536 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10537 * sysdeps/generic/ldsodefs.h: ... here.
10539 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
10541 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
10543 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
10545 * math/test-snan.c: Renamed from
10546 sysdeps/powerpc/fpu/test-powerpc-snan.c.
10547 * math/Makefile (tests): Add test-snan.
10548 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
10551 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
10552 SUFFIX. Initialize qNaN_var with __builtin_nan family of
10554 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
10555 __builtin_nan family of functions.
10556 * math/libm-test.inc (initialize): Initialize qnan_value with
10557 __builtin_nan family of functions.
10558 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
10560 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
10562 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
10563 storage class. Initialize qNaN_var and sNaN_var with
10564 __builtin_nan and __builtin_nans families of functions,
10567 * math/libm-test.inc (acosh_test): Also test with qNaN input.
10568 (sqrt_test): Remove duplicate test with qNaN input.
10569 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
10570 (round_test, signbit_test, significand_test): Note missing +/-Inf
10571 as well as qNaN tests.
10573 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
10574 qNaN_var. Fix a few strings, too.
10575 * math/libm-test.inc (nan_value): Rename to qnan_value.
10576 * math/gen-libm-test.pl (%beautify): Adjust to that.
10577 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
10578 * math/test-misc.c (main): Likewise.
10579 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
10580 to __qnan_bytes, and __qnan_union, respectively.
10581 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
10583 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
10584 and lqnanval, respectively.
10585 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
10586 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
10587 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
10588 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
10590 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
10591 * math/test-misc.c (main) [__x86_64__]: Enable test for long
10594 * math/test-misc.c (main): Fix copy'n'pastos.
10595 * misc/tst-efgcvt.c (special): Likewise.
10597 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
10598 Remove declarations.
10600 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10602 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
10603 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
10604 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
10605 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
10607 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10609 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
10610 macro to return vdso values correctly in IFUNC implementations.
10611 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10612 Optimization by using IFUNC.
10614 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10615 Richard Henderson <rth@redhat.com>
10616 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10618 * Makefile.in (bench): New target.
10619 * NEWS: Mention the benchmark framework.
10620 * Rules (bench): Likewise.
10621 (binaries-bench): Generate binaries for functions to
10623 * benchtests/Makefile: New makefile for benchmark tests.
10624 * benchtests/bench-skeleton.c: New skeleton file for benchmark
10626 * benchtests/exp-inputs: New input file for EXP function.
10627 * benchtests/pow-inputs: New input file for POW function.
10628 * scripts/bench.pl: New script to generate source files for
10629 benchmark programs.
10631 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10633 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10634 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10635 computations on mantissa. Use macros for rounding and
10637 (denorm): Likewise.
10638 (__dbl_mp): Likewise.
10639 (add_magnitudes): Likewise.
10640 (sub_magnitudes): Likewise.
10643 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10644 powers of two in terms of TWOPOW macro.
10645 (mp_no): Make type of mantissa as MANTISSA_T.
10646 [!RADIXI]: Define RADIXI.
10647 [!TWO52]: Define TWO52.
10648 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10650 * manual/nptl.texi (cindex): Modify threads to pthreads.
10652 2013-03-15 Joseph Myers <joseph@codesourcery.com>
10654 * sysdeps/x86_64/preconfigure: Regenerated.
10656 2013-03-14 Joseph Myers <joseph@codesourcery.com>
10659 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10661 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10662 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10664 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10665 * math/libm-test.inc (j0_test): Do not allow one spurious
10666 underflow exception.
10667 (y1_test): Likewise.
10669 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10671 * manual/Makefile (chapters): Add nptl.
10672 * manual/debug.texi (Debugging Support): Add link to Threads
10674 * manual/nptl.texi: New file.
10676 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10678 2013-03-14 Petr Baudis <pasky@ucw.cz>
10680 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10681 for non-NULL pointer before the memory validity test. Pointed
10682 out by Holger Brunck <holger.brunck@keymile.com>.
10684 2013-03-13 Andreas Schwab <schwab@suse.de>
10686 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10689 2013-03-13 Joseph Myers <joseph@codesourcery.com>
10691 * timezone/zic.c: Update from tzcode 2013b.
10693 2013-03-12 Carlos O'Donell <carlos@redhat.com>
10695 * manual/install.texi (Configuring and compiling):
10696 Mention i686 and i586.
10697 * INSTALL: Regenerate.
10699 2013-03-12 Roland McGrath <roland@hack.frob.com>
10701 * sysdeps/init_array/elf-init.c: New file.
10703 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10704 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10706 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10707 __gmon_start__ as global, but as static with a .preinit_array pointer.
10708 * sysdeps/init_array/gmon-start.c: New file. Use that.
10709 * sysdeps/init_array/crti.S: New file, empty except for comments.
10710 * sysdeps/init_array/crtn.S: Likewise.
10712 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
10714 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10717 Remove Prefer_SSE_for_memop.
10718 * sysdeps/x86_64/multiarch/init-arch.h: Remove
10719 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10720 HAS_PREFER_SSE_FOR_MEMOP.
10721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10724 Remove bzero, memset ifunc support.
10725 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10726 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10727 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10728 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10730 2013-03-11 Andreas Schwab <schwab@suse.de>
10733 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10736 (GLIBC_2.16): Remove pthread_atfork.
10738 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
10740 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10741 (ptestcases.h): Likewise.
10743 2013-03-08 Roland McGrath <roland@hack.frob.com>
10745 * Makeconfig ($(common-objpfx)config.status): Depend on
10746 sysdeps/*/preconfigure{,.in} too.
10748 2013-03-08 Joseph Myers <joseph@codesourcery.com>
10750 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10751 (__free_hook): Use void * instead of __malloc_ptr_t.
10752 (__malloc_hook): Likewise.
10753 (__realloc_hook): Likewise.
10754 (__memalign_hook): Likewise.
10755 (__after_morecore_hook): Likewise.
10756 * malloc/arena.c (save_malloc_hook): Likewise.
10757 (save_free_hook): Likewise.
10758 * malloc/hooks.c (malloc_hook_ini): Likewise.
10759 (realloc_hook_ini): Likewise.
10760 (memalign_hook_ini): Likewise.
10761 * malloc/malloc.c (malloc_hook_ini): Likewise.
10762 (realloc_hook_ini): Likewise.
10763 (memalign_hook_ini): Likewise.
10764 (__free_hook): Likewise.
10765 (__malloc_hook): Likewise.
10766 (__realloc_hook): Likewise.
10767 (__memalign_hook): Likewise.
10768 (__libc_malloc): Likewise.
10769 (__libc_free): Likewise.
10770 (__libc_realloc): Likewise.
10771 (__libc_memalign): Likewise.
10772 (__libc_valloc): Likewise.
10773 (__libc_pvalloc): Likewise.
10774 (__libc_calloc): Likewise.
10775 (__posix_memalign): Likewise.
10776 * malloc/morecore.c (__sbrk): Likewise.
10777 (__default_morecore): Likewise.
10779 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10781 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10782 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10783 __malloc_ptrdiff_t.
10785 * malloc/malloc.h (__malloc_size_t): Remove macro.
10786 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10788 (old_memalign_hook): Likewise.
10789 (old_realloc_hook): Likewise.
10790 (struct hdr): Likewise.
10792 (mallochook): Likewise.
10793 (memalignhook): Likewise.
10794 (reallochook): Likewise.
10795 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10796 (tr_old_realloc_hook): Likewise.
10797 (tr_old_memalign_hook): Likewise.
10798 (tr_mallochook): Likewise.
10799 (tr_reallochook): Likewise.
10800 (tr_memalignhook): Likewise.
10802 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10804 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10805 default_ldbl_pack and using as default implementation.
10806 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10808 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10809 redundant definition.
10810 (ldbl_insert_mantissa): Likewise.
10811 (ldbl_canonicalize): Likewise.
10812 (ldbl_nearbyint): Likewise.
10813 (ldbl_pack): Rename to ldbl_pack_ppc.
10814 (ldbl_unpack): Rename to ldbl_unpack_ppc.
10815 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10816 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10818 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10821 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10822 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10823 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10825 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10826 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10827 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10829 2013-03-07 Andreas Jaeger <aj@suse.de>
10831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10834 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10836 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10837 Include mpa.h and declare __MPEXP.
10838 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10839 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10840 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10841 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10842 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10843 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10844 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10846 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10847 (__slowpow): Use long double EXPL and LOGL functions to
10849 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10850 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10851 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10852 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10853 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10854 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10857 intermediate variable to calculate exponent.
10859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10863 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10864 [!NO__SQR]: Define __sqr.
10865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10866 and NO__SQR. Remove all code except __mul and __sqr. Include
10867 sysdeps/ieee754/dbl-64/mpa.c.
10868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10871 * posix/Makefile (tests): Add tst-pathconf.
10872 * posix/tst-pathconf.c: New test case.
10873 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10875 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10877 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
10879 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10881 2013-03-06 Andreas Jaeger <aj@suse.de>
10883 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10884 definition via __MAP_ANONYMOUS.
10886 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10887 it's not part of Linux headers.
10889 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10890 (MAP_HUGE_MASK): Define.
10892 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10894 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10895 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10897 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10898 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10900 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10901 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10903 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10905 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10906 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10907 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10908 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10909 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10910 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10912 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10915 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10916 Handle f2fs and efivarfs.
10918 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10921 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10922 (EFIVARFS_MAGIC): Add.
10923 (F2FS_LINK_MAX): Add.
10925 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10927 * stdio-common/vfprintf.c: Replace __builtin_expect with
10930 2013-03-06 Joseph Myers <joseph@codesourcery.com>
10933 * sysdeps/generic/bp-sym.h: Remove file.
10934 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10935 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10936 <bp-sym.h> and <bp-asm.h>.
10937 (__longjmp): Don't use BP_SYM.
10938 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10940 (memcpy): Don't use BP_SYM.
10941 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10942 <bp-sym.h> and <bp-asm.h>.
10943 (memcpy): Don't use BP_SYM.
10944 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10946 (memcpy): Don't use BP_SYM.
10947 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10949 (memset): Don't use BP_SYM.
10950 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10951 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10952 (__bzero): Don't use BP_SYM.
10953 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10954 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10955 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10956 <bp-sym.h> and <bp-asm.h>.
10957 (memcmp): Don't use BP_SYM. Remove comment about bounded
10959 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10960 <bp-sym.h> and <bp-asm.h>.
10961 (memcpy): Don't use BP_SYM.
10962 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10963 <bp-sym.h> and <bp-asm.h>.
10964 (memset): Don't use BP_SYM.
10965 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10966 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10967 (__bzero): Don't use BP_SYM.
10968 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10969 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10970 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10971 <bp-sym.h> and <bp-asm.h>.
10972 (strncmp): Don't use BP_SYM. Remove comment about bounded
10974 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10975 <bp-sym.h> and <bp-asm.h>.
10976 (memcpy): Don't use BP_SYM.
10977 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10978 <bp-sym.h> and <bp-asm.h>.
10979 (memset): Don't use BP_SYM.
10980 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10981 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10982 (__bzero): Don't use BP_SYM.
10983 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10984 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10985 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10986 <bp-sym.h> and <bp-asm.h>.
10987 (__memchr): Don't use BP_SYM.
10988 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10989 <bp-sym.h> and <bp-asm.h>.
10990 (memcmp): Don't use BP_SYM. Remove comment about bounded
10992 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10993 <bp-sym.h> and <bp-asm.h>.
10994 (memcpy): Don't use BP_SYM.
10995 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10996 <bp-sym.h> and <bp-asm.h>.
10997 (__mempcpy): Don't use BP_SYM.
10998 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10999 <bp-sym.h> and <bp-asm.h>.
11000 (__memrchr): Don't use BP_SYM.
11001 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11002 <bp-sym.h> and <bp-asm.h>.
11003 (memset): Don't use BP_SYM.
11004 (__bzero): Likewise.
11005 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11006 <bp-sym.h> and <bp-asm.h>.
11007 (__rawmemchr): Don't use BP_SYM.
11008 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11009 <bp-sym.h> and <bp-asm.h>.
11010 (__STRCMP): Don't use BP_SYM.
11011 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11012 <bp-sym.h> and <bp-asm.h>.
11013 (strchr): Don't use BP_SYM.
11014 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11015 <bp-sym.h> and <bp-asm.h>.
11016 (__strchrnul): Don't use BP_SYM.
11017 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11018 <bp-sym.h> and <bp-asm.h>.
11019 (strlen): Don't use BP_SYM.
11020 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11021 <bp-sym.h> and <bp-asm.h>.
11022 (strncmp): Don't use BP_SYM. Remove comment about bounded
11024 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11025 <bp-sym.h> and <bp-asm.h>.
11026 (__strnlen): Don't use BP_SYM.
11027 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11028 <bp-sym.h> and <bp-asm.h>.
11029 (__GI__setjmp): Don't use BP_SYM.
11030 (_setjmp): Likewise.
11031 (__sigsetjmp): Likewise.
11032 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11033 (L(start_addresses)): Don't use BP_SYM.
11034 (_start): Likewise.
11035 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11037 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11038 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11039 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11040 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11041 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11043 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11044 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11045 about bounded pointers.
11046 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11047 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11048 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11050 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11051 about bounded pointers. Remove GKM FIXME comments.
11052 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11053 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11055 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11056 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11057 Remove GKM FIXME comments.
11058 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11059 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11060 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11062 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11063 about bounded pointers. Remove GKM FIXME comment.
11064 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11066 (strncmp): Don't use BP_SYM. Remove comment about bounded
11068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11069 <bp-sym.h> and <bp-asm.h>.
11070 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11072 <bp-sym.h> and <bp-asm.h>.
11073 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11076 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11078 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11081 2013-03-05 David S. Miller <davem@davemloft.net>
11083 * po/es.po: Update from translation team.
11085 2013-03-05 Andreas Jaeger <aj@suse.de>
11087 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11088 <bits/mman-linux.h>.
11089 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11091 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11092 <bits/mman-linux.h> to end of file.
11093 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11095 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11096 <bits/mman-linux.h> to end of file.
11097 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11100 <bits/mman-linux.h> to end of file.
11102 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11103 (MCL_CURRENT, MCL_FUTURE): Define here.
11105 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11108 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11110 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11112 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11114 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11115 fourth parameter needed for rt_sigprocmask syscall.
11116 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11117 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11118 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11119 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11120 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11121 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11123 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11126 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11127 comment about bounded pointers.
11128 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11129 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11131 2013-03-04 Andreas Jaeger <aj@suse.de>
11133 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11134 common definitions.
11136 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11137 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11138 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11139 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11140 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11141 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11143 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11146 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11147 __ieee754_sqrl instead of __sqrl.
11149 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11151 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11152 * sysdeps/powerpc/fpu_control.h: ... here.
11153 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11154 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11155 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11156 * sysdeps/powerpc/bits/mathinline.h: ... here.
11158 2013-03-01 Roland McGrath <roland@hack.frob.com>
11160 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11161 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11162 to just [NEED_DL_SYSINFO_DSO].
11163 * elf/dl-support.c: Likewise.
11164 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11165 * elf/rtld.c (dl_main): Likewise.
11166 * elf/setup-vdso.h (setup_vdso): Likewise.
11167 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11168 * sysdeps/unix/sysv/linux/dl-sysdep.c
11169 (_dl_discover_osversion): Likewise.
11171 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11173 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11174 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11176 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11178 * NEWS: Mention libm performance improvements and non-x86 PI
11181 * csu/libc-start.c (__pthread_initialize_minimal): Change
11182 function arguments.
11183 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11185 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11188 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11189 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11190 <bp-sym.h> and <bp-asm.h>.
11191 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11192 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11194 (memcpy): Don't use BP_SYM.
11195 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11197 (__mpn_add_n): Don't use BP_SYM.
11198 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11199 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11201 (__mpn_addmul_1): Don't use BP_SYM.
11202 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11203 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11205 (_setjmp): Don't use BP_SYM.
11206 (__novmx_setjmp): Likewise.
11207 (__GI__setjmp): Likewise.
11208 (__vmx_setjmp): Likewise.
11209 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11211 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11212 (__bzero): Don't use BP_SYM.
11213 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11214 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11215 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11216 <bp-sym.h> and <bp-asm.h>.
11217 (memcpy): Don't use BP_SYM.
11218 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11219 <bp-sym.h> and <bp-asm.h>.
11220 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11221 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11222 <bp-sym.h> and <bp-asm.h>.
11223 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11224 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11226 (__mpn_lshift): Don't use BP_SYM.
11227 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11228 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11230 (memset): Don't use BP_SYM.
11231 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11232 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11233 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11235 (__mpn_mul_1): Don't use BP_SYM.
11236 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11237 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11238 <bp-sym.h> and <bp-asm.h>.
11239 (memcmp): Don't use BP_SYM.
11240 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11241 <bp-sym.h> and <bp-asm.h>.
11242 (memcpy): Don't use BP_SYM.
11243 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11244 <bp-sym.h> and <bp-asm.h>.
11245 (memset): Don't use BP_SYM.
11246 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11247 <bp-sym.h> and <bp-asm.h>.
11248 (strncmp): Don't use BP_SYM.
11249 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11250 <bp-sym.h> and <bp-asm.h>.
11251 (memcpy): Don't use BP_SYM.
11252 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11253 <bp-sym.h> and <bp-asm.h>.
11254 (memset): Don't use BP_SYM.
11255 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11256 <bp-sym.h> and <bp-asm.h>.
11257 (__memchr): Don't use BP_SYM.
11258 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11259 <bp-sym.h> and <bp-asm.h>.
11260 (memcmp): Don't use BP_SYM.
11261 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11262 <bp-sym.h> and <bp-asm.h>.
11263 (memcpy): Don't use BP_SYM.
11264 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11265 <bp-sym.h> and <bp-asm.h>.
11266 (__mempcpy): Don't use BP_SYM.
11267 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11268 <bp-sym.h> and <bp-asm.h>.
11269 (__memrchr): Don't use BP_SYM.
11270 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11271 <bp-sym.h> and <bp-asm.h>.
11272 (memset): Don't use BP_SYM.
11273 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11274 <bp-sym.h> and <bp-asm.h>.
11275 (__rawmemchr): Don't use BP_SYM.
11276 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11277 <bp-sym.h> and <bp-asm.h>.
11278 (__STRCMP): Don't use BP_SYM.
11279 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11280 <bp-sym.h> and <bp-asm.h>.
11281 (strchr): Don't use BP_SYM.
11282 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11283 <bp-sym.h> and <bp-asm.h>.
11284 (__strchrnul): Don't use BP_SYM.
11285 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11286 <bp-sym.h> and <bp-asm.h>.
11287 (strlen): Don't use BP_SYM.
11288 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11289 <bp-sym.h> and <bp-asm.h>.
11290 (strncmp): Don't use BP_SYM.
11291 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11292 <bp-sym.h> and <bp-asm.h>.
11293 (__strnlen): Don't use BP_SYM.
11294 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11296 (__mpn_rshift): Don't use BP_SYM.
11297 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11298 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11299 <bp-sym.h> and <bp-asm.h>.
11300 (__sigsetjmp): Don't use BP_SYM.
11301 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11302 (L(start_addresses)): Don't use BP_SYM.
11303 (_start): Likewise.
11304 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11306 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11307 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11308 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11309 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11311 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11312 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11313 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11314 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11316 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11318 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11319 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11321 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11323 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11324 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11325 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11327 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11329 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11331 (strncmp): Don't use BP_SYM,
11332 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11334 (__mpn_sub_n): Don't use BP_SYM.
11335 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11336 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11338 (__mpn_submul_1): Don't use BP_SYM.
11339 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11341 <bp-sym.h> and <bp-asm.h>.
11342 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11344 <bp-sym.h> and <bp-asm.h>.
11345 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11348 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11351 Use ZK to minimize writes to Z.
11352 (sub_magnitudes): Simplify code a bit.
11353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11354 Use ZK to minimize writes to Z.
11355 (sub_magnitudes): Simplify code a bit.
11357 2013-02-27 Roland McGrath <roland@hack.frob.com>
11359 * csu/gmon-start.c: Add special exception to license text.
11361 2013-02-27 Richard Henderson <rth@redhat.com>
11363 * scripts/config.guess: Update from config.git.
11364 * scripts/config.sub: Likewise.
11366 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11368 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11370 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11372 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11374 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11376 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11378 2013-02-26 Roland McGrath <roland@hack.frob.com>
11380 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11381 [$(build-shared = yes].
11383 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11385 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11386 (__mul): Reduce iterations for calculating mantissa.
11388 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11390 (__mpranred): Likewise.
11393 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11394 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11396 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11398 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11399 Define __attribute__.
11401 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11403 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11405 * posix/regex_internal.h (__attribute): Remove.
11406 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11407 (re_string_context_at): Likewise.
11408 (bitset_not): Use __attribute__ and mark function as possibly
11410 (bitset_merge): Likewise.
11411 (bitset_mask): Likewise.
11412 (re_string_char_size_at): Likewise.
11413 (re_string_wchar_at): Likewise.
11414 (re_string_elem_size_at): Likewise.
11416 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11418 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11422 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11426 (denorm): Likewise.
11427 (__dbl_mp): Likewise.
11428 (add_magnitudes): Likewise.
11429 (sub_magnitudes): Likewise.
11433 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11436 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11439 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11442 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11443 up changes with default code.
11444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11447 2013-02-24 Allan McRae <allan@archlinux.org>
11449 * manual/socket.texi (The Internet Namespace): Order menu items
11450 to match that in the file.
11452 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11453 node listing of the info page menu.
11455 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11458 * sysdeps/i386/bp-asm.h: Remove file.
11459 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11460 (PARMS): Do not use macros from bp-asm.h.
11464 (__mpn_add_n): Do not use BP_SYM
11465 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11467 (PARMS): Do not use macros from bp-asm.h.
11470 (__mpn_addmul_1): Do not use BP_SYM
11471 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11473 (PARMS): Do not use macros from bp-asm.h.
11474 (SIGMSK): Likewise.
11475 (_setjmp): Likewise. Do not use BP_SYM.
11476 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11478 (PARMS): Do not use macros from bp-asm.h.
11479 (SIGMSK): Likewise.
11480 (setjmp): Likewise. Do not use BP_SYM.
11481 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11483 (PARMS): Do not use macros from bp-asm.h.
11484 (__frexp): Do not use BP_SYM.
11486 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11488 (PARMS): Do not use macros from bp-asm.h.
11489 (__frexpf): Do not use BP_SYM.
11490 (frexpf): Likewise.
11491 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11493 (PARMS): Do not use macros from bp-asm.h.
11494 (__frexpl): Do not use BP_SYM.
11495 (frexpl): Likewise.
11496 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11498 (PARMS): Do not use macros from bp-asm.h.
11499 (__remquo): Do not use BP_SYM.
11500 (remquo): Likewise.
11501 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11503 (PARMS): Do not use macros from bp-asm.h.
11504 (__remquof): Do not use BP_SYM.
11505 (remquof): Likewise.
11506 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11508 (PARMS): Do not use macros from bp-asm.h.
11509 (__remquol): Do not use BP_SYM.
11510 (remquol): Likewise.
11511 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11513 (PARMS): Do not use macros from bp-asm.h.
11516 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11517 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11519 (PARMS): Do not use macros from bp-asm.h.
11520 (strlen): Do not use BP_SYM.
11521 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11523 (PARMS): Do not use macros from bp-asm.h.
11527 (__mpn_add_n): Do not use BP_SYM.
11528 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11530 (PARMS): Do not use macros from bp-asm.h.
11533 (__mpn_addmul_1): Do not use BP_SYM.
11534 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11537 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
11539 (PARMS): Do not use macros from bp-asm.h.
11542 (__mpn_lshift): Do not use BP_SYM.
11543 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
11545 (PARMS): Do not use macros from bp-asm.h.
11549 (memcpy): Likewise. Do not use BP_SYM.
11550 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
11551 libc_hidden_def and weak_alias.
11552 (mempcpy): Do not use BP_SYM in weak_alias.
11553 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
11555 (PARMS): Do not use macros from bp-asm.h.
11558 [!BZERO_P] (CHR): Likewise.
11559 (memset): Likewise. Do not use BP_SYM.
11560 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
11562 (PARMS): Do not use macros from bp-asm.h.
11565 (__mpn_mul_1): Do not use BP_SYM.
11566 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
11568 (PARMS): Do not use macros from bp-asm.h.
11571 (__mpn_rshift): Do not use BP_SYM.
11572 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
11574 (PARMS): Do not use macros from bp-asm.h.
11577 (strchr): Likewise. Do not use BP_SYM.
11578 (index): Do not use BP_SYM in weak_alias.
11579 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
11581 (PARMS): Do not use macros from bp-asm.h.
11584 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
11585 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
11587 (PARMS): Do not use macros from bp-asm.h.
11588 (strlen): Do not use BP_SYM.
11589 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
11591 (PARMS): Do not use macros from bp-asm.h.
11595 (__mpn_sub_n): Do not use BP_SYM.
11596 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
11598 (PARMS): Do not use macros from bp-asm.h.
11601 (__mpn_submul_1): Do not use BP_SYM.
11602 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
11604 (PARMS): Do not use macros from bp-asm.h.
11608 (__mpn_add_n): Do not use BP_SYM.
11609 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
11612 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
11614 (PARMS): Do not use macros from bp-asm.h.
11617 (memcmp): Do not use BP_SYM.
11618 (bcmp): Do not use BP_SYM in weak_alias.
11619 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11621 (PARMS): Do not use macros from bp-asm.h.
11625 (memcpy): Likewise. Do not use BP_SYM.
11626 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11628 (PARMS): Do not use macros from bp-asm.h.
11632 (memmove): Likewise. Do not use BP_SYM.
11633 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11635 (PARMS): Do not use macros from bp-asm.h.
11639 (__mempcpy): Likewise. Do not use BP_SYM.
11640 (mempcpy): Do not use BP_SYM in weak_alias.
11641 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11643 (PARMS): Do not use macros from bp-asm.h.
11646 [!BZERO_P] (CHR): Likewise.
11647 (memset): Likewise. Do not use BP_SYM.
11648 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11650 (PARMS): Do not use macros from bp-asm.h.
11652 (strcmp): Do not use BP_SYM.
11653 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11655 (PARMS): Do not use macros from bp-asm.h.
11658 [USE_AS_STRTOK_R] (SAVE): Likewise.
11659 (FUNCTION): Likewise. Do not use BP_SYM.
11660 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11662 (strtok_r): Likewise.
11663 (__GI___strtok_r): Likewise.
11664 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11665 (PARMS): Do not use macros from bp-asm.h.
11668 (__mpn_lshift): Do not use BP_SYM.
11669 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11670 (PARMS): Do not use macros from bp-asm.h.
11673 (__memchr): Do not use BP_SYM.
11674 (memchr): Do not use BP_SYM in weak_alias.
11675 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11676 (PARMS): Do not use macros from bp-asm.h.
11679 (memcmp): Do not use BP_SYM.
11680 (bcmp): Do not use BP_SYM in weak_alias.
11681 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11682 (PARMS): Do not use macros from bp-asm.h.
11685 (__mpn_mul_1): Do not use BP_SYM.
11686 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11688 (PARMS): Do not use macros from bp-asm.h.
11691 (__rawmemchr): Do not use BP_SYM.
11692 (rawmemchr): Do not use BP_SYM in weak_alias.
11693 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11694 (PARMS): Do not use macros from bp-asm.h.
11697 (__mpn_rshift): Do not use BP_SYM.
11698 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11699 (PARMS): Do not use macros from bp-asm.h.
11700 (SIGMSK): Likewise.
11701 (__sigsetjmp): Likewise. Do not use BP_SYM.
11702 * sysdeps/i386/start.S: Do not include "bp-sym.h".
11703 (_start): Do not use BP_SYM.
11704 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11705 (PARMS): Do not use macros from bp-asm.h.
11708 (__stpcpy): Likewise. Do not use BP_SYM.
11709 (stpcpy): Do not use BP_SYM in weak_alias.
11710 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11712 (PARMS): Do not use macros from bp-asm.h.
11716 (__stpncpy): Likewise. Do not use BP_SYM.
11717 (stpncpy): Do not use BP_SYM in weak_alias.
11718 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11719 (PARMS): Do not use macros from bp-asm.h.
11722 (strchr): Likewise. Do not use BP_SYM.
11723 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11725 (PARMS): Do not use macros from bp-asm.h.
11728 (__strchrnul): Likewise. Do not use BP_SYM.
11729 (strchrnul): Do not use BP_SYM in weak_alias.
11730 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11732 (PARMS): Do not use macros from bp-asm.h.
11734 (strcspn): Do not use BP_SYM.
11735 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11737 (PARMS): Do not use macros from bp-asm.h.
11740 (strpbrk): Likewise. Do not use BP_SYM.
11741 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11743 (PARMS): Do not use macros from bp-asm.h.
11746 (strrchr): Likewise. Do not use BP_SYM.
11747 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11748 (PARMS): Do not use macros from bp-asm.h.
11750 (strspn): Do not use BP_SYM.
11751 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11752 (PARMS): Do not use macros from bp-asm.h.
11756 (FUNCTION): Likewise. Do not use BP_SYM.
11757 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11759 (strtok_r): Likewise.
11760 (__GI___strtok_r): Likewise.
11761 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11762 (PARMS): Do not use macros from bp-asm.h.
11766 (__mpn_sub_n): Do not use BP_SYM.
11767 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11769 (PARMS): Do not use macros from bp-asm.h.
11772 (__mpn_submul_1): Do not use BP_SYM.
11773 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11775 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11777 (PARMS): Do not use macros from bp-asm.h.
11782 (__clone): Do not use BP_SYM.
11783 (clone): Do not use BP_SYM in weak_alias.
11784 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11786 (PARMS): Do not use macros from bp-asm.h.
11788 (__mmap64): Do not use BP_SYM.
11789 (mmap64): Do not use BP_SYM in weak_alias.
11790 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11791 <bp-sym.h> and <bp-asm.h>.
11792 (PARMS): Do not use macros from bp-asm.h.
11793 (__posix_fadvise64_l64): Do not use BP_SYM.
11794 * sysdeps/unix/sysv/linux/i386/semtimedop.S
11795 (PARMS): Do not use macros from bp-asm.h.
11797 (semtimedop): Do not use BP_SYM.
11798 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11801 2013-02-21 Allan McRae <allan@archlinux.org>
11803 * manual/message.texi (Charset conversion in gettext):
11804 Move @end statement to beginning of line.
11806 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11813 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11814 (denorm): Likewise.
11815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11818 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11820 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11821 tail-call to the resolved function if pltexit isn't needed.
11823 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11826 or Y being zero as being unlikely.
11827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11830 2013-02-20 Carlos O'Donell <carlos@redhat.com>
11832 * manual/nss.texi (System Databases and Name Service Switch):
11833 Remove frobnicate @pxref.
11835 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11837 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11838 __attribute__ ((unused)) to __attribute__ ((__unused__)).
11840 2013-02-20 Petr Machata <pmachata@redhat.com>
11842 * elf/elf.h (R_ARM_TARGET1): New macro.
11843 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11844 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11845 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11846 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11847 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11848 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11849 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11850 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11851 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11852 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11853 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11854 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11855 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11856 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11857 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11858 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11859 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11860 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11861 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11862 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11863 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11864 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11865 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11866 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11867 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11868 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11869 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11870 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11871 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11872 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11873 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11874 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11875 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11876 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11877 (R_ARM_THM_GOT_BREL12): Likewise.
11878 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11879 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11880 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11881 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11882 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11883 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11884 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11885 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11886 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11888 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
11890 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11891 __attribute_used__ to __attribute__ ((unused)).
11893 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11895 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11898 comment formatting.
11899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11901 2013-02-19 Joseph Myers <joseph@codesourcery.com>
11904 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11906 (ENTER): Remove both macro definitions.
11908 (CHECK_BOUNDS_LOW): Likewise.
11909 (CHECK_BOUNDS_HIGH): Likewise.
11910 (CHECK_BOUNDS_BOTH): Likewise.
11911 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11912 (RETURN_BOUNDED_POINTER): Likewise.
11913 (RETURN_NULL_BOUNDED_POINTER): Likewise.
11914 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11915 (POP_ERRNO_LOCATION_RETURN): Likewise.
11916 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11917 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11918 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11920 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11921 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11922 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11923 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11924 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11925 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11926 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11927 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11928 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11929 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11930 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11931 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11932 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11933 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11935 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11936 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11938 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11939 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11940 * sysdeps/i386/i586/memset.S (memset): Likewise.
11941 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11942 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11943 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11945 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11946 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11947 Change uses of L(2) to L(out).
11948 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11949 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11950 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11951 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11952 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11954 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11955 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11957 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11958 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11959 (RETURN): Do not use macro LEAVE.
11960 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11961 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11962 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11963 * sysdeps/i386/i686/memset.S (memset): Likewise.
11964 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11965 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11966 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11967 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11969 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11970 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
11971 L(1_2) and L(1_3) into L(1).
11972 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11973 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11974 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11975 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11976 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11977 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11978 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11979 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11980 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11982 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11983 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11984 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11985 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11986 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11987 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11988 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11989 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11990 * sysdeps/i386/strcspn.S (strcspn): Likewise.
11991 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11992 * sysdeps/i386/strrchr.S (strrchr): Likewise.
11993 * sysdeps/i386/strspn.S (strspn): Likewise.
11994 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11996 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11997 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11998 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11999 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12000 L(1_3) into L(1_1).
12001 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12002 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12003 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12005 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12007 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12009 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12012 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12014 * math/atest-exp.c (exp_mpn): Remove ROUND.
12015 * math/atest-exp2.c (exp_mpn): Likewise.
12016 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12018 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12019 * stdlib/tst-tls-atexit-lib.c: Likewise.
12020 * stdlib/tst-tls-atexit.c: Likewise.
12022 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12024 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12025 and __attribute_alloc_size__.
12027 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12029 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12030 __attribute_alloc_size__.
12031 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12032 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12034 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12036 * include/programs/xmalloc.h: New file.
12037 * catgets/gencat.c: Include it.
12038 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12039 * elf/pldd.c: Likewise.
12040 * iconv/iconv_charmap.c: Likewise.
12041 * iconv/iconvconfig.c: Likewise.
12042 * iconv/strtab.c: Likewise.
12043 * locale/programs/locale.c: Likewise.
12044 * locale/programs/localedef.h: Likewise.
12045 * locale/programs/simple-hash.c: Likewise.
12046 * nscd/nscd.h: Likewise.
12047 * nss/makedb.c: Likewise.
12048 * sysdeps/generic/ldconfig.h: Likewise.
12050 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12052 * Versions.def: Add GLIBC_2.18.
12053 * include/link.h (struct link_map): New member l_tls_dtor_count.
12054 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12055 (__call_tls_dtors): Likewise.
12056 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12057 __cxa_thread_atexit_impl.
12058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12066 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12074 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12075 (tests): Add test case tst-tls-atexit.
12076 (modules-names): Add shared library for tst-tls-atexit.
12077 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12078 (GLIBC_PRIVATE): Add __call_tls_dtors.
12079 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12081 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12082 * stdlib/tst-tls-atexit.c: New test case.
12083 * stdlib/tst-tls-atexit-lib.c: New test case.
12085 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12087 * elf/Versions (ld): Add _dl_find_dso_for_object.
12088 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12089 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12090 (dl_open_worker): Use _dl_find_dso_for_object.
12091 * elf/dl-sym.c (do_sym): Likewise.
12092 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12094 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12096 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12097 Syntactic changes only.
12098 (_dl_runtime_profile): Do a tail-call to the resolved function.
12100 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12103 * sysdeps/x86_64/bp-asm.h: Remove file.
12104 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12105 <bp-sym.h> and <bp-asm.h>.
12106 (__clone): Do not use BP_SYM.
12107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12108 <bp-sym.h> and <bp-asm.h>.
12109 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12110 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12112 (_setjmp): Do not use BP_SYM.
12113 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12115 (setjmp): Do not use BP_SYM.
12116 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12118 (mempcpy): Do not use BP_SYM in weak_alias.
12119 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12121 (strchr): Do not use BP_SYM.
12122 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12124 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12125 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12126 (_start): Do not use BP_SYM.
12127 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12129 (strcat): Do not use BP_SYM.
12130 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12132 (STRCMP): Do not use BP_SYM.
12133 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12135 (STRCPY): Do not use BP_SYM.
12136 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12138 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12140 (FUNCTION): Do not use BP_SYM.
12141 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12143 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12145 2013-02-17 Andreas Jaeger <aj@suse.de>
12147 * time/Versions: Sort entries.
12148 * string/Versions: Likewise.
12149 * resolv/Versions: Likewise.
12150 * posix/Versions: Likewise.
12151 * iconv/Versions: Likewise.
12152 * elf/Versions: Likewise.
12153 * wcsmbs/Versions: Likewise.
12155 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12157 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12158 loop termination condition.
12160 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12161 variable to calculate EZ.
12164 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12165 the lower precision input.
12167 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12170 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12171 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12172 (run-via-rtld-prefix): Do not handle %-bp tests.
12173 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12174 (all-object-suffixes): Remove .ob.
12175 (bppfx): Remove variable.
12176 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12177 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12178 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12179 [$(build-bounded) = yes] (libtype.ob): Likewise.
12180 * Makerules (elide-routines.ob): Remove variable.
12181 (do-tests-clean): Do not handle *-bp.out.
12182 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12183 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12184 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12185 (tests): Do not include $(tests-bp.out).
12186 (xtests): Do not include $(xtests-bp.out).
12187 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12188 [$(build-bounded) = yes] ($(addprefix
12189 $(objpfx),$(binaries-bounded))): Remove rule.
12190 ($(objpfx)%-bp.out): Remove rule.
12191 * config.make.in (build-bounded): Remove variable.
12192 * crypt/Makefile [$(build-bounded) = yes]
12193 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12194 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12195 append to variable.
12196 [$(build-bounded) = yes] (install-lib): Likewise.
12197 [$(build-bounded) = yes] (generated): Likewise.
12198 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12200 * intl/Makefile [$(build-bounded) = yes]
12201 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12202 * math/Makefile [$(build-bounded) = yes]
12203 ($(tests:%=$(objpfx)%-bp): Likewise.
12204 * misc/Makefile [$(build-bounded) = yes]
12205 ($(objpfx)tst-tsearch-bp): Likewise.
12206 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12207 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12209 * string/Makefile (o-objects.ob): Remove variable.
12210 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12211 (CFLAGS-.ob): Remove variable.
12212 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12213 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12214 both definitions of variable.
12215 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12216 (ASFLAGS-.ob): Remove variable.
12218 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12221 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12222 Remove __BOUNDED_POINTERS__ from condition.
12223 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12224 * string/bits/string2.h [!__NO_STRING_INLINES &&
12225 !__BOUNDED_POINTERS__]: Likewise.
12226 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12228 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12229 Remove conditional code.
12230 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12231 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12232 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12236 * csu/libc-start.c: Do not include <bp-sym.h>.
12237 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12238 * elf/dl-open.c: Do not include <bp-sym.h>.
12239 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12240 * math/fegetenv.c: Do not include <bp-sym.h>.
12241 (fegetenv): Do not use BP_SYM in versioned symbols.
12242 * nptl/sysdeps/pthread/bits/libc-lockP.h
12243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12246 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12248 (__pthread_mutex_destroy): Likewise.
12249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12250 (__pthread_mutex_lock): Likewise.
12251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12252 (__pthread_mutex_trylock): Likewise.
12253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12254 (__pthread_mutex_unlock): Likewise.
12255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12256 (__pthread_mutexattr_init): Likewise.
12257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12258 (__pthread_mutexattr_destroy): Likewise.
12259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12260 (__pthread_mutexattr_settype): Likewise.
12261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12262 (__pthread_rwlock_init): Likewise.
12263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12264 (__pthread_rwlock_destroy): Likewise.
12265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12266 (__pthread_rwlock_rdlock): Likewise.
12267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12268 (__pthread_rwlock_tryrdlock): Likewise.
12269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12270 (__pthread_rwlock_wrlock): Likewise.
12271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12272 (__pthread_rwlock_trywrlock): Likewise.
12273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12274 (__pthread_rwlock_unlock): Likewise.
12275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12276 (__pthread_key_create): Likewise.
12277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12278 (__pthread_setspecific): Likewise.
12279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12280 (__pthread_getspecific): Likewise.
12281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12284 (_pthread_cleanup_push_defer): Likewise.
12285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12286 (_pthread_cleanup_pop_restore): Likewise.
12287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12288 (pthread_setcancelstate): Likewise.
12289 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12291 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12292 (memchr): Do not use BP_SYM in weak_alias.
12293 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12294 (fegetenv): Do not use BP_SYM in versioned symbols.
12295 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12296 (fesetenv): Do not use BP_SYM in versioned symbols.
12297 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12298 (feupdateenv): Do not use BP_SYM in versioned symbols.
12299 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12300 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12301 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12302 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12303 (open64): Do not use BP_SYM in weak_alias.
12304 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12305 (fegetenv): Do not use BP_SYM in versioned symbols.
12306 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12307 (fesetenv): Do not use BP_SYM in versioned symbols.
12308 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12309 (feupdateenv): Do not use BP_SYM in versioned symbols.
12310 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12311 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12312 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12313 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12314 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12315 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12316 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12318 (__libc_start_main): Do not use BP_SYM.
12320 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12323 redundant return line.
12325 (denorm): Likewise.
12326 (dbl_mp): Likewise.
12327 (sub_magnitudes): Likewise.
12333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12335 (denorm): Likewise.
12336 (dbl_mp): Likewise.
12337 (sub_magnitudes): Likewise.
12344 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12346 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12347 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12350 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12351 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12353 of __mul for squares.
12354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12358 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12359 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12361 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12364 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12366 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12367 prototype or function definition. Rename ubp_* variables and
12368 parameters. Remove argv definitions conditional on
12369 [__BOUNDED_POINTERS__].
12370 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12371 * elf/dl-runtime.c (_dl_fixup): Likewise.
12372 * include/set-hooks.h (RUN_HOOK): Likewise.
12373 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12375 * string/strcpy.c (strcpy): Do not use __unbounded.
12376 * sysdeps/generic/frame.h (struct layout): Likewise.
12377 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12378 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12379 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12380 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12381 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12382 (__backtrace): Likewise.
12383 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12385 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12386 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12387 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12389 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12390 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12391 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12392 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12393 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12394 Do not use __unbounded.
12395 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12396 Rename __unboundedrlimits parameter to rlimits in prototype.
12397 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12398 Do not use __unbounded.
12399 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12400 not use __ptrvalue.
12401 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12402 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12403 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12404 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12405 __ptrvalue or __unbounded.
12406 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12407 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12409 (__new_msgctl): Do not use __ptrvalue.
12410 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12412 (__libc_msgrcv): Do not use __ptrvalue.
12413 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12414 startup_info): Do not use __unbounded.
12415 (__libc_start_main): Likewise. Rename ubp_* variables and
12416 parameters. Remove argv definitions conditional on
12417 [__BOUNDED_POINTERS__].
12418 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12420 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12422 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12424 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12426 (__new_shmctl): Do not use __ptrvalue.
12427 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12428 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12430 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12432 (__libc_sigaction): Likewise.
12433 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12434 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12436 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12438 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12440 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12442 * string/mempcpy.c: Implement by calling memcpy.
12444 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12446 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12448 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12451 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12452 values in the mantissa.
12454 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12455 minimize writes to Z.
12456 (sub_magnitudes): Simplify code a bit.
12458 2013-02-12 Roland McGrath <roland@hack.frob.com>
12460 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12461 from the message. The linker prefixes all warnings with that already.
12463 2013-02-12 Andreas Schwab <schwab@suse.de>
12466 * posix/regexec.c (extend_buffers): Add parameter min_len.
12467 (check_matching): Pass minimum needed length.
12468 (clean_state_log_if_needed): Likewise.
12469 (get_subexp): Likewise.
12470 * posix/Makefile (tests): Add bug-regex34.
12471 (bug-regex34-ENV): Define.
12472 * posix/bug-regex34.c: New file.
12475 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12476 elements compare against the byte sequence of it, not its name.
12477 * posix/Makefile (tests): Add bug-regex35.
12478 (bug-regex35-ENV): Define.
12479 * posix/bug-regex35.c: New file.
12481 2013-02-11 Tom de Vries <tom@codesourcery.com>
12483 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12485 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12486 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12487 (CHECK_EOL): Add undef.
12489 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
12491 * bits/stdlib-bsearch.h: New file.
12492 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
12493 * stdlib/stdlib.h: Likewise.
12495 2013-02-11 Roland McGrath <roland@hack.frob.com>
12497 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12498 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12500 * manual/search.texi (Array Search Function): Add missing const in
12502 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12503 declaration to use rlim_t.
12504 (Basic Scheduling Functions): Remove erroneous const from
12505 sched_getparam prototype. Remove erroneous * from
12506 sched_get_priority_max and sched_get_priority_min prototypes.
12507 (Resource Usage): Fix summary @comment on vtimes to refer to
12508 sys/vtimes.h rather than vtimes.h.
12509 Add missing *s in vtimes prototype.
12510 (Limits on Resources): Fix ulimit prototype to return long int.
12511 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12512 prototypes to use long int rather than double.
12513 (BSD Random): Fix initstate and setstate to use char *, not void *.
12514 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12515 prototype to make second argument 'struct aiocb64 *const[]'.
12516 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12517 (Status of AIO Operations): Remove erroneous const in aio_return and
12518 aio_return64 prototypes.
12519 (Synchronizing I/O): Fix sync prototype to return void.
12520 * manual/startup.texi (Suboptions): Remove an erroneous const in
12521 getsubopt prototype.
12522 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12523 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12524 use size_t rather than int.
12525 (Scanning All Users): Likewise for getpwent_r.
12526 (Setting Groups): Add missing const to setgroups prototype.
12527 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12528 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12529 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12530 'const void *' rather than 'const char *'.
12531 (Host Address Functions): Likewise for inet_ntop.
12532 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12533 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12534 ssize_t for return value.
12535 (Sending Data): Likewise for send, sendto, sendmsg.
12536 (Socket Option Functions): Add a missing const in setsockopt prototype.
12537 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
12538 use wchar_t for the argument.
12539 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
12540 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
12542 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
12543 double/float/long double for second argument.
12544 Fix return types of significand, significandf, significandl.
12545 * manual/filesys.texi (Setting Permissions): Use mode_t for second
12546 argument in fchmod prototype.
12547 (File Owner): Use uid_t and gid_t in fchown prototype.
12548 (File Times): Add const to utimes, futimes, and lutimes prototypes.
12549 (Making Special Files): Use mode_t and dev_t in mknod prototype.
12550 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
12551 use 'const struct dirent **' as argument types to CMP function pointer
12553 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
12554 (File Times): Fix summary magic @comment for struct utimbuf and utime
12555 to refer to utime.h, not time.h.
12556 * manual/string.texi (Argz Functions): Add missing const in
12557 argz_extract and argz_next prototypes.
12558 (Finding Tokens in a String): Likewise for basename.
12559 (String/Array Comparison): Fix typo in wcscasecmp prototype.
12560 (Copying and Concatenation): Fix typo in wmemmove prototype.
12561 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
12562 (Signal Stack): Remove erroneous const in sigstack prototype.
12563 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
12565 (Simple Calendar Time): Likewise for stime.
12566 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
12568 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
12569 say sys/sysctl.h instead.
12570 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
12571 and vsyslog prototypes.
12573 2013-02-11 Tom de Vries <tom@codesourcery.com>
12575 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
12578 2013-02-11 Roland McGrath <roland@hack.frob.com>
12580 * misc/sys/mman.h: Fix typo in mremap comment.
12582 2013-02-08 Roland McGrath <roland@hack.frob.com>
12584 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
12585 the '\0' terminator.
12587 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12590 * debug/segfault.c: Don't include <bp-checks.h>.
12591 * sysdeps/generic/bp-checks.h: Remove file.
12592 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
12593 (__GETDENTS): Don't use CHECK_N.
12594 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
12595 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12596 (__getgroups): Don't use CHECK_N.
12597 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
12598 (setgroups): Don't use CHECK_N.
12599 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
12600 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
12601 (__libc_msgrcv): Don't use CHECK_N.
12602 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
12603 (__libc_msgsnd): Don't use CHECK_N.
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
12606 (__libc_pread): Don't use CHECK_N.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
12608 include <bp-checks.h>.
12609 (__libc_pread64): Don't use CHECK_N.
12610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
12611 include <bp-checks.h>.
12612 (__libc_pwrite): Don't use CHECK_N.
12613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
12614 include <bp-checks.h>.
12615 (__libc_pwrite64): Don't use CHECK_N.
12616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
12618 (__libc_pread): Don't use CHECK_N.
12619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12620 include <bp-checks.h>.
12621 (__libc_pread64): Don't use CHECK_N.
12622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12623 include <bp-checks.h>.
12624 (__libc_pwrite): Don't use CHECK_N.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12626 include <bp-checks.h>.
12627 (__libc_pwrite64): Don't use CHECK_N.
12628 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12629 (do_pread): Don't use CHECK_N.
12630 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12631 (do_pread64): Don't use CHECK_N.
12632 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12633 (do_pwrite): Don't use CHECK_N.
12634 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12635 (do_pwrite64): Don't use CHECK_N.
12636 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12637 (__libc_readv): Don't use CHECK_N.
12638 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12639 (semop): Don't use CHECK_N.
12640 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12642 (semtimedop): Don't use CHECK_N.
12643 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12644 (__libc_pread): Don't use CHECK_N.
12645 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12647 (__libc_pread64): Don't use CHECK_N.
12648 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12650 (__libc_pwrite): Don't use CHECK_N.
12651 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12653 (__libc_pwrite64): Don't use CHECK_N.
12654 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12656 (__libc_msgrcv): Don't use CHECK_N.
12657 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12658 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
12659 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12660 (__libc_writev): Don't use CHECK_N.
12662 2013-02-08 Roland McGrath <roland@hack.frob.com>
12664 * string/strcpy.c: Removed unused variable.
12666 * Makeconfig (+sysdep-includes): Define with := rather than =.
12667 Use an existing include/ subdir of each sysdeps dir before it.
12669 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12671 * nscd/connection.c (register_traced_file): Comment function.
12672 [HAVE_INOTIFY] (union __inev): Define.
12673 [HAVE_INOTIFY] (inotify_check_files): New function.
12674 [HAVE_INOTIFY] (clear_db_cache): Likewise.
12675 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12677 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12679 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12681 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12682 loaded if not already and that a failure is permanent.
12684 2013-02-08 Carlos O'Donell <carlos@redhat.com>
12687 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12688 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12690 2013-02-08 Joseph Myers <joseph@codesourcery.com>
12693 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12694 (CHECK_1_NULL_OK): Likewise.
12695 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12696 (__fxstat): Do not use CHECK_1.
12697 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12699 (___fxstat64): Do not use CHECK_1.
12700 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12702 (__fxstatat): Do not use CHECK_1.
12703 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12705 (__fxstatat64): Do not use CHECK_1.
12706 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12708 (__fxstat): Do not use CHECK_1.
12709 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12711 (__fxstatat): Do not use CHECK_1.
12712 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12714 (__getresgid): Do not use CHECK_1.
12715 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12717 (__getresuid): Do not use CHECK_1.
12718 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12720 (__lxstat): Do not use CHECK_1.
12721 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12723 (__old_msgctl): Do not use CHECK_1.
12724 (__new_msgctl): Likewise.
12725 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12727 (__new_setrlimit): Do not use CHECK_1.
12728 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12730 (__old_shmctl): Do not use CHECK_1.
12731 (__new_shmctl): Likewise.
12732 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12734 (__xstat): Do not use CHECK_1.
12735 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12736 (__lxstat): Do not use CHECK_1.
12737 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12739 (___lxstat64): Do not use CHECK_1.
12740 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12741 (__old_msgctl): Do not use CHECK_1.
12742 (__new_msgctl): Likewise.
12743 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12745 (__gettimeofday): Do not use CHECK_1.
12746 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12747 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12748 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12750 (__gettimeofday): Do not use CHECK_1.
12751 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12752 (__old_shmctl): Do not use CHECK_1_NULL_OK.
12753 (__new_shmctl): Do not use CHECK_1.
12754 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12756 (do_sigtimedwait): Do not use CHECK_1.
12757 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12759 (do_sigwaitinfo): Do not use CHECK_1.
12760 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12762 (msgctl): Do not use CHECK_1.
12763 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12765 (shmctl): Do not use CHECK_1.
12766 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12767 (ustat): Do not use CHECK_1.
12768 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12770 (__fxstat): Do not use CHECK_1.
12771 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12773 (__fxstatat): Do not use CHECK_1.
12774 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12776 (__lxstat): Do not use CHECK_1.
12777 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12779 (__xstat): Do not use CHECK_1.
12780 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12781 (__xstat): Do not use CHECK_1.
12782 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12783 (___xstat64): Do not use CHECK_1.
12786 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12788 (CHECK_BOUNDS_HIGH): Likewise.
12789 * string/strcpy.c: Do not include <bp-checks.h>.
12790 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12792 2013-02-07 Roland McGrath <roland@hack.frob.com>
12794 * nscd/nscd-client.h (__nscd_drop_map_ref):
12795 Add __attribute__ ((unused)).
12796 * nis/nss-nisplus.h (niserr2nss): Likewise.
12798 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12799 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12801 * csu/libc-tls.c (init_static_tls, init_slotinfo):
12802 Remove inline keyword.
12803 * include/rounding-mode.h (round_away): Likewise.
12804 * libio/wfileops.c (adjust_wide_data): Likewise.
12805 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12806 (__m128i_strloadu_tolower): Likewise.
12807 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12808 (__m128i_strloadu_tolower): Likewise.
12809 * time/mktime.c (ydhms_diff): Likewise.
12810 * locale/elem-hash.h (elem_hash): Likewise.
12811 * locale/setlocale.c (setdata): Likewise.
12812 * posix/regex_internal.h (re_string_char_size_at): Likewise.
12813 (re_string_wchar_at): Likewise.
12814 (bitset_not, bitset_merge, bitset_mask): Likewise.
12815 [!(__GNUC__ > 3)] (inline): Remove macro.
12816 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12817 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12818 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12819 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12820 * string/memcmp.c (memcmp_bytes): Likewise.
12821 * locale/programs/locarchive.c (compute_hashval): Likewise.
12822 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12823 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12824 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12825 * nss/getent.c (print_rpc, print_protocols): Likewise.
12826 (print_passwd, print_group, print_aliases): Likewise.
12827 * nis/nss-nisplus.h (niserr2nss): Likewise.
12828 * nscd/connections.c (restart_p): Likewise.
12829 Change return type to bool.
12831 2013-02-05 Roland McGrath <roland@hack.frob.com>
12833 * Makeconfig (all-Depend-files): Add existing
12834 $(sorted-subdirs:=/Depend) files.
12835 (all-subdirs): Remove nss.
12836 * sysdeps/unix/inet/Subdirs: Add it here instead.
12837 * hesiod/Depend: New file.
12839 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12840 instead of calling alloca.
12842 * io/lseek.c (__lseek): Rename to __libc_lseek.
12843 Define __lseek as an alias.
12845 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12847 2013-02-04 Carlos O'Donell <carlos@redhat.com>
12849 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12850 else clause and remove check for non-standard endianness.
12852 2013-02-04 David S. Miller <davem@davemloft.net>
12854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12856 2013-02-04 Joseph Myers <joseph@codesourcery.com>
12859 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12860 (__ubp_memchr): Remove prototype.
12861 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12862 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12863 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12864 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12865 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12867 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12868 (__ubp_memchr): Likewise.
12869 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12870 (__ubp_memchr): Likewise.
12871 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12872 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12873 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12874 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12876 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12877 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12878 (__getcwd): Do not use CHECK_STRING.
12879 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12881 (__real_chown): Do not use CHECK_STRING.
12882 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12884 (fchownat): Do not use CHECK_STRING.
12885 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12887 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12889 (__lchown): Do not use CHECK_STRING.
12890 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12891 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12892 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12893 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12895 include <bp-checks.h>.
12896 (truncate64): Do not use CHECK_STRING.
12897 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12899 (__real_chown): Do not use CHECK_STRING.
12900 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12902 (__lchown): Do not use CHECK_STRING.
12903 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12905 (__chown): Do not use CHECK_STRING.
12906 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12908 (truncate64): Do not use CHECK_STRING.
12909 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12911 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12912 (__xmknod): Do not use CHECK_STRING.
12913 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12915 (__xmknodat): Do not use CHECK_STRING.
12916 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12917 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12919 2013-02-04 Andreas Schwab <schwab@suse.de>
12922 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12923 * include/netdb.h: Likewise for h_errno.
12924 * elf/tst-stackguard1.c: Include <tls.h>.
12926 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12928 * elf/link.h (struct link_map): Extend the l_addr comment.
12929 * include/link.h (struct link_map): Likewise.
12931 2013-02-01 Joseph Myers <joseph@codesourcery.com>
12934 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12935 (BOUNDED_1): Remove macro.
12936 * debug/backtrace.c: Don't include <bp-checks.h>.
12937 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12938 (__backtrace): Likewise.
12939 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12941 (__backtrace): Don't use BOUNDED_1.
12942 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12944 (__backtrace): Don't use BOUNDED_1.
12945 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12946 (__backtrace): Don't use BOUNDED_1.
12947 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12948 (shmat): Don't use BOUNDED_N.
12950 2013-01-31 Joseph Myers <joseph@codesourcery.com>
12953 * sysdeps/generic/bp-start.h: Remove file.
12954 * csu/libc-start.c: Don't include <bp-start.h>.
12955 (LIBC_START_MAIN): Set up __environ directly instead of using
12956 INIT_ARGV_and_ENVIRON.
12957 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12961 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12963 (CHECK_FCNTL): Likewise.
12964 (CHECK_N_PAGES): Likewise.
12967 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12969 (CHECK_SIGSET_NULL_OK): Likewise.
12970 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12972 (sigpending): Don't use CHECK_SIGSET.
12973 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12975 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12976 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12978 (do_sigsuspend): Don't use CHECK_SIGSET.
12979 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12981 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12982 (do_sigwait): Don't use CHECK_SIGSET.
12983 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12985 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12986 include <bp-checks.h>.
12987 (sigpending): Don't use CHECK_SIGSET.
12988 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12989 include <bp-checks.h>.
12990 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12991 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12993 (sigpending): Don't use CHECK_SIGSET.
12994 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12996 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12999 * sysdeps/generic/bp-semctl.h: Remove file.
13000 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13001 <bp-checks.h> and <bp-semctl.h>.
13002 (__old_semctl): Don't use CHECK_SEMCTL.
13003 (__new_semctl): Likewise.
13004 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13006 (__old_semctl): Don't use CHECK_SEMCTL.
13007 (__new_semctl): Likewise.
13008 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13009 <bp-checks.h> and <bp-semctl.h>.
13010 (__old_semctl): Don't use CHECK_SEMCTL.
13011 (__new_semctl): Likewise.
13012 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13013 <bp-checks.h> and <bp-semctl.h>.
13014 (semctl): Don't use CHECK_SEMCTL.
13017 * Makerules (elide-bp-thunks): Remove variable.
13018 (elide-routines.oS): Don't use $(elide-bp-thunks).
13019 (elide-routines.os): Likewise.
13020 (elide-routines.o): Likewise.
13021 (elide-routines.op): Likewise.
13022 (elide-routines.og): Likewise.
13023 (objects): Don't use $(bp-thunks).
13024 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13026 (common-generated): Do not add s-proto-bp.d.
13027 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13030 Do not generate makefile rules for bounded-pointer thunks.
13031 * sysdeps/generic/bp-thunks.h: Remove file.
13032 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13033 * sysdeps/unix/s-proto-bp.S: Likewise.
13036 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13037 parts of result separately when argument is not close to line from
13038 -i to i and one part of argument is small.
13039 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13040 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13041 * math/libm-test.inc (cacos_test): Add more tests.
13042 (casin_test): Likewise.
13043 (casinh_test): Likewise.
13044 * sysdeps/i386/fpu/libm-test-ulps: Update.
13045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13047 2013-01-31 David S. Miller <davem@davemloft.net>
13049 * po/de.po: Update from translation team.
13051 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13053 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13055 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13057 * configure.in (_AC_PROG_CC_C89): New definition.
13058 * configure: Regenerate.
13060 * configure.in (AC_PROG_CPP): New definition.
13061 * configure: Regenerate.
13063 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13065 * debug/tst-backtrace.h: New file.
13066 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13067 (ret): Remove variable.
13069 (FAIL): Remove macro.
13070 (NO_INLINE): Likewise.
13071 (fn1): Use match function instead of strstr.
13072 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13073 (ret): Remove variable.
13075 (FAIL): Remove macro.
13076 (NO_INLINE): Likewise.
13077 (fn): Use match function instead of strstr.
13078 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13079 (ret): Remove variable.
13081 (FAIL): Remove macro.
13082 (NO_INLINE): Likewise.
13083 (handle_signal): Use match function instead of strstr.
13084 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13085 (ret): Remove variable.
13087 (FAIL): Remove macro.
13088 (NO_INLINE): Likewise.
13089 (handle_signal): Use match function instead of strstr.
13091 2013-01-23 Roland McGrath <roland@hack.frob.com>
13093 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13095 2013-01-23 David S. Miller <davem@davemloft.net>
13097 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13098 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13099 argument of CAS if possible.
13100 * sysdeps/sparc/sparc64/bits/atomic.h
13101 (__arch_compare_and_exchange_val_32_acq): Likewise.
13102 (__arch_compare_and_exchange_val_64_acq): Likewise.
13104 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13106 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13107 * sysdeps/posix/ulimit.c: ... this.
13108 Include <limits.h>.
13109 * sysdeps/unix/bsd/ulimit.c: Remove file.
13111 2013-01-23 Adam Conrad <adconrad@0c3.net>
13113 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13114 (LDFLAGS-tst-array5): Likewise.
13116 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13119 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13120 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13121 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13122 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13124 2013-01-21 David S. Miller <davem@davemloft.net>
13126 * sysdeps/sparc/backtrace.c: New file.
13127 * sysdeps/sparc/sparc32/backtrace.h: New file.
13128 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13129 * sysdeps/sparc/sparc64/backtrace.h: New file.
13130 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13131 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13134 2013-01-21 Andreas Schwab <schwab@suse.de>
13137 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13140 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13144 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13146 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13147 Mark Mitchell <mark@codesourcery.com>
13148 Tom de Vries <tom@codesourcery.com>
13149 Paul Pluzhnikov <ppluzhnikov@google.com>
13151 * debug/tst-backtrace2.c: New file.
13152 * debug/tst-backtrace3.c: Likewise.
13153 * debug/tst-backtrace4.c: Likewise.
13154 * debug/tst-backtrace5.c: Likewise.
13155 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13156 (CFLAGS-tst-backtrace3.c): Likewise.
13157 (CFLAGS-tst-backtrace4.c): Likewise.
13158 (CFLAGS-tst-backtrace5.c): Likewise.
13159 (LDFLAGS-tst-backtrace2): Likewise.
13160 (LDFLAGS-tst-backtrace3): Likewise.
13161 (LDFLAGS-tst-backtrace4): Likewise.
13162 (LDFLAGS-tst-backtrace5): Likewise.
13163 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13164 tst-backtrace4 and tst-backtrace5.
13166 2013-01-18 Anton Blanchard <anton@samba.org>
13167 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13169 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13170 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13171 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13172 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13174 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13175 "+r" and remove output regs list as redundant. Add explicit inline
13176 asm to specify register of return val to work around compiler codegen
13177 bug. Remove (int) cast on return value. Add return type parameter to
13178 use in macro so that this macro does not truncate return value for
13180 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13181 pass to INTERNAL_VSYSCALL_NCS.
13182 (INLINE_VSYSCALL): Add 'long int' as return type to
13183 INTERNAL_VSYSCALL_NCS macro invocation.
13184 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13185 INTERNAL_VSYSCALL_NCS macro invocation.
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13188 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13191 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13192 Fix application of SIMD FP exception mask.
13194 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13195 mp_no from a power of two.
13196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13197 __mpexp_twomm1. Use __pow_mp.
13199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13202 2013-01-17 David S. Miller <davem@davemloft.net>
13204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13206 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13209 * include/complex.h: Condition contents on [!_COMPLEX_H].
13210 (__kernel_casinhf): New prototype.
13211 (__kernel_casinh): Likewise.
13212 (__kernel_casinhl): Likewise.
13213 * math/Makefile (libm_calls): Add k_casinh.
13214 * math/k_casinh.c: New file.
13215 * math/k_casinhf.c: Likewise.
13216 * math/k_casinhl.c: Likewise.
13217 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13218 finite nonzero arguments.
13219 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13220 finite nonzero arguments.
13221 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13222 finite nonzero arguments.
13223 * math/s_casinh.c: Do not include <float.h>.
13224 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13225 * math/s_casinhf.c: Do not include <float.h>.
13226 (__casinhf): Move code for finite nonzero arguments to
13228 * math/s_casinhl.c: Do not include <float.h>.
13229 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13231 (__casinhl): Move code for finite nonzero arguments to
13233 * math/libm-test.inc (cacos_test): Add more tests.
13234 * sysdeps/i386/fpu/libm-test-ulps: Update.
13235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13237 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13239 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13240 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13241 [!HAVE_MREMAP]: Remove [defined linux] case.
13242 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13244 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13246 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13248 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13250 * elf/elf.h (R_386_SIZE32): New relocation.
13251 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13253 (elf_machine_rela): Likewise.
13254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13255 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13257 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13259 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13260 (FP_FAST_FMA): Do not define.
13261 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13262 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13263 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13264 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13265 !_SOFT_FLOAT]: Likewise.
13266 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13267 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13269 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13270 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13271 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13272 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13273 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13274 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13277 2013-01-16 Andreas Schwab <schwab@suse.de>
13280 * include/stdlib.h (__mktemp): Add declaration.
13281 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13282 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13284 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13286 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13288 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13289 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13290 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13292 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13293 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13295 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13297 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13298 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13299 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13301 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13302 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13304 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13306 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13308 2013-01-15 David S. Miller <davem@davemloft.net>
13310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13311 trunc{,f} to libm-sysdep_routes.
13312 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13322 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13323 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13324 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13325 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13326 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13327 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13330 nearbyint{,f} to libm-sysdep_routes.
13331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13342 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13344 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13345 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13347 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13348 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13349 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13351 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13352 libc_feholdexcept and libc_fesetenv.
13354 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13356 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13358 2013-01-14 David S. Miller <davem@davemloft.net>
13360 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13361 (SPARC_ASM_VIS2_IFUNC): Likewise.
13362 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13364 use of 'siam' instruction.
13365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13398 routines to libm-sysdep_routines.
13399 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13402 fdim/fdimf to libm-sysdep_routines.
13403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13411 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13412 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13413 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13414 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13416 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13418 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13419 to optimize copies.
13421 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13426 local variable MPTWO.
13427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13430 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13432 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13435 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13437 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13439 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13441 * manual/pattern.texi (glob_t): Document gl_flags.
13442 (glob64_t): Likewise.
13444 2013-01-11 David S. Miller <davem@davemloft.net>
13446 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13447 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13448 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13449 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13450 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13451 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13452 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13453 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13454 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13455 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13456 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13457 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13458 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13460 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13461 sparc V9 rather than using V8 code.
13462 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13463 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13465 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13467 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13470 2013-01-11 Roland McGrath <roland@hack.frob.com>
13472 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13473 not in the main loop.
13474 * configure: Regenerated.
13476 2013-01-11 Joseph Myers <joseph@codesourcery.com>
13478 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13479 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13481 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13482 [!__GLIBC_HAVE_LONG_LONG] case.
13483 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13484 condition to just #else.
13485 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13486 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13487 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13488 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13490 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13491 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13492 #elif condition to just #else.
13493 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13494 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13495 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13496 #elif condition to just #else.
13498 2013-01-11 Steve Ellcey <sellcey@mips.com>
13500 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13501 (EF_MIPS_ARCH_64): Fix value.
13502 (EF_MIPS_ARCH_32R2): New.
13503 (EF_MIPS_ARCH_64R2): New.
13505 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13507 * Makeconfig (+link-pie-before-libc): New.
13508 (+link-pie-after-libc): Likewise.
13509 (+link-pie-tests): Likewise.
13510 (+link-pie): Rewritten.
13511 (link-before-libc): Remove $(config-LDFLAGS).
13512 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13513 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13514 (config-LDFLAGS): Renamed to ...
13515 (rtld-LDFLAGS): This.
13516 (rtld-tests-LDFLAGS): New macro.
13517 (link-libc-rpath-link): Likewise.
13518 (link-libc-tests-rpath-link): Likewise.
13519 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13520 (link-libc): Prepand $(link-libc-rpath-link).
13521 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13522 (test-program-prefix): New macro.
13523 (test-via-rtld-prefix): Likewise.
13524 (test-program-cmd): Likewise.
13525 (host-test-program-cmd): Likewise.
13526 * Makefile ($(common-objpfx)testrun.sh): Replace
13527 $(run-program-prefix) with $(test-program-prefix).
13528 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13530 ($(common-objpfx)shlib.lds): Likewise.
13531 (build-module-helper): Likewise.
13532 ($(common-objpfx)format.lds): Likewise.
13533 * Rules (binaries-pie-tests): New.
13534 (binaries-pie-notests): Likewise.
13535 (binaries-pie): Rewritten.
13536 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13537 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
13538 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
13539 (make-test-out): Replace $(host-built-program-cmd) with
13540 $(host-test-program-cmd).
13541 * config.make.in (build-hardcoded-path-in-tests): New variable.
13542 * configure.in (--enable-hardcoded-path-in-tests): New configure
13544 (hardcoded_path_in_tests): New AC_SUBST.
13545 * configure: Regenerated.
13546 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
13547 $(built-program-cmd) with $(test-program-cmd).
13548 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
13549 (test_program_cmd): This.
13550 * elf/Makefile ($(objpfx)order.out): Run test with
13551 $(test-program-prefix).
13552 ($(objpfx)order2.out): Likewise.
13553 ($(objpfx)tst-initorder.out): Likewise.
13554 ($(objpfx)tst-initorder2.out): Likewise.
13555 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
13556 $(test-program-cmd).
13557 ($(objpfx)tst-array1-static.out): Likewise.
13558 ($(objpfx)tst-array2.out): Likewise.
13559 ($(objpfx)tst-array3.out): Likewise.
13560 ($(objpfx)tst-array4.out): Likewise.
13561 ($(objpfx)tst-array5.out): Likewise.
13562 ($(objpfx)tst-array5-static.out): Likewise.
13563 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
13564 $(test-program-cmd).
13565 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
13566 $(run-program-prefix) with $(test-program-prefix).
13567 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
13568 (test_program_prefix): This.
13569 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
13570 $(run-program-prefix) with $(test-program-prefix).
13571 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
13572 (test_program_prefix): This.
13573 * iconvdata/tst-tables.sh: Likewise.
13574 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
13575 $(run-program-prefix) with $(test-program-prefix).
13576 ($(objpfx)tst-translit.out): Likewise.
13577 ($(objpfx)tst-gettext2.out): Likewise.
13578 ($(objpfx)tst-gettext4.out): Likewise.
13579 ($(objpfx)tst-gettext6.out): Likewise.
13580 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
13581 (test_program_prefix): This.
13582 * intl/tst-gettext2.sh: Likewise.
13583 * intl/tst-gettext4.sh Likewise.
13584 * intl/tst-gettext6.sh: Likewise.
13585 * intl/tst-translit.sh: Likewise.
13586 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
13587 with $(test-program-cmd).
13588 * libio/Makefile ($(objpfx)test-freopen.out): Replace
13589 $(run-program-prefix) with $(test-program-prefix).
13590 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
13591 (test_program_prefix): This.
13592 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
13593 $(run-program-prefix) with $(test-program-prefix).
13594 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
13595 (test_program_prefix): This.
13596 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
13597 * posix/Makefile ($(objpfx)globtest.out): Replace
13598 $(run-via-rtld-prefix) and $(test-wrapper) with
13599 $(test-program-prefix) and $(test-via-rtld-prefix).
13600 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
13601 $(test-program-prefix).
13602 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
13603 $(host-test-program-cmd).
13604 (tst-spawn-ARGS): Likewise.
13605 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
13606 $(test-program-prefix).
13607 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
13608 (test_via_rtld_prefix): This.
13609 (test_wrapper): Renamed to ...
13610 (test_program_prefix): This.
13611 (run_program_prefix): Replaced by test_program_prefix.
13612 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
13613 (test_program_prefix): This.
13614 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
13615 with $(host-test-program-cmd).
13616 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
13617 $(run-program-prefix) with $(test-program-prefix).
13618 ($(objpfx)tst-printf.out): Likewise.
13619 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13620 $(test-program-cmd).
13621 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13622 (test_program_prefix): This.
13623 * stdio-common/tst-unbputc.sh: Likewise.
13624 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13625 $(run-program-prefix) with $(test-program-prefix).
13626 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13627 (test_program_prefix): This.
13628 * string/Makefile ($(objpfx)tst-svc.out): Replace
13629 $(built-program-cmd) with $(test-program-cmd).
13631 2013-01-11 Andreas Jaeger <aj@suse.de>
13634 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13635 value. Sync with Linux 3.7.
13637 2013-01-10 David S. Miller <davem@davemloft.net>
13639 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13640 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13641 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13643 2013-01-10 Roland McGrath <roland@hack.frob.com>
13645 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13647 * configure: Regenerated.
13649 2013-01-10 David S. Miller <davem@davemloft.net>
13651 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13652 sparc V9 rather than using V8 code.
13653 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13654 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13656 2013-01-10 Roland McGrath <roland@hack.frob.com>
13658 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13659 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13660 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13661 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13662 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13663 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13664 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13665 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13666 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13667 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13668 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13669 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13670 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13671 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13672 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13673 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13674 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13675 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13676 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13677 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13678 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13679 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13680 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13681 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13682 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13683 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13684 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13686 2013-01-10 David S. Miller <davem@davemloft.net>
13688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13690 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13692 * posix/Makefile (tests-static): New variable.
13693 (tests): Add $(tests-static).
13694 (tst-exec-static-ARGS): New variable.
13695 (tst-spawn-static-ARGS): Likewise.
13696 * posix/tst-exec-static.c: New file.
13697 * posix/tst-spawn-static.c: Likewise.
13698 * posix/tst-exec.c: Support run directly.
13699 * posix/tst-spawn.c: Likewise.
13701 2013-01-10 Joseph Myers <joseph@codesourcery.com>
13703 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13705 * math/bits/mathcalls.h (llrint): Likewise.
13706 (llround): Likewise.
13707 * stdlib/stdlib.h (struct drand48_data): Likewise.
13708 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13709 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13710 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13712 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13714 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13715 (elf_greg_t): Likewise.
13716 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13717 (__jmp_buf): Likewise.
13718 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13720 (llrint): Likewise, for all definitions.
13721 (llrintl): Likewise.
13723 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13724 Remove [__GNUC__] condition.
13725 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13726 condition to just [__USE_ISOC99].
13727 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13729 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
13732 * sysdeps/unix/sysv/linux/x86/bits/environments.h
13733 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13735 (_POSIX_V6_ILP32_OFF32): Likewise.
13736 (_XBS5_ILP32_OFF32): Likewise.
13737 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13738 (__ILP32_OFFBIG_LDFLAGS): Likewise.
13740 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13742 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13745 doubles __mpexp_twomm1. Adjust usage.
13746 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13749 2013-01-10 Andreas Schwab <schwab@suse.de>
13752 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13753 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13755 2013-01-09 David S. Miller <davem@davemloft.net>
13758 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13759 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13760 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13761 TCP_FASTOPEN): Define.
13762 (tcp_repair_opt): New structure.
13763 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13765 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13766 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13767 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13768 (tcp_cookie_transactions): New structure.
13770 2013-01-09 Anton Blanchard <anton@samba.org>
13772 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13773 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13774 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13775 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13777 2013-01-09 Joseph Myers <joseph@codesourcery.com>
13779 * include/features.h (__USE_ANSI): Remove.
13781 2013-01-09 Roland McGrath <roland@hack.frob.com>
13783 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13785 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13787 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13789 * sysdeps/s390/fpu/libm-test-ulps: Update.
13791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13793 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13797 (denorm): Likewise.
13798 (__mp_dbl): Likewise.
13799 (__dbl_mp): Likewise.
13800 (add_magnitudes): Likewise.
13801 (sub_magnitudes): Likewise.
13807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13811 (denorm): Likewise.
13812 (__mp_dbl): Likewise.
13813 (__dbl_mp): Likewise.
13814 (add_magnitudes): Likewise.
13815 (sub_magnitudes): Likewise.
13821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13825 (denorm): Likewise.
13826 (__mp_dbl): Likewise.
13827 (__dbl_mp): Likewise.
13828 (add_magnitudes): Likewise.
13829 (sub_magnitudes): Likewise.
13836 2013-01-08 Joseph Myers <joseph@codesourcery.com>
13838 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13839 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13840 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13841 2 && __USE_EXTERN_INLINES]: Likewise.
13843 2013-01-08 Andreas Jaeger <aj@suse.de>
13846 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13848 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13849 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13851 2013-01-07 Anton Blanchard <anton@samba.org>
13853 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13854 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13855 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13856 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13857 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13858 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13859 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13860 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13862 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13863 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13864 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13865 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13866 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13867 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13868 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13869 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13870 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13871 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13872 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13873 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13874 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13875 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13876 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13877 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13878 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13879 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13880 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13881 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13882 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13883 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13885 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13886 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13887 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13888 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13889 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13890 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13891 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13892 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13893 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13894 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13895 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13897 2013-01-07 Joseph Myers <joseph@codesourcery.com>
13899 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13900 (__MALLOC_PMT): Likewise.
13901 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13902 [__GNUC__], only on [_LIBC].
13903 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13904 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13905 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13906 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13907 forward declaration.
13908 (realloc_hook_ini): Likewise.
13909 (memalign_hook_ini): Likewise.
13910 (__libc_memalign): Do not use __MALLOC_PMT in variable
13912 (__libc_valloc): Likewise.
13913 (__libc_pvalloc): Likewise.
13914 (__libc_calloc): Likewise.
13915 (__posix_memalign): Likewise.
13918 * math/s_casinh.c: Include <float.h>.
13919 (__casinh): Do not do computation with squaring and square root
13920 for large arguments.
13921 * math/s_casinhf.c: Include <float.h>.
13922 (__casinhf): Do not do computation with squaring and square root
13923 for large arguments.
13924 * math/s_casinhl.c: Include <float.h>.
13925 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13926 (__casinhl): Do not do computation with squaring and square root
13927 for large arguments.
13928 * math/libm-test.inc (casin_test): Add more tests.
13929 (casinh_test): Likewise.
13930 * sysdeps/i386/fpu/libm-test-ulps: Update.
13931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13933 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
13935 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13936 (__x86_64_raw_data_cache_size): Likewise.
13937 (__x86_64_data_cache_size_half): Likewise.
13938 (__x86_64_raw_data_cache_size_half): Likewise.
13939 (__x86_64_shared_cache_size): Likewise.
13940 (__x86_64_raw_shared_cache_size): Likewise.
13941 (__x86_64_shared_cache_size_half): Likewise.
13942 (__x86_64_raw_shared_cache_size_half): Likewise.
13943 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13945 (__x86_data_cache_size): This.
13946 (__x86_64_raw_data_cache_size): Renamed to ...
13947 (__x86_raw_data_cache_size): This.
13948 (__x86_64_data_cache_size_half): Renamed to ...
13949 (__x86_data_cache_size_half): This.
13950 (__x86_64_raw_data_cache_size_half): Renamed to ...
13951 (__x86_raw_data_cache_size_half): This.
13952 (__x86_64_shared_cache_size): Renamed to ...
13953 (__x86_shared_cache_size): This.
13954 (__x86_64_raw_shared_cache_size): Renamed to ...
13955 (__x86_raw_shared_cache_size): This.
13956 (__x86_64_shared_cache_size_half): Renamed to ...
13957 (__x86_shared_cache_size_half): This.
13958 (__x86_64_raw_shared_cache_size_half): Renamed to ...
13959 (__x86_raw_shared_cache_size_half): This.
13960 * sysdeps/x86_64/memcpy.S: Updated.
13961 * sysdeps/x86_64/memset.S: Likewise.
13962 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13963 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13964 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13966 2013-01-04 David S. Miller <davem@davemloft.net>
13968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13970 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
13972 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13973 1 to avoid redefinition warning.
13974 (__USE_GNU): Don't define.
13975 (init_signaling_nan): Protoize.
13977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13979 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13981 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13983 (__cpymn): Likewise.
13984 (norm): Remove commented code.
13985 (denorm): Likewise.
13986 (__mp_dbl): Likewise.
13988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13989 (__cpymn): Likewise.
13990 (norm): Remove commented code.
13991 (denorm): Likewise.
13992 (__mp_dbl): Likewise.
13995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13996 mp_no value for 1.0 and 2.0.
13997 (norm): Use RADIXI instead of radixi.d.
13998 (denorm): Likewise.
13999 (__mul): Use 0.0 instead of zero.d.
14000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14001 mp_no value for 1.0 and 2.0.
14002 (norm): Use RADIXI instead of radixi.d.
14003 (denorm): Likewise.
14004 (__mul): Use 0.0 instead of zero.d.
14006 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14009 * math/s_casinh.c (__casinh): Reduce finite argument to first
14010 quadrant then set signs of results at the end.
14011 * math/s_casinhf.c (__casinhf): Likewise.
14012 * math/s_casinhl.c (__casinhl): Likewise.
14013 * math/libm-test.inc (casin_test): Add more tests.
14014 (casinh_test): Likewise.
14015 * sysdeps/i386/fpu/libm-test-ulps: Update.
14016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14018 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14020 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14022 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14024 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14026 (denorm): Likewise.
14027 (__mp_dbl): Likewise.
14030 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14031 and adjust the header comment.
14033 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14034 variable name from declaration.
14036 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14039 Initialize COMMON_CPUID_INDEX_7 element.
14040 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14041 (CPUID_RTM): Likewise.
14042 (HAS_RTM): Likewise.
14043 (COMMON_CPUID_INDEX_7): New enum.
14045 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14048 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14049 size is zero, record memory as freed.
14051 2013-01-03 Andreas Jaeger <aj@suse.de>
14053 * po/ia.po: Add new Interlingua translation.
14055 2012-01-03 Allan McRae <allan@archlinux.org>
14057 * locale/programs/localedef.c: Fix description of '--posix' flag.
14059 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14061 * NEWS: Update dates in second copyright notice.
14062 * README: Update copyright dates in example.
14063 * manual/libc.texinfo: Update copyright dates.
14064 * scripts/test-installation.pl: Update copyright date in --version
14067 * hurd/ctty-input.c: Fix copyright notice formatting.
14068 * hurd/ctty-output.c: Likewise.
14069 * hurd/dtable.c: Likewise.
14070 * hurd/hurd-raise.c: Likewise.
14071 * hurd/hurdprio.c: Likewise.
14072 * hurd/msgportdemux.c: Likewise.
14073 * misc/sys/file.h: Likewise.
14074 * misc/sys/ioctl.h: Likewise.
14075 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14076 * sysdeps/mach/hurd/chdir.c: Likewise.
14077 * sysdeps/mach/hurd/fchdir.c: Likewise.
14078 * sysdeps/mach/hurd/rename.c: Likewise.
14079 * sysdeps/mach/hurd/rmdir.c: Likewise.
14080 * sysdeps/mach/hurd/seekdir.c: Likewise.
14081 * sysdeps/mach/hurd/setsid.c: Likewise.
14082 * sysdeps/posix/wait3.c: Likewise.
14084 * All files with FSF copyright notices: Update copyright dates
14085 using scripts/update-copyrights.
14086 * intl/plural.c: Regenerated.
14087 * locale/programs/charmap-kw.h: Likewise.
14088 * locale/programs/locfile-kw.h: Likewise.
14090 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14092 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14095 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14096 calculation loop and add branch prediction.
14098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14099 check access beyond bounds of m1np.
14101 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14103 (__inv): Remove local variable MPTWO to use the global
14105 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14106 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14108 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14109 MP3HALFS static const.
14111 2013-01-01 David S. Miller <davem@davemloft.net>
14113 * po/ca.po: Update from translation team.
14115 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14117 * scripts/update-copyrights: New file.
14118 * Makeconfig: Reformat copyright notice.
14119 * ctype/ctype.h: Likewise.
14120 * debug/swprintf_chk.c: Likewise.
14121 * elf/dl-cache.c: Likewise.
14122 * elf/dl-debug.c: Likewise.
14123 * elf/dl-object.c: Likewise.
14124 * grp/initgroups.c: Likewise.
14125 * hurd/Makefile: Likewise.
14126 * hurd/hurd/signal.h: Likewise.
14127 * hurd/hurdfault.c: Likewise.
14128 * hurd/hurdioctl.c: Likewise.
14129 * hurd/hurdlookup.c: Likewise.
14130 * hurd/intr-msg.c: Likewise.
14131 * iconv/gconv_open.c: Likewise.
14132 * libio/swprintf.c: Likewise.
14133 * locale/lc-ctype.c: Likewise.
14134 * locale/nl_langinfo.c: Likewise.
14135 * mach/Machrules: Likewise.
14136 * mach/Makefile: Likewise.
14137 * malloc/obstack.h: Likewise.
14138 * manual/Makefile: Likewise.
14139 * manual/tsort.awk: Likewise.
14140 * misc/bits/stab.def: Likewise.
14141 * nis/nis_print_group_entry.c: Likewise.
14142 * nis/nis_table.c: Likewise.
14143 * nis/nss_compat/compat-pwd.c: Likewise.
14144 * nis/nss_compat/compat-spwd.c: Likewise.
14145 * po/Makefile: Likewise.
14146 * posix/fnmatch.c: Likewise.
14147 * posix/regex.h: Likewise.
14148 * resolv/Makefile: Likewise.
14149 * resolv/nss_dns/dns-network.c: Likewise.
14150 * resolv/res_hconf.c: Likewise.
14151 * scripts/gen-sorted.awk: Likewise.
14152 * soft-fp/soft-fp.h: Likewise.
14153 * stdio-common/printf.h: Likewise.
14154 * stdlib/monetary.h: Likewise.
14155 * stdlib/random.c: Likewise.
14156 * stdlib/random_r.c: Likewise.
14157 * sysdeps/generic/Makefile: Likewise.
14158 * sysdeps/gnu/Makefile: Likewise.
14159 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14180 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14182 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14183 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14184 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14185 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14187 * sysdeps/mach/hurd/errnos.awk: Likewise.
14188 * sysdeps/mach/hurd/fork.c: Likewise.
14189 * sysdeps/mach/hurd/getcwd.c: Likewise.
14190 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14191 * sysdeps/mach/hurd/mmap.c: Likewise.
14192 * sysdeps/mach/hurd/utimes.c: Likewise.
14193 * sysdeps/mach/hurd/xmknod.c: Likewise.
14194 * sysdeps/posix/profil.c: Likewise.
14195 * sysdeps/posix/readdir_r.c: Likewise.
14196 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14197 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14198 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14199 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14201 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14202 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14203 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14205 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14206 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14207 * sysdeps/pthread/lio_listio.c: Likewise.
14208 * sysdeps/sparc/dl-procinfo.h: Likewise.
14209 * sysdeps/unix/i386/sysdep.S: Likewise.
14210 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14211 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14212 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14213 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14215 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14216 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14217 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14218 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14219 * sysdeps/wordsize-32/divdi3.c: Likewise.
14220 * time/sys/time.h: Likewise.
14221 * wcsmbs/Makefile: Likewise.
14223 2013-01-01 David S. Miller <davem@davemloft.net>
14225 * po/fr.po: Update from translation team.
14227 * catgets/gencat.c: Update copyright year.
14228 * csu/version.c: Likewise.
14229 * debug/catchsegv.sh: Likewise.
14230 * debug/pcprofiledump.c: Likewise.
14231 * debug/xtrace.sh: Likewise.
14232 * elf/ldconfig.c: Likewise.
14233 * elf/ldd.bash.in: Likewise.
14234 * elf/pldd.c: Likewise.
14235 * elf/sotruss.ksh: Likewise.
14236 * elf/sprof.c: Likewise.
14237 * iconv/iconv_prog.c: Likewise.
14238 * iconv/iconvconfig.c: Likewise.
14239 * locale/programs/locale.c: Likewise.
14240 * locale/programs/localedef.c: Likewise.
14241 * login/programs/pt_chown.c: Likewise.
14242 * malloc/memusage.sh: Likewise.
14243 * malloc/memusagestat.c: Likewise.
14244 * malloc/mtrace.pl: Likewise.
14245 * nscd/nscd.c: Likewise.
14246 * nss/getent.c: Likewise.
14247 * nss/makedb.c: Likewise.
14248 * posix/getconf.c: Likewise.
14250 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14252 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14255 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14257 * math/bits/mathcalls.h (modf): Use __nonnull.
14259 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14261 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14262 (split): Use macro CN instead of the bare value.
14263 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14265 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14266 instead of the bare value.
14267 (power1): Likewise.
14269 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14271 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14273 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14275 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14277 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14278 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14279 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14280 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14282 2012-12-28 Andreas Jaeger <aj@suse.de>
14284 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14285 values are from Linux 3.7.
14287 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14288 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14290 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14292 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14295 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14297 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14298 variables with preprocessor constants.
14299 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14300 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14301 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14303 2012-12-27 Bruno Haible <bruno@clisp.org>
14306 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14309 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14311 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14312 and use variable directly.
14313 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14315 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14317 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14318 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14320 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14321 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14322 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14323 include directive. Remove local variable MPONE.
14324 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14325 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14326 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14328 2012-12-25 David S. Miller <davem@davemloft.net>
14330 * version.h (RELEASE): Set to "development".
14331 (VERSION): Set to "2.17.90".
14332 * NEWS: Add 2.18 section.
14334 2012-12-21 David S. Miller <davem@davemloft.net>
14336 * po/hr.po: Update from translation team.
14338 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14340 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14342 2012-12-19 Steve Ellcey <sellcey@mips.com>
14344 * NEWS: Mention new memcpy for MIPS.
14346 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14348 * manual/contrib.texi (Contributors): Spelling correction.
14350 2012-12-15 David S. Miller <davem@davemloft.net>
14352 * po/ru.po: Update from translation team.
14354 2012-12-13 David S. Miller <davem@davemloft.net>
14356 * NEWS: Mention IFUNC testsuite enhancements.
14358 * po/pl.po: Update from translation team.
14359 * po/bg.po: Likewise.
14361 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14362 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14364 2012-12-11 David S. Miller <davem@davemloft.net>
14366 * po/sv.po: Update from translation team.
14368 * po/vi.po: Update from translation team.
14370 * po/cs.po: Update from translation team.
14372 * po/de.po: Update from translation team.
14373 * po/eo.po: Likewise.
14374 * po/nl.po: Likewise.
14376 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14379 * manual/argp.texi (Argp Helper Functions): Move node to follow
14380 Argp Parsing State.
14383 * manual/conf.texi (Limits on File System Capacity): Mention if
14384 terminating null is included in the max size.
14386 2012-12-10 Andreas Jaeger <aj@suse.de>
14388 * po/cs.po: Update from translation team.
14390 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14392 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14393 void pointer and cast to uintptr_t.
14394 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14396 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14397 * sysdeps/s390/s390-64/memset.S: Likewise.
14399 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14402 * menual/message.texi (Message Translation): Fix typos.
14403 (Helper programs for gettext): Likewise.
14405 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14408 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14411 2012-12-07 David S. Miller <davem@davemloft.net>
14413 * po/libc.pot: Update.
14415 2012-12-07 Richard Henderson <rth@redhat.com>
14418 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14419 normal/normal case to before the switch.
14420 (_FP_DIV): Likewise.
14422 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14423 Mike Frysinger <vapier@gentoo.org>
14425 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14426 check for __NR_fadvise64_64.
14428 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14430 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14431 0, not just to plain "0" as a statement.
14432 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14435 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14437 * NEWS: Use sourceware.org in Bugzilla URL.
14439 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14442 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14444 * stdio-common/tst-put-error.c (do_test): Add newline to the
14445 padded test to ensure flush.
14447 2012-12-05 Jeff Law <law@redhat.com>
14449 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14451 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14453 * README: Don't refer to ports add-on as distributed separately.
14454 Mention AArch64 in list of systems supported in the ports add-on.
14456 * LICENSES: Add more non-FSF copyright and license notices.
14458 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14461 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14463 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14464 10000 as width of padded output.
14466 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14468 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14470 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14471 variable LX with __attribute__ ((unused)).
14472 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14474 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14475 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14476 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14477 with __attribute__ ((unused)).
14479 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
14481 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14483 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14485 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14486 (CFLAGS-nldbl-acos.c): New variable.
14487 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14488 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14489 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14490 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14491 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14492 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14493 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14494 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14495 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14496 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14497 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14498 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14499 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14500 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14501 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14502 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14503 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14504 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14505 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14506 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14507 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14508 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14509 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14510 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14511 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14512 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14513 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14514 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14515 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14516 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14517 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14518 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14519 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14520 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14521 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14522 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14523 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14524 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14525 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14526 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14527 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14528 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14529 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14530 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14531 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14532 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14533 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14534 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14535 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14536 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14537 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
14538 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
14539 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
14540 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
14541 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
14542 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
14543 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
14544 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
14545 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
14546 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
14547 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
14548 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
14549 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
14550 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
14551 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
14552 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
14553 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
14554 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
14555 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
14556 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
14557 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
14558 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
14559 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
14560 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
14561 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
14562 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
14563 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
14564 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
14565 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
14566 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
14567 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
14568 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
14569 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
14570 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
14571 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
14572 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
14573 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
14574 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
14575 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
14576 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
14577 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
14578 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
14579 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
14580 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
14581 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
14582 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
14583 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
14585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14586 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14589 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
14590 whole low double instead of just low 47 bits when splitting values
14593 2012-12-03 Allan McRae <allan@archlinux.org>
14595 * manual/stdio.texi (Predefined Printf Handlers): Remove
14596 @hsep and @vsep usage.
14598 2012-12-03 Mike Frysinger <vapier@gentoo.org>
14600 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
14601 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
14603 2012-12-03 Jeff Law <law@redhat.com>
14605 * time/sys/time.h (settimeofday): Do not mark TV argument
14608 2012-12-01 Mike Frysinger <vapier@gentoo.org>
14610 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
14611 when currently writing and seek to current position when not.
14612 * libio/Makefile (tests): Remove bug-fclose1.
14613 * libio/bug-fclose1.c: Delete.
14615 2012-12-01 Joseph Myers <joseph@codesourcery.com>
14617 * manual/arith.texi (feenableexcept): Fix typo.
14618 (fedisableexcept): Likewise.
14620 2012-11-30 Roland McGrath <roland@hack.frob.com>
14622 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14623 second, differently-typed declaration, rather than a cast.
14625 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14627 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14628 * include/rpc/svc.h: ... here.
14630 2012-11-30 Aurelien Jarno <aurel32@debian.org>
14633 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14634 depending n and resplen2 to catch cases where answer
14637 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
14639 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14640 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14642 2012-11-29 Mike Frysinger <vapier@gentoo.org>
14644 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14646 2012-11-29 Roland McGrath <roland@hack.frob.com>
14648 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14650 2012-11-28 Jeff Law <law@redhat.com>
14653 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14654 dataset_temporary. Track alloca usage into alloca_used.
14655 If dataset is large allocate and release it via malloc/free.
14657 2012-06-04 Florian Weimer <fweimer@redhat.com>
14660 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14662 2012-11-28 David S. Miller <davem@davemloft.net>
14664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14666 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14669 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14670 of pi/2 rounded to nearest to 64 bits.
14671 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14672 nearest to 64 bits.
14673 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14676 2012-11-28 Jeff Law <law@redhat.com>
14677 Martin Osvald <mosvald@redhat.com>
14680 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14681 * sunrpc/svc.c: Include time.h.
14682 (__svc_accept_failed): New function.
14683 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14684 any reason other than EINTR, call __svc_accept_failed.
14685 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14686 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14688 2012-11-28 Andreas Schwab <schwab@suse.de>
14690 * scripts/abilist.awk: Also handle indirect functions in .opd
14693 2012-11-28 Joseph Myers <joseph@codesourcery.com>
14696 * sysdeps/x86/fpu/powl_helper.c: New file.
14697 * sysdeps/x86/fpu/Makefile: Likewise.
14698 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14700 (__ieee754_powl): Use __powl_helper for finite arguments except
14701 integer exponents below 8.
14702 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14704 (__ieee754_powl): Use __powl_helper for finite arguments except
14705 integer exponents below 8.
14706 * math/libm-test.inc (pow_test): Add more tests and enable some
14707 previously disabled tests.
14708 * sysdeps/i386/fpu/libm-test-ulps: Update.
14709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14711 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14712 Carlos O'Donell <carlos_odonell@mentor.com>
14714 * nss/makedb.c (is_prime): Assert that input is odd and greater
14715 than 4. Note that fact in a comment too.
14716 (next_prime): Add 4 to input.
14718 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14721 * libio/Makefile (tests): Add test case tst-fwrite-error.
14722 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14723 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14724 * libio/tst-fwrite-error.c: New test case.
14726 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
14728 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14729 before casting to void *.
14730 * include/libc-internal.h (__pointer_type): New macro.
14731 (__integer_if_pointer_type_sub): Likewise.
14732 (__integer_if_pointer_type): Likewise.
14733 (cast_to_integer): Likewise.
14734 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14735 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14736 before casting to atomic64_t.
14737 (atomic_exchange_acq): Likewise.
14738 (__arch_exchange_and_add_body): Likewise.
14739 (__arch_add_body): Likewise.
14740 (atomic_add_negative): Likewise.
14741 (atomic_add_zero): Likewise.
14743 2012-11-26 Joseph Myers <joseph@codesourcery.com>
14745 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14746 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14747 (add_fdes): Likewise.
14748 (linear_search_fdes): Likewise.
14749 (binary_search_unencoded_fdes): Likewise.
14751 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
14753 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14755 2012-11-24 Adam Conrad <adconrad@0c3.net>
14757 * configure.in: Autodetect C++ header directories.
14758 * configure: Regenerated.
14760 2012-11-23 Mike Frysinger <vapier@gentoo.org>
14762 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14764 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
14766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14768 2012-11-22 Joseph Myers <joseph@codesourcery.com>
14770 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14771 LDBL_MANT_DIG == 106]: Disable some tests.
14772 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14774 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14779 input for small inputs. Return +/- pi/2 for large inputs.
14780 * math/libm-test.inc (atan_test): Add more tests.
14782 * sysdeps/generic/unwind-dw2-fde-glibc.c
14783 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14784 __attribute__ ((unused)).
14787 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14788 x * y if x and y are nonzero and z is zero.
14791 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14792 nonzero exponents with absolute value below 0x1p-117 to +/-
14796 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14797 up arguments below 2**-450, not just those below 2**-500.
14798 * math/libm-test.inc (hypot_test): Add another test.
14801 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14802 Return a+b for ratio over 2**120, not 2**60.
14803 * math/libm-test.inc (hypot_test): Add another test.
14805 * math/libm-test.inc (clog_test): Use
14806 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14807 (clog10_test): Likewise.
14810 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14812 2012-11-22 Andreas Schwab <schwab@suse.de>
14814 * sysdeps/i386/fpu/libm-test-ulps: Update.
14816 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
14818 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14819 printf output with newline.
14821 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
14824 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14825 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14826 -z nodlopen, -z initfirst and -z execstack support.
14827 * configure: Regenerated.
14829 * elf/elf.h (DF_1_NODIRECT): New macro.
14830 (DF_1_IGNMULDEF): Likewise.
14831 (DF_1_NOKSYMS): Likewise.
14832 (DF_1_NOHDR): Likewise.
14833 (DF_1_EDITED): Likewise.
14834 (DF_1_NORELOC): Likewise.
14835 (DF_1_SYMINTPOSE): Likewise.
14836 (DF_1_GLOBAUDIT): Likewise.
14837 (DF_1_SINGLETON): Likewise.
14838 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14839 DT_1_SUPPORTED_MASK bits.
14840 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14842 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
14844 * sysdeps/unix/make-syscalls.sh: Document prefixes.
14846 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
14848 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14851 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14852 (sendmmsg): Move declarations...
14853 * socket/sys/socket.h: ... here.
14854 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14855 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14857 * socket/recvmmsg.c: ... this new file.
14858 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14859 (sendmmsg): Rename to __sendmmsg, create weak alias and make
14860 definition of __sendmmsg hidden.
14861 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14862 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14863 Move ENOSYS stub into and include it from...
14864 * socket/sendmmsg.c: ... this new file.
14865 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14866 (sysdep_routines): Move recvmmsg and sendmmsg...
14867 * socket/Makefile (routines): ... here.
14868 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14869 (GLIBC_PRIVATE): Add __sendmmsg.
14870 * include/sys/socket.h (__sendmmsg): Add declarations.
14871 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14874 2012-11-20 Joseph Myers <joseph@codesourcery.com>
14876 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14877 variable I1 with __attribute__ ((unused)).
14878 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14880 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14882 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14883 DUMMY variables with __attribute__ ((unused)).
14885 * bits/byteswap.h: Include <bits/types.h>.
14886 (__bswap_64): Use __uint64_t instead of unsigned long long int.
14888 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
14890 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14891 string_t. Do not manually set errno.
14892 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14893 length with __strnlen. Make sure to both set errno and return it on
14896 2012-11-19 David S. Miller <davem@davemloft.net>
14898 With help from Joseph Myers.
14899 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14900 very large arguments properly.
14901 * math/libm-test.inc (atan_test): New tests.
14902 (atan2_test): New tests.
14903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14906 2012-11-19 Joseph Myers <joseph@codesourcery.com>
14909 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14912 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14913 [POSIX] (EADDRNOTAVAIL): Likewise.
14914 [POSIX] (EAFNOSUPPORT): Likewise.
14915 [POSIX] (EALREADY): Likewise.
14916 [POSIX] (ECONNABORTED): Likewise.
14917 [POSIX] (ECONNREFUSED): Likewise.
14918 [POSIX] (ECONNRESET): Likewise.
14919 [POSIX] (EDESTADDRREQ): Likewise.
14920 [POSIX] (EDQUOT): Likewise.
14921 [POSIX] (EHOSTUNREACH): Likewise.
14922 [POSIX] (EIDRM): Likewise.
14923 [POSIX] (EISCONN): Likewise.
14924 [POSIX] (ELOOP): Likewise.
14925 [POSIX] (EMULTIHOP): Likewise.
14926 [POSIX] (ENETDOWN): Likewise.
14927 [POSIX] (ENETUNREACH): Likewise.
14928 [POSIX] (ENOBUFS): Likewise.
14929 [POSIX] (ENODATA): Likewise.
14930 [POSIX] (ENOLINK): Likewise.
14931 [POSIX] (ENOMSG): Likewise.
14932 [POSIX] (ENOPROTOOPT): Likewise.
14933 [POSIX] (ENOSR): Likewise.
14934 [POSIX] (ENOSTR): Likewise.
14935 [POSIX] (ENOTCONN): Likewise.
14936 [POSIX] (ENOTSOCK): Likewise.
14937 [POSIX] (EOPNOTSUPP): Likewise.
14938 [POSIX] (EOVERFLOW): Likewise.
14939 [POSIX] (EPROTO): Likewise.
14940 [POSIX] (EPROTONOSUPPORT): Likewise.
14941 [POSIX] (EPROTOTYPE): Likewise.
14942 [POSIX] (ESTALE): Likewise.
14943 [POSIX] (ETIME): Likewise.
14944 [POSIX] (ETXTBSY): Likewise.
14945 [POSIX] (EWOULDBLOCK): Likewise.
14946 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14947 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14948 [POSIX] (SEEK_CUR): Likewise.
14949 [POSIX] (SEEK_END): Likewise.
14950 [POSIX || UNIX98] (mode_t): Do not require.
14951 [POSIX] (off_t): Likewise.
14952 [POSIX] (pid_t): Likewise.
14953 [POSIX] (sys/stat.h): Do not allow header.
14954 [POSIX] (unistd.h): Likewise.
14955 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14956 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14957 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14958 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14960 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14961 sigevent): Specify elements.
14962 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14964 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14965 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14967 * conform/data/cpio.h-data [POSIX]: Disable whole file.
14968 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14969 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14970 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14971 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14972 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14973 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14974 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14975 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14976 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14977 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14978 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14979 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14980 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14982 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14984 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14986 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14988 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14989 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14990 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14991 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14992 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14993 Specify lower bound on value.
14994 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14995 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14996 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14997 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14998 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14999 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15000 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15001 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15003 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15005 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15006 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15007 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15008 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15009 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15010 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15011 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15012 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15013 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15014 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15015 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15016 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15017 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15018 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15019 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15020 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15022 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15024 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15025 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15026 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15027 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15028 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15029 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15031 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15032 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15033 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15034 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15035 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15036 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15037 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15039 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15040 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15041 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15042 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15043 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15044 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15045 specify as optional.
15046 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15047 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15048 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15049 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15050 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15051 [XPG3] (NL_LANGMAX): Likewise.
15052 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15053 [POSIX || XPG3] (NL_NMAX): Likewise.
15054 [POSIX || XPG3] (NL_SETMAX): Likewise.
15055 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15056 [XPG3] (NZERO): Likewise.
15057 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15058 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15059 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15060 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15061 (REG_ERANGE): Expect.
15062 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15064 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15065 Use (void) in prototype.
15066 [POSIX] (*_t): Allow.
15067 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15068 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15069 (WRDE_BADVAL): Expect.
15071 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15073 [XPG3 || XPG4] (O_RSYNC): Likewise.
15074 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15076 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15077 [XPG3 || XPG4] (sigqueue): Likewise.
15078 [XPG3 || XPG4] (sigtimedwait): Likewise.
15079 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15080 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15081 [XPG3 || XPG4] (vsnprintf): Likewise.
15082 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15084 [XPG3 || XPG4] (blksize_t): Likewise.
15085 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15087 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15088 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15089 [XPG3 || XPG4] (struct itimerspec): Likewise.
15090 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15091 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15092 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15093 [XPG3 || XPG4] (clockid_t): Likewise.
15094 [XPG3 || XPG4] (timer_t): Likewise.
15095 [XPG3 || XPG4] (clock_getres): Likewise.
15096 [XPG3 || XPG4] (clock_gettime): Likewise.
15097 [XPG3 || XPG4] (clock_settime): Likewise.
15098 [XPG3 || XPG4] (nanosleep): Likewise.
15099 [XPG3 || XPG4] (timer_create): Likewise.
15100 [XPG3 || XPG4] (timer_delete): Likewise.
15101 [XPG3 || XPG4] (timer_gettime): Likewise.
15102 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15103 [XPG3 || XPG4] (timer_settime): Likewise.
15104 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15105 [XPG3 || XPG4] (getlogin_r): Likewise.
15106 [XPG3 || XPG4] (pread): Likewise.
15107 [XPG3 || XPG4] (pthread_atfork): Likewise.
15108 [XPG3 || XPG4] (pwrite): Likewise.
15111 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15114 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15116 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15117 finalizing MALLSTREAM.
15119 * sysdeps/mach/hurd/syncfs.c: New file.
15121 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15124 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15125 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15126 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15127 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15128 (_nss_dns_gethostbyname4_r): Likewise.
15129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15130 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15132 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15135 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15137 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15139 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15140 * elf/cache.c (print_entry): Print ",AArch64" for
15143 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15144 * elf/cache.c (print_entry): Print ",hard-float" for
15147 2012-11-18 David S. Miller <davem@davemloft.net>
15149 With help from Joseph Myers.
15150 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15152 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15154 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15155 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15157 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15158 * math/libm-test.inc (y0_test): New tests.
15159 (y1_test): New tests.
15160 * sysdeps/i386/fpu/libm-test-ulps: Update.
15161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15164 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15166 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15168 * configure: Regenerated.
15170 2012-11-17 David S. Miller <davem@davemloft.net>
15173 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15174 nonzero exponents with absolute value below 0x1p-128 to +/-
15177 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15179 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15181 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15183 * posix/getconf-speclist.c: New file.
15184 * posix/posix-envs.def: Likewise.
15185 * posix/confstr.c (START_ENV_GROUP): New macro.
15186 (END_ENV_GROUP): Likewise.
15187 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15188 (KNOWN_PRESENT_ENV_STRING): Likewise.
15189 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15190 (UNKNOWN_ENVIRONMENT): Likewise.
15191 (confstr): Include posix-envs.def instead of handling
15192 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15193 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15194 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15195 (END_ENV_GROUP): Likewise.
15196 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15197 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15198 (UNKNOWN_ENVIRONMENT): Likewise.
15199 (__sysconf): Include posix-envs.def instead of handling associated
15200 cases directly here.
15201 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15202 preprocessing getconf-speclist.c rather than running getconf or
15203 generating empty file.
15205 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15207 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15209 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15212 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15214 2012-11-16 David S. Miller <davem@davemloft.net>
15216 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15217 smaller than LDBL_EPSILON/2.0L, just return xm1.
15219 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15221 * elf/tst-array1.c (init): Set constructor priority to 1000.
15222 (fini): Set destructor priority to 1000.
15223 * elf/tst-array2dep.c: Likewise.
15225 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15228 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15229 (_IO_new_file_xsputn): Also return EOF if none of the input
15230 data was written when overflow failed.
15231 * libio/iopadn.c (_IO_padn): Likewise.
15232 * libio/iowpadn.c (_IO_wpadn): Likewise.
15233 * stdio-common/tst-put-error.c: Add copyright notice.
15234 (do_test): Add case for printing padded string.
15235 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15236 _IO_padn returned error.
15237 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15238 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15241 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15243 * libio/libioP.h: Add comment note that the references to C++
15244 bits are now obsolete.
15246 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15248 * math/libm-test.inc (check_complex): Use asprintf.
15250 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15252 * debug/pcprofiledump.c (print_version): Update copyright year.
15253 * malloc/memusagestat.c (print_version): Likewise.
15255 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15258 * elf/Makefile (tests): Add tst-audit8.
15259 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15260 ($(objpfx)tst-audit8.out): New target.
15261 (tst-audit8-ENV): New variable.
15262 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15263 audit if l_reloc_result is NULL.
15264 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15265 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15266 * elf/tst-audit8.c: New file.
15268 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15270 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15271 * misc/Makefile (CFLAGS-select.c): Define.
15272 * posix/Makefile (CFLAGS-pause.c): Define.
15274 2012-11-13 David S. Miller <davem@davemloft.net>
15276 * crypt/Makefile: Move test targets after toplevel Rules
15277 inclusion. Grab any necessary sysdep routines when linking.
15278 * crypt/md5.c (md5_process_block): Remove define, we will always
15279 name it __md5_process_block.
15280 (md5_finish_ctx): Update md5_process_block call.
15281 (md5_stream): Likewise.
15282 (md5_process_bytes): Likewise.
15283 (md5_process_block): Rename to __md5_process_block and move to ...
15284 * crypt/md5-block.c: ... here.
15285 * crypt/sha256.c (sha256_process_block): Move to ...
15286 * crypt/sha256-block.c: ... here.
15287 * crypt/sha512.c (sha512_process_block): Move to ...
15288 * crypt/sha512-block.c: ... here.
15289 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15291 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15292 * sysdeps/sparc/sparc64/multiarch/Makefile
15293 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15295 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15296 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15298 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15299 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15300 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15301 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15302 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15303 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15304 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15305 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15306 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15308 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15309 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15311 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15313 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15315 * timezone/tzselect.ksh: Update from tzcode git revision
15316 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15317 * timezone/zdump.c: Likewise.
15318 * timezone/zic.c: Likewise.
15319 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15320 in TZVERSION setting, not $(PKGVERSION).
15321 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15322 REPORT_BUGS_TO settings.
15325 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15328 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15330 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15331 detection to immediately after _FP_ROUND().
15332 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15335 2012-11-11 David S. Miller <davem@davemloft.net>
15337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15339 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15340 __close rather than their public counterparts.
15342 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15344 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15346 [UNIX98] (sem_timedwait): Do not expect.
15347 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15348 [XPG4 || UNIX98] (sockatmark): Do not expect.
15349 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15350 (clock_getcpuclockid): Do not expect.
15351 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15352 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15354 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15355 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15356 [UNIX98] (vwscanf): Likewise.
15357 [UNIX98] (vswscanf): Likewise.
15359 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15361 * timezone/version.h: Remove file.
15362 * timezone/README: Do not refer to version.h.
15363 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15364 $(objpfx)version.h.
15365 ($(objpfx)zdump.o): Likewise.
15366 ($(objpfx)version.h): New target.
15368 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15370 * timezone/README: Don't mention modification to tzselect.ksh.
15371 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15372 work on unmodified tzselect.ksh. Substitute version numbers in
15375 * Makefile (format-me): Remove.
15376 (INSTALL): Adjust indentation. Use commands directly instead of
15377 using $(format-me).
15379 * aclocal.m4 (ACX_PKGVERSION): New macro.
15380 (ACX_BUGURL): Likewise.
15381 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15382 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15383 (REPORT_BUGS_TO): Likewise.
15384 * configure: Regenerated.
15385 * config.h.in (PKGVERSION): New macro.
15386 (REPORT_BUGS_TO): Likewise.
15387 * config.make.in (PKGVERSION): New variable.
15388 (PKGVERSION_TEXI): Likewise.
15389 (REPORT_BUGS_TO): Likewise.
15390 (REPORT_BUGS_TEXI): Likewise.
15391 * Makefile (format-me): Use -I$(common-objpfx)manual.
15392 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15393 ($(common-objpfx)manual/%): New target.
15394 (manual/%): Remove target.
15395 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15396 (print_version): Use PKGVERSION.
15397 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15398 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15399 and REPORT_BUGS_TO.
15400 ($(objpfx)xtrace): Likewise.
15401 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15402 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15403 (print_version): Use PKGVERSION.
15404 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15405 (do_version): Use PKGVERSION.
15406 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15408 (common-ldd-rewrite): Likewise.
15409 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15410 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15411 (print_version): Use PKGVERSION.
15412 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15413 * elf/pldd.c (argp_program_bug_address): Remove variable.
15414 (more_help): New function.
15415 (argp): Use more_help.
15416 (print_version): Use PKGVERSION.
15417 * elf/sln.c (main): Use PKGVERSION.
15418 (usage): Use REPORT_BUGS_TO.
15419 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15420 (top level): Use PKGVERSION.
15421 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15422 (print_version): Use PKGVERSION.
15423 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15424 (print_version): Use PKGVERSION.
15425 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15426 (print_version): Use PKGVERSION.
15427 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15428 (print_version): Use PKGVERSION.
15429 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15430 (print_version): Use PKGVERSION.
15431 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15432 (print_version): Use PKGVERSION.
15433 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15435 ($(objpfx)memusage): Likewise.
15436 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15437 (do_version): Use PKGVERSION.
15438 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15439 (print_version): Use PKGVERSION.
15440 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15441 ($PKGVERSION): New variable.
15442 ($REPORT_BUGS_TO): Likewise.
15443 (usage): Use $REPORT_BUGS_TO.
15444 (top level): Use $PKGVERSION.
15445 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15446 ($(objpfx)pkgvers.texi): New rule.
15447 ($(objpfx)stamp-pkgvers): Likewise.
15448 * manual/install.texi: Include pkgvers.texi.
15449 (--with-pkgversion): Document new configure option.
15450 (--with-bugurl): Likewise.
15451 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15452 than necessarily for this particular distribution. Use
15453 REPORT_BUGS_TO for where to report bugs.
15454 * INSTALL: Regenerated.
15455 * manual/libc.texinfo: Include pkgvers.texi.
15456 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15457 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15458 (print_version): Use PKGVERSION.
15459 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15460 (print_version): Use PKGVERSION.
15461 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15462 (print_version): Use PKGVERSION.
15463 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15464 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15466 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15467 (print_version): Use PKGVERSION.
15468 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15469 (print_version): Use PKGVERSION.
15470 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15473 * timezone/checktab.awk: Update from tzcode 2012i.
15474 * timezone/ialloc.c: Likewise.
15475 * timezone/private.h: Likewise.
15476 * timezone/scheck.c: Likewise.
15477 * timezone/tzfile.h: Likewise.
15478 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15479 (TZVERSION): Hardcode tzcode version number.
15480 * timezone/zdump.c: Update from tzcode 2012i.
15481 * timezone/zic.c: Likewise.
15482 * timezone/version.h: New file.
15483 * timezone/README: Describe version.h. Update upstream location.
15486 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15487 (mktemp): Enable declaration.
15488 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15489 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15490 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15491 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15493 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15495 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15497 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15499 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15501 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15505 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15506 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15507 for copies of such integer values.
15508 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15509 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15511 2012-11-09 Andreas Jaeger <aj@suse.de>
15513 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15514 definitions and declarations that are provided by
15515 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15517 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15519 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
15520 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15521 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15524 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15526 * elf/elf.h: Update comment before AArch64 relocations.
15528 2012-11-07 David S. Miller <davem@davemloft.net>
15530 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15531 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15532 (__start_context): Declare.
15533 (__makecontext_ret): Delete.
15534 (__makecontext): Hook up __start_context instead of
15536 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15537 (sysdep_routines): Add __start_context when in stdlib.
15539 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15541 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
15542 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
15543 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
15545 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
15546 (READELF): New variable. Use it instead of hardcoded "readelf".
15548 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
15550 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
15551 * sysdeps/x86/Makefile: Here.
15552 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
15553 * sysdeps/x86/tst-xmmymm.sh: This.
15555 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15557 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
15559 [UNIX98] (pthread_barrier_t): Do not expect.
15560 [UNIX98] (pthread_barrierattr_t): Likewise.
15561 [UNIX98] (pthread_spinlock_t): Likewise.
15562 [UNIX98] (pthread_barrier_destroy): Likewise.
15563 [UNIX98] (pthread_barrier_init): Likewise.
15564 [UNIX98] (pthread_barrier_wait): Likewise.
15565 [UNIX98] (pthread_barrierattr_destroy): Likewise.
15566 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
15567 [UNIX98] (pthread_barrierattr_init): Likewise.
15568 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
15569 [UNIX98] (pthread_getcpuclockid): Likewise.
15570 [UNIX98] (pthread_mutex_timedlock): Likewise.
15571 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
15572 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
15573 [UNIX98] (pthread_sigmask): Likewise.
15574 [UNIX98] (pthread_spin_destroy): Likewise.
15575 [UNIX98] (pthread_spin_init): Likewise.
15576 [UNIX98] (pthread_spin_lock): Likewise.
15577 [UNIX98] (pthread_spin_trylock): Likewise.
15578 [UNIX98] (pthread_spin_unlock): Likewise.
15579 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
15581 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
15582 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
15583 [XPG3 || XPG4] (pthread_cond_t): Likewise.
15584 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
15585 [XPG3 || XPG4] (pthread_key_t): Likewise.
15586 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
15587 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
15588 [XPG3 || XPG4] (pthread_once_t): Likewise.
15589 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
15590 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
15591 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
15592 [XPG3 || XPG4] (pthread_t): Likewise.
15594 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
15596 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
15598 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
15599 Change function return type to int.
15601 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
15602 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
15603 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
15604 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
15605 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
15606 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
15607 [!POSIX] (posix_madvise): Likewise.
15608 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
15610 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
15611 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
15612 (mode_t): Likewise.
15613 (posix_mem_offset): Likewise.
15614 (posix_typed_mem_get_info): Likewise.
15615 (posix_typed_mem_open): Likewise.
15617 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
15618 Change condition to [XOPEN2K8].
15620 * conform/conformtest.pl: Preprocess allow-header data with -x c
15621 instead of from stdin.
15622 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15623 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15624 [C99-based standards] (cerfc): Likewise.
15625 [C99-based standards] (cexp2): Likewise.
15626 [C99-based standards] (cexpm1): Likewise.
15627 [C99-based standards] (clog10): Likewise.
15628 [C99-based standards] (clog1p): Likewise.
15629 [C99-based standards] (clog2): Likewise.
15630 [C99-based standards] (clgamma): Likewise.
15631 [C99-based standards] (ctgamma): Likewise.
15632 [C99-based standards] (cerff): Likewise.
15633 [C99-based standards] (cerfcf): Likewise.
15634 [C99-based standards] (cexp2f): Likewise.
15635 [C99-based standards] (cexpm1f): Likewise.
15636 [C99-based standards] (clog10f): Likewise.
15637 [C99-based standards] (clog1pf): Likewise.
15638 [C99-based standards] (clog2f): Likewise.
15639 [C99-based standards] (clgammaf): Likewise.
15640 [C99-based standards] (ctgammaf): Likewise.
15641 [C99-based standards] (cerfl): Likewise.
15642 [C99-based standards] (cerfcl): Likewise.
15643 [C99-based standards] (cexp2l): Likewise.
15644 [C99-based standards] (cexpm1l): Likewise.
15645 [C99-based standards] (clog10l): Likewise.
15646 [C99-based standards] (clog1pl): Likewise.
15647 [C99-based standards] (clog2l): Likewise.
15648 [C99-based standards] (clgammal): Likewise.
15649 [C99-based standards] (ctgammal): Likewise.
15650 * conform/data/inttypes.h-data [C99-based standards]: Include
15651 stdint.h-data. Remove all expectations for stdint.h contents.
15652 [C99-based standards] (PRI*): Do not allow.
15653 [C99-based standards] (SCN*): Likewise.
15654 [C99-based standards] (*_t): Likewise.
15655 [C99-based-standards] (PRId8): Expect macro.
15656 [C99-based-standards] (PRIi8): Likewise.
15657 [C99-based-standards] (PRIo8): Likewise.
15658 [C99-based-standards] (PRIu8): Likewise.
15659 [C99-based-standards] (PRIx8): Likewise.
15660 [C99-based-standards] (PRIX8): Likewise.
15661 [C99-based-standards] (SCNd8): Likewise.
15662 [C99-based-standards] (SCNi8): Likewise.
15663 [C99-based-standards] (SCNo8): Likewise.
15664 [C99-based-standards] (SCNu8): Likewise.
15665 [C99-based-standards] (SCNx8): Likewise.
15666 [C99-based-standards] (PRIdLEAST8): Likewise.
15667 [C99-based-standards] (PRIiLEAST8): Likewise.
15668 [C99-based-standards] (PRIoLEAST8): Likewise.
15669 [C99-based-standards] (PRIuLEAST8): Likewise.
15670 [C99-based-standards] (PRIxLEAST8): Likewise.
15671 [C99-based-standards] (PRIXLEAST8): Likewise.
15672 [C99-based-standards] (SCNdLEAST8): Likewise.
15673 [C99-based-standards] (SCNiLEAST8): Likewise.
15674 [C99-based-standards] (SCNoLEAST8): Likewise.
15675 [C99-based-standards] (SCNuLEAST8): Likewise.
15676 [C99-based-standards] (SCNxLEAST8): Likewise.
15677 [C99-based-standards] (PRIdFAST8): Likewise.
15678 [C99-based-standards] (PRIiFAST8): Likewise.
15679 [C99-based-standards] (PRIoFAST8): Likewise.
15680 [C99-based-standards] (PRIuFAST8): Likewise.
15681 [C99-based-standards] (PRIxFAST8): Likewise.
15682 [C99-based-standards] (PRIXFAST8): Likewise.
15683 [C99-based-standards] (SCNdFAST8): Likewise.
15684 [C99-based-standards] (SCNiFAST8): Likewise.
15685 [C99-based-standards] (SCNoFAST8): Likewise.
15686 [C99-based-standards] (SCNuFAST8): Likewise.
15687 [C99-based-standards] (SCNxFAST8): Likewise.
15688 [C99-based-standards] (PRId16): Likewise.
15689 [C99-based-standards] (PRIi16): Likewise.
15690 [C99-based-standards] (PRIo16): Likewise.
15691 [C99-based-standards] (PRIu16): Likewise.
15692 [C99-based-standards] (PRIx16): Likewise.
15693 [C99-based-standards] (PRIX16): Likewise.
15694 [C99-based-standards] (SCNd16): Likewise.
15695 [C99-based-standards] (SCNi16): Likewise.
15696 [C99-based-standards] (SCNo16): Likewise.
15697 [C99-based-standards] (SCNu16): Likewise.
15698 [C99-based-standards] (SCNx16): Likewise.
15699 [C99-based-standards] (PRIdLEAST16): Likewise.
15700 [C99-based-standards] (PRIiLEAST16): Likewise.
15701 [C99-based-standards] (PRIoLEAST16): Likewise.
15702 [C99-based-standards] (PRIuLEAST16): Likewise.
15703 [C99-based-standards] (PRIxLEAST16): Likewise.
15704 [C99-based-standards] (PRIXLEAST16): Likewise.
15705 [C99-based-standards] (SCNdLEAST16): Likewise.
15706 [C99-based-standards] (SCNiLEAST16): Likewise.
15707 [C99-based-standards] (SCNoLEAST16): Likewise.
15708 [C99-based-standards] (SCNuLEAST16): Likewise.
15709 [C99-based-standards] (SCNxLEAST16): Likewise.
15710 [C99-based-standards] (PRIdFAST16): Likewise.
15711 [C99-based-standards] (PRIiFAST16): Likewise.
15712 [C99-based-standards] (PRIoFAST16): Likewise.
15713 [C99-based-standards] (PRIuFAST16): Likewise.
15714 [C99-based-standards] (PRIxFAST16): Likewise.
15715 [C99-based-standards] (PRIXFAST16): Likewise.
15716 [C99-based-standards] (SCNdFAST16): Likewise.
15717 [C99-based-standards] (SCNiFAST16): Likewise.
15718 [C99-based-standards] (SCNoFAST16): Likewise.
15719 [C99-based-standards] (SCNuFAST16): Likewise.
15720 [C99-based-standards] (SCNxFAST16): Likewise.
15721 [C99-based-standards] (PRId32): Likewise.
15722 [C99-based-standards] (PRIi32): Likewise.
15723 [C99-based-standards] (PRIo32): Likewise.
15724 [C99-based-standards] (PRIu32): Likewise.
15725 [C99-based-standards] (PRIx32): Likewise.
15726 [C99-based-standards] (PRIX32): Likewise.
15727 [C99-based-standards] (SCNd32): Likewise.
15728 [C99-based-standards] (SCNi32): Likewise.
15729 [C99-based-standards] (SCNo32): Likewise.
15730 [C99-based-standards] (SCNu32): Likewise.
15731 [C99-based-standards] (SCNx32): Likewise.
15732 [C99-based-standards] (PRIdLEAST32): Likewise.
15733 [C99-based-standards] (PRIiLEAST32): Likewise.
15734 [C99-based-standards] (PRIoLEAST32): Likewise.
15735 [C99-based-standards] (PRIuLEAST32): Likewise.
15736 [C99-based-standards] (PRIxLEAST32): Likewise.
15737 [C99-based-standards] (PRIXLEAST32): Likewise.
15738 [C99-based-standards] (SCNdLEAST32): Likewise.
15739 [C99-based-standards] (SCNiLEAST32): Likewise.
15740 [C99-based-standards] (SCNoLEAST32): Likewise.
15741 [C99-based-standards] (SCNuLEAST32): Likewise.
15742 [C99-based-standards] (SCNxLEAST32): Likewise.
15743 [C99-based-standards] (PRIdFAST32): Likewise.
15744 [C99-based-standards] (PRIiFAST32): Likewise.
15745 [C99-based-standards] (PRIoFAST32): Likewise.
15746 [C99-based-standards] (PRIuFAST32): Likewise.
15747 [C99-based-standards] (PRIxFAST32): Likewise.
15748 [C99-based-standards] (PRIXFAST32): Likewise.
15749 [C99-based-standards] (SCNdFAST32): Likewise.
15750 [C99-based-standards] (SCNiFAST32): Likewise.
15751 [C99-based-standards] (SCNoFAST32): Likewise.
15752 [C99-based-standards] (SCNuFAST32): Likewise.
15753 [C99-based-standards] (SCNxFAST32): Likewise.
15754 [C99-based-standards] (PRId64): Likewise.
15755 [C99-based-standards] (PRIi64): Likewise.
15756 [C99-based-standards] (PRIo64): Likewise.
15757 [C99-based-standards] (PRIu64): Likewise.
15758 [C99-based-standards] (PRIx64): Likewise.
15759 [C99-based-standards] (PRIX64): Likewise.
15760 [C99-based-standards] (SCNd64): Likewise.
15761 [C99-based-standards] (SCNi64): Likewise.
15762 [C99-based-standards] (SCNo64): Likewise.
15763 [C99-based-standards] (SCNu64): Likewise.
15764 [C99-based-standards] (SCNx64): Likewise.
15765 [C99-based-standards] (PRIdLEAST64): Likewise.
15766 [C99-based-standards] (PRIiLEAST64): Likewise.
15767 [C99-based-standards] (PRIoLEAST64): Likewise.
15768 [C99-based-standards] (PRIuLEAST64): Likewise.
15769 [C99-based-standards] (PRIxLEAST64): Likewise.
15770 [C99-based-standards] (PRIXLEAST64): Likewise.
15771 [C99-based-standards] (SCNdLEAST64): Likewise.
15772 [C99-based-standards] (SCNiLEAST64): Likewise.
15773 [C99-based-standards] (SCNoLEAST64): Likewise.
15774 [C99-based-standards] (SCNuLEAST64): Likewise.
15775 [C99-based-standards] (SCNxLEAST64): Likewise.
15776 [C99-based-standards] (PRIdFAST64): Likewise.
15777 [C99-based-standards] (PRIiFAST64): Likewise.
15778 [C99-based-standards] (PRIoFAST64): Likewise.
15779 [C99-based-standards] (PRIuFAST64): Likewise.
15780 [C99-based-standards] (PRIxFAST64): Likewise.
15781 [C99-based-standards] (PRIXFAST64): Likewise.
15782 [C99-based-standards] (SCNdFAST64): Likewise.
15783 [C99-based-standards] (SCNiFAST64): Likewise.
15784 [C99-based-standards] (SCNoFAST64): Likewise.
15785 [C99-based-standards] (SCNuFAST64): Likewise.
15786 [C99-based-standards] (SCNxFAST64): Likewise.
15787 [C99-based-standards] (PRIdMAX): Likewise.
15788 [C99-based-standards] (PRIiMAX): Likewise.
15789 [C99-based-standards] (PRIoMAX): Likewise.
15790 [C99-based-standards] (PRIuMAX): Likewise.
15791 [C99-based-standards] (PRIxMAX): Likewise.
15792 [C99-based-standards] (PRIXMAX): Likewise.
15793 [C99-based-standards] (SCNdMAX): Likewise.
15794 [C99-based-standards] (SCNiMAX): Likewise.
15795 [C99-based-standards] (SCNoMAX): Likewise.
15796 [C99-based-standards] (SCNuMAX): Likewise.
15797 [C99-based-standards] (SCNxMAX): Likewise.
15798 [C99-based-standards] (PRIdPTR): Likewise.
15799 [C99-based-standards] (PRIiPTR): Likewise.
15800 [C99-based-standards] (PRIoPTR): Likewise.
15801 [C99-based-standards] (PRIuPTR): Likewise.
15802 [C99-based-standards] (PRIxPTR): Likewise.
15803 [C99-based-standards] (PRIXPTR): Likewise.
15804 [C99-based-standards] (SCNdPTR): Likewise.
15805 [C99-based-standards] (SCNiPTR): Likewise.
15806 [C99-based-standards] (SCNoPTR): Likewise.
15807 [C99-based-standards] (SCNuPTR): Likewise.
15808 [C99-based-standards] (SCNxPTR): Likewise.
15809 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15811 * conform/data/stdint.h-data: Update comments to clarify
15813 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
15815 [C99-based standards] (INT8_MAX): Likewise.
15816 [C99-based standards] (INT16_MIN): Likewise.
15817 [C99-based standards] (INT16_MAX): Likewise.
15818 [C99-based standards] (INT32_MIN): Likewise.
15819 [C99-based standards] (INT32_MAX): Likewise.
15820 [C99-based standards] (INT64_MIN): Likewise.
15821 [C99-based standards] (INT64_MAX): Likewise.
15822 [C99-based standards] (UINT8_MAX): Likewise.
15823 [C99-based standards] (UINT16_MAX): Likewise.
15824 [C99-based standards] (UINT32_MAX): Likewise.
15825 [C99-based standards] (UINT64_MAX): Likewise.
15826 [C99-based standards] (INT_LEAST8_MIN): Likewise.
15827 [C99-based standards] (INT_LEAST8_MAX): Likewise.
15828 [C99-based standards] (INT_LEAST16_MIN): Likewise.
15829 [C99-based standards] (INT_LEAST16_MAX): Likewise.
15830 [C99-based standards] (INT_LEAST32_MIN): Likewise.
15831 [C99-based standards] (INT_LEAST32_MAX): Likewise.
15832 [C99-based standards] (INT_LEAST64_MIN): Likewise.
15833 [C99-based standards] (INT_LEAST64_MAX): Likewise.
15834 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15835 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15836 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15837 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15838 [C99-based standards] (INT_FAST8_MIN): Likewise.
15839 [C99-based standards] (INT_FAST8_MAX): Likewise.
15840 [C99-based standards] (INT_FAST16_MIN): Likewise.
15841 [C99-based standards] (INT_FAST16_MAX): Likewise.
15842 [C99-based standards] (INT_FAST32_MIN): Likewise.
15843 [C99-based standards] (INT_FAST32_MAX): Likewise.
15844 [C99-based standards] (INT_FAST64_MIN): Likewise.
15845 [C99-based standards] (INT_FAST64_MAX): Likewise.
15846 [C99-based standards] (UINT_FAST8_MAX): Likewise.
15847 [C99-based standards] (UINT_FAST16_MAX): Likewise.
15848 [C99-based standards] (UINT_FAST32_MAX): Likewise.
15849 [C99-based standards] (UINT_FAST64_MAX): Likewise.
15850 [C99-based standards] (INTPTR_MIN): Likewise.
15851 [C99-based standards] (INTPTR_MAX): Likewise.
15852 [C99-based standards] (UINTPTR_MAX): Likewise.
15853 [C99-based standards] (INTMAX_MIN): Likewise.
15854 [C99-based standards] (INTMAX_MAX): Likewise.
15855 [C99-based standards] (UINTMAX_MAX): Likewise.
15856 [C99-based standards] (PTRDIFF_MIN): Likewise.
15857 [C99-based standards] (PTRDIFF_MAX): Likewise.
15858 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15859 [C99-based standards] (SIZE_MAX): Likewise.
15860 [C99-based standards] (WCHAR_MAX): Likewise.
15861 [C99-based standards] (WINT_MAX): Likewise.
15862 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
15863 constraint on value.
15864 [C99-based standards] (WCHAR_MIN): Likewise.
15865 [C99-based standards] (WINT_MIN): Likewise.
15866 [C99-based standards] (*_t): Allow.
15867 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15868 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15869 Include math.h-data and complex.h-data. Remove all expectations
15870 of math.h and complex.h contents.
15871 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15873 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15874 (struct tm): Expect tag.
15875 [C99-based-standards] (wcstof): Expect function.
15876 [C99-based-standards] (wcstold): Likewise.
15877 [C99-based-standards] (wcstoll): Likewise.
15878 [C99-based-standards] (wcstoull): Likewise.
15879 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15880 macro-int-constant. Specify type.
15881 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
15882 constraint on value.
15883 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15885 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15887 [ISO C standards]: Do not allow headers.
15888 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15889 wcs[abcdefghijklmnopqrstuvwxyz]*.
15890 [ISO C standards] (*_t): Do not allow.
15891 * conform/data/wctype.h-data [C99-based standards] (iswblank):
15893 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15894 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15896 [ISO C standards]: Do not allow headers.
15897 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15898 is[abcdefghijklmnopqrstuvwxyz]*.
15899 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15900 to[abcdefghijklmnopqrstuvwxyz]*.
15901 [ISO C standards] (*_t): Do not allow.
15902 * conform/data/stdalign.h-data: New file.
15903 * conform/data/stdbool.h-data: Likewise.
15904 * conform/data/stdnoreturn.h-data: Likewise.
15906 2012-11-07 Roland McGrath <roland@hack.frob.com>
15909 * manual/filesys.texi (Directory Entries): Typo fix.
15910 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15912 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15914 * elf/elf.h (EM_AARCH64): New macro.
15915 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15916 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15917 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15918 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15919 (R_AARCH64_TLSDESC): Likewise.
15920 (NT_ARM_TLS): Likewise.
15921 (NT_ARM_HW_BREAK): Likewise.
15922 (NT_ARM_HW_WATCH): Likewise.
15924 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15927 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15928 (__ieee754_powl): Saturate nonzero exponents with absolute value
15929 below 0x1p-79 to +/- 0x1p-79.
15930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15931 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15932 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15933 nonzero exponents with absolute value below 0x1p-32 to +/-
15935 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15936 (__ieee754_powl): Saturate nonzero exponents with absolute value
15937 below 0x1p-79 to +/- 0x1p-79.
15938 * math/libm-test.inc (pow_test): Add more tests.
15940 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15942 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15943 _dl_s390_cap_flags with kernel. Increase string length.
15944 (_dl_s390_platforms): Add z196 and zEC12.
15946 2012-11-07 Joseph Myers <joseph@codesourcery.com>
15948 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15949 Change XOPEN21K to XOPEN2K.
15951 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
15953 * string/memmove.c: Use memcpy when possible.
15955 2012-11-06 Andreas Jaeger <aj@suse.de>
15957 * po/eo.po: Update from translation team.
15959 2012-11-06 Joseph Myers <joseph@codesourcery.com>
15962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15963 exponent and small x and y exponents, scale x or y up. Increase
15964 by 2 the exponent used in scaling up.
15965 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15966 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15967 * math/libm-test.inc (fma_test): Add more tests.
15968 (fma_test_towardzero): Likewise.
15969 (fma_test_downward): Likewise.
15970 (fma_test_upward): Likewise.
15972 2012-11-05 Joseph Myers <joseph@codesourcery.com>
15975 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15979 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15980 namespace for names of struct fields.
15981 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15983 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15984 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15986 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15989 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15991 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
15993 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15997 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16000 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16004 definitely overflow as x * y not x * y + z.
16005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16007 * math/libm-test.inc (fma_test): Add more tests.
16008 (fma_test_towardzero): Likewise.
16009 (fma_test_downward): Likewise.
16010 (fma_test_upward): Likewise.
16012 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16016 * include/stub-tag.h: Remove file.
16017 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16019 * manual/maint.texi (Porting): Don't reference it.
16020 * Makerules ($(objpfx)stubs): Likewise.
16021 * dirent/closedir.c: Don't include <stub-tag.h>.
16022 * dirent/dirfd.c: Likewise.
16023 * dirent/fdopendir.c: Likewise.
16024 * dirent/getdents.c: Likewise.
16025 * dirent/getdents64.c: Likewise.
16026 * dirent/opendir.c: Likewise.
16027 * dirent/readdir.c: Likewise.
16028 * dirent/readdir64.c: Likewise.
16029 * dirent/readdir64_r.c: Likewise.
16030 * dirent/readdir_r.c: Likewise.
16031 * dirent/rewinddir.c: Likewise.
16032 * dirent/seekdir.c: Likewise.
16033 * dirent/telldir.c: Likewise.
16034 * gmon/profil.c: Likewise.
16035 * grp/setgroups.c: Likewise.
16036 * inet/if_index.c: Likewise.
16037 * io/access.c: Likewise.
16038 * io/chdir.c: Likewise.
16039 * io/chmod.c: Likewise.
16040 * io/chown.c: Likewise.
16041 * io/close.c: Likewise.
16042 * io/dup.c: Likewise.
16043 * io/dup2.c: Likewise.
16044 * io/dup3.c: Likewise.
16045 * io/euidaccess.c: Likewise.
16046 * io/faccessat.c: Likewise.
16047 * io/fchdir.c: Likewise.
16048 * io/fchmod.c: Likewise.
16049 * io/fchmodat.c: Likewise.
16050 * io/fchown.c: Likewise.
16051 * io/fchownat.c: Likewise.
16052 * io/fcntl.c: Likewise.
16053 * io/flock.c: Likewise.
16054 * io/fstatfs.c: Likewise.
16055 * io/fstatfs64.c: Likewise.
16056 * io/fstatvfs.c: Likewise.
16057 * io/fstatvfs64.c: Likewise.
16058 * io/futimens.c: Likewise.
16059 * io/fxstat.c: Likewise.
16060 * io/fxstat64.c: Likewise.
16061 * io/fxstatat.c: Likewise.
16062 * io/fxstatat64.c: Likewise.
16063 * io/getcwd.c: Likewise.
16064 * io/isatty.c: Likewise.
16065 * io/lchmod.c: Likewise.
16066 * io/lchown.c: Likewise.
16067 * io/link.c: Likewise.
16068 * io/linkat.c: Likewise.
16069 * io/lseek.c: Likewise.
16070 * io/lseek64.c: Likewise.
16071 * io/lxstat64.c: Likewise.
16072 * io/mkdir.c: Likewise.
16073 * io/mkdirat.c: Likewise.
16074 * io/mkfifo.c: Likewise.
16075 * io/mkfifoat.c: Likewise.
16076 * io/open.c: Likewise.
16077 * io/open64.c: Likewise.
16078 * io/openat.c: Likewise.
16079 * io/openat64.c: Likewise.
16080 * io/pipe.c: Likewise.
16081 * io/pipe2.c: Likewise.
16082 * io/poll.c: Likewise.
16083 * io/posix_fadvise.c: Likewise.
16084 * io/posix_fadvise64.c: Likewise.
16085 * io/posix_fallocate.c: Likewise.
16086 * io/posix_fallocate64.c: Likewise.
16087 * io/read.c: Likewise.
16088 * io/readlink.c: Likewise.
16089 * io/readlinkat.c: Likewise.
16090 * io/rmdir.c: Likewise.
16091 * io/sendfile.c: Likewise.
16092 * io/sendfile64.c: Likewise.
16093 * io/statfs.c: Likewise.
16094 * io/statfs64.c: Likewise.
16095 * io/statvfs.c: Likewise.
16096 * io/statvfs64.c: Likewise.
16097 * io/symlink.c: Likewise.
16098 * io/symlinkat.c: Likewise.
16099 * io/ttyname.c: Likewise.
16100 * io/ttyname_r.c: Likewise.
16101 * io/umask.c: Likewise.
16102 * io/unlink.c: Likewise.
16103 * io/unlinkat.c: Likewise.
16104 * io/utime.c: Likewise.
16105 * io/utimensat.c: Likewise.
16106 * io/write.c: Likewise.
16107 * io/xmknod.c: Likewise.
16108 * io/xmknodat.c: Likewise.
16109 * io/xstat.c: Likewise.
16110 * io/xstat64.c: Likewise.
16111 * login/getpt.c: Likewise.
16112 * login/grantpt.c: Likewise.
16113 * login/unlockpt.c: Likewise.
16114 * math/e_acoshl.c: Likewise.
16115 * math/e_acosl.c: Likewise.
16116 * math/e_asinl.c: Likewise.
16117 * math/e_atan2l.c: Likewise.
16118 * math/e_atanhl.c: Likewise.
16119 * math/e_coshl.c: Likewise.
16120 * math/e_expl.c: Likewise.
16121 * math/e_fmodl.c: Likewise.
16122 * math/e_gammal_r.c: Likewise.
16123 * math/e_hypotl.c: Likewise.
16124 * math/e_j0l.c: Likewise.
16125 * math/e_j1l.c: Likewise.
16126 * math/e_jnl.c: Likewise.
16127 * math/e_lgammal_r.c: Likewise.
16128 * math/e_log10l.c: Likewise.
16129 * math/e_log2l.c: Likewise.
16130 * math/e_logl.c: Likewise.
16131 * math/e_powl.c: Likewise.
16132 * math/e_rem_pio2l.c: Likewise.
16133 * math/e_sinhl.c: Likewise.
16134 * math/e_sqrtl.c: Likewise.
16135 * math/fclrexcpt.c: Likewise.
16136 * math/fedisblxcpt.c: Likewise.
16137 * math/feenablxcpt.c: Likewise.
16138 * math/fegetenv.c: Likewise.
16139 * math/fegetexcept.c: Likewise.
16140 * math/fegetround.c: Likewise.
16141 * math/feholdexcpt.c: Likewise.
16142 * math/fesetenv.c: Likewise.
16143 * math/fesetround.c: Likewise.
16144 * math/feupdateenv.c: Likewise.
16145 * math/fgetexcptflg.c: Likewise.
16146 * math/fraiseexcpt.c: Likewise.
16147 * math/fsetexcptflg.c: Likewise.
16148 * math/ftestexcept.c: Likewise.
16149 * math/k_cosl.c: Likewise.
16150 * math/k_rem_pio2l.c: Likewise.
16151 * math/k_sinl.c: Likewise.
16152 * math/k_tanl.c: Likewise.
16153 * math/s_asinhl.c: Likewise.
16154 * math/s_atanl.c: Likewise.
16155 * math/s_cbrtl.c: Likewise.
16156 * math/s_erfl.c: Likewise.
16157 * math/s_expm1l.c: Likewise.
16158 * math/s_log1pl.c: Likewise.
16159 * math/s_tanhl.c: Likewise.
16160 * misc/acct.c: Likewise.
16161 * misc/brk.c: Likewise.
16162 * misc/chflags.c: Likewise.
16163 * misc/chroot.c: Likewise.
16164 * misc/fchflags.c: Likewise.
16165 * misc/fgetxattr.c: Likewise.
16166 * misc/flistxattr.c: Likewise.
16167 * misc/fremovexattr.c: Likewise.
16168 * misc/fsetxattr.c: Likewise.
16169 * misc/fsync.c: Likewise.
16170 * misc/ftruncate.c: Likewise.
16171 * misc/futimes.c: Likewise.
16172 * misc/futimesat.c: Likewise.
16173 * misc/getdomain.c: Likewise.
16174 * misc/getdtsz.c: Likewise.
16175 * misc/gethostid.c: Likewise.
16176 * misc/gethostname.c: Likewise.
16177 * misc/getloadavg.c: Likewise.
16178 * misc/getpagesize.c: Likewise.
16179 * misc/getsysstats.c: Likewise.
16180 * misc/getxattr.c: Likewise.
16181 * misc/gtty.c: Likewise.
16182 * misc/ioctl.c: Likewise.
16183 * misc/lgetxattr.c: Likewise.
16184 * misc/listxattr.c: Likewise.
16185 * misc/llistxattr.c: Likewise.
16186 * misc/lremovexattr.c: Likewise.
16187 * misc/lsetxattr.c: Likewise.
16188 * misc/lutimes.c: Likewise.
16189 * misc/madvise.c: Likewise.
16190 * misc/mincore.c: Likewise.
16191 * misc/mlock.c: Likewise.
16192 * misc/mlockall.c: Likewise.
16193 * misc/mmap.c: Likewise.
16194 * misc/mprotect.c: Likewise.
16195 * misc/msync.c: Likewise.
16196 * misc/munlock.c: Likewise.
16197 * misc/munlockall.c: Likewise.
16198 * misc/munmap.c: Likewise.
16199 * misc/preadv.c: Likewise.
16200 * misc/preadv64.c: Likewise.
16201 * misc/ptrace.c: Likewise.
16202 * misc/pwritev.c: Likewise.
16203 * misc/pwritev64.c: Likewise.
16204 * misc/readv.c: Likewise.
16205 * misc/reboot.c: Likewise.
16206 * misc/remap_file_pages.c: Likewise.
16207 * misc/removexattr.c: Likewise.
16208 * misc/revoke.c: Likewise.
16209 * misc/select.c: Likewise.
16210 * misc/setdomain.c: Likewise.
16211 * misc/setegid.c: Likewise.
16212 * misc/seteuid.c: Likewise.
16213 * misc/sethostid.c: Likewise.
16214 * misc/sethostname.c: Likewise.
16215 * misc/setregid.c: Likewise.
16216 * misc/setreuid.c: Likewise.
16217 * misc/setxattr.c: Likewise.
16218 * misc/sstk.c: Likewise.
16219 * misc/stty.c: Likewise.
16220 * misc/swapoff.c: Likewise.
16221 * misc/swapon.c: Likewise.
16222 * misc/sync.c: Likewise.
16223 * misc/syncfs.c: Likewise.
16224 * misc/syscall.c: Likewise.
16225 * misc/truncate.c: Likewise.
16226 * misc/ualarm.c: Likewise.
16227 * misc/usleep.c: Likewise.
16228 * misc/ustat.c: Likewise.
16229 * misc/utimes.c: Likewise.
16230 * misc/vhangup.c: Likewise.
16231 * misc/writev.c: Likewise.
16232 * posix/_exit.c: Likewise.
16233 * posix/alarm.c: Likewise.
16234 * posix/execve.c: Likewise.
16235 * posix/fexecve.c: Likewise.
16236 * posix/fork.c: Likewise.
16237 * posix/fpathconf.c: Likewise.
16238 * posix/getaddrinfo.c: Likewise.
16239 * posix/getegid.c: Likewise.
16240 * posix/geteuid.c: Likewise.
16241 * posix/getgid.c: Likewise.
16242 * posix/getgroups.c: Likewise.
16243 * posix/getlogin.c: Likewise.
16244 * posix/getlogin_r.c: Likewise.
16245 * posix/getpgid.c: Likewise.
16246 * posix/getpid.c: Likewise.
16247 * posix/getppid.c: Likewise.
16248 * posix/getresgid.c: Likewise.
16249 * posix/getresuid.c: Likewise.
16250 * posix/getsid.c: Likewise.
16251 * posix/getuid.c: Likewise.
16252 * posix/glob64.c: Likewise.
16253 * posix/nanosleep.c: Likewise.
16254 * posix/pathconf.c: Likewise.
16255 * posix/pause.c: Likewise.
16256 * posix/posix_madvise.c: Likewise.
16257 * posix/pread.c: Likewise.
16258 * posix/pread64.c: Likewise.
16259 * posix/pwrite.c: Likewise.
16260 * posix/pwrite64.c: Likewise.
16261 * posix/sched_getaffinity.c: Likewise.
16262 * posix/sched_getp.c: Likewise.
16263 * posix/sched_gets.c: Likewise.
16264 * posix/sched_primax.c: Likewise.
16265 * posix/sched_primin.c: Likewise.
16266 * posix/sched_rr_gi.c: Likewise.
16267 * posix/sched_setaffinity.c: Likewise.
16268 * posix/sched_setp.c: Likewise.
16269 * posix/sched_sets.c: Likewise.
16270 * posix/sched_yield.c: Likewise.
16271 * posix/setgid.c: Likewise.
16272 * posix/setlogin.c: Likewise.
16273 * posix/setpgid.c: Likewise.
16274 * posix/setresgid.c: Likewise.
16275 * posix/setresuid.c: Likewise.
16276 * posix/setsid.c: Likewise.
16277 * posix/setuid.c: Likewise.
16278 * posix/sleep.c: Likewise.
16279 * posix/spawni.c: Likewise.
16280 * posix/sysconf.c: Likewise.
16281 * posix/times.c: Likewise.
16282 * posix/wait.c: Likewise.
16283 * posix/wait3.c: Likewise.
16284 * posix/wait4.c: Likewise.
16285 * posix/waitpid.c: Likewise.
16286 * resolv/gai_sigqueue.c: Likewise.
16287 * resource/getpriority.c: Likewise.
16288 * resource/getrlimit.c: Likewise.
16289 * resource/getrusage.c: Likewise.
16290 * resource/nice.c: Likewise.
16291 * resource/setpriority.c: Likewise.
16292 * resource/setrlimit.c: Likewise.
16293 * resource/ulimit.c: Likewise.
16294 * rt/aio_cancel.c: Likewise.
16295 * rt/aio_fsync.c: Likewise.
16296 * rt/aio_read.c: Likewise.
16297 * rt/aio_sigqueue.c: Likewise.
16298 * rt/aio_suspend.c: Likewise.
16299 * rt/aio_write.c: Likewise.
16300 * rt/clock_getres.c: Likewise.
16301 * rt/clock_gettime.c: Likewise.
16302 * rt/clock_nanosleep.c: Likewise.
16303 * rt/clock_settime.c: Likewise.
16304 * rt/lio_listio.c: Likewise.
16305 * rt/mq_close.c: Likewise.
16306 * rt/mq_getattr.c: Likewise.
16307 * rt/mq_notify.c: Likewise.
16308 * rt/mq_open.c: Likewise.
16309 * rt/mq_receive.c: Likewise.
16310 * rt/mq_send.c: Likewise.
16311 * rt/mq_setattr.c: Likewise.
16312 * rt/mq_timedreceive.c: Likewise.
16313 * rt/mq_timedsend.c: Likewise.
16314 * rt/mq_unlink.c: Likewise.
16315 * rt/shm_open.c: Likewise.
16316 * rt/shm_unlink.c: Likewise.
16317 * rt/timer_create.c: Likewise.
16318 * rt/timer_delete.c: Likewise.
16319 * rt/timer_getoverr.c: Likewise.
16320 * rt/timer_gettime.c: Likewise.
16321 * rt/timer_settime.c: Likewise.
16322 * setjmp/__longjmp.c: Likewise.
16323 * setjmp/setjmp.c: Likewise.
16324 * signal/kill.c: Likewise.
16325 * signal/killpg.c: Likewise.
16326 * signal/raise.c: Likewise.
16327 * signal/sigaction.c: Likewise.
16328 * signal/sigaltstack.c: Likewise.
16329 * signal/sigblock.c: Likewise.
16330 * signal/sigignore.c: Likewise.
16331 * signal/sigintr.c: Likewise.
16332 * signal/signal.c: Likewise.
16333 * signal/sigpause.c: Likewise.
16334 * signal/sigpending.c: Likewise.
16335 * signal/sigqueue.c: Likewise.
16336 * signal/sigreturn.c: Likewise.
16337 * signal/sigset.c: Likewise.
16338 * signal/sigsetmask.c: Likewise.
16339 * signal/sigstack.c: Likewise.
16340 * signal/sigsuspend.c: Likewise.
16341 * signal/sigtimedwait.c: Likewise.
16342 * signal/sigvec.c: Likewise.
16343 * signal/sigwait.c: Likewise.
16344 * signal/sigwaitinfo.c: Likewise.
16345 * signal/sysv_signal.c: Likewise.
16346 * socket/accept.c: Likewise.
16347 * socket/accept4.c: Likewise.
16348 * socket/bind.c: Likewise.
16349 * socket/connect.c: Likewise.
16350 * socket/getpeername.c: Likewise.
16351 * socket/getsockname.c: Likewise.
16352 * socket/getsockopt.c: Likewise.
16353 * socket/isfdtype.c: Likewise.
16354 * socket/listen.c: Likewise.
16355 * socket/recv.c: Likewise.
16356 * socket/recvfrom.c: Likewise.
16357 * socket/recvmsg.c: Likewise.
16358 * socket/send.c: Likewise.
16359 * socket/sendmsg.c: Likewise.
16360 * socket/sendto.c: Likewise.
16361 * socket/setsockopt.c: Likewise.
16362 * socket/shutdown.c: Likewise.
16363 * socket/sockatmark.c: Likewise.
16364 * socket/socket.c: Likewise.
16365 * socket/socketpair.c: Likewise.
16366 * stdio-common/ctermid.c: Likewise.
16367 * stdio-common/cuserid.c: Likewise.
16368 * stdio-common/remove.c: Likewise.
16369 * stdio-common/rename.c: Likewise.
16370 * stdio-common/renameat.c: Likewise.
16371 * stdio-common/tempname.c: Likewise.
16372 * stdlib/getcontext.c: Likewise.
16373 * stdlib/makecontext.c: Likewise.
16374 * stdlib/setcontext.c: Likewise.
16375 * stdlib/swapcontext.c: Likewise.
16376 * stdlib/system.c: Likewise.
16377 * streams/fattach.c: Likewise.
16378 * streams/fdetach.c: Likewise.
16379 * streams/getmsg.c: Likewise.
16380 * streams/getpmsg.c: Likewise.
16381 * streams/putmsg.c: Likewise.
16382 * streams/putpmsg.c: Likewise.
16383 * sysdeps/unix/bsd/getpt.c: Likewise.
16384 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16385 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16386 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16389 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16390 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16391 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16392 * sysvipc/msgctl.c: Likewise.
16393 * sysvipc/msgget.c: Likewise.
16394 * sysvipc/msgrcv.c: Likewise.
16395 * sysvipc/msgsnd.c: Likewise.
16396 * sysvipc/semctl.c: Likewise.
16397 * sysvipc/semget.c: Likewise.
16398 * sysvipc/semop.c: Likewise.
16399 * sysvipc/semtimedop.c: Likewise.
16400 * sysvipc/shmat.c: Likewise.
16401 * sysvipc/shmctl.c: Likewise.
16402 * sysvipc/shmdt.c: Likewise.
16403 * sysvipc/shmget.c: Likewise.
16404 * termios/tcdrain.c: Likewise.
16405 * termios/tcflow.c: Likewise.
16406 * termios/tcflush.c: Likewise.
16407 * termios/tcgetattr.c: Likewise.
16408 * termios/tcgetpgrp.c: Likewise.
16409 * termios/tcsendbrk.c: Likewise.
16410 * termios/tcsetattr.c: Likewise.
16411 * termios/tcsetpgrp.c: Likewise.
16412 * time/adjtime.c: Likewise.
16413 * time/clock.c: Likewise.
16414 * time/getitimer.c: Likewise.
16415 * time/gettimeofday.c: Likewise.
16416 * time/setitimer.c: Likewise.
16417 * time/settimeofday.c: Likewise.
16418 * time/stime.c: Likewise.
16419 * time/time.c: Likewise.
16421 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16423 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16426 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16428 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16430 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16434 FE_TONEAREST before applying Dekker multiplication and Knuth
16435 addition. Clear inexact exceptions and check for exact zero
16436 results afterwards.
16437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16438 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16439 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16440 * math/libm-test.inc (fma_test): Add more tests.
16441 (fma_test_towardzero): Likewise.
16442 (fma_test_downward): Likewise.
16443 (fma_test_upward): Likewise.
16444 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16446 (libc_fesetround): New macro.
16447 (libc_fesetroundf): Likewise.
16448 (libc_fesetroundl): Likewise.
16449 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16451 (libc_fesetround_387): Likewise.
16452 (libc_fesetroundf): New macro.
16453 (libc_fesetround): Likewise.
16454 (libc_fesetroundl): Likewise.
16455 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16457 (libc_fesetroundf): New macro.
16458 (libc_fesetround): Likewise.
16459 (libc_fesetroundl): Likewise.
16460 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16461 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16462 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16464 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16465 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16467 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16468 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16470 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16474 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16475 integer constant usable in #if and use that to give value to enum
16477 (FE_DIVBYZERO): Likewise.
16478 (FE_UNDERFLOW): Likewise.
16479 (FE_OVERFLOW): Likewise.
16480 (FE_INVALID): Likewise.
16481 (FE_INVALID_SNAN): Likewise.
16482 (FE_INVALID_ISI): Likewise.
16483 (FE_INVALID_IDI): Likewise.
16484 (FE_INVALID_ZDZ): Likewise.
16485 (FE_INVALID_IMZ): Likewise.
16486 (FE_INVALID_COMPARE): Likewise.
16487 (FE_INVALID_SOFTWARE): Likewise.
16488 (FE_INVALID_SQRT): Likewise.
16489 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16490 (FE_TONEAREST): Likewise.
16491 (FE_TOWARDZERO): Likewise.
16492 (FE_UPWARD): Likewise.
16493 (FE_DOWNWARD): Likewise.
16494 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16495 (FE_DIVBYZERO): Likewise.
16496 (FE_OVERFLOW): Likewise.
16497 (FE_UNDERFLOW): Likewise.
16498 (FE_INEXACT): Likewise.
16499 (FE_TONEAREST): Likewise.
16500 (FE_DOWNWARD): Likewise.
16501 (FE_UPWARD): Likewise.
16502 (FE_TOWARDZERO): Likewise.
16503 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16504 (FE_UNDERFLOW): Likewise.
16505 (FE_OVERFLOW): Likewise.
16506 (FE_DIVBYZERO): Likewise.
16507 (FE_INVALID): Likewise.
16508 (FE_TONEAREST): Likewise.
16509 (FE_TOWARDZERO): Likewise.
16510 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16511 (FE_OVERFLOW): Likewise.
16512 (FE_UNDERFLOW): Likewise.
16513 (FE_DIVBYZERO): Likewise.
16514 (FE_INEXACT): Likewise.
16515 (FE_TONEAREST): Likewise.
16516 (FE_TOWARDZERO): Likewise.
16517 (FE_UPWARD): Likewise.
16518 (FE_DOWNWARD): Likewise.
16519 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16520 (FE_DIVBYZERO): Likewise.
16521 (FE_OVERFLOW): Likewise.
16522 (FE_UNDERFLOW): Likewise.
16523 (FE_INEXACT): Likewise.
16524 (FE_TONEAREST): Likewise.
16525 (FE_DOWNWARD): Likewise.
16526 (FE_UPWARD): Likewise.
16527 (FE_TOWARDZERO): Likewise.
16529 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16531 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16533 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16535 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16536 commands. Quote $PWD.
16537 (blacklist_exports): Don't use remove_newlines. Replace "declare
16539 (remove_newlines): Remove.
16541 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
16543 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
16544 * stdlib/stdlib.h (atof): Moved to ...
16545 * include/bits/stdlib-float.h: Here. New file.
16546 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
16547 * stdlib/bits/stdlib-float.h: New file.
16548 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
16550 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
16553 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16555 * conform/conformtest.pl (@headers): Add fenv.h.
16556 * conform/data/fenv.h-data: New file.
16557 * include/fenv.h [_ISOMAC]: Disable all contents of file except
16558 include of <math/fenv.h>.
16560 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
16561 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
16562 && !UNIX98]. Enables tests for XOPEN2K8.
16563 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
16564 POSIX2008]: Likewise.
16566 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
16567 (struct rusage): Do not expect type or its members.
16570 * math/math.h (FP_NAN): Define macro to integer constant usable in
16571 #if and use that to give value to enum constant.
16572 (FP_INFINITE): Likewise.
16573 (FP_ZERO): Likewise.
16574 (FP_SUBNORMAL): Likewise.
16575 (FP_NORMAL): Likewise.
16577 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
16579 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
16580 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
16583 2012-11-02 Roland McGrath <roland@hack.frob.com>
16585 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
16586 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
16587 autoconf-time if not.
16588 * configure.in: Remove AC_PREREQ.
16590 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16592 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
16593 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
16594 of the internal implementation.
16596 2012-11-02 Joseph Myers <joseph@codesourcery.com>
16598 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
16599 except include of <misc/sys/syslog.h>.
16601 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
16604 function returns with a NULL context exit with zero.
16606 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16608 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
16610 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
16612 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
16613 (run_program_cmd): This.
16614 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
16615 (tst_langinfo): New variable. Use it.
16617 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
16619 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16620 floating point opcodes.
16622 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16624 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16627 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16629 * sysdeps/mach/hurd/powerpc: Remove directory.
16630 * sysdeps/mach/powerpc: Likewise.
16632 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
16634 * scripts/check-local-headers.sh: Ignore c++ headers.
16636 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16638 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16639 __libc_cleanup_region_start argument.
16641 2012-11-01 Joseph Myers <joseph@codesourcery.com>
16645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16646 x * y using scaling, not as x * y + z.
16647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16649 * math/libm-test.inc (fma_test): Add more tests.
16650 (fma_test_towardzero): Likewise.
16651 (fma_test_downward): Likewise.
16652 (fma_test_upward): Likewise.
16654 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
16656 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16658 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16660 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16663 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
16665 * rt/tst-shm.c (worker): Correct checking for mmap failure.
16667 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16674 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16677 Fix the order of the list for glibc 2.17.
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16681 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
16683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16685 2012-10-31 Joseph Myers <joseph@codesourcery.com>
16688 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16689 for low part of x being zero before using __atanl (y).
16690 * math/libm-test.inc (atan2_test): Add another test.
16692 * manual/install.texi (Configuring and compiling): Document
16693 general use of test-wrapper and test-wrapper-env.
16694 * INSTALL: Regenerated.
16696 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16697 (__fma): Do not extract and scale down low bits on after-rounding
16698 systems when result rounded to normal precision would have normal
16700 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16701 (__fmal): Do not extract and scale down low bits on after-rounding
16702 systems when result rounded to normal precision would have normal
16704 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16705 (__fmal): Do not extract and scale down low bits on after-rounding
16706 systems when result rounded to normal precision would have normal
16708 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16710 (fma_test): Add more tests.
16711 (fma_test_towardzero): Likewise.
16712 (fma_test_downward): Likewise.
16713 (fma_test_upward): Likewise.
16715 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
16717 * sysdeps/i386/tininess.h: Renamed to ...
16718 * sysdeps/x86/tininess.h: This.
16719 * sysdeps/x86_64/tininess.h: Removed.
16721 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16723 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16724 input. Use $(build-program-cmd).
16725 ($(objpfx)tst-array1-static.out): Likewise.
16726 ($(objpfx)tst-array2.out): Likewise.
16727 ($(objpfx)tst-array3.out): Likewise.
16728 ($(objpfx)tst-array4.out): Likewise.
16729 ($(objpfx)tst-array5.out): Likewise.
16730 ($(objpfx)tst-array5-static.out): Likewise.
16732 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
16734 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16737 * nss/nsswitch.h (nss_interface_function): Provide new
16738 macro for use with NSS functions.
16739 * grp/initgroups.c: Use new macro.
16740 * nss/getXXbyYY.c: Likewise.
16741 * nss/getXXbyYY_r.c: Likewise.
16742 * nss/getXXent.c: Likewise.
16743 * nss/getXXent_r.c: Likewise.
16744 * sysdeps/posix/getaddrinfo.c: Likewise.
16746 2012-10-30 Andreas Jaeger <aj@suse.de>
16748 * po/ru.po: Update Russion translation from translation project.
16750 2012-10-30 Joseph Myers <joseph@codesourcery.com>
16754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16755 result and shift together with sticky bit instead of replicating
16756 round-to-nearest rounding.
16757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16758 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16759 * math/libm-test.inc (fma_test): Add more tests. Do not permit
16760 missing underflow exceptions.
16761 (fma_test_towardzero): Add more tests.
16762 (fma_test_downward): Likewise.
16763 (fma_test_upward): Likewise.
16766 * sysdeps/generic/tininess.h: New file.
16767 * sysdeps/i386/tininess.h: Likewise.
16768 * sysdeps/sh/tininess.h: Likewise.
16769 * sysdeps/x86_64/tininess.h: Likewise.
16770 * stdlib/tst-strtod-underflow.c: Likewise.
16771 * stdlib/tst-tininess.c: Likewise.
16772 * stdlib/strtod_l.c: Include <tininess.h>.
16773 (round_and_return): Do not set errno for exact underflow cases.
16774 Force an underflow exception when setting errno for underflow.
16775 Determine underflow based on rounding to normal precision if
16776 TININESS_AFTER_ROUNDING.
16777 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16778 ERANGE for exact underflow cases.
16779 * stdlib/Makefile (tests): Add tst-tininess and
16780 tst-strtod-underflow.
16781 ($(objpfx)tst-tininess): Use $(link-libm).
16782 ($(objpfx)tst-strtod-underflow): Likewise.
16784 2012-10-30 Andreas Jaeger <aj@suse.de>
16787 * elf/Makefile (tests): Remove conditional for have-initfini-array
16788 since this is now always required and the variable does not exist
16790 (tests-static): Likewise.
16791 (modules-names): Likewise.
16793 * po/eo.po: Add Esperanto translation from translation project.
16795 * elf/tst-array1.c (fini_array): Make writeable so that it can be
16796 merged with constructor/destructor.
16797 (init_array): Likewise.
16798 * elf/tst-array2dep.c (fini_array): Likewise.
16799 (init_array): Likewise.
16801 2012-10-29 Mike Frysinger <vapier@gentoo.org>
16803 * manual/message.texi: Delete @cartouche tags.
16805 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
16807 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16809 * sysdeps/mach/hurd/fsync.c: Likewise.
16811 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16812 [_POSIX_REALTIME_SIGNALS]: Change condition to
16813 [_POSIX_REALTIME_SIGNALS > 0].
16815 2012-10-27 Andreas Jaeger <aj@suse.de>
16817 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16818 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16820 [__WORDSIZE != 64]: Likewise.
16822 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
16824 * iconvdata/tst-table.sh: Remove ${SHELL}.
16825 * iconvdata/tst-tables.sh: Likewise.
16827 2012-10-25 David S. Miller <davem@davemloft.net>
16829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16830 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16835 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16836 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16837 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16840 2012-10-25 Roland McGrath <roland@hack.frob.com>
16842 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16843 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16846 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16847 Jim Blandy <jimb@codesourcery.com>
16849 * scripts/cross-test-ssh.sh: New file.
16850 * manual/install.texi (Configuring and compiling): Document use of
16852 * INSTALL: Regenerated.
16854 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
16856 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16859 2012-10-25 Joseph Myers <joseph@codesourcery.com>
16861 * Makeconfig (run-program-prefix): Fix comment.
16863 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16864 Jim Blandy <jimb@codesourcery.com>
16866 * Makeconfig (test-wrapper): New variable,
16867 (test-wrapper-env): Likewise.
16868 [$(cross-compiling) = yes && $(test-wrapper) != ""]
16869 (run-built-tests): Define to yes.
16870 (run-program-prefix): Use $(test-wrapper).
16871 (built-program-cmd): Likewise.
16872 * Rules (make-test-out): Use $(test-wrapper-env) and
16873 $(host-built-program-cmd).
16874 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16875 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16877 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16878 $(test-wrapper-env) to tst-rtld-load-self.sh.
16879 ($(objpfx)order2.out): Use $(test-wrapper).
16880 ($(objpfx)tst-initorder.out): Likewise.
16881 ($(objpfx)tst-initorder2.out): Likewise.
16882 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16883 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16884 (test_wrapper_env): New variable. Use it to run ld.so.
16885 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16886 Use it to run ld.so.
16887 (test_wrapper_env): Likewise.
16888 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16889 $(test-wrapper) to run-iconv-test.sh.
16890 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16891 (ICONV): Use $test_wrapper.
16892 * posix/Makefile ($(objpfx)globtest.out): Pass
16893 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16894 globtest.sh, not $(run-program-prefix).
16895 * posix/globtest.sh (run_via_rtld_prefix): New variable.
16896 (test_wrapper): Likewise.
16897 (test_wrapper_env): Likewise. Use it to run globtest with HOME
16898 set together with run_via_rtld_prefix.
16899 (run_program_prefix): Define in terms of test_wrapper and
16900 run_via_rtld_prefix.
16902 2012-10-24 Roland McGrath <roland@hack.frob.com>
16904 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16905 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16909 * include/time.h: Remove librt_hidden_proto (clock_gettime).
16910 Declare __clock_getres, __clock_gettime, __clock_settime,
16911 __clock_nanosleep, and __clock_getcpuclockid.
16912 * rt/clock_gettime.c: Define __clock_gettime as an alias.
16913 Remove librt_hidden_def (clock_gettime).
16914 * sysdeps/unix/clock_gettime.c: Likewise.
16915 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16916 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16917 * rt/clock_getres.c: Define __clock_getres as an alias.
16918 * sysdeps/posix/clock_getres.c: Likewise.
16919 * rt/clock_settime.c: Define __clock_settime as an alias.
16920 * sysdeps/unix/clock_settime.c: Likewise.
16921 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16922 * sysdeps/unix/clock_nanosleep.c: Likewise.
16923 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16924 * rt/clock-compat.c: New file.
16925 * rt/Makefile (librt-routines): Add clock-compat and move
16926 $(clock-routines) to ...
16927 (routines): ... here, new variable.
16928 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16929 Don't add get_clockfreq here.
16930 * rt/Versions (libc: GLIBC_2.17): New version set.
16931 Add clock_* symbols here.
16932 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
16933 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16934 (GLIBC_2.17): Add clock_* symbols.
16935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16937 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16946 * NEWS: Mention the move.
16948 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16949 Use __open, __read, __close rather than their public counterparts.
16950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16951 (__get_clockfreq_via_cpuinfo): Likewise.
16952 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16953 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16955 * config.h.in (HAVE_IFUNC): New #undef.
16956 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16958 * configure: Regenerated.
16960 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16962 * configure.in: Move READELF check to start of file.
16963 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16964 libc_cv_asm_gnu_indirect_function in the process.
16965 * configure: Regenerated.
16967 2012-10-24 Mike Frysinger <vapier@gentoo.org>
16969 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16970 send the output to /dev/null.
16971 (libc_cv_cc_with_libunwind): Likewise.
16972 (libc_cv_as_noexecstack): Likewise.
16973 * configure: Regenerate.
16975 2012-10-24 Joseph Myers <joseph@codesourcery.com>
16977 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16979 * posix/globtest.sh (TMPDIR): Do not set.
16980 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16981 (testout): Likewise.
16983 2012-10-24 Andreas Jaeger <aj@suse.de>
16985 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16986 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16987 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16988 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16989 posix_fadvise64, posix_fallocate64.
16991 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16992 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16993 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16995 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16997 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17000 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17001 <bits/fcntl-linux.h>.
17002 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17005 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17006 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17007 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17008 [__WORDSIZE != 64]: Likewise.
17010 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17012 * Makeconfig (run-built-tests): New variable.
17013 * Rules [$(cross-compiling) = yes]: Change condition to
17014 [$(run-built-tests) = no].
17015 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17016 to [$(run-built-tests) = yes].
17017 * elf/Makefile [$(cross-compiling) = no]: Likewise
17018 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17019 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17020 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17021 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17022 * io/Makefile [$(cross-compiling) = no]: Likewise.
17023 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17024 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17025 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17026 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17027 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17028 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17029 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17030 * string/Makefile [$(cross-compiling) = no]: Likewise.
17032 * posix/Makefile ($(objpfx)globtest.out): Pass
17033 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17034 $(rtld-installed-name).
17035 * posix/globtest.sh (elf_objpfx): Remove variable.
17036 (rtld_installed_name): Likewise.
17037 (library_path): Likewise.
17038 (run_program_prefix): New variable. Use for running globtest
17041 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17042 Joseph Myers <joseph@codesourcery.com>
17044 * Makeconfig (host-built-program-cmd): New variable.
17045 * elf/Makefile (tst-stackguard1-ARGS): Use
17046 $(host-built-program-cmd).
17047 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17048 (tst-spawn-ARGS): Likewise.
17049 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17051 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17052 Jim Blandy <jimb@codesourcery.com>
17054 * Makeconfig (run-via-rtld-prefix): New variable.
17055 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17056 (built-program-cmd): Likewise.
17058 2012-10-22 Andreas Jaeger <aj@suse.de>
17060 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17061 __O_RSYNC if it exists, otherwise to O_SYNC.
17063 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17064 Joseph Myers <joseph@codesourcery.com>
17066 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17068 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17070 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17073 2012-10-22 Andreas Jaeger <aj@suse.de>
17075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17080 bits/fcntl-linux.h.
17082 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17083 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17085 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17090 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17091 Joseph Myers <joseph@codesourcery.com>
17093 * config.make.in (NM): New variable.
17095 2012-10-21 Andreas Jaeger <aj@suse.de>
17097 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17098 definitions and declarations that are provided by
17099 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17101 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17104 * elf/Makefile (tests-static): Add tst-leaks1-static.
17105 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17106 ($(objpfx)tst-leaks1-static): New rule.
17107 ($(objpfx)tst-leaks1-static-mem): Likewise.
17108 (tst-leaks1-static-ENV): New macro.
17109 * elf/dl-open.c (dl_open_worker): Check the main application
17110 only if SHARED is defined.
17111 * elf/tst-leaks1-static.c: New file.
17113 2012-10-20 Andreas Jaeger <aj@suse.de>
17115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17116 generic values for Linux.
17117 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17118 and declarations that are provided by <bits/fcntl-linux.h> and
17119 include <bits/fcntl-linux.h>.
17120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17123 2012-10-20 Roland McGrath <roland@hack.frob.com>
17125 * io/fcntl.h: Move include of <bits/types.h> to the top and
17126 include it unconditionally.
17128 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17130 * wcsmbs/Makefile (tests-ifunc): New variable.
17131 (tests): Add $(tests-ifunc).
17132 * wcsmbs/test-wcschr-ifunc.c: New file.
17133 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17134 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17135 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17136 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17137 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17139 * string/Makefile (tests-ifunc): New variable.
17140 (tests): Add $(tests-ifunc).
17141 * string/test-memccpy.c (TEST_NAME): New macro.
17142 * string/test-memchr.c (TEST_NAME): Likewise.
17143 * string/test-memcmp.c (TEST_NAME): Likewise.
17144 * string/test-memcpy.c (TEST_NAME): Likewise.
17145 * string/test-memmem.c (TEST_NAME): Likewise.
17146 * string/test-memmove.c (TEST_NAME): Likewise.
17147 * string/test-memset.c (TEST_NAME): Likewise.
17148 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17149 * string/test-stpcpy.c (TEST_NAME): Likewise.
17150 * string/test-stpncpy.c (TEST_NAME): Likewise.
17151 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17152 * string/test-strcasestr.c (TEST_NAME): Likewise.
17153 * string/test-strcat.c (TEST_NAME): Likewise.
17154 * string/test-strchr.c (TEST_NAME): Likewise.
17155 * string/test-strcmp.c(TEST_NAME): Likewise.
17156 * string/test-strcpy.c (TEST_NAME): Likewise.
17157 * string/test-strcspn.c (TEST_NAME): Likewise.
17158 * string/test-strlen.c (TEST_NAME): Likewise.
17159 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17160 * string/test-strncmp.c (TEST_NAME): Likewise.
17161 * string/test-strncpy.c (TEST_NAME): Likewise.
17162 * string/test-strnlen.c (TEST_NAME): Likewise.
17163 * string/test-strpbrk.c (TEST_NAME): Likewise.
17164 * string/test-strrchr.c (TEST_NAME): Likewise.
17165 * string/test-strspn.c (TEST_NAME): Likewise.
17166 * string/test-strstr.c (TEST_NAME): Likewise.
17167 * string/test-bcopy-ifunc.c: New file.
17168 * string/test-bzero-ifunc.c: Likewise.
17169 * string/test-memccpy-ifunc.c: Likewise.
17170 * string/test-memchr-ifunc.c: Likewise.
17171 * string/test-memcmp-ifunc.c: Likewise.
17172 * string/test-memcpy-ifunc.c: Likewise.
17173 * string/test-memmem-ifunc.c: Likewise.
17174 * string/test-memmove-ifunc.c: Likewise.
17175 * string/test-mempcpy-ifunc.c: Likewise.
17176 * string/test-memset-ifunc.c: Likewise.
17177 * string/test-rawmemchr-ifunc.c: Likewise.
17178 * string/test-stpcpy-ifunc.c: Likewise.
17179 * string/test-stpncpy-ifunc.c: Likewise.
17180 * string/test-strcasecmp-ifunc.c: Likewise.
17181 * string/test-strcasestr-ifunc.c: Likewise.
17182 * string/test-strcat-ifunc.c: Likewise.
17183 * string/test-strchr-ifunc.c: Likewise.
17184 * string/test-strchrnul-ifunc.c: Likewise.
17185 * string/test-strcmp-ifunc.c: Likewise.
17186 * string/test-strcpy-ifunc.c: Likewise.
17187 * string/test-strcspn-ifunc.c: Likewise.
17188 * string/test-strlen-ifunc.c: Likewise.
17189 * string/test-strncasecmp-ifunc.c: Likewise.
17190 * string/test-strncat-ifunc.c: Likewise.
17191 * string/test-strncmp-ifunc.c: Likewise.
17192 * string/test-strncpy-ifunc.c: Likewise.
17193 * string/test-strnlen-ifunc.c: Likewise.
17194 * string/test-strpbrk-ifunc.c: Likewise.
17195 * string/test-strrchr-ifunc.c: Likewise.
17196 * string/test-strspn-ifunc.c: Likewise.
17197 * string/test-strstr-ifunc.c: Likewise.
17199 * debug/Makefile (tests-ifunc): New variable.
17200 (tests): Add $(tests-ifunc).
17201 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17202 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17203 * debug/test-stpcpy_chk-ifunc.c: New file.
17204 * debug/test-strcpy_chk-ifunc.c: Likewise.
17206 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17209 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17210 header is not read in.
17212 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17214 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17215 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17216 directly. Pass built executable to script as
17217 $(built-program-cmd).
17218 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17219 $testprogram without using LD_LIBRARY_PATH and $ldso.
17221 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17222 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17223 $(rtld-installed-name).
17224 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17225 (rtld_installed_name): Likewise.
17226 (library_path): Likewise.
17227 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17228 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17229 $(run-program-prefix) to tst-tables.sh.
17230 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17231 it to run tst-table-from and tst-table-to.
17232 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17233 Pass it to tst-table.sh.
17234 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17235 $(run-program-prefix) to tst-gettext.sh.
17236 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17238 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17240 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17241 to run tst-gettext.
17242 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17243 to run tst-gettext2.
17244 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17245 to run tst-translit.
17246 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17247 $(run-program-prefix) to tst-mtrace.sh.
17248 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17250 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17251 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17252 $(rtld-installed-name).
17253 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17254 (rtld_installed_name): Likewise.
17255 (run_program_prefix): New variable. Use it to run wordexp-test.
17257 * Makeconfig (ARCH): Remove all definitions.
17258 (machine): Likewise.
17259 [ARCH]: Remove conditional code.
17260 [!objdir]: Give error.
17261 [!objdir] (objpfx): Remove.
17262 [!objdir] (common-objpfx): Likewise.
17263 [!objdir] (common-objdir): Likewise.
17264 * configure.in (config_makefile): Remove. Hardcode Makefile in
17265 AC_CONFIG_FILES call.
17266 * configure: Regenerated.
17269 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17271 (testout): Likewise.
17273 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17274 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17275 $(rtld-installed-name).
17276 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17277 (rtld_installed_name): Likwise.
17278 (runit): Remove function.
17279 (run_getconf): New variable, Use it for running getconf binary.
17281 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17284 * string/test-memmem.c (check_result): New function.
17285 (do_one_test): Use it.
17286 (check1): New function.
17287 (test_main): Use it.
17289 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17291 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17293 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17295 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17296 (_G_LSEEK64): Likewise.
17297 (_G_MMAP64): Likewise.
17298 (_G_FSTAT64): Likewise.
17299 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17300 (_G_LSEEK64): Likewise.
17301 (_G_MMAP64): Likewise.
17302 (_G_FSTAT64): Likewise.
17303 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17304 unconditional. Call __mmap64 directly.
17305 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17306 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17307 __lseek64 directly.
17308 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17309 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17311 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17312 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17313 __lseek64 directly.
17314 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17315 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17316 __lseek64 directly.
17317 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17318 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17319 __lseek64 directly.
17320 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17321 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17322 __fxstat64 directly.
17323 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17324 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17326 (freopen64) [!_G_OPEN64]: Remove conditional code.
17327 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17329 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17330 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17332 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17333 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17335 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17336 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17338 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17339 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17341 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17342 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17344 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17345 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17347 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17349 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17352 * manual/memory.texi (Malloc Tunable Parameters): Add note
17353 about free list pointers overwriting some perturb bytes.
17354 Wording suggested by Roland McGrath.
17356 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17358 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17359 (lgamma_test): Likewise.
17360 (tgamma_test): Likewise.
17362 2012-10-16 Florian Weimer <fweimer@redhat.com>
17365 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17366 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17368 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17370 * NEWS: Mention BZ #14716.
17371 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17372 when removing AVAILABLE1_USES_J macro.
17374 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17376 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17377 (__bswap_64): __uint64_t for unsigned 64-bit int.
17379 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17381 * include/string.h (memmem): Declare libc hidden alias.
17382 * string/memmem.c (memmem): Define libc hidden alias.
17383 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17384 __read, __close instead of open, read, close.
17386 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17388 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17389 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17391 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17392 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17393 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17395 (__rawmemchr_sse2): Likewise.
17396 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17397 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17398 (__strchr_sse2): Likewise.
17399 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17400 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17401 (__strcasecmp_sse2): Likewise.
17402 (__strncasecmp_sse2): Likewise.
17403 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17404 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17405 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17406 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17407 (__strrchr_sse2): Likewise.
17408 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17410 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17411 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17412 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17413 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17414 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17415 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17416 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17417 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17418 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17419 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17420 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17421 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17422 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17423 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17424 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17425 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17426 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17427 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17428 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17429 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17430 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17431 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17432 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17433 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17434 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17435 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17436 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17437 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17438 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17439 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17441 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17443 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17444 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17445 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17446 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17448 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17450 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17451 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17452 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17453 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17455 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17456 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17457 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17458 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17459 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17460 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17461 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17462 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17463 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17464 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17465 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17466 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17467 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17468 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17469 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17470 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17471 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17472 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17473 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17474 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17475 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17476 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17477 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17478 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17479 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17480 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17481 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17482 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17483 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17484 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17485 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17486 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17487 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17488 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17489 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17490 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17491 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17492 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17493 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17494 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17495 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17497 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17498 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17499 * include/ifunc-impl-list.h: New file.
17500 * misc/ifunc-impl-list.c: Likewise.
17501 * misc/Makefile (routines): Add ifunc-impl-list.
17502 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17503 * string/test-string.h: Include <ifunc-impl-list.h>.
17504 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17505 impl_array): New variables.
17506 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17508 (test_init): Call __libc_ifunc_impl_list to initialize
17509 func_list if TEST_IFUNC and TEST_NAME are defined.
17511 * string/Makefile (strop-tests): Add bcopy and bzero.
17512 * string/test-bcopy.c: New file.
17513 * string/test-bzero.c: Likewise.
17514 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17516 * string/test-memset.c: Support bzero test if TEST_BZERO is
17518 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17520 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17522 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17525 2012-10-10 Joseph Myers <joseph@codesourcery.com>
17527 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17528 * configure: Regenerated.
17530 * Makeconfig (+link-static-before-libc): Don't include
17531 $(link-static-libc).
17533 * libio/libio.h (_IO_pos_t): Remove.
17535 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17537 * NEWS: Add note about FIPS mode. Wording suggested by Roland
17540 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17542 * crypt/crypt-entry.c: Include fips-private.h.
17543 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
17544 * crypt/md5c-test.c (main): Tolerate disabled MD5.
17545 * sysdeps/unix/sysv/linux/fips-private.h: New file.
17546 * sysdeps/generic/fips-private.h: New file, dummy fallback.
17548 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
17550 * crypt/crypt-private.h: Include stdbool.h.
17551 (_ufc_setup_salt_r): Return bool.
17552 * crypt/crypt-entry.c: Include errno.h.
17553 (__crypt_r): Return NULL with EINVAL for bad salt.
17554 * crypt/crypt_util.c (bad_for_salt): New.
17555 (_ufc_setup_salt_r): Check that salt is long enough and within
17556 the specified alphabet.
17557 * crypt/badsalttest.c: New file.
17558 * crypt/Makefile (tests): Add it.
17559 ($(objpfx)badsalttest): New.
17561 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
17563 * NEWS: Add entry for BZ #14602.
17565 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17567 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
17569 * math/libm-test.inc: Update comment listing what functions and
17571 (isgreater_test): New function.
17572 (isgreaterequal_test): Likewise.
17573 (isless_test): Likewise.
17574 (islessequal_test): Likewise.
17575 (islessgreater_test): Likewise.
17576 (isunordered_test): Likewise.
17577 (main): Call the new functions.
17579 2012-10-09 Roland McGrath <roland@hack.frob.com>
17581 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
17582 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
17583 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
17584 * sysdeps/i386/configure: Regenerated.
17585 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
17586 * sysdeps/mach/configure: Regenerated.
17587 * sysdeps/mach/hurd/configure: Regenerated.
17588 * sysdeps/powerpc/configure: Regenerated.
17589 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17590 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17591 * sysdeps/s390/s390-32/configure: Regenerated.
17592 * sysdeps/s390/s390-64/configure: Regenerated.
17593 * sysdeps/sh/configure: Regenerated.
17594 * sysdeps/sparc/configure: Regenerated.
17595 * sysdeps/unix/sysv/linux/configure: Regenerated.
17596 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17597 * sysdeps/x86_64/configure: Regenerated.
17599 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
17600 defined. Don't check if MAP is NULL.
17602 2012-10-09 Joseph Myers <joseph@codesourcery.com>
17604 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
17605 (_G_stat64): Likewise.
17606 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
17607 (_G_stat64): Likewise.
17608 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
17609 instead of struct _G_stat64.
17610 * libio/fileops.c (mmap_remap_check): Likewise.
17611 (decide_maybe_mmap): Likewise.
17612 (_IO_new_file_seekoff): Likewise.
17613 (_IO_file_stat): Likewise.
17614 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
17616 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
17617 instead of struct _G_stat64.
17618 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17620 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
17623 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17625 (CHECK_EOL): New macro.
17626 (two_way_short_needle): Check beginning of haystack for EOL. Use
17628 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17629 Replace with CHECK_EOL.
17630 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17631 Replace with CHECK_EOL.
17633 2012-10-08 Joseph Myers <joseph@codesourcery.com>
17635 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17637 * math/libm-test.inc: Update comment listing what functions and
17639 (finite_test): New function.
17640 (isinf_test): Likewise.
17641 (isnan_test): Likewise.
17642 (fpclassify_test): Test subnormal input.
17643 (isfinite_test): Likewise.
17644 (isnormal_test): Likewise.
17645 (main): Call the new functions.
17647 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
17650 * Makerules (%.dynsym): Force C locale when running
17651 $(OBJDUMP) --dynamic-syms.
17653 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
17655 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17658 2012-10-06 David S. Miller <davem@davemloft.net>
17660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17661 upper 32-bits of the length value in %o2 since we use branch-on-register
17662 tests which consider the entire 64-bit register.
17664 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
17666 * string/test-strstr.c (check2): Add a test for page boundary.
17668 2012-10-05 David S. Miller <davem@davemloft.net>
17670 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17671 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17673 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17675 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17676 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17677 and bzero when HWCAP_SPARC_CRYPTO is present.
17679 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
17682 * string/test-strstr.c (check2): New function.
17683 (test_main): Call check2.
17685 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17687 * string/bug-strcasestr1.c (do_test): Moved to ...
17688 * string/test-strcasestr.c (check1): Here. New function.
17689 (do_one_test): Break out result checking code into ...
17690 (check_result): This. New function.
17691 (do_one_test): Call check_result.
17692 (test_main): Call check1.
17693 * string/bug-strchr1.c (do_test): Moved to ...
17694 * string/test-strchr.c (check1): Here. New function.
17695 (do_one_test): Break out result checking code into ...
17696 (check_result): This. New function.
17697 (do_one_test): Call check_result.
17698 (test_main): Call check1.
17699 * string/bug-strstr1.c (main): Moved to ...
17700 * string/test-strstr.c (check1): Here. New function.
17701 (do_one_test): Break out result checking code into ...
17702 (check_result): This. New function.
17703 (do_one_test): Call check_result.
17704 (test_main): Call check1.
17705 * string/bug-strcasestr1.c: Removed.
17706 * string/bug-strchr1.c: Likewise.
17707 * string/bug-strstr1.c: Likewise.
17709 * elf/Makefile (dl-routines): Add hwcaps.
17710 * elf/dl-support.c (_dl_important_hwcaps): Removed.
17711 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17712 (_dl_important_hwcaps): Moved to ...
17713 * elf/dl-hwcaps.c: Here. New file.
17714 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17717 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17718 if IS_IN_rtld isn't defined.
17720 * elf/dl-support.c (_dl_sysinfo_map): New.
17721 Include "get-dynamic-info.h" and "setup-vdso.h".
17722 (_dl_non_dynamic_init): Call setup_vdso.
17723 * elf/dynamic-link.h: Don't include <assert.h>.
17724 (elf_get_dynamic_info): Moved to ...
17725 * elf/get-dynamic-info.h: Here. New file.
17726 * elf/dynamic-link.h: Include "get-dynamic-info.h".
17727 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17728 * elf/setup-vdso.h: Here. New file.
17729 * elf/rtld.c: Include "setup-vdso.h".
17730 (dl_main): Call setup_vdso.
17732 2012-10-05 Joseph Myers <joseph@codesourcery.com>
17734 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17735 creal in comment listing functions tested. List finite, isinf,
17736 isnan, isless, islessequal, isgreater, isgreaterequal,
17737 islessgreater, isunordered, lgamma_r and pow10 as functions and
17738 macros not tested. Mention which functions not tested are aliases
17739 for other functions. Fix typo. Note that signs of NaNs are not
17742 * scripts/config.guess: Update from config.git.
17743 * scripts/config.sub: Likewise.
17745 2012-10-04 Roland McGrath <roland@hack.frob.com>
17747 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17748 * misc/madvise.c (madvise): Renamed to __madvise.
17749 Make madvise a weak alias.
17750 * include/sys/mman.h: Declare __madvise.
17751 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17752 * sysdeps/unix/syscalls.list
17753 (madvise): Make __madvise the strong name, and madvise a weak alias.
17754 * sysdeps/unix/sysv/linux/syscalls.list
17755 (madvise, mmap): Remove redundant entries.
17756 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17757 * malloc/malloc.c (mtrim): Likewise.
17758 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17760 2012-10-03 Roland McGrath <roland@hack.frob.com>
17762 * sysdeps/mach/hurd/dl-cache.c: File removed.
17763 * config.h.in (USE_LDCONFIG): New #undef.
17764 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17765 * configure: Regenerated.
17766 * elf/Makefile (dl-routines): Add dl-cache only under
17767 [$(use-ldconfig) = yes].
17768 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17769 cache on [USE_LDCONFIG].
17770 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17772 * elf/rtld.c (dl_main): Likewise.
17774 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
17776 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17777 _SC_LEVEL4_CACHE_LINESIZE.
17779 2012-10-03 Roland McGrath <roland@hack.frob.com>
17781 * sysdeps/unix/bsd/confstr.h: File removed.
17783 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
17785 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17788 2012-10-02 Roland McGrath <roland@hack.frob.com>
17790 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17791 Make 'mapoff' field ElfW(Off) rather than off_t.
17793 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
17795 * nscd/Makefile: Remove nscd-cflags and all its users.
17796 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17797 (CFLAGS-nonlib): Add compiler flags for nscd modules.
17800 * malloc.c (malloc_printerr): Clarify error message.
17802 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
17805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17806 Set bit_FMA_Usable if FMA is supported.
17807 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17809 (bit_FMA4_Usable): Updated.
17810 (index_FMA_Usable): New macro.
17811 (CPUID_FMA): Likewise
17812 (HAS_FMA): Defined with bit_FMA_Usable.
17814 2012-10-01 Roland McGrath <roland@hack.frob.com>
17816 * bits/types.h (__swblk_t): Type removed.
17817 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17818 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17819 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17820 (__SWBLK_T_TYPE): Likewise.
17821 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17822 (__SWBLK_T_TYPE): Likewise.
17823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17824 (__SWBLK_T_TYPE): Likewise.
17825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17826 (__SWBLK_T_TYPE): Likewise.
17828 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
17829 Honza Horak <hhorak@redhat.com>
17831 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17832 (xdr_mapname): Use YPMAXMAP as maxsize.
17833 (xdr_peername): Use YPMAXPEER as maxsize.
17834 (xdr_keydat): Use YPAXRECORD as maxsize.
17835 (xdr_valdat): Use YPMAXRECORD as maxsize.
17837 2012-10-01 Roland McGrath <roland@hack.frob.com>
17839 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17841 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17842 * csu/init-first.c: ... here.
17843 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17844 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17845 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17846 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17847 * sysdeps/i386/init-first.c: File removed.
17848 * sysdeps/sh/init-first.c: File removed.
17850 2012-10-01 Joseph Myers <joseph@codesourcery.com>
17853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17854 if x * y might underflow to zero and z is zero.
17855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17857 * math/libm-test.inc (min_subnorm_value): New variable.
17858 (fma_test): Add more tests.
17859 (fma_test_towardzero): Likewise.
17860 (fma_test_downward): Likewise
17861 (fma_test_upward): Likewise.
17862 (initialize): Set min_subnorm_value.
17864 2012-09-29 Joseph Myers <joseph@codesourcery.com>
17867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17870 mode for addition resulting in exact zero.
17871 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17872 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17874 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17876 * math/libm-test.inc (fma_test): Add more tests.
17877 (fma_test_towardzero): New function.
17878 (fma_test_downward): Likewise.
17879 (fma_test_upward): Likewise.
17880 (main): Call the new functions.
17882 2012-09-28 David S. Miller <davem@davemloft.net>
17884 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17886 2012-09-28 Roland McGrath <roland@hack.frob.com>
17888 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17889 instead of SIGALRM.
17891 * sysdeps/gnu/_G_config.h: Moved to ...
17892 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17893 * sysdeps/mach/hurd/_G_config.h: Moved to ...
17894 * sysdeps/generic/_G_config.h: ... here.
17896 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
17898 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17900 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17901 Conditionalize target on [libnss_test1.so-version].
17903 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17905 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17906 (elfobjdir): Move out of conditionals.
17908 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17909 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17910 (__nss_lookup_function): Conditionalize label remove_from_tree on
17911 [!DO_STATIC_NSS || SHARED], matching its only use.
17913 2012-09-28 David S. Miller <davem@davemloft.net>
17915 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17916 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17918 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17920 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17922 when HWCAP_SPARC_CRYPTO is present.
17924 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17926 * io/tst-mknodat.c: Create a FIFO instead of a socket.
17928 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
17931 * stdio-common/vfprintf.c (process_string_arg): Revert
17934 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
17936 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17938 * stdio-common/tst-sprintf.c: Include <locale.h>
17939 (main): Test sprintf's handling of incomplete multibyte
17942 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
17944 * elf/dl-runtime.c (VERSYMIDX): Removed.
17945 * elf/dl-version.c (VERSYMIDX): Likewise.
17946 * elf/do-rel.h (VERSYMIDX): Likewise.
17947 (VALIDX): Likewise.
17948 * elf/dynamic-link.h (VERSYMIDX): Likewise.
17949 * elf/rtld.c (VALIDX): Likewise.
17950 (ADDRIDX): Likewise.
17951 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17952 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17953 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17954 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17955 (VALIDX): Likewise.
17956 (ADDRIDX): Likewise.
17958 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17960 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17962 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
17965 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17967 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17968 addresses are in the same scope as 192.0.2/24.
17969 * posix/gai.conf: Document new scope table defaults.
17971 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17974 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17975 for ftell. Compute offsets from write pointers instead.
17976 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17978 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17981 * libio/Makefile (tests): New test case tst-fseek.
17982 * libio/tst-fseek.c: New test case to verify that fseek/ftell
17983 combination works in wide mode.
17984 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17985 state when the external buffer state changes.
17987 2012-09-27 David S. Miller <davem@davemloft.net>
17990 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17991 pass reloc->r_addend in as the 'high' argument to
17992 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17996 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
17998 * rt/tst-aio2.c: Include <pthread.h>.
17999 * rt/tst-aio3.c: Likewise.
18001 2012-09-27 Steve Ellcey <sellcey@mips.com>
18003 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18005 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18007 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18008 contents on [SHARED].
18010 2012-09-26 Marek Polacek <polacek@redhat.com>
18014 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18015 for C++ and GCC <4.3 as well as for non GCC compilers.
18017 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18021 2012-09-25 Roland McGrath <roland@hack.frob.com>
18023 * Makefile.in (all, install): Declare with .PHONY.
18024 Reported by Michael Hope <michael.hope@linaro.org>.
18026 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18028 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18029 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18031 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18033 (sydep_routines): Add the new and the internal functions.
18034 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18035 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18037 (GLIBC_2.17): Add the new function.
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18039 (GLIBC_2.17): Likewise.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18041 (GLIBC_2.17): Likewise.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18043 (GLIBC_2.17): Likewise.
18044 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18046 2012-09-25 Alan Modra <amodra@gmail.com>
18048 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18049 Add release barrier before setting once_control to say
18050 initialisation is done. Add hints on lwarx. Use macro in
18052 (clear_once_control): Add release barrier.
18054 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18057 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18059 * math/s_clog10.c (__clog10): Likewise.
18060 * math/s_clog10f.c (__clog10f): Likewise.
18061 * math/s_clog10l.c (__clog10l): Likewise.
18062 * math/s_clogf.c (__clogf): Likewise.
18063 * math/s_clogl.c (__clogl): Likewise.
18064 * math/Makefile (libm-calls): Add x2y2m1.
18065 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18066 (__x2y2m1): Likewise.
18067 (__x2y2m1l): Likewise.
18068 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18069 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18070 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18071 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18072 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18073 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18074 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18075 * sysdeps/i386/fpu/libm-test-ulps: Update.
18076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18079 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18080 int as type of variable DEPTH.
18081 (glob): Use size_t instead of int as type of variables NEWCOUNT
18084 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18086 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18087 Add s_sincosf-sse2.
18088 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18089 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18090 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18091 macros for using routine as __sincosf_ia32.
18092 Use macro for function declaration and weak_alias.
18093 * sysdeps/i386/fpu/libm-test-ulps: Update.
18095 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18098 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18099 subnormal argument.
18100 * math/s_cexpf.c (__cexpf): Likewise.
18101 * math/s_csinf.c (__csinf): Likewise.
18102 * math/s_csinhf.c (__csinhf): Likewise.
18103 * math/s_ctanf.c (__ctanf): Likewise.
18104 * math/s_ctanhf.c (__ctanhf): Likewise.
18105 * math/s_ccosh.c (__ccoshf): Likewise.
18106 * math/s_cexp.c (__cexpl): Likewise.
18107 * math/s_csin.c (__csin): Likewise.
18108 * math/s_csinh.c (__csinh): Likewise.
18109 * math/s_ctan.c (__ctan): Likewise.
18110 * math/s_ctanh.c (ctanh): Likewise.
18111 * math/s_ccoshl.c (__ccoshl): Likewise.
18112 * math/s_cexpl.c (__cexpl): Likewise.
18113 * math/s_csinl.c (__csinl): Likewise.
18114 * math/s_csinhl.c (__csinhl): Likewise.
18115 * math/s_ctanl.c (__ctanl): Likewise.
18116 * math/s_ctanhl.c (__ctanhl): Likewise.
18118 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18120 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18121 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18122 (_IO_off_t): Define to __off_t, not _G_off_t.
18123 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18124 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18125 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18126 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18127 type of __dummy and __dummy2 fields.
18128 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18129 (_G_ssize_t): Likewise.
18130 (_G_off_t): Likewise.
18131 (_G_pid_t): Likewise.
18132 (_G_uid_t): Likewise.
18133 (_G_wchar_t): Likewise.
18134 (_G_wint_t): Likewise.
18135 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18136 (_G_ssize_t): Likewise.
18137 (_G_off_t): Likewise.
18138 (_G_pid_t): Likewise.
18139 (_G_uid_t): Likewise.
18140 (_G_wchar_t): Likewise.
18141 (_G_wint_t): Likewise.
18142 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18143 (_G_ssize_t): Likewise.
18144 (_G_off_t): Likewise.
18145 (_G_pid_t): Likewise.
18146 (_G_uid_t): Likewise.
18147 (_G_wchar_t): Likewise.
18148 (_G_wint_t): Likewise.
18150 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18152 * malloc/arena.c: Include malloc-sysdep.h.
18153 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18154 is sufficient to shrink the heap or an unmap is needed.
18155 * sysdeps/generic/malloc-sysdep.h: New file. Define
18156 new function check_may_shrink_heap.
18157 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18158 new function check_may_shrink_heap.
18160 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18162 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18165 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18167 * catgets/test-gencat.sh: Add "set -e".
18168 * elf/tst-pathopt.sh: Likewise.
18169 * grp/tst_fgetgrent.sh: Likewise.
18170 * iconvdata/run-iconv-test.sh: Likewise.
18171 * intl/tst-gettext.sh: Likewise.
18172 * intl/tst-gettext2.sh: Likewise.
18173 * intl/tst-gettext4.sh: Likewise.
18174 * intl/tst-gettext6.sh: Likewise.
18175 * intl/tst-translit.sh: Likewise.
18176 * io/ftwtest-sh: Likewise.
18177 * libio/test-freopen.sh: Likewise.
18178 * malloc/tst-mtrace.sh: Likewise.
18179 * posix/globtest.sh: Likewise.
18180 * posix/tst-getconf.sh: Likewise.
18181 * posix/wordexp-tst.sh: Likewise.
18182 * stdio-common/tst-printf.sh: Likewise.
18183 * stdio-common/tst-unbputc.sh: Likewise.
18184 * stdlib/tst-fmtmsg.sh: Likewise.
18185 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18186 * catgets/Makefile: Do not specify -e option when running
18187 testsuite shell scripts.
18188 * elf/Makefile: Likewise.
18189 * grp/Makefile: Likewise.
18190 * iconvdata/Makefile: Likewise.
18191 * intl/Makefile: Likewise.
18192 * io/Makefile: Likewise.
18193 * libio/Makefile: Likewise.
18194 * malloc/Makefile: Likewise.
18195 * posix/Makefile: Likewise.
18196 * stdio-common/Makefile: Likewise.
18197 * stdlib/Makefile: Likewise.
18198 * sysdeps/x86_64/Makefile: Likewise.
18200 * io/ftwtest-sh: Add copyright header.
18201 * posix/globtest.sh: Likewise.
18202 * posix/tst-getconf.sh: Likewise.
18203 * posix/wordexp-tst.sh: Likewise.
18204 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18206 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18209 * Makeconfig (+link): Defined as $(+link-static) if
18210 $(build-shared) isn't yes.
18211 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18213 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18215 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18218 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18219 new chunk size with MALLOC_ALIGN_MASK.
18221 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18224 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18226 (__printf_fphex): Determine rounding using get_rounding_mode and
18228 * stdio-common/tst-printf-round.c (struct hex_test): New
18230 (hex_tests): New variable.
18231 (test_hex_in_one_mode): New function.
18232 (do_test): Also run tests for hex float output.
18234 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18236 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18237 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18238 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18239 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18240 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18241 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18242 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18243 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18245 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18247 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18248 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18249 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18250 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18252 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18255 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18257 * elf/tst-rtld-load-self.sh: New test.
18258 * elf/Makefile: Run it.
18260 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18262 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18263 (tst-writev-ENV): Remove.
18264 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18266 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18268 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18270 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18272 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18274 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18276 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18277 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18278 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18281 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18284 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18285 * config.make.in (have-cpp-asm-debuginfo): Removed.
18286 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18287 * configure: Regenerated.
18289 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18292 * stdio-common/printf_fp.c: Include <stdbool.h> and
18294 (___printf_fp): Determine rounding using get_rounding_mode and
18296 * stdio-common/tst-printf-round.c: New file.
18297 * stdio-common/Makefile (tests): Add tst-printf-round.
18298 (link-libm): New variable.
18299 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18301 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18304 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18305 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18307 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18310 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18312 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18313 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18314 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18315 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18317 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18320 * include/rounding-mode.h: New file.
18321 * sysdeps/generic/get-rounding-mode.h: Likewise.
18322 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18323 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18324 (MAX_VALUE): New macro.
18325 (MIN_VALUE): Likewise.
18326 (overflow_value): New function.
18327 (underflow_value): Likewise.
18328 (round_and_return): Use overflow_value and underflow_value to
18329 determine return values in overflow and underflow cases. Use
18330 round_away to determine rounding depending on rounding mode.
18331 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18332 determine return values in overflow and underflow cases.
18333 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18334 (struct test_results): New structure.
18335 (struct test): Use struct test_results to store expected results
18336 for all rounding modes.
18337 (TEST): Include expected results for all rounding modes.
18338 (test_in_one_mode): New function.
18339 (do_test): Use test_in_one_mode to compute and check results.
18340 Check results for all rounding modes.
18341 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18344 2012-12-09 Allan McRae <allan@archlinux.org>
18346 * sysdeps/i386/fpu/libm-test-ulps: Update
18348 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18350 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18351 (_G_int32_t): Likewise.
18352 (_G_uint16_t): Likewise.
18353 (_G_uint32_t): Likewise.
18354 (_G_HAVE_BOOL): Likewise.
18355 (_G_HAVE_ATEXIT): Likewise.
18356 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18357 (_G_HAVE_IO_FILE_OPEN): Likewise.
18358 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18359 (_G_int32_t): Likewise.
18360 (_G_uint16_t): Likewise.
18361 (_G_uint32_t): Likewise.
18362 (_G_HAVE_BOOL): Likewise.
18363 (_G_HAVE_ATEXIT): Likewise.
18364 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18365 (_G_HAVE_IO_FILE_OPEN): Likewise.
18366 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18367 (_G_int32_t): Likewise.
18368 (_G_uint16_t): Likewise.
18369 (_G_uint32_t): Likewise.
18370 (_G_HAVE_BOOL): Likewise.
18371 (_G_HAVE_ATEXIT): Likewise.
18372 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18373 (_G_HAVE_IO_FILE_OPEN): Likewise.
18375 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18377 * csu/libc-tls.c: Update copyright years.
18379 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18381 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18382 [!_G_USING_THUNKS]: Remove conditional code.
18383 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18384 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18386 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18387 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18388 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18389 (_G_VTABLE_LABEL_PREFIX): Likewise.
18390 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18391 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18392 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18393 (_G_VTABLE_LABEL_PREFIX): Likewise.
18394 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18395 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18396 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18397 (_G_VTABLE_LABEL_PREFIX): Likewise.
18398 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18400 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18402 * libio/Makefile: Include ../Makeconfig before tests.
18403 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18404 only if $(build-shared) is yes.
18406 * iconv/gconv_db.c: Update copyright years.
18408 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18410 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18411 unwind info if defined PIC. Fix special cases description.
18412 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18414 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18416 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18418 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18420 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18422 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18425 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18426 (LDLIBS-tst-chk4): This.
18427 (LDFLAGS-tst-chk5): Renamed to ...
18428 (LDLIBS-tst-chk5): This.
18429 (LDFLAGS-tst-chk6): Renamed to ...
18430 (LDLIBS-tst-chk6): This.
18431 (LDFLAGS-tst-lfschk4): Renamed to ...
18432 (LDLIBS-tst-lfschk4): This.
18433 (LDFLAGS-tst-lfschk5): Renamed to ...
18434 (LDLIBS-tst-lfschk5): This.
18435 (LDFLAGS-tst-lfschk6): Renamed to ...
18436 (LDLIBS-tst-lfschk6): This.
18438 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18439 on $(common-objpfx)soversions.mk.
18441 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18444 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18447 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18449 * malloc/arena.c (arena_get_retry): New function that gets
18450 another arena for the caller to try its request on.
18451 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18452 current arena cannot fulfill the request.
18453 (__libc_memalign): Likewise.
18454 (__libc_memalign): Likewise.
18455 (__libc_pvalloc): Likewise.
18456 (__libc_calloc): Likewise.
18458 2012-09-05 John Tobey <john.tobey@gmail.com>
18461 * manual/arith.texi (Operations on Complex): Fix description
18462 of carg branch cut.
18464 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18467 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18471 * manual/memory.texi (Memory): Make order of menu items match
18474 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18476 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18477 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18478 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18480 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18482 * csu/libc-tls.c (static_dtv): Renamed to ...
18483 (_dl_static_dtv): This. Make it global.
18484 (_dl_initial_dtv): Removed.
18485 (__libc_setup_tls): Updated.
18486 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18487 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18490 2012-09-06 Petr Machata <pmachata@redhat.com>
18492 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18493 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18494 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18495 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18497 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18500 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18501 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18504 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18507 * Makeconfig (link-static-before-libc): Replace $(+prector)
18509 (link-static-after-libc): Replace $(+postctor) with
18511 (link-bounded): Replace $(+prector)/$(+postctor) with
18512 $(+prectorT)/$(+postctorT).
18513 (+prectorT): New macro.
18514 (+postctorT): Likewise.
18516 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18518 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18519 (round_str): Handle values above the maximum for IBM long double
18521 * stdlib/tst-strtod-round.c (tests): Regenerated.
18523 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18525 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18527 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18528 zarch_nohighgprs around the zarch optimized routines.
18529 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18530 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18531 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18534 2012-09-05 David S. Miller <davem@davemloft.net>
18536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18538 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
18539 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
18540 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
18541 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
18544 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18546 * malloc/arena.c: Fold copyright years.
18547 * malloc/mcheck.c, malloc/memusage.c: Likewise.
18549 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18551 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
18553 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18555 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
18557 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18559 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
18560 change internal state upon failure.
18562 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
18564 * malloc/mcheck.c (mcheck_check_all): Fix typo.
18565 * malloc/memusage.c (mmap): Likewise.
18566 (mmap64, mremap): Likewise. Adjust name in comment.
18568 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18570 * libio/fileops.c: Fix typos in comments.
18571 * libio/oldfileops.c: Likewise.
18572 * libio/wfileops.c: Likewise.
18574 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18577 * malloc/Makefile (tests): Add tst-malloc-usable test case.
18578 (tst-malloc-usable-ENV): Set environment for test case.
18579 * malloc/hooks.c (malloc_check_get_size): New function to get
18581 * malloc/malloc.c (musable): Use malloc_check_get_size.
18582 * malloc/tst-malloc-usable.c: New test case.
18584 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18586 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
18588 2012-09-05 Allan McRae <allan@archlinux.org>
18591 * configure.in (CXX_SYSINCLUDES): Use compiler output to
18592 determine header location.
18593 * configure: Regenerated.
18595 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
18597 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
18599 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
18600 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
18602 (test): Regenerate.
18604 2012-09-04 David S. Miller <davem@davemloft.net>
18606 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
18607 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
18608 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
18610 2012-09-04 Florian Weimer <fweimer@redhat.com>
18612 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
18615 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
18617 2012-09-04 Joseph Myers <joseph@codesourcery.com>
18620 * libio/iogetdelim.c: Include <limits.h>.
18621 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18622 + len + 1 would overflow.
18624 2012-09-03 Andreas Jaeger <aj@suse.de>
18626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18627 * sysdeps/i386/fpu/libm-test-ulps: Update.
18629 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18631 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18632 Add s_sinf-sse2, s_conf-sse2.
18634 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18635 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18636 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18637 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18639 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18640 for using routine as __sinf_ia32.
18641 Use macro for function declaration and weak_alias.
18642 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18643 for using routine as __cosf_ia32.
18644 Use macro for function declaration and weak_alias.
18646 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18647 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18649 * sysdeps/x86_64/fpu/s_sinf.S: New file.
18650 * sysdeps/x86_64/fpu/s_cosf.S: New file.
18651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18653 * math/libm-test.inc (cos_test): Add more test cases.
18654 (sin_test): Likewise.
18655 (sincos_test): Likewise.
18657 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18659 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18660 (IFUNC_RESOLVE): Make pointers to the specialized implementations
18662 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18664 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
18667 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18668 first element of the GOT.
18669 (elf_machine_load_address): Return the difference between
18670 the runtime address of _DYNAMIC and elf_machine_dynamic ().
18672 2012-09-01 Allan McRae <allan@archlinux.org>
18675 * configure.in (AWK): Require gawk version 3.0 or later.
18676 * configure: Regenerated.
18678 2012-09-01 Joseph Myers <joseph@codesourcery.com>
18680 * sysdeps/unix/sysv/linux/kernel-features.h
18681 (__ASSUME_POSIX_CPU_TIMERS): Remove.
18682 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18683 [__NR_clock_getres]: Make code unconditional.
18684 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18685 (clock_getcpuclockid): Remove code left unreachable by removal of
18687 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18688 code unconditional.
18689 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18690 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18691 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18692 Make code unconditional.
18693 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18694 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18695 * sysdeps/unix/sysv/linux/clock_settime.c
18696 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18698 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18699 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18701 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
18704 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18705 scripts/test-installation.pl.
18707 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18708 and $ld_so_version if it is set.
18710 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18713 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18714 failure if reading from procfs failed.
18715 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18717 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18719 * sysdeps/unix/sysv/linux/kernel-features.h
18720 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18721 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18722 Remove conditional code.
18723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18724 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18725 Remove conditional code.
18726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18727 * sysdeps/unix/sysv/linux/i386/fxstat.c
18728 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18729 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18730 * sysdeps/unix/sysv/linux/i386/fxstatat.c
18731 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18732 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18733 * sysdeps/unix/sysv/linux/i386/lxstat.c
18734 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18736 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18737 Remove conditional code.
18738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18739 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18740 Remove conditional code.
18741 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18742 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18743 <kernel-features.h>.
18744 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18746 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18747 Remove conditional code.
18748 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18749 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18750 Remove conditional.
18752 2012-08-27 Mike Frysinger <vapier@gentoo.org>
18755 * NEWS: Add fixed bug number.
18757 2012-08-27 Joseph Myers <joseph@codesourcery.com>
18760 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18761 underflowing exponent in case of negative sign.
18762 * stdlib/tst-strtod-round-data: Add more tests.
18763 * stdlib/tst-strtod-round.c (tests): Regenerated.
18766 * stdlib/strtod_l.c (NDIG): Remove.
18767 (HEXNDIG): Likewise.
18768 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18769 smallest representable value.
18770 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18771 lie within an exact representation of 1/2 ulp of the result.
18772 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18774 (TENS_P9_IDX): Define unconditionally.
18775 (TENS_P9_SIZE): Likewise.
18776 (TENS_P10_IDX): Likewise.
18777 (TENS_P10_SIZE): Likewise.
18778 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18779 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18780 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18781 entries for 10^2^13 and 10^2^14.
18782 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18783 (TENS_P13_IDX): Define.
18784 (TENS_P13_SIZE): Likewise.
18785 (TENS_P14_IDX): Likewise.
18786 (TENS_P14_SIZE): Likewise.
18787 (_fpioconst_pow10): Change array size to
18788 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
18790 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18791 1024]: Add entries for 10^2^13 and 10^2^14.
18792 [LAST_POW10 > _LAST_POW10]: Remove #error.
18793 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18794 (_fpioconst_pow10): Change array size to
18795 FPIOCONST_POW10_ARRAY_SIZE.
18796 * stdlib/gen-fpioconst.c: New file.
18797 * stdlib/gen-tst-strtod-round.c: Likewise.
18798 * stdlib/tst-strtod-round-data: Likewise.
18799 * stdlib/tst-strtod-round.c: Likewise.
18800 * stdlib/Makefile (tests): Add tst-strtod-round.
18803 * stdlib/strtod_l.c: Include <stdint.h>.
18804 (NDEBUG): Do not define.
18805 (round_and_return): Change EXPONENT parameter to type intmax_t.
18806 Rearrange calculations to avoid internal overflow possibilities.
18807 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18808 Rearrange calculations to avoid internal overflow possibilities.
18809 Assert that number fits inside MPNSIZE limbs.
18810 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18811 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
18812 calculations and add assertions to avoid internal overflow
18813 possibilities. Add casts to avoid signed/unsigned operations.
18814 * stdlib/tst-strtod-overflow.c: New file.
18815 * stdlib/Makefile (tests): Add tst-strtod-overflow.
18817 2012-08-25 Marek Polacek <polacek@redhat.com>
18819 * time/time.h: Fix some typos in comments.
18821 2012-08-23 Roland McGrath <roland@hack.frob.com>
18823 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18824 * posix/tst-rfc3484-2.c: Likewise.
18825 * posix/tst-rfc3484-3.c: Likewise.
18827 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
18829 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18830 (EF_ARM_ABI_FLOAT_HARD): Likewise.
18832 2012-08-23 Joseph Myers <joseph@codesourcery.com>
18834 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18835 #include of fxstatat64.c.
18837 2012-08-22 Roland McGrath <roland@hack.frob.com>
18839 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18840 * shadow/getspent_r.c: Likewise.
18841 * shadow/getspnam.c: Likewise.
18842 * shadow/getspnam_r.c: Likewise.
18843 * gshadow/getsgent.c: Likewise.
18844 * gshadow/getsgent_r.c: Likewise.
18845 * gshadow/getsgnam.c: Likewise.
18846 * gshadow/getsgnam_r.c: Likewise.
18847 * inet/getnetbyad.c: Likewise.
18848 * inet/getnetbyad_r.c: Likewise.
18849 * inet/getnetbynm.c: Likewise.
18850 * inet/getnetbynm_r.c: Likewise.
18851 * inet/getnetent.c: Likewise.
18852 * inet/getnetent_r.c: Likewise.
18853 * inet/getproto.c: Likewise.
18854 * inet/getproto_r.c: Likewise.
18855 * inet/getprtent.c: Likewise.
18856 * inet/getprtent_r.c: Likewise.
18857 * inet/getprtname.c: Likewise.
18858 * inet/getprtname_r.c: Likewise.
18859 * inet/getrpcbyname.c: Likewise.
18860 * inet/getrpcbyname_r.c: Likewise.
18861 * inet/getrpcbynumber.c: Likewise.
18862 * inet/getrpcbynumber_r.c: Likewise.
18863 * inet/getrpcent.c: Likewise.
18864 * inet/getrpcent_r.c: Likewise.
18865 * inet/getaliasent.c: Likewise.
18866 * inet/getaliasent_r.c: Likewise.
18867 * inet/getaliasname.c: Likewise.
18868 * inet/getaliasname_r.c: Likewise.
18869 * nscd/getgrgid_r.c: Likewise.
18870 * nscd/getgrnam_r.c: Likewise.
18871 * nscd/gethstbyad_r.c: Likewise.
18872 * nscd/gethstbynm3_r.c: Likewise.
18873 * nscd/getpwnam_r.c: Likewise.
18874 * nscd/getpwuid_r.c: Likewise.
18875 * nscd/getsrvbynm_r.c: Likewise.
18876 * nscd/getsrvbypt_r.c: Likewise.
18877 * nscd/gai.c: Likewise.
18879 * configure.in (build_nscd): New substituted variable, set
18880 by --disable-build-nscd and defaults to $use_nscd.
18881 * configure: Regenerated.
18882 * config.make.in (build-nscd): New substituted variable.
18883 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18884 Change conditional to require [$(build-nscd) = yes] as well.
18885 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18888 * configure.in (use_nscd): New substituted variable, set by
18889 --disable-nscd. If enabled, define USE_NSCD.
18890 * configure: Regenerated.
18891 * config.h.in: Add USE_NSCD.
18892 * config.make.in (use-nscd): New substituted variable.
18893 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18894 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18895 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18896 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18897 (CFLAGS-getgrnam_r.c): Likewise.
18898 (CFLAGS-initgroups.c): Likewise.
18899 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18900 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18902 * inet/getnetgrent_r.c
18903 (nscd_setnetgrent): New function, broken out of ...
18904 (setnetgrent): ... here. Call it.
18905 (innetgr): Conditionalize nscd bits on [USE_NSCD].
18906 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18907 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18908 * nscd/Makefile (routines, aux): Move definitions after include of
18909 Makeconfig. Conditionalize on [$(use-nscd) != no].
18910 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18911 Conditionalize on [USE_NSCD].
18912 (is_nscd, nscd_init_cb): Likewise.
18913 (nss_load_library): Conditionalize init callback on [USE_NSCD].
18914 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18915 * nss/nss_db/db-init.c: Likewise.
18916 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18918 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18919 (make_request): Use it.
18920 (cache_valid_p): New function.
18921 (__check_pf): Use it.
18922 * NEWS: Add item for --disable-nscd.
18924 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
18926 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18927 to support sed >= 4.2.1-20-ga9bf076.
18928 * configure: Regenerated.
18930 2012-08-22 Roland McGrath <roland@hack.frob.com>
18932 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18933 Conditionalize whole body on [IREL].
18935 2012-08-22 Jeff Law <law@redhat.com>
18938 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18939 if the family is PF_UNSPEC.
18941 2012-08-22 Mike Frysinger <vapier@gentoo.org>
18943 * Makerules (lib-version): Rename from V.
18944 (install-lib-nosubdir): Change V to lib-version.
18946 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
18949 * powerpc32/power6/wcschr.c: New file.
18950 * powerpc32/power6/wcscpy.c: New file.
18951 * powerpc32/power6/wcsrchr.c: New file.
18952 * powerpc64/power6/wcschr.c: New file.
18953 * powerpc64/power6/wcscpy.c: New file.
18954 * powerpc64/power6/wcsrchr.c: New file.
18956 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18958 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18959 (two_way_short_needle): Use it.
18960 * string/strstr.c (AVAILABLE1_USES_J): Define.
18961 * string/strcasestr.c: Likewise.
18963 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18965 * string/strcasestr.c (TOLOWER): Make side-effect safe.
18968 * NEWS: Add an entry.
18969 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18970 define their defaults.
18971 (two_way_short_needle): Detect end-of-string on-the-fly.
18972 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18973 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18974 * string/bug-strcasestr1.c: New test.
18975 * string/Makefile: Run it.
18977 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
18980 * string/str-two-way.h (two_way_short_needle): Optimize matching of
18981 the first character.
18983 2012-08-21 Roland McGrath <roland@hack.frob.com>
18985 * csu/elf-init.c (__libc_csu_irel): Function removed.
18986 * csu/libc-start.c (apply_irel): New function.
18987 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18989 2012-08-21 Joseph Myers <joseph@codesourcery.com>
18991 * sysdeps/unix/sysv/linux/kernel-features.h
18992 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18993 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18994 <kernel-features.h>.
18995 [__NR_fadvise64_64]: Make code unconditional.
18996 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18997 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18998 !__NR_fadvise64_64)]: Likewise.
18999 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19000 !__NR_fadvise64_64))]: Likewise.
19001 [__NR_fadvise64]: Make code unconditional.
19002 [!__NR_fadvise64]: Remove conditional code.
19003 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19004 <kernel-features.h>.
19005 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19007 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19010 not include <kernel-features.h>.
19011 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19013 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19015 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19016 include <kernel-features.h>.
19017 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19019 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19022 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19024 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19025 slight instruction rearrangements per scrollpipe analysis.
19026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19028 2012-08-20 Roland McGrath <roland@hack.frob.com>
19030 * manual/syslog.texi (syslog; vsyslog, closelog):
19031 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19032 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19034 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19035 DSOCAPS to match condition on defining it.
19037 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19039 * sysdeps/unix/sysv/linux/kernel-features.h
19040 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19042 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19043 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19045 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19046 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19048 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19049 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19051 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19052 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19054 * sysdeps/unix/sysv/linux/kernel-features.h
19055 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19056 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19058 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19059 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19060 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19061 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19062 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19063 Make code unconditional.
19064 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19065 (__mmap64) [!__NR_mmap2]: Likewise.
19066 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19067 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19068 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19069 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19070 [__NR_mmap2]: Make code unconditional.
19071 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19072 (__mmap64) [!__NR_mmap2]: Likewise.
19074 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19076 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19078 2012-08-18 Andreas Jaeger <aj@suse.de>
19080 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19082 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19084 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19085 * include/unistd.h (__have_sock_cloexec): Likewise.
19086 (__have_pipe2): Likewise.
19087 (__have_dup3): Likewise.
19089 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19092 * include/unistd.h (__have_pipe2): Change define into an extern int.
19093 (__have_dup3): Likewise.
19094 * socket/have_sock_cloexec.c: Include fcntl.h.
19095 (__have_pipe2): New variable.
19096 (__have_dup3): Likewise.
19098 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19100 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19102 2012-08-17 Marek Polacek <polacek@redhat.com>
19104 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19105 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19107 2012-08-17 Roland McGrath <roland@hack.frob.com>
19109 * configure.in: Add AC_SUBST for sysheaders.
19110 * configure: Regenerated.
19111 * config.make.in (sysheaders): New substituted variable.
19113 * sysdeps/unix/mkfifo.c: Moved ...
19114 * sysdeps/posix/mkfifo.c: ... here.
19115 * sysdeps/unix/mkfifoat.c: Moved ...
19116 * sysdeps/posix/mkfifoat.c: ... here.
19118 * sysdeps/unix/utime.c: Moved ...
19119 * sysdeps/posix/utime.c: ... here.
19121 * sysdeps/unix/time.c: Moved ...
19122 * sysdeps/posix/time.c: ... here.
19123 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19124 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19126 * sysdeps/unix/nice.c: Moved ...
19127 * sysdeps/posix/nice.c: ... here.
19129 * sysdeps/unix/alarm.c: Moved ...
19130 * sysdeps/posix/alarm.c: ... here.
19132 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19134 2012-08-17 Jeff Law <law@redhat.com>
19136 * intl/Makefile (codeset_mo): New variable.
19137 ($(codeset_mo)): New target.
19138 (tst-codeset.out): Depend on that. Remove explicit rule.
19139 (tst-gettext3.out, tst-gettext5.out): Likewise.
19140 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19141 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19142 * intl/tst-codeset.sh: Remove.
19143 * intl/tst-gettext3.sh: Likewise.
19144 * intl/tst-gettext5.sh: Likewise.
19146 2012-08-17 Roland McGrath <roland@hack.frob.com>
19148 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19149 * sysdeps/unix/syscalls.list: ... here.
19151 * sysdeps/posix/getaddrinfo.c
19152 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19153 (gaiconf_init, gaiconf_reload): Use them.
19154 [!_STATBUF_ST_NSEC]
19155 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19156 Define using time_t rather than struct timespec.
19158 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19159 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19161 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19163 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19164 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19167 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19168 __libc_cleanup_push argument.
19170 * bits/param.h: New file.
19171 * misc/sys/param.h: New file.
19172 * include/sys/param.h: New file.
19173 * misc/Makefile (headers): Add bits/param.h.
19174 * sysdeps/generic/sys/param.h: File removed.
19175 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19176 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19177 * sysdeps/mach/hurd/bits/param.h: New file.
19178 * sysdeps/mach/hurd/sys/param.h: File removed.
19180 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19183 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19185 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19186 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19189 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19190 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19191 rather than -D_IO_MTSAFE_IO conditionally.
19192 * stdio-common/Makefile (CPPFLAGS): Likewise.
19193 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19194 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19195 Use $(libio-mtsafe).
19196 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19197 of -D_IO_MTSAFE_IO.
19198 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19199 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19200 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19201 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19202 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19203 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19204 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19205 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19206 (CFLAGS-fread_u_chk.c): Likewise.
19207 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19208 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19209 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19210 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19211 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19212 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19213 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19214 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19215 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19217 * libio/Makefile: Test [$(libc-reentrant) = yes]
19218 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19221 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19222 * sysdeps/pthread/configure: File removed.
19223 * sysdeps/pthread/Makeconfig: New file.
19224 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19225 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19227 2012-08-16 Gary Benson <gbenson@redhat.com>
19229 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19230 unmapping the first object in a namespace.
19232 2012-08-16 Roland McGrath <roland@hack.frob.com>
19234 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19235 (__internal_setnetgrent): ... this. Add internal_function to
19236 definition. Add libc_hidden_def.
19237 (setnetgrent): Update caller.
19238 (internal_endnetgrent): Renamed to ...
19239 (__internal_endnetgrent): ... this. Add internal_function to
19240 definition. Add libc_hidden_def.
19241 (endnetgrent): Update caller.
19242 (internal_getnetgrent_r): Renamed to ...
19243 (__internal_getnetgrent_r): ... this. Add internal_function to
19244 definition. Add libc_hidden_def.
19245 (__getnetgrent_r): Update caller.
19246 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19248 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19250 * stdlib/longlong.h: Update from GCC.
19252 2012-08-16 Roland McGrath <roland@hack.frob.com>
19254 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19255 on _QL, which is set by umul_ppmm but never used.
19256 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19257 variables, which are set by GMP macros but never used.
19258 * stdio-common/_itowa.c (_itowa): Likewise.
19259 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19260 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19262 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19264 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19265 struct La_sh_regs is not constant.
19266 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19267 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19268 and struct La_sparc64_regs are not constant.
19270 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19272 * sysdeps/unix/sysv/linux/kernel-features.h
19273 (__ASSUME_POSIX_TIMERS): Remove.
19274 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19275 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19276 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19277 Make code unconditional.
19278 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19279 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19280 Make code unconditional.
19281 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19282 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19283 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19284 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19285 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19286 Make code unconditional.
19287 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19288 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19289 (__libc_missing_posix_timers): Remove.
19291 2012-08-15 Roland McGrath <roland@hack.frob.com>
19293 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19294 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19296 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19298 * elf/dl-sym.c: Include <stdlib.h>.
19300 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19301 constants, which avoids warnings in 32-bit builds.
19303 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19304 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19306 * misc/lseek.c: File moved to ...
19307 * io/lseek.c: ... here.
19309 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19311 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19312 shifting LEN more than 31 bits at once.
19314 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19317 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19318 segmentation fault for a case of two empty input strings.
19319 * string/test-strncasecmp.c (check1): Renamed to...
19320 (bz12205): ...this.
19321 (bz14195): Add new testcase for two empty input strings and N > 0.
19322 (test_main): Call new testcase, adapt for renamed function.
19324 2012-08-15 Andreas Jaeger <aj@suse.de>
19327 * crypt/md5test2.c: New test, based on test supplied by Serge
19328 Belyshev <belyshev@depni.sinp.msu.ru>.
19329 * crypt/Makefile (xtests): Add md5test-giant..
19330 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19332 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19335 * crypt/md5.c (md5_process_block): Don't assume the buffer
19336 length is less than 2**32.
19337 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19338 length is less than 2**64.
19340 2012-08-15 Roland McGrath <roland@hack.frob.com>
19342 * string/str-two-way.h: Include <sys/param.h>.
19343 (MAX): Macro removed.
19345 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19346 Move #define and #undef of memmove to just before and after
19347 including <string.h>.
19349 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19350 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19351 and after including <string.h>. Move declarations of
19352 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19353 to before #include "string/memmove.c".
19355 * include/dirent.h: Declare __getdirentries.
19357 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19358 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19360 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19362 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19363 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19364 * sysdeps/i386/configure: Regenerated.
19365 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19366 STABS_CURRENT_FILE, and STABS_FUN.
19367 (END): Remove call to STABS_FUN_END.
19368 (STABS_CURRENT_FILE1): Delete.
19369 (STABS_CURRENT_FILE): Likewise.
19370 (STABS_FUN): Likewise.
19371 (STABS_FUN_END): Likewise.
19372 (STABS_FUN2): Likewise.
19373 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19374 * sysdeps/x86_64/configure: Regenerated.
19376 2012-08-14 Roland McGrath <roland@hack.frob.com>
19378 * elf/dl-open.c: Include <atomic.h>.
19379 * elf/dl-lookup.c: Likewise.
19381 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19383 * sysdeps/unix/sysv/linux/kernel-features.h
19384 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19385 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19387 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19389 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19390 condition on __ASSUME_CLONE_THREAD_FLAGS.
19392 2012-08-14 Andreas Jaeger <aj@suse.de>
19394 * sysdeps/i386/fpu/libm-test-ulps: Update.
19396 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19398 * include/atomic.h (atomic_exchange_and_add): Split into ...
19399 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19402 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19406 2012-08-13 Jeff Law <law@redhat.com>
19408 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19409 null byte in the output string.
19411 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19413 * sysdeps/unix/sysv/linux/kernel-features.h
19414 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19415 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19416 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19417 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19418 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19419 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19420 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19422 2012-08-09 Jeff Law <law@redhat.com>
19425 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19426 When avoid_arena is set, don't retry in the that arena. Pick the
19427 next one, whatever it might be.
19428 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19429 (arena_lock): Pass in new parameter to arena_get2.
19430 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19432 (__libc_malloc): Unify retrying after main arena failure with
19433 __libc_memalign version.
19434 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19436 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19439 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19440 to __redirect_strstr.
19441 (__strstr_sse42): Use typeof __redirect_strstr.
19442 (__strstr_ia32): Likewise.
19443 (__libc_strstr): New prototype.
19444 (strstr): Renamed to ...
19445 (__libc_strstr): This.
19446 (strstr): New strong alias of __libc_strstr.
19447 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19448 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19451 (__libc_time): New prototype.
19452 (time_ifunc): Replace time with __libc_time.
19453 (time): New strong alias and hidden definition of __libc_time.
19454 (__GI_time): Remove strong alias.
19455 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19456 Include <stddef.h>.
19457 (memmove): Redefined to __redirect_memmove.
19458 (__memmove_sse2): Use typeof __redirect_memmove.
19459 (__memmove_ssse3): Likewise.
19460 (__memmove_ssse3_back): Likewise.
19461 (__libc_memmove): New prototype.
19462 (memmove): Renamed to ...
19463 (__libc_memmove): This.
19464 (memmove): New strong alias of __libc_memmove.
19466 2012-08-08 Mark Salter <msalter@redhat.com>
19469 (R_MN10300_TLS_GD): Define.
19470 (R_MN10300_TLS_LD): Likewise.
19471 (R_MN10300_TLS_LDO): Likewise.
19472 (R_MN10300_TLS_GOTIE): Likewise.
19473 (R_MN10300_TLS_IE): Likewise.
19474 (R_MN10300_TLS_LE): Likewise.
19475 (R_MN10300_TLS_DTPMOD): Likewise.
19476 (R_MN10300_TLS_DTPOFF): Likewise.
19477 (R_MN10300_TLS_TPOFF): Likewise.
19478 (R_MN10300_SYM_DIFF): Likewise.
19479 (R_MN10300_ALIGN): Likewise.
19480 (R_MN10300_NUM): Update.
19482 2012-08-08 Joseph Myers <joseph@codesourcery.com>
19484 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19487 2012-08-08 Roland McGrath <roland@hack.frob.com>
19489 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19491 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19492 sysdeps/unix -> sysdeps/posix move.
19493 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19495 2012-08-07 Allan McRae <allan@archlinux.org>
19498 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19499 (SUNOS_CPP): Likewise.
19500 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19502 (open_input): Call CPP using execvp.
19504 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19506 * sysdeps/unix/sysv/linux/kernel-features.h
19507 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19508 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19509 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19510 (__ASSUME_WAITID_SYSCALL): Likewise.
19511 * sysdeps/unix/sysv/linux/dl-execstack.c
19512 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19513 code unconditional.
19514 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19516 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19517 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19518 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19520 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19522 [__ASSUME_WAITID_SYSCALL]: Likewise.
19523 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19525 2012-08-07 Roland McGrath <roland@hack.frob.com>
19527 * sysdeps/unix/closedir.c: Renamed to ...
19528 * sysdeps/posix/closedir.c: ... here.
19529 * sysdeps/unix/dirfd.c: Renamed to ...
19530 * sysdeps/posix/dirfd.c: ... here.
19531 * sysdeps/unix/dirstream.h: Renamed to ...
19532 * sysdeps/posix/dirstream.h: ... here.
19533 * sysdeps/unix/fdopendir.c: Renamed to ...
19534 * sysdeps/posix/fdopendir.c: ... here.
19535 * sysdeps/unix/opendir.c: Renamed to ...
19536 * sysdeps/posix/opendir.c: ... here.
19537 * sysdeps/unix/readdir.c: Renamed to ...
19538 * sysdeps/posix/readdir.c: ... here.
19539 * sysdeps/unix/readdir_r.c: Renamed to ...
19540 * sysdeps/posix/readdir_r.c: ... here.
19541 * sysdeps/unix/rewinddir.c: Renamed to ...
19542 * sysdeps/posix/rewinddir.c: ... here.
19543 * sysdeps/unix/seekdir.c: Renamed to ...
19544 * sysdeps/posix/seekdir.c: ... here.
19545 * sysdeps/unix/telldir.c: Renamed to ...
19546 * sysdeps/posix/telldir.c: ... here.
19547 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
19548 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
19549 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
19550 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
19552 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
19553 * bits/fcntl.h: ... here.
19555 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
19557 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
19558 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
19559 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
19560 (struct flock): Move l_start, l_len to the beginning.
19561 Use __pid_t for l_pid.
19562 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
19563 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
19564 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
19565 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
19566 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
19567 [__USE_LARGEFILE64] (struct flock64): New type.
19568 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
19570 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
19571 * bits/dirent.h: ... here.
19573 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
19574 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
19576 2012-08-07 Joseph Myers <joseph@codesourcery.com>
19578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19579 Change from 2.6.0 to 2.6.16.
19580 * sysdeps/unix/sysv/linux/configure: Regenerated.
19581 * sysdeps/unix/sysv/linux/kernel-features.h
19582 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
19583 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
19585 (__ASSUME_UTIMES): Likewise.
19586 (__ASSUME_CLONE_STOPPED): Remove.
19587 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
19588 architectures, not kernel version.
19589 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
19590 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19591 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19592 (__ASSUME_WAITID_SYSCALL): Likewise.
19593 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
19594 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
19595 * README: State 2.6.16 as minimum Linux kernel version. Do not
19596 refer to older versions.
19598 2012-08-06 Roland McGrath <roland@hack.frob.com>
19600 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
19601 Define alphasort64 as an alias.
19602 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
19603 Define versionsort64 as an alias.
19604 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
19605 Define scandir64 as an alias.
19606 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
19607 Define scandirat64 as an alias.
19608 * dirent/alphasort64.c (alphasort64):
19609 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
19610 * dirent/versionsort64.c: Likewise.
19611 * dirent/scandir64.c: Likewise.
19612 * dirent/scandirat64.c: Likewise.
19613 * sysdeps/wordsize-64/alphasort.c: File removed.
19614 * sysdeps/wordsize-64/alphasort64.c: File removed.
19615 * sysdeps/wordsize-64/scandir.c: File removed.
19616 * sysdeps/wordsize-64/scandir64.c: File removed.
19617 * sysdeps/wordsize-64/scandirat.c: File removed.
19618 * sysdeps/wordsize-64/scandirat64.c: File removed.
19619 * sysdeps/wordsize-64/versionsort.c: File removed.
19620 * sysdeps/wordsize-64/versionsort64.c: File removed.
19621 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19622 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19623 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19624 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19625 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19626 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19627 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19628 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19630 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19632 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19633 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19634 [defined __arch64__ || defined __sparcv9]
19635 (__INO_T_MATCHES_INO64_T): New macro.
19636 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19637 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19638 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19639 * sysdeps/unix/sysv/linux/bits/dirent.h
19640 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19641 (_DIRENT_MATCHES_DIRENT64): New macro.
19643 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19644 Define lockf64 as an alias.
19645 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19646 Define fseeko64 as an alias.
19647 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19648 Define ftello64 as an alias.
19649 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19650 Define _IO_fgetpos64 and fgetpos64 as aliases.
19651 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19652 Define _IO_fsetpos64 and fsetpos64 as aliases.
19653 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19654 Conditionalize body on this.
19655 * libio/fseeko64.c: Likewise.
19656 * libio/ftello64.c: Likewise.
19657 * libio/iofgetpos64.c: Likewise.
19658 * libio/iofsetpos64.c: Likewise.
19659 * sysdeps/wordsize-64/lockf.c: File removed.
19660 * sysdeps/wordsize-64/lockf64.c: File removed.
19661 * sysdeps/wordsize-64/fseeko.c: File removed.
19662 * sysdeps/wordsize-64/fseeko64.c: File removed.
19663 * sysdeps/wordsize-64/ftello.c: File removed.
19664 * sysdeps/wordsize-64/ftello64.c: File removed.
19665 * sysdeps/wordsize-64/iofgetpos.c: File removed.
19666 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19667 * sysdeps/wordsize-64/iofsetpos.c: File removed.
19668 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19669 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19670 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19671 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19672 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19673 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19674 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19675 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19676 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19677 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19678 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19680 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19682 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19683 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19684 [defined __arch64__ || defined __sparcv9]
19685 (__OFF_T_MATCHES_OFF64_T): New macro.
19686 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19687 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19688 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19689 (__OFF_T_MATCHES_OFF64_T): New macro.
19691 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19693 * stdlib/secure-getenv.c (__secure_getenv): Replace
19694 GLIBC_2_16 with GLIBC_2_17.
19696 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
19698 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19699 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19701 2012-08-03 David S. Miller <davem@davemloft.net>
19703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19705 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19707 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19709 (__ASSUME_CORRECT_SI_PID): Likewise.
19710 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19711 (__ASSUME_TMPFS_NAME): Likewise.
19712 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19713 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19714 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19715 (HAVE_AUX_SECURE): Make definition unconditional.
19716 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19717 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19719 2012-08-03 Roland McGrath <roland@hack.frob.com>
19721 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19722 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19723 * sysdeps/mach/hurd/eloop-threshold.h: New file.
19724 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19725 __eloop_threshold instead of SYMLOOP_MAX.
19727 * sysdeps/generic/eloop-threshold.h: New file.
19728 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19730 * elf/chroot_canon.c (chroot_canon): Likewise.
19732 2012-08-03 Joseph Myers <joseph@codesourcery.com>
19735 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19736 Change to 2.6.0 everywhere.
19737 * sysdeps/unix/sysv/linux/configure: Regenerated.
19738 * sysdeps/unix/sysv/linux/kernel-features.h
19739 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19740 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19742 (__ASSUME_POSIX_TIMERS): Define unconditionally.
19743 (__ASSUME_FUTEX_REQUEUE): Remove.
19744 (__ASSUME_STATFS64): Define unconditionally.
19745 (__ASSUME_AT_SECURE): Likewise.
19746 (__ASSUME_CORRECT_SI_PID): Likewise.
19747 (__ASSUME_TGKILL): Define without depending on kernel version for
19749 (__ASSUME_UTIMES): Likewise.
19750 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19752 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19753 (__ASSUME_TMPFS_NAME): Likewise.
19754 * README: Update reference to Linux kernel versions.
19756 2012-08-02 Marek Polacek <polacek@redhat.com>
19759 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
19760 libc_cv_asm_type_prefix with %.
19761 * configure: Regenerated.
19762 * include/libc-symbols.h: Remove comment about
19763 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19764 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19765 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19766 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19767 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19768 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19769 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19770 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19771 * elf/tst-unique2mod1.c: Likewise.
19772 * elf/tst-unique1mod2.c: Likewise.
19773 * elf/tst-unique1mod1.c: Likewise.
19774 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19775 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19776 Replace ASM_TYPE_DIRECTIVE with .type.
19777 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19778 * sysdeps/i386/sysdep.h: Likewise.
19779 * sysdeps/x86_64/sysdep.h: Likewise.
19780 * sysdeps/sh/sysdep.h: Likewise.
19781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19782 Do not define ASM_TYPE_DIRECTIVE.
19783 * sysdeps/powerpc/sysdep.h: Likewise.
19784 * sysdeps/powerpc/powerpc32/sysdep.h:
19785 Replace ASM_TYPE_DIRECTIVE with .type.
19786 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19787 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19788 * sysdeps/i386/fpu/e_powf.S: Likewise.
19789 * sysdeps/i386/fpu/e_expl.S: Likewise.
19790 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19791 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19792 * sysdeps/i386/fpu/e_pow.S: Likewise.
19793 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19794 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19795 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19796 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19797 * sysdeps/i386/fpu/e_log2.S: Likewise.
19798 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19799 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19800 * sysdeps/i386/fpu/e_powl.S: Likewise.
19801 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19802 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19803 * sysdeps/i386/fpu/e_logl.S: Likewise.
19804 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19805 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19806 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19807 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19808 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19809 * sysdeps/i386/fpu/e_log.S: Likewise.
19810 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19811 * sysdeps/i386/fpu/e_logf.S: Likewise.
19812 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19813 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19814 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19815 * sysdeps/i386/fpu/e_log10.S: Likewise.
19816 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19817 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19818 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19819 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19820 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19821 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19822 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19823 * sysdeps/i386/i686/strtok.S: Likewise.
19824 * sysdeps/i386/i386-mcount.S: Likewise.
19825 * sysdeps/i386/strtok.S: Likewise.
19826 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19827 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19828 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19829 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19830 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19831 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19832 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19833 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19834 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19835 * sysdeps/x86_64/_mcount.S: Likewise.
19836 * sysdeps/x86_64/strtok.S: Likewise.
19837 * sysdeps/sh/_mcount.S: Likewise.
19839 2012-08-01 Roland McGrath <roland@hack.frob.com>
19841 * libio/iofopen.c: Include <fcntl.h>.
19842 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19843 (_IO_fopen64, fopen64): Define as aliases.
19844 * libio/iofopen64.c: Include <fcntl.h>.
19845 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19846 Conditionalize body on this.
19847 * sysdeps/wordsize-64/iofopen.c: File removed.
19848 * sysdeps/wordsize-64/iofopen64.c: File removed.
19850 2012-08-01 Marek Polacek <polacek@redhat.com>
19852 * libc/Makeconfig: Use elf in place of binfmt-subdir.
19853 Use dlfcn directly instead of a variable.
19854 (binfmt-subdir): Do not define.
19857 2012-08-01 Joseph Myers <joseph@codesourcery.com>
19859 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19860 Remove all definitions.
19861 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19862 <kernel-features.h>.
19863 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19864 (miss_F_GETOWN_EX): Remove all definitions.
19865 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19867 [!__ASSUME_FCNTL64]: Remove conditional code.
19868 [__ASSUME_FCNTL64]: Make code unconditional.
19869 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19870 <kernel-features.h>.
19871 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19872 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19873 (lockf64) [__NR_fcntl64]: Make code unconditional.
19874 (lockf64) [__ASSUME_FCNTL64]: Likewise.
19876 * sysdeps/unix/sysv/linux/kernel-features.h
19877 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19878 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19879 Make code unconditional.
19880 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19881 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19883 [__NR_vfork]: Make code unconditional.
19884 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19885 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19887 [__NR_vfork]: Make code unconditional.
19888 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19889 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19891 2012-08-01 Roland McGrath <roland@hack.frob.com>
19893 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19894 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19896 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19897 Define mkstemp64 as an alias.
19898 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19899 Define mkstemps64 as an alias.
19900 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19901 Define mkostemp64 as an alias.
19902 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19903 Define mkostemps64 as an alias.
19904 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19905 Conditionalize body on this.
19906 * misc/mkostemp64.c: Likewise.
19907 * misc/mkostemps64.c: Likewise.
19908 * misc/mkstemps64.c: Likewise.
19909 * sysdeps/wordsize-64/mkstemp64.c: File removed.
19910 * sysdeps/wordsize-64/mkostemp64.c: File removed.
19911 * sysdeps/wordsize-64/mkostemp.c: File removed.
19912 * sysdeps/wordsize-64/mkstemp.c: File removed.
19913 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19914 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19915 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19916 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19919 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19920 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19921 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19922 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19924 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19925 compat_symbol macros from <shlib-compat.h> rather than the underlying
19926 default_symbol_version and symbol_version macros, so that DEFAULT
19927 lines in shlib-versions are respected.
19928 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19930 2012-08-01 Florian Weimer <fweimer@redhat.com>
19932 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19933 Declare with warn_unused_result.
19934 (setgid, setregid, setegid, setresgid): Likewise.
19935 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19937 * WUR-REPORT: Remove set*id functions.
19939 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
19941 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19943 2012-07-31 Roland McGrath <roland@hack.frob.com>
19946 * include/sys/socket.h (__libc_accept, __libc_accept4):
19947 Add attribute_hidden.
19948 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19950 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19952 * inet/getnetgrent_r.c (setup): Likewise.
19954 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19956 2012-07-31 David S. Miller <davem@davemloft.net>
19958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19960 2012-07-31 Joseph Myers <joseph@codesourcery.com>
19963 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19964 value between 1.0 and 2.0 and smaller part has absolute value less
19966 * math/s_clog10.c (__clog10): Likewise.
19967 * math/s_clog10f.c (__clog10f): Likewise.
19968 * math/s_clog10l.c (__clog10l): Likewise.
19969 * math/s_clogf.c (__clogf): Likewise.
19970 * math/s_clogl.c (__clogl): Likewise.
19971 * math/libm-test.inc (clog_test): Add more tests.
19972 (clog10_test): Likewise.
19973 * sysdeps/i386/fpu/libm-test-ulps: Update.
19974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19976 2012-07-31 Florian Weimer <fweimer@redhat.com>
19978 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19979 Exit with zero in case no suitable GID is found, and write a
19980 message to standard error.
19982 2012-07-30 Roland McGrath <roland@hack.frob.com>
19984 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19986 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19987 (MAXPATHLEN): Removed.
19988 (NOGROUP, NODEV): New macros.
19989 (setbit, clrbit, isset, isclr): New macros.
19990 (howmany, roundup, powerof2): New macros.
19991 (DEV_BSIZE): New macro.
19993 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19994 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19996 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19997 definition on [!__NO_LONG_DOUBLE_MATH].
19999 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20000 PTR_MANGLE and PTR_DEMANGLE.
20002 * socket/accept4.c (accept4): Rename to __libc_accept4.
20003 Define accept4 as a weak alias.
20005 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20006 on [_DIRENT_HAVE_D_TYPE].
20007 * io/ftw.c (ftw_dir): Likewise.
20009 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20011 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20013 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20014 Use the BSD numbers rather than the arbitrary ones we had.
20015 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20016 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20017 (SIGXCPU, SIGXFSZ): New macros.
20020 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20021 initializer on [_LIBC_REENTRANT].
20023 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20024 definitions inside [_POSIX_MAPPED_FILES].
20026 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20028 * dirent/opendir.c: Include <fcntl.h>.
20030 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20031 (__libc_getspecific): Likewise.
20032 (__libc_key_create): Likewise.
20034 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20035 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20036 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20037 (tmpfile64): Define as alias.
20038 * sysdeps/wordsize-64/tmpfile.c: File removed.
20039 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20040 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20041 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20043 * stdio-common/vfscanf.c: Include <stdbool.h>.
20044 * nss/makedb.c: Likewise.
20045 * stdio-common/_i18n_number.h: Likewise.
20046 * argp/argp-help.c: Likewise.
20047 * posix/wordexp.c: Likewise.
20048 * sysdeps/posix/spawni.c: Likewise.
20049 * nss/nss_files/files-initgroups.c: Likewise.
20050 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20051 * nss/nss_files/files-initgroups.c: Likewise.
20052 * nss/nss_db/db-netgrp.c: Likewise.
20053 * nss/nss_db/db-initgroups.c: Likewise.
20054 * io/fchmodat.c: Include <sys/stat.h>.
20056 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20057 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20059 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20062 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20063 Add multiple inclusion protection.
20065 2012-07-27 David S. Miller <davem@davemloft.net>
20067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20069 2012-07-27 Gary Benson <gbenson@redhat.com>
20072 * elf/rtld.c: Include <stap-probe.h>.
20073 (dl_main): Added static probes "init_start" and "init_complete".
20074 * elf/dl-load.c: Include <stap-probe.h>.
20075 (lose): Take new parameter "nsid".
20076 Added static probe "map_failed".
20077 (_dl_map_object_from_fd): Pass namespace id to lose.
20078 Added static probe "map_start".
20079 (open_verify): Pass namespace id to lose.
20080 * elf/dl-open.c: Include <stap-probe.h>.
20081 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20082 and "reloc_complete".
20083 * elf/dl-close.c: Include <stap-probe.h>.
20084 (_dl_close_worker): Added static probes "unmap_start" and
20086 * elf/rtld-debugger-interface.txt: New file documenting the above.
20088 2012-07-26 Roland McGrath <roland@hack.frob.com>
20090 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20091 rather than a string variable.
20092 * sunrpc/rpc_main.c (h_output): Likewise.
20093 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20095 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20097 * inet/check_native.c: New file.
20099 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20102 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20103 if larger part has absolute value 1.0.
20104 * math/s_clog10.c (__clog10): Likewise.
20105 * math/s_clog10f.c (__clog10f): Likewise.
20106 * math/s_clog10l.c (__clog10l): Likewise.
20107 * math/s_clogf.c (__clogf): Likewise.
20108 * math/s_clogl.c (__clogl): Likewise.
20109 * math/libm-test.inc (clog_test): Add more tests.
20110 (clog10_test): Likewise.
20111 * sysdeps/i386/fpu/libm-test-ulps: Update.
20112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20114 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20115 (pltexit): Likewise.
20116 (La_regs): Likewise.
20117 (La_retval): Likewise.
20118 (int_retval): Likewise.
20119 Update #error for removed macros to refer only to definitions in
20121 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20123 (pltexit): Likewise.
20124 (La_regs): Likewise.
20125 (La_retval): Likewise.
20126 (int_retval): Likewise.
20127 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20129 (pltexit): Likewise.
20130 (La_regs): Likewise.
20131 (La_retval): Likewise.
20132 (int_retval): Likewise.
20133 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20135 (pltexit): Likewise.
20136 (La_regs): Likewise.
20137 (La_retval): Likewise.
20138 (int_retval): Likewise.
20139 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20141 (pltexit): Likewise.
20142 (La_regs): Likewise.
20143 (La_retval): Likewise.
20144 (int_retval): Likewise.
20145 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20147 (pltexit): Likewise.
20148 (La_regs): Likewise.
20149 (La_retval): Likewise.
20150 (int_retval): Likewise.
20151 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20153 (pltexit): Likewise.
20154 (La_regs): Likewise.
20155 (La_retval): Likewise.
20156 (int_retval): Likewise.
20157 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20158 macro definitions in tst-audit.h.
20159 * sysdeps/i386/tst-audit.h: New file.
20160 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20161 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20162 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20163 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20164 * sysdeps/sh/tst-audit.h: Likewise.
20165 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20166 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20167 * sysdeps/x86_64/tst-audit.h: Likewise.
20169 2012-07-26 Andreas Jaeger <aj@suse.de>
20171 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20174 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20175 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20176 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20178 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20179 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20180 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20182 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20185 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20187 (si_call_addr, si_syscall, si_arch): Define new macro.
20188 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20190 (si_call_addr, si_syscall, si_arch): Define new marcro.
20191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20193 (si_call_addr, si_syscall, si_arch): Define new macro.
20194 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20196 (si_call_addr, si_syscall, si_arch): Define new macro.
20198 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20201 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20202 Change to 2.4.21 where previously 2.4.1.
20203 * sysdeps/unix/sysv/linux/configure: Regenerated.
20204 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20205 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20206 Linux kernel version.
20207 (__ASSUME_STD_AUXV): Remove.
20208 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20210 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20211 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20212 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20213 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20214 (__ASSUME_NETLINK_SUPPORT): Likewise.
20215 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20216 (__no_netlink_support): Remove conditional definition.
20217 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20219 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20220 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20221 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20222 (if_nameindex_ioctl): Remove.
20223 (if_nameindex_netlink): Do not handle __no_netlink_support.
20224 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20226 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20227 Remove conditional code.
20228 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20230 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20232 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20233 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20234 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20236 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20237 [!__ASSUME_STD_AUXV]: Remove conditional code.
20238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20239 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20240 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20242 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20243 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20245 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20247 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20248 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20250 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20252 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20255 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20258 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20259 code unconditional.
20260 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20262 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20264 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20267 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20269 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20272 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20273 code unconditional.
20274 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20276 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20278 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20281 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20282 code unconditional.
20283 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20285 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20287 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20290 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20292 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20293 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20294 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20295 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20296 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20297 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20298 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20299 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20300 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20301 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20302 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20303 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20304 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20305 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20306 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20307 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20308 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20309 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20310 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20312 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20313 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20314 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20316 2012-07-25 Florian Weimer <fweimer@redhat.com>
20318 * Versions.def: Add GLIBC_2.17.
20319 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20320 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20321 Introduce __libc_secure_getenv.
20322 * stdlib/Versions (2.17): Add secure_getenv
20323 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20324 * stdlib/secure-getenv.c: Rename __secure_getenv to
20325 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20326 symbol __secure_getenv for GLIBC_2.0.
20327 * stdlib/tst-secure-getenv.c: New.
20328 * stdlib/Makefile (tests): Add testcase.
20329 * manual/startup.texi (Environment Access): Document
20331 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20332 __libc_secure_getenv.
20333 * inet/ruserpass.c (ruserpass): Likewise.
20334 * malloc/mtrace.c (mtrace): Likewise.
20335 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20336 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20337 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20338 * sysdeps/posix/tempname.c: Likewise. Evaluate
20339 HAVE_SECURE_GETENV.
20340 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20341 __secure_getenv to __libc_secure_getenv.
20342 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20349 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20355 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20357 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20358 (struct La_i86_retval): Likewise.
20359 (struct La_x86_64_regs): Likewise.
20360 (struct La_x86_64_retval): Likewise.
20361 (struct La_x32_regs): Likewise.
20362 (struct La_x32_retval): Likewise.
20363 (struct La_ppc32_regs): Likewise.
20364 (struct La_ppc32_retval): Likewise.
20365 (struct La_ppc64_regs): Likewise.
20366 (struct La_ppc64_retval): Likewise.
20367 (struct La_sh_regs): Likewise.
20368 (struct La_sh_retval): Likewise.
20369 (struct La_s390_32_regs): Likewise.
20370 (struct La_s390_32_retval): Likewise.
20371 (struct La_s390_64_regs): Likewise.
20372 (struct La_s390_64_retval): Likewise.
20373 (struct La_sparc32_regs): Likewise.
20374 (struct La_sparc32_retval): Likewise.
20375 (struct La_sparc64_regs): Likewise.
20376 (struct La_sparc64_retval): Likewise.
20377 (struct audit_ifaces): Remove architecture-specific pltenter and
20379 * sysdeps/i386/ldsodefs.h: New file.
20380 * sysdeps/powerpc/ldsodefs.h: Likewise.
20381 * sysdeps/s390/ldsodefs.h: Likewise.
20382 * sysdeps/sh/ldsodefs.h: Likewise.
20383 * sysdeps/sparc/ldsodefs.h: Likewise.
20384 * sysdeps/x86_64/ldsodefs.h: Likewise.
20386 2012-07-25 Marek Polacek <polacek@redhat.com>
20389 * math/libm-test.inc (yn_test): Add another test.
20390 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20391 to ERANGE when the result is +-Inf.
20392 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20393 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20394 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20395 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20397 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20399 * conform/data/time.h-data (NULL): Use macro-constant. Require
20401 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20403 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20405 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20407 * configure.in <sysdeps resolving>: Correct printing
20409 * configure: Regenerate.
20411 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20413 * math/w_ilogb.c: Include <limits.h>.
20414 * math/w_ilogbl.c: Likewise.
20416 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20418 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20419 va_copy. Document allowing for unavailable va_copy only as
20420 pre-C99 compatibility.
20421 * manual/string.texi (Copying and Concatenation): Use va_copy
20422 instead of __va_copy in concat example.
20424 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20426 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20427 (__sendto): Use create_address_port. Initialize APORT and deallocate
20430 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20431 with O_NOLINK passed to __file_name_lookup.
20433 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20434 with O_NOLINK passed to __file_name_lookup.
20436 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20437 negative N or less than NGIDS.
20439 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20440 type to string_t. Set ERANGE as errno and return it if NAME is not big
20441 enough. Use memcpy instead of strncpy.
20443 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20445 * elf/Makefile (check-data): Remove.
20446 (localplt.data): New vpath directive.
20447 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20448 instead of $(check-data).
20449 * scripts/data/localplt-generic.data: Move to ...
20450 * sysdeps/generic/localplt.data: ... here.
20451 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20452 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20453 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20456 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20459 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20462 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20465 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20468 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20472 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20474 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20475 PPC32 and PPC64 files.
20476 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20477 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20479 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20481 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20482 __makecontext_ret to ...
20483 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20484 ... here and call exit if uc_link is NULL. New file.
20485 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20486 __makecontext_ret.S.
20487 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20488 __makecontext_ret to ...
20489 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20490 ... here and call exit if uc_link is NULL. New file.
20491 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20492 __makecontext_ret.S.
20494 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20496 * elf/elf.h (R_390_IRELATIVE): New definition.
20497 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20498 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20499 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20500 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20501 (elf_machine_lazy_rel): Likewise.
20502 * sysdeps/s390/dl-irel.h: New file.
20503 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20504 * sysdeps/s390/s390-64/memset.S: New asm code.
20505 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20506 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20507 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20508 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20509 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20510 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20511 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20512 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20513 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20514 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20515 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20516 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20517 * sysdeps/s390/s390-32/memset.S: New asm code.
20518 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20520 2012-07-17 Marek Polacek <polacek@redhat.com>
20523 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20524 * sysdeps/s390/s390-64/configure.in: Likewise.
20525 * sysdeps/sparc/configure.in: Likewise.
20526 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20527 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20528 * sysdeps/i386/configure.in: Likewise.
20529 * sysdeps/x86_64/configure.in: Likewise.
20530 * sysdeps/sh/configure.in: Likewise.
20531 * sysdeps/s390/s390-32/configure: Regenerated.
20532 * sysdeps/s390/s390-64/configure: Likewise.
20533 * sysdeps/x86_64/configure: Likewise.
20534 * sysdeps/sh/configure: Likewise.
20535 * sysdeps/powerpc/powerpc64/configure: Likewise.
20536 * sysdeps/powerpc/powerpc32/configure: Likewise.
20537 * sysdeps/sparc/configure: Likwise.
20538 * sysdeps/i386/configure: Likewise.
20540 * elf/dl-open.c: Comment fixes.
20542 2012-07-17 Joseph Myers <joseph@codesourcery.com>
20544 * Makefile [CXX] (check-data): Remove.
20545 [CXX] (c++-types.data): New vpath directive.
20546 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
20547 vpath. Do not allow for C++ type data being missing.
20548 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
20549 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
20550 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
20551 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
20552 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
20553 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
20554 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
20555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
20557 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
20558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
20560 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
20561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
20563 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
20564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
20566 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
20567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
20569 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
20570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
20572 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
20573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
20575 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
20576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
20578 * elf/tls-macros.h (TLS_LE): Move architecture-specific
20579 definitions to architecture-specific files.
20580 (TLS_IE): Likewise.
20581 (TLS_LD): Likewise.
20582 (TLS_GD): Likewise.
20583 * sysdeps/i386/tls-macros.h: New file.
20584 * sysdeps/powerpc/tls-macros.h: Likewise.
20585 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20586 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20587 * sysdeps/sh/tls-macros.h: Likewise.
20588 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
20589 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
20590 * sysdeps/x86_64/tls-macros.h: Likewise.
20592 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20594 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
20595 zero value for regular exit case.
20597 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20598 (__start_context): Preserve zero value for regular exit case.
20600 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
20601 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20603 * manual/setjmp.texi (setcontext): Clarify normal process
20604 termination when uc_link is the null pointer.
20605 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
20608 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
20610 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
20611 preprocessor. Test for each exception mask separately.
20613 2012-07-16 Andreas Jaeger <aj@suse.de>
20615 * po/ru.po: Update from translation team.
20617 2012-07-15 Joseph Myers <joseph@codesourcery.com>
20619 * conform/data/string.h-data (NULL): Use macro-constant. Require
20621 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20622 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20623 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20624 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20627 2012-07-13 Andreas Jaeger <aj@suse.de>
20629 * po/fr.po: Update from translation team.
20631 2012-07-12 Marek Polacek <polacek@redhat.com>
20634 * math/libm-test.inc (yn_test): Add test for BZ #14173.
20635 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20638 2012-07-12 Joseph Myers <joseph@codesourcery.com>
20641 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20642 Change to 2.4.1 where previously 2.4.0.
20643 * sysdeps/unix/sysv/linux/configure: Regenerated.
20644 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20645 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20647 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20648 (__ASSUME_AT_CLKTCK): Remove.
20649 (__ASSUME_AT_PAGESIZE): Likewise.
20650 (__ASSUME_AT_XID): Likewise.
20651 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20652 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20653 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20655 (HAVE_AUX_PAGESIZE): Likewise.
20656 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20657 [__ASSUME_AT_CLKTCK]: Make code unconditional.
20658 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20660 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
20663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20664 the temporary buffer used to invoke __gethostbyname2_r,
20665 __gethostbyaddr_r and gethostbyname4_r to make room for struct
20666 host_data / struct gaih_addrtuple.
20667 * resolv/nss_dns/dns-host.c (global scope): Move definition of
20668 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20669 header file nss/nsswitch.h.
20670 * nss/nsswitch.h (global scope): Add definition of implementation
20671 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20672 resolv/nss_dns/dns-host.c).
20674 2012-07-11 Andreas Jaeger <aj@suse.de>
20676 * po/fr.po: Update from translation team.
20678 * po/sv.po: Update from translation team
20679 * po/fr.po: Another update from translation team.
20681 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20683 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20684 for subnormals or multiply small sinh result by itself.
20685 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20688 2012-07-11 David S. Miller <davem@davemloft.net>
20690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20692 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
20695 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20696 (INTERNAL_MARK): Shift it here.
20698 2012-07-10 Marek Polacek <polacek@redhat.com>
20701 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
20702 libc_cv_asm_global_directive with .globl.
20703 * configure: Regenerated.
20704 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20706 * sysdeps/i386/configure: Regenerated.
20707 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20709 * sysdeps/x86_64/configure: Regenerated.
20710 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20711 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20712 * elf/tst-unique2mod2.c: Likewise.
20713 * elf/tst-unique2mod1.c: Likewise.
20714 * elf/tst-unique1mod2.c: Likewise.
20715 * elf/tst-unique1mod1.c: Likewise.
20716 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20717 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20718 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20719 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20720 * sysdeps/mach/sysdep.h: Likewise.
20721 * sysdeps/i386/sysdep.h: Likewise.
20722 * sysdeps/i386/i386-mcount.S: Likewise.
20723 * sysdeps/x86_64/_mcount.S: Likewise.
20724 * sysdeps/x86_64/sysdep.h: Likewise.
20725 * sysdeps/sh/_mcount.S: Likewise.
20726 * sysdeps/sh/sysdep.h: Likewise.
20727 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20728 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20729 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20730 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20731 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20732 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20733 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20734 * locale/localeinfo.h: Likewise.
20735 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20736 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20738 2012-07-09 Roland McGrath <roland@hack.frob.com>
20741 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20743 * manual/message.texi (The Uniforum approach): Likewise.
20744 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20745 (glibc iconv Implementation): Likewise.
20747 2012-07-09 Joseph Myers <joseph@codesourcery.com>
20750 * math/s_clog.c (__clog): Avoid scaling a value down where that
20751 could result in underflow.
20752 * math/s_clog10.c (__clog10): Likewise.
20753 * math/s_clog10f.c (__clog10f): Likewise.
20754 * math/s_clog10l.c (__clog10l): Likewise.
20755 * math/s_clogf.c (__clogf): Likewise.
20756 * math/s_clogl.c (__clogl): Likewise.
20757 * math/libm-test.inc (clog_test): Add more tests.
20758 (clog10_test): Likewise.
20759 * sysdeps/i386/fpu/libm-test-ulps: Update.
20760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20762 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
20765 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20766 by 7 not 8 to examine high bit of fractional part.
20769 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20770 for call to __mcount_internal.
20771 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20772 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20773 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20775 2012-07-06 Joseph Myers <joseph@codesourcery.com>
20778 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20779 approximation for values within 0x1p-13f of an odd multiple of
20781 * math/libm-test.inc (tan_test): Do not allow spurious underflow
20782 exception. Add more tests.
20783 * sysdeps/i386/fpu/libm-test-ulps: Update.
20786 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20787 inputs and return -1 for them. Do not check for +Inf in case not
20788 reachable for +Inf.
20789 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20790 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20791 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20792 and return -1 for them. Do not check for +Inf in case not
20793 reachable for +Inf.
20794 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20796 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20797 and return -1 for them. Do not check for +Inf in case not
20798 reachable for +Inf.
20799 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
20800 spurious underflow.
20801 * sysdeps/i386/fpu/libm-test-ulps: Update.
20802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20804 2012-07-06 Mike Frysinger <vapier@gentoo.org>
20806 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20808 2012-07-05 Joseph Myers <joseph@codesourcery.com>
20812 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20813 could result in spurious underflow. Scale down values above
20814 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20815 * math/s_csqrtf.c (__csqrtf): Likewise.
20816 * math/s_csqrtl.c (__csqrtl): Likewise.
20817 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
20818 spurious underflow.
20819 * sysdeps/i386/fpu/libm-test-ulps: Update.
20820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20822 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
20824 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20826 * catgets/xopen-msg.awk: New file.
20827 * catgets/xopen-msg.sed: Removed.
20829 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20831 * intl/po2test.awk: New file.
20832 * intl/po2test.sed: Removed.
20834 2012-07-04 Joseph Myers <joseph@codesourcery.com>
20837 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20838 or multiply small sinh result by itself.
20839 * math/s_ctanf.c (__ctanf): Likewise.
20840 * math/s_ctanh.c (__ctanh): Likewise.
20841 * math/s_ctanhf.c (__ctanhf): Likewise.
20842 * math/s_ctanhl.c (__ctanhl): Likewise.
20843 * math/s_ctanl.c (__ctanl): Likewise.
20844 * math/libm-test.inc (ctan_test_tonearest): New function.
20845 (ctan_test_towardzero): Likewise.
20846 (ctan_test_downward): Likewise.
20847 (ctan_test_upward): Likewise.
20848 (ctanh_test_tonearest): Likewise.
20849 (ctanh_test_towardzero): Likewise.
20850 (ctanh_test_downward): Likewise.
20851 (ctanh_test_upward): Likewise.
20852 (main): Call these new functions.
20853 * sysdeps/i386/fpu/libm-test-ulps: Update.
20854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20856 2012-07-03 Mike Frysinger <vapier@gentoo.org>
20858 * .gitignore: Delete /ports entry.
20860 2012-07-03 Andreas Jaeger <aj@suse.de>
20862 * po/bg.po: Update from translation team.
20863 * po/cs.po: Likewise.
20864 * po/de.po: Likewise.
20865 * po/hr.po: Likewise.
20866 * po/nl.pl: Likewise.
20867 * po/pl.po: Likewise.
20868 * po/vi.po: Likewise.
20870 2012-07-03 Joseph Myers <joseph@codesourcery.com>
20872 * Makeconfig [!+link] (+link-before-libc): New variable.
20873 [!+link] (+link-after-libc): Likewise.
20874 [!+link] (+link-tests): Likewise.
20875 [!+link] (+link): Define in terms of $(+link-before-libc) and
20876 $(+link-after-libc).
20877 [!+link-static] (+link-static-before-libc): New variable.
20878 [!+link-static] (+link-static-after-libc): Likewise.
20879 [!+link-static] (+link-static-tests): Likewise.
20880 [!+link-static] (+link-static): Define in terms of
20881 $(+link-static-before-libc) and $(+link-static-after-libc).
20882 [build-shared] (link-libc-before-gnulib): New variable.
20883 [build-shared] (link-libc-tests): Likewise.
20884 [build-shared] (link-libc): Define in terms of
20885 $(link-libc-before-gnulib).
20886 [!build-shared] (link-libc-tests): New variable.
20887 (link-libc-static-tests): New variable.
20888 [!gnulib] (gnulib-arch): New variable.
20889 [!gnulib] (gnulib-tests): Likewise.
20890 [!gnulib] (static-gnulib-arch): Likewise.
20891 [!gnulib] (static-gnulib-tests): Likewise.
20892 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
20893 Define with "=" instead of ":=".
20894 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
20895 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
20896 * Rules (binaries-all-notests): New variable.
20897 (binaries-all-tests): Likewise.
20898 (binaries-static-notests): Likewise.
20899 (binaries-static-tests): Likewise.
20900 (binaries-all): Define using $(binaries-all-notests) and
20901 $(binaries-all-tests).
20902 (binaries-static): Define using $(binaries-static-notests) and
20903 $(binaries-static-tests).
20904 (binaries-shared-tests): New variable.
20905 (binaries-shared-notests): Likewise.
20906 (binaries-shared): Remove variable.
20907 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20908 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20909 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20910 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20911 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20912 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20913 * elf/Makefile (sln-modules): New variable.
20914 (extra-objs): Add $(sln-modules:=.o).
20915 (ldconfig-modules): Add static-stubs.
20916 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20917 * elf/static-stubs.c: New file.
20920 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20921 by 7 not 8 to examine high bit of fractional part. Use volatile
20922 variables when splitting into final array of floats if
20923 __FLT_EVAL_METHOD__ != 0.
20924 * math/libm-test.inc (cos_test): Add another test.
20925 (sin_test): Likewise.
20926 * sysdeps/i386/fpu/libm-test-ulps: Update.
20929 * math/libm-test.inc (cosh_test): Add more tests.
20931 * version.h (RELEASE): Set to "development".
20932 (VERSION): Set to "2.16.90".
20934 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
20936 * NEWS: Update copyright. Remove last-updated date.
20937 Mention math library bug fixes and timezone data changes.
20938 * README: Mention GNU/Hurd, x32, and HPPA support status.
20940 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
20942 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20944 2012-06-27 Andreas Jaeger <aj@suse.de>
20946 * manual/contrib.texi (Contributors): Add Samuel Thibault.
20948 2012-06-25 Andreas Jaeger <aj@suse.de>
20950 * sysdeps/s390/fpu/libm-test-ulps: Update.
20952 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
20953 Thomas Schwinge <thomas@codesourcery.com>
20955 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20956 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20960 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
20962 * sysdeps/mach/start.c: Remove file.
20963 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20964 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20965 * sysdeps/sh/init-first.c: Likewise.
20967 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20968 registers for frame unwinding purposes, add CFI directives.
20969 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20970 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20971 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20974 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20975 __fortify_fail returning.
20976 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20978 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20979 sysdeps/sh/____longjmp_chk.S.
20980 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20981 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20982 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20983 (gen-as-const-headers): Append sigaltstack-offsets.sym.
20985 * sysdeps/sh/abort-instr.h: New file.
20986 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20987 process in case exit returns.
20989 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20990 initialize the GOT register before use.
20992 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20993 calculation of ARGC > 4.
20995 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20996 meaningful names to some local labels.
20998 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20999 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21001 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21002 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21003 (__arch_compare_and_exchange_val_16_acq): Likewise.
21004 (__arch_compare_and_exchange_val_32_acq): Likewise.
21005 (atomic_exchange_and_add): Fix gUSA sequence.
21006 (atomic_add): Likewise.
21007 (atomic_add_negative): Likewise.
21008 (atomic_add_zero): Likewise.
21009 (atomic_bit_test_set): Likewise.
21011 2012-06-22 Andreas Schwab <schwab@redhat.com>
21014 * include/link.h (struct link_map): Add l_free_initfini.
21015 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21017 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21018 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21019 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21022 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21024 * configure.in: Use AC_LANG_SOURCE.
21025 * configure: Regenerate.
21027 2012-06-22 Roland McGrath <roland@hack.frob.com>
21029 * configure.in (libc_cv_localstatedir): New substituted variable.
21030 * configure: Regenerated.
21031 * config.make.in (localstatedir): New variable, substituted from
21032 libc_cv_localstatedir.
21033 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21034 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21035 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21036 * sysdeps/gnu/configure: Regenerated.
21038 2012-06-21 Jeff Law <law@redhat.com>
21041 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21042 free. Simplify list management for _LIBC case.
21044 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21047 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21048 Clear sign bit of 64-bit integer value before comparing against
21051 * sysdeps/mach/configure: Regenerated.
21053 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21056 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21058 2012-06-21 Jeff Law <law@redhat.com>
21061 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21062 uint16_t for elements in the "seen" array to avoid char overflows.
21063 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21064 * elf/dl-open.c (dl_open_worker): Likewise.
21066 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21068 * scripts/list-sources.sh: Scan PORTS for translations.
21069 * po/libc.pot: Regenerated.
21071 2012-06-21 Andreas Jaeger <aj@suse.de>
21074 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21076 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21077 * bits/byteswap-16.h (__bswap_16): Likewise.
21078 * bits/byteswap.h (__bswap_constant_16): Likewise.
21080 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21083 * sysdeps/i386/fpu_control.h: Removed.
21084 * sysdeps/x86_64/fpu_control.h: Moved to ...
21085 * sysdeps/x86/fpu_control.h: Here.
21087 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21088 (_FPU_SETCW): Likewise.
21090 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21093 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21094 * sysdeps/x86/fpu/bits/mathinline.h: This.
21095 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21099 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21100 functions if __x86_64__ is defined.
21102 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21104 * string/endian.h: Add !__ASSEMBLER__ condition for including
21105 conversion interfaces.
21107 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21110 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21111 of ABS(x) in calculating zero to negative powers other than odd
21113 * math/libm-test.inc (pow_test): Add more tests.
21115 2012-06-15 Andreas Jaeger <aj@suse.de>
21117 * manual/contrib.texi (Contributors): Update entry of Liubov
21118 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21121 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21123 * string/string.h: Add __wur to GNU version of strerror_r.
21125 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21128 * string/Makefile (tests): Add tst-strtok_r.
21129 * string/tst-strtok_r.c: New file.
21130 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21131 RAX_LP/RDX_LP on SAVE_PTR.
21133 2012-06-14 Roland McGrath <roland@hack.frob.com>
21135 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21137 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21139 * libm_test.inc (csqrt_test): Allow more spurious underflow
21141 (j0_test): Likewise.
21142 (j1_test): Likewise.
21143 (y0_test): Likewise.
21144 (y1_test): Likewise.
21146 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21148 * po/Makefile (libc.pot): Use UTF-8 charset.
21150 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21153 Suppress sign-conversion warning from FD_SET.
21154 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21155 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21156 not unsigned long int.
21157 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21159 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21163 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21164 __extern_always_inline instead of __extern_inline.
21165 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21166 (__signbit): Likewise.
21167 (__signbitl): Support C++ namespace.
21168 (lrintf): New inline function.
21170 (llrintf): Likewise.
21171 (llrint): Likewise.
21181 (floorf): Likewise.
21182 (nearbyint): Likewise.
21183 (nearbyintf): Likewise.
21185 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21188 non-default versions.
21190 2012-06-11 Roland McGrath <roland@hack.frob.com>
21193 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21195 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21197 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21198 (FE_UPWARD, FE_DOWNWARD): Don't define.
21199 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21200 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21202 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21204 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21205 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21207 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21209 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21211 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21212 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21214 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21217 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21218 * sysdeps/i386/fpu/Implies: New file.
21219 * sysdeps/x86_64/fpu/Implies: Likewise.
21220 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21221 * sysdeps/x86/fpu/bits/fenv.h: This.
21223 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21226 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21229 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21230 character 0xffff that matches the last element of the
21233 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21235 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21238 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21241 values higher than 25.6283.
21243 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21245 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21246 subnormal exponent extraction and add some __builtin_expect.
21247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21248 Fix for subnormal mantissa calculation.
21250 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21252 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21253 cpu2 is -1 and errno is not ENOSYS.
21255 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21258 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21259 * sysdeps/x86/bits/string.h: This.
21260 * sysdeps/x86_64/bits/string.h: Removed.
21262 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21263 if not compiling for x86-64, but compiling for >= i486.
21265 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21266 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21268 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21269 New macro from Linux kernel 3.4.0.
21270 (FP_XSTATE_MAGIC2): Likewise.
21271 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21272 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21273 (struct _fpx_sw_bytes): New struct.
21274 (struct _xsave_hdr): Likewise.
21275 (struct _ymmh_state): Likewise.
21276 (struct _xstate): Likewise.
21278 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21279 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21280 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21281 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21282 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21283 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21285 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21286 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21287 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21288 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21289 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21290 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21292 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21295 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21296 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21297 (sysdep_headers): Include sys/platform/ppc.h.
21298 * sysdeps/powerpc/test-gettimebase.c: Test for
21299 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21300 * manual/Makefile (appendices): Include platform.texi.
21301 * manual/contrib.texi (Contributors): Update @node pointers.
21302 * manual/maint.texi (Maintenance): Likewise.
21303 (Platform): New node.
21304 * manual/platform.texi: New file. Document the new features.
21306 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21307 Jakub Jelinek <jakub@redhat.com>
21310 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21311 where __builtin_expect is unavailable.
21313 2012-06-03 David S. Miller <davem@davemloft.net>
21315 * stdlib/longlong.h: Updated from GCC.
21317 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21320 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21321 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21324 (GLIBC_2.16): Likewise.
21326 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21328 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21330 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21333 (default-abi): New variable.
21334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21335 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21337 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21339 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21341 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21344 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21345 definition. Document in comment.
21347 2012-06-01 David S. Miller <davem@davemloft.net>
21349 * stdlib/longlong.h: Updated from GCC.
21351 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21354 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21355 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21356 sys/debugreg.h sys/io.h here.
21357 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21358 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21360 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21361 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21362 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21363 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21364 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21365 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21367 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21368 Define only if __x86_64__ is defined.
21370 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21373 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21374 Use int64_t for variable i.
21375 * math/libm-test.inc (fmod_test): Add more tests.
21377 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21378 z computation is not scheduled after fetestexcept.
21379 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21380 Use math_force_eval instead of asm to ensure calculation scheduled
21381 before exception test.
21382 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21383 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21385 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21388 computation is not scheduled after fetestexcept.
21390 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21393 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21394 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21396 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21398 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21399 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21401 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21404 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21406 (__WCHAR_MIN): Support __WORDSIZE == 64.
21407 (__WCHAR_MAX): Likewise.
21409 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21410 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21413 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21414 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21417 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21418 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21420 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21421 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21423 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21424 Defined to 1 if __x86_64__ isn't defined.
21425 (_STAT_VER_LINUX_OLD): New.
21426 (st_atime): Remove duplicate.
21427 (st_mtime): Likewise.
21428 (st_ctime): Likewise.
21430 2012-05-31 David S. Miller <davem@davemloft.net>
21432 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21435 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21437 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21441 * elf/dl-reloc.c: Include <_itoa.h>.
21442 (_dl_reloc_bad_type): Remove use of INTUSE.
21443 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21444 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21445 * stdio-common/psiginfo.c (psiginfo): Likewise.
21446 * stdio-common/psignal.c (psignal): Likewise.
21447 * string/strsignal.c (strsignal): Likewise.
21448 * include/signal.h (_sys_siglist): Declare hidden proto.
21449 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21450 INTVARDEF with libc_hidden_data_def.
21451 * stdio-common/itoa-udigits.c: Likewise.
21452 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21453 (_itoa_lower_digits_internal): Remove declaration.
21454 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21455 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21456 (_sys_sigabbrev_internal): Remove aliases.
21457 (_sys_siglist): Define hidden alias.
21459 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21461 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21464 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21467 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21468 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21470 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21471 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21472 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21473 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21474 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21475 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21477 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21478 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21479 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21481 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21489 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21490 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21491 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21493 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21494 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21495 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21496 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21497 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21498 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21500 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21501 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21503 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21504 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21506 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21507 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21508 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21510 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21511 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21513 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21515 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21516 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21517 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21519 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21521 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21523 2012-05-31 Joseph Myers <joseph@codesourcery.com>
21525 * math/math.h (M_El): Use two more decimal places.
21526 (M_LOG2El): Likewise.
21527 (M_LOG10El): Likewise.
21528 (M_LN2l): Likewise.
21529 (M_LN10l): Likewise.
21531 (M_PI_2l): Likewise.
21532 (M_PI_4l): Likewise.
21533 (M_1_PIl): Likewise.
21534 (M_2_PIl): Likewise.
21535 (M_2_SQRTPIl): Likewise.
21536 (M_SQRT2l): Likewise.
21537 (M_SQRT1_2l): Likewise.
21539 2012-05-31 David S. Miller <davem@davemloft.net>
21541 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
21542 values between float registers.
21543 * sysdeps/sparc/sparc64/memset.S: Likewise.
21544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21546 2012-05-31 Mike Frysinger <vapier@gentoo.org>
21548 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
21549 -D_FORTIFY_SOURCE=1.
21550 (CPPFLAGS-tst-longjmp_chk.c): Define.
21551 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
21552 (CPPFLAGS-tst-longjmp_chk2.c): Define.
21553 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
21554 CFLAGS-tst-wchar-h.c.
21556 2012-05-31 Marek Polacek <polacek@redhat.com>
21559 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
21560 __endmntent_internal): Remove declaration.
21561 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
21562 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
21563 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
21565 2012-05-30 David S. Miller <davem@davemloft.net>
21567 * sysdeps/sparc/sparc32/soft-fp/q_util.c
21568 (___Q_simulate_exceptions): Use real FP ops rather than writing
21570 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
21573 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21576 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
21577 * sysdeps/x86/bits/xtitypes.h: This.
21579 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
21580 * sysdeps/x86/bits/wordsize.h: This.
21582 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
21583 * sysdeps/x86/bits/huge_vall.h: This.
21585 * sysdeps/i386/bits/select.h: Removed.
21586 * sysdeps/x86_64/bits/select.h: Renamed to ...
21587 * sysdeps/x86/bits/select.h: This.
21589 * sysdeps/i386/bits/setjmp.h: Removed.
21590 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
21591 * sysdeps/x86/bits/setjmp.h: This.
21593 * sysdeps/i386/bits/mathdef.h: Removed.
21594 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
21595 * sysdeps/x86/bits/mathdef.h: This.
21597 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
21600 * include/sys/socket.h (__connect_internal)
21601 (__libc_sa_len_internal): Remove declaration.
21602 (__connect, __libc_sa_len): Declare hidden_proto.
21603 (SA_LEN): Remove use of INTUSE.
21604 * socket/connect.c: Add libc_hidden_def.
21605 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21606 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
21607 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
21609 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
21610 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
21611 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
21612 of adding _internal alias.
21614 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21617 * sysdeps/i386/bits/link.h: Removed.
21618 * sysdeps/i386/bits/linkmap.h: Likewise.
21619 * sysdeps/x86_64/bits/link.h: Renamed to ...
21620 * sysdeps/x86/bits/link.h: This.
21621 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21622 * sysdeps/x86/bits/linkmap.h: This.
21624 * sysdeps/i386/bits/endian.h: Removed.
21625 * sysdeps/x86_64/bits/endian.h: Renamed to ...
21626 * sysdeps/x86/bits/endian.h: This.
21628 * sysdeps/i386/bits/byteswap.h: Removed.
21629 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21630 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21631 * sysdeps/x86/bits/byteswap.h: This.
21632 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21633 * sysdeps/x86/bits/byteswap-16.h: This.
21634 * sysdeps/i386/Implies: Add x86.
21635 * sysdeps/x86_64/Implies: Likewise.
21637 2012-05-30 David S. Miller <davem@davemloft.net>
21639 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21640 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21641 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21642 (FP_TRAPPING_EXCEPTIONS): Define.
21643 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21644 (FP_TRAPPING_EXCEPTIONS): Define.
21645 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21646 subnormals only when inexact has been signalled or underflow
21647 exceptions are enabled.
21648 (_FP_PACK_CANONICAL): Likewise.
21650 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21654 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21656 2012-05-30 Richard Henderson <rth@twiddle.net>
21658 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21659 with #ifndef NOT_IN_libc.
21661 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
21662 marked to avoid plt entry.
21664 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
21667 * Makeconfig (default-abi): New macro.
21668 (abi-includes): Likewise.
21669 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
21670 $(abi-$(default-abi)-lib-soname) for soname if defined.
21671 ($(common-objpfx)gnu/lib-names.stmp): Generate from
21673 * Makefile (installed-stubs): Likewise.
21674 * include/stubs-biarch.h: Removed.
21675 * scripts/lib-names.awk: Only handle one library at a time.
21676 * scripts/soversions.awk: Remove WORDSIZE support.
21677 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21679 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21681 (syscall-list-default-condition): Likewise.
21682 (syscall-list-default-condition): Likewise.
21683 (syscall-list-includes): Likewise.
21684 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21685 syscall-list-* with abi-*. Handle undefined abi-variants.
21686 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21687 * sysdeps/unix/sysv/linux/i386/Implies: New file.
21688 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21689 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21690 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21691 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21693 (syscall-list-32-options): Likewise.
21694 (syscall-list-32-condition): Likewise.
21695 (syscall-list-64-options): Likewise.
21696 (syscall-list-64-condition): Likewise.
21697 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21699 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21702 (abi-64-ld-soname): New macro.
21703 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21704 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21707 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21708 * sysdeps/x86_64/x32/shlib-versions: Likewise.
21710 2012-05-30 Joseph Myers <joseph@codesourcery.com>
21712 * sysdeps/unix/sysv/linux/kernel-features.h
21713 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21714 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21715 include <kernel-features.h>.
21716 [!__NR_ftruncate64]: Remove conditional code.
21717 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21718 [__NR_ftruncate64]: Make code unconditional.
21719 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21720 * sysdeps/unix/sysv/linux/truncate64.c: Do not
21721 include <kernel-features.h>.
21722 [!__NR_ftruncate64]: Remove conditional code.
21723 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21724 [__NR_ftruncate64]: Make code unconditional.
21725 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21727 include <kernel-features.h>.
21728 [!__NR_ftruncate64]: Remove conditional code.
21729 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21730 [__NR_ftruncate64]: Make code unconditional.
21731 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21733 include <kernel-features.h>.
21734 [!__NR_ftruncate64]: Remove conditional code.
21735 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21736 [__NR_ftruncate64]: Make code unconditional.
21737 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21739 * configure.in (libc_cv_fpie): Weaken to a compile test using
21740 LIBC_TRY_CC_OPTION.
21741 * configure: Regenerated.
21743 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21758 2012-05-27 David S. Miller <davem@davemloft.net>
21760 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21762 (__Q_simulate_exceptions): Return void. Change to simulate
21763 exceptions by writing into the %fsr.
21764 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21765 (__Qp_handle_exceptions): Likewise.
21767 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21768 __Qp_handle_exceptions.
21769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21770 __Qp_handle_exceptions.
21771 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21772 as unused and give dummy FP_RND_NEAREST initializer.
21773 (FP_INHIBIT_RESULTS): Define.
21774 (___Q_simulate_exceptions): Update declaration.
21775 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21777 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21778 as unused and give dummy FP_RND_NEAREST initializer.
21779 (__Qp_handle_exceptions): Update declaration.
21780 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21783 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
21785 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21786 the temporary FPU control word.
21787 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21788 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21789 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21790 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21791 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21792 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21793 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21794 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21795 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21796 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21797 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21799 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21801 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21804 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
21806 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21807 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21808 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21809 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21811 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21812 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21815 2012-05-27 Ulrich Drepper <drepper@gmail.com>
21817 * po/h.po: Update from translation team.
21819 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
21821 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21823 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21824 handling of denormals.
21825 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21826 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21827 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21828 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21829 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21831 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21834 2012-05-26 Marek Polacek <polacek@redhat.com>
21837 * math/libm-test.inc (fma_test): Don't always expect underflow
21840 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21843 * elf/tst-execstack.c: Include stackinfo.h.
21844 (do_test): Adjust test case to ensure that pthread_getattr_np
21845 behaviour remains the same after marking stack executable.
21847 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21849 * sysdeps/unix/sysv/linux/kernel-features.h
21850 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21851 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21853 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21854 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21855 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21857 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21858 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21860 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
21862 * configure.in: Define the default includes to being none.
21863 * configure: Regenerated.
21865 2012-05-25 Roland McGrath <roland@hack.frob.com>
21867 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21868 * sysdeps/x86_64/setjmp.S: Likewise.
21869 * sysdeps/i386/bsd-setjmp.S: Likewise.
21870 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21871 * sysdeps/i386/setjmp.S: Likewise.
21872 * sysdeps/i386/__longjmp.S: Likewise.
21873 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21874 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21876 * include/stap-probe.h: New file.
21877 * configure.in: Handle --enable-systemtap.
21878 * configure: Regenerated.
21879 * config.h.in (USE_STAP_PROBE): New #undef.
21880 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21881 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21882 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21884 2012-05-25 Joseph Myers <joseph@codesourcery.com>
21887 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21888 to 2.4.0 where earlier.
21889 * sysdeps/unix/sysv/linux/configure: Regenerated.
21890 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21891 <kernel-features.h>.
21892 [__ASSUME_32BITUIDS]: Make code unconditional.
21893 [!__ASSUME_32BITUIDS]: Remove conditional code.
21894 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21895 <kernel-features.h>.
21896 [__ASSUME_32BITUIDS]: Make code unconditional.
21897 [!__ASSUME_32BITUIDS]: Remove conditional code.
21898 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21899 [__ASSUME_32BITUIDS]: Make code unconditional.
21900 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21901 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21902 <kernel-features.h>.
21903 [__ASSUME_32BITUIDS]: Make code unconditional.
21904 [!__ASSUME_32BITUIDS]: Remove conditional code.
21905 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21906 <kernel-features.h>.
21907 [__ASSUME_32BITUIDS]: Make code unconditional.
21908 [!__ASSUME_32BITUIDS]: Remove conditional code.
21909 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21910 <kernel-features.h>.
21911 [__ASSUME_32BITUIDS]: Make code unconditional.
21912 [!__ASSUME_32BITUIDS]: Remove conditional code.
21913 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21914 <kernel-features.h>.
21915 [__ASSUME_32BITUIDS]: Make code unconditional.
21916 [!__ASSUME_32BITUIDS]: Remove conditional code.
21917 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21918 <kernel-features.h>.
21919 [__ASSUME_32BITUIDS]: Make code unconditional.
21920 [!__ASSUME_32BITUIDS]: Remove conditional code.
21921 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21922 <kernel-features.h>.
21923 [__ASSUME_32BITUIDS]: Make code unconditional.
21924 [!__ASSUME_32BITUIDS]: Remove conditional code.
21925 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21926 <kernel-features.h>.
21927 [__ASSUME_32BITUIDS]: Make code unconditional.
21928 [!__ASSUME_32BITUIDS]: Remove conditional code.
21929 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21930 <kernel-features.h>.
21931 [__ASSUME_32BITUIDS]: Make code unconditional.
21932 [!__ASSUME_32BITUIDS]: Remove conditional code.
21933 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21934 <kernel-features.h>.
21935 [__ASSUME_32BITUIDS]: Make code unconditional.
21936 [!__ASSUME_32BITUIDS]: Remove conditional code.
21937 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21938 <kernel-features.h>.
21939 [__ASSUME_32BITUIDS]: Make code unconditional.
21940 [!__ASSUME_32BITUIDS]: Remove conditional code.
21941 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21942 <kernel-features.h>.
21943 [__NR_setresgid] (__setresgid): Do not declare.
21944 [__ASSUME_32BITUIDS]: Make code unconditional.
21945 [!__ASSUME_32BITUIDS]: Remove conditional code.
21946 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21947 <kernel-features.h>.
21948 [__NR_setresuid] (__setresuid): Do not declare.
21949 [__ASSUME_32BITUIDS]: Make code unconditional.
21950 [!__ASSUME_32BITUIDS]: Remove conditional code.
21951 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21952 <kernel-features.h>.
21953 [__ASSUME_32BITUIDS]: Make code unconditional.
21954 [!__ASSUME_32BITUIDS]: Remove conditional code.
21955 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21956 <kernel-features.h>.
21957 [__ASSUME_32BITUIDS]: Make code unconditional.
21958 [!__ASSUME_32BITUIDS]: Remove conditional code.
21959 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21960 <kernel-features.h>.
21961 [__ASSUME_32BITUIDS]: Make code unconditional.
21962 [!__ASSUME_32BITUIDS]: Remove conditional code.
21963 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21964 <kernel-features.h>.
21965 [__ASSUME_32BITUIDS]: Make code unconditional.
21966 [!__ASSUME_32BITUIDS]: Remove conditional code.
21967 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21968 <kernel-features.h>.
21969 [__ASSUME_32BITUIDS]: Make code unconditional.
21970 [!__ASSUME_32BITUIDS]: Remove conditional code.
21971 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21972 <kernel-features.h>.
21973 [__ASSUME_32BITUIDS]: Make code unconditional.
21974 [!__ASSUME_32BITUIDS]: Remove conditional code.
21975 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21976 <kernel-features.h>.
21977 [__ASSUME_32BITUIDS]: Make code unconditional.
21978 [!__ASSUME_32BITUIDS]: Remove conditional code.
21979 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21980 <kernel-features.h>.
21981 [__ASSUME_32BITUIDS]: Make code unconditional.
21982 [!__ASSUME_32BITUIDS]: Remove conditional code.
21983 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21984 <kernel-features.h>.
21985 [__ASSUME_32BITUIDS]: Make code unconditional.
21986 [!__ASSUME_32BITUIDS]: Remove conditional code.
21987 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21988 <kernel-features.h>.
21989 [__ASSUME_32BITUIDS]: Make code unconditional.
21990 [!__ASSUME_32BITUIDS]: Remove conditional code.
21991 * sysdeps/unix/sysv/linux/kernel-features.h
21992 (__ASSUME_SETRESUID_SYSCALL): Remove.
21993 (__ASSUME_SETRESGID_SYSCALL): Likewise.
21994 (__ASSUME_32BITUIDS): Likewise.
21995 (__ASSUME_LDT_WORKS): Likewise.
21996 (__ASSUME_O_DIRECTORY): Likewise.
21997 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21998 architecture but not kernel version.
21999 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22000 (__ASSUME_MMAP2_SYSCALL): Likewise.
22001 (__ASSUME_STAT64_SYSCALL): Likewise.
22002 (__ASSUME_IPC64): Likewise.
22003 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22004 <kernel-features.h>.
22005 [__ASSUME_32BITUIDS]: Make code unconditional.
22006 [!__ASSUME_32BITUIDS]: Remove conditional code.
22007 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22008 <kernel-features.h>.
22009 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22010 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22011 132096]: Remove conditional code.
22012 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22013 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22014 <kernel-features.h>.
22015 [__ASSUME_32BITUIDS]: Make code unconditional.
22016 [!__ASSUME_32BITUIDS]: Remove conditional code.
22017 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22018 <kernel-features.h>.
22019 [__ASSUME_32BITUIDS]: Make code unconditional.
22020 [!__ASSUME_32BITUIDS]: Remove conditional code.
22021 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22022 <kernel-features.h>.
22023 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22025 (__setresgid): Do not declare.
22026 [__ASSUME_32BITUIDS]: Make code unconditional.
22027 [!__ASSUME_32BITUIDS]: Remove conditional code.
22028 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22029 <kernel-features.h>.
22030 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22032 (__setresuid): Do not declare.
22033 [__ASSUME_32BITUIDS]: Make code unconditional.
22034 [!__ASSUME_32BITUIDS]: Remove conditional code.
22035 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22036 <kernel-features.h>.
22037 [__ASSUME_32BITUIDS]: Make code unconditional.
22038 [!__ASSUME_32BITUIDS]: Remove conditional code.
22039 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22040 <kernel-features.h>.
22041 [__ASSUME_32BITUIDS]: Make code unconditional.
22042 [!__ASSUME_32BITUIDS]: Remove conditional code.
22044 2012-05-25 Richard Henderson <rth@twiddle.net>
22046 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22047 dl_hwcap to ifunc resolver.
22048 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22050 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22051 dl_hwcap to ifunc resolver.
22052 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22054 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22057 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22058 for |x| <= 2**-26, not 2**-57.
22059 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22062 2012-05-24 Jeff Law <law@redhat.com>
22064 * stdio-common/Makefile (tests): Add bug25.
22065 * stdio-common/bug25.c: New test.
22067 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22070 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22071 multiple of MALLOC_ALIGNMENT in size.
22072 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22074 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22076 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22078 (FILENAME_MAX): Use macro-int-constant.
22079 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22080 (_IOFBF): Use macro-int-constant.
22081 (_IOLBF): Likewise.
22082 (_IONBF): Likewise.
22083 (SEEK_CUR): Likewise.
22084 (SEEK_END): Likewise.
22085 (SEEK_SET): Likewise.
22086 (TMP_MAX): Likewise.
22087 (EOF): Use macro-int-constant. Require < 0.
22088 (NULL): Use macro-constant. Require == 0.
22089 (stdin): Require type to be FILE *.
22090 (stdout): Likewise.
22091 (stderr): Likewise.
22092 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22093 macro-int-constant.
22094 (EXIT_SUCCESS): Likewise.
22095 (NULL): Use macro-constant. Require == 0.
22096 (RAND_MAX): Use macro-int-constant.
22097 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22098 [C99-based standards] (strtof): Require function.
22099 [C99-based standards] (strtold): Likewise.
22100 [C99-based standards] (strtoll): Likewise.
22101 [C99-based standards] (strtoull): Likewise.
22102 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22103 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22104 [ISO || ISO99 || ISO11] (math.h): Likewise.
22105 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22106 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22109 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22112 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22113 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22114 * intl/dgettext.c (DCGETTEXT): Likewise.
22115 * intl/gettext.c (DCGETTEXT): Likewise.
22116 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22117 * posix/regex_internal.h (gettext): Likewise.
22118 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22119 Remove declaration.
22120 * include/argz.h (__argz_count_internal)
22121 (__argz_stringify_internal): Remove declaration.
22122 (__argz_count, __argz_stringify): Declare hidden proto.
22123 * intl/dcgettext.c: Remove use of INTDEF.
22124 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22125 * string/argz-stringify.c: Likewise.
22126 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22127 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22128 Declare hidden proto.
22129 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22130 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22131 Declare hidden proto.
22132 * include/stdio.h (__asprintf_internal): Don't declare.
22133 (__asprintf): Don't define as macro. Declare hidden proto.
22134 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22135 (__fsetlocking): Declare hidden proto.
22136 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22137 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22139 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22140 (_IO_setlinebuf): Remove use of INTUSE.
22141 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22142 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22143 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22144 Remove declaration.
22145 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22146 (_IO_do_flush): Remove use of INTUSE.
22147 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22148 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22149 (_IO_adjust_column, _IO_least_wmarker)
22150 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22151 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22152 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22153 (_IO_default_doallocate, _IO_wdefault_doallocate)
22154 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22155 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22156 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22157 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22158 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22159 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22160 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22161 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22162 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22163 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22164 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22165 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22166 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22168 (_IO_flush_all_internal, _IO_adjust_column_internal)
22169 (_IO_default_uflow_internal, _IO_default_finish_internal)
22170 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22171 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22172 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22173 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22174 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22175 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22176 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22177 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22178 (_IO_file_close_internal, _IO_file_close_it_internal)
22179 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22180 (_IO_file_init_internal, _IO_file_attach_internal)
22181 (_IO_file_fopen_internal, _IO_file_read_internal)
22182 (_IO_file_sync_internal, _IO_file_seek_internal)
22183 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22184 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22185 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22186 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22187 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22188 (_IO_list_all_internal, _IO_link_in_internal)
22189 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22190 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22191 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22192 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22193 (_IO_do_write_internal, _IO_padn_internal)
22194 (_IO_getline_info_internal, _IO_getline_internal)
22195 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22196 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22197 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22198 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22199 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22200 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22201 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22202 with libc_hidden_ver, remove use of INTUSE.
22203 * libio/genops.c: Likewise.
22204 * libio/freopen.c: Likewise.
22205 * libio/freopen64.c: Likewise.
22206 * libio/iofclose.c: Likewise.
22207 * libio/iofdopen.c: Likewise.
22208 * libio/iofflush.c: Likewise.
22209 * libio/iofflush_u.c: Likewise.
22210 * libio/iofgets.c: Likewise.
22211 * libio/iofgets_u.c: Likewise.
22212 * libio/iofopen.c: Likewise.
22213 * libio/iofopncook.c: Likewise.
22214 * libio/iofread.c: Likewise.
22215 * libio/iofread_u.c: Likewise.
22216 * libio/ioftell.c: Likewise.
22217 * libio/iofwrite.c: Likewise.
22218 * libio/iogetline.c: Likewise.
22219 * libio/iogets.c: Likewise.
22220 * libio/iogetwline.c: Likewise.
22221 * libio/iopadn.c: Likewise.
22222 * libio/iopopen.c: Likewise.
22223 * libio/ioseekoff.c: Likewise.
22224 * libio/ioseekpos.c: Likewise.
22225 * libio/iosetbuffer.c: Likewise.
22226 * libio/iosetvbuf.c: Likewise.
22227 * libio/ioungetc.c: Likewise.
22228 * libio/ioungetwc.c: Likewise.
22229 * libio/iovdprintf.c: Likewise.
22230 * libio/iovsprintf.c: Likewise.
22231 * libio/iovsscanf.c: Likewise.
22232 * libio/memstream.c: Likewise.
22233 * libio/obprintf.c: Likewise.
22234 * libio/oldfileops.c: Likewise.
22235 * libio/oldiofclose.c: Likewise.
22236 * libio/oldiofdopen.c: Likewise.
22237 * libio/oldiofopen.c: Likewise.
22238 * libio/oldiopopen.c: Likewise.
22239 * libio/oldstdfiles.c: Likewise.
22240 * libio/putc.c: Likewise.
22241 * libio/setbuf.c: Likewise.
22242 * libio/setlinebuf.c: Likewise.
22243 * libio/stdfiles.c: Likewise.
22244 * libio/strops.c: Likewise.
22245 * libio/vasprintf.c: Likewise.
22246 * libio/vscanf.c: Likewise.
22247 * libio/vsnprintf.c: Likewise.
22248 * libio/vswprintf.c: Likewise.
22249 * libio/wfiledoalloc.c: Likewise.
22250 * libio/wfileops.c: Likewise.
22251 * libio/wgenops.c: Likewise.
22252 * libio/wmemstream.c: Likewise.
22253 * libio/wstrops.c: Likewise.
22254 * libio/__fpurge.c: Likewise.
22255 * libio/__fsetlocking.c: Likewise.
22256 * assert/assert.c: Likewise.
22257 * debug/fgets_chk.c: Likewise.
22258 * debug/fgets_u_chk.c: Likewise.
22259 * debug/fread_chk.c: Likewise.
22260 * debug/fread_u_chk.c: Likewise.
22261 * debug/gets_chk.c: Likewise.
22262 * debug/obprintf_chk.c: Likewise.
22263 * debug/vasprintf_chk.c: Likewise.
22264 * debug/vdprintf_chk.c: Likewise.
22265 * debug/vsnprintf_chk.c: Likewise.
22266 * debug/vsprintf_chk.c: Likewise.
22267 * malloc/mtrace.c: Likewise.
22268 * misc/error.c: Likewise.
22269 * misc/syslog.c: Likewise.
22270 * stdio-common/asprintf.c: Likewise.
22271 * stdio-common/fxprintf.c: Likewise.
22272 * stdio-common/getw.c: Likewise.
22273 * stdio-common/isoc99_fscanf.c: Likewise.
22274 * stdio-common/isoc99_scanf.c: Likewise.
22275 * stdio-common/isoc99_vfscanf.c: Likewise.
22276 * stdio-common/isoc99_vscanf.c: Likewise.
22277 * stdio-common/isoc99_vsscanf.c: Likewise.
22278 * stdio-common/printf-prs.c: Likewise.
22279 * stdio-common/printf_fp.c: Likewise.
22280 * stdio-common/printf_fphex.c: Likewise.
22281 * stdio-common/printf_size.c: Likewise.
22282 * stdio-common/putw.c: Likewise.
22283 * stdio-common/scanf.c: Likewise.
22284 * stdio-common/sprintf.c: Likewise.
22285 * stdio-common/tmpfile.c: Likewise.
22286 * stdio-common/vfprintf.c: Likewise.
22287 * stdio-common/vfscanf.c: Likewise.
22288 * stdlib/strfmon_l.c: Likewise.
22289 * sunrpc/openchild.c: Likewise.
22290 * sunrpc/xdr_stdio.c: Likewise.
22291 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22292 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22294 2012-05-24 Roland McGrath <roland@hack.frob.com>
22296 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22298 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22299 in the third column, to generate for the shared library an IFUNC
22300 that uses _dl_vdso_vsym.
22301 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22302 * Makeconfig (object-suffixes-noshared): New variable.
22304 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22305 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22306 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22307 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22310 * include/sys/time.h (__gettimeofday): Remove macro.
22311 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22312 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22314 (__gettimeofday): Add libc_hidden_def.
22315 (gettimeofday): Add libc_hidden_weak.
22316 * sysdeps/mach/gettimeofday.c: Likewise.
22317 * sysdeps/posix/gettimeofday.c: Likewise.
22318 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22319 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22320 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22321 (__gettimeofday_internal): Remove strong_alias.
22322 (__gettimeofday): Add libc_hidden_def.
22323 (gettimeofday): Add libc_hidden_weak.
22324 * sysdeps/unix/syscalls.list (gettimeofday):
22325 Remove __gettimeofday_internal alias.
22327 2012-05-24 Daniel Jacobowitz <drow@false.org>
22328 H.J. Lu <hongjiu.lu@intel.com>
22331 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22332 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22333 (largebin_index_32_big): New.
22334 (largebin_index): Use it for 16-byte alignment.
22335 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22336 correction with front_misalign.
22338 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22351 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22366 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22367 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22369 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22373 * math/libm-test.inc (exp_test): Add test from bug 14036.
22374 (pow_test): Add test from bug 10846.
22376 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22378 (special_function): Do not include flags in test name.
22379 (parse_args): Likewise.
22380 * sysdeps/i386/fpu/libm-test-ulps: Update.
22381 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22382 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22383 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22386 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22388 * math/libm-test.inc ("Philosophy"): Update comment about
22390 (UNDERFLOW_EXCEPTION): New macro.
22391 (UNDERFLOW_EXCEPTION_OK): Likewise.
22392 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22393 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22394 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22395 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22396 (INVALID_EXCEPTION_OK): Update value.
22397 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22398 (OVERFLOW_EXCEPTION_OK): Likewise.
22399 (IGNORE_ZERO_INF_SIGN): Likewise.
22400 (test_exceptions): Handle underflow exceptions.
22401 (acos_test): Update for underflow exception expectations.
22402 (cexp_test): Likewise.
22403 (clog_test): Likewise.
22404 (clog10_test): Likewise.
22405 (csqrt_test): Likewise.
22406 (ctan_test): Likewise.
22407 (ctanh_test): Likewise.
22408 (exp_test): Likewise.
22409 (exp10_test): Likewise.
22410 (exp2_test): Likewise.
22411 (expm1_test): Likewise.
22412 (fma_test): Likewise.
22413 (j0_test): Likewise.
22414 (jn_test): Likewise.
22415 (nexttoward_test): Likewise.
22416 (pow_test): Likewise.
22417 (scalbn_test): Likewise.
22418 (scalbln_test): Likewise.
22419 (tan_test): Likewise.
22420 (y1_test): Likewise.
22421 * sysdeps/i386/fpu/libm-test-ulps: Update.
22422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22424 2012-05-23 David S. Miller <davem@davemloft.net>
22426 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22427 (__libc_sigaction): Remove unused local variables.
22429 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22431 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22433 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22435 mktime: avoid signed integer overflow
22436 * time/mktime.c (__mktime_internal): Do not mishandle the case
22437 where diff == INT_MIN.
22439 mktime: simplify computation of average
22440 * time/mktime.c (ranged_convert): Use new time_t_avg function
22441 instead of rolling our own (probably-slower) code.
22443 mktime: do not assume signed right shift propagates sign bit
22444 * time/mktime.c (isdst_differ): New static function.
22445 (__mktime_internal): No need to normalize tm_isdst now.
22446 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22449 mktime: merge another wrapv change from gnulib
22450 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22451 from some compilers.
22453 mktime: remove incorrect attempt at unusual arithmetics
22454 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22455 The code didn't really work on such machines anyway.
22456 (TYPE_MINIMUM): Assume two's complement.
22457 (twos_complement_arithmetic): Verify that long_int and time_t
22458 are two's complement (or unsigned, in the latter case).
22460 mktime: check signed shifts on long_int and time_t, too
22461 * time/mktime.c (SHR): Check that shifts work as desired
22462 on the types long_int and time_t too, as SHR is used on
22465 mktime: do not assume 'long' is wide enough
22466 * time/mktime.c (verify): Move decl up.
22467 (long_int): New type.
22468 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22469 to remove assumption in the code that 'long' is wide enough to
22470 store year values. This assumption is not true on x32 and on
22471 some non-glibc platforms.
22473 mktime: merge wrapv change from gnulib
22474 * time/mktime.c (WRAPV): New macro.
22475 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22476 (guess_time_tm, __mktime_internal): Do not assume that signed
22477 integer overflow wraps around; modern compilers generate code
22478 where this assumption is no longer valid.
22480 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22482 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22483 Replace "jmp L(pseudo_end)" with "ret".
22484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22487 2012-05-23 Andreas Jaeger <aj@suse.de>
22489 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22490 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22492 2012-05-23 Andreas Jaeger <aj@suse.de>
22493 Maximilian Attems <max@stro.at>
22495 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22498 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22500 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22501 code so that pseudo_end is just ret and the stack pointer is
22502 correct also for static library in error case.
22504 2012-05-23 Joseph Myers <joseph@codesourcery.com>
22506 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22507 move to syscalls.list.
22508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22513 * manual/install.texi (Running make install): Do not mention Linux
22514 kernel version for which pt_chown is not needed.
22515 (Linux): Do not mention problems with nscd with 2.0 kernels.
22516 * INSTALL: Regenerated.
22518 2012-05-23 Andreas Jaeger <aj@suse.de>
22520 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22521 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22523 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22524 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22525 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22526 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22527 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22528 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22529 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22530 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22532 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22533 * sysdeps/unix/sysv/linux/bits/in.h
22534 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22536 2012-05-22 Roland McGrath <roland@hack.frob.com>
22538 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
22539 (PREPARE_VERSION): Just use assert instead, it will be elided
22540 under [NDEBUG] anyway.
22542 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22544 * sysdeps/unix/sysv/linux/Makefile: Include
22545 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
22546 (sysdep_routines): Remove sysctl.
22547 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
22548 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
22549 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
22550 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
22551 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
22553 2012-05-22 Andreas Jaeger <aj@suse.de>
22555 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
22556 that pseudo_end is just ret and the stack pointer is correct also
22557 for static library in error case.
22559 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
22562 * nss/nsswitch.c (defconfig_entries): New variable.
22563 (__nss_database_lookup): Don't leak defconfig entries.
22564 (nss_parse_service_list): Don't leak on error paths.
22565 (free_database_entries): New function.
22566 (free_defconfig): New function.
22567 (free_mem): Move common code to free_database_entries.
22569 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22571 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
22573 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
22575 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22576 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
22577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
22579 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22580 (INTERNAL_SYSCALL_TYPES): Likewise.
22581 (LOAD_ARGS_TYPES_[1-6]): Likewise.
22582 (LOAD_REGS_TYPES_[1-6]): Likewise.
22583 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
22584 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
22586 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22588 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
22589 copysignl for GLIBC_2_0.
22590 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
22591 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
22592 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
22593 logbl for GLIBC_2_0.
22594 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22595 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22597 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22599 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
22600 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
22602 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22605 * time/mktime.c: Update copyright years.
22607 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
22609 mktime: merge comment-quoting-style change from gnulib
22610 * time/mktime.c: Quote 'like this' in comments.
22611 The GNU coding standards suggest that we no longer quote `like this',
22612 as "`" and "'" are typically rendered asymmetrically nowadays.
22613 The typical gnulib style is to quote 'like this' when quoting
22614 code, and "like this" when quoting English.
22616 * time/mktime.c (compile-command): Add "-I.".
22618 mktime: merge mktime-internal.h change from gnulib
22619 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22621 mktime: merge time_r change from gnulib
22622 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22624 mktime: merge DEBUG change from gnulib
22625 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22626 case system <time.h> has a #define.
22628 mktime: merge <sys/types.h> change from gnulib
22629 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22630 since <time.t> is now guaranteed to define time_t.
22632 mktime: merge HAVE_CONFIG_H change from gnulib
22633 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22635 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
22637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22640 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22642 (struct rusage): Use anonymous union to pad each field to
22645 2012-05-21 David S. Miller <davem@davemloft.net>
22647 * Makefules (o-iterator): Remove .s cases.
22648 (compile-command.s): Delete.
22649 (COMPILE.s): Delete.
22650 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22652 2012-05-21 Joseph Myers <joseph@codesourcery.com>
22654 * configure.in (libc_cv_predef_stack_protector): Only consider
22655 "foobar" and "__stack_chk_fail" lines in libc_undefs.
22656 * configure: Regenerated.
22658 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22661 New macro. Use R*LP on int and pointer.
22662 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22663 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22664 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22665 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22667 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22668 [__WORDSIZE_TIME64_COMPAT32] instead of
22669 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22670 (struct utmp): Likewise.
22671 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22672 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22674 (__WORDSIZE_TIME64_COMPAT32): This.
22675 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22676 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22677 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22678 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22679 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22680 (__WORDSIZE_TIME64_COMPAT32): New macro.
22682 2012-05-21 Andreas Jaeger <aj@suse.de>
22684 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22685 only if [SHARED]. Add prototype for __wcschr_ia32.
22687 2012-05-21 Roland McGrath <roland@hack.frob.com>
22689 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22690 of %rbp unmolested in the jmp_buf while mangling the low bits.
22691 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22692 unmolested high bits of %rbp while demangling the low bits.
22693 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22695 2012-05-21 Andreas Jaeger <aj@suse.de>
22697 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22698 * sunrpc/svc_simple.c: Use it for registerrpc.
22699 * sunrpc/xcrypt.c: Use it for passwd2des.
22701 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22703 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22705 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22706 Don't define if [__SYSCALL_WORDSIZE != 32].
22707 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22710 2012-05-21 Bruno Haible <bruno@clisp.org>
22711 Andreas Jaeger <aj@suse.de>
22713 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22714 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22715 inptr and inend for must_buffer_ch.
22716 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22717 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22718 * stdio-common/Makefile (tests): Remove bug15.
22719 (bug15-ENV): Remove macro.
22720 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22723 2012-05-19 Andreas Jaeger <aj@suse.de>
22724 Roland McGrath <roland@hack.frob.com>
22726 * manual/contrib.texi: Completely rewritten. It contains now an
22727 alphabetical list of contributors and their contributions.
22729 2012-05-21 Richard Henderson <rth@twiddle.net>
22731 * misc/getauxval.c (__getauxval): Use unsigned long int.
22732 * misc/sys/auxv.h: Include <sys/cdefs.h>.
22733 (getauxval): Use unsigned long int.
22735 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
22737 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22739 2012-05-21 Roland McGrath <roland@hack.frob.com>
22741 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22742 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22743 __alignof__ (long double).
22745 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22749 2012-05-20 Richard Henderson <rth@twiddle.net>
22751 * misc/getauxval.c: New file.
22752 * misc/sys/auxv.h: New file.
22753 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22754 (routines): Add getauxval.
22755 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22756 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22757 * elf/dl-sysdep.c (_dl_auxv): Remove.
22758 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22759 * elf/dl-support.c (_dl_auxv): New variable.
22760 (_dl_aux_init): Initialize it.
22761 * manual/startup.texi (Auxiliary Vector): New node.
22762 * sysdeps/generic/bits/hwcap.h: New file.
22763 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22764 * sysdeps/powerpc/sysdep.h: ... here. Include it.
22765 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22766 * sysdeps/sparc/sysdep.h: ... here. Include it.
22767 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22768 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22774 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22780 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22784 2012-05-19 David S. Miller <davem@davemloft.net>
22786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22788 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22791 * math/s_ccosh.c: Include <float.h>
22792 (__ccosh): Avoid internal overflow calculating sinh and cosh
22793 values before multiplying by sin and cos values.
22794 * math/s_ccoshf.c: Likewise.
22795 * math/s_ccoshl.c: Likewise.
22796 * math/s_csin.c: Likewise.
22797 * math/s_csinf.c: Likewise.
22798 * math/s_csinl.c: Likewise.
22799 * math/s_csinh.c: Likewise.
22800 * math/s_csinhf.c: Likewise.
22801 * math/s_csinhl.c: Likewise.
22802 * math/libm-test.inc (ccos_test): Add more tests.
22803 (ccosh_test): Likewise.
22804 (csin_test): Likewise.
22805 (csinh_test): Likewise.
22806 * sysdeps/i386/fpu/libm-test-ulps: Update.
22807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22809 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
22811 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22812 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22814 * sysdeps/x86_64/x32/_itoa.h: Add comment.
22816 2012-05-19 Joseph Myers <joseph@codesourcery.com>
22818 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22819 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22820 * sysdeps/powerpc/soft-fp/Versions: Likewise.
22821 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22822 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22823 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22824 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22825 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22826 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22827 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22828 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22829 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22830 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22831 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22832 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22833 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22834 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22835 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22836 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22837 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22838 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22839 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22840 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22841 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22842 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22843 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22844 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22845 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22846 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22847 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22848 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22850 2012-05-18 Andreas Jaeger <aj@suse.de>
22852 * csu/.gitignore: Delete.
22854 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22856 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22857 (timex): Use __syscall_slong_t.
22859 2012-05-18 Andreas Jaeger <aj@suse.de>
22860 Carlos O'Donell <carlos_odonell@mentor.com>
22862 * manual/install.texi (Configuring and compiling): Update
22863 description about files modified in the source directory.
22864 * INSTALL: Regenerated.
22866 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22868 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22869 value. Use "or" to set return value to -1.
22870 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22871 negate return value.
22873 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22875 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22876 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22877 failure if the compiler has Graphite support disabled.
22878 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22880 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22881 CFLAGS-memmove.c): Likewise.
22882 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22885 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
22887 * sysdeps/x86_64/x32/_itoa.h: New file.
22889 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22890 getdents system call only if kernel and user dirents have the
22891 same d_ino and d_off.
22893 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22894 LLONG_MAX != LONG_MAX.
22895 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22896 (_fitoa_word): Likewise.
22898 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22900 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22901 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22902 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22904 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22905 include <bits/wordsize.h>. Check __x86_64__ instead of
22907 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22908 if __x86_64__ is defined. Use anonymous union on fpstate.
22910 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22913 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
22915 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22916 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22917 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22918 Refer to _rtld_local_ro instead of _rtld_global_ro.
22919 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22921 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22923 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22925 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22926 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22927 of _rtld_global, and rtld_progname instead of _dl_argv[0].
22929 * sysdeps/powerpc/powerpc32/dl-machine.c
22930 (__elf_machine_runtime_setup) [PROF]: Don't reference
22933 2012-05-18 Andreas Jaeger <aj@suse.de>
22935 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22936 function only available for GCCs before 3.4 since GCC 3.4
22937 introduced a builtin.
22939 (llrintf): Likewise.
22940 (llrint): Likewise.
22947 (nearbyint): Likewise.
22948 (nearbyintf): Likewise.
22952 (floorf): Likewise.
22954 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22956 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22957 on both fields and cast pointer to __syscall_ulong_t.
22959 * bits/types.h (__fsword_t): New type.
22960 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22961 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22962 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22963 (__FSWORD_T_TYPE): Likewise.
22964 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22965 (__FSWORD_T_TYPE): Likewise.
22966 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22967 (__FSWORD_T_TYPE): Likewise.
22968 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22969 (__FSWORD_T_TYPE): Likewise.
22970 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22971 __SWORD_TYPE with __fsword_t.
22972 (statfs64): Likewise.
22974 2012-05-17 David S. Miller <davem@davemloft.net>
22976 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22978 2012-05-17 Andreas Jaeger <aj@suse.de>
22980 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22983 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22985 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22987 2012-05-17 Andreas Jaeger <aj@suse.de>
22989 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22992 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
22994 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22996 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
22998 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22999 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23001 2012-05-17 Andreas Jaeger <aj@suse.de>
23002 Carlos O'Donell <carlos_odonell@mentor.com>
23005 * sysdeps/x86_64/multiarch/init-arch.h
23006 (bit_YMM_Usable): Rename to...
23007 (bit_AVX_Usable): ... this.
23008 (bit_FMA4_Usable): New macro.
23009 (bit_XMM_state): New macro.
23010 (bit_YMM_state): New macro.
23011 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23012 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23013 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23014 (CPUID_OSXSAVE): New macro.
23015 (CPUID_AVX): New macro.
23016 (CPUID_FMA4): New macro.
23017 (index_YMM_Usable): Rename to...
23018 (index_AVX_Usable): ... this.
23019 (HAS_AVX): Use HAS_ARCH_FEATURE.
23020 (HAS_FMA4): Likewise.
23021 (HAS_YMM_USABLE): Remove.
23022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23023 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23025 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23026 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23027 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23028 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23029 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23031 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23033 * math/libm-test.c: Support platforms without multiple rounding modes.
23034 * math/bug-nextafter.c: Support platforms without FP exceptions.
23035 * math/bug-nexttoward.c: Likewise.
23036 * math/test-fenv.c: Likewise.
23037 * math/test-misc.c: Likewise.
23038 * stdlib/bug-getcontext.c: Likewise.
23040 2012-05-17 Andreas Jaeger <aj@suse.de>
23042 * manual/examples/search.c (critter_cmp): Change signature to
23044 * manual/string.texi (Collation Functions): Likewise.
23046 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23048 * bits/types.h: Fold copyright years.
23049 * bits/typesizes.h: Likewise.
23050 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23051 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23052 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23054 * time/time.h: Likewise.
23056 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23059 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23060 in instead of returning them. Return void.
23061 (__libc_mallinfo): Accumulate over all arenas.
23062 (__malloc_stats): Adjust for change in int_mallinfo interface.
23064 2012-05-16 Roland McGrath <roland@hack.frob.com>
23067 * configure.in (NM): Add AC_CHECK_TOOL for it.
23068 (libc_extra_cflags): New substituted variable.
23069 Check for -fstack-protector being used implicitly.
23070 * configure: Regenerated.
23071 * config.make.in (config-extra-cflags): New variable,
23072 gets @libc_extra_cflags@.
23073 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23076 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23077 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23078 * configure: Regenerated.
23079 * config.make.in (CPPUNDEFS): New substituted variable.
23080 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23081 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23082 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23084 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23086 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23087 (mq_attr): Use __syscall_slong_t.
23089 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23091 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23092 Check __x86_64__ instead of __WORDSIZE.
23093 (_STAT_VER_LINUX): Likewise.
23094 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23095 __syscall_ulong_t and __syscall_slong_t.
23096 (stat64): Likewise.
23098 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23100 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23102 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23104 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23106 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23108 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23111 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23112 include <bits/wordsize.h>. Check __x86_64__ instead of
23114 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23116 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23119 include <bits/wordsize.h>. Check __x86_64__ instead of
23121 (user_regs_struct): Use "__extension__ unsigned long long"
23122 instead of "unsigned long" if __x86_64__ is defined.
23123 (user): Likewise. Pad after pointer field if __ILP32__ is
23126 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23128 * configure.in (makeinfo): Require version 4.5 or later. Allow
23130 * configure: Regenerated.
23131 * manual/install.texi (texinfo): Increase version requirement to
23133 * INSTALL: Regenerated.
23135 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23137 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23139 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23141 * sysdeps/x86_64/x32/ffs.c: New file.
23143 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23145 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23146 defined. Use __syscall_ulong_t.
23147 (shminfo): Use __syscall_ulong_t.
23148 (shm_info): Likewise.
23150 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23153 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23155 (msgqnum_t): Use __syscall_ulong_t.
23156 (msglen_t): Likewise.
23157 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23160 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23161 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23163 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23165 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23166 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23168 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23171 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23172 include <bits/wordsize.h>. Check __x86_64__ instead of
23175 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23176 "unsigned long long int" if __x86_64__ is defined.
23177 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23179 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23180 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23181 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23183 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23185 (GET_PC): Cast to uintptr_t first.
23186 (GET_FRAME): Likewise.
23187 (GET_STACK): Likewise.
23189 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23190 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23191 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23192 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23193 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23194 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23195 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23196 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23197 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23198 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23199 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23200 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23201 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23202 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23203 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23204 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23205 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23206 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23207 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23208 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23209 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23210 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23211 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23212 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23213 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23214 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23215 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23216 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23217 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23219 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23221 * Makerules (+depfiles): Also collect depfiles from .oS in
23223 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23224 .oS, $(libnldbl-routines)).
23226 * Makerules (native-compile-mkdep-flags): Define.
23227 * sunrpc/Makefile (extra-objs): Add $(addprefix
23228 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23229 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23230 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23231 calling $(make-target-directory).
23233 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23235 * bits/types.h (__snseconds_t): Removed.
23236 * time/time.h (struct timespec): Replace __snseconds_t with
23238 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23239 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23242 (__SNSECONDS_T_TYPE): Likewise.
23243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23244 (__SNSECONDS_T_TYPE): Likewise.
23245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23246 (__SNSECONDS_T_TYPE): Likewise.
23248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23250 * sysdeps/mach/hurd/bits/typesizes.h
23251 (__SYSCALL_SLONG_TYPE): New macro.
23252 (__SYSCALL_ULONG_TYPE): Likewise.
23254 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23256 * bits/types.h (__syscall_slong_t): New type.
23257 (__syscall_ulong_t): Likewise.
23259 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23260 (__SYSCALL_ULONG_TYPE): Likewise.
23261 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23262 (__SYSCALL_SLONG_TYPE): Likewise.
23263 (__SYSCALL_ULONG_TYPE): Likewise.
23264 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23265 (__SYSCALL_SLONG_TYPE): Likewise.
23266 (__SYSCALL_ULONG_TYPE): Likewise.
23267 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23268 (__SYSCALL_SLONG_TYPE): Likewise.
23269 (__SYSCALL_ULONG_TYPE): Likewise.
23271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23273 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23274 Add sigaltstack-offsets.sym.
23275 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23276 <sigaltstack-offsets.h>.
23277 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23278 longjmp_msg pointer.
23279 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23280 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23282 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23284 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23286 * elf/stackguard-macros.h: Remove file.
23287 * sysdeps/generic/stackguard-macros.h: New file.
23288 * sysdeps/i386/stackguard-macros.h: Likewise.
23289 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23290 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23291 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23292 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23293 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23294 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23295 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23296 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23297 <elf/stackguard-macros.h>.
23300 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23301 __aligned__ in attribute.
23302 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23303 (gregset_t): Likewise.
23305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23307 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23308 * sysdeps/x86_64/64/Implies-after: Here. New file.
23309 * sysdeps/x86_64/x32/Implies-after: New file.
23311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23313 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23314 and access return value for _dl_profile_fixup. Use R10_LP to
23317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23319 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23323 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23324 * sysdeps/x86_64/x32/sysdep.h: New file.
23326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23328 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23329 * sysdeps/x86_64/setjmp.S: Likewise.
23331 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23333 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23334 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23335 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23336 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23337 remove unused global constant.
23339 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23341 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23342 include of <not-cancel.h>.
23344 2012-05-15 Roland McGrath <roland@hack.frob.com>
23346 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23348 2012-05-15 Jeff Law <law@redhat.com>
23349 Andreas Jaeger <aj@suse.de>
23352 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23354 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23355 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23356 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23357 code changing __hst_map_handle.map.
23359 2012-05-15 Roland McGrath <roland@hack.frob.com>
23361 * configure.in (sysnames): Look for Implies-before and Implies-after
23363 * configure: Regenerated.
23365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23367 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23368 8-byte data alignment with LP_SIZE alignment.
23370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23372 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23377 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23379 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23381 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23382 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23383 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23385 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23387 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23389 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23390 (stackinfo_sub_sp): Likewise.
23392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23394 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23399 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23409 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23411 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23413 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23414 into R11_LP and load __x86_64_shared_cache_size_half into
23417 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23419 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23422 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23424 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23426 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23428 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23430 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23431 powerpc32/power7/fpu/s_logb.c via #include.
23432 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23433 powerpc32/power7/fpu/s_logbf.c via #include.
23434 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23435 powerpc32/power7/fpu/s_logbl.c via #include.
23437 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23439 * README.libm: Remove file.
23441 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23443 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23444 count for x32. Use R*_LP and omit operand-size suffix.
23446 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23448 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23449 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23450 * sysdeps/x86_64/x32/shlib-versions: New file.
23452 2012-05-14 Roland McGrath <roland@hack.frob.com>
23454 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23455 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23456 Use _dl_fatal_printf instead.
23458 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23460 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23461 set if not set by the user. Do not allow for being unset.
23462 * sysdeps/unix/sysv/linux/configure: Regenerated.
23464 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23466 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23467 the `q' suffix from lea and replace .quad with ASM_ADDR.
23469 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23472 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23474 (PTR_DEMANGLE): Likewise.
23476 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23478 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23480 (ASM_ADDR): Likewise.
23481 (RAX_LP): Likewise.
23482 (RBP_LP): Likewise.
23483 (RBX_LP): Likewise.
23484 (RCX_LP): Likewise.
23485 (RDI_LP): Likewise.
23486 (RSI_LP): Likewise.
23487 (RSP_LP): Likewise.
23490 (R10_LP): Likewise.
23491 (R10_LP): Likewise.
23492 (R11_LP): Likewise.
23493 (R12_LP): Likewise.
23494 (R13_LP): Likewise.
23495 (R14_LP): Likewise.
23496 (R15_LP): Likewise.
23498 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23500 * sysdeps/x86_64/x32/dl-machine.h: New file.
23502 2012-05-14 Andreas Jaeger <aj@suse.de>
23504 * manual/Makefile (subdir): Remove export of subdir.
23505 (all): Remove target.
23506 (.PHONY): Remove all from list.
23507 (mkinstalldirs): Remove.
23508 (.PHONY): Remove installdirs from list.
23509 ($(inst_infodir)/libc.info): Use make-target-directory.
23510 (installdirs): Remove.
23511 (subdir_%): Remove.
23512 (glibc-targets): Remove.
23515 ($(objpfx)stubs ../po/manual.pot): Remove.
23516 ($(objpfx)stamp%): Remove.
23517 (make-target-directory): Remove.
23518 (subdir_install): Remove.
23519 (routines): Remove.
23526 * manual/.gitignore: Remove, it's not needed anymore.
23527 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23529 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23531 (texis): Renamed to $(objpfx)texis.
23532 (texis-path): New, contains path to generated files.
23533 (chapters.%): Use texis-path for complete path, add extra argument
23535 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23536 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23537 (summary,texi, stamp-summary): Use complete path of
23538 files. Generate files in build dir.
23539 (dir-add.texi): Build in build dir.
23540 (libm-err.texi,stamp-libm-err): Likewise.
23541 (version.texi, stamp-version): Likewise.
23542 (.%c.texi): Likewise.
23543 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
23544 (mostlyclean): Remove target.
23545 (realclean): Remove target.
23546 (generated): Add new variable with contents from mostlyclean and
23547 realclean, remove entries duplicated in common-mostlyclean, add
23548 stamp-libm-err and stamp-version.
23549 (generated-dirs): Add libc directory.
23550 ($(inst_infodir)/libc.info): Install files from build dir.
23552 * manual/install.texi (Configuring and compiling): Adjust since
23553 the info files are not part of the tar ball anymore.
23555 2012-05-14 Andreas Jaeger <aj@suse.de>
23557 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
23560 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23563 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23564 to 2.2.0 where earlier.
23565 * sysdeps/unix/sysv/linux/configure: Regenerated.
23566 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
23567 Remove conditional code.
23568 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
23569 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
23570 Remove conditional code.
23571 [!__NR_lchown]: Likewise.
23572 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23573 [__NR_lchown]: Likewise.
23574 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
23575 comment referencing __ASSUME_LCHOWN_SYSCALL.
23576 * sysdeps/unix/sysv/linux/i386/sigaction.c
23577 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23578 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23579 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
23580 Remove conditional code.
23581 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
23582 (__protocol_available): Remove #if 0 code.
23583 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
23585 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
23586 * sysdeps/unix/sysv/linux/kernel-features.h
23587 (__ASSUME_GETCWD_SYSCALL): Don't define.
23588 (__ASSUME_REALTIME_SIGNALS): Likewise.
23589 (__ASSUME_PREAD_SYSCALL): Likewise.
23590 (__ASSUME_PWRITE_SYSCALL): Likewise.
23591 (__ASSUME_POLL_SYSCALL): Likewise.
23592 (__ASSUME_LCHOWN_SYSCALL): Likewise.
23593 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
23595 (__ASSUME_SIOCGIFNAME): Don't define.
23596 (__ASSUME_MSG_NOSIGNAL): Likewise.
23597 (__ASSUME_SENDFILE): Define unconditionally.
23598 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
23599 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
23601 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
23602 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
23603 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23604 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23605 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
23606 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
23607 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
23608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
23609 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23612 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23613 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
23615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23618 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23619 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23621 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23624 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23630 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23632 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23633 Remove conditional code.
23634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23635 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23636 Remove conditional code.
23637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23638 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23639 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23640 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23641 Remove conditional code.
23642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23643 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23644 Remove conditional code.
23645 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23646 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23647 Remove conditional code.
23648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23649 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23650 Remove conditional code.
23651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23652 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23653 Remove conditional code.
23654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23655 * sysdeps/unix/sysv/linux/sh/pwrite64.c
23656 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23658 * sysdeps/unix/sysv/linux/sigaction.c
23659 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23660 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23661 * sysdeps/unix/sysv/linux/sigpending.c
23662 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23663 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23664 * sysdeps/unix/sysv/linux/sigprocmask.c
23665 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23666 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23667 * sysdeps/unix/sysv/linux/sigsuspend.c
23668 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23669 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23670 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23671 (__libc_missing_rt_sigs): Remove.
23672 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23673 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23674 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23675 Remove conditional code.
23676 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23677 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23679 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23680 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23681 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23682 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23684 2012-05-14 Andreas Jaeger <aj@suse.de>
23686 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23687 it's not used in glibc.
23688 (__coshm1): Likewise.
23689 (__acosh1p): Likewise.
23692 * manual/string.texi (Copying and Concatenation): Add missing
23693 variable in concat example.
23694 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23696 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23699 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23700 __builtin_clzl with __builtin_clzll.
23702 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23705 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23708 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23710 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23711 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23712 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23713 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23715 2012-05-14 Mike Frysinger <vapier@gentoo.org>
23717 * NEWS: Update ia64 info.
23719 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
23721 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23724 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
23726 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23727 * sysdeps/unix/syscalls.list (dup3): Likewise.
23728 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23729 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23731 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23733 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23734 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23736 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
23738 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23740 (TLS_IE): Use mov/add instead of movq/addq to load thread
23742 (TLS_GD_PREFIX): New.
23745 2012-05-11 David S. Miller <davem@davemloft.net>
23747 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23748 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23749 (_FPU_SETCW): Likewise.
23751 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23753 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23754 is 32-byte aligned.
23756 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
23759 * iconvdata/gb18030.c: Update tables.
23760 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
23761 characters specially.
23762 (BODY for TO_LOOP): Add encoding of missing ranges.
23764 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
23767 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23768 * sysdeps/mach/hurd/dup3.c: Likewise.
23769 * sysdeps/mach/hurd/readlinkat.c: Likewise.
23770 * sysdeps/powerpc/memmove.c:: Likewise.
23772 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23774 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23775 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23777 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
23779 * elf/elf.h (R_X86_64_RELATIVE64): New.
23780 (R_X86_64_NUM): Updated.
23781 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23782 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
23783 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23784 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23785 tst-quad1pie tst-quad2pie
23786 (modules-names): Add tst-quadmod1 tst-quadmod2.
23787 ($(objpfx)tst-quad1): New dependency.
23788 ($(objpfx)tst-quad2): Likewise.
23789 ($(objpfx)tst-quad1pie): Likewise.
23790 ($(objpfx)tst-quad2pie): Likewise.
23791 * sysdeps/x86_64/tst-quad1.c: New file.
23792 * sysdeps/x86_64/tst-quad1pie.c: New file.
23793 * sysdeps/x86_64/tst-quad2.c: Likewise.
23794 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23795 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23796 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23797 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23798 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23800 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23802 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23803 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23804 * streams/stropts.h (t_scalar_t): Define type.
23806 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23807 (_PATH_PRESERVE): Set to "/var/lib".
23808 (_PATH_RWHODIR): Set to "/var/spool/rwho".
23810 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23813 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23814 if __dir_mkfile succeeded.
23816 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23817 checking for _hurd_dtablesize. Unlock it right after having
23818 finished _hurd_dtable allocation.
23820 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23822 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23823 * sysdeps/mach/hurd/configure: Regenerated.
23824 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23825 special-casing to...
23826 * sysdeps/gnu/configure.in: ... this new file.
23827 * sysdeps/unix/sysv/linux/configure: Regenerated.
23828 * sysdeps/gnu/configure: New generated file.
23830 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23831 for Linux: use nsec instead of usec, as well as:
23832 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23833 members of type struct timespec.
23834 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23836 (struct stat64): Likewise.
23837 (_STATBUF_ST_NSEC): New macro.
23838 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23840 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23841 __strtoul_internal rather than strtoul.
23843 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23845 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23850 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23851 which preserves existing values.
23852 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23854 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23856 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23857 TIMEOUT values. Return EINVAL for NFDS values either negative or
23858 greater than FD_SETSIZE.
23860 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23862 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23863 allocated, call __vm_protect to finish enabling the existing space, and
23864 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23865 allocate the remainder.
23867 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23869 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23870 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
23872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23874 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23875 sysdeps/mach/hurd/readlink.c.
23877 * posix/tst-sysconf.c (posix_options): Only use
23878 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23879 _POSIX_SYNCHRONIZED_IO when they are defined
23880 * sysdeps/mach/hurd/bits/posix_opt.h:
23881 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23882 (_XOPEN_REALTIME): Undefine macro.
23883 (_XOPEN_REALTIME_THREADS): Undefine macro.
23884 (_XOPEN_SHM): Undefine macro.
23885 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23887 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23889 (_POSIX_ASYNC_IO): Undefine macro.
23890 (_POSIX_PRIORITIZED_IO): Undefine macro.
23891 (_POSIX_SPIN_LOCKS): Define macro to -1.
23893 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23894 SA_NODEFER, SA_RESETHAND.
23895 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23896 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23899 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23901 * elf/Makefile (pldd-modules): Define unconditionally.
23903 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23905 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23909 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23910 Return ENOENT when name is empty.
23911 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23913 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23915 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23917 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23921 Fix mlock in all cases except non-readable pages.
23922 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23923 instead of VM_PROT_ALL as parameter to __vm_wire function.
23925 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23926 (__mkdir): When path is `/', just fail with EEXIST.
23927 * sysdeps/mach/hurd/mkdirat.c: Likewise.
23929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23931 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23932 <sys/uio.h> (for writev).
23933 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23934 and <sys/param.h> (for MIN).
23936 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
23938 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23939 REQUESTED_TIME. Properly set the remaining time and return EINTR
23942 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23944 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23945 Depend on against $(link-rpcuserlibs).
23947 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23949 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23950 (__libc_stack_end): Do not use attribute_relro.
23951 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23952 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23953 to libthread-provided value.
23954 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23957 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23960 * bits/libc-lock.h (__libc_once_get): New macro.
23961 * sysdeps/mach/bits/libc-lock.h: Likewise.
23962 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23963 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23964 instead of using implementation details.
23966 * libio/fileops.c: Unconditionally include <kernel-features.h>.
23967 * libio/freopen.c: Likewise.
23968 * libio/freopen64.c: Likewise.
23969 * misc/syslog.c: Likewise.
23970 * nscd/connections.c: Likewise.
23971 * nscd/netgroupcache.c: Likewise.
23972 * sysdeps/posix/getcwd.c: Likewise.
23974 2012-05-10 Roland McGrath <roland@hack.frob.com>
23976 * math/w_ilogbf.c: Add #include <limits.h>.
23978 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
23980 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23981 path instead of returning without unlocking.
23983 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23984 immediate-write ioctls.
23985 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23987 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
23989 * sysdeps/mach/hurd/i386/init-first.c (init): Use
23990 __builtin_frame_address instead of making assumptions about the
23991 location of the return address relative to DATA. Force early load of
23992 the return address.
23993 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23994 __builtin_frame_address.
23997 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23998 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
23999 implement dup3 and do some further code clean-ups.
24000 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24001 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24003 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24005 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24007 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24008 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24009 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24010 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24011 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24014 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24015 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24016 when handler == SIG_ERR, not when handler != SIG_ERR.
24018 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24020 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24021 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24024 accept4 for GNU Hurd.
24025 * include/sys/socket.h (__libc_accept4): New prototype.
24026 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24027 to implement __libc_accept4.
24028 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24030 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24032 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24033 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24034 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24035 signal-defines.sym.
24037 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24039 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24041 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24043 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24044 assertion on O_CLOEXEC flag.
24045 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24046 * hurd/intern-fd.c: Likewise.
24047 * hurd/port2fd.c: Likewise.
24049 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24052 * bits/in.h (IPV6_PKTINFO): Define new macro.
24053 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24055 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24060 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24062 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24063 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24064 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24065 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24066 * math/libm-test.inc (logb_test) : Additional logb tests.
24068 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24069 Andreas Jaeger <aj@suse.de>
24071 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24072 * configure: Regenerated.
24073 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24074 * config.make.in (link-obsolete-rpc): New substituted variable.
24075 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24076 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24077 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24078 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24079 so that libc.a contains the symbols.
24080 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24081 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24082 * sunrpc/auth_none.c: Likewise.
24083 * sunrpc/auth_unix.c: Likewise.
24084 * sunrpc/authdes_prot.c: Likewise.
24085 * sunrpc/authuxprot.c: Likewise.
24086 * sunrpc/clnt_gen.c: Likewise.
24087 * sunrpc/clnt_perr.c: Likewise.
24088 * sunrpc/clnt_raw.c: Likewise.
24089 * sunrpc/clnt_simp.c: Likewise.
24090 * sunrpc/clnt_tcp.c: Likewise.
24091 * sunrpc/clnt_udp.c: Likewise.
24092 * sunrpc/clnt_unix.c: Likewise.
24093 * sunrpc/des_crypt.c: Likewise.
24094 * sunrpc/des_soft.c: Likewise.
24095 * sunrpc/get_myaddr.c: Likewise.
24096 * sunrpc/key_call.c: Likewise.
24097 * sunrpc/key_prot.c: Likewise.
24098 * sunrpc/netname.c: Likewise.
24099 * sunrpc/pm_getmaps.c: Likewise.
24100 * sunrpc/pm_getport.c: Likewise.
24101 * sunrpc/pmap_clnt.c: Likewise.
24102 * sunrpc/pmap_prot.c: Likewise.
24103 * sunrpc/pmap_prot2.c: Likewise.
24104 * sunrpc/pmap_rmt.c: Likewise.
24105 * sunrpc/publickey.c: Likewise.
24106 * sunrpc/rpc_cmsg.c: Likewise.
24107 * sunrpc/rpc_common.c: Likewise.
24108 * sunrpc/rpc_dtable.c: Likewise.
24109 * sunrpc/rpc_prot.c: Likewise.
24110 * sunrpc/rpc_thread.c: Likewise.
24111 * sunrpc/rtime.c: Likewise.
24112 * sunrpc/svc.c: Likewise.
24113 * sunrpc/svc_auth.c: Likewise.
24114 * sunrpc/svc_raw.c: Likewise.
24115 * sunrpc/svc_run.c: Likewise.
24116 * sunrpc/svc_tcp.c: Likewise.
24117 * sunrpc/svc_udp.c: Likewise.
24118 * sunrpc/svc_unix.c: Likewise.
24119 * sunrpc/svcauth_des.c: Likewise.
24120 * sunrpc/xcrypt.c: Likewise.
24121 * sunrpc/xdr.c: Likewise.
24122 * sunrpc/xdr_array.c: Likewise.
24123 * sunrpc/xdr_float.c: Likewise.
24124 * sunrpc/xdr_intXX_t.c: Likewise.
24125 * sunrpc/xdr_mem.c: Likewise.
24126 * sunrpc/xdr_rec.c: Likewise.
24127 * sunrpc/xdr_ref.c: Likewise.
24128 * sunrpc/xdr_sizeof.c: Likewise.
24129 * sunrpc/xdr_stdio.c: Likewise.
24131 2012-05-10 Roland McGrath <roland@hack.frob.com>
24133 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24134 change. Update copyright years.
24136 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24138 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24140 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24141 Joseph Myers <joseph@codesourcery.com>
24142 Paul Pluzhnikov <ppluzhnikov@google.com>
24145 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24147 [cross-compiling] (extra-libs): Likewise.
24148 [cross-compiling] (extra-libs-others): Likewise.
24149 [cross-compiling] (librpcsvc-routines): Likewise.
24150 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24151 [cross-compiling] (omit-deps): Likewise.
24152 (sunrpc-CPPFLAGS): New variable.
24153 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24154 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24155 (cross-rpcgen-objs): New variable.
24156 (extra-objs): Append $(cross-rpcgen-objs).
24157 ($(cross-rpcgen-objs)): New rule.
24158 ($(objpfx)cross-rpcgen): Likewise.
24159 (rpcgen-cmd): Define to use $(built-program-file). Expand
24161 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24162 ($(objpfx)x%.stmp): Likewise.
24163 * sunrpc/proto.h [IS_IN_build] (_): Define.
24164 [IS_IN_build] (_libc_intl_domainname): Likewise.
24166 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24169 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24170 and R_X86_64_TPOFF64.
24172 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24174 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24175 sysdeps/unix/sysv/syscalls.list.
24178 * sysdeps/unix/sysv/syscalls.list: Remove file.
24180 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24183 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24184 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24185 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24186 (__LC_IDENTIFICATION): Make these macros useful in #if
24187 expressions, as required by C99.
24189 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24191 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24192 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24195 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24197 * stdlib/longlong.h: Updated from GCC.
24199 2012-05-09 Andreas Jaeger <aj@suse.de>
24201 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24202 default is first entry.
24203 (run_mode): Set type.
24204 (main): Remove informal message about syslog.
24205 (options): Fix typo.
24208 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24211 (llrintf): Likewise.
24212 (llrint): Likewise.
24215 (nearbyint): Likewise.
24216 (nearbyintf): Likewise.
24218 2012-05-09 Andreas Jaeger <aj@suse.de>
24219 Pedro Alves <palves@redhat.com>
24221 * nscd/nscd.c (run_mode): Use enum.
24222 (main): Cleanup coding style issue.
24224 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24225 Andreas Jaeger <aj@suse.de>
24227 * nscd/nscd.c (go_background): Replaced with...
24228 (run_mode): ... this.
24229 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24230 (options): Add -F --foreground.
24231 (main): Implement it.
24232 (parse_opt): Parse it.
24234 2012-05-09 Andreas Jaeger <aj@suse.de>
24237 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24238 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24239 -Wconversion warning.
24240 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24243 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24245 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24247 (LC_ALL): Use macro-int-constant.
24248 (LC_COLLATE): Likewise.
24249 (LC_CTYPE): Likewise.
24250 (LC_MESSAGES): Likewise.
24251 (LC_MONETARY): Likewise.
24252 (LC_NUMERIC): Likewise.
24253 (LC_TIME): Likewise.
24254 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24255 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24256 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24257 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24259 [C99-based standards] (float_t): Expect type.
24260 [C99-based standards] (double_t): Expect type.
24261 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24263 [C99-based standards] (HUGE_VALL): Likewise.
24264 [C99-based standards] (INFINITY): Likewise.
24265 [C99-based standards] (NAN): Likewise.
24266 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24267 [C99-based standards] (FP_NAN): Likewise.
24268 [C99-based standards] (FP_NORMAL): Likewise.
24269 [C99-based standards] (FP_SUBNORMAL): Likewise.
24270 [C99-based standards] (FP_ZERO): Likewise.
24271 [C99-based standards] (FP_FAST_FMA): Use
24272 optional-macro-int-constant. Specify type. Require == 1.
24273 [C99-based standards] (FP_FAST_FMAF): Likewise.
24274 [C99-based standards] (FP_FAST_FMAL): Likewise.
24275 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24276 [C99-based standards] (FP_ILOGBNAN): Likewise.
24277 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24279 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24280 [C99-based standards] (math_errhandling): Specify type.
24281 [ISO99 || ISO11] (signgam): Do not allow.
24282 [non-C99-based standards] (copysignf): Do not allow.
24283 [non-C99-based standards] (exp2f): Likewise.
24284 [non-C99-based standards] (log2f): Likewise.
24285 [non-C99-based standards] (modff): Allow.
24286 [non-C99-based standards] (erff): Do not allow.
24287 [non-C99-based standards] (erfcf): Likewise.
24288 [non-C99-based standards] (gammaf): Likewise.
24289 [non-C99-based standards] (hypotf): Likewise.
24290 [non-C99-based standards] (j0f): Likewise.
24291 [non-C99-based standards] (j1f): Likewise.
24292 [non-C99-based standards] (jnf): Likewise.
24293 [non-C99-based standards] (lgammaf): Likewise.
24294 [non-C99-based standards] (tgammaf): Likewise.
24295 [non-C99-based standards] (y0f): Likewise.
24296 [non-C99-based standards] (y1f): Likewise.
24297 [non-C99-based standards] (ynf): Likewise.
24298 [non-C99-based standards] (isnanf): Likewise.
24299 [non-C99-based standards] (acoshf): Likewise.
24300 [non-C99-based standards] (asinhf): Likewise.
24301 [non-C99-based standards] (atanhf): Likewise.
24302 [non-C99-based standards] (cbrtf): Likewise.
24303 [non-C99-based standards] (expm1f): Likewise.
24304 [non-C99-based standards] (ilogbf): Likewise.
24305 [non-C99-based standards] (log1pf): Likewise.
24306 [non-C99-based standards] (logbf): Likewise.
24307 [non-C99-based standards] (nextafterf): Likewise.
24308 [non-C99-based standards] (remainderf): Likewise.
24309 [non-C99-based standards] (rintf): Likewise.
24310 [non-C99-based standards] (scalbf): Likewise.
24311 [non-C99-based standards] (copysignl): Likewise.
24312 [non-C99-based standards] (exp2l): Likewise.
24313 [non-C99-based standards] (log2l): Likewise.
24314 [non-C99-based standards] (modfl): Allow.
24315 [non-C99-based standards] (erfl): Do not allow.
24316 [non-C99-based standards] (erfcl): Likewise.
24317 [non-C99-based standards] (gammal): Likewise.
24318 [non-C99-based standards] (hypotl): Likewise.
24319 [non-C99-based standards] (j0l): Likewise.
24320 [non-C99-based standards] (j1l): Likewise.
24321 [non-C99-based standards] (jnl): Likewise.
24322 [non-C99-based standards] (lgammal): Likewise.
24323 [non-C99-based standards] (tgammal): Likewise.
24324 [non-C99-based standards] (y0l): Likewise.
24325 [non-C99-based standards] (y1l): Likewise.
24326 [non-C99-based standards] (ynl): Likewise.
24327 [non-C99-based standards] (isnanl): Likewise.
24328 [non-C99-based standards] (acoshl): Likewise.
24329 [non-C99-based standards] (asinhl): Likewise.
24330 [non-C99-based standards] (atanhl): Likewise.
24331 [non-C99-based standards] (cbrtl): Likewise.
24332 [non-C99-based standards] (expm1l): Likewise.
24333 [non-C99-based standards] (ilogbl): Likewise.
24334 [non-C99-based standards] (log1pl): Likewise.
24335 [non-C99-based standards] (logbl): Likewise.
24336 [non-C99-based standards] (nextafterl): Likewise.
24337 [non-C99-based standards] (remainderl): Likewise.
24338 [non-C99-based standards] (rintl): Likewise.
24339 [non-C99-based standards] (scalbl): Likewise.
24340 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24341 [non-C99-based standards] (FP_*): Do not allow.
24342 [C99-based standards] (FP_*): Change to
24343 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24344 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24346 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24347 (SIG_ERR): Likewise.
24348 [X/Open-based standards] (SIG_HOLD): Likewise.
24349 (SIG_IGN): Likewise.
24350 (SIGABRT): Use macro-int-constant. Specify type. Require
24352 (SIGFPE): Likewise.
24353 (SIGILL): Likewise.
24354 (SIGINT): Likewise.
24355 (SIGSEGV): Likewise.
24356 (SIGTER): Likewise.
24357 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24358 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24359 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24360 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24361 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24362 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24363 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24364 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24365 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24366 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24367 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24368 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24369 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24370 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24371 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24372 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24373 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24374 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24375 [X/Open-based standards] (SIGTRAP): Likewise.
24376 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24377 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24378 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24379 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24380 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24383 2012-05-08 Ian Wienand <ianw@vmware.com>
24386 * time/tzset.c (__tzset_parse_tz): Update default rules for
24387 daylight time changes in the Energy Policy Act of 2005.
24389 2012-05-09 Andreas Jaeger <aj@suse.de>
24392 * elf/ldconfig.c (parse_conf): Change string to make clear that
24393 ldconfig only issued a warning if ld.so.conf does not exist.
24395 2012-05-08 David S. Miller <davem@davemloft.net>
24397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24398 movxtod instead of popping the value on the stack.
24400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24402 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24404 * config.h.in: Add HAVE_ARM_PCS_VFP.
24406 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24409 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24410 checking but the checks are disabled for any reason.
24412 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24414 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24415 and ELF64_R_TYPE with ELFW(R_TYPE).
24417 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24419 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24420 (ulimit): Likewise.
24422 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24423 (settimeofday): Likewise.
24425 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24427 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24428 a struct th_u2 inside the union, and move tu_block/tu_code into
24429 a new th_u3 union of tu_block/tu_code inside of that. Move
24430 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24431 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24432 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24433 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24434 (th_stuff): Change to th_u1.tu_stuff.
24436 (th_msg): Change to th_u1.th_u2.tu_data.
24438 2012-05-07 David S. Miller <davem@davemloft.net>
24440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24443 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24444 (SETUP_PIC_REG): Use it.
24445 (SETUP_PIC_REG_LEAF): Use it.
24447 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24451 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24453 (EXPL_FINITE): Likewise.
24454 (FLDLOG): Likewise.
24455 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24456 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24458 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24460 (EXPL_FINITE): Likewise.
24461 (FLDLOG): Likewise.
24462 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24463 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24465 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24466 test of -max_value argument for long double.
24467 * sysdeps/i386/fpu/libm-test-ulps: Update.
24468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24470 2012-05-06 David S. Miller <davem@davemloft.net>
24472 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24473 quad soft-float symbols whose references which are compiler
24475 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24477 2012-05-06 Joseph Myers <joseph@codesourcery.com>
24481 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24483 (EXPL_FINITE): Likewise.
24484 (FLDLOG): Likewise.
24487 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24488 Adjust comments for base varying.
24489 (__expl_finite): Change alias to EXPL_FINITE.
24490 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24492 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24493 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24494 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24495 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24496 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24498 (EXPL_FINITE): Likewise.
24499 (FLDLOG): Likewise.
24502 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24503 Adjust comments for base varying.
24504 (__expl_finite): Change alias to EXPL_FINITE.
24505 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24510 * math/libm-test.inc (check_float_internal): Correct ulp
24511 calculation for subnormal expected results.
24513 2012-05-06 Andreas Jaeger <aj@suse.de>
24515 * Makeconfig (+math-flags): New, set to -frounding-math.
24516 (+cflags): Add +math-flags so that all of glibc gets compiled with
24519 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24521 2012-05-05 Joseph Myers <joseph@codesourcery.com>
24523 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24529 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24530 (__ieee754_expl): Allow for and saturate large arguments.
24531 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24532 (u_threshold): Likewise.
24533 (__exp): Call __ieee754_exp before checking for overflow and
24535 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24536 (u_threshold): Likewise.
24537 (__expf): Call __ieee754_expf before checking for overflow and
24539 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
24540 (u_threshold): Likewise.
24541 (__expl): Call __ieee754_expl before checking for overflow and
24543 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
24544 (__ieee754_expl): Allow for and saturate large arguments.
24545 * math/libm-test.inc (exp_test): Add another test. Do not allow
24546 missing overflow exception on overflow.
24547 (expm1_test): Do not allow missing overflow exception on overflow.
24549 * sysdeps/i386/fpu/e_expl.c: Move to ...
24550 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
24551 rather than using inline asm.
24552 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
24553 * sysdeps/x86_64/fpu/e_expl.S: Copy from
24554 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
24556 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
24559 (signal): Likewise.
24563 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24565 * sysdeps/unix/syscalls.list (adjtime): Add entry from
24566 sysdeps/unix/common/syscalls.list.
24567 (fchmod): Likewise.
24568 (fchown): Likewise.
24569 (ftruncate): Likewise.
24570 (getrusage): Likewise.
24571 (gettimeofday): Likewise.
24572 (setpgid): Likewise.
24573 (setregid): Likewise.
24574 (setreuid): Likewise.
24575 (sigaction): Likewise.
24576 (truncate): Likewise.
24577 (vhangup): Likewise.
24578 * sysdeps/unix/common/syscalls.list: Remove file.
24579 * sysdeps/unix/bsd/Implies: Don't include unix/common.
24580 * sysdeps/unix/sysv/linux/Implies: Likewise.
24582 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
24584 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
24585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
24586 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
24588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
24590 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
24592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
24593 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
24595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
24596 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
24598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
24599 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
24601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
24602 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
24604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
24605 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
24607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
24608 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
24610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24612 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
24614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
24616 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
24618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24619 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24623 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24627 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24629 * sysdeps/unix/common/bits/dirent.h: Remove file.
24630 * sysdeps/unix/common/bits/fcntl.h: Likewise.
24632 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24633 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24634 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24635 * sysdeps/unix/bsd/isatty.c: Likewise.
24636 * sysdeps/unix/bsd/tcdrain.c: Likewise.
24637 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24638 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24640 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24643 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24644 long double comparison inaccuracies.
24645 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24648 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
24650 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24651 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24653 2012-05-04 Joseph Myers <joseph@codesourcery.com>
24656 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24657 nonzero digits before rounding a hex value.
24658 * stdlib/tst-strtod.c (tests): Add another test.
24660 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24662 * sysdeps/s390/fpu/libm-test-ulps: Update.
24664 2012-05-03 Andreas Jaeger <aj@suse.de>
24666 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24667 does not get optimized out.
24668 (malloc_opt_barrier): New.
24670 2012-05-03 Andreas Jaeger <aj@suse.de>
24671 Roland McGrath <roland@hack.frob.com>
24673 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24674 intermediate file deletion.
24675 (generated): Add .symlist files.
24677 2012-05-03 Joseph Myers <joseph@codesourcery.com>
24680 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24681 Redirect under this condition.
24682 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24683 [__USE_GNU] (__dprintf_chk): Not under this condition.
24684 [__USE_GNU] (__vdprintf_chk): Likewise.
24685 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24686 under this condition.
24687 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24688 [__USE_XOPEN2K8] (dprintf): Define under this condition.
24689 [__USE_XOPEN2K8] (vdprintf): Likewise.
24690 [__USE_GNU] (__dprintf_chk): Not under this condition.
24691 [__USE_GNU] (__vdprintf_chk): Likewise.
24692 [__USE_GNU] (dprintf): Likewise.
24693 [__USE_GNU] (vdprintf): Likewise.
24695 2012-05-03 Roland McGrath <roland@hack.frob.com>
24697 * elf/Makefile (common-generated): Set this instead of generated for
24698 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
24699 $(all-built-dso)-derived lists.
24701 2012-05-03 Andreas Jaeger <aj@suse.de>
24703 * sysdeps/i386/fpu/libm-test-ulps: Update.
24706 * FAQ.in: Likewise.
24707 * scripts/gen-FAQ.pl: Likewise.
24708 * manual/install.texi (Installation): Point to online location of
24710 * Makefile (files-for-dist): Remove FAQ.
24713 2012-05-02 Allan McRae <allan@archlinux.org>
24715 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24716 (LDFLAGS-reldepmod5.so): Likewise.
24717 (LDFLAGS-reldep6mod1.so): Likewise.
24718 (LDFLAGS-reldep6mod4.so): Likewise.
24719 (LDFLAGS-reldep8mod3.so): Likewise.
24720 (LDFLAGS-unload4mod1.so): Likewise.
24721 (LDFLAGS-unload4mod2.so): Likewise.
24722 (LDFLAGS-tst-initorder): Likewise.
24723 (LDFLAGS-tst-initordera2.so): Likewise.
24724 (LDFLAGS-tst-initordera3.so): Likewise.
24725 (LDFLAGS-tst-initordera4.so): Likewise.
24726 (LDFLAGS-tst-initorderb2.so): Likewise.
24727 (LDFLAGS-noload): Likewise.
24728 (LDFLAGS-next): Likewise.
24729 (LDFLAGS-order2mod1.so): Likewise.
24730 (LDFLAGS-order2mod2.so): Likewise.
24731 (LDFLAGS-tst-initorder2): Likewise.
24732 (LDFLAGS-tst-initorder2a.so): Likewise.
24733 (LDFLAGS-tst-initorder2b.so): Likewise.
24734 (LDFLAGS-tst-initorder2c.so): Likewise.
24735 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24737 2012-05-02 David S. Miller <davem@davemloft.net>
24739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24741 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
24744 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24746 2012-05-02 Andreas Jaeger <aj@suse.de>
24748 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24749 since we manipulate rounding mode.
24750 (CPPFLAGS-test-idouble.c): Likewise.
24751 (CPPFLAGS-test-ifloat.c): Likewise.
24752 (CFLAGS-test-ldouble.c): Likewise.
24753 (CFLAGS-test-double.c): Likewise.
24754 (CFLAGS-test-float.c): Likewise.
24755 (CFLAGS-test-misc.c): Likewise.
24756 (CFLAGS-test-test-fenv.c): Likewise.
24758 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24762 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24763 comparisons to determine direction to adjust input.
24765 2012-05-01 Roland McGrath <roland@hack.frob.com>
24767 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24768 output to the target.
24770 * scripts/localplt.awk: New file.
24771 * elf/Makefile ($(objpfx)check-localplt): Target removed.
24772 (check-localplt-CFLAGS): Variable removed.
24773 ($(all-built-dso:=.jmprel)): New static pattern rule.
24774 (generated): Add those targets.
24775 (localplt-built-dso): New variable.
24776 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24778 * elf/check-localplt.c: File removed.
24780 * scripts/check-execstack.awk: New file.
24781 * elf/Makefile ($(objpfx)check-execstack): Target removed.
24782 (check-execstack-CFLAGS): Variable removed.
24783 ($(objpfx)check-execstack.h): Target removed.
24784 ($(objpfx)execstack-default): New target.
24785 (generated): Add that instead of check-execstack.h.
24786 ($(all-built-dso:=.phdr)): New static pattern rule.
24787 (generated): Add those targets.
24788 * elf/check-execstack.c: File removed.
24790 * scripts/check-textrel.awk: New file.
24791 * elf/Makefile ($(objpfx)check-textrel): Target removed.
24792 (check-textrel-CFLAGS): Variable removed.
24793 (all-built-dso): Use := to define.o
24794 ($(all-built-dso:=.dyn)): New static pattern rule.
24795 (generated): Add those targets.
24796 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24797 * config.make.in (READELF): New substituted variable.
24798 * elf/check-textrel.c: File removed.
24800 2012-05-01 Joseph Myers <joseph@codesourcery.com>
24802 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24804 * conform/data/ctype.h-data [C99-based standards] (isblank):
24806 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24807 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24809 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24810 Specify type. Require positive value.
24811 (EILSEQ): Likewise.
24812 (ERANGE): Likewise.
24813 [ISO || POSIX] (EILSEQ): Do not expect.
24814 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24815 Specify type. Require positive value.
24816 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24817 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24818 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24819 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24820 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24821 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24822 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24823 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24824 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24825 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24826 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24827 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24828 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24829 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24830 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24831 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24832 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24833 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24834 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24835 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24836 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24837 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24838 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24839 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24840 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24841 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24842 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24843 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24844 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24845 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24846 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24847 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24848 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24849 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24850 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24851 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24852 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24853 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24854 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24855 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24856 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24857 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24858 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24859 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24860 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24861 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24862 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24863 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24864 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24865 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24866 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24867 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24868 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24869 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24870 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24871 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24872 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24873 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24874 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24875 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24876 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24877 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24878 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24879 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24880 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24881 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24882 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24883 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24884 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24885 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24886 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24887 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24888 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24889 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24890 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24891 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24892 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24894 (FLT_ROUNDS): Expect as macro, not constant.
24895 (FLT_MANT_DIG): Use macro-int-constant.
24896 (DBL_MANT_DIG): Likewise.
24897 (LDBL_MANT_DIG): Likewise.
24898 (FLT_DIG): Likewise.
24899 (DBL_DIG): Likewise.
24900 (LDBL_DIG): Likewise.
24901 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
24902 (DBL_MIN_EXP): Likewise.
24903 (LDBL_MIN_EXP): Likewise.
24904 (FLT_MAX_EXP): Use macro-int-constant.
24905 (DBL_MAX_EXP): Likewise.
24906 (LDBL_MAX_EXP): Likewise.
24907 (FLT_MAX_10_EXP): Likewise.
24908 (DBL_MAX_10_EXP): Likewise.
24909 (LDBL_MAX_10_EXP): Likewise.
24910 (FLT_MAX): Use macro-constant.
24911 (DBL_MAX): Likewise.
24912 (LDBL_MAX): Likewise.
24913 (FLT_EPSILON): Use macro-constant. Give upper bound.
24914 (DBL_EPSILON): Likewise.
24915 (LDBL_EPSILON): Likewise.
24916 (FLT_MIN): Likewise.
24917 (DBL_MIN): Likewise.
24918 (LDBL_MIN): Likewise.
24919 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24920 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24921 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24922 [ISO11] (FLT_HAS_SUBNORM): Likewise.
24923 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24924 [ISO11] (DBL_DECIMAL_DIG): Likewise.
24925 [ISO11] (FLT_DECIMAL_DIG): Likewise.
24926 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24927 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24928 [ISO11] (FLT_TRUE_MIN): Likewise.
24929 [ISO11] (LDBL_TRUE_MIN): Likewise.
24930 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24931 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24932 (SCHAR_MIN): Use macro-int-constant. Specify type.
24933 (SCHAR_MAX): Likewise.
24934 (UCHAR_MAX): Likewise.
24935 (CHAR_MIN): Likewise.
24936 (CHAR_MAX): Likewise.
24937 (MB_LEN_MAX): Use macro-int-constant.
24938 (SHRT_MIN): Use macro-int-constant. Specify type.
24939 (SHRT_MAX): Likewise.
24940 (USHRT_MAX): Likewise.
24941 (INT_MAX): Likewise.
24942 (INT_MIN): Use macro-int-constant. Specify type. Make upper
24944 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
24946 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24948 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
24949 bound negative. Suffix upper bound with "L".
24950 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
24952 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24954 [C99-based standards] (LLONG_MAX): Likewise.
24955 [C99-based standards] (ULLONG_MAX): Likewise.
24956 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
24958 [ISO11] (max_align_t): Require type.
24959 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24961 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24962 from $CFLAGS, without defining away __attribute__ calls.
24963 (checknamespace): Use $CFLAGS_namespace.
24965 * conform/conformtest.pl (@keywords): Only include C99 keywords
24966 for standards based on C99 or C11.
24968 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24970 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24973 * conform/conformtest.pl: Handle "macro-int-constant" and test for
24974 usability of symbols in #if.
24976 * conform/conformtest.pl: If macro or constant types start
24977 "promoted:", expect the symbol to be of the following type
24978 promoted by the integer promotions.
24980 * conform/conformtest.pl: Parse all "constant" and "macro" lines
24981 in one place. Also handle "macro-constant".
24983 * conform/conformtest.pl: Only accept expected macro values with
24984 "==". Parse all "macro" lines in one place.
24985 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24987 * conform/conformtest.pl: Handle braced types on "constant" lines
24988 instead of handling "typed-constant".
24989 * conform/data/signal.h-data: Use "constant" instead of
24992 * conform/conformtest.pl: Handle "optional-" at start of lines in
24993 one place rather than duplicating several cases. Handle each
24994 format of "macro" line with initial "optional-".
24996 * conform/conformtest.pl: Only accept expected constant or
24997 optional-constant values with "==". Parse all "constant" lines in
24998 one place. Parse all "optional-constant" lines in one place.
24999 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25000 * conform/data/fmtmsg.h-data: Likewise.
25001 * conform/data/netinet/in.h-data: Likewise.
25002 * conform/data/tar.h-data: Likewise.
25003 * conform/data/limits.h-data: Use "==" form on "constant" and
25004 "optional-constant" lines.
25006 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25007 Use -std=c99 for XOPEN2K.
25008 (@knownproblems): Remove.
25009 (newtoken): Don't check %isknown.
25011 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25012 Do not expect macro.
25013 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25014 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25015 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25016 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25017 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25018 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25019 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25020 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25021 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25022 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25023 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25024 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25025 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25026 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25027 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25028 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25029 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25030 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25031 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25032 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25033 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25034 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25035 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25036 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25037 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25038 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25039 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25040 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25041 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25042 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25043 [XPG3] (acosh): Likewise.
25044 [XPG3] (asinh): Likewise.
25045 [XPG3] (atanh): Likewise.
25046 [XPG3] (cbrt): Likewise.
25047 [XPG3] (expm1): Likewise.
25048 [XPG3] (ilogb): Likewise.
25049 [XPG3] (log1p): Likewise.
25050 [XPG3] (logb): Likewise.
25051 [XPG3] (nextafter): Likewise.
25052 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25053 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25054 [XPG3] (remainder): Likewise.
25055 [XPG3] (rint): Likewise.
25056 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25057 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25058 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25059 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25060 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25061 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25062 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25063 [UNIX98 || XOPEN2K] (scalb): Expect.
25064 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25065 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25066 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25067 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25068 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25069 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25070 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25071 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25072 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25073 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25074 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25075 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25076 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25077 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25078 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25079 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25080 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25081 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25082 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25083 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25084 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25085 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25086 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25087 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25088 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25089 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25090 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25091 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25092 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25093 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25094 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25095 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25096 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25097 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25098 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25099 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25100 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25101 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25102 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25103 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25104 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25105 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25106 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25107 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25108 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25109 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25110 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25111 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25112 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25113 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25114 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25115 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25116 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25117 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25118 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25119 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25120 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25121 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25122 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25123 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25124 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25125 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25126 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25127 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25128 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25129 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25130 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25131 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25132 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25133 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25134 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25135 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25136 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25137 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25138 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25139 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25140 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25141 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25142 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25143 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25144 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25145 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25146 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25147 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25148 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25149 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25150 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25151 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25152 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25153 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25154 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25155 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25156 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25157 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25158 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25159 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25160 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25161 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25162 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25163 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25164 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25165 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25166 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25167 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25168 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25169 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25170 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25171 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25172 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25173 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25174 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25175 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25176 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25177 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25178 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25179 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25180 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25181 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25182 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25183 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25184 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25185 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25186 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25187 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25188 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25189 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25190 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25191 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25192 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25193 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25194 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25195 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25196 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25197 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25198 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25199 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25200 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25202 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25203 _XOPEN_SOURCE_EXTENDED for XPG4.
25205 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25207 * Makeconfig (localtime): Remove variable.
25208 (inst_localtime-file): Likewise.
25210 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25231 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25235 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25236 comparisons to determine direction to adjust input.
25237 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25238 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25241 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25243 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25245 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25246 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25248 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25250 * math/libm-test.inc (nexttoward_test): Add more tests.
25252 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25255 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25256 in version GLIBC_2.1, not GLIBC_2.0.
25257 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25260 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25263 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25265 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25266 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25267 * math/libm-test.inc (acos_test): Add more tests.
25268 (asin_test): Likewise.
25269 * sysdeps/i386/fpu/libm-test-ulps: Update.
25270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25273 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25275 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25276 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25277 * math/libm-test.inc (acos_test_tonearest): New function.
25278 (acos_test_towardzero): Likewise.
25279 (acos_test_downward): Likewise.
25280 (acos_test_upward): Likewise.
25281 (asin_test_tonearest): Likewise.
25282 (asin_test_towardzero): Likewise.
25283 (asin_test_downward): Likewise.
25284 (asin_test_upward): Likewise.
25285 (main): Call the new functions.
25286 * sysdeps/i386/fpu/libm-test-ulps: Update.
25287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25291 * math/e_exp10.c: Include <float.h>.
25292 (__ieee754_exp10): Handle underflow here rather than multiplying
25293 large negative argument by M_LN10.
25294 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25296 * math/e_exp10l.c: Include <float.h>.
25297 (__ieee754_exp10l): Handle underflow here rather than multiplying
25298 large negative argument by M_LN10l.
25299 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25300 spurious overflow exception on underflow.
25302 2012-04-29 Marek Polacek <polacek@redhat.com>
25304 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25305 (__fortify_function): New macro.
25306 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25307 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25308 __extern_always_inline.
25309 * libio/bits/stdio2.h: Likewise.
25310 * libio/bits/stdio.h: Likewise.
25311 * string/string.h: Likewise.
25312 * string/bits/string3.h: Likewise.
25313 * include/stdio.h: Likewise.
25314 * stdlib/bits/stdlib.h: Likewise.
25315 * stdlib/stdlib.h: Likewise.
25316 * rt/bits/mqueue2.h: Likewise.
25317 * rt/mqueue.h: Likewise.
25318 * posix/bits/unistd.h: Likewise.
25319 * posix/unistd.h: Likewise.
25320 * io/bits/poll2.h: Likewise.
25321 * io/bits/fcntl2.h: Likewise.
25322 * io/fcntl.h: Likewise.
25323 * io/sys/poll.h: Likewise.
25324 * misc/bits/syslog.h: Likewise.
25325 * misc/bits/syslog-ldbl.h: Likewise.
25326 * misc/sys/syslog.h: Likewise.
25327 * socket/bits/socket2.h: Likewise.
25328 * socket/sys/socket.h: Likewise.
25329 * debug/tst-chk1.c: Likewise.
25330 * wcsmbs/bits/wchar2.h: Likewise.
25331 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25332 * wcsmbs/wchar.h: Likewise.
25334 2012-04-29 Andreas Jaeger <aj@suse.de>
25336 * Makerules (tests): Remove enable-check-abi protection.
25337 (check-abi-warn): Remove.
25338 (check-abi-%): Remove check-abi-warn usage.
25340 * configure.in: Remove check-abi configure option.
25341 * configure: Regenerated.
25342 * config.make.in (enable-check-abi): Remove.
25344 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25347 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25348 double functions to double *_finite functions.
25351 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25352 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25354 * stdio-common/Makefile (tests): Add tst-sprintf3.
25355 * stdio-common/tst-sprintf3.c: New file.
25357 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25358 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25360 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25362 * conform/conformtest.pl: Remove duplicate typed-constant
25365 2012-04-28 David S. Miller <davem@davemloft.net>
25367 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25368 (check-abi-%): Remove AWK script prerequisite and explicit
25370 (check-abi): Rewrite to just diff the symlist with the abilist.
25371 (config-tls, config-abi-config): Delete, no longer used.
25372 (update-abi-%): Remove AWK script and explicit abilist directory.
25373 (update-abi): Rewrite to simply compare and conditionally copy the
25374 symlist and the sysdep abilist file. Remove update-abi-config
25376 * abilist/ld.abilist: Remove.
25377 * abilist/libBrokenLocale.abilist: Remove.
25378 * abilist/libanl.abilist: Remove.
25379 * abilist/libcrypt.abilist: Remove.
25380 * abilist/libdl.abilist: Remove.
25381 * abilist/librt.abilist: Remove.
25382 * abilist/libthread_db.abilist: Remove.
25383 * abilist/libutil.abilist: Remove.
25384 * scripts/extract-abilist.awk: Remove.
25385 * scripts/merge-abilist.awk: Remove.
25386 * sysdeps/generic/libcidn.abilist: New file.
25387 * sysdeps/generic/libnss_compat.abilist: New file.
25388 * sysdeps/generic/libnss_db.abilist: New file.
25389 * sysdeps/generic/libnss_dns.abilist: New file.
25390 * sysdeps/generic/libnss_files.abilist: New file.
25391 * sysdeps/generic/libnss_hesiod.abilist: New file.
25392 * sysdeps/generic/libnss_nis.abilist: New file.
25393 * sysdeps/generic/libnss_nisplus.abilist: New file.
25394 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25395 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25396 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25398 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25399 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25400 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25401 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25402 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25403 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25404 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25405 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25406 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25408 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25409 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25410 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25411 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25413 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25414 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25415 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25416 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25417 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25418 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25420 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25421 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25422 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25424 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25527 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25528 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25529 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25531 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25532 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25533 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25534 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25535 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25536 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25537 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
25538 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
25539 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
25540 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
25541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
25542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
25544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
25548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
25550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
25552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
25554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
25556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
25562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
25566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
25567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
25569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
25573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
25575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
25577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
25579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
25581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
25587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
25592 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25594 * conform/conformtest.pl: Fix typo in handling typed-constant from
25597 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25599 * README: Cut down references to pre-2.6 Linux kernels and
25600 Linuxthreads. Update lists of configurations in libc and ports
25601 and sort alphabetically. Say "or newer" with Linux kernel version
25604 * config.h.in [IS_IN_build]: Allow compiling without optimization.
25606 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25609 * math/libm-test.inc (logb_test_downward): New test to expose
25610 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
25613 2012-04-27 Joseph Myers <joseph@codesourcery.com>
25616 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
25618 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25619 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25621 2012-04-26 Joseph Myers <joseph@codesourcery.com>
25623 * sysdeps/unix/i386/brk.S: Remove file.
25624 * sysdeps/unix/i386/dl-brk.S: Likewise.
25625 * sysdeps/unix/i386/pipe.S: Likewise.
25626 * sysdeps/unix/i386/sigreturn.S: Likewise.
25627 * sysdeps/unix/i386/syscall.S: Likewise.
25628 * sysdeps/unix/i386/vfork.S: Likewise.
25629 * sysdeps/unix/i386/wait.S: Likewise.
25631 * sysdeps/unix/common/tcsendbrk.c: Move to ...
25632 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25634 * configure.in (arm*-none*): Do not allow without
25635 --enable-hacker-mode.
25636 (netbsd*): Remove case setting base_os.
25637 (386bsd*): Likewise.
25638 (freebsd*): Likewise.
25641 (sunos*): Likewise.
25642 (ultrix*): Likewise.
25643 (newsos*): Likewise.
25644 (dynix*): Likewise.
25650 (minix*): Likewise.
25651 (irix4*): Likewise.
25652 (irix6*): Likewise.
25653 (solaris[2-9]*): Likewise.
25655 * configure: Regenerated.
25657 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25660 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25661 overflow or cancellation in calculating denominator.
25662 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25663 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25664 down expression to avoid unexpected rounding in newer GCCs.
25665 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25667 2012-04-26 David S. Miller <davem@davemloft.net>
25669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25670 long-double compat symbols.
25671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25685 2012-04-25 David S. Miller <davem@davemloft.net>
25687 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25688 HWCAP_* values only after the memory barriers have been defined.
25689 (atomic_full_barrier): Define.
25690 (atomic_read_barrier): Define.
25691 (atomic_write_barrier): Define.
25693 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25695 * shlib-versions: Add libgcc_s version information.
25696 * sysdeps/generic/libgcc_s.h: Remove.
25697 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25699 * sysdeps/gnu/unwind-resume.c: Likewise.
25700 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25702 2012-04-25 David S. Miller <davem@davemloft.net>
25704 * sysdeps/unix/sparc/brk.S: Delete.
25705 * sysdeps/unix/sparc/dl-brk.S: Delete.
25706 * sysdeps/unix/sparc/pipe.S: Delete.
25707 * sysdeps/unix/sparc/sysdep.S: Delete.
25708 * sysdeps/unix/sparc/sysdep.h: Delete.
25709 * sysdeps/unix/sparc/vfork.S: Delete.
25710 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25711 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25712 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25713 ret_ERRVAL, r0, r1, MOVE): Define.
25714 (JUMPTARGET): Remove.
25715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25716 sysdeps/unix/sparc/sysdep.h
25717 (ENTRY, END): Remove.
25718 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25720 2012-04-25 Joseph Myers <joseph@codesourcery.com>
25722 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25723 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25726 * timezone/README: Update upstream location and email address for
25728 * timezone/zdump.c: Update from tzcode 2012b.
25729 * timezone/zic.c: Likewise.
25731 * configure.in (libc_cv_as_needed): Remove test.
25732 * configure: Regenerated.
25733 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25734 conditional definition.
25735 [$(have-as-needed) != yes] (no-as-needed): Likewise.
25736 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25737 * config.make.in (have-as-needed): Remove variable.
25739 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25740 Paul Pluzhnikov <ppluzhnikov@google.com>
25742 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25745 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
25747 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25748 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25749 * sysdeps/sh/strlen.S: Likewise.
25751 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25753 * sysdeps/unix/fork.S: Remove file.
25754 * sysdeps/unix/i386/fork.S: Likewise.
25755 * sysdeps/unix/sparc/fork.S: Likewise.
25757 * sysdeps/unix/system.c: Remove file.
25758 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25760 * sysdeps/unix/getegid.S: Remove file.
25761 * sysdeps/unix/geteuid.S: Likewise.
25763 2012-04-24 Roland McGrath <roland@hack.frob.com>
25765 * scripts/check-localplt.awk: New file.
25766 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25768 * scripts/data/localplt-generic.data: Add a comment.
25770 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25771 NODE when __dir_mkfile failed.
25772 * sysdeps/mach/hurd/symlinkat.c: Likewise.
25773 Reported by Ludovic Courtès <ludo@gnu.org>.
25775 2012-04-24 Andreas Jaeger <aj@suse.de>
25777 * Makerules (common-clean): Also remove gen-as-const-headers
25780 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25782 * Makerules (native-compile): Do not change working directory for
25783 build. Use $(OUTPUT_OPTION) in command.
25784 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25786 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25789 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25790 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25791 * math/libm-test.inc (floor_test): Add more tests.
25792 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25794 2012-04-24 Joseph Myers <joseph@codesourcery.com>
25796 * sysdeps/unix/getdents.c: Remove file.
25797 * sysdeps/unix/sysv/getdents.c: Likewise.
25798 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25800 * sysdeps/unix/syscalls.list (madvise): Add syscall from
25801 sysdeps/unix/mman/syscalls.list.
25803 (mprotect): Likewise.
25805 (munmap): Likewise.
25806 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25807 * sysdeps/unix/mman/syscalls.list: Remove.
25808 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25810 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25811 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25812 * configure: Regenerated.
25813 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25814 $(libgcc_s_suffix).
25815 * config.make.in (libgcc_s_suffix): Remove variable.
25817 2012-04-23 Joseph Myers <joseph@codesourcery.com>
25819 * sysdeps/unix/sysv/gethostname.c: Move to ...
25820 * sysdeps/posix/gethostname.c: ... here.
25822 * sysdeps/unix/execve.S: Remove file.
25824 * sysdeps/unix/_exit.S: Remove file.
25826 2012-04-23 Andreas Jaeger <aj@suse.de>
25829 * manual/Makefile: Remove make dist support, there's no
25830 need for a stand-alone documentation tar ball.
25831 (TEXI2DVI): Define always, it's not in Makeconfig.
25834 (edition): Removed.
25835 (glibc-doc-$(edition).tar): Removed
25839 (ETAGS): Remove, it's in Makeconfig.
25840 (move-if-change): Remove, it's in Makeconfig.
25842 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
25845 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25846 (strtod, strtof, strtold, strtol, strtoul, strtoq)
25847 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25848 (strtod_l, strtof_l, strtold_l): Remove __wur.
25849 It is not necessarily an error to ignore strtol's return value.
25850 One can reliably look at the stored endptr to decide whether
25851 the number had valid syntax.
25853 2012-04-21 Andreas Jaeger <aj@suse.de>
25856 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25858 2012-04-21 Joseph Myers <joseph@codesourcery.com>
25860 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25861 * sysdeps/unix/sysv/Versions: Remove file.
25863 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
25866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25868 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
25871 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25872 version from __vm86.
25874 2012-04-20 Joseph Myers <joseph@codesourcery.com>
25876 * sysdeps/unix/common/lxstat.c: Remove file.
25877 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25879 * sysdeps/unix/sysv/Makefile: Remove file.
25881 * sysdeps/unix/sysv/direct.h: Remove file.
25883 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25884 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25885 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25886 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25887 * sysdeps/unix/sysv/bits/stat.h: Likewise.
25888 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25889 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25891 * sysdeps/unix/sysv/setrlimit.c: Remove file.
25893 * sysdeps/unix/xmknod.c: Remove file.
25894 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25896 * sysdeps/unix/sysv/settimeofday.c: Remove file.
25898 * sysdeps/unix/sysv/i386/time.S: Remove file.
25900 * sysdeps/unix/fxstat.c: Remove file.
25901 * sysdeps/unix/xstat.c: Likewise.
25902 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25904 * sysdeps/unix/sysv/sigaction.c: Remove file.
25906 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25907 (sysdep_headers): Remove variable.
25908 [termio.h not in sysdep_headers] (generated): Likewise.
25909 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25910 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25911 * sysdeps/unix/sysv/tcdrain.c: Likewise.
25912 * sysdeps/unix/sysv/tcflow.c: Likewise.
25913 * sysdeps/unix/sysv/tcflush.c: Likewise.
25914 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25915 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25916 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25917 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25918 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25920 * sysdeps/unix/siglist.c: Remove file.
25922 * sysdeps/unix/getppid.S: Remove file.
25924 * sysdeps/unix/mkdir.c: Remove file.
25925 * sysdeps/unix/rmdir.c: Likewise.
25927 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
25929 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25931 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25932 errlist-compat value.
25934 2012-04-18 David S. Miller <davem@davemloft.net>
25936 * sysdeps/generic/memcopy.h (reg_char): Delete.
25937 * debug/strcat_chk.c: Use char, not reg_char.
25938 * debug/strcpy_chk.c: Likewise.
25939 * debug/strncat_chk.c: Likewise.
25940 * debug/strncpy_chk.c: Likewise.
25941 * string/memchr.c: Likewise.
25942 * string/memrchr.c: Likewise.
25943 * string/rawmemchr.c: Likewise.
25944 * string/strcat.c: Likewise.
25945 * string/strchr.c: Likewise.
25946 * string/strchrnul.c: Likewise.
25947 * string/strcmp.c: Likewise.
25948 * string/strcpy.c: Likewise.
25949 * string/strncat.c: Likewise.
25950 * string/strncmp.c: Likewise.
25951 * string/strncpy.c: Likewise.
25953 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25955 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25956 __builtin_memcopy is called when src and dest ranges are known to not
25959 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25961 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25962 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25963 fwd_align_merge macro call.
25964 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25965 bwd_align_merge macro call.
25966 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25968 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
25970 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25971 bwd_align_merge macros.
25972 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25973 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25974 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25976 2012-04-18 David S. Miller <davem@davemloft.net>
25978 * sysdeps/sparc/sparc64/memcopy.h: Delete.
25980 2012-04-18 Andreas Jaeger <aj@suse.de>
25983 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25984 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25985 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25987 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25988 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25989 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25991 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25992 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25993 Adjust for changed ldbl-128 files.
25995 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25996 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25997 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25999 2012-04-17 David S. Miller <davem@davemloft.net>
26001 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26003 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26005 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26006 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26007 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26008 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26009 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26010 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26012 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26015 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26016 * math/libm-test.inc: Add ilogb errno and exception tests.
26017 * math/w_ilogb.c: New file: ilogb wrapper.
26018 * math/w_ilogbf.c: New file: ilogbf wrapper.
26019 * math/w_ilogbl.c: New file: ilogbl wrapper.
26020 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26021 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26022 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26023 exception being thrown with 0.0 as argument.
26024 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26025 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26026 exception being thrown with 0.0 as argument.
26027 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26028 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26029 exception being thrown with 0.0 as argument.
26030 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26031 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26032 exception being thrown with 0.0 as argument.
26033 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26034 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26035 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26036 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26037 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26038 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26039 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26040 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26041 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26043 2012-04-17 Petr Baudis <pasky@ucw.cz>
26045 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26048 2012-04-16 Marek Polacek <polacek@redhat.com>
26050 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26052 2012-04-16 Marek Polacek <polacek@redhat.com>
26054 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26055 operands of fdivp instruction.
26057 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26059 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26060 * elf/tst-auditmod3b.c: Likewise.
26061 * elf/tst-auditmod4b.c: Likewise.
26062 * elf/tst-auditmod5b.c: Likewise.
26063 * elf/tst-auditmod6b.c: Likewise.
26064 * elf/tst-auditmod6c.c: Likewise.
26065 * elf/tst-auditmod7b.c: Likewise.
26066 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26067 * sysdeps/x86_64/preconfigure.in: Likewise.
26068 * sysdeps/x86_64/preconfigure: Regenerated.
26070 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26072 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26075 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26078 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26080 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26083 * locale/iso-639.def: Fix gl language name. Spotted by
26086 2012-04-12 Roland McGrath <roland@hack.frob.com>
26089 * libio/libio.h (__io_write_fn): Update comment.
26091 2012-04-12 Petr Baudis <pasky@ucw.cz>
26094 * stdio.texi (Hook Functions): The user provided writer function
26095 is not allowed to return -1.
26097 2012-04-11 David S. Miller <davem@davemloft.net>
26099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26101 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26103 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26104 Add a leading slash to rtkaio.
26106 2012-04-11 Jim Meyering <meyering@redhat.com>
26109 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26110 It is not necessarily an error to ignore fwrite's return
26111 value. One can reliably use ferror to test for errors after
26114 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26116 * bits/types.h (__snseconds_t): New type.
26117 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26119 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26120 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26121 (__SNSECONDS_T_TYPE): Likewise.
26122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26123 (__SNSECONDS_T_TYPE): Likewise.
26124 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26125 (__SNSECONDS_T_TYPE): Likewise.
26127 2012-04-10 Andreas Jaeger <aj@suse.de>
26130 * manual/time.texi (Processor Time): Return type of times is
26131 elapsed real time since an arbitrary point in the past.
26132 (CPU Time): Move CLK_TCK from here...
26133 (Processor Time): ...to here. Correct description.
26134 * manual/conf.texi (Constants for Sysconf): Correct description of
26137 2012-04-10 David S. Miller <davem@davemloft.net>
26140 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26141 where the is a gap between DT_REL(A) and DT_JMPREL.
26143 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26145 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26146 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26147 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26149 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26151 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26152 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26153 (dl_main): Handle --inhibit-cache.
26154 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26156 * elf/dl-load.c (_dl_map_object): Use it.
26157 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26159 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26162 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26163 (__ieee754_powl): Saturate large exponents rather than testing for
26164 overflow of y*log2(x).
26165 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26166 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26170 * math/s_ctan.c: Include <float.h>.
26171 (__ctan): Avoid internal overflow or cancellation in calculating
26173 * math/s_ctanf.c: Likewise.
26174 * math/s_ctanl.c: Likewise.
26175 * math/s_ctanh.c: Likewise.
26176 * math/s_ctanhf.c: Likewise.
26177 * math/s_ctanhl.c: Likewise.
26178 * math/libm-test.inc (ctan_test): Add more tests.
26179 (ctanh_test): Likewise.
26180 * sysdeps/i386/fpu/libm-test-ulps: Update.
26181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26183 2012-04-09 Andreas Jaeger <aj@suse.de>
26186 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26187 is an optional BSD extension.
26190 * manual/stdio.texi (Opening Streams): Document additional fopen
26193 2012-04-09 Roland McGrath <roland@hack.frob.com>
26195 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26196 %eax without telling the compiler.
26198 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26201 * manual/install.texi: Use sourceware.org.
26203 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26206 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26207 (__ieee754_pow): Generate overflow and underflow using huge*huge
26208 and tiny*tiny rather than just returning constant infinity or zero
26209 for large exponents.
26210 * math/libm-test.inc (pow_test): Require overflow exceptions for
26211 applicable cases of large exponents.
26214 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26215 (__ieee754_pow): Use iterative multiplication algorithm only for
26216 integer exponents with absolute value below 1024. Check for odd
26217 integer exponents when using algorithm for real exponents.
26218 * math/libm-test.inc (pow_test): Add more tests.
26219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26221 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26224 * math/libm-test.inc (exp_test): Do not allow overflow exception
26227 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26230 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26231 instead of __kernel_standard_f.
26233 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26235 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26236 * sysdeps/x86_64/memset_chk.S: Likewise.
26238 2012-04-08 Andreas Jaeger <aj@suse.de>
26241 * manual/startup.texi (Environment Access): Describe return value
26242 for putenv and setenv.
26245 * manual/filesys.texi (Directory Entries): Add description for
26249 * manual/filesys.texi (Directory Entries): Clarify that it's file
26250 system not operating system in the description of DT_UNKNOWN.
26253 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26255 2012-04-08 Stephen Compall <s11@member.fsf.org>
26258 * manual/llio.texi (Opening and Closing Files): Add cross
26259 reference to explain mode argument.
26261 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26263 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26264 * sysdeps/x86_64/memset_chk.S: Likewise.
26266 2012-04-07 David S. Miller <davem@davemloft.net>
26268 * elf/elf.h (R_SPARC_WDISP10): Define.
26269 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26271 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26272 R_SPARC_SIZE64 and R_SPARC_H34.
26274 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26277 conditions and remove no longer applicable assertion.
26279 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26281 * bits/byteswap.h: Include <features.h>.
26282 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26283 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26285 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26287 * bits/byteswap.h (__bswap_16): Removed.
26288 Include <bits/byteswap-16.h> to get __bswap_16.
26289 * sysdeps/i386/bits/byteswap.h: Likewise.
26290 * sysdeps/s390/bits/byteswap.h: Likewise.
26291 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26292 * bits/byteswap-16.h: New file.
26293 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26294 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26295 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26296 * string/Makefile (headers): Add bits/byteswap-16.h.
26298 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26301 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26303 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26304 * nss/tst-nss-static.c: New.
26306 2012-04-06 Robert Millan <rmh@gnu.org>
26309 * manual/llio.texi (File Position Primitive): lseek
26310 refers to WHENCE when it really means OFFSET.
26312 2012-04-06 Andreas Jaeger <aj@suse.de>
26314 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26315 strncmp declarations.
26317 * abilist/libc.abilist: Add __poll and __ppoll.
26319 2012-04-05 David S. Miller <davem@davemloft.net>
26321 * scripts/check-local-headers.sh: Accept a host triplet in the
26322 path matched by the exclude regexp.
26324 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26326 * sysdeps/powerpc/powerpc32/dl-machine.h
26327 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26328 * sysdeps/s390/s390-32/dl-machine.h
26329 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26330 * sysdeps/sparc/sparc32/dl-machine.h
26331 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26332 * sysdeps/sparc/sparc64/dl-machine.h
26333 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26335 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26337 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26338 undefined symbol errors.
26340 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26343 2012-04-05 Michael Matz <matz@suse.de>
26346 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26348 2012-04-05 Andreas Jaeger <aj@suse.de>
26351 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26354 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26356 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26357 which ROUND is no valid rounding mode.
26359 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26361 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26363 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26365 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26367 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26368 an exception using FPU order intentionally.
26370 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26372 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26373 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26374 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26375 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26377 2012-04-05 Simon Josefsson <simon@josefsson.org>
26380 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26381 EINVAL when BUFLEN is too smal.
26383 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26386 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26387 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26389 2012-04-03 Andreas Jaeger <aj@suse.de>
26392 * manual/setjmp.texi (System V contexts): Fix sentence.
26395 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26396 New macro for this case.
26397 [!__GNUC__] (__bswap_64): New inline function for this case.
26398 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26399 * bits/byteswap.h: Likewise.
26400 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26401 ull, guard with __GLIBC_HAVE_LONG_LONG.
26403 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26404 __GLIBC_HAVE_LONG_LONG.
26406 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26407 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26409 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26412 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26413 inptr and inend, rather than using last_ch.
26415 2012-04-02 David S. Miller <davem@davemloft.net>
26417 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26418 * stdio-common/printf-parse.h (read_int): Change return type to
26419 'int', return -1 on INT_MAX overflow.
26420 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26421 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26422 overflows INT_MAX. Check for overflow of in-format-string precision
26423 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26424 SIZE_MAX not INT_MAX for integer overflow test.
26425 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26426 skip the construct in the format string but do not record anything.
26427 * stdio-common/bug22.c: Adjust to test both width/prevision
26428 INT_MAX overflow as well as total length INT_MAX overflow. Check
26429 explicitly for proper errno values.
26431 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26433 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26435 * string/test-strcmp.c [! WIDE]: Likewise.
26436 * time/tst-mktime2.c: Likewise for INT_MAX.
26437 * string/test-string.h: #include <sys/param.h> for MIN.
26439 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26440 * sysdeps/i386/init-first.c (init): Likewise.
26441 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26442 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26443 * sysdeps/sh/init-first.c (init): Likewise.
26445 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26447 * po/ru.po: Update from translation team.
26448 * po/vi.po: Likewise.
26450 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26452 * resolv/nss_dns/dns-host.c: Merge copyright years.
26454 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26456 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26457 Optimize memcpy with prefetch if
26458 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26459 src, dst pointers have unequal 16 byte alignments.
26461 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26464 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26465 from a CNAME entry and return the minimum ttl for the query.
26466 (gaih_getanswer_slice): Likewise.
26468 2012-03-30 Jeff Law <law@redhat.com>
26470 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26472 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26473 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26475 * resolv/nss_dns/dns-host.c: Update copyright year.
26477 2012-03-30 Ulrich Drepper <drepper@gmail.com>
26479 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
26480 requests to save a system call. Fix check that all bytes are sent.
26482 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26483 comments for sendmmsg.
26485 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26488 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26489 with only 1 character between 0x0041 and 0x01b0.
26490 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26491 * wcsmbs/tst-mbsnrtowcs.c: New file.
26493 2012-03-29 David S. Miller <davem@davemloft.net>
26495 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26496 small copies by hand.
26498 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26501 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26502 _nss_compat_initgroups_dyn): Fall back to malloc/free
26503 for large group memberships.
26505 2012-03-28 David S. Miller <davem@davemloft.net>
26507 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26508 that branches into memcpy.
26509 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26510 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26511 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26512 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26515 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26516 implementation too.
26517 * sysdeps/sparc/mempcpy.S: New file.
26519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26520 the IFUNC routine in the libc case.
26521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26523 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26524 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26525 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26526 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26527 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26528 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26529 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26530 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26532 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26533 loop to 256 bytes instead of 64 bytes and fix test signedness.
26535 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26536 * sysdeps/sparc/sparc32/Makefile: rather than here...
26537 * sysdeps/sparc/sparc64/Makefile: and here.
26539 2012-03-28 Ulrich Drepper <drepper@gmail.com>
26541 * malloc/mallocbug.c: Avoid warnings about unused variables.
26543 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26546 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
26547 in the right place. Discard and retry query if response is
26548 larger than input buffer size.
26550 2012-03-28 Joseph Myers <joseph@codesourcery.com>
26555 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
26556 x for large integer exponent.
26557 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26558 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
26559 sign of result as needed afterwards.
26560 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
26561 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
26562 result for underflowing pow the same as for overflow.
26563 (__kernel_standard_l): Handle powl overflow and underflow here
26564 rather than calling __kernel_standard.
26565 * math/libm-test.inc (pow_test): Add more tests.
26580 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
26581 * sysdeps/ieee754/k_standard.c: Include <float.h>.
26582 (__kernel_standard_l): New function.
26583 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
26585 * math/w_acosl.c (__acosl): Likewise.
26586 * math/w_asinl.c (__asinl): Likewise.
26587 * math/w_atan2l.c (__atan2l): Likewise.
26588 * math/w_atanhl.c (__atanhl): Likewise.
26589 * math/w_coshl.c (__coshl): Likewise.
26590 * math/w_exp10l.c (__exp10l): Likewise.
26591 * math/w_exp2l.c (__exp2l): Likewise.
26592 * math/w_fmodl.c (__fmodl): Likewise.
26593 * math/w_hypotl.c (__hypotl): Likewise.
26594 * math/w_j0l.c (__j0l, __y0l): Likewise.
26595 * math/w_j1l.c (__j1l, __y1l): Likewise.
26596 * math/w_jnl.c (__jnl, __ynl): Likewise.
26597 * math/w_lgammal.c (__lgammal): Likewise.
26598 * math/w_log10l.c (__log10l): Likewise.
26599 * math/w_log2l.c (__log2l): Likewise.
26600 * math/w_logl.c (__logl): Likewise.
26601 * math/w_powl.c (__powl): Likewise.
26602 * math/w_remainderl.c (__remainderl): Likewise.
26603 * math/w_scalbl.c (sysv_scalbl): Likewise.
26604 * math/w_sinhl.c (__sinhl): Likewise.
26605 * math/w_sqrtl.c (__sqrtl): Likewise.
26606 * math/w_tgammal.c (__tgammal): Likewise.
26607 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
26608 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
26609 * math/libm-test.inc (acos_test): Add more tests.
26610 (acosh_test): Likewise.
26611 (asin_test): Likewise.
26612 (atanh_test): Likewise.
26613 (exp_test): Likewise.
26614 (exp10_test): Likewise.
26615 (exp2_test): Likewise.
26616 (expm1_test): Likewise.
26617 (lgamma_test): Likewise.
26618 (log_test): Likewise.
26619 (log10_test): Likewise.
26620 (log1p_test): Likewise.
26621 (log2_test): Likewise.
26622 (pow_test): Do not allow some spurious overflow exceptions.
26623 (sqrt_test): Add more tests.
26624 (tgamma_test): Likewise.
26625 (y0_test): Likewise.
26626 (y1_test): Likewise.
26627 (yn_test): Likewise.
26629 2012-03-27 Anton Blanchard <anton@samba.org>
26631 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26633 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26634 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26635 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26637 2012-03-27 David S. Miller <davem@davemloft.net>
26639 * conform/Makefile: Run run-conformtest.sh using $(BASH).
26641 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26642 have-as-vis3 check.
26644 2012-03-27 Andreas Jaeger <aj@suse.de>
26646 * sysdeps/x86_64/elf/configure.in: Moved to ...
26647 * sysdeps/x86_64/configure.in: ... here.
26648 * sysdeps/x86_64/elf/start.S: Moved to ...
26649 * sysdeps/x86_64/start.S: ... here.
26650 * sysdeps/x86_64/elf/configure: Delete.
26652 * sysdeps/x86_64/configure.in: Merge contents from
26653 sysdeps/i386/configure.in (without i686 check).
26655 * sysdeps/i386/elf/Versions: Merge into ...
26656 * sysdeps/i386/Versions: ... this.
26657 * sysdeps/i386/elf/Versions: Delete file.
26658 * sysdeps/i386/elf/start.S: Moved to ...
26659 * sysdeps/i386/start.S: ...here.
26660 * sysdeps/i386/elf/configure.in: Merge into...
26661 * sysdeps/i386/configure.in: ...here.
26662 * sysdeps/i386/elf/configure.in: Delete file.
26663 * sysdeps/i386/elf/configure: Delete file.
26665 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26666 * debug/backtracesyms.c: ... here.
26667 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26668 * debug/backtracesymsfd.c: ... here.
26669 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26670 * sysdeps/generic/ifunc-sel.h: ... here.
26672 * sysdeps/unix/i386/start.c: Delete file.
26673 * sysdeps/unix/sparc/start.c: Delete file.
26674 * sysdeps/unix/start.c: Delete file.
26676 * sysdeps/sh/elf/configure.in: Moved to ...
26677 * sysdeps/sh/configure.in: ... here.
26678 * sysdeps/sh/elf/start.S: Moved to ...
26679 * sysdeps/sh/start.S: ... here.
26680 * sysdeps/sh/elf/configure: Delete file.
26682 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26683 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26684 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26685 * sysdeps/powerpc/powerpc64/entry.h: ... here.
26686 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26687 * sysdeps/powerpc/powerpc64/start.S: here.
26688 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26689 * sysdeps/powerpc/powerpc64/Makefile: ... this.
26690 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26691 * sysdeps/powerpc/powerpc64/configure.in: ... this.
26692 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26694 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26695 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26696 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26697 * sysdeps/powerpc/powerpc32/start.S: ... here.
26698 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26699 * sysdeps/powerpc/powerpc32/configure.in: ... this.
26700 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26702 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26703 * sysdeps/powerpc/ifunc-sel.h: ... here.
26704 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26705 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26707 * sysdeps/sparc/elf/configure.in: Moved to ...
26708 * sysdeps/sparc/configure.in: ... here.
26709 * sysdeps/sparc/elf/configure: Delete file.
26710 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26711 * sysdeps/sparc/sparc32/start.S: ... here.
26712 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26713 * sysdeps/sparc/sparc64/start.S: ... here.
26714 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26715 * sysdeps/sparc/sparc32/Makefile: ... this.
26716 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26717 * sysdeps/sparc/sparc64/Makefile: ... this.
26719 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26720 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26721 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26722 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26723 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26724 * sysdeps/s390/s390-32/setjmp.S: ... here.
26725 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26726 * sysdeps/s390/s390-32/configure.in: ... here.
26727 * sysdeps/s390/s390-32/elf/configure: Delete file.
26728 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26729 * sysdeps/s390/s390-32/start.S: ... here.
26731 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26732 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26733 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26734 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26735 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26736 * sysdeps/s390/s390-64/setjmp.S: ... here.
26737 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26738 * sysdeps/s390/s390-64/configure.in: ... here
26739 * sysdeps/s390/s390-64/elf/configure: Delete file.
26740 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26741 * sysdeps/s390/s390-64/start.S: ... here.
26742 * sysdeps/s390/s390-64/elf/configure: Delete.
26744 * configure.in: Remove support for elf directories in sysdeps.
26746 * configure: Regenerated.
26747 * sysdeps/i386/configure: Regenerated.
26748 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26749 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26750 * sysdeps/s390/s390-32/configure: Regenerated.
26751 * sysdeps/s390/s390-64/configure: Regenerated.
26752 * sysdeps/sh/configure: Regenerated.
26753 * sysdeps/sparc/configure: Regenerated.
26754 * sysdeps/x86_64/configure: Regenerated.
26756 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
26758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26760 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26761 denormal result into account.
26763 2012-03-25 Roland McGrath <roland@hack.frob.com>
26765 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26766 Reported by Allan McRae <allan@archlinux.org>.
26768 2012-03-23 Jeff Law <law@redhat.com>
26770 * nss/getnssent.c (__nss_getent): Fix typo.
26772 2012-03-23 David S. Miller <davem@davemloft.net>
26774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26776 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
26778 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26779 to pad to uint64_t for each field.
26780 (dl_tls_index): Replace unsigned long with uint64_t.
26782 2012-03-23 Daniel Jacobowitz <dmj@google.com>
26783 Paul Pluzhnikov <ppluzhnikov@google.com>
26786 * grp/Makefile (otherlibs): Don't set it.
26787 * inet/Makefile (otherlibs): Likewise.
26788 * login/Makefile (otherlibs): Likewise.
26789 * nscd/Makefile (otherlibs): Likewise.
26790 * posix/Makefile (otherlibs): Likewise.
26791 * pwd/Makefile (otherlibs): Likewise.
26792 * rt/Makefile (otherlibs): Likewise.
26793 * sunrpc/Makefile (otherlibs): Likewise.
26794 * nss/Makefile (otherlibs): Likewise.
26795 Add libnss_files to routines and static-only-routines.
26796 ($(objpfx)getent): Remove rule.
26797 * resolv/Makefile: Add libnss_dns and libresolv to routines and
26798 static-only-routines.
26800 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26803 * math/s_cexp.c: Include <float.h>.
26804 (__cexp): Handle exp result overflowing not necessarily
26805 overflowing both real and imaginary parts of result.
26806 * math/s_cexpf.c: Likewise.
26807 * math/s_cexpl.c: Likewise.
26808 * math/libm-test.inc (cexp_test): Add more tests.
26809 * sysdeps/i386/fpu/libm-test-ulps: Update.
26810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26812 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26814 * include/link.h (ELFW): New macro.
26815 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26816 Replace ELF64_R_TYPE with ELFW(R_TYPE).
26818 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26820 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26823 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26825 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26827 (struct La_x32_retval): Likewise.
26829 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
26831 * sysdeps/x86_64/preconfigure.in: New file.
26832 * sysdeps/x86_64/preconfigure: New generated file.
26834 2012-03-22 Joseph Myers <joseph@codesourcery.com>
26837 * math/e_exp2l.c: Include <float.h>.
26838 (__ieee754_exp2l): Handle overflow and underflow cases
26839 separately. Only pass fractional part of argument to
26841 * math/libm-test.inc (exp2_test): Add more tests.
26843 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26844 negating x to take absolute value.
26845 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26847 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26848 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26850 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26851 computing low part if x was negated.
26852 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26854 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26856 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26857 la_x32_gnu_pltexit.
26858 (pltexit): Cast int_retval to ptrdiff_t.
26859 * elf/tst-auditmod3b.c: Likewise.
26860 * elf/tst-auditmod4b.c: Likewise.
26861 * elf/tst-auditmod5b.c: Likewise.
26862 * elf/tst-auditmod6b.c: Likewise.
26863 * elf/tst-auditmod6c.c: Likewise.
26864 * elf/tst-auditmod7b.c: Likewise.
26866 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26867 and x32_gnu_pltexit.
26869 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26870 __ELF_NATIVE_CLASS.
26871 (La_x32_regs): New macro.
26872 (La_x32_retval): Likewise.
26873 (la_x32_gnu_pltenter): New function prototype.
26874 (la_x32_gnu_pltexit): Likewise.
26876 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
26878 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26883 * configure.in (libc_cv_cc_nofma): Check for option to disable
26884 generation of FMA instructions.
26885 * configure: Regenerate.
26886 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26887 * sysdeps/ieee754/dbl-64/Makefile: New file.
26888 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26889 Remove brandred-fma4.
26890 (CFLAGS-brandred-fma4.c): Remove.
26891 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26892 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26894 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26897 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26899 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26900 LLONG_MAX != LONG_MAX.
26901 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26902 (_fitoa_word): Likewise.
26903 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26904 LLONG_MAX != LONG_MAX.
26905 * stdio-common/_itowa.h: Include <_itoa.h>.
26906 (_itowa_word): Use _ITOA_WORD_TYPE on value.
26907 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
26908 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
26909 only if not defined.
26910 (_ITOA_WORD_TYPE): Likewise.
26911 (_itoa_word): Use _ITOA_WORD_TYPE on value.
26912 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26914 2012-03-21 David S. Miller <davem@davemloft.net>
26916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26918 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
26920 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26921 of x86_64 when setting libc_cv_slibdir, libdir and
26923 * sysdeps/unix/sysv/linux/configure: Regenerated.
26925 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26927 * manual/lang.texi (Old Varargs): Remove section.
26928 (How Variadic): Update menu.
26929 (va_start): Do not mention varargs.h.
26931 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26932 Joseph Myers <joseph@codesourcery.com>
26934 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26936 * configure: Regenerated.
26938 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
26940 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26941 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26944 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26947 * Makefile (files-for-dist): Remove NOTES.
26948 (NOTES): Remove rule.
26949 * README: Don't refer to NOTES.
26950 * manual/creature.texi: Don't include macros.texi.
26951 * manual/intro.texi (creature.texi): Remove comment referring to
26954 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26955 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26956 * configure: Regenerated.
26957 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26958 LIBC_TRY_CC_OPTION.
26959 (libc_cv_as_i686): Likewise.
26960 (libc_cv_cc_avx): Likewise.
26961 (libc_cv_cc_sse2avx): Likewise.
26962 (libc_cv_cc_fma4): Likewise.
26963 (libc_cv_cc_novzeroupper): Likewise.
26964 * sysdeps/i386/configure: Regenerated.
26967 * sysdeps/i386/fpu/s_cexp.S: Remove.
26968 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26969 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26970 * math/libm-test.inc (cexp_test): Add more tests.
26971 * sysdeps/i386/fpu/libm-test-ulps: Update.
26972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26974 2012-03-21 Allan McRae <allan@archlinux.org>
26976 * timezone/Makefile: Do not install iso3166.tab and zone.tab
26978 2012-03-21 Joseph Myers <joseph@codesourcery.com>
26981 * math/w_exp2.c: Do not include <float.h>.
26982 (o_threshold, u_threshold): Remove.
26983 (__exp2): Calculate result before checking finiteness and calling
26985 * math/w_exp2f.c: Likewise.
26986 * math/w_exp2l.c: Likewise.
26987 * math/libm-test.inc (exp2_test): Require overflow exception for
26991 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26992 range of signed 64-bit integers before using fistpll. Remove
26993 checks for whether integers fit in mantissa bits.
26994 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26995 the range of signed 32-bit integers before using fistpl. Remove
26996 checks for whether integers fit in mantissa bits.
26997 * sysdeps/i386/fpu/e_powl.S (p64): New object.
26998 (__ieee754_powl): Test for y outside the range of signed 64-bit
26999 integers before using fistpll. Reduce 64-bit values to 63-bit
27001 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27002 divide-by-zero is raised for zero to large negative powers.
27003 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27004 (__ieee754_powl): Test for y outside the range of signed 64-bit
27005 integers before using fistpll. Reduce 64-bit values to 63-bit
27007 * math/libm-test.inc (pow_test): Add more tests.
27009 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27011 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27012 <stdio-common/_itoa.h>.
27013 * debug/segfault.c: Likewise.
27014 * elf/dl-cache.c: Likewise.
27015 * elf/dl-minimal.c: Likewise.
27016 * elf/dl-misc.c: Likewise.
27017 * elf/dl-sysdep.c: Likewise.
27018 * elf/dl-version.c: Likewise.
27019 * elf/rtld.c: Likewise.
27020 * hurd/hurdsock.c: Likewise.
27021 * hurd/lookup-retry.c: Likewise.
27022 * malloc/malloc.c: Likewise.
27023 * malloc/mtrace.c: Likewise.
27024 * nscd/nscd_getgr_r.c: Likewise.
27025 * nscd/nscd_getpw_r.c: Likewise.
27026 * nscd/nscd_getserv_r.c: Likewise.
27027 * posix/getopt_init.c: Likewise.
27028 * posix/wordexp.c: Likewise.
27029 * stdio-common/_itoa.c: Likewise.
27030 * stdio-common/printf_fphex.c: Likewise.
27031 * stdio-common/vfprintf.c: Likewise.
27032 * string/_strerror.c: Likewise.
27033 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27034 * sysdeps/i386/i686/hp-timing.h: Likewise.
27035 * sysdeps/mach/_strerror.c: Likewise.
27036 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27037 * sysdeps/mach/hurd/sethostid.c: Likewise.
27038 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27039 * sysdeps/mach/xpg-strerror.c: Likewise.
27040 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27041 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27042 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27043 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27044 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27045 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27046 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27047 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27048 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27049 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27050 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27051 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27052 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27053 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27054 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27055 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27056 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27057 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27058 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27059 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27060 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27062 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27064 * stdio-common/_itoa.h: Moved to ...
27065 * sysdeps/generic/_itoa.h: Here.
27067 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27069 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27070 instead of "_itoa.h" and "_itowa.h".
27071 * stdio-common/vfprintf.: Likewise.
27073 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27075 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27077 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27078 (__signbit): Likwise.
27079 (llrintf): Likwise.
27082 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27084 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27087 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27089 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27090 OVERFLOW_EXCEPTION_OK.
27091 * math/libm-test.inc ("Philosophy"): Update comment about
27093 (OVERFLOW_EXCEPTION): Define.
27094 (OVERFLOW_EXCEPTION_OK): Likewise.
27095 (INVALID_EXCEPTION_OK): Renumber.
27096 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27097 (IGNORE_ZERO_INF_SIGN): Likewise.
27098 (test_exceptions): Handle FE_OVERFLOW.
27099 (exp10_test): Expect overflow exceptions.
27100 (exp2_test): Likewise.
27101 (expm1_test): Likewise.
27102 (nextafter_test): Likewise.
27103 (pow_test): Likewise.
27104 (scalbn_test): Likewise.
27105 (scalbln_test): Likewise.
27107 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27109 * sysdeps/x86_64/bits/atomic.h
27110 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27112 (atomic_exchange_acq): Likewise.
27113 (__arch_exchange_and_add_body): Likewise.
27114 (__arch_add_body): Likewise.
27115 (atomic_add_negative): Likewise.
27116 (atomic_add_zero): Likewise.
27118 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27120 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27121 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27123 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27125 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27126 Check __x86_64__ instead of __WORDSIZE.
27128 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27130 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27132 2012-03-19 David S. Miller <davem@davemloft.net>
27134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27136 * sysdeps/sparc/fpu/fenv_private.h: New file.
27137 * sysdeps/sparc/fpu/math_private.h: Use it.
27138 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27140 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27141 (libc_feholdexcept_setroundl): Remove.
27142 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27144 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27145 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27147 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27149 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27150 int64_t instead of long int.
27151 (INSERT_WORDS64): Likwise.
27153 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27155 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27156 _Unwind_GetCFA return to _Unwind_Ptr first.
27158 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27161 * math/s_clog.c: Include <float.h>.
27162 (__clog): Scale large or subnormal inputs.
27163 * math/s_clogf.c: Likewise.
27164 * math/s_clogl.c: Likewise.
27165 * math/s_clog10.c: Include <float.h>.
27166 (M_LOG10_2): Define.
27167 (__clog10): Scale large or subnormal inputs.
27168 * math/s_clog10f.c: Likewise.
27169 * math/s_clog10l.c: Likewise.
27170 * math/libm-test.inc (clog_test): Add more tests.
27171 (clog10_test): Likewise.
27172 * sysdeps/i386/fpu/libm-test-ulps: Update.
27173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27176 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27178 * math/libm-test.inc (atan2_test): Add another test.
27180 * Makerules (common-objdir-compile): Remove.
27181 * sysdeps/unix/Makefile (config-generated): Do not add
27182 $(unix-generated) to variable.
27183 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27184 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27186 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27188 [generic bits/local_lim.h] (before-compile): Do not append to
27190 [generic bits/local_lim.h] (common-generated): Likewise.
27191 [generic sys/param.h] (before-compile): Do not append to variable.
27192 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27193 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27194 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27195 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27197 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27198 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27199 [generic sys/param.h] ($(addprefix
27200 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27201 [generic sys/param.h] (common-generated): Do not append to
27203 [generic sys/param.h] (sysdep_headers): Likewise.
27204 [generic bits/errno.h] (before-compile): Do not append to
27206 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27208 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27209 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27210 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27211 [generic bits/errno.h] (common-generated): Do not append to
27213 [generic bits/ioctls.h] (before-compile): Do not append to
27215 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27217 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27218 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27219 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27221 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27222 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27223 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27224 [generic bits/ioctls.h] (common-generated): Do not append to
27226 [generic sys/syscall.h] (syscall.h): Remove variable.
27227 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27229 [generic sys/syscall.h] (before-compile): Do not append to
27231 [generic sys/syscall.h] (common-generated): Likewise.
27232 * sysdeps/unix/errnos-tmpl.c: Remove file.
27233 * sysdeps/unix/errnos.awk: Likewise.
27234 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27235 * sysdeps/unix/ioctls.awk: Likewise.
27236 * sysdeps/unix/mk-local_lim.c: Likewise.
27237 * sysdeps/unix/snarf-ioctls: Likewise.
27239 2012-03-19 Richard Henderson <rth@twiddle.net>
27241 * sysdeps/i386/fpu/fenv_private.h: New file.
27242 * sysdeps/i386/fpu/math_private.h: Use it.
27243 (math_opt_barrier, math_force_eval): Remove.
27244 (libc_feholdexcept_setround_53bit): Remove.
27245 (libc_feupdateenv_53bit): Remove.
27246 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27247 (math_opt_barrier, math_force_eval): Remove.
27248 (libc_feholdexcept): Remove.
27249 (libc_feholdexcept_setround): Remove.
27250 (libc_fetestexcept, libc_fesetenv): Remove.
27251 (libc_feupdateenv_test): Remove.
27252 (libc_feupdateenv, libc_feholdsetround): Remove.
27253 (libc_feresetround): Remove.
27255 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27256 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27258 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27259 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27260 (libc_feupdateenv_testl): New.
27261 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27262 (libc_feupdateenv_testf): New.
27263 (libc_feupdateenv): Use libc_feupdateenv_test.
27264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27265 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27267 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27268 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27269 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27270 (libc_feresetround_noex): New.
27271 (libc_feresetround_noexf): New.
27272 (libc_feresetround_noexl): New.
27273 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27274 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27275 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27276 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27278 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27279 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27281 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27282 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27283 SET_RESTORE_ROUND_NOEX.
27284 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27285 SET_RESTORE_ROUND_NOEXF.
27286 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27287 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27288 (libc_feholdsetroundf): New.
27289 (libc_feresetround, libc_feresetroundf): New.
27291 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27292 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27293 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27295 * sysdeps/generic/math_private.h: Include <fenv.h>.
27296 (default_libc_feholdexcept): New.
27297 (default_libc_feholdexcept_setround): New.
27298 (default_libc_fesetenv, default_libc_feupdateenv): New.
27299 (libc_feholdexcept): Only define if undefined.
27300 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27301 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27302 (libc_feholdexcept_setroundl): Likewise.
27303 (libc_feholdexcept_setround_53bit): Likewise.
27304 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27305 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27306 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27307 (libc_feupdateenv_53bit): Likewise.
27308 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27309 (libc_feholdexcept): Convert from macro to inline function.
27310 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27311 (libc_fesetenv, libc_feupdateenv): Likewise.
27313 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27314 not previously defined.
27315 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27316 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27317 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27318 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27319 * sysdeps/ieee754/flt-32/math_private.h: New file.
27320 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27321 math_private.h below SET_FLOAT_WORD.
27322 (__isnan, __isinf_ns, __finite): Remove.
27323 (__isnanf, __isinf_nsf, __finitef): Remove.
27325 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27329 2012-03-17 David S. Miller <davem@davemloft.net>
27332 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27335 2012-03-16 David S. Miller <davem@davemloft.net>
27337 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27341 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27343 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27344 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27345 sysdep_routines when subdir is sysvipc.
27346 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27347 __getshmlba helper.
27349 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27351 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27353 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27356 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27358 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27359 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27360 (__lround): Renamed to ...
27361 (__llround): This. Replace long int with long long int.
27362 Define lround functions as aliases of llround functions.
27363 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27365 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27367 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27368 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27369 adresses to uintptr_t. Replace "long int" and "unsigned long
27370 int" with "greg_t" on va_arg.
27372 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27374 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27375 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27377 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27378 Move e_machine check before EI_CLASS check. Handle x32
27379 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27380 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27381 SKIP_EM_IA_64 and include
27382 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27384 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27385 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27386 (add_system_dir): New macro.
27388 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27389 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27391 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27402 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27404 * math/w_j0f.c (j0f): Likewise.
27406 * math/w_j0l.c (__j0l): Likewise.
27408 * math/w_j1.c (j1): Likewise.
27410 * math/w_j1f.c (j1f): Likewise.
27412 * math/w_j1l.c (__j1l): Likewise.
27414 * math/w_jn.c (jn): Likewise.
27416 * math/w_jnf.c (jnf): Likewise.
27418 * math/w_jnl.c (__jnl): Likewise.
27420 * math/libm-test.inc (j0_test): Add more tests.
27421 (j1_test): Likewise.
27422 (jn_test): Likewise. Add trailing semicolon to existing test.
27423 (y0_test): Likewise.
27424 (y1_test): Likewise.
27425 * sysdeps/i386/fpu/libm-test-ulps: Update.
27426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27430 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27431 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27432 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27433 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27434 (__tanl): Set errno for infinite argument.
27435 * sysdeps/i386/fpu/mptan.c: Remove.
27436 * sysdeps/i386/fpu/s_tan.S: Likewise.
27437 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27438 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27439 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27440 * math/libm-test.inc (tan_test): Add more tests and enable more
27441 tests for double and long double.
27442 * sysdeps/i386/fpu/libm-test-ulps: Update.
27443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27445 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27447 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27448 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27450 2012-03-16 Roland McGrath <roland@hack.frob.com>
27452 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27453 * configure.in: Use it for both main tree and add-ons.
27454 * configure: Regenerated.
27456 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27458 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27460 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27462 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27466 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27467 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27469 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27470 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27472 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27473 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27474 != 0 for prec == 2.
27475 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27476 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27477 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27478 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27479 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27480 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27481 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27482 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27483 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27484 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27485 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27486 * math/libm-test.inc (cos_test): Add more tests and enable more
27487 tests for long double.
27488 (sin_test): Likewise.
27489 (sincos_test): Likewise.
27490 * sysdeps/i386/fpu/libm-test-ulps: Update.
27491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27493 2012-03-16 David S. Miller <davem@davemloft.net>
27495 * sysdeps/sparc/fpu/math_private.h: New file.
27497 2012-03-15 David S. Miller <davem@davemloft.net>
27499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
27502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27509 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27513 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27514 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27516 * sysdeps/sparc/sparc-ifunc.h: New file.
27517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
27533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
27539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
27540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
27541 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27542 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
27544 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
27545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
27548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
27549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27550 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
27551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
27552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
27553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
27554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
27555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
27556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
27557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
27558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
27559 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
27560 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
27562 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27564 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
27566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27568 2012-03-15 Andreas Jaeger <aj@suse.de>
27571 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
27572 ieee754/flt-32 implementation for sin, cos and sincos.
27573 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
27574 * sysdeps/i386/fpu/s_cosf.S: Likewise.
27575 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
27576 * sysdeps/i386/fpu/s_sinf.S: Likewise.
27577 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
27578 ieee754/flt-32 implementation for tan.
27580 * math/libm-test.inc (cos_test): Enable some large input tests for
27582 (sin_test): Likewise.
27583 (sincos_test): Likewise.
27584 (tan_test): Add tests for large input.
27586 * sysdeps/i386/fpu/libm-test-ulps: Update.
27588 2012-03-15 Andreas Jaeger <aj@suse.de>
27591 * math/libm-test.inc (cos_test): Add more test cases.
27592 (sin_test): Likewise.
27593 (sincos_test): Likewise.
27595 2012-03-15 Andreas Jaeger <aj@suse.de>
27598 * math/libm-test.inc (cos_test): Add a test case for large input
27600 (sin_test): Likewise.
27601 (sincos_test): Likewise.
27603 2012-03-15 Andreas Jaeger <aj@suse.de>,
27604 Joseph Myers <joseph@codesourcery.com>
27607 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
27608 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
27609 * sysdeps/i386/fpu/branred.c: Likewise.
27610 * sysdeps/i386/fpu/dosincos.c: Likewise.
27611 * sysdeps/i386/fpu/mpa.c: Likewise.
27612 * sysdeps/i386/fpu/s_cos.S: Likewise.
27613 * sysdeps/i386/fpu/s_sin.S: Likewise.
27614 * sysdeps/i386/fpu/s_sincos.S: Likewise.
27615 * sysdeps/i386/fpu/sincos32.c: Likewise.
27617 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
27619 (libc_feupdateenv_53bit): Define.
27620 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27622 (libc_feupdateenv_53bit): Define.
27624 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27625 53 bit (without extend i386 double precision).
27627 * math/libm-test.inc (sincos_test): Add tests for large input.
27631 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27633 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
27635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27637 2012-03-15 David S. Miller <davem@davemloft.net>
27639 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27640 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27641 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27642 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27666 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27667 fmin/fmax sysdep routines.
27668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27670 2012-03-14 David S. Miller <davem@davemloft.net>
27672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27673 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27675 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27676 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27677 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27678 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27680 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27695 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27696 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27697 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27698 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27699 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27744 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27749 * sysdeps/sparc/configure.in: New file.
27750 * sysdeps/sparc/configure: Generate.
27751 * configure.in (libc_cv_sparc_as_vis3): Substitute.
27752 * configure: Regenerate.
27753 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27754 * config.make.in (have-as-vis3): New.
27755 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27756 available use -Av9d instead of -Av9a.
27757 * sysdeps/sparc/sparc64/Makefile: Likewise.
27758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27768 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27769 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27770 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27771 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27773 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27774 fzeros/fnegs to load 0x80000000 into a float register instead of
27776 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27778 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27782 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27783 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27784 ($(inst_includedir)/bits/syscall.h): Remove rule.
27785 ($(objpfx)bits/syscall.d): Include instead of
27786 $(objpfx)syscall-list.d.
27787 (generated): Change syscall-list.h and syscall-list.d to
27788 bits/syscall.h and bits/syscall.d.
27790 2012-03-14 Roland McGrath <roland@hack.frob.com>
27793 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27795 2012-03-14 Joseph Myers <joseph@codesourcery.com>
27798 * math/s_csqrt.c: Include <float.h>.
27799 (__csqrt): Scale large or subnormal inputs.
27800 * math/s_csqrtf.c: Likewise.
27801 * math/s_csqrtl.c: Likewise.
27802 * math/libm-test.inc (csqrt_test): Add more tests.
27803 * sysdeps/i386/fpu/libm-test-ulps: Update.
27804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27807 * math/libm-test.inc (hypot_test): Add more tests.
27809 2012-03-13 David S. Miller <davem@davemloft.net>
27812 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27813 double-precision for the calculation instead of scaling.
27815 2012-03-13 Joseph Myers <joseph@codesourcery.com>
27817 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27818 manipulate bits before adding and subtracting TWO52[sx].
27819 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27820 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27822 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27824 2012-03-13 David S. Miller <davem@davemloft.net>
27826 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27827 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27829 rtld-global-offsets.h
27830 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27832 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27835 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27837 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27838 'err' in the ifdef scope in which it is actually used.
27840 * nss/nss_db/db-init.c: Include string.h
27842 2012-03-12 David S. Miller <davem@davemloft.net>
27844 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27845 masking out of the most significant byte of random value used.
27846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27847 Fix coding style in previous change.
27849 * sysdeps/unix/sysv/linux/kernel-features.h
27850 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27851 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27853 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27856 2012-03-11 David S. Miller <davem@davemloft.net>
27858 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27859 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27860 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27861 for 'resultvar' otherwise things get truncated on 64-bit.
27863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27864 Fix masking out of the most significant byte of random value used.
27866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27868 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
27870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27872 2012-03-09 David S. Miller <davem@davemloft.net>
27874 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27875 variables with appropriate CPP guards.
27876 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27877 frame pointer, not the stack pointer. Correct layout comments. Fix test
27878 on resulting framesize and the management of the outregs buffer for pltexit.
27879 Preserve floating point return values across _dl_call_pltexit call.
27880 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27881 framesize and the management of the outregs buffer for pltexit.
27882 Preserve floating point return values across _dl_call_pltexit
27884 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27885 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27886 (print_exit): Fix format string for return register value.
27888 2012-03-10 Joseph Myers <joseph@codesourcery.com>
27890 * sunrpc/Makefile (others): Add rpcgen.
27891 ($(objpfx)rpcgen): Remove special build rule and dependency on
27893 * sunrpc/rpcgen.c: New file.
27895 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
27898 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27899 * stdio-common/bug-vfprintf-nargs.c: Likewise.
27900 * sysdeps/i386/crti.S: Likewise.
27901 * sysdeps/i386/crtn.S: Likewise.
27902 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27903 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27904 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27905 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27906 * sysdeps/sh/crti.S: Likewise.
27907 * sysdeps/sh/crtn.S: Likewise.
27908 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27911 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27913 * locale/programs/locfile-kw.gperf: Likewise.
27914 * locale/programs/charmap-kw.h: Regenerated.
27915 * locale/programs/locfile-kw.h: Likewise.
27918 * intl/plural.y: Replace FSF snail mail address with URL.
27919 * intl/plural.c: Regenerated.
27921 2012-03-09 Richard Henderson <rth@twiddle.net>
27923 * include/math_private.h: Remove file.
27924 * math/math_private.h: Move file ...
27925 * sysdeps/generic/math_private.h: ... here.
27927 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27928 * sysdeps/powerpc/fpu/math_private.h: Likewise.
27929 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27931 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27932 and <math_private.h>.
27933 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27934 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27935 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27936 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27937 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27938 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27939 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27941 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27942 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27944 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27945 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27946 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27947 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27948 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27949 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27950 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27952 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27953 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27954 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27955 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27957 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27958 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27959 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27960 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27962 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27963 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27964 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27965 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27966 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27967 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27968 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27969 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27970 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27971 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27972 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27973 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27974 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27975 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27976 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27977 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27978 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27979 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27980 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27981 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27982 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27983 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27984 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27985 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27986 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27987 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27988 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27989 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27990 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27991 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27992 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27993 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27994 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27995 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27996 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27997 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27998 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27999 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28000 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28001 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28002 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28003 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28004 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28005 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28006 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28007 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28008 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28009 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28010 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28011 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28012 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28013 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28014 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28015 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28016 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28018 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28019 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28020 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28021 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28022 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28023 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28024 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28025 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28026 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28027 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28028 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28029 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28030 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28031 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28032 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28033 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28034 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28035 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28036 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28037 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28038 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28039 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28040 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28041 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28042 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28043 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28044 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28045 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28046 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28047 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28048 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28049 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28050 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28051 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28052 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28053 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28054 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28055 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28056 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28057 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28058 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28059 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28060 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28061 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28062 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28063 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28064 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28065 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28066 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28067 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28068 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28069 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28070 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28071 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28072 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28073 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28074 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28075 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28076 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28077 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28078 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28079 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28080 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28081 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28082 * sysdeps/ieee754/k_standard.c: Likewise.
28083 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28084 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28085 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28086 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28087 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28088 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28089 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28090 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28091 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28092 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28093 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28094 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28095 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28096 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28097 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28099 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28100 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28101 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28102 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28103 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28104 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28105 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28106 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28107 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28108 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28109 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28110 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28111 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28112 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28113 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28114 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28115 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28116 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28117 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28118 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28119 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28120 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28121 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28122 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28123 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28124 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28125 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28126 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28127 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28128 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28129 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28130 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28131 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28132 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28133 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28134 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28135 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28136 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28137 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28138 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28139 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28140 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28141 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28142 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28143 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28144 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28145 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28146 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28147 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28148 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28149 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28150 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28151 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28153 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28154 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28155 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28156 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28157 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28158 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28159 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28160 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28162 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28163 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28164 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28165 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28166 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28167 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28168 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28169 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28170 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28171 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28172 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28173 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28174 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28175 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28176 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28177 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28178 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28179 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28180 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28181 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28182 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28183 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28184 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28185 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28186 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28187 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28188 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28189 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28190 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28191 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28192 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28193 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28194 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28195 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28196 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28197 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28198 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28199 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28200 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28201 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28202 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28203 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28204 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28205 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28206 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28207 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28208 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28209 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28210 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28211 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28212 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28213 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28214 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28215 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28216 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28217 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28218 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28219 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28220 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28221 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28222 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28223 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28224 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28225 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28226 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28227 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28228 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28229 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28230 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28231 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28232 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28233 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28234 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28235 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28236 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28237 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28238 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28239 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28240 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28241 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28242 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28243 * sysdeps/ieee754/s_lib_version.c: Likewise.
28244 * sysdeps/ieee754/s_matherr.c: Likewise.
28245 * sysdeps/ieee754/s_signgam.c: Likewise.
28246 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28247 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28248 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28249 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28250 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28251 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28252 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28253 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28254 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28255 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28256 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28257 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28258 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28259 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28260 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28261 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28262 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28263 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28264 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28268 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28270 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28271 * sunrpc/rpc_main.c: Likewise.
28272 * sunrpc/rpc_svcout.c: Likewise.
28274 2012-03-09 David S. Miller <davem@davemloft.net>
28276 * include/math_private.h: New file.
28278 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28280 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28281 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28282 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28283 from <bits/socket_type.h>.
28284 (enum __socket_type): Don't define here.
28285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28287 bits/socket_type.h.
28290 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28291 checking __USE_GNU.
28293 * Makerules ($(inst_includedir)/%.h): New rule.
28294 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28295 (install-others): Remove variable setting.
28296 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28298 2012-03-08 Richard Henderson <rth@twiddle.net>
28300 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28301 from macro to inline function; merge with the
28302 !__LIBC_INTERNAL_MATH_INLINES version.
28303 (__ieee754_sqrtf): Likewise.
28305 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28306 to inline function.
28307 (__rintf, __floor, __floorf): Likewise.
28309 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28310 macro to inline function.
28311 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28313 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28314 not <math/math_private.h>.
28316 2012-03-08 David S. Miller <davem@davemloft.net>
28318 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28320 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28322 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28324 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28326 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28327 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28329 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28331 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28332 be defined individually, they must be defined as a block. Define
28333 S for printing a string instead of hidint the different by using a
28334 macro for adding the 'l'.
28335 * stdio-common/tst-fphex-wide.c: Adjust.
28337 2012-03-07 Marek Polacek <polacek@redhat.com>
28339 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28341 2012-03-08 Marek Polacek <polacek@redhat.com>
28344 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28345 * stdio-common/tst-fphex.c: Define a few macros to make the
28346 test reusable. Use them.
28347 * stdio-common/tst-fphex-wide.c: New file.
28349 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28352 * manual/macros.texi (gnusystems): New macro.
28353 (nongnusystems): Likewise.
28354 (gnulinuxhurdsystems): Likewise.
28355 (gnuhurdsystems): Likewise..
28356 (gnulinuxsystems): Likewise.
28357 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28358 variants of the GNU system, not "GNU system".
28359 * manual/conf.texi: Likewise.
28360 * manual/errno.texi: Likewise. Update example of errno macro
28362 * manual/filesys.texi: Likewise.
28363 (getumask): Document as specific to GNU/Hurd.
28364 * manual/install.texi: Likewise. Reword some references to
28366 * manual/intro.texi: Likewise.
28367 * manual/io.texi: Likewise.
28368 (File Name Portability): Detail which constraints are inapplicable
28369 to all GNU systems and which are only inapplicable to GNU/Hurd.
28370 * manual/job.texi: Likewise.
28371 * manual/llio.texi: Likewise.
28372 (O_NOCTTY): Document as present on GNU/Linux.
28373 * manual/maint.texi: Likewise.
28374 * manual/memory.texi: Likewise.
28375 * manual/pattern.texi: Likewise.
28376 * manual/pipe.texi: Likewise.
28377 * manual/process.texi: Likewise.
28378 * manual/resource.texi: Likewise.
28379 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28381 * manual/setjmp.texi: Likewise.
28382 * manual/signal.texi: Likewise.
28383 * manual/startup.texi: Likewise.
28384 * manual/stdio.texi: Likewise.
28385 * manual/terminal.texi: Likewise.
28386 (ONLCR): Document as POSIX.
28387 (OXTABS): Document availability on GNU/Linux as XTABS.
28388 (ONOEOT): Document availability separately from other bits.
28389 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28390 * manual/time.texi: Likewise.
28391 * manual/users.texi: Likewise.
28392 * INSTALL: Regenerated.
28393 * sysdeps/gnu/errlist.c: Regenerated.
28395 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28396 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28397 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28399 * configure: Regenerated.
28401 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28403 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28404 default includes instead of AC_HEADER_CHECK.
28405 * sysdeps/i386/configure: Regenerated.
28408 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28409 * math/s_cacoshf.c (__cacoshf): Likewise.
28410 * math/s_cacoshl.c (__cacoshl): Likewise.
28411 * math/s_casinh.c (__casinh): Set signs of result from argument.
28412 * math/s_casinhf.c (__casinhf): Likewise.
28413 * math/s_casinhl.c (__casinhl): Likewise.
28414 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28415 (casinh_test): Add more tests.
28416 * sysdeps/i386/fpu/libm-test-ulps: Update.
28417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28419 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28421 * po/zh_TW.po: Update from translation team.
28423 * login/Makefile (distribute): Remove variable.
28424 * catgets/Makefile: Likewise.
28425 * mach/Makefile: Likewise.
28426 * malloc/Makefile: Likewise.
28427 * misc/Makefile: Likewise.
28428 * iconv/Makefile: Likewise.
28429 * nscd/Makefile: Likewise.
28430 * hurd/Makefile: Likewise.
28431 * manual/Makefile: Likewise.
28432 * locale/Makefile: Likewise.
28433 * intl/Makefile: Likewise.
28434 * conform/Makefile: Likewise.
28435 * nss/Makefile: Likewise.
28436 * time/Makefile: Likewise.
28437 * soft-fp/Makefile: Likewise.
28438 * dirent/Makefile: Likewise.
28439 * gmon/Makefile: Likewise.
28440 * po/Makefile: Likewise.
28441 * rt/Makefile: Likewise.
28442 * socket/Makefile: Likewise.
28443 * math/Makefile: Likewise.
28444 * signal/Makefile: Likewise.
28445 * debug/Makefile: Likewise.
28446 * elf/Makefile: Likewise.
28447 * timezone/Makefile: Likewise.
28448 * stdlib/Makefile: Likewise.
28449 * iconvdata/Makefile: Likewise.
28450 * sunrpc/Makefile: Likewise.
28451 * io/Makefile: Likewise.
28452 * argp/Makefile: Likewise.
28453 * inet/Makefile: Likewise.
28454 * hesiod/Makefile: Likewise.
28455 * grp/Makefile: Likewise.
28456 * csu/Makefile: Likewise.
28457 * wctype/Makefile: Likewise.
28458 * crypt/Makefile: Likewise.
28459 * libio/Makefile: Likewise.
28460 * string/Makefile: Likewise.
28461 * nis/Makefile: Likewise.
28462 * resolv/Makefile: Likewise.
28463 * stdio-common/Makefile: Likewise.
28464 * wcsmbs/Makefile: Likewise.
28465 * dlfcn/Makefile: Likewise.
28466 * posix/Makefile: Likewise.
28469 * timezone/Makefile: Don't install timezone files, just the programs
28472 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28474 * nss/databases.def: Add missing gshadow entry.
28476 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28478 2012-03-06 Marek Polacek <polacek@redhat.com>
28481 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28482 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28483 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28484 * stdio-common/tst-long-dbl-fphex.c: New file.
28486 2012-03-06 David S. Miller <davem@davemloft.net>
28488 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28489 (set_obp_int): New function.
28490 (get_obp_int): New function.
28491 (__get_clockfreq_via_dev_openprom): Likewise.
28492 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28493 Avoid unused variable warnings on 'val' and use builtin_expect.
28494 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28496 (INLINE_CLONE_SYSCALL): Likewise.
28498 2012-03-05 David S. Miller <davem@davemloft.net>
28500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28502 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28506 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28507 only for |x| >= 40.
28508 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28510 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
28512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28513 Replace gettimeofday with __vdso_gettimeofday.
28515 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28516 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28517 __vdso_clock_gettime and __vdso_getcpu.
28519 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28520 time with __vdso_time.
28522 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28524 * manual/lang.texi (size_t): Note types to which size_t may be
28525 equivalent with the GNU C Library, but do not describe when
28526 differences between them are significant.
28528 2012-03-05 Andreas Jaeger <aj@suse.de>
28530 * sysdeps/i386/fpu/libm-test-ulps: Update.
28532 2012-03-05 Joseph Myers <joseph@codesourcery.com>
28535 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28536 (__ieee754_pow): Save and restore rounding mode and use
28537 round-to-nearest for main computations.
28538 * math/libm-test.inc (pow_test_tonearest): New function.
28539 (pow_test_towardzero): Likewise.
28540 (pow_test_downward): Likewise.
28541 (pow_test_upward): Likewise.
28542 (main): Call the new functions.
28543 * sysdeps/i386/fpu/libm-test-ulps: Update.
28544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28547 * math/libm-test.inc (cosh_test_tonearest): New function.
28548 (cosh_test_towardzero): Likewise.
28549 (cosh_test_downward): Likewise.
28550 (cosh_test_upward): Likewise.
28551 (sinh_test_tonearest): Likewise.
28552 (sinh_test_towardzero): Likewise.
28553 (sinh_test_downward): Likewise.
28554 (sinh_test_upward): Likewise.
28555 (main): Call the new functions.
28556 * sysdeps/i386/fpu/libm-test-ulps: Update.
28557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28559 2012-03-05 Tom de Vries <tom@codesourcery.com>
28561 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
28562 default stack guard is set in last bytes.
28563 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
28565 2012-03-05 Kees Cook <keescook@chromium.org>
28567 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
28570 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
28571 possibly allocate from heap instead of stack.
28572 * stdio-common/bug-vfprintf-nargs.c: New file.
28573 * stdio-common/Makefile (tests): Add nargs overflow test.
28575 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
28577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28579 2012-03-03 Marek Polacek <polacek@redhat.com>
28581 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
28582 * math/math_private.h: Likewise.
28583 * stdlib/tst-strtod.c: Likewise.
28584 * sysdeps/i386/i486/bits/atomic.h: Likewise.
28585 * sysdeps/x86_64/bits/atomic.h: Likewise.
28587 2012-03-02 David S. Miller <davem@davemloft.net>
28589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
28590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
28591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
28592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
28593 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28594 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
28595 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
28596 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
28598 2012-03-02 Roland McGrath <roland@hack.frob.com>
28601 * manual/examples/README: New file, says the example source files
28602 can be used under GPL>=2.
28603 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
28604 line containing just "*/".
28605 * manual/examples/add.c: Add copyright header (GPL>=2).
28606 * manual/examples/argp-ex1.c: Likewise.
28607 * manual/examples/argp-ex2.c: Likewise.
28608 * manual/examples/argp-ex3.c: Likewise.
28609 * manual/examples/argp-ex4.c: Likewise.
28610 * manual/examples/atexit.c: Likewise.
28611 * manual/examples/db.c: Likewise.
28612 * manual/examples/dir.c: Likewise.
28613 * manual/examples/dir2.c: Likewise.
28614 * manual/examples/execinfo.c: Likewise.
28615 * manual/examples/filecli.c: Likewise.
28616 * manual/examples/filesrv.c: Likewise.
28617 * manual/examples/fmtmsgexpl.c: Likewise.
28618 * manual/examples/genpass.c: Likewise.
28619 * manual/examples/inetcli.c: Likewise.
28620 * manual/examples/inetsrv.c: Likewise.
28621 * manual/examples/isockad.c: Likewise.
28622 * manual/examples/longopt.c: Likewise.
28623 * manual/examples/memopen.c: Likewise.
28624 * manual/examples/memstrm.c: Likewise.
28625 * manual/examples/mkfsock.c: Likewise.
28626 * manual/examples/mkisock.c: Likewise.
28627 * manual/examples/mygetpass.c: Likewise.
28628 * manual/examples/pipe.c: Likewise.
28629 * manual/examples/popen.c: Likewise.
28630 * manual/examples/rprintf.c: Likewise.
28631 * manual/examples/search.c: Likewise.
28632 * manual/examples/select.c: Likewise.
28633 * manual/examples/setjmp.c: Likewise.
28634 * manual/examples/sigh1.c: Likewise.
28635 * manual/examples/sigusr.c: Likewise.
28636 * manual/examples/stpcpy.c: Likewise.
28637 * manual/examples/strdupa.c: Likewise.
28638 * manual/examples/strftim.c: Likewise.
28639 * manual/examples/strncat.c: Likewise.
28640 * manual/examples/subopt.c: Likewise.
28641 * manual/examples/swapcontext.c: Likewise.
28642 * manual/examples/termios.c: Likewise.
28643 * manual/examples/testopt.c: Likewise.
28644 * manual/examples/testpass.c: Likewise.
28645 * manual/examples/timeval_subtract.c: Likewise.
28648 * manual/time.texi (Elapsed Time): Move timeval_subtract example
28650 * manual/timeval_subtract.c.texi: ... here, new file.
28652 2012-03-02 David S. Miller <davem@davemloft.net>
28654 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28656 2012-03-02 Joseph Myers <joseph@codesourcery.com>
28659 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28660 (__sin): Save and restore rounding mode and use round-to-nearest
28661 for all computations.
28662 (__cos): Save and restore rounding mode and use round-to-nearest
28663 for all computations.
28664 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28666 (tan): Save and restore rounding mode and use round-to-nearest for
28668 * math/libm-test.inc (cos_test_tonearest): New function.
28669 (cos_test_towardzero): Likewise.
28670 (cos_test_downward): Likewise.
28671 (cos_test_upward): Likewise.
28672 (sin_test_tonearest): Likewise.
28673 (sin_test_towardzero): Likewise.
28674 (sin_test_downward): Likewise.
28675 (sin_test_upward): Likewise.
28676 (tan_test_tonearest): Likewise.
28677 (tan_test_towardzero): Likewise.
28678 (tan_test_downward): Likewise.
28679 (tan_test_upward): Likewise.
28680 (main): Call the new functions.
28681 * sysdeps/i386/fpu/libm-test-ulps: Update.
28682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28685 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28686 small n, then large n, before computing and testing k+n.
28687 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28688 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28690 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28692 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28693 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28694 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28695 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28696 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28697 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28698 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28699 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28700 * math/libm-test.inc (scalbn_test): Add more tests.
28701 (scalbln_test): Likewise.
28703 * manual/filesys.texi (mode_t): Describe constraints on size and
28704 signedness, not exact equivalence to a particular type.
28706 (ino64_t): Likewise.
28708 (nlink_t): Likewise.
28709 (blkcnt_t): Likewise.
28710 (blkcnt64_t): Likewise.
28711 * manual/llio.texi (off_t): Likewise.
28714 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28715 (__ieee754_exp): Save and restore rounding mode and use
28716 round-to-nearest for all computations.
28717 * math/libm-test.inc (exp_test_tonearest): New function.
28718 (exp_test_towardzero): Likewise.
28719 (exp_test_downward): Likewise.
28720 (exp_test_upward): Likewise.
28721 (main): Call the new functions.
28722 * sysdeps/i386/fpu/libm-test-ulps: Update.
28723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28725 2012-03-01 Chris Demetriou <cgd@google.com>
28727 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28728 have predictable order.
28730 2012-03-01 David S. Miller <davem@davemloft.net>
28732 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28734 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28735 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28736 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28737 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28739 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28740 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28741 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28743 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28744 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28745 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28746 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28747 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28751 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28752 * sysdeps/sparc/fpu/libm-test-ulps: to here.
28753 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28755 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28756 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28757 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28758 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28759 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28760 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28761 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28762 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28763 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28764 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28765 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28766 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28768 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28769 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28770 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28771 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28772 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28773 * sysdeps/sparc/elf/configure: Regenerated.
28775 2012-03-01 Joseph Myers <joseph@codesourcery.com>
28777 * configure.in (AS, LD): Require binutils 2.20 or later.
28778 * configure: Regenerated.
28779 * manual/install.texi (Tools for Compilation): Give binutils 2.20
28780 as required minimum version.
28781 * INSTALL: Regenerated.
28785 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28786 before squaring exponent.
28787 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28788 bottom long double and 27 bits of top long double before squaring
28790 * math/libm-test.inc (erfc_test): Add more tests.
28791 * sysdeps/i386/fpu/libm-test-ulps: Update.
28792 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28795 2012-03-01 Kai Tietz <ktietz@redhat.com>
28797 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28798 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28799 containing bit-fields.
28800 * soft-fp/extended.h (_FP_UNION_E): Likewise.
28801 * soft-fp/single.h (_FP_UNION_S): Likewise.
28802 * soft-fp/double.h (_FP_UNION_D): Likewise.
28804 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28807 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28808 not include ../strcmp.S.
28809 [USE_AS_STRNCASECMP_L]: Likewise.
28810 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28811 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28812 * sysdeps/i386/i686/multiarch/strncase_l-c.c
28813 (__strncasecmp_l_ia32): Define as alias to
28814 __strncasecmp_l_nonascii.
28817 * math/libm-test.inc (expm1_test): Add test for bug 5794.
28818 * sysdeps/i386/fpu/libm-test-ulps: Update.
28819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28821 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28824 2012-02-29 Jeff Law <law@redhat.com>
28826 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28827 out of bounds read.
28829 2012-02-29 Marek Polacek <polacek@redhat.com>
28832 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28833 * elf/Makefile: Add rules to run tst-unused-dep.out.
28835 2012-02-28 David S. Miller <davem@davemloft.net>
28837 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28838 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28839 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28840 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28841 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28842 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28844 2012-02-29 Joseph Myers <joseph@codesourcery.com>
28846 * math/libm-test.inc (llround_test): Move one test from
28847 lround_test. Use TEST_f_L in moved test.
28848 (lround_test): Move misplaced test to llround_test. Add testcase
28851 2012-02-28 Ulrich Drepper <drepper@gmail.com>
28853 * sysdeps/x86_64/fpu/e_expf.S: New file.
28854 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28856 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
28859 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28860 of remain_len that may cause incomplete multi-byte character and
28862 * posix/bug-regex33.c: New file.
28863 * posix/Makefile (tests): Add bug-regex33.
28865 2012-02-28 Joseph Myers <joseph@codesourcery.com>
28867 * manual/macros.texi: New file.
28868 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28869 * manual/libc.texinfo: Include macros.texi.
28870 * manual/creatute.texi: Likewise.
28871 * manual/install.texi: Likewise.
28872 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28873 @glibcadj{} in references to the GNU C Library.
28874 * manual/charset.texi: Likewise.
28875 * manual/conf.texi: Likewise.
28876 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
28877 when not using those macros.
28878 * manual/creature.texi: Likewise.
28879 * manual/crypt.texi: Likewise.
28880 * manual/errno.texi: Likewise.
28881 * manual/filesys.texi: Likewise.
28882 * manual/header.texi: Likewise.
28883 * manual/install.texi: Likewise.
28884 * manual/intro.texi: Likewise.
28885 * manual/io.texi: Likewise.
28886 * manual/job.texi: Likewise.
28887 * manual/lang.texi: Likewise.
28888 * manual/libc.texiinfo: Likewise.
28889 * manual/llio.texi: Likewise.
28890 * manual/locale.texi: Likewise.
28891 * manual/maint.texi: Likewise.
28892 * manual/math.texi: Likewise.
28893 * manual/memory.texi: Likewise.
28894 * manual/message.texi: Likewise.
28895 * manual/nss.texi: Likewise.
28896 * manual/pattern.texi: Likewise.
28897 * manual/process.texi: Likewise.
28898 * manual/resource.texi: Likewise.
28899 * manual/search.texi: Likewise.
28900 * manual/setjmp.texi: Likewise.
28901 * manual/signal.texi: Likewise.
28902 * manual/socket.texi: Likewise.
28903 * manual/startup.texi: Likewise.
28904 * manual/stdio.texi: Likewise.
28905 * manual/string.texi: Likewise.
28906 * manual/sysinfo.texi: Likewise.
28907 * manual/syslog.texi: Likewise.
28908 * manual/terminal.texi: Likewise.
28909 * manual/time.texi: Likewise.
28910 * manual/users.texi: Likewise.
28911 * INSTALL: Regenerated.
28912 * NOTES: Regenerated.
28913 * sysdeps/gnu/errlist.c: Regenerated.
28915 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
28917 * include/dirent.h: Include <dirstream.h> before
28920 2012-02-28 David S. Miller <davem@davemloft.net>
28922 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28923 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28924 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28925 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28927 2012-02-27 David S. Miller <davem@davemloft.net>
28929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28931 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28932 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28935 frame pointer instead of stack pointer relative arg slot.
28936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28937 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28938 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28940 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
28943 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28945 2012-02-27 David S. Miller <davem@davemloft.net>
28947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28951 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28952 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28953 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28954 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28956 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28958 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28959 later. Allow versions 5-9.
28960 * configure: Regenerated.
28961 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28962 required minimum version and 4.6 as recommended version. Do not
28963 mention bugs in GCC 2.7 and 2.8.
28964 * INSTALL: Regenerated.
28966 2012-02-27 David S. Miller <davem@davemloft.net>
28968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28972 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28973 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28974 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28975 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28977 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28978 manipulate bits before adding and subtracting TWO112[sx].
28979 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28981 2012-02-27 Roland McGrath <roland@hack.frob.com>
28984 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28985 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28986 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28987 being in POSIX, because they are in 1003.1-2008.
28989 * rt/tst-aio.c: Include <fcntl.h>.
28990 * rt/tst-aio7.c: Likewise.
28991 * rt/tst-aio64.c: Likewise.
28993 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28995 2012-02-27 Joseph Myers <joseph@codesourcery.com>
28997 * manual/install.texi (--with-headers): Describe headers as
28998 interface headers, not private headers.
28999 (Specific advice for GNU/Linux systems): Describe use of headers
29000 from "make headers_install", not private headers from older
29002 * INSTALL: Regenerated.
29003 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29005 * sysdeps/unix/sysv/linux/configure: Regenerated.
29007 * manual/llio.texi (fclean): Remove documentation.
29009 * manual/Makefile (libc-texi-generated): New variable. Include
29011 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29012 $(libc-texi-generated), not duplicated list of files.
29013 (version.texi, stamp-version): New rules.
29014 (realclean): Remove $(libc-texi-generated), not individual files
29015 from that list. Do not remove dir-add.texinfo.
29016 * manual/libc.texinfo: Comment out uses of edition numbers and
29017 references to printed manual. Remove last-updated dates.
29018 (EDITION): Comment out.
29020 (VERSION, UPDATED): Remove.
29021 (version.texi): Include.
29023 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29025 * sysdeps/posix/spawni.c: Include <signal.h>.
29026 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29027 * sysdeps/pthread/aio_fsync.c: Likewise.
29029 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29031 * conform/Makefile (tests): Run only when not cross-compiling and
29032 when fast-check is not defined.
29034 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29035 * conform/data/limits.h-data: Fixes for POSIX2008.
29036 * conform/run-conformtest.sh: Run all tests.
29037 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29039 * include/bits/dlfcn.h: Likewise.
29040 * include/langinfo.h: Likewise.
29041 * include/monetary.h: Likewise.
29042 * include/sys/poll.h: Likewise.
29044 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29046 * posix/spawn.h: Define __need_sigset_t.
29047 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29048 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29049 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29050 to get sigevent_t only.
29051 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29052 only for __USE_GNU.
29053 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29054 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29055 process_vm_writev only for __USE_GNU.
29056 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29058 * conform/Makefile: For now ignore errors from run-conformtest.
29059 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29060 POSIX to avoid namespace pollution. Don't prepend headers.
29061 * conform/data/aio.h-data: Fixes for POSIX testing.
29062 * conform/data/fcntl.h-data: Likewise.
29063 * conform/data/glob.h-data: Likewise.
29064 * conform/data/grp.h-data: Likewise.
29065 * conform/data/pthread.h-data: Likewise.
29066 * conform/data/pwd.h-data: Likewise.
29067 * conform/data/signal.h-data: Likewise.
29068 * conform/data/spawn.h-data: Likewise.
29069 * conform/data/stdio.h-data: Likewise.
29070 * conform/data/stdlib.h-data: Likewise.
29071 * conform/data/stropts.h-data: Likewise.
29072 * conform/data/sys/mman.h-data: Likewise.
29073 * conform/data/sys/stat.h-data: Likewise.
29074 * conform/data/sys/types.h-data: Likewise.
29075 * conform/data/sys/wait.h-data: Likewise.
29076 * conform/data/time.h-data: Likewise.
29077 * conform/data/unistd.h-data: Likewise.
29078 * conform/data/utime.h-data: Likewise.
29080 * io/sys/stat.h: fchmod was always in POSIX.
29081 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29082 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29083 * rt/aio.h: Define __need_timespec before including <time.h>.
29084 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29085 struct. Add forward declaration of pthread_attr_t and use it in
29087 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29088 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29089 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29090 always remove CLK_TCK definition.
29092 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29094 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29096 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29098 * conform/run-conformtest.sh: New file.
29099 * conform/Makefile: Run run-conformtest for tests.
29100 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29103 * conform/data/uchar.h-data: New file.
29104 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29105 * conform/data/arpa/inet.h-data: Likewise.
29106 * conform/data/assert.h-data: Likewise.
29107 * conform/data/complex.h-data: Likewise.
29108 * conform/data/cpio.h-data: Likewise.
29109 * conform/data/ctype.h-data: Likewise.
29110 * conform/data/dirent.h-data: Likewise.
29111 * conform/data/dlfcn.h-data: Likewise.
29112 * conform/data/errno.h-data: Likewise.
29113 * conform/data/fcntl.h-data: Likewise.
29114 * conform/data/float.h-data: Likewise.
29115 * conform/data/fmtmsg.h-data: Likewise.
29116 * conform/data/fnmatch.h-data: Likewise.
29117 * conform/data/ftw.h-data: Likewise.
29118 * conform/data/glob.h-data: Likewise.
29119 * conform/data/grp.h-data: Likewise.
29120 * conform/data/iconv.h-data: Likewise.
29121 * conform/data/inttypes.h-data: Likewise.
29122 * conform/data/langinfo.h-data: Likewise.
29123 * conform/data/libgen.h-data: Likewise.
29124 * conform/data/limits.h-data: Likewise.
29125 * conform/data/locale.h-data: Likewise.
29126 * conform/data/math.h-data: Likewise.
29127 * conform/data/monetary.h-data: Likewise.
29128 * conform/data/mqueue.h-data: Likewise.
29129 * conform/data/ndbm.h-data: Likewise.
29130 * conform/data/net/if.h-data: Likewise.
29131 * conform/data/netdb.h-data: Likewise.
29132 * conform/data/netinet/in.h-data: Likewise.
29133 * conform/data/nl_types.h-data: Likewise.
29134 * conform/data/poll.h-data: Likewise.
29135 * conform/data/pthread.h-data: Likewise.
29136 * conform/data/pwd.h-data: Likewise.
29137 * conform/data/regex.h-data: Likewise.
29138 * conform/data/sched.h-data: Likewise.
29139 * conform/data/search.h-data: Likewise.
29140 * conform/data/semaphore.h-data: Likewise.
29141 * conform/data/setjmp.h-data: Likewise.
29142 * conform/data/signal.h-data: Likewise.
29143 * conform/data/spawn.h-data: Likewise.
29144 * conform/data/stdarg.h-data: Likewise.
29145 * conform/data/stdio.h-data: Likewise.
29146 * conform/data/stdlib.h-data: Likewise.
29147 * conform/data/string.h-data: Likewise.
29148 * conform/data/strings.h-data: Likewise.
29149 * conform/data/stropts.h-data: Likewise.
29150 * conform/data/sys/ipc.h-data: Likewise.
29151 * conform/data/sys/mman.h-data: Likewise.
29152 * conform/data/sys/msg.h-data: Likewise.
29153 * conform/data/sys/resource.h-data: Likewise.
29154 * conform/data/sys/select.h-data: Likewise.
29155 * conform/data/sys/sem.h-data: Likewise.
29156 * conform/data/sys/shm.h-data: Likewise.
29157 * conform/data/sys/socket.h-data: Likewise.
29158 * conform/data/sys/stat.h-data: Likewise.
29159 * conform/data/sys/statvfs.h-data: Likewise.
29160 * conform/data/sys/time.h-data: Likewise.
29161 * conform/data/sys/timeb.h-data: Likewise.
29162 * conform/data/sys/times.h-data: Likewise.
29163 * conform/data/sys/types.h-data: Likewise.
29164 * conform/data/sys/uio.h-data: Likewise.
29165 * conform/data/sys/un.h-data: Likewise.
29166 * conform/data/sys/utsname.h-data: Likewise.
29167 * conform/data/sys/wait.h-data: Likewise.
29168 * conform/data/syslog.h-data: Likewise.
29169 * conform/data/tar.h-data: Likewise.
29170 * conform/data/termios.h-data: Likewise.
29171 * conform/data/utime.h-data: Likewise.
29172 * conform/data/utmpx.h-data: Likewise.
29173 * conform/data/varargs.h-data: Likewise.
29174 * conform/data/wchar.h-data: Likewise.
29175 * conform/data/wctype.h-data: Likewise.
29176 * conform/data/wordexp.h-data: Likewise.
29178 * include/stropts.h: New file.
29179 * include/uchar.h: New file.
29180 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29181 * include/assert.h: Likewise.
29182 * include/ctype.h: Likewise.
29183 * include/dirent.h: Likewise.
29184 * include/dlfcn.h: Likewise.
29185 * include/fcntl.h: Likewise.
29186 * include/fnmatch.h: Likewise.
29187 * include/glob.h: Likewise.
29188 * include/grp.h: Likewise.
29189 * include/libio.h: Likewise.
29190 * include/locale.h: Likewise.
29191 * include/math.h: Likewise.
29192 * include/net/if.h: Likewise.
29193 * include/netdb.h: Likewise.
29194 * include/netinet/in.h: Likewise.
29195 * include/pthread.h: Likewise.
29196 * include/pwd.h: Likewise.
29197 * include/regex.h: Likewise.
29198 * include/sched.h: Likewise.
29199 * include/search.h: Likewise.
29200 * include/setjmp.h: Likewise.
29201 * include/signal.h: Likewise.
29202 * include/stdio.h: Likewise.
29203 * include/stdlib.h: Likewise.
29204 * include/string.h: Likewise.
29205 * include/sys/cdefs.h: Likewise.
29206 * include/sys/mman.h: Likewise.
29207 * include/sys/msg.h: Likewise.
29208 * include/sys/resource.h: Likewise.
29209 * include/sys/select.h: Likewise.
29210 * include/sys/socket.h: Likewise.
29211 * include/sys/stat.h: Likewise.
29212 * include/sys/statvfs.h: Likewise.
29213 * include/sys/time.h: Likewise.
29214 * include/sys/times.h: Likewise.
29215 * include/sys/uio.h: Likewise.
29216 * include/sys/utsname.h: Likewise.
29217 * include/sys/wait.h: Likewise.
29218 * include/termios.h: Likewise.
29219 * include/time.h: Likewise.
29220 * include/ulimit.h: Likewise.
29221 * include/unistd.h: Likewise.
29222 * include/utime.h: Likewise.
29223 * include/wchar.h: Likewise.
29224 * include/wctype.h: Likewise.
29225 * include/wordexp.h: Likewise.
29227 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29229 * time/time.h: TIME_UTC must be a macro.
29230 Make timespec_get available for ISO C11 only as well.
29232 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29234 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29235 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29237 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29239 * configure.in: Use -o not -a in test for unsupported multi-arch.
29241 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29243 * manual/texinfo.tex: Update to version 2012-01-19.16.
29245 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29247 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29249 2012-02-24 Roland McGrath <roland@hack.frob.com>
29252 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29253 * manual/fdl-1.3.texi: New file.
29254 * manual/fdl-1.1.texi: File removed.
29257 * manual/libc.texinfo (FDL_VERSION): New @set.
29258 Use it for mention of FDL in cover text.
29259 (Documentation License): Use it in @include file name.
29261 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29262 Roland McGrath <roland@hack.frob.com>
29265 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29266 not LONG_LONG_MAX and LONG_LONG_MIN.
29267 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29268 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29270 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29272 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29276 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29277 manipulate bits before adding and subtracting TWO23[sx].
29278 * math/libm-test.inc (nearbyint_test): Add more tests.
29280 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29283 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29284 bits before adding and subtracting TWO23[sx].
29285 * math/libm-test.inc (rint_test): Add more tests.
29286 (rint_test_tonearest): Likewise.
29287 (rint_test_towardzero): Likewise.
29288 (rint_test_downward): Likewise.
29289 (rint_test_upward: Likewise.
29291 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29294 * include/stdc-predef.h: New file. Extracted from features.h.
29295 * include/features.h: Include stdc-predef.h.
29296 * Makefile (headers): Add stdc-predef.h.
29297 * CONFORMANCE (Compiler limitations): Update.
29299 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29301 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29303 2012-02-21 David S. Miller <davem@davemloft.net>
29305 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29306 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29308 2012-02-20 David S. Miller <davem@davemloft.net>
29310 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29311 using a normal save/restore sequence, rather than allocating a
29312 dummy stack frame just to store a frame pointer and restore.
29313 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29315 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29317 * manual/install.texi: Fix stray word in line-wrapped comment.
29319 2012-02-20 David S. Miller <davem@davemloft.net>
29321 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29322 both binutils and gcc support GOTDATA.
29324 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29325 "rd %pc" in the PIC register setup sequences.
29327 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29328 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29329 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29330 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29331 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29332 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29334 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29336 (SYSCALL_ERROR_HANDLER): Likewise.
29337 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29338 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29340 (SYSCALL_ERROR_HANDLER): Likewise.
29342 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29343 (HAVE_GCC_GOTDATA): New.
29344 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29345 relocation support in both binutils and gcc.
29346 * sysdeps/sparc/elf/configure: Regenerate.
29348 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29349 * sysdeps/sparc/sparc32/elf/configure: Delete.
29350 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29351 * sysdeps/sparc/sparc64/elf/configure: Delete.
29352 * sysdeps/sparc/elf/configure.in: New file.
29353 * sysdeps/sparc/elf/configure: Generate.
29355 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29356 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29357 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29358 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29359 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29361 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29363 * manual/install.texi: Do not mention specific glibc version
29365 * manual/libc.texinfo (VERSION, UPDATED): Update.
29366 (@copying): Use @copyright{} and range of years.
29368 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29371 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29372 [crti.S not in sysdirs] (generated): Do not append.
29373 [crti.S not in sysdirs] (omit-deps): Likewise.
29374 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29375 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29376 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29377 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29378 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29380 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29381 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29382 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29383 * csu/defs.awk: Remove file.
29384 * sysdeps/generic/initfini.c: Likewise.
29385 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29387 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29390 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29392 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29393 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29394 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29395 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29396 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29397 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29399 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29400 (__EPOLL_PACKED): Define to empty if not defined by
29402 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29406 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29408 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29409 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29410 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29411 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29413 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29417 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29419 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29421 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29422 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29423 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29426 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29428 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29429 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29431 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29433 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29434 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29436 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29438 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29441 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29443 * math/w_acos.c: Use non-signaling floating-point comparisons.
29444 * math/w_acosf.c: Likewise.
29445 * math/w_acosh.c: Likewise.
29446 * math/w_acoshf.c: Likewise.
29447 * math/w_acoshl.c: Likewise.
29448 * math/w_acosl.c: Likewise.
29449 * math/w_asin.c: Likewise.
29450 * math/w_asinf.c: Likewise.
29451 * math/w_asinl.c: Likewise.
29452 * math/w_atanh.c: Likewise.
29453 * math/w_atanhf.c: Likewise.
29454 * math/w_atanhl.c: Likewise.
29455 * math/w_exp2.c: Likewise.
29456 * math/w_exp2f.c: Likewise.
29457 * math/w_exp2l.c: Likewise.
29458 * math/w_j0.c: Likewise.
29459 * math/w_j0f.c: Likewise.
29460 * math/w_j0l.c: Likewise.
29461 * math/w_j1.c: Likewise.
29462 * math/w_j1f.c: Likewise.
29463 * math/w_j1l.c: Likewise.
29464 * math/w_jn.c: Likewise.
29465 * math/w_jnf.c: Likewise.
29466 * math/w_log.c: Likewise.
29467 * math/w_log10.c: Likewise.
29468 * math/w_log10f.c: Likewise.
29469 * math/w_log10l.c: Likewise.
29470 * math/w_log2.c: Likewise.
29471 * math/w_log2f.c: Likewise.
29472 * math/w_log2l.c: Likewise.
29473 * math/w_logf.c: Likewise.
29474 * math/w_logl.c: Likewise.
29475 * math/w_sqrt.c: Likewise.
29476 * math/w_sqrtf.c: Likewise.
29477 * math/w_sqrtl.c: Likewise.
29478 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29479 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29480 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29481 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29482 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29484 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29487 * manual/string.texi (strnlen): Use correct parameter name in
29488 equivalent expression.
29490 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29493 * manual/users.texi (seteuid): Consistently use neweuid for
29496 2012-02-19 Joseph Myers <joseph@codesourcery.com>
29499 * manual/nss.texi (Services in the NSS configuration): Correct
29500 list of services in example configuration file.
29502 2012-02-19 Nick Bowler <nbowler@draconx.ca>
29505 * manual/arith.texi: Remove statements about negative zero
29506 behaving identically to zero.
29508 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29511 * manual/install.texi: Do not document upgrading from libc5.
29513 2012-02-18 Joseph Myers <joseph@codesourcery.com>
29516 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29518 2012-02-18 David S. Miller <davem@davemloft.net>
29520 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29521 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29522 %o7 across the call.
29523 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29525 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29526 SETUP_PIC_REG_LEAF.
29527 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29528 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29529 * sysdeps/sparc/crtn.S: Likewise.
29531 2012-02-17 Ulrich Drepper <drepper@gmail.com>
29533 * aout/Makefile: Remove.
29535 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29538 * manual/examples/argp-ex1.c (main): Format definition in GNU
29540 * manual/examples/argp-ex2.c (main): Likewise.
29541 * manual/examples/argp-ex3.c (main): Likewise.
29542 * manual/examples/argp-ex4.c (main): Likewise.
29543 * manual/examples/longopt.c (main): Use new-style prototype
29545 * manual/examples/strncat.c (main): Specify return type and use
29546 (void) for arguments.
29547 * manual/examples/subopt.c (main): Use char **argv argument.
29549 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29552 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
29555 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
29558 * manual/string.texi (strchr): Change when strchrnul is
29561 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
29564 * manual/locale.texi (setlocale): Document LOCPATH.
29566 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29569 * manual/process.texi (execle): Move @dots{} before last argument.
29571 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
29574 * manual/charset.texi (Generic Charset Conversion): Fix typo
29575 (LC_TYPE -> LC_CTYPE).
29577 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
29580 * manual/arith.texi (scalbn): Use @var{} on parameter names.
29581 (scalbnf): Likewise.
29582 (scalbnl): Likewise.
29583 (scalbln): Likewise.
29584 (scalblnf): Likewise.
29585 (scalblnl): Likewise.
29586 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
29587 (vwarnx): Likewise.
29590 * manual/filesys.texi (telldir): Use braces around return type.
29591 * manual/llio.texi (mmap): Add space after comma.
29592 (mmap64): Likewise.
29593 * manual/math.texi (jn): Use @var{} on parameter names.
29599 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
29601 * manual/resource.texi (ulimit): Use @dots{} instead of literal
29603 (sched_get_priority_min): Remove semicolon on @deftypefun line.
29604 (sched_get_priority_max): Likewise.
29605 * manual/signal.texi (sigvec): Add space after comma.
29606 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
29608 (if_indextoname): Likewise.
29609 (if_freenameindex): Likewise.
29610 (sendto): Use ',' instead of '.' in prototype.
29611 * manual/startup.texi (syscall): Use @dots{} instead of literal
29613 * manual/stdio.texi (__fpending): Separate initial words of
29614 paragraph from @deftypefun line.
29615 * manual/syslog.texi (syslog): Use @dots{} instead of literal
29617 (vsyslog): Use @var{} on parameter names.
29618 * manual/terminal.texi (stty): Use @var{} on parameter names.
29619 * manual/users.texi (getutmp): Use @var{} on parameter names.
29620 (getutmpx): Likewise.
29622 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29625 * manual/stdio.texi (fopen): Fix typos in description of
29628 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
29631 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29632 get clock_id definition.
29634 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
29637 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29638 (madvise): Cast every argument to void on its own.
29640 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29643 * manual/startup.texi (Exit Status): Fix typo.
29645 2012-02-17 Joseph Myers <joseph@codesourcery.com>
29648 * manual/examples/argp-ex1.c: Include <stdlib.h>.
29649 * manual/examples/argp-ex2.c: Likewise.
29650 * manual/examples/argp-ex3.c: Likewise.
29652 2012-02-16 Richard Henderson <rth@redhat.com>
29654 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29655 * sysdeps/s390/s390-32/initfini.c: Remove.
29656 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29657 * sysdeps/s390/s390-64/initfini.c: Remove.
29659 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29661 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29662 compiler output for sysdeps/generic/initfini.c.
29663 * sysdeps/sh/elf/initfini.c: Remove file.
29665 2012-02-16 David S. Miller <davem@davemloft.net>
29668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29670 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29671 * sysdeps/sparc/crti.S: New file.
29672 * sysdeps/sparc/crtn.S: New file.
29673 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29674 * sysdeps/sparc/sparc64/Makefile: Likewise.
29676 2012-02-15 Mike Frysinger <vapier@gentoo.org>
29679 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29681 2012-02-15 Roland McGrath <roland@hack.frob.com>
29684 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29686 * mach/devstream.c (cookie_io_functions_t): Macro removed.
29687 (write, read, close): Likewise.
29688 Patch by Aurelien Jarno <aurelien@aurel32.net>.
29690 2012-02-15 Joseph Myers <joseph@codesourcery.com>
29692 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29693 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29694 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29695 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29697 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29701 2012-02-14 Marek Polacek <polacek@redhat.com>
29703 * sysdeps/x86_64/crti.S: New file.
29704 * sysdeps/x86_64/crtn.S: New file.
29705 * sysdeps/x86_64/elf/initfini.c: Remove file.
29707 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29709 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29710 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29711 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29712 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29714 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29718 2012-02-13 Joseph Myers <joseph@codesourcery.com>
29720 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29721 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29722 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29723 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29725 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29729 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
29731 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29732 __feraiseexcept instead of feraiseexcept.
29734 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29735 nanosleep invocations.
29736 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29737 strings, and add error checking for a nanosleep invocations.
29739 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
29741 Replace FSF snail mail address with URLs, as per GNU coding standards.
29742 Most of the snail mail addresses were wrong anyway, and omitting
29743 them makes the source code easier to maintain. Almost all of the
29744 changes are to license notices and to locale LC_IDENTIFICATION
29745 addresses, except for this one:
29746 * manual/libc.texinfo: In "Published by", give the FSF's URL,
29747 not its snail mail address.
29749 2012-02-09 Richard Henderson <rth@twiddle.net>
29751 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29752 of kernel-features.h.
29754 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29756 2012-02-08 Marek Polacek <polacek@redhat.com>
29758 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29759 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29760 * sysdeps/gnu/_G_config.h: Likewise.
29761 * sysdeps/generic/_G_config.h: Likewise.
29763 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
29765 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29769 * sysdeps/powerpc/powerpc32/crti.S: New file.
29770 * sysdeps/powerpc/powerpc32/crtn.S: New file.
29771 * sysdeps/powerpc/powerpc64/crti.S: New file.
29772 * sysdeps/powerpc/powerpc64/crtn.S: New file.
29774 * Makeconfig (have-initfini): Don't set.
29775 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29776 * configure.in (nopic_initfini): Don't substitute.
29777 * config.h.in (HAVE_INITFINI): Don't #undef.
29778 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29779 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29781 2012-02-08 Joseph Myers <joseph@codesourcery.com>
29783 Support crti.S and crtn.S provided directly by architectures.
29784 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29785 [crti.S in sysdirs] (omit-deps): Likewise.
29786 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29787 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29788 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29789 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29790 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29791 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29792 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29793 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29794 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29795 compiler output for sysdeps/generic/initfini.c.
29796 * sysdeps/i386/elf/Makefile: Remove file.
29797 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29799 2012-02-07 Marek Polacek <polacek@redhat.com>
29801 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29802 * sysdeps/gnu/_G_config.h: Likewise.
29803 * sysdeps/mach/hurd/_G_config.h: Likewise.
29805 2012-02-07 Marek Polacek <polacek@redhat.com>
29807 * math/Makefile (tests): Add tst-CMPLX2.
29808 * math/tst-CMPLX2.c: New file.
29810 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
29812 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29814 * math/libm-test.inc (jn_test): Add missing L suffix.
29816 2012-02-06 Marek Polacek <polacek@redhat.com>
29818 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29819 * sysdeps/i386/fpu/e_powf.S: Likewise.
29820 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29821 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29822 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29823 * sysdeps/i386/fpu/e_pow.S: Likewise.
29824 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29825 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29826 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29827 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29828 * sysdeps/i386/fpu/e_log2.S: Likewise.
29829 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29830 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29831 * sysdeps/i386/fpu/e_powl.S: Likewise.
29832 * sysdeps/i386/fpu/s_log1p.S: Likewise.
29833 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29834 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29835 * sysdeps/i386/fpu/e_logl.S: Likewise.
29836 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29837 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29838 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29839 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29840 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29841 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29842 * sysdeps/i386/fpu/e_log.S: Likewise.
29843 * sysdeps/i386/fpu/s_cexp.S: Likewise.
29844 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29845 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29846 * sysdeps/i386/fpu/e_logf.S: Likewise.
29847 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29848 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29849 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29850 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29851 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29852 * sysdeps/i386/fpu/e_log10.S: Likewise.
29853 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29854 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29855 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29856 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29857 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29858 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29859 * sysdeps/i386/asm-syntax.h: Likewise.
29860 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29861 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29862 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29863 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29864 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29865 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29866 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29867 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29868 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29869 * sysdeps/powerpc/sysdep.h: Likewise.
29870 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29871 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29873 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29876 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29878 2012-02-06 Joseph Myers <joseph@codesourcery.com>
29880 * sysdeps/i386/sysdep.h: Include <features.h>.
29881 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29884 2012-02-05 Joseph Myers <joseph@codesourcery.com>
29886 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29888 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29891 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29893 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29894 (SETUP_PIC_REG): Use GET_PC_THUNK.
29895 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29898 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29900 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29901 for non-PIC compilation.
29902 (SETUP_PIC_REG): Add .p2align directive.
29903 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29904 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29905 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29906 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29907 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29908 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29909 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29910 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29911 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29912 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29913 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29914 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29915 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29916 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29917 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29918 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29919 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29920 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29921 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29922 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29923 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29924 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29925 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29926 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29927 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29928 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29929 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29930 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29931 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29932 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29933 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29934 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29935 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29936 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29937 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29938 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29939 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29940 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29941 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29942 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29943 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29945 2012-02-03 Joseph Myers <joseph@codesourcery.com>
29947 * math/tst-CMPLX.c: Include <stdio.h>.
29949 2012-01-31 Joseph Myers <joseph@codesourcery.com>
29951 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29953 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29954 * sysdeps/sparc/bits/mathdef.h: Likewise.
29956 2012-01-31 Marek Polacek <polacek@redhat.com>
29958 * libio/libio.h: Don't define _PARAMS.
29959 * locale/programs/config.h: Don't define PARAMS.
29960 * stdlib/strtol_l.c: Likewise.
29961 (__strtol_l): Remove PARAMS from the prototype.
29963 2012-01-31 Ulrich Drepper <drepper@gmail.com>
29965 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
29966 names. Just use the correct names. Remove unnecessary wrapper
29968 * malloc/arena.c: Likewise.
29969 * malloc/hooks.c: Likewise.
29971 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29972 ARENA_TEST says not to. Simplify test for creation of a new arena.
29973 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29975 2012-01-30 Ulrich Drepper <drepper@gmail.com>
29977 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29979 (update_get_addr): New function.
29980 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29981 GET_ADDR_MODULE parameter.
29983 2012-01-30 Joseph Myers <joseph@codesourcery.com>
29985 * crypt/cert.c: Remove __STDC__ conditionals.
29986 * crypt/crypt-entry.c: Likewise.
29987 * crypt/crypt_util.c: Likewise.
29988 * libio/filedoalloc.c: Likewise.
29989 * libio/fileops.c: Likewise.
29990 * libio/genops.c: Likewise.
29991 * libio/iofclose.c: Likewise.
29992 * libio/iofdopen.c: Likewise.
29993 * libio/iofopen.c: Likewise.
29994 * libio/iofopen64.c: Likewise.
29995 * libio/iogetdelim.c: Likewise.
29996 * libio/iopopen.c: Likewise.
29997 * libio/obprintf.c: Likewise.
29998 * libio/oldfileops.c: Likewise.
29999 * libio/oldiofclose.c: Likewise.
30000 * libio/oldiofdopen.c: Likewise.
30001 * libio/oldiofopen.c: Likewise.
30002 * libio/oldiopopen.c: Likewise.
30003 * libio/wfiledoalloc.c: Likewise.
30004 * libio/wgenops.c: Likewise.
30005 * locale/programs/xmalloc.c: Likewise.
30006 * misc/syslog.c: Likewise.
30007 * stdio-common/xbug.c: Likewise.
30008 * string/memchr.c: Likewise.
30009 * string/memcmp.c: Likewise.
30010 * string/memrchr.c: Likewise.
30011 * string/rawmemchr.c: Likewise.
30012 * sysdeps/posix/getcwd.c: Likewise.
30013 * time/strftime_l.c: Likewise.
30015 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30017 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30018 * config.make.in (config-cflags-sse2avx): Define.
30019 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30022 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30024 * scripts/config.guess: Update from upstream config git repository.
30025 * scripts/config.sub: Likewise.
30027 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30029 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30031 (R_TILEPRO_*, R_TILEGX_*): New macros.
30033 * scripts/firstversions.awk: Fix bug in version range handling.
30035 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30037 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30039 * include/sys/epoll.h: New file.
30040 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30043 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30045 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30046 Avoid unnecessary __WORDSIZE == 64 test.
30047 (fmaxf): Use VEX format if possible.
30052 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30053 * math/math_private.h: Remove libc_fegetround* and
30055 * sysdeps/i386/configure.in: Check for -msse2avx.
30056 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30057 also if SSE2AVX is defined.
30058 Remove libc_fegetround* and libc_fesetround*.
30059 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30060 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30061 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30063 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30064 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30065 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30066 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30067 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30069 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30071 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30073 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30075 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30077 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30080 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30082 * Makeconfig (libm): Define.
30083 * elf/Makefile: Add rules to build and run tst-relsort1.
30084 * elf/tst-relsort1.c: New file.
30085 * elf/tst-relsort1mod1.c: New file.
30086 * elf/tst-relsort1mod2.c: New file.
30088 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30090 * math/s_ldexp.c: Remove __STDC__ conditionals.
30091 * math/s_ldexpf.c: Likewise.
30092 * math/s_ldexpl.c: Likewise.
30093 * math/s_nextafter.c: Likewise.
30094 * math/s_nexttowardf.c: Likewise.
30095 * math/s_significand.c: Likewise.
30096 * math/s_significandf.c: Likewise.
30097 * math/s_significandl.c: Likewise.
30098 * math/w_jnl.c: Likewise.
30099 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30100 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30101 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30102 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30103 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30104 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30105 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30106 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30107 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30108 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30109 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30111 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30112 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30113 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30114 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30115 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30116 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30117 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30118 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30119 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30120 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30121 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30122 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30123 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30124 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30125 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30126 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30127 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30128 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30129 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30130 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30131 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30132 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30133 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30134 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30135 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30136 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30137 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30138 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30139 * sysdeps/ieee754/k_standard.c: Likewise.
30140 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30141 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30142 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30143 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30144 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30145 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30146 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30147 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30148 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30149 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30150 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30151 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30152 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30153 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30154 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30156 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30157 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30158 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30159 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30160 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30161 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30162 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30163 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30164 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30165 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30169 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30170 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30171 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30172 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30173 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30174 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30175 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30176 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30177 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30178 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30179 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30180 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30181 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30182 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30183 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30184 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30185 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30186 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30187 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30188 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30189 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30190 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30193 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30194 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30195 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30196 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30197 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30198 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30199 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30200 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30201 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30202 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30203 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30204 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30205 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30206 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30207 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30208 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30209 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30210 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30211 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30212 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30213 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30214 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30215 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30216 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30217 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30218 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30219 * sysdeps/ieee754/s_matherr.c: Likewise.
30220 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30221 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30222 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30223 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30225 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30227 * crypt/md5.h: Remove __STDC__ conditionals.
30228 * libio/libioP.h: Likewise.
30229 * locale/programs/config.h: Likewise.
30230 * sysdeps/generic/sysdep.h: Likewise.
30231 * sysdeps/i386/asm-syntax.h: Likewise.
30232 * sysdeps/s390/asm-syntax.h: Likewise.
30233 * sysdeps/unix/sysdep.h: Likewise.
30234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30237 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30239 * libio/libio.h: Remove __STDC__ conditionals.
30240 * malloc/obstack.h: Likewise.
30241 * math/complex.h: Likewise.
30242 * math/math.h: Likewise.
30243 * sysdeps/generic/_G_config.h: Likewise.
30244 * sysdeps/gnu/_G_config.h: Likewise.
30245 * sysdeps/mach/hurd/_G_config.h: Likewise.
30246 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30247 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30248 * sysdeps/sparc/bits/mathdef.h: Likewise.
30250 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30253 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30254 Clean up HAS_* macros.
30255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30256 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30258 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30260 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30261 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30262 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30263 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30264 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30266 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30268 * elf/tst-unique3.cc (gets): Remove declaration.
30269 * elf/tst-unique3lib.cc (gets): Likewise.
30270 * elf/tst-unique3lib2.cc (gets): Likewise.
30271 * elf/tst-unique4.cc (gets): Likewise.
30273 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30275 * include/stdio.h: Add C++ protection. Add gets declarations and
30277 * debug/tst-chk1.c: Don't declare gets here.
30278 * stdio-common/tst-gets.c: Likewise.
30280 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30282 * posix/glob: Remove directory.
30284 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30286 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30288 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30290 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30291 of the non-standard EPFNOSUPPORT.
30293 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30295 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30296 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30297 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30299 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30301 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30303 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30305 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30307 * nscd/grpcache.c (cache_addgr): Likewise.
30308 * nscd/hstcache.c (cache_addhst): Likewise.
30309 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30310 * nscd/pwdcache.c (cache_addpw): Likewise.
30311 * nscd/servicescache.c (cache_addserv): Likewise.
30313 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30315 * malloc/malloc.c: Various cleanups.
30316 * malloc/hooks.c: Likewise.
30318 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30319 * stdlib/bug-fmtmsg1.c: New file.
30321 * stdlib/fmtmsg.c (init): Add missing unlock.
30322 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30324 2012-01-12 Marek Polacek <polacek@redhat.com>
30326 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30329 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30331 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30332 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30333 macro to ensure uniqueness of label name.
30334 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30335 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30337 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30339 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30341 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30342 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30343 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30344 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30346 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30348 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30350 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30351 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30352 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30354 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30356 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30357 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30358 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30359 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30361 * math/bits/math-finite.h: Add ldexp support.
30363 2012-01-10 Marek Polacek <polacek@redhat.com>
30365 * locale/programs/localedef.h (show_archive_content): Add noreturn
30368 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30370 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30372 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30374 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30376 * io/Makefile (headers): Add bits/poll2.h.
30378 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30381 typo #include statement.
30383 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30385 * include/sys/cdefs.h: Define __attribute_alloc_size.
30386 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30387 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30388 * elf/pldd.c: Likewise.
30389 * iconv/iconv_charmap.c: Likewise.
30390 * iconv/iconvconfig.c: Likewise.
30391 * iconv/strtab.c: Likewise.
30392 * locale/programs/locale.c: Likewise.
30393 * locale/programs/localedef.h: Likewise.
30394 * locale/programs/simple-hash.c: Likewise.
30395 * nscd/nscd.h: Likewise.
30396 * nss/makedb.c: Likewise.
30397 * sysdeps/generic/ldconfig.h: Likewise.
30398 * locale/programs/localedef.c: Remove xmalloc prototype.
30399 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30401 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30403 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30406 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30408 * math/Makefile (tests): Add tst-CMPLX.
30409 * math/tst-CMPLX.c: New file.
30411 * math/complex.h (CMPLXL): Fix typo.
30413 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30414 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30416 * debug/tst-chk1.c: Add poll and ppoll tests.
30417 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30418 * include/sys/poll.h: Add hidden proto for ppoll.
30419 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30420 * sysdeps/mach/hurd/ppoll.c: Likewise.
30421 * io/ppoll.c: Likewise.
30422 * debug/poll_chk.c: New file.
30423 * debug/ppoll_chk.c: New file.
30424 * include/bits/poll2.h: New file.
30425 * io/bits/poll2.h: New file.
30428 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30430 * configure.in: static is always set to yes. Remove.
30431 * config.make.in: Don't set build-static.
30432 * Makeconfig: Remove use of build-static.
30433 * dlfcn/Makefile: Likewise.
30434 * elf/Makefile: Likewise.
30435 * math/Makefile: Likewise.
30436 * misc/Makefile: Likewise.
30437 * nptl/Makefile: Likewise.
30438 * sysdeps/mach/hurd/Makefile: Likewise.
30440 * configure.in: PWD_P is not used anymore.
30441 * config.make.in: Remove PWD_P entry.
30443 * configure.in: Remove last remnants of RANLIB.
30444 No need to check for signed size_t anymore.
30445 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30447 Remove __builtin_expect test because we require at least gcc 3.4.
30448 * aclocal.m4: Likewise.
30450 * wcsmbs/mbrtoc16.c: Implement using towc function.
30451 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30452 * wcsmbs/wcsmbsload.c: Likewise.
30453 * iconv/gconv_simple.c: Likewise.
30454 * iconv/gconv_int.h: Likewise.
30455 * iconv/gconv_builtin.h: Likewise.
30456 * iconv/iconv_prog.c: Remove CHAR16 handling.
30458 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30460 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30462 * configure.in: Remove --with-elf and --enable-bounded options.
30463 Dont set base_machine for ia64. More non-ELF conditions removed.
30464 Remove testing and setting of leading underscore information.
30465 * config.make.in (build-bounded): Set to no.
30466 * config.h.in: Remove NO_UNDERSCORES entry.
30467 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30469 * csu/start.c: Remove !NO_UNDERSCORE code.
30470 * locale/localeinfo.h: Likewise.
30471 * sysdeps/generic/machine-gmon.h: Likewise.
30472 * sysdeps/generic/sysdep.h: Likewise.
30473 * sysdeps/i386/sysdep.h: Likewise.
30474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30475 * sysdeps/mach/sysdep.h: Likewise.
30476 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30477 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30478 * sysdeps/sh/sysdep.h: Likewise.
30479 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30480 * sysdeps/unix/i386/sysdep.S: Likewise.
30481 * sysdeps/unix/sparc/start.c: Likewise.
30482 * sysdeps/unix/sparc/sysdep.S: Likewise.
30483 * sysdeps/unix/sparc/sysdep.h: Likewise.
30484 * sysdeps/unix/start.c: Likewise.
30485 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30486 * sysdeps/x86_64/sysdep.h: Likewise.
30488 2012-01-07 Ulrich Drepper <drepper@gmail.com>
30491 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30493 * argp/argp-fmtstream.h: Use const instead __const.
30494 * argp/argp.h: Likewise.
30495 * assert/assert.h: Likewise.
30496 * bits/fenv.h: Likewise.
30497 * bits/sched.h: Likewise.
30498 * bits/sigset.h: Likewise.
30499 * bits/sigthread.h: Likewise.
30500 * catgets/nl_types.h: Likewise.
30501 * conform/data/pthread.h-data: Likewise.
30502 * crypt/crypt-private.h: Likewise.
30503 * crypt/crypt.h: Likewise.
30504 * crypt/crypt_util.c: Likewise.
30505 * ctype/ctype.h: Likewise.
30506 * debug/execinfo.h: Likewise.
30507 * debug/mbsnrtowcs_chk.c: Likewise.
30508 * debug/mbsrtowcs_chk.c: Likewise.
30509 * debug/wcsnrtombs_chk.c: Likewise.
30510 * debug/wcsrtombs_chk.c: Likewise.
30511 * debug/wcstombs_chk.c: Likewise.
30512 * dirent/dirent.h: Likewise.
30513 * dlfcn/dlfcn.h: Likewise.
30514 * elf/neededtest4.c: Likewise.
30515 * grp/grp.h: Likewise.
30516 * gshadow/gshadow.h: Likewise.
30517 * iconv/gconv.h: Likewise.
30518 * iconv/gconv_int.h: Likewise.
30519 * iconv/gconv_simple.c: Likewise.
30520 * iconv/iconv.h: Likewise.
30521 * iconv/loop.c: Likewise.
30522 * iconv/skeleton.c: Likewise.
30523 * include/aio.h: Likewise.
30524 * include/aliases.h: Likewise.
30525 * include/argz.h: Likewise.
30526 * include/arpa/inet.h: Likewise.
30527 * include/assert.h: Likewise.
30528 * include/dirent.h: Likewise.
30529 * include/dlfcn.h: Likewise.
30530 * include/execinfo.h: Likewise.
30531 * include/fcntl.h: Likewise.
30532 * include/fenv.h: Likewise.
30533 * include/glob.h: Likewise.
30534 * include/grp.h: Likewise.
30535 * include/libintl.h: Likewise.
30536 * include/mntent.h: Likewise.
30537 * include/netdb.h: Likewise.
30538 * include/pwd.h: Likewise.
30539 * include/rpc/netdb.h: Likewise.
30540 * include/sched.h: Likewise.
30541 * include/search.h: Likewise.
30542 * include/shadow.h: Likewise.
30543 * include/signal.h: Likewise.
30544 * include/stdio.h: Likewise.
30545 * include/stdlib.h: Likewise.
30546 * include/string.h: Likewise.
30547 * include/sys/socket.h: Likewise.
30548 * include/sys/stat.h: Likewise.
30549 * include/sys/statfs.h: Likewise.
30550 * include/sys/statvfs.h: Likewise.
30551 * include/sys/syslog.h: Likewise.
30552 * include/sys/time.h: Likewise.
30553 * include/sys/uio.h: Likewise.
30554 * include/time.h: Likewise.
30555 * include/unistd.h: Likewise.
30556 * include/utmp.h: Likewise.
30557 * include/wchar.h: Likewise.
30558 * include/wctype.h: Likewise.
30559 * inet/aliases.h: Likewise.
30560 * inet/arpa/inet.h: Likewise.
30561 * inet/netinet/ether.h: Likewise.
30562 * inet/netinet/in.h: Likewise.
30563 * intl/libintl.h: Likewise.
30564 * io/bits/fcntl2.h: Likewise.
30565 * io/fcntl.h: Likewise.
30566 * io/ftw.h: Likewise.
30567 * io/sys/poll.h: Likewise.
30568 * io/sys/stat.h: Likewise.
30569 * io/sys/statfs.h: Likewise.
30570 * io/sys/statvfs.h: Likewise.
30571 * io/utime.h: Likewise.
30572 * libio/bits/stdio.h: Likewise.
30573 * libio/bits/stdio2.h: Likewise.
30574 * libio/libio.h: Likewise.
30575 * libio/libioP.h: Likewise.
30576 * libio/stdio.h: Likewise.
30577 * locale/lc-ctype.c: Likewise.
30578 * locale/locale.h: Likewise.
30579 * login/utmp.h: Likewise.
30580 * malloc/arena.c: Likewise.
30581 * malloc/malloc.c: Likewise.
30582 * malloc/malloc.h: Likewise.
30583 * malloc/mcheck.c: Likewise.
30584 * malloc/mtrace.c: Likewise.
30585 * math/bits/mathcalls.h: Likewise.
30586 * math/fenv.h: Likewise.
30587 * math/math_private.h: Likewise.
30588 * misc/bits/error.h: Likewise.
30589 * misc/bits/syslog.h: Likewise.
30590 * misc/err.h: Likewise.
30591 * misc/error.h: Likewise.
30592 * misc/fstab.h: Likewise.
30593 * misc/mntent.h: Likewise.
30594 * misc/regexp.h: Likewise.
30595 * misc/search.h: Likewise.
30596 * misc/sgtty.h: Likewise.
30597 * misc/sys/mman.h: Likewise.
30598 * misc/sys/syslog.h: Likewise.
30599 * misc/sys/uio.h: Likewise.
30600 * misc/sys/xattr.h: Likewise.
30601 * misc/ttyent.h: Likewise.
30602 * nis/rpcsvc/ypclnt.h: Likewise.
30603 * nss/nss.h: Likewise.
30604 * posix/bits/unistd.h: Likewise.
30605 * posix/fnmatch.h: Likewise.
30606 * posix/glob.h: Likewise.
30607 * posix/sched.h: Likewise.
30608 * posix/spawn.h: Likewise.
30609 * posix/sys/wait.h: Likewise.
30610 * posix/unistd.h: Likewise.
30611 * posix/wordexp.h: Likewise.
30612 * pwd/pwd.h: Likewise.
30613 * resolv/netdb.h: Likewise.
30614 * resource/sys/resource.h: Likewise.
30615 * rt/aio.h: Likewise.
30616 * rt/bits/mqueue2.h: Likewise.
30617 * rt/mqueue.h: Likewise.
30618 * shadow/shadow.h: Likewise.
30619 * signal/signal.h: Likewise.
30620 * socket/send.c: Likewise.
30621 * socket/sendto.c: Likewise.
30622 * socket/sys/socket.h: Likewise.
30623 * stdio-common/printf.h: Likewise.
30624 * stdlib/bits/stdlib.h: Likewise.
30625 * stdlib/fmtmsg.h: Likewise.
30626 * stdlib/monetary.h: Likewise.
30627 * stdlib/stdlib.h: Likewise.
30628 * stdlib/ucontext.h: Likewise.
30629 * streams/stropts.h: Likewise.
30630 * string/argz.h: Likewise.
30631 * string/bits/string2.h: Likewise.
30632 * string/string.h: Likewise.
30633 * string/strings.h: Likewise.
30634 * sunrpc/rpc/auth.h: Likewise.
30635 * sunrpc/rpc/auth_des.h: Likewise.
30636 * sunrpc/rpc/clnt.h: Likewise.
30637 * sunrpc/rpc/netdb.h: Likewise.
30638 * sunrpc/rpc/pmap_clnt.h: Likewise.
30639 * sunrpc/rpc/xdr.h: Likewise.
30640 * sysdeps/generic/inttypes.h: Likewise.
30641 * sysdeps/generic/net/if.h: Likewise.
30642 * sysdeps/generic/sys/swap.h: Likewise.
30643 * sysdeps/gnu/net/if.h: Likewise.
30644 * sysdeps/gnu/utmpx.h: Likewise.
30645 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30646 * sysdeps/i386/i486/bits/string.h: Likewise.
30647 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30648 * sysdeps/s390/bits/string.h: Likewise.
30649 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30650 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30651 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30652 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30653 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30654 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30655 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30656 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30657 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30658 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30659 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30660 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30661 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30662 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30663 * sysdeps/unix/sysv/linux/readv.c: Likewise.
30664 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30665 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30666 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30667 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30668 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30669 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30670 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30671 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30672 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30673 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30674 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30675 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30676 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30677 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30678 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30679 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30680 * sysvipc/sys/ipc.h: Likewise.
30681 * sysvipc/sys/msg.h: Likewise.
30682 * sysvipc/sys/sem.h: Likewise.
30683 * sysvipc/sys/shm.h: Likewise.
30684 * termios/termios.h: Likewise.
30685 * time/sys/time.h: Likewise.
30686 * time/time.h: Likewise.
30687 * wcsmbs/bits/wchar2.h: Likewise.
30688 * wcsmbs/uchar.h: Likewise.
30689 * wcsmbs/wchar.h: Likewise.
30690 * wctype/wctype.h: Likewise.
30693 * Makeconfig: Remove all but ELF support including AIX support.
30694 * Makerules: Likewise.
30695 * config.h.in: Likewise.
30696 * config.make.in: Likewise.
30697 * configure: Likewise.
30698 * configure.in: Likewise.
30699 * csu/Makefile: Likewise.
30700 * csu/version.c: Likewise.
30701 * debug/Makefile: Likewise.
30702 * dlfcn/Makefile: Likewise.
30703 * elf/Makefile: Likewise.
30704 * extra-lib.mk: Likewise.
30705 * iconv/Makefile: Likewise.
30706 * include/libc-symbols.h: Likewise.
30707 * include/shlib-compat.h: Likewise.
30708 * resolv/Makefile: Likewise.
30709 * resolv/res_libc.c: Likewise.
30710 * rt/Makefile: Likewise.
30711 * sysdeps/i386/asm-syntax.h: Likewise.
30712 * sysdeps/i386/sysdep.h: Likewise.
30713 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30714 * sysdeps/mach/sysdep.h: Likewise.
30715 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30716 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30717 * sysdeps/s390/asm-syntax.h: Likewise.
30718 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30719 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30720 * sysdeps/sh/sysdep.h: Likewise.
30721 * sysdeps/unix/sparc/sysdep.h: Likewise.
30722 * sysdeps/wordsize-32/divdi3.c: Likewise.
30723 * sysdeps/x86_64/sysdep.h: Likewise.
30725 * argp/Versions: Remove _argp_unlock_xxx.
30728 * abilist/ld.abilist: Update. Adjust for removal of tls option.
30729 * abilist/libBrokenLocale.abilist: Likewise.
30730 * abilist/libanl.abilist: Likewise.
30731 * abilist/libc.abilist: Likewise.
30732 * abilist/libcrypt.abilist: Likewise.
30733 * abilist/libdl.abilist: Likewise.
30734 * abilist/libm.abilist: Likewise.
30735 * abilist/libnsl.abilist: Likewise.
30736 * abilist/libpthread.abilist: Likewise.
30737 * abilist/libresolv.abilist: Likewise.
30738 * abilist/librt.abilist: Likewise.
30739 * abilist/libthread_db.abilist: Likewise.
30740 * abilist/libutil.abilist: Likewise.
30741 * abilist/libnss_db.abilist: New file.
30743 * scripts/abilist.awk: Add support for indirect functions.
30745 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30747 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30749 * shlib-versions: Remove entries for ports architectures.
30751 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
30753 * elf/stackguard-macros.h: Remove support for IA-64.
30754 * elf/tst-auditmod1.c: Likewise.
30755 * sysdeps/generic/ldsodefs.h: Likewise.
30757 * sysdeps/unix/sysv/linux/configure.in: Ports should define
30758 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30762 * configure.in: Remove --enable-omitfp support.
30764 * config.make.in: Likewise.
30765 * Makeconfig: Likewise.
30766 * manual/install.texi: Likewise.
30768 In case anyone cares, the IA-64 architecture could move to ports.
30769 * sysdeps/ia64/*: Removed.
30770 * sysdeps/unix/sysv/linux/ia64/*: Removed.
30771 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30774 * configure.in: Remove entries for unsupported architectures.
30777 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30778 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
30780 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30781 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30782 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
30783 fall back to using wcrtomb.
30784 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30785 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
30787 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30788 * wcsmbs/tst-c16c32-1.c: New file.
30790 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30793 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30795 * elf/tst-unique3.cc: Add explicit declaration of gets.
30796 * elf/tst-unique3lib.cc: Likewise.
30797 * elf/tst-unique3lib2.cc: Likewise.
30798 * elf/tst-unique4.cc: Likewise.
30800 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30802 2012-01-06 Joseph Myers <joseph@codesourcery.com>
30805 * assert/assert.h (static_assert): Don't define for C++.
30806 * libio/stdio.h (gets): Do declare for C++ <= C++11.
30807 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30809 2012-01-03 Ulrich Drepper <drepper@gmail.com>
30811 * iconv/loop.c (single loop): Fix assertion in storing of
30814 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30816 2012-01-01 Ulrich Drepper <drepper@gmail.com>
30818 * posix/getconf.c: Update copyright year.
30819 * nss/getent.c: Likewise.
30820 * nss/makedb.c: Likewise.
30821 * iconv/iconvconfig.c: Likewise.
30822 * iconv/iconv_prog.c: Likewise.
30823 * elf/ldconfig.c: Likewise.
30824 * elf/pldd.c: Likewise.
30825 * elf/sotruss.ksh: Likewise.
30826 * catgets/gencat.c: Likewise.
30827 * csu/version.c: Likewise.
30828 * elf/ldd.bash.in: Likewise.
30829 * elf/sprof.c (print_version): Likewise.
30830 * locale/programs/locale.c: Likewise.
30831 * locale/programs/localedef.c: Likewise.
30832 * login/programs/pt_chown.c: Likewise.
30833 * nscd/nscd.c (print_version): Likewise.
30834 * debug/xtrace.sh: Likewise.
30835 * malloc/memusage.sh: Likewise.
30836 * malloc/mtrace.pl: Likewise.
30837 * debug/catchsegv.sh: Likewise.
30839 2011-12-30 Jakub Jelinek <jakub@redhat.com>
30841 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30844 2011-12-24 Ulrich Drepper <drepper@gmail.com>
30847 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30848 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30850 * iconv/gconv_int.h: Likewise.
30851 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30852 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30853 from libc for GLIBC_2.16.
30854 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30855 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30856 * wcsmbs/uchar.h: Really define mbstate_t.
30857 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30858 * wcsmbs/c16rtomb.c: New file.
30859 * wcsmbs/mbrtoc16.c: New file.
30860 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30861 for C/POSIX locale.
30862 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30863 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30865 * wcsmbs/wchar.h: Add missing __restrict.
30867 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30870 * time/Makefile (routines): Add timespec_get.
30871 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30872 * time/time.h: Define TIME_UTC and declare timespec_get. Define
30873 timespec for ISO C11.
30874 * time/timespec_get.c: New file.
30875 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30876 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30879 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30880 * stdlib/stdlib.h: Declare aligned_alloc.
30881 * Versions.def: Add GLIBC_2.16 for libc.
30882 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30885 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30888 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30892 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30895 * assert/assert.h (static_assert): Define.
30897 * version.h: Update for 2.16 development version.
30900 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30903 * version.h (RELEASE): Bump for 2.15 release.
30904 * include/features.h (__GLIBC_MINOR__): Bump to 15.
30906 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30907 Patch by Marek Polacek <mpolacek@redhat.com>.
30909 * bits/byteswap.h: Protect long long constants with __extension__.
30910 * sysdeps/i386/bits/byteswap.h: Likewise.
30911 * sysdeps/ia64/bits/byteswap.h: Likewise.
30912 * sysdeps/s390/bits/byteswap.h: Likewise.
30913 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30915 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30918 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30919 destination buffer.
30920 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30922 2011-12-23 Marek Polacek <polacek@redhat.com>
30924 * elf/dl-addr.c (determine_info): Add inline keyword.
30925 * elf/tst-auditmod4b.c (check_avx): Likewise.
30926 * elf/tst-auditmod6b.c (check_avx): Likewise.
30927 * elf/tst-auditmod6c.c (check_avx): Likewise.
30928 * elf/tst-auditmod7b.c (check_avx): Likewise.
30930 2011-12-23 Ulrich Drepper <drepper@gmail.com>
30932 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30935 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30938 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30939 processing for last bytes.
30941 2011-08-06 Bruno Haible <bruno@clisp.org>
30944 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30945 U+0385, not to U+1FEE.
30948 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30949 entry for U+00A5 U+0301.
30951 2011-12-22 Ulrich Drepper <drepper@gmail.com>
30954 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30955 buffer for the output is too small.
30957 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30961 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30962 SSE flags if possible.
30964 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30967 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30968 processing for last bytes.
30970 2011-12-22 Joseph Myers <joseph@codesourcery.com>
30972 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30973 (syscall-list-default-options, syscall-list-default-condition)
30974 (syscall-list-includes): Define.
30975 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30976 list of ABIs and options and #if conditions for each ABI. Do not
30977 handle common syscalls between ABIs specially.
30978 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30980 (syscall-list-variants, syscall-list-32bit-options)
30981 (syscall-list-32bit-condition, syscall-list-64bit-options)
30982 (syscall-list-64bit-condition): Define.
30983 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30984 (syscall-list-variants, syscall-list-32bit-options)
30985 (syscall-list-32bit-condition, syscall-list-64bit-options)
30986 (syscall-list-64bit-condition): Define.
30987 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30989 (syscall-list-variants, syscall-list-32bit-options)
30990 (syscall-list-32bit-condition, syscall-list-64bit-options)
30991 (syscall-list-64bit-condition): Define.
30992 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30994 (syscall-list-variants, syscall-list-32bit-options)
30995 (syscall-list-32bit-condition, syscall-list-64bit-options)
30996 (syscall-list-64bit-condition): Define.
30998 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31000 * locale/iso-639.def: Add brx entry.
31003 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31004 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31006 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31007 __feraiseexcept_renamed.
31009 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31012 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31013 EPOLLET with unsigned values.
31014 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31015 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31017 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31018 to large cancellation.
31019 * math/s_cacoshf.c: Likewise.
31020 * math/s_cacoshl.c: Likewise.
31022 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31026 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31027 * math/s_cacoshf.c: Likewise.
31028 * math/s_cacoshl.c: Likewise.
31030 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31033 * iconv/gconv.h: Define __GCONV_SWAP.
31034 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31035 * iconvdata/utf-16.c: Likewise.
31036 * iconvdata/utf-32.c: Likewise.
31038 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31041 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31042 numerator after shifting it by one limb.
31044 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31046 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31047 under [__USE_EXTERN_INLINES].
31049 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31052 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31054 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31056 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31057 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31059 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31060 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31061 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31062 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31063 for strncasecmp/strncasecmp_l compilation.
31064 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31065 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31067 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31070 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31073 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31076 * time/tzfile.c (__tzfile_read): Check values from file header.
31078 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31080 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31081 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31082 * powerpc/powerpc32/dl-start.S: Likewise.
31083 * powerpc/powerpc32/elf/start.S: Likewise.
31084 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31085 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31086 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31087 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31088 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31089 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31090 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31091 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31092 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31093 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31094 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31095 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31096 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31097 * powerpc/powerpc32/memset.S: Likewise.
31098 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31099 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31100 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31101 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31102 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31103 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31104 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31105 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31106 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31107 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31108 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31109 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31110 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31112 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31114 * math/libm-test.inc: Added more nearbyint tests.
31115 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31116 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31118 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31120 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31122 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31125 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31127 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31128 Add wcscpy-ssse3 wcscpy-c.
31129 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31130 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31131 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31132 * sysdeps/x86_64/wcschr.S: New file.
31133 * sysdeps/x86_64/wcsrchr.S: New file.
31134 * string/test-strcmp.c: Remove checking of wcscmp function for
31136 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31137 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31138 wcsrchr-sse2 wcsrchr-c.
31139 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31140 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31141 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31142 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31143 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31144 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31145 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31146 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31147 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31148 * wcsmbc/wcschr.c (WCSCHR): New macro.
31150 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31152 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31153 * wcsmbs/test-wcsrchr.c: New file.
31154 * string/test-strrchr.c: Add wcsrchr support.
31156 * wcsmbs/test-wcscpy.c: New file.
31157 * string/test-strcpy.c: Add wcscpy support.
31160 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31162 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31165 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31168 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31170 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31172 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31173 Minor optimizations.
31175 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31176 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31177 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31179 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31181 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31182 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31183 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31184 for gcc to avoid warnings.
31185 * inet/Makefile (tests): Add tst-checks.
31186 * inet/tst-checks.c: New file.
31188 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31191 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31194 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31195 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31197 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31199 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31201 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31204 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31206 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31208 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31209 conditional on GCC version.
31210 (__arch_compare_and_exchange_val_8_acq)
31211 (__arch_compare_and_exchange_val_16_acq)
31212 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31213 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31214 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31216 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31218 * sysdeps/sh/backtrace.c: New file.
31220 2011-12-02 Andreas Schwab <schwab@redhat.com>
31222 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31225 2011-12-01 Andreas Schwab <schwab@redhat.com>
31227 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31228 falling back to utime.
31230 2011-11-30 Andreas Schwab <schwab@redhat.com>
31232 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31233 expectations for float.
31235 2011-11-29 Andreas Schwab <schwab@redhat.com>
31237 * locale/weight.h (findidx): Add parameter len.
31238 * locale/weightwc.h (findidx): Likewise.
31239 * posix/fnmatch_loop.c (FCT): Adjust caller.
31240 * posix/regcomp.c (build_equiv_class): Likewise.
31241 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31242 * posix/regexec.c (check_node_accept_bytes): Likewise.
31243 * string/strcoll_l.c (STRCOLL): Likewise.
31244 * string/strxfrm_l.c (STRXFRM): Likewise.
31246 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31248 * Makefile.in: Remove CVSOPT handling.
31249 * configure.in: Remove use of AC_REVISION.
31250 * iconvdata/Makefile (distribute): No need to filter out CVS.
31251 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31254 2011-11-16 Andreas Schwab <schwab@redhat.com>
31256 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31257 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31258 [USE_AS_STRNCASECMP_L]: Likewise.
31259 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31260 NO_TLS_DIRECT_SEG_REFS.
31261 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31262 Fix argument offsets for non-PIC.
31263 [USE_AS_STRNCASECMP_L]: Likewise.
31264 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31265 NO_TLS_DIRECT_SEG_REFS.
31267 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31269 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31271 * locale/loadlocale.c (_nl_load_locale): Likewise.
31273 2011-11-15 Andreas Schwab <schwab@redhat.com>
31275 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31276 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31277 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31278 (SYSCALL_GETTIME): Set errno on error.
31280 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31281 count references to noai6ai_cached.
31283 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31285 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31287 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31288 FD_CLOEXEC for /proc/self/maps.
31290 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31291 FD_CLOEXEC for /proc/meminfo.
31293 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31296 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31297 FD_CLOEXEC for given file.
31299 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31301 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31302 FD_CLOEXEC for /etc/hosts.
31303 (_gethtent): Likewise.
31305 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31307 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31308 cancellation and set FD_CLOEXEC for /etc/netgroup.
31310 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31311 reading /etc/publickey.
31313 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31314 allow cancellation when reading /etc/group.
31316 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31318 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31320 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31321 when using data file.
31323 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31325 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31326 (write_nis_obj): Use "c" and "e" in fopen.
31328 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31330 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31332 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31334 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31336 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31339 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31341 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31343 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31345 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31346 file parsing and set FD_CLOEXEC.
31348 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31350 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31352 2011-11-14 Andreas Schwab <schwab@redhat.com>
31354 * malloc/arena.c (arena_get2): Don't call reused_arena when
31355 _int_new_arena failed.
31357 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31359 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31360 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31361 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31362 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31363 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31364 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31365 to compile strcasecmp and strncasecmp.
31366 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31367 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31371 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31373 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31374 locale-defines.sym to gen-as-const-headers.
31375 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31376 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31378 to compile strcasecmp and strncasecmp.
31379 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31380 strcasecmp_l and strncasecmp_l.
31381 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31382 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31383 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31384 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31385 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31386 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31387 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31388 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31389 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31390 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31391 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31393 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31395 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31396 result of SYSDEP_GETTIME_CPU to retval.
31397 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31398 parameter list to macro. Remove trailing semicolon. Adjust users.
31400 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31403 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31405 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31407 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31408 from unused variable.
31410 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31412 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31415 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31418 * sunrpc/rpc_prot.c (rejected): Fix case value.
31420 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31421 unsigned long long int to avoid warnings in shift.
31423 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31425 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31428 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31429 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31430 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31432 * nis/nis_table.c (nis_list): Use variable of correct type for
31433 result of __follow_path call.
31435 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31437 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31438 of math functions ceil, trunc, floor, round, and sqrt, when
31439 avaliable on the platform.
31440 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31442 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31443 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31444 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31446 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31448 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31449 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31451 2011-11-11 Roland McGrath <roland@hack.frob.com>
31453 * include/unistd.h: Fix __readlink return type.
31454 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31456 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31458 * stdlib/ucontext.h: Undo last change for makecontext.
31460 2011-11-11 Andreas Schwab <schwab@redhat.com>
31462 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31464 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31465 * setjmp/setjmp.h: Mark functions as non-leaf.
31466 * setjmp/bits/setjmp2.h: Likewise.
31467 * stdlib/ucontext.h: Likewise.
31469 2011-11-10 Andreas Schwab <schwab@redhat.com>
31471 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31472 (reused_arena): Don't check arena limit.
31473 (arena_get2): Atomically check arena limit.
31475 2011-11-08 Ulrich Drepper <drepper@gmail.com>
31477 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31478 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31483 2011-11-07 Andreas Schwab <schwab@redhat.com>
31485 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31486 handler when locking.
31488 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31489 Fix size of allocated buffer.
31491 2011-11-04 Andreas Schwab <schwab@redhat.com>
31494 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31495 declarations for long double functions.
31496 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31498 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31500 2011-11-03 Andreas Schwab <schwab@redhat.com>
31502 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31505 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31508 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31510 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31512 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31514 * include/alloca.h (stackinfo_alloca_round): Define.
31515 (extend_alloca): Use it.
31516 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31517 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31520 * scripts/check-local-headers.sh: Ignore libaudit.h.
31522 * nscd/Makefile (extra-objs): Make recursively expanded.
31524 2011-11-01 Ulrich Drepper <drepper@gmail.com>
31526 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31527 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31529 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31530 * posix/tst-rfc3484-2.c: Likewise.
31531 * posix/tst-rfc3484-3.c: Likewise.
31533 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31535 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31537 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
31538 process_vm_writev from libc using GLIBC_2.15 version.
31540 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
31542 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
31544 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
31547 2011-10-31 Ulrich Drepper <drepper@gmail.com>
31550 * nss/getent.c (initgroups_keys): Show error message in case no group
31553 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
31554 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
31555 __bump_nl_timestamp.
31556 * nscd/connections (nscd_init): When host database is served open
31557 netlink socket and request notification about configuration changes.
31558 (main_loop_poll): Track netlink file descriptor and bump timestamp
31559 in case data becomes available.
31560 (main_loop_epoll): Likewise.
31561 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
31562 (database_pers_head): Add extra_data fileds.
31563 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
31564 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
31565 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
31567 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
31568 in6ai data, call __free_in6ai.
31569 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
31570 Add -DHAVE_NETLINK.
31571 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
31572 interface information. Reuse previous data if netlink timestamp
31574 (__bump_nl_timestamp): New function.
31575 (__free_in6ai): New function.
31577 2011-10-30 Ulrich Drepper <drepper@gmail.com>
31579 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
31580 close_not_cancel_no_status here.
31581 (__check_pf): Reorganize code a bit to not call close twice if OOM.
31583 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31586 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
31589 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
31590 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
31591 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
31593 2011-07-03 Andreas Jaeger <aj@suse.de>
31596 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
31597 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
31598 * math/libm-test.inc (sin_test): Add test case.
31600 2011-10-29 Ulrich Drepper <drepper@gmail.com>
31603 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
31604 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31606 * elf/chroot_canon.c (chroot_canon): Cleanups.
31608 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
31611 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
31612 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
31614 * string/test-strchr.c: Make usable for strchrnul testing.
31615 * string/test-strchrnul.c: New file.
31616 * string/Makefile (strop-tests): Add strchrnul.
31618 * po/it.po: Update from translation team.
31619 * po/es.po: Likewise.
31621 2011-10-28 Ulrich Drepper <drepper@gmail.com>
31623 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31624 the three constants needed as parameters. Drop the others.
31625 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31626 __m128i_strloadu_tolower.
31627 Create and initialize variable zero and use it in all the places
31628 where _mm_setzero_si128 was used.
31630 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31631 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31632 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31633 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31635 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31636 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31637 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31638 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31639 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31640 __mpranred, __mptan.
31641 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31642 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31643 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31644 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31645 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31646 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31647 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31648 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31649 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31651 2011-10-28 Andreas Schwab <schwab@redhat.com>
31653 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31654 redefine if SHARED.
31655 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31658 wide char related routines to wcsmbs subdir.
31660 2011-10-27 Andreas Schwab <schwab@redhat.com>
31663 * misc/sys/cdefs.h (__THROWNL): Define.
31664 * posix/unistd.h: Use __THREADNL instead of __THREAD
31665 for memory synchronization functions.
31667 2011-10-26 Roland McGrath <roland@hack.frob.com>
31670 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31672 * manual/stdio.texi (Obstack Streams): Node removed.
31674 2011-10-26 Andreas Schwab <schwab@redhat.com>
31676 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31677 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31678 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31680 * math/math_private.h (math_force_eval): Allow non-addressable
31682 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31684 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31686 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31687 file is not needed.
31689 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31690 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31691 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31692 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31693 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31694 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31695 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31696 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31698 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31699 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31700 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31701 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31702 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31703 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31704 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31705 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31706 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31707 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31708 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31709 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31710 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31711 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31712 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31713 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31714 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31715 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31716 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31718 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31719 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
31721 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31722 place. Use VEX encoding when compiling for AVX.
31724 2011-10-25 Andreas Schwab <schwab@redhat.com>
31726 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31727 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31729 * string/test-strchr.c (do_test): Don't generate NUL bytes.
31731 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31733 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31734 useless if() expression.
31735 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31736 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31737 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31739 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31740 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31741 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31742 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31743 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31744 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31745 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31746 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31747 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31748 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31749 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31750 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31751 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31752 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31753 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31755 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31757 2011-10-25 Andreas Schwab <schwab@redhat.com>
31759 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31761 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31763 2011-10-25 Ulrich Drepper <drepper@gmail.com>
31765 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31766 .text section. Avoid duplicate constants.
31767 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31769 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31774 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31775 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31776 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31777 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31778 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31779 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31780 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31781 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31782 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31783 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31784 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31785 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31787 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31788 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31789 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31790 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31791 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31792 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31793 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31794 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31795 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31796 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31797 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31798 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31799 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31800 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31801 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31802 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31803 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31804 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31805 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31806 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31807 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31808 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31809 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31810 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31811 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31813 2011-10-24 Ulrich Drepper <drepper@gmail.com>
31815 * sysdeps/x86_64/dla.h: Move to ...
31816 * sysdeps/x86_64/fpu/dla.h: ...here.
31817 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31818 situations. Use __builtin_fma only for gcc 4.6 and up.
31820 * config.make.in: Add have-mfma4 entry.
31821 * configure.in: Substitute libc_cv_cc_fma4.
31822 * math/Makefile (dbl-only-routines): Add sincostab.
31823 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31824 Use __sincostab not sincos.
31825 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31828 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31829 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
31832 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
31833 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
31834 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31835 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31837 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31838 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31840 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
31841 define aliases when function name is a macro.
31842 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31843 sysdeps/ieee754/dbl-64/sincos.tbl.
31844 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31845 fma4-enabled routines.
31846 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31847 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31848 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31849 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31850 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31851 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31852 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31853 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31855 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31856 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31857 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31858 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31859 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31860 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31861 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31862 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31863 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31864 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31865 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31866 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31867 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31868 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31869 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31870 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31871 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31873 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31874 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31875 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31877 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31879 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31880 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31881 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31882 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31884 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31885 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31886 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31888 2011-10-24 Andreas Schwab <schwab@redhat.com>
31890 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31892 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31894 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31896 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31898 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31900 * string/strnlen.c: Don't define STRNLEN, reverse logic.
31901 Remove unused variable magic_bits.
31902 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31904 * string/strnlen.c: Define and use STRNLEN macro.
31905 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31906 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31907 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31908 * wcsmbs/wcslen.c: Define and use WCSLEN.
31909 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31910 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31911 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31912 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31913 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31914 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31915 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31917 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31920 strnlen-sse2-no-bsf.
31921 Rename strlen-no-bsf to strlen-sse2-no-bsf.
31922 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31923 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31924 Add strnlen support.
31925 (USE_AS_STRNLEN): New macro.
31926 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31927 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31928 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31929 * sysdeps/x86_64/wcslen.S: New file.
31931 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
31933 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31934 XMM-moves are used for copying on small sizes.
31936 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31938 * wcsmbs/Makefile (strop-tests): Add wcschr.
31939 * wcsmbs/test-wcschr.c: New file.
31940 * string/test-strchr.c: Update.
31941 Add wcschr support.
31944 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31946 * wcsmbs/Makefile (strop-tests): Add wcslen.
31947 * wcsmbs/test-wcslen.c: New file.
31948 * string/test-strlen.c: Update.
31949 Add wcslen support.
31952 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31954 * po/it.po: Update from translation team.
31956 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31958 * sysdeps/x86_64/wcscmp.S: Update.
31959 Fix wrong comparison semantics.
31960 wcscmp shall use signed comparison not unsigned.
31961 Don't use substraction to avoid overflow bug.
31962 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31963 * wcsmbc/wcscmp.c: Likewise.
31964 * string/test-strcmp.c: Likewise.
31965 Add new tests to check cases with negative values.
31967 2011-10-23 Ulrich Drepper <drepper@gmail.com>
31969 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31970 * sysdeps/x86_64/dla.h: ...here. New file.
31971 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31972 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31973 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31974 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31976 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31977 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31979 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31981 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
31983 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31984 __ynl_finite aliases.
31986 2011-10-22 Ulrich Drepper <drepper@gmail.com>
31988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31990 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31992 [DLA_FMA] (EMULV): Use DLA_FMA.
31993 [DLA_FMA] (MUL12): Use EMULV.
31994 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31995 that are not needed.
31996 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32004 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32006 * math/s_nan.c: Undef __nan.
32007 * math/s_nanf.c: Undef __nanf.
32008 * math/s_nanl.c: Undef __nanl.
32009 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32012 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32014 * math/s_catan.c: Add branch predictions.
32015 * math/s_catanf.c: Likewise.
32016 * math/s_catanh.c: Likewise.
32017 * math/s_catanhf.c: Likewise.
32018 * math/s_catanhl.c: Likewise.
32019 * math/s_catanl.c: Likewise.
32020 * math/s_cexp.c: Likewise.
32021 * math/s_cexpf.c: Likewise.
32022 * math/s_cexpl.c: Likewise.
32023 * math/s_clog.c: Likewise.
32024 * math/s_clog10.c: Likewise.
32025 * math/s_clog10f.c: Likewise.
32026 * math/s_clog10l.c: Likewise.
32027 * math/s_clogf.c: Likewise.
32028 * math/s_clogl.c: Likewise.
32029 * math/s_csqrt.c: Likewise.
32030 * math/s_csqrtf.c: Likewise.
32031 * math/s_csqrtl.c: Likewise.
32032 * math/s_ctanf.c: Likewise.
32033 * math/s_ctanh.c: Likewise.
32034 * math/s_ctanhf.c: Likewise.
32035 * math/s_ctanhl.c: Likewise.
32036 * math/s_ctanl.c: Likewise.
32038 * math/math_private.h: Define __nan, __nanf, __nanl.
32039 * math/s_cacosh.c: Include <math_private.h>.
32040 * math/s_cacoshl.c: Likewise.
32041 * math/s_casinh.c: Likewise.
32042 * math/s_casinhf.c: Likewise.
32043 * math/s_casinhl.c: Likewise.
32044 * math/s_ccos.c: Rely entire on ccosh.
32045 * math/s_ccosf.c: Rely entire on ccoshf.
32046 * math/s_ccosl.c: Rely entirely on ccoshl.
32047 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32048 Remove tests for FE_INVALID.
32049 * math/s_ccoshf.c: Likewise.
32050 * math/s_ccoshl.c: Likewise.
32051 * math/s_csin.c: Likewise.
32052 * math/s_csinf.c: Likewise.
32053 * math/s_csinh.c Likewise.
32054 * math/s_csinhf.c: Likewise.
32055 * math/s_csinhl.c: Likewise.
32056 * math/s_csinl.c: Likewise.
32057 * math/s_ctan.c: Likewise.
32058 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32059 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32060 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32062 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32065 compilation problems.
32067 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32070 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32072 * sysdeps/i386/configure.in: Test for -mfma4 option.
32073 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32074 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32075 COMMON_CPUID_INDEX_80000001.
32076 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32077 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32078 use it if FMA3 is not supported.
32079 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32081 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32082 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32084 2011-10-20 Andreas Schwab <schwab@redhat.com>
32087 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32088 it would create a cycle with a link time dependency.
32090 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32092 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32094 * string/Makefile (strop-tests): Add rawmemchr.
32095 * string/test-rawmemchr.c: New file.
32097 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32098 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32099 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32100 when compiling str{,n}casecmp and when AVX is available. Hook up
32101 new optimized code in initializers.
32103 2011-10-19 Andreas Schwab <schwab@redhat.com>
32105 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32106 __feraiseexcept instead of feraiseexcept.
32108 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32110 * math/math_private.h: Define defaults for libc_fetestexcept and
32112 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32113 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32114 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32115 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32116 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32117 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32118 libc_fetestexcept and libc_feupdateenv.
32120 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32121 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32122 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32123 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32124 libc_feholdexcept_setround.
32126 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32127 Add s_nearbyint-c and s_nearbyintf-c.
32128 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32129 nearbyintf inlines.
32130 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32131 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32132 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32133 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32135 * math/math_private.h: Define defaults for libc_fegetround,
32136 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32137 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32138 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32139 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32140 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32141 standard functions.
32142 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32143 Remove comments and hacks for old compiler versions.
32144 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32145 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32146 libc_feholdexceptl.
32148 2011-10-18 Andreas Schwab <schwab@redhat.com>
32150 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32151 (__feraiseexcept_renamed): Add __NTH.
32152 (feraiseexcept): Add __NTH. Rename local variables to fix
32153 namespace violations.
32155 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32157 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32159 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32161 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32162 recently added interfaces.
32163 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32165 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32166 about macro parameter expansion.
32168 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32169 __NO_MATH_INLINES is defined. Cleanups.
32171 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32172 and __floorf is target has SSE4.1.
32173 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32174 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32175 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32176 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32178 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32180 (floorf): Likewise.
32182 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32184 2011-10-17 Andreas Schwab <schwab@redhat.com>
32186 * misc/sys/cdefs.h: Fix last change.
32188 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32191 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32193 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32195 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32197 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32198 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32199 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32200 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32201 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32202 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32203 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32204 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32205 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32206 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32207 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32208 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32209 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32210 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32211 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32212 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32213 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32214 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32215 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32216 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32218 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32219 ceil, ceilf, floor, floorf.
32221 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32222 Perform IRELATIVE relocations last.
32224 * elf/do-rel.h: Add another parameter nrelative, replacing the
32225 local variable with the same name. Change name of the function
32226 to end in Rel or Rela (uppercase).
32227 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32228 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32229 elf_dynamic_do_##reloc function.
32231 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32233 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32234 is sufficient, at least on modern CPUs.
32236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32238 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32239 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32241 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32243 * math/bits/math-finite.h: Add entries for exp.
32244 * math/e_expl.c: Add __*_finite alias.
32245 * sysdeps/i386/fpu/e_exp.S: Likewise.
32246 * sysdeps/i386/fpu/e_expf.S: Likewise.
32247 * sysdeps/i386/fpu/e_expl.c: Likewise.
32248 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32249 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32250 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32252 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32253 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32254 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32256 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32257 is sufficient, at least on modern CPUs.
32259 * ctype/ctype-info.c (__ctype_init): Define.
32260 * include/ctype.h (__ctype_init): Declare.
32261 (__ctype_b_loc): The variable is always initialized.
32262 (__ctype_toupper_loc): Likewise.
32263 (__ctype_tolower_loc): Likewise.
32264 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32265 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32267 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32269 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32271 * configure.in: Also look in $cxxmachine/include for C++ system
32274 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32276 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32277 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32278 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32279 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32280 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32281 (USE_AS_WMEMCMP): New macro.
32283 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32284 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32285 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32286 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32287 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32288 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32289 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32290 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32291 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32292 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32293 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32294 (USE_AS_WMEMCMP): New macro.
32295 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32296 * sysdeps/string/test-memcmp.c: Update.
32297 Fix simple_wmemcmp.
32299 * wcsmbs/wmemcmp.c: Update.
32300 (WMEMCMP): New macro.
32303 2011-10-12 Andreas Jaeger <aj@suse.de>
32306 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32308 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32310 * libio/iofwide.c (do_length): Avoid warning.
32312 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32314 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32316 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32318 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32319 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32320 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32321 * sysdeps/i386/i686/fpu/e_log.S: New file.
32322 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32323 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32325 * ctype/ctype.h: Add support for inlined isXXX functions when
32326 compiling C++ code.
32328 2011-10-14 Andreas Schwab <schwab@redhat.com>
32330 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32332 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32334 2011-10-13 Roland McGrath <roland@hack.frob.com>
32337 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32339 2011-10-13 Andreas Schwab <schwab@redhat.com>
32341 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32342 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32345 * sysdeps/x86_64/memrchr.S: Check for zero size.
32347 * string/stratcliff.c: Add memrchr tests.
32349 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32351 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32352 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32353 rawmemchr-sse2 rawmemchr-sse2-bsf.
32354 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32355 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32356 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32357 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32358 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32359 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32360 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32361 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32362 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32363 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32364 * string/memrchr.c (MEMRCHR): New macro.
32366 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32368 Add integration with gcc's -ffinite-math-only and optimize wrapper
32370 * Versions.def: Define GLIBC_2.15 version for libm.
32371 * math/Makefile (headers): Add bits/math-finite.h.
32372 * math/bits/math-finite.h: New file.
32373 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32374 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32375 * math/e_acoshl.c: Add __*_finite alias.
32376 * math/e_acosl.c: Likewise.
32377 * math/e_asinl.c: Likewise.
32378 * math/e_atan2l.c: Likewise.
32379 * math/e_atanhl.c: Likewise.
32380 * math/e_coshl.c: Likewise.
32381 * math/e_exp10.c: Likewise.
32382 * math/e_exp10f.c: Likewise.
32383 * math/e_exp10l.c: Likewise.
32384 * math/e_exp2l.c: Likewise.
32385 * math/e_fmodl.c: Likewise.
32386 * math/e_gammal_r.c: Likewise.
32387 * math/e_hypotl.c: Likewise.
32388 * math/e_j0l.c: Likewise.
32389 * math/e_j1l.c: Likewise.
32390 * math/e_jnl.c: Likewise.
32391 * math/e_lgammal_r.c: Likewise.
32392 * math/e_log10l.c: Likewise.
32393 * math/e_log2l.c: Likewise.
32394 * math/e_logl.c: Likewise.
32395 * math/e_powl.c: Likewise.
32396 * math/e_sinhl.c: Likewise.
32397 * math/e_sqrtl.c: Likewise.
32398 * math/e_scalb.c: Completely rewritten and optimized.
32399 * math/e_scalbf.c: Likewise.
32400 * math/e_scalbl.c: Likewise.
32401 * math/w_acos.c: Likewise.
32402 * math/w_acosf.c: Likewise.
32403 * math/w_acosl.c: Likewise.
32404 * math/w_acosh.c: Likewise.
32405 * math/w_acoshf.c: Likewise.
32406 * math/w_acoshl.c: Likewise.
32407 * math/w_asin.c: Likewise.
32408 * math/w_asinf.c: Likewise.
32409 * math/w_asinl.c: Likewise.
32410 * math/w_atan2.c: Likewise.
32411 * math/w_atan2f.c: Likewise.
32412 * math/w_atan2l.c: Likewise.
32413 * math/w_atanh.c: Likewise.
32414 * math/w_atanhf.c: Likewise.
32415 * math/w_atanhl.c: Likewise.
32416 * math/w_exp10.c: Likewise.
32417 * math/w_exp10f.c: Likewise.
32418 * math/w_exp10l.c: Likewise.
32419 * math/w_fmod.c: Likewise.
32420 * math/w_fmodf.c: Likewise.
32421 * math/w_fmodl.c: Likewise.
32422 * math/w_j0.c: Likewise.
32423 * math/w_j0f.c: Likewise.
32424 * math/w_j0l.c: Likewise.
32425 * math/w_j1.c: Likewise.
32426 * math/w_j1f.c: Likewise.
32427 * math/w_j1l.c: Likewise.
32428 * math/w_jn.c: Likewise.
32429 * math/w_jnf.c: Likewise.
32430 * math/w_log.c: Likewise.
32431 * math/w_logf.c: Likewise.
32432 * math/w_logl.c: Likewise.
32433 * math/w_log10.c: Likewise.
32434 * math/w_log10f.c: Likewise.
32435 * math/w_log10l.c: Likewise.
32436 * math/w_log2.c: Likewise.
32437 * math/w_log2f.c: Likewise.
32438 * math/w_log2l.c: Likewise.
32439 * math/w_pow.c: Likewise.
32440 * math/w_powf.c: Likewise.
32441 * math/w_powl.c: Likewise.
32442 * math/w_remainder.c: Likewise.
32443 * math/w_remainderf.c: Likewise.
32444 * math/w_remainderl.c: Likewise.
32445 * math/w_scalb.c: Likewise.
32446 * math/w_scalbf.c: Likewise.
32447 * math/w_scalbl.c: Likewise.
32448 * math/w_sqrt.c: Likewise.
32449 * math/w_sqrtf.c: Likewise.
32450 * math/w_sqrtl.c: Likewise.
32451 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32452 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32454 * math/math_private.h: Declare __kernel_standard_f.
32455 * math/w_cosh.c: Remove cruft and optimize a bit.
32456 * math/w_coshf.c: Likewise.
32457 * math/w_coshl.c: Likewise.
32458 * math/w_exp2.c: Likewise.
32459 * math/w_exp2f.c: Likewise.
32460 * math/w_exp2l.c: Likewise.
32461 * math/w_hypot.c: Likewise.
32462 * math/w_hypotf.c: Likewise.
32463 * math/w_hypotl.c: Likewise.
32464 * math/w_lgamma.c: Likewise.
32465 * math/w_lgamma_r.c: Likewise.
32466 * math/w_lgammaf.c: Likewise.
32467 * math/w_lgammaf_r.c: Likewise.
32468 * math/w_lgammal.c: Likewise.
32469 * math/w_lgammal_r.c: Likewise.
32470 * math/w_sinh.c: Likewise.
32471 * math/w_sinhf.c: Likewise.
32472 * math/w_sinhl.c: Likewise.
32473 * math/w_tgamma.c: Likewise.
32474 * math/w_tgammaf.c: Likewise.
32475 * math/w_tgammal.c: Likewise.
32476 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32477 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32478 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32479 Minor optimizations. Pretty printing. Remove cruft.
32480 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32481 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32482 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32483 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32484 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32485 * sysdeps/i386/fpu/e_asin.S: Likewise.
32486 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32487 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32488 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32489 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32490 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32491 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32492 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32493 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32494 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32495 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32496 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32497 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32498 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32499 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32500 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32501 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32502 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32503 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32504 * sysdeps/i386/fpu/e_log.S: Likewise.
32505 * sysdeps/i386/fpu/e_log10.S: Likewise.
32506 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32507 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32508 * sysdeps/i386/fpu/e_log2.S: Likewise.
32509 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32510 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32511 * sysdeps/i386/fpu/e_logf.S: Likewise.
32512 * sysdeps/i386/fpu/e_logl.S: Likewise.
32513 * sysdeps/i386/fpu/e_pow.S: Likewise.
32514 * sysdeps/i386/fpu/e_powf.S: Likewise.
32515 * sysdeps/i386/fpu/e_powl.S: Likewise.
32516 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32517 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32518 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32519 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32520 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32521 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32522 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32523 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32524 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32525 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32526 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32528 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32530 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32531 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32532 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32533 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32534 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32535 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32536 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32537 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32538 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32539 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32543 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32545 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32546 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32547 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32548 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32549 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32550 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32551 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32552 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32553 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
32554 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32555 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32556 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32557 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32558 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32559 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32560 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32561 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32562 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32563 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32564 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32565 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32566 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32567 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32568 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32569 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32570 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32571 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32572 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32573 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32574 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
32575 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32576 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32577 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32578 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32579 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32580 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32581 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32582 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32583 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32584 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32585 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32586 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32587 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32588 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32589 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32590 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32591 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32592 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32593 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
32594 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32595 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32596 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32597 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32598 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32599 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32600 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32601 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32602 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32603 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32604 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32605 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32606 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32607 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
32608 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32609 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32610 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32611 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32612 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32613 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32614 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32615 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32616 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32617 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32618 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32619 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32620 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32621 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32622 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32623 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32624 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32625 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32626 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32627 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32628 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32629 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32630 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32631 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32632 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32633 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32634 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32635 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
32636 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32637 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32638 (__isnanf): Likewise.
32639 (__isinf_ns): Likewise.
32640 (__isinf_nsf): Likewise.
32641 (__finite): Likewise.
32642 (__finitef): Likewise.
32643 (__ieee754_sqrt): Define as macro.
32644 (__ieee754_sqrtf): Define as macro.
32645 (__ieee754_sqrtl): Define as macro.
32646 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32648 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32649 __FINITE_MATH_ONLY__ consistent.
32650 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32652 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
32654 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32657 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32659 2011-10-09 Ulrich Drepper <drepper@gmail.com>
32661 * po/ja.po: Update from translation team.
32663 2011-10-08 Roland McGrath <roland@hack.frob.com>
32665 * locale/programs/locarchive.c (prepare_address_space): New function.
32666 (create_archive, enlarge_archive, open_archive): Use it.
32668 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32669 inside [SHARED], where it is used.
32671 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32673 * nss/getent.c (netgroup_keys): Remove unused variable.
32674 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32676 2011-10-08 Ulrich Drepper <drepper@gmail.com>
32678 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32679 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32681 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32682 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32683 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32684 * math/Makefile (libm-calls): Add s_isinf_ns.
32685 * math/divtc3.c: Use __isinf_nsl instead of isinf.
32686 * math/multc3.c: Likewise.
32687 * math/s_casin.c: Likewise.
32688 * math/s_casinf.c: Likewise.
32689 * math/s_casinl.c: Likewise.
32690 * math/s_ccos.c: Likewise.
32691 * math/s_ccosf.c: Likewise.
32692 * math/s_ccosl.c: Likewise.
32693 * math/s_ctan.c: Likewise.
32694 * math/s_ctanf.c: Likewise.
32695 * math/s_ctanh.c: Likewise.
32696 * math/s_ctanhf.c: Likewise.
32697 * math/s_ctanhl.c: Likewise.
32698 * math/s_ctanl.c: Likewise.
32699 * math/w_fmod.c: Likewise.
32700 * math/w_fmodf.c: Likewise.
32701 * math/w_fmodl.c: Likewise.
32702 * math/w_remainder.c: Likewise.
32703 * math/w_remainderf.c: Likewise.
32704 * math/w_remainderl.c: Likewise.
32705 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32706 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32707 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32709 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32710 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32711 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32712 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32714 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32716 * stdio-common/printf_fphex.c: Likewise.
32717 * stdio-common/printf_size.c: Likewise.
32719 * math/e_exp10.c: Include math_private.h using <...> not "...".
32720 * math/e_exp10f.c: Likewise.
32721 * math/e_exp10l.c: Likewise.
32722 * math/e_exp2l.c: Likewise.
32723 * math/e_j0l.c: Likewise.
32724 * math/e_j1l.c: Likewise.
32725 * math/e_jnl.c: Likewise.
32726 * math/e_lgammal_r.c: Likewise.
32727 * math/e_rem_pio2l.c: Likewise.
32728 * math/e_scalb.c: Likewise.
32729 * math/e_scalbf.c: Likewise.
32730 * math/e_scalbl.c: Likewise.
32731 * math/k_cosl.c: Likewise.
32732 * math/k_sinl.c: Likewise.
32733 * math/k_tanl.c: Likewise.
32734 * math/s_cacoshf.c: Likewise.
32735 * math/s_catan.c: Likewise.
32736 * math/s_catanf.c: Likewise.
32737 * math/s_catanh.c: Likewise.
32738 * math/s_catanhf.c: Likewise.
32739 * math/s_catanhl.c: Likewise.
32740 * math/s_catanl.c: Likewise.
32741 * math/s_ccosh.c: Likewise.
32742 * math/s_ccoshf.c: Likewise.
32743 * math/s_ccoshl.c: Likewise.
32744 * math/s_cexp.c: Likewise.
32745 * math/s_cexpf.c: Likewise.
32746 * math/s_cexpl.c: Likewise.
32747 * math/s_clog.c: Likewise.
32748 * math/s_clog10.c: Likewise.
32749 * math/s_clog10f.c: Likewise.
32750 * math/s_clog10l.c: Likewise.
32751 * math/s_clogf.c: Likewise.
32752 * math/s_clogl.c: Likewise.
32753 * math/s_csin.c: Likewise.
32754 * math/s_csinf.c: Likewise.
32755 * math/s_csinh.c: Likewise.
32756 * math/s_csinhf.c: Likewise.
32757 * math/s_csinhl.c: Likewise.
32758 * math/s_csinl.c: Likewise.
32759 * math/s_csqrt.c: Likewise.
32760 * math/s_csqrtf.c: Likewise.
32761 * math/s_csqrtl.c: Likewise.
32762 * math/s_ctan.c: Likewise.
32763 * math/s_ctanf.c: Likewise.
32764 * math/s_ctanh.c: Likewise.
32765 * math/s_ctanhf.c: Likewise.
32766 * math/s_ctanhl.c: Likewise.
32767 * math/s_ctanl.c: Likewise.
32768 * math/s_ldexp.c: Likewise.
32769 * math/s_ldexpf.c: Likewise.
32770 * math/s_ldexpl.c: Likewise.
32771 * math/s_significand.c: Likewise.
32772 * math/s_significandf.c: Likewise.
32773 * math/s_significandl.c: Likewise.
32774 * math/w_acos.c: Likewise.
32775 * math/w_acosf.c: Likewise.
32776 * math/w_acosh.c: Likewise.
32777 * math/w_acoshf.c: Likewise.
32778 * math/w_acoshl.c: Likewise.
32779 * math/w_acosl.c: Likewise.
32780 * math/w_asin.c: Likewise.
32781 * math/w_asinf.c: Likewise.
32782 * math/w_asinl.c: Likewise.
32783 * math/w_atan2.c: Likewise.
32784 * math/w_atan2f.c: Likewise.
32785 * math/w_atan2l.c: Likewise.
32786 * math/w_atanh.c: Likewise.
32787 * math/w_atanhf.c: Likewise.
32788 * math/w_atanhl.c: Likewise.
32789 * math/w_cosh.c: Likewise.
32790 * math/w_coshf.c: Likewise.
32791 * math/w_coshl.c: Likewise.
32792 * math/w_dremf.c: Likewise.
32793 * math/w_exp10.c: Likewise.
32794 * math/w_exp10f.c: Likewise.
32795 * math/w_exp10l.c: Likewise.
32796 * math/w_exp2.c: Likewise.
32797 * math/w_exp2f.c: Likewise.
32798 * math/w_fmod.c: Likewise.
32799 * math/w_fmodf.c: Likewise.
32800 * math/w_fmodl.c: Likewise.
32801 * math/w_hypot.c: Likewise.
32802 * math/w_hypotf.c: Likewise.
32803 * math/w_hypotl.c: Likewise.
32804 * math/w_j0.c: Likewise.
32805 * math/w_j0f.c: Likewise.
32806 * math/w_j0l.c: Likewise.
32807 * math/w_j1.c: Likewise.
32808 * math/w_j1f.c: Likewise.
32809 * math/w_j1l.c: Likewise.
32810 * math/w_jn.c: Likewise.
32811 * math/w_jnf.c: Likewise.
32812 * math/w_jnl.c: Likewise.
32813 * math/w_lgamma.c: Likewise.
32814 * math/w_lgamma_r.c: Likewise.
32815 * math/w_lgammaf.c: Likewise.
32816 * math/w_lgammaf_r.c: Likewise.
32817 * math/w_lgammal.c: Likewise.
32818 * math/w_lgammal_r.c: Likewise.
32819 * math/w_log.c: Likewise.
32820 * math/w_log10.c: Likewise.
32821 * math/w_log10f.c: Likewise.
32822 * math/w_log10l.c: Likewise.
32823 * math/w_log2.c: Likewise.
32824 * math/w_log2f.c: Likewise.
32825 * math/w_log2l.c: Likewise.
32826 * math/w_logf.c: Likewise.
32827 * math/w_logl.c: Likewise.
32828 * math/w_pow.c: Likewise.
32829 * math/w_powf.c: Likewise.
32830 * math/w_powl.c: Likewise.
32831 * math/w_remainder.c: Likewise.
32832 * math/w_remainderf.c: Likewise.
32833 * math/w_remainderl.c: Likewise.
32834 * math/w_scalb.c: Likewise.
32835 * math/w_scalbf.c: Likewise.
32836 * math/w_scalbl.c: Likewise.
32837 * math/w_sinh.c: Likewise.
32838 * math/w_sinhf.c: Likewise.
32839 * math/w_sinhl.c: Likewise.
32840 * math/w_sqrt.c: Likewise.
32841 * math/w_sqrtf.c: Likewise.
32842 * math/w_sqrtl.c: Likewise.
32843 * math/w_tgamma.c: Likewise.
32844 * math/w_tgammaf.c: Likewise.
32845 * math/w_tgammal.c: Likewise.
32847 * po/ja.po: Update from translation team.
32849 2011-09-29 Andreas Jaeger <aj@suse.de>
32852 * sunrpc/netname.c (netname2host): Fix logic.
32856 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32858 * math/w_remainder.c (__remainder): Likewise.
32859 * math/w_remainderf.c (__remainderf): Likewise.
32860 * math/libm-test.inc (remainder_test): Add test cases.
32862 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32864 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
32867 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32869 * string/test-memcmp.c: Avoid unncessary #defines.
32870 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32872 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32874 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32875 Use new sse2 version for core i3 - i7 as it's faster
32876 than sse42 version.
32877 (bit_Prefer_PMINUB_for_stringop): New.
32878 * sysdeps/x86_64/rawmemchr.S: Update.
32879 Replace with faster SSE2 version.
32880 * sysdeps/x86_64/memrchr.S: New file.
32881 * sysdeps/x86_64/memchr.S: Update.
32882 Replace with faster SSE2 version.
32884 2011-09-12 Marek Polacek <mpolacek@redhat.com>
32886 * elf/dl-load.c (lose): Add cast to avoid warning.
32888 2011-10-07 Ulrich Drepper <drepper@gmail.com>
32890 * po/ca.po: Update from translation team.
32892 * inet/getnetgrent_r.c: Hook up nscd.
32893 * nscd/Makefile (routines): Add nscd_netgroup.
32894 (nscd-modules): Add netgroupcache.
32895 (CFLAGS-netgroupcache.c): Define.
32896 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32897 (cache_search): Add const to second parameter.
32898 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32900 (dbs): Add netgrdb entry.
32901 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32902 (verify_persistent_db): Handle netgrdb.
32903 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32904 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32906 (netgroup_response_header): Define.
32907 (innetgroup_response_header): Define.
32908 (datahead): Add netgroup_response_header and innetgroup_response_header
32910 * nscd/nscd.conf: Add entries for netgroup cache.
32911 * nscd/nscd.h (dbtype): Add netgrdb.
32912 (_PATH_NSCD_NETGROUP_DB): Define.
32913 (netgroup_iov_disabled): Declare.
32914 (xmalloc, xcalloc, xrealloc): Move declarations here.
32915 (cache_search): Adjust prototype.
32916 Add netgroup-related prototypes.
32917 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32918 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32919 (__nscd_innetgr): Declare.
32920 * nscd/selinux.c (perms): Use access_vector_t as element type and
32921 add netgroup-related initializers.
32922 * nscd/netgroupcache.c: New file.
32923 * nscd/nscd_netgroup.c: New file.
32924 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32925 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32926 For four parameters use innetgr.
32927 * nss/nss_files/files-init.c: Add definition and callback for netgr.
32928 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32929 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32930 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32932 * nscd/connections.c (register_traced_file): Don't register file
32933 for disabled databases.
32935 2011-10-06 Ulrich Drepper <drepper@gmail.com>
32937 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32939 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32940 from tree and freeing node.
32942 2011-09-25 Jiri Olsa <jolsa@redhat.com>
32944 * nss/nsswitch.c (__nss_database_lookup): Handle
32945 nss_parse_service_list out of memory case.
32947 2011-09-15 Jiri Olsa <jolsa@redhat.com>
32949 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32950 out of memory case.
32952 2011-10-04 Andreas Schwab <schwab@redhat.com>
32954 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32955 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32957 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32958 elf_machine_rela, elf_machine_lazy_rel.
32959 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32960 (ELF_DYNAMIC_DO_REL): Likewise.
32961 (ELF_DYNAMIC_DO_RELA): Likewise.
32962 (ELF_DYNAMIC_RELOCATE): Likewise.
32963 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32964 to ELF_DYNAMIC_DO_REL.
32965 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32966 (dl_main): In trace mode always set __RTLD_NOIFUNC.
32967 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32969 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32970 skip_ifunc, don't call ifunc function if non-zero.
32971 (elf_machine_rela): Likewise.
32972 (elf_machine_lazy_rel): Likewise.
32973 (elf_machine_lazy_rela): Likewise.
32974 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32975 (elf_machine_lazy_rel): Likewise.
32976 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32978 (elf_machine_lazy_rel): Likewise.
32979 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32981 (elf_machine_lazy_rel): Likewise.
32982 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32983 (elf_machine_lazy_rel): Likewise.
32984 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32985 (elf_machine_lazy_rel): Likewise.
32986 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32987 (elf_machine_lazy_rel): Likewise.
32988 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32989 (elf_machine_lazy_rel): Likewise.
32990 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32991 (elf_machine_lazy_rel): Likewise.
32992 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32993 (elf_machine_lazy_rel): Likewise.
32995 2011-09-28 Ulrich Drepper <drepper@gmail.com>
32997 * nss/nss_files/files-init.c (_nss_files_init): Use static
32998 initialization for all the *_traced_file variables.
33000 2011-09-28 Andreas Schwab <schwab@redhat.com>
33002 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33004 2011-09-27 Roland McGrath <roland@hack.frob.com>
33007 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33009 2011-09-27 Andreas Schwab <schwab@redhat.com>
33011 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33012 Reread the line before reparsing it.
33014 2011-09-26 Andreas Schwab <schwab@redhat.com>
33016 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33018 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33019 Maxim Kuvyrkov <maxim@codesourcery.com>
33020 Joseph Myers <joseph@codesourcery.com>
33022 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33023 if needed for __stack_chk_guard.
33025 2011-09-19 Roland McGrath <roland@hack.frob.com>
33027 * sysdeps/posix/spawni.c (script_execute): Always define it.
33028 It will be optimized away if unused.
33029 (maybe_script_execute): New function.
33030 (__spawni): Call it.
33032 * Makerules: Don't include tls.make.
33033 (config-tls): Always set to thread.
33034 * tls.make.c: File removed.
33036 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33038 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33039 * config.make.in (CPPFLAGS-config): New substituted variable.
33041 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33043 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33046 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33047 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33049 2011-09-15 Roland McGrath <roland@hack.frob.com>
33051 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33052 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33053 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33054 (CALL_FAIL): Likewise.
33055 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33056 (CALL_FAIL): Macro removed.
33057 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33059 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33061 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33062 for __FINITE_MATH_ONLY__ == 1.
33064 2011-09-15 Andreas Schwab <schwab@redhat.com>
33066 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33067 __ieee754_sqrt instead of sqrt.
33068 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33069 __ieee754_sqrtf instead of sqrtf.
33070 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33071 __floorf instead of floorf.
33072 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33073 __floorf, __truncf instead of floorf, truncf.
33075 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33077 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33079 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33080 __extern_always_inline.
33081 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33084 2011-09-14 Andreas Schwab <schwab@redhat.com>
33086 * elf/rtld.c (dl_main): Also relocate in dependency order when
33087 doing symbol dependency testing.
33089 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33091 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33092 Always define `refsym'.
33094 2011-09-13 Andreas Schwab <schwab@redhat.com>
33096 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33097 (__FD_ELT): Renamed from __FDELT.
33098 * misc/bits/select2.h (__FD_ELT): Likewise.
33099 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33100 __FD_MASK instead of __FDELT, __FDMASK.
33101 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33103 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33106 * elf/Makefile (gen-ldd): Fix pattern.
33108 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33109 (init_tls): Likewise.
33111 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33113 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33115 2011-09-12 Andreas Schwab <schwab@redhat.com>
33117 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33118 `struct cmsghdr *' instead of `void *'.
33119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33122 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33124 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33126 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33127 ldd_rewrite_script.
33129 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33131 * configure.in: Remove --with-tls option.
33132 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33133 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33134 out in case it is missing.
33135 * sysdeps/ia64/elf/configure.in: Likewise.
33136 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33137 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33138 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33139 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33140 * sysdeps/sh/elf/configure.in: Likewise.
33141 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33142 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33143 * sysdeps/x86_64/elf/configure.in: Likewise.
33144 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33145 * sysdeps/mach/hurd/tls.h: Likewise.
33148 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33151 * configure.in: Fix use of AC_INIT.
33153 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33155 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33157 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33159 * malloc/hooks.c: Likewise.
33162 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33163 variables statically.
33164 (narenas): Initialize.
33165 (list_lock): Initialize.
33166 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33167 initializtion of main_arena and list_lock. Small cleanups.
33168 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33169 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33170 Add initializers to main_arena and mp_.
33171 (malloc_state): Remove pagesize member. Change all users to use
33174 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33175 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33176 is always initialized.
33178 * malloc/malloc.c: Removed unused configurations and dead code.
33179 * malloc/arena.c: Likewise.
33180 * malloc/hooks.c: Likewise.
33181 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33183 * include/tls.h: Removed. USE___THREAD must always be defined.
33184 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33185 * elf/dl-libc.c: Likewise.
33186 * elf/dl-tsd.c: Likewise.
33187 * include/errno.h: Likewise.
33188 * include/netdb.h: Likewise.
33189 * include/resolv.h: Likewise.
33190 * inet/herrno-loc.c: Likewise.
33191 * inet/herrno.c: Likewise.
33192 * malloc/arena.c: Likewise.
33193 * malloc/hooks.c: Likewise.
33194 * malloc/malloc.c: Likewise.
33195 * resolv/res-state.c: Likewise.
33196 * resolv/res_libc.c: Likewise.
33197 * sysdeps/i386/dl-machine.h: Likewise.
33198 * sysdeps/ia64/dl-machine.h: Likewise.
33199 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33200 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33201 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33202 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33203 * sysdeps/sh/dl-machine.h: Likewise.
33204 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33205 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33206 * sysdeps/unix/i386/sysdep.S: Likewise.
33207 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33208 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33209 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33210 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33211 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33213 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33217 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33218 * sysdeps/x86_64/dl-machine.h: Likewise.
33219 * tls.make.c: Likewise.
33221 * configure.in: Remove --with-__thread option. Make tests for
33222 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33223 tls_model attribute fail if no support is available. Remove
33225 * Makeconfig: Adjust for dropped configure option. All features are
33227 * Makerules: Likewise.
33228 * Versions.def: Likewise.
33229 * argp/argp-fmtstream.c: Likewise.
33230 * argp/argp-fmtstream.h: Likewise.
33231 * argp/argp-help.c: Likewise.
33232 * assert/assert.c: Likewise.
33233 * config.h.in: Likewise.
33234 * config.make.in: Likewise.
33235 * configure: Likewise.
33236 * configure.in: Likewise.
33237 * csu/Versions: Likewise.
33238 * csu/init.c: Likewise.
33239 * elf/tst-audit2.c: Likewise.
33240 * elf/tst-tls10.c: Likewise.
33241 * elf/tst-tls10.h: Likewise.
33242 * elf/tst-tls11.c: Likewise.
33243 * elf/tst-tls12.c: Likewise.
33244 * elf/tst-tls14.c: Likewise.
33245 * elf/tst-tlsmod11.c: Likewise.
33246 * elf/tst-tlsmod12.c: Likewise.
33247 * elf/tst-tlsmod13.c: Likewise.
33248 * elf/tst-tlsmod13a.c: Likewise.
33249 * elf/tst-tlsmod14a.c: Likewise.
33250 * elf/tst-tlsmod15b.c: Likewise.
33251 * elf/tst-tlsmod16a.c: Likewise.
33252 * elf/tst-tlsmod16b.c: Likewise.
33253 * elf/tst-tlsmod7.c: Likewise.
33254 * elf/tst-tlsmod8.c: Likewise.
33255 * elf/tst-tlsmod9.c: Likewise.
33256 * gmon/gmon.c: Likewise.
33257 * grp/fgetgrent_r.c: Likewise.
33258 * grp/putgrent.c: Likewise.
33259 * hurd/fopenport.c: Likewise.
33260 * include/libc-symbols.h: Likewise.
33261 * include/tls.h: Likewise.
33262 * intl/gettextP.h: Likewise.
33263 * intl/loadinfo.h: Likewise.
33264 * locale/global-locale.c: Likewise.
33265 * locale/localeinfo.h: Likewise.
33266 * mach/devstream.c: Likewise.
33267 * malloc/arena.c: Likewise.
33268 * malloc/set-freeres.c: Likewise.
33269 * misc/err.c: Likewise.
33270 * misc/getttyent.c: Likewise.
33271 * misc/mntent_r.c: Likewise.
33272 * posix/getopt.c: Likewise.
33273 * posix/wordexp.c: Likewise.
33274 * pwd/fgetpwent_r.c: Likewise.
33275 * resolv/Versions: Likewise.
33276 * resolv/res_hconf.c: Likewise.
33277 * shadow/fgetspent_r.c: Likewise.
33278 * shadow/putspent.c: Likewise.
33279 * stdio-common/printf_fphex.c: Likewise.
33280 * stdio-common/tmpfile.c: Likewise.
33281 * stdlib/abort.c: Likewise.
33282 * stdlib/fmtmsg.c: Likewise.
33283 * sunrpc/auth_unix.c: Likewise.
33284 * sunrpc/clnt_perr.c: Likewise.
33285 * sunrpc/clnt_tcp.c: Likewise.
33286 * sunrpc/clnt_udp.c: Likewise.
33287 * sunrpc/clnt_unix.c: Likewise.
33288 * sunrpc/openchild.c: Likewise.
33289 * sunrpc/svc_simple.c: Likewise.
33290 * sunrpc/svc_tcp.c: Likewise.
33291 * sunrpc/svc_udp.c: Likewise.
33292 * sunrpc/svc_unix.c: Likewise.
33293 * sunrpc/xdr.c: Likewise.
33294 * sunrpc/xdr_array.c: Likewise.
33295 * sunrpc/xdr_rec.c: Likewise.
33296 * sunrpc/xdr_ref.c: Likewise.
33297 * sunrpc/xdr_stdio.c: Likewise.
33299 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33301 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33303 2011-07-03 Andreas Jaeger <aj@suse.de>
33305 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33306 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33307 regenerate with gen-libm-tests.pl.
33309 2010-05-12 Petr Baudis <pasky@suse.cz>
33312 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33313 around j0() zero points by switching to j1().
33314 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33315 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33316 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33317 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33319 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33321 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33323 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33326 Patch in part by Pavel Roskin <proski@gnu.org>.
33329 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33331 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33332 Free memory block if necessary.
33335 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33336 be NULL. Don't lock in this case.
33338 2011-09-09 Roland McGrath <roland@hack.frob.com>
33340 * elf/elf.h (ELFOSABI_GNU): New macro.
33341 (ELFOSABI_LINUX): Define to that.
33343 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33345 * string/strncat.c (strncat): Undef the symbol in case it has been
33346 defined in bits/string.h.
33348 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33350 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33352 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33355 2011-08-17 Andreas Jaeger <aj@suse.de>
33357 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33359 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33360 Ian Lance Taylor <iant@google.com>
33362 * math/libm-test.inc (lround_test): New testcase.
33363 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33365 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33367 * Makefile: Remove support for automatic cvs check-ins.
33368 * Makerules: Likewise.
33369 * config.make.in: Likewise.
33370 * configure.in: Likewise.
33371 * intl/Makefile: Likewise.
33372 * locale/Makefile: Likewise.
33373 * po/Makefile: Likewise.
33374 * posix/Makefile: Likewise.
33375 * sysdeps/gnu/Makefile: Likewise.
33376 * sysdeps/mach/hurd/Makefile: Likewise.
33377 * sysdeps/sparc/sparc32/Makefile: Likewise.
33380 * posix/Makefile (bug-regex32-ENV): Define.
33381 Patch by John Stanley <jpsinthemix@verizon.net>.
33383 * misc/Makefile (headers): Add bits/select2.h.
33384 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33385 * misc/bits/select2.h: New file.
33386 * include/bits/select2.h: New file.
33387 * debug/Makefile (routines): Add fdelt_chk.
33388 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33389 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33391 * debug/fdelt_chk.c: New file.
33393 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33394 * wcsmbs/test-wmemcmp.c: Likewise.
33395 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33396 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33398 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33400 * string/Makefile (strop-tests): Add memcmp.
33401 * string/test-wmemcmp.c: New file.
33402 * string/test-memcmp.c: Add wmemcmp support.
33404 2011-09-08 Roland McGrath <roland@hack.frob.com>
33407 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33410 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33411 garbage value in a __mach_port_mod_refs call in the cases of the
33412 task-self and thread-self ports.
33414 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33416 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33418 2011-09-08 Andreas Schwab <schwab@redhat.com>
33420 * elf/dl-load.c (lose): Check for non-null L.
33422 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33424 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33426 * elf/dl-libc.c (dlerror_run): Pass back error code from
33430 * elf/dl-load.c (lose): Free l_origin if it is valid.
33432 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33434 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33435 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33436 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33437 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33438 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33439 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33441 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33443 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33444 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33445 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33446 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33447 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33448 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33449 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33450 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33451 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33452 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33454 2011-08-15 Alan Modra <amodra@gmail.com>
33457 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33458 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33459 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33460 ppc_mcount to static-only-routines.
33461 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33463 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33464 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33466 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33468 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33469 for finite and infinity parameters.
33471 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33473 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33474 and add nop instructions for throughput optimization.
33475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33477 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33479 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33480 aligned copy for power7 with vector-scalar instructions.
33481 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33483 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33488 2011-09-07 Andreas Schwab <schwab@redhat.com>
33491 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33494 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33496 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33497 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33498 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33499 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33502 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33504 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33505 Forgot to demangle the pointer.
33507 * sysdeps/i386/sysdep.h: Define atom_text_section.
33508 * sysdeps/x86_64/sysdep.h: Likewise.
33509 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33510 section with atom_text_section.
33511 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33512 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33513 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33514 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33515 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33517 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33518 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33519 already be defined. Change to take two parameters and don't assign
33520 result to variable. Adjust all users.
33521 Define INTERNAL_GETTIME if not already defined.
33522 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33525 HAVE_CLOCK_GETTIME_VSYSCALL.
33526 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33528 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33529 gettimeofday vsyscall, just use time.
33531 2011-09-06 Andreas Schwab <schwab@redhat.com>
33533 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33536 2011-09-06 Ulrich Drepper <drepper@gmail.com>
33538 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
33540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
33542 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33543 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
33544 syscall if possible.
33546 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33548 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
33549 e_ident. Don't pass to find_mapsXX.
33550 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
33552 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33555 strchr-sse2-no-bsf strrchr-sse2-no-bsf
33556 * sysdeps/x86_64/multiarch/strchr.S: Update.
33557 Check bit_slow_BSF bit.
33558 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33559 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
33560 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
33562 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33565 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
33567 (tryshell): Define.
33568 (__spawni): Change last parameter to be flag. Test
33569 SPAWN_XFLAGS_USE_PATH flag to use path or not.
33570 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
33571 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
33572 * posix/spawni.c: Likewise.
33573 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
33574 * posix/spawnp.c: Likewise. Change normal version to use
33575 SPAWN_XFLAGS_USE_PATH.
33576 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
33577 SPAWN_XFLAGS_TRY_SHELL.
33580 * posix/glob.h: Remove gcc 1.x support.
33583 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
33585 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33588 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
33590 * sysdeps/i386/i686/multiarch/strchr.S: New file.
33591 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
33592 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
33593 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
33594 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
33595 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
33597 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33599 * sysdeps/x86_64/wcscmp.S: New file.
33601 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
33602 wcscmp-c wcscmp-sse2
33603 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
33604 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
33605 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
33606 * wcsmbs/wcscmp.c: Allow renaming.
33608 2011-09-05 David S. Miller <davem@davemloft.net>
33610 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
33611 stack slot, rather than the struct return pointer slot.
33612 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
33613 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
33614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
33615 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
33617 2011-09-05 Ulrich Drepper <drepper@gmail.com>
33619 * po/ja.po: Update from translation team.
33622 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33623 kernel in 64-bit binaries.
33625 2011-09-01 David S. Miller <davem@davemloft.net>
33627 * elf/elf.h (HWCAP_SPARC_*): Move to..
33628 * sysdeps/sparc/sysdep.h: this new file and add new values.
33629 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33630 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33631 _DL_HWCAP_COUNT to 24.
33632 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33634 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33635 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33636 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33637 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33638 instead of magic constants.
33639 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33641 2011-08-31 David S. Miller <davem@davemloft.net>
33643 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33645 Reimplement to do errno handling inline.
33646 (SYSCALL_ERROR_HANDLER): New macro.
33647 (__SYSCALL_STRING): Do not do errno handling in asm.
33648 (__CLONE_SYSCALL_STRING): Delete.
33649 (__INTERNAL_SYSCALL_STRING): Delete.
33650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33651 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33652 (PSEUDO): Reimplement to do errno handling inline.
33653 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33654 (SYSCALL_ERROR_HANDLER): New macro.
33655 (__SYSCALL_STRING): Do not do errno handling in asm.
33656 (__CLONE_SYSCALL_STRING): Delete.
33657 (__INTERNAL_SYSCALL_STRING): Delete.
33658 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33659 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33661 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33662 (inline_syscall*): Add 'err' argument.
33663 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33664 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33665 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33666 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33668 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33669 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33671 2011-08-30 Andreas Schwab <schwab@redhat.com>
33673 * elf/rtld.c (dl_main): Relocate objects in dependency order.
33675 2011-08-29 Jiri Olsa <jolsa@redhat.com>
33677 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33680 2011-08-24 David S. Miller <davem@davemloft.net>
33682 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33684 2011-08-24 Andreas Schwab <schwab@redhat.com>
33686 * elf/Makefile: Add rules to build and run unload8 test.
33687 * elf/unload8.c: New file.
33688 * elf/unload8mod1.c: New file.
33689 * elf/unload8mod1x.c: New file.
33690 * elf/unload8mod2.c: New file.
33691 * elf/unload8mod3.c: New file.
33693 * elf/dl-close.c (_dl_close_worker): Reset private search list if
33696 2011-08-23 David S. Miller <davem@davemloft.net>
33698 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33699 subtract stack bias.
33700 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33701 %sp not %fp in calculations.
33702 (_JMPBUF_UNWINDS_ADJ): Likewise.
33704 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33705 (aio_suspend): Call it to force an exception region around the
33706 AIO_MISC_WAIT() invocation.
33708 2011-08-23 Andreas Schwab <schwab@redhat.com>
33710 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33713 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
33715 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33717 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33718 and <dl-machine.h>.
33719 (Elf64_FuncDesc): Remove.
33721 2011-08-22 David S. Miller <davem@davemloft.net>
33723 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33724 sigaltstack check, add missing cfi directives.
33725 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33726 missing cfi directives, and sigaltstack handling.
33728 2011-08-16 Andreas Schwab <schwab@redhat.com>
33731 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33732 object is seen twice.
33733 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33735 * elf/Makefile (distribute): Add tst-initorder2.c.
33736 (tests): Add tst-initorder2.
33737 (modules-names): Add tst-initorder2a tst-initorder2b
33738 tst-initorder2c tst-initorder2d. Add rules to build them.
33739 ($(objpfx)tst-initorder2.out): New rule.
33740 * elf/tst-initorder2.c: New file.
33741 * elf/tst-initorder2.exp: New file.
33743 2011-08-22 Andreas Schwab <schwab@redhat.com>
33745 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33747 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33748 dependencies back to end of function.
33750 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33751 $(elfobjdir)/ld.so.
33753 2011-08-21 Ulrich Drepper <drepper@gmail.com>
33755 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33756 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33758 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33759 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33760 of __vdso_gettimeofday.
33761 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33762 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
33764 (_libc_vdso_platform_setup): Remove initialization of
33765 __vdso_gettimeofday and __vdso_time.
33767 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33769 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33770 and fgetc_unlocked.
33771 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33774 * elf/dl-open.c (add_to_global): Report additions to the global scope
33775 for LD_DEBUG=scopes.
33776 (dl_open_worker): Also print scope of newly loaded dependencies.
33777 (_dl_show_scope): Indicate if there is no scope.
33780 * stdio-common/Makefile (tests): Add bug24.
33781 * stdio-common/bug24.c: New file.
33783 2011-08-19 Andreas Jaeger <aj@suse.de>
33786 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33787 non-existant file when using close-on-exec mode.
33789 2011-08-20 Ulrich Drepper <drepper@gmail.com>
33791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33792 the very first instruction.
33794 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33795 the CFI state in the end.
33796 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33797 inclusion of dl-trampoline.h.
33798 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33800 2011-08-19 Andreas Schwab <schwab@redhat.com>
33802 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33803 expectations for long double.
33805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33806 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33808 2011-08-14 David S. Miller <davem@davemloft.net>
33810 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33811 artificual limit depends upon the system page size.
33813 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33815 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33816 * resolv/Makefile: Define CFLAGS-libresolv.
33818 2011-08-17 Andreas Schwab <schwab@redhat.com>
33820 * nss/makedb.c (compute_tables): Make variables used in nested
33823 2011-08-17 Ulrich Drepper <drepper@gmail.com>
33825 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33826 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33827 if buffer was too small.
33829 * elf/pldd.c (main): Attach to all threads in the process.
33830 Rewrite /proc handling to use *at functions.
33832 2011-08-16 Ulrich Drepper <drepper@gmail.com>
33834 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33835 specifies first scope to show.
33836 (dl_open_worker): Update callers. Move printing scope of new
33837 object to before the relocation.
33838 * elf/rtld.c (dl_main): Update _dl_show_scope call.
33839 * sysdeps/generic/ldsodefs.h: Update declaration.
33841 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33842 string for the scope number.
33844 2011-08-14 Ulrich Drepper <drepper@gmail.com>
33846 * nscd/servicescache.c (cache_addserv): Make sure written is always
33849 2011-08-14 Roland McGrath <roland@hack.frob.com>
33851 * sysdeps/i386/i486/bits/atomic.h
33852 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33853 statement expression, so as to suppress "set but not used" warning.
33854 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33856 * string/strncat.c (STRNCAT): Use prototype definition.
33858 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33859 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33861 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33862 (localedef-modules): Add localedef.
33863 (locale-modules): Add locale.
33865 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33866 * elf/rtld.c (dl_main): Invert order of assignment in last change,
33867 to avoid a warning.
33869 2011-08-14 David S. Miller <davem@davemloft.net>
33871 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33872 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33874 2011-08-13 Ulrich Drepper <drepper@gmail.com>
33876 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33877 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33878 * elf/rtld.c (dl_main): Set l_name of vDSO.
33879 Call _dl_show_scope when DL_DEBUG_SCOPES.
33880 (process_dl_debug): Recognize scopes flag and also set it for all.
33881 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33882 Declare _dl_show_scope.
33884 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33885 (do_dlopen): Pass caller_dlopen to dl_open.
33886 (__libc_dlopen_mode): Initialize caller_dlopen.
33888 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33889 of libc. Make tolower call locale-independent. Optimize a bit by
33890 using isdigit instead of isalnum.
33891 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33893 2011-08-12 Ulrich Drepper <drepper@gmail.com>
33895 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33896 was a dependency or dynamically loaded.
33898 2011-08-11 Ulrich Drepper <drepper@gmail.com>
33900 * intl/l10nflist.c: Allow architecture-specific pop function.
33901 * sysdeps/x86_64/l10nflist.c: New file.
33903 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33906 2011-08-10 Andreas Schwab <schwab@redhat.com>
33908 * include/dirent.h: Add libc_hidden_proto for scandirat and
33909 scandirat64. Don't declare __scandirat64.
33910 * dirent/scandirat.c: Add libc_hidden_def.
33911 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33912 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33914 2011-08-10 David S. Miller <davem@davemloft.net>
33916 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33918 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33919 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33920 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33922 2011-08-09 Ulrich Drepper <drepper@gmail.com>
33924 * Versions.def [libc]: Add GLIBC_2.15.
33925 * dirent/Makefile (routines): Add scandirat and scandirat64.
33926 * dirent/Versions [libc]: Export scandirat and scandirat64 for
33928 * dirent/dirent.h: Declare scandirat and scandirat64.
33929 * dirent/scandirat.c: New file.
33930 * dirent/scandirat64.c: New file.
33931 * sysdeps/wordsize-64/scandirat.c: New file.
33932 * sysdeps/wordsize-64/scandirat64.c: New file.
33933 * dirent/opendir.c: Define opendirat.
33934 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
33936 * dirent/scandir64.c: Adjust for scandir.c change.
33937 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
33938 __scandirat64, and __scandir_cancel_handler.
33939 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
33940 additional parameter and use openat instead of open (outside of ld.so).
33941 Add new __opendir as wrapper around __opendirat.
33942 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33943 here without requiring old scandirat implementation.
33945 2011-08-08 Ulrich Drepper <drepper@gmail.com>
33947 * dirent/scandir.c (cancel_handler): Renamed to
33948 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
33949 defined. Adjust users.
33950 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33951 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33953 2011-08-04 Ulrich Drepper <drepper@gmail.com>
33955 * string/test-string.h (IMPL): Use __STRING to expand name and then
33958 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
33961 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33963 * string/Makefile: Update.
33964 (strop-tests): Append strncat.
33965 * string/test-wcscmp.c: New file.
33966 New comprehensive test for wcscmp.
33967 * string/test-strcmp.c: Update.
33968 (WIDE): New define.
33970 2011-07-22 Andreas Schwab <schwab@redhat.com>
33972 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33975 2011-07-26 Andreas Schwab <schwab@redhat.com>
33977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33978 encoding to ACE if AI_IDN.
33980 2011-08-01 Jakub Jelinek <jakub@redhat.com>
33982 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33983 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33985 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33987 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33988 Fix overflow bug in strncat.
33989 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33991 * string/test-strncat.c: Update.
33992 Add new tests for checking overflow bugs.
33994 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33997 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33998 * sysdeps/i386/i686/multiarch/strcat.S: New file.
33999 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34000 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34001 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34002 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34003 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34004 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34006 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34007 (USE_AS_STRCAT): Define.
34008 Add strcat and strncat support.
34009 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34011 2011-07-25 Andreas Schwab <schwab@redhat.com>
34013 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34014 __n bigger than INT_MAX+1.
34015 (__strncmp_g): Likewise.
34017 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34019 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34020 * libio/stido.h: Likewise.
34022 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34024 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34027 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34028 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34029 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34030 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34034 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34037 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34039 (_dl_x86_64_save_sse): Likewise.
34041 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34043 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34045 (_dl_x86_64_save_sse): Likewise.
34047 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34049 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34051 2011-07-21 Andreas Schwab <schwab@redhat.com>
34053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34055 (_dl_x86_64_save_sse): Use correct AVX check.
34057 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34059 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34060 bug in strncpy/strncat.
34061 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34063 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34065 * string/tester.c (test_strcat): Add tests for different alignments
34066 of source and destination.
34067 (test_strncat): Likewise.
34069 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34072 * posix/glob.c (glob): Check passed in values before using them in
34073 expressions to avoid some overflows.
34074 (glob_in_dir): Likewise.
34077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34078 check for AVX enablement so that we don't crash with old kernels and
34080 * elf/tst-audit4.c: Add same checks here.
34081 * elf/tst-audit6.c: Likewise.
34083 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34085 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34087 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34089 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34091 * po/cs.po: Update from translation team.
34092 * po/bg.po: Likewise.
34094 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34096 * misc/sys/cdefs.h: Add support for const attribute.
34097 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34098 to gnu_dev_{major,minor,makedev} functions.
34100 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34102 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34104 2011-07-20 Andreas Schwab <schwab@redhat.com>
34106 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34109 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34111 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34112 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34113 register in order to avoid conflicts with the soft frame pointer
34114 being held in r11 when necessary.
34115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34116 (INTERNAL_VSYSCALL_NCS): Likewise.
34118 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34120 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34121 * elf/dl-fini.c (_dl_fini): Adjust caller.
34122 * elf/dl-close.c (_dl_close_worker): Likewise.
34123 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34125 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34127 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34128 "aux_cache->nlibs < 0".
34130 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34131 in the reload-count case.
34133 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34136 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34137 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34138 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34139 * sysdeps/x86_64/multiarch/strcat.S: New file.
34140 * sysdeps/x86_64/multiarch/strncat.S: New file.
34141 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34142 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34143 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34144 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34145 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34146 (USE_AS_STRCAT): Define.
34147 Add strcat and strncat support.
34148 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34149 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34150 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34151 * string/strncat.c: Update.
34152 (USE_AS_STRNCAT): Define.
34153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34154 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34156 * sysdeps/x86_64/multiarch/init-arch.h
34157 (bit_Prefer_PMINUB_for_stringop): New.
34158 (index_Prefer_PMINUB_for_stringop): Likewise.
34159 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34160 bit_Prefer_PMINUB_for_stringop.
34162 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34164 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34166 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34167 of casting of buffer.
34168 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34169 buffer32 and buffer64.
34170 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34171 writes instead of casting of buffer.
34172 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34174 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34177 2011-07-19 Andreas Schwab <schwab@redhat.com>
34179 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34181 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34183 * nscd/nscd.c (termination_handler): Don't do anything for a database
34184 if it has not yet been initialized.
34186 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34188 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34190 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34192 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34194 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34196 * po/nl.po: Update from translation team.
34197 * po/sv.po: Likewise.
34199 2011-07-16 Roland McGrath <roland@hack.frob.com>
34201 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34202 now disallowed by GCC.
34204 * configure.in (use-default-link): Default to yes if a test -shared
34205 link meets our qualifications.
34206 * configure: Regenerated.
34208 * config.make.in (output-format): New variable.
34209 * configure.in: Check for ld --print-output-format support.
34210 * configure: Regenerated.
34211 * Makerules ($(common-objpfx)format.lds)
34212 [$(output-format) != unknown]: Just use $(output-format),
34213 instead of the linker-script munging.
34215 2011-07-14 Roland McGrath <roland@hack.frob.com>
34217 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34218 of $(common-objpfx)shlib.lds.
34219 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34221 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34222 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34224 * configure.in (-z relro check): Adjust test code to add a large
34225 writable data section after it.
34226 * configure: Regenerated.
34228 2011-07-11 Roland McGrath <roland@hack.frob.com>
34230 * configure.in (-z relro check): Fix test code to make the variable
34232 * configure: Regenerated.
34234 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34236 * nscd/nscd.h (struct traced_file): Define.
34237 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34238 elements. Add traced_files.
34239 (inotify_fd): Declare.
34240 (register_traced_file): Declare.
34241 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34242 (inotify_fd): Export.
34243 (resolv_conf_descr): Remove.
34244 (nscd_init): Move inotify descriptor creation to main.
34245 Don't register files for notification here.
34246 (register_traced_file): New function.
34247 (invalidate_cache): Don't use reset_res to determine whether to call
34248 res_init, go through the list of registered files.
34249 (main_loop_poll): The inotify descriptors are now stored in the
34250 structures for the traced files.
34251 (main_loop_epoll): Likewise
34252 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34253 to __nss_disable_nscd.
34254 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34255 for a database anymore. Check the records for all the registered
34257 * nss/Makefile (libnss_files-routines): Add files-init.
34258 (libnss_db-routines): Add db-init.
34259 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34260 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34261 * nss/nss_db/db-init.c: New file.
34262 * nss/nss_files/files-init.c: New file.
34263 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34264 __nss_lookup_function.
34265 (__nss_lookup_function): Call nss_load_library.
34266 (nss_load_all_libraries): New function.
34267 (__nss_disable_nscd): Take parameter with callback function for files
34268 to register. Set is_nscd. Load all the DSOs for the NSS modules
34269 used for the cached services.
34270 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34271 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34272 options for features to all the files in nscd.
34274 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34276 2011-07-10 Roland McGrath <roland@hack.frob.com>
34278 * csu/elf-init.c (__libc_csu_init): Comment typo.
34280 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34282 * po/pl.po: Update from translation team.
34283 * po/ja.po: Likewise.
34284 * po/ru.po: Likewise.
34285 * po/ko.po: Likewise.
34286 * po/fr.po: Likewise.
34288 2011-07-09 Roland McGrath <roland@hack.frob.com>
34290 * configure.in (.ctors/.dtors header and trailer check):
34291 Use an empirical test on a built program.
34292 * configure: Regenerated.
34294 * configure.in (-z relro check): Use an empirical test on a built DSO.
34295 Detect, but do not require, on ia64.
34296 * configure: Regenerated.
34298 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34299 Update tests that use readelf to use $READELF instead.
34300 * configure: Regenerated.
34302 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34304 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34305 if the result is not used.
34307 2011-07-05 Andreas Jaeger <aj@suse.de>
34310 * stdlib/tst-strtod.c: Add testcase.
34312 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34314 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34315 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34316 The latter has a higher limit. Take additional parameter to pass to
34318 (__pathconf): Pass file to __statfs_link_max.
34319 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34321 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34325 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34326 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34328 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34329 (__statfs_filesize_max): Likewise.
34330 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34332 2011-07-05 Andreas Jaeger <aj@suse.de>
34334 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34336 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34338 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34340 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34343 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34345 * Makefile (strop-tests): Add strncat.
34346 * string/test-strncat.c: New file.
34348 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34350 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34352 2011-06-21 Andreas Jaeger <aj@suse.de>
34354 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34355 Copy rule from iconvdata/Makefile.
34357 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34360 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34361 but no long options are defined, just return 'W'.
34363 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34366 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34368 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34370 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34372 (innetgr): Likewise.
34374 2011-07-05 Roland McGrath <roland@hack.frob.com>
34376 * config.make.in (install_root): Default to $(DESTDIR).
34378 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34380 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34382 2011-07-02 Roland McGrath <roland@hack.frob.com>
34384 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34386 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34387 containing directory rather than embedding absolute directory names.
34389 * scripts/check-local-headers.sh: Rewritten using awk.
34390 Match by word, not by line. Print error messages for matches.
34391 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34393 * Makerules [shlib-lds-flags empty]:
34394 ($(common-objpfx)libc_pic.opts): New target.
34395 ($(common-objpfx)libc_pic.os.clean): New target.
34396 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34398 * config.make.in (OBJCOPY): New variable.
34399 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34400 * configure: Regenerated.
34402 * config.make.in (use-default-link): New variable.
34403 * configure.in (use_default_link): Grok --with-default-link to set it.
34404 * configure: Regenerated.
34405 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34406 (shlib-lds, shlib-lds-flags): Define to empty.
34408 * Makerules (shlib-lds): New variable.
34409 (shlib-lds-flags): New variable.
34410 (build-shlib, build-moduile, build-module-asneeded): Use it.
34411 ($(common-objpfx)libc.so): Use $(shlib-lds).
34412 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34413 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34415 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34416 DT_FLAGS/DT_FLAGS_1 with zero flags.
34418 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34419 linker script munging.
34421 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34423 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34425 * crypt/sha512.c (sha512_process_block): Perform total addition using
34426 128-bit if possible.
34427 (__sha512_finish_ctx): Likewise.
34428 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34430 * crypt/sha256.c (SWAP64): Define.
34431 (sha256_process_block): Perform total addition using 64-bit if
34433 (__sha256_finish_ctx): Likewise.
34435 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34437 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34438 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34439 * nscd/hstcache.c (cache_addhst): Likewise.
34440 * nscd/grpcache.c (cache_addgr): Likewise.
34441 * nscd/aicache.c (addhstaiX): Likewise
34442 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34444 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34446 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34447 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34448 * nscd/hstcache.c (cache_addhst): Likewise.
34449 * nscd/grpcache.c (cache_addgr): Likewise.
34450 * nscd/aicache.c (addhstaiX): Likewise
34452 2011-07-01 Andreas Schwab <schwab@redhat.com>
34454 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34455 domain only when needed.
34457 2011-06-30 Andreas Schwab <schwab@redhat.com>
34459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34460 is always restored.
34462 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34464 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34465 are re-adding the entry.
34466 * nscd/servicescache.c (cache_addserv): Likewise.
34468 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34470 * sysdeps/generic/dl-irel.h: fix protection against multiple
34472 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34474 2011-06-28 Ulrich Drepper <drepper@gmail.com>
34477 * malloc/memusage.sh: Fix quoting in message.
34478 * debug/xtrace.sh: Likewise.
34480 * configure.in: Remove support for --experimental-malloc option, make
34482 * config.make.in: Likewise.
34483 * malloc/Makefile: Likewise.
34485 2011-06-27 Andreas Schwab <schwab@redhat.com>
34487 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34488 two-byte characters.
34490 2011-06-27 Roland McGrath <roland@hack.frob.com>
34492 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34493 AC_CACHE_CHECK invocation.
34494 * configure: Regenerated.
34496 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34498 2011-06-27 Ulrich Drepper <drepper@gmail.com>
34501 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34502 bit from old_res_options.
34504 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34506 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34507 value type for setfct.
34509 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34512 __gettimeofday instead of gettimeofday.
34514 2011-06-26 Ulrich Drepper <drepper@gmail.com>
34516 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34518 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34520 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34522 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34525 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34528 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34529 strcpy-sse2-unaligned strncpy-sse2-unaligned
34530 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34531 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34532 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34533 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34534 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34535 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34536 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34537 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
34538 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
34539 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
34540 (STRCPY): Support SSE2 and SSSE3 versions.
34542 2011-06-24 Ulrich Drepper <drepper@gmail.com>
34545 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
34546 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
34547 kernels which artificially limit size of requests.
34549 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34552 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34553 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
34554 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
34555 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
34556 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
34557 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
34558 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
34559 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
34560 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
34561 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
34562 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
34563 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
34564 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
34565 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
34566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34567 Enable unaligned load optimization for Intel Core i3, i5 and i7
34569 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
34571 (index_Fast_Unaligned_Load): Define.
34572 (HAS_FAST_UNALIGNED_LOAD): Define.
34574 2011-06-23 Marek Polacek <mpolacek@redhat.com>
34576 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
34578 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34581 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
34582 until it is clear that the information is realy needed.
34583 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
34585 2011-06-22 Andreas Schwab <schwab@redhat.com>
34587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
34589 2011-06-22 Ulrich Drepper <drepper@gmail.com>
34591 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34592 /sys/devices/system/cpu/online if it is usable.
34594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
34595 reading the information from the /proc filesystem to once a second.
34597 2011-06-21 Andreas Jaeger <aj@suse.de>
34599 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
34600 NULL after inclusion of kernel headers.
34602 2011-06-21 Ulrich Drepper <drepper@gmail.com>
34604 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
34605 calls to internal_setent.
34608 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
34609 addresses using gethostbyname4_r ignore IPv4 addresses.
34611 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
34612 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
34614 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
34616 2011-06-20 David S. Miller <davem@davemloft.net>
34618 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34620 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34622 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34623 (elf_irel): Use it.
34624 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34625 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34626 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34627 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34628 * sysdeps/x86_64/dl-irel.h: Likewise.
34630 * elf/dl-runtime.c: Use elf_ifunc_invoke.
34631 * elf/dl-sym.c: Likewise.
34633 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34635 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
34636 need to dereference resplen2.
34638 2011-06-14 Andreas Schwab <schwab@redhat.com>
34640 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34642 2011-06-15 Ulrich Drepper <drepper@gmail.com>
34644 * Makeconfig: Define vardbdir and inst_vardbdir.
34645 * nss/Makefile: Add rules to install db-Makefile.
34647 * nss/nss_db/db-XXX.c: Cleanup.
34649 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34650 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34652 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34653 * nss/makedb.c: Implement -g option to specify that value strings
34654 are generated and should not be added to table iterated over for
34656 * nss/nss_db/db-initgroups.c: New file.
34658 * nss/getent.c: Add support for initgroups lookups through getgrouplist
34661 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34662 (internal_getgrouplist): Adjust to name change.
34663 Update use_initgroups_entry if this is not the first call.
34664 * nss/databases.def: Add initgroups entry.
34666 * nss/makedb.c (compute_tables): Check result of multiple hash table
34667 sizes to minimize maximum chain length.
34669 2011-06-14 Ulrich Drepper <drepper@gmail.com>
34671 * Versions.def: Add entry for libnss_db.
34672 * shlib-versions: Likewise.
34673 * nss/Makefile: Add rules to build libnss_db.
34674 * nss/Versions: Add libnss_db information. Organize libnss_files
34676 * nss/db-Makefile: Add gshadow support. Change rules for the new
34677 makedb progra. Some minor improvements to generate smaller files.
34678 * nss/nss_db/nss_db.h: Move NSS database header data structures to
34680 * nss/makedb.c: ...here.
34681 Improve database format to be smaller and require less memory at
34683 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
34685 * nss/nss_db/db-netgrp.c: Likewise.
34686 * nss/nss_db/db-open.c: Likewise.
34687 * nss/nss_files/flies-XXX.x: Adjust comments.
34688 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34689 * nss/nss_files/files-grp.c: Likewise.
34690 * nss/nss_files/files-hosts.c: Likewise.
34691 * nss/nss_files/files-network.c: Likewise.
34692 * nss/nss_files/files-proto.c: Likewise.
34693 * nss/nss_files/files-pwd.c: Likewise.
34694 * nss/nss_files/files-rpc.c: Likewise.
34695 * nss/nss_files/files-service.c: Likewise.
34696 * nss/nss_files/files-sgrp.c: Likewise.
34697 * nss/nss_files/files-spwd.c: Likewise.
34698 * nss/nss_db/db-alias.c: Removed.
34699 * nss/nss_db/dummy-db.h: Removed.
34701 2011-06-02 Ulrich Drepper <drepper@gmail.com>
34703 * nss/makedb.c: Rewritten to not use database library.
34704 * nss/Makefile: Update to build new makedb program.
34706 2011-06-14 Andreas Jaeger <aj@suse.de>
34708 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34709 memset declaration.
34711 2011-06-10 Andreas Schwab <schwab@redhat.com>
34713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34716 2011-06-10 Roland McGrath <roland@hack.frob.com>
34718 * Makerules (shlib.lds): Fail if the linker script comes out empty.
34719 * elf/Makefile ($(objpfx)ld.so): Likewise.
34721 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34722 Don't list ld.so twice in dependencies.
34724 * posix/bug-regex31.c: Include <stdlib.h>.
34726 * nscd/hstcache.c (cache_addhst): Remove unused variable.
34728 * nis/nss_compat/compat-spwd.c
34729 (getspent_next_nss_netgr): Remove unused variable.
34730 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34732 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34733 nonmembers" output to use the right array.
34735 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34737 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34739 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34740 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34741 * catgets/gencat.c (read_input_file): Likewise.
34742 * locale/programs/locarchive.c (enlarge_archive): Likewise.
34744 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34745 variable definition inside #if's controlling its use.
34747 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34749 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34751 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34753 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34756 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34758 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34759 * configure: Regenerated.
34761 * Makerules: Revert last change.
34762 * elf/Makefile: Likewise.
34764 2011-06-09 Roland McGrath <roland@hack.frob.com>
34766 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34767 * elf/Makefile ($(objpfx)librtld.os): Likewise.
34768 (reloc-link): Likewise.
34770 2011-06-09 Ulrich Drepper <drepper@gmail.com>
34772 * elf/Makefile: Add rules to build pldd.
34773 * elf/pldd.c: New file.
34774 * elf/pldd-xx.c: New file.
34776 2011-06-07 Ulrich Drepper <drepper@gmail.com>
34778 * version.h: Update for 2.15 development version.
34780 2011-06-07 David S. Miller <davem@davemloft.net>
34782 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34784 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34785 elf_machine_lazy_rel): Likewise.
34786 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34787 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34788 elf_machine_lazy_rel): Likewise.
34789 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34790 dl_hwcap via passed in argument.
34791 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34794 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34796 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
34798 2011-06-06 Roland McGrath <roland@hack.frob.com>
34801 * manual/fdl-1.1.texi: New file, verbatim from:
34802 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34803 * manual/lgpl-2.1.texi: New file, verbatim from:
34804 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34805 * manual/Makefile (licenses): New variable, list those new file names.
34807 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34809 * manual/fdl.texi: File removed.
34810 * manual/lesser.texi: File removed.
34811 * manual/libc.texinfo (Copying, Documentation License):
34812 Use new @include file names, put @appendix directive before @include.
34814 2011-06-04 Jakub Jelinek <jakub@redhat.com>
34817 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34818 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34819 (mq_open): Add __NTH.
34821 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
34823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34824 Assume Intel Core i3/i5/i7 processor if AVX is available.
34826 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34828 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34831 2011-05-31 Andreas Schwab <schwab@redhat.com>
34833 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34834 memory. Use alloca_account. Fix memory leak when retrying.
34836 2011-05-31 Ulrich Drepper <drepper@gmail.com>
34838 * version.h (RELEASE): Bump for 2.14 release.
34839 * include/features.h (__GLIBC_MINOR__): Bump to 14.
34841 * config.make.in (RANLIB): Remove entry.
34843 2011-05-30 Ulrich Drepper <drepper@gmail.com>
34845 * po/Makefile (po-sed-cmd): Add ksh to extensions.
34846 (libc.pot): Work around missing support for .ksh extension in xgettext.
34849 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34850 if both request failed.
34851 (send_dg): In case of server errors clear resplen or *resplen2.
34854 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34855 when there are multiple maps.
34856 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34857 (_dl_fini): Remove test here.
34859 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34861 2011-05-29 Ulrich Drepper <drepper@gmail.com>
34864 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34865 bit from old_res_options.
34866 (gaih_inet): Likewise.
34869 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34872 * resolv/res_init.c (res_setoptions): Make the code more compact.
34875 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34879 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34881 * malloc/malloc.h: Mark malloc hook variables as deprecated.
34884 * malloc/malloc.h: Declare malloc hook variables as volatile.
34886 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34890 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34891 raise in the comment.
34892 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34893 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34894 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34896 2011-05-28 Ulrich Drepper <drepper@gmail.com>
34899 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34900 grow the buffers more if it already has to be sufficient.
34901 (build_wcs_upper_buffer): Likewise.
34902 * posix/regexec.c (check_matching): Likewise.
34903 (clean_state_log_if_needed): Likewise.
34904 (extend_buffers): Don't enlarge buffers beyond size of the input
34906 Patches mostly by Emil Wojak <emil@wojak.eu>.
34907 * posix/bug-regex32.c: New file.
34908 * posix/Makefile (tests): Add bug-regex32.
34910 * locale/findlocale.c (_nl_find_locale): Return right away if
34911 _nl_explode_name failed.
34912 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34914 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34916 * debug/xtrace.sh: Unify messages.
34917 * malloc/memusage.sh: Likewise.
34920 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34921 time symbol from vDSO. Substitute with vsyscall if not available.
34922 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34925 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34926 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34927 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34928 Add sendmmsg and internal_sendmmsg.
34929 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34930 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34931 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34933 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34934 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34935 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34937 2011-05-27 Ulrich Drepper <drepper@gmail.com>
34940 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34941 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
34943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34947 * iconvdata/Makefile (tests): Add bug-iconv9.
34948 * iconvdata/bug-iconv9.c: New file.
34950 2011-05-27 Andreas Schwab <schwab@redhat.com>
34953 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34955 2011-05-25 Jakub Jelinek <jakub@redhat.com>
34957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34958 (struct user_regs_struct): Change intcs field back to cs.
34960 2011-05-25 Ulrich Drepper <drepper@gmail.com>
34962 * po/ja.po: Update from translation team.
34964 2011-05-23 Ulrich Drepper <drepper@gmail.com>
34967 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34968 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34970 2011-05-20 Andreas Schwab <schwab@redhat.com>
34972 * stdlib/longlong.h: Update from GCC.
34974 2011-05-23 Andreas Schwab <schwab@redhat.com>
34976 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34978 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34979 Add parameter name.
34980 (__sysconf): Pass it down.
34982 2011-05-22 Ulrich Drepper <drepper@gmail.com>
34985 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34987 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34988 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34989 add in in __libc_use_alloca calls. Adjust callers.
34990 (glob): Use malloc in some situations.
34992 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34993 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34996 2011-05-21 Ulrich Drepper <drepper@gmail.com>
34998 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34999 and CLOCK_BOOTTIME_ALARM.
35002 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35005 * string/_strerror.c (__strerror_r): Print negative errors as signed
35009 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35010 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35011 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35013 * configure.in: Fix typo in redirection and correct removal of test
35014 files in two cases.
35017 * locale/setlocale.c (new_composite_name): Fix test to check for
35018 identical name of all categories.
35021 * libio/filedoalloc.c (local_isatty): New function.
35022 (_IO_file_doallocate): Use local_isatty.
35023 * stdio-common/perror.c (perror): In case a new stream is used
35024 forward the stream error.
35025 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35028 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35031 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35033 * include/alloca.h (extend_alloca_account): Define.
35036 * posix/regex.h: Fix comments with documentation of user-accessible
35037 fields after compilation and describe correct free'ing of pattern
35038 after re_compile_pattern.
35039 Patch by Reuben Thomas <rrt@sc3d.org>.
35041 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35043 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35044 and -mno-altivec to prevent the compiler from using Altivec and/or
35045 VSX instructions when the corresponding registers are not available.
35047 2011-05-19 Andreas Schwab <schwab@redhat.com>
35049 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35051 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35053 * libio/freopen.c (freopen): Use __dup2, not dup2.
35054 * libio/freopen64.c (freopen64): Likewise.
35056 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35059 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35060 * math/Makefile (tests): Add test-powl.
35061 (CFLAGS-test-powl.c): Define.
35062 * math/test-powl.c: New file.
35064 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35066 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35068 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35071 * iconvdata/gb18030.c: Update to GB18020-2005.
35073 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35075 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35076 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35077 Patch by Aharon Robbins <arnold@skeeve.com>.
35080 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35084 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35085 through underflows.
35088 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35089 point to strings before performing equality test for error_one_per_line
35093 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35096 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35097 (struct user_fpregs_struct): Avoid __uint*_t types.
35100 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35101 symbol info. Use it instead of calling _dl_addr locally.
35102 (lock_and_info): New function.
35103 (tr_freehook): Call lock_and_info and pass symbol info as additional
35104 parameter to tr_where.
35105 (tr_mallochook): Likewise.
35106 (tr_reallochook): Likewise.
35107 (tr_memalignhook): Likewise.
35109 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35110 used and couldn't be at all thread-safe.
35112 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35114 * libio/freopen.c (freopen): Don't close old file descriptor
35115 before the new one is opened. Instead dup the new file descriptor
35116 to the old one after the new stream is created.
35117 * libio/freopen64.c (freopen64): Likewise.
35118 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35119 * libio/fileops.c (_IO_new_file_close_it): Handle new
35120 _IO_FLAGS2_NOCLOSE flag.
35121 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35122 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35123 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35124 _IO_FLAGS2_NOCLOSE flag.
35125 * include/unistd.h: Add hidden_proto for dup3.
35126 Define __have_dup3.
35127 * io/dup3.c: Define hidden symbol.
35128 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35131 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35132 when an incomplete long option is used.
35133 * posix/tst-getopt_long1.c: New file.
35134 * posix/Makefile (tests): Add tst-getopt_long1.
35137 * scripts/config.guess: Update from autoconf-2.68.
35138 * scripts/config.sub: Likewise.
35141 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35143 (has_cpuclock): ...this. New function.
35144 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35145 macro here based on has_cpuclock code.
35148 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35149 First byte (not low byte) is now always NUL.
35150 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35152 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35153 Use non-cancelable interfaces.
35156 * locale/iso-639.def: Add entry for Sorani.
35159 * include/stdlib.h: Move include protection to the right place.
35160 Define abort_msg_s. Declare __abort_msg with it.
35161 * stdlib/abort.c (__abort_msg): Adjust type.
35162 * assert/assert.c (__assert_fail_base): New function. Majority
35163 of code from __assert_fail. Allocate memory for __abort_msg with
35165 (__assert_fail): Now call __assert_fail_base.
35166 * assert/assert-perr.c: Remove bulk of implementation. Use
35167 __assert_fail_base.
35168 * include/assert.hL Declare __assert_fail_base.
35169 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35171 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35173 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35177 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35178 until all modules are registered in the DTV.
35179 * elf/Makefile: Add rules to build and run tst-tls19.
35180 * elf/tst-tls19.c: New file.
35181 * elf/tst-tls19mod1.c: New file.
35182 * elf/tst-tls19mod2.c: New file.
35183 * elf/tst-tls19mod3.c: New file.
35184 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35187 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35191 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35192 two-byte sequence errors.
35193 * iconvdata/Makefile (tests): Add bug-iconv8.
35194 * iconvdata/bug-iconv8.c: New file.
35197 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35200 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35203 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35204 (dummy_getcfa): New function.
35205 (init): Get _Unwind_GetCFA address, use dummy if not found.
35206 (backtrace_helper): In recursion check, also check whether CFA changes.
35207 (__backtrace): Completely initialize arg.
35209 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35210 storing incomplete byte sequence in state object. Avoid testing for
35211 guaranteed too small input if we know there is enough data available.
35213 2011-05-11 Andreas Schwab <schwab@redhat.com>
35215 * Makeconfig (+link-pie): Indent.
35216 * Rules (binaries-pie): Define if $(have-fpie) and
35218 (binaries-shared): Also filter out $(binaries-pie).
35219 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35220 * nscd/Makefile (others-pie): Add nscd.
35221 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35222 ($(objpfx)nscd): Remove command override.
35223 * login/Makefile (others-pie): Add pt_chown.
35224 ($(objpfx)pt_chown): Remove command override.
35225 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35226 remove command overrides.
35228 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35230 * libio/tst_putwc.c: Fix error messages.
35233 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35234 currently writing and seek to current position when not.
35235 * libio/Makefile (tests): Add bug-fclose1.
35236 * libio/bug-fclose1.c: New file.
35238 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35241 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35242 don't set DF_1_NODELETE here.
35243 (do_lookup_x): When entering new entry test for copy relocation
35244 and if necessary set DF_1_NODELETE flag.
35245 * elf/tst-unique4.cc: New file.
35246 * elf/tst-unique4.h: New file.
35247 * elf/tst-unique4lib.cc: New file.
35248 * elf/Makefile: Add rules to build and run tst-unique4.
35249 Patch by Piotr Bury <pbury@goahead.com>.
35251 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35254 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35257 * misc/mntent_r.c (addmntent): Flush the stream after the output
35260 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35261 (is_trusted_path_normalize): Skip initial colon. Append slash
35262 to empty buffer. Duplicate is_trusted_path code but allow
35263 constructed patch to be prefix.
35264 (is_dst): Allow $ORIGIN followed by /.
35265 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35266 Correct testing of result of is_trusted_path_normalize
35267 (decompose_rpath): Fix warning.
35269 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35272 * grp/initgroups.c (internal_getgrouplist): When we found the service
35273 list through the initgroups entry in nsswitch.conf do not always
35274 continue on a successful lookup. Don't always use the
35275 __nss_group_database value if it is set.
35276 * nss/nsswitch.conf (initgroups): Change action for successful db
35277 lookup to continue for compatibility.
35279 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35282 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35284 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35286 * iconvdata/tst-tables.sh: Likewise.
35287 * iconvdata/cp770.c: New file.
35288 * iconvdata/cp771.c: New file.
35289 * iconvdata/cp772.c: New file.
35290 * iconvdata/cp773.c: New file.
35291 * iconvdata/cp774.c: New file.
35292 * iconvdata/testdata/CP770: New file.
35293 * iconvdata/testdata/CP770..UTF8: New file.
35294 * iconvdata/testdata/CP771: New file.
35295 * iconvdata/testdata/CP771..UTF8: New file.
35296 * iconvdata/testdata/CP772: New file.
35297 * iconvdata/testdata/CP772..UTF8: New file.
35298 * iconvdata/testdata/CP773: New file.
35299 * iconvdata/testdata/CP773..UTF8: New file.
35300 * iconvdata/testdata/CP774: New file.
35301 * iconvdata/testdata/CP774..UTF8: New file.
35303 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35305 * iconvdata/gen-8bit-gap.sh: Likewise.
35306 * iconvdata/gen-8bit.sh: Likewise.
35308 * locale/iso-639.def: Add ary entry.
35311 * locale/C-translit.h.in: Add U20A1 transliteration.
35314 * locale/iso-639.def: Add wae entry.
35315 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35318 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35322 * locale/C-translit.h.in: Add entry for U20B9.
35323 Patch by pravin.d.s@gmail.com.
35325 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35328 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35329 ENAMETOOLONG use generic getcwd.
35330 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35331 in rtld. Use *stat64.
35332 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35333 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35334 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35335 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35336 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35337 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35338 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35339 __fstatat64 macros.
35340 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35341 * dirent/rewinddir.c: Add libc_hidden_def.
35342 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35343 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35345 * include/dirent.h (__alloc_dir): Add flags parameter.
35346 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35347 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35349 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35350 from fdopendir if O_CLOEXEC is already set.
35352 2011-03-15 Alan Modra <amodra@gmail.com>
35354 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35355 l_tls_firstbyte_offset non-zero. Save padding offset in
35356 l_tls_firstbyte_offset for later use.
35357 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35358 freeing static tls block.
35360 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35362 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35363 where #ifdef was intended. The intent is to prevent ARG_MAX from
35364 being defined by the kernel headers.
35366 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35369 * resolv/resolv.h: Define RES_NOTLDQUERY.
35370 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35371 no-tld-query and set RES_NOTLDQUERY.
35372 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35373 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35374 modern BIND to search name as TLD unless forbidden.
35376 2011-05-07 Petr Baudis <pasky@suse.cz>
35377 Ulrich Drepper <drepper@gmail.com>
35380 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35381 (is_trusted_path): ...to here.
35382 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35383 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35384 using is_trusted_path_normalize() in setuid scripts.
35386 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35388 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35389 __BEGIN/__END_DECLS.
35391 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35393 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35394 NSS_STATUS_NOTFOUND if no record was found.
35396 2011-05-05 Andreas Schwab <schwab@redhat.com>
35398 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35399 (headers-not-in-tirpc): Remove rpc/netdb.h
35400 * resolv/netdb.h: Revert last change.
35402 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35404 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35405 circular dependency between libgcc.a and libc.a.
35407 2011-05-05 Andreas Schwab <schwab@redhat.com>
35409 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35410 * nis/Makefile: Don't install rpcsvc/*.
35411 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35412 instead of <rpc/types.h>.
35413 (MAXHOSTNAMELEN): Define.
35415 2011-05-03 Andreas Schwab <schwab@redhat.com>
35417 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35419 2011-04-28 Maciej Babinski <mbabinski@google.com>
35422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35423 gethostbyname4_r when IPv6 results are possible.
35425 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35428 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35429 _PC_PIPE_BUF handling.
35431 2011-04-30 Bruno Haible <bruno@clisp.org>
35434 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35435 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35437 * inet/getnameinfo.c (getnameinfo): Likewise.
35439 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35441 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35442 to groups setting in database lookup.
35443 * nss/nsswitch.conf: Add initgroups entry.
35445 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35448 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35450 Patch by Eric Blake <eblake@redhat.com>.
35452 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35454 * sunrpc/Makefile (need-export-routines): Add svc_run.
35455 (routines): Remove svc_run.
35456 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35457 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35458 * sunrpc/svc_run.c (svc_run): Likewise.
35459 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35461 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35463 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35464 problem in reallocation in last patch.
35466 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35468 * sunrpc/Makefile: Move inclusion of Rules.
35470 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35472 * nss/nss_files/files-initgroups.c: New file.
35473 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35474 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35475 _nss_files_initgroups_dyn.
35477 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35479 * elf/elf.h (R_ARM_IRELATIVE): Define.
35481 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35483 * po/ru.po: Update from translation team.
35485 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35487 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35490 2011-02-06 Mike Frysinger <vapier@gentoo.org>
35493 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35494 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35495 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35496 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35497 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35499 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35501 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35503 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35504 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35505 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35507 2011-04-17 Ulrich Drepper <drepper@gmail.com>
35510 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35512 * stdlib/bug-getcontext.c: New file.
35513 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35515 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35517 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35518 instructions into .machine "z9-109".
35519 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35520 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35522 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35524 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35525 between environment variables and auxiliary vector.
35527 2011-04-16 Ulrich Drepper <drepper@gmail.com>
35529 * Makefile: Add rules to build linkobj/libc.so.
35530 * include/libc-symbols.h: Define libc_hidden_nolink.
35531 * include/rpc/auth.h: Mark functions which are to be hidden.
35532 * include/rpc/auth_des.h: Likewise.
35533 * include/rpc/auth_unix.h: Likewise.
35534 * include/rpc/clnt.h: Likewise.
35535 * include/rpc/des_crypt.h: Likewise.
35536 * include/rpc/key_prot.h: Likewise.
35537 * include/rpc/pmap_clnt.h: Likewise.
35538 * include/rpc/pmap_prot.h: Likewise.
35539 * include/rpc/pmap_rmt.h: Likewise.
35540 * include/rpc/rpc_msg.h: Likewise.
35541 * include/rpc/svc.h: Likewise.
35542 * include/rpc/svc_auth.h: Likewise.
35543 * include/rpc/xdr.h: Likewise.
35544 * nis/Makefile: Link all DSOs against linkobj/libc.so.
35545 * nss/Makefile: Likewise.
35546 * sunrpc/Makefile: Don't install headers. Build library with normal
35547 entry points. Don't build rpcinfo. Link RPC tests appropriately.
35548 * sunrpc/auth_des.c: Hide exported symbols by default, export some
35549 for the compat linking library. Remove use of INTDEF/INTUSE.
35550 * sunrpc/auth_none.c: Likewise.
35551 * sunrpc/auth_unix.c: Likewise.
35552 * sunrpc/authdes_prot.c: Likewise.
35553 * sunrpc/authuxprot.c: Likewise.
35554 * sunrpc/clnt_gen.c: Likewise.
35555 * sunrpc/clnt_perr.c: Likewise.
35556 * sunrpc/clnt_raw.c: Likewise.
35557 * sunrpc/clnt_simp.c: Likewise.
35558 * sunrpc/clnt_tcp.c: Likewise.
35559 * sunrpc/clnt_udp.c: Likewise.
35560 * sunrpc/clnt_unix.c: Likewise.
35561 * sunrpc/des_crypt.c: Likewise.
35562 * sunrpc/des_soft.c: Likewise.
35563 * sunrpc/get_myaddr.c: Likewise.
35564 * sunrpc/key_call.c: Likewise.
35565 * sunrpc/key_prot.c: Likewise.
35566 * sunrpc/netname.c: Likewise.
35567 * sunrpc/pm_getmaps.c: Likewise.
35568 * sunrpc/pm_getport.c: Likewise.
35569 * sunrpc/pmap_clnt.c: Likewise.
35570 * sunrpc/pmap_prot.c: Likewise.
35571 * sunrpc/pmap_prot2.c: Likewise.
35572 * sunrpc/pmap_rmt.c: Likewise.
35573 * sunrpc/publickey.c: Likewise.
35574 * sunrpc/rpc_cmsg.c: Likewise.
35575 * sunrpc/rpc_common.c: Likewise.
35576 * sunrpc/rpc_dtable.c: Likewise.
35577 * sunrpc/rpc_prot.c: Likewise.
35578 * sunrpc/rpc_thread.c: Likewise.
35579 * sunrpc/rtime.c: Likewise.
35580 * sunrpc/svc.c: Likewise.
35581 * sunrpc/svc_auth.c: Likewise.
35582 * sunrpc/svc_authux.c: Likewise.
35583 * sunrpc/svc_raw.c: Likewise.
35584 * sunrpc/svc_run.c: Likewise.
35585 * sunrpc/svc_simple.c: Likewise.
35586 * sunrpc/svc_tcp.c: Likewise.
35587 * sunrpc/svc_udp.c: Likewise.
35588 * sunrpc/svc_unix.c: Likewise.
35589 * sunrpc/svcauth_des.c: Likewise.
35590 * sunrpc/xcrypt.c: Likewise.
35591 * sunrpc/xdr.c: Likewise.
35592 * sunrpc/xdr_array.c: Likewise.
35593 * sunrpc/xdr_float.c: Likewise.
35594 * sunrpc/xdr_intXX_t.c: Likewise.
35595 * sunrpc/xdr_mem.c: Likewise.
35596 * sunrpc/xdr_rec.c: Likewise.
35597 * sunrpc/xdr_ref.c: Likewise.
35598 * sunrpc/xdr_sizeof.c: Likewise.
35599 * sunrpc/xdr_stdio.c: Likewise.
35601 2011-04-10 Ulrich Drepper <drepper@gmail.com>
35604 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
35605 * sysdeps/ia64/dl-tls.h: Likewise.
35606 * sysdeps/powerpc/dl-tls.h: Likewise.
35607 * sysdeps/s390/dl-tls.h: Likewise.
35608 * sysdeps/sh/dl-tls.h: Likewise.
35609 * sysdeps/sparc/dl-tls.h: Likewise.
35610 * sysdeps/x86_64/dl-tls.h: Likewise.
35611 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
35613 2011-03-14 Andreas Schwab <schwab@redhat.com>
35615 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
35616 rpath element also skip the following colon.
35617 (expand_dynamic_string_token): Add is_path parameter and pass
35618 down to DL_DST_REQUIRED and _dl_dst_substitute.
35619 (decompose_rpath): Call expand_dynamic_string_token with
35620 non-zero is_path. Ignore empty rpaths.
35621 (_dl_map_object_from_fd): Call expand_dynamic_string_token
35624 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
35626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35629 2011-04-09 Ulrich Drepper <drepper@gmail.com>
35632 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35633 Patch by Filipe David Manana <fdmanana@apache.org>.
35635 2011-04-07 Andreas Schwab <schwab@redhat.com>
35637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35638 Maintain aligned stack.
35639 (CHECK_RSP): Remove unused macro.
35641 2011-04-03 Ulrich Drepper <drepper@gmail.com>
35643 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35644 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35646 2011-04-02 Ulrich Drepper <drepper@gmail.com>
35648 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35650 * include/features.h: Mention __USE_XOPEN2K8 in comment.
35652 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
35655 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35656 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35657 * sysdeps/x86_64/memmove.c: New file.
35658 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35659 (memcpy): Renamed to ...
35660 (__new_memcpy): This.
35661 (memcpy): Provide GLIBC_2_14 memcpy.
35662 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35663 (memcpy): Provide GLIBC_2_2_5 memcpy.
35665 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35668 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35670 2011-03-30 Andreas Schwab <schwab@redhat.com>
35672 * misc/syncfs.c: New file.
35673 * misc/Makefile (routines): Add syncfs.
35674 * posix/unistd.h: Declare syncfs.
35675 * sysdeps/unix/syscalls.list: Add syncfs.
35677 2011-04-01 Andreas Schwab <schwab@redhat.com>
35679 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35681 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35682 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35683 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35684 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35685 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35686 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35687 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35689 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35691 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35692 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35693 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35696 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35697 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35699 * io/Makefile: Compile fallocate.c, fallocate64.c, and
35700 sync_file_range.c with -fexceptions.
35701 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35702 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35703 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35704 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35705 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35706 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35707 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35708 sync_file_range as cancellation point
35709 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
35710 now a wrapper around __call_sync_file_range with cancellation handling.
35711 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35712 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
35713 function name to __call_sync_file_range.
35714 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35715 Add call_sync_file_range.
35717 2011-04-01 Andreas Schwab <schwab@redhat.com>
35719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35722 2011-04-01 Ulrich Drepper <drepper@gmail.com>
35724 * iconv/iconv.h: Fix typo in comment.
35725 * io/fcntl.h: Likewise.
35726 * libio/stdio.h: Likewise.
35727 * posix/spawn.h: Likewise.
35728 * posix/unistd.h: Likewise.
35729 * stdlib/stdlib.h: Likewise.
35730 * time/time.h: Likewise.
35731 * wcsmbs/wchar.h: Likewise.
35733 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35734 open_by_handle): Add.
35735 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35736 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
35737 Augment a few comments.
35738 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35739 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35740 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35742 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35743 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35746 * io/fcntl.h (AT_EMPTY_PATH): Define.
35748 2011-03-30 Ulrich Drepper <drepper@gmail.com>
35750 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35751 * sysdeps/unix/sysv/linux/bits/time.h: New file.
35752 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35754 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
35755 * Versions.def: Add GLIBC_2.14.
35756 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35759 2011-03-22 Ulrich Drepper <drepper@gmail.com>
35761 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35763 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35765 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
35768 * string/test-strncmp.c (do_page_test): New function.
35769 (check2): Likewise.
35770 (test_main): Call check2.
35771 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35773 2011-03-20 Ulrich Drepper <drepper@gmail.com>
35776 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35777 Handle cache information in CPU leaf 4.
35778 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35780 2011-03-18 Ulrich Drepper <drepper@gmail.com>
35783 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35784 character representation.
35785 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35787 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
35789 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35790 END(__isnan) to END(__isnanf) to match function entry point/label
35791 EALIGN(__isnanf,...).
35793 2011-03-10 Jakub Jelinek <jakub@redhat.com>
35795 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35797 2011-03-10 Ulrich Drepper <drepper@gmail.com>
35800 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35801 copy from the symbol referenced in the relocation to initialize the
35803 Patch by Piotr Bury <pbury@goahead.com>.
35804 * elf/Makefile: Add rules to build and tst-unique3.
35805 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35806 * elf/tst-unique3.cc: New file.
35807 * elf/tst-unique3.h: New file.
35808 * elf/tst-unique3lib.cc: New file.
35809 * elf/tst-unique3lib2.cc: New file.
35811 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35813 2011-03-10 Mike Frysinger <vapier@gentoo.org>
35815 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35816 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
35819 2011-03-06 Ulrich Drepper <drepper@gmail.com>
35821 * elf/dl-load.c (_dl_map_object): If we are looking for the first
35822 to-be-loaded object along a path to loader is ld.so.
35824 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35825 Ulrich Drepper <drepper@gmail.com>
35827 * sysdeps/x86_64/memset.S: After aligning destination, code
35828 branches to different locations depending on the value of
35829 misalignment, when multiarch is enabled. Fix this.
35831 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
35833 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35834 Set _x86_64_preferred_memory_instruction for AMD processsors.
35835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35836 Set bit_Prefer_SSE_for_memop for AMD processors.
35838 2011-03-04 Ulrich Drepper <drepper@gmail.com>
35840 * libio/fmemopen.c (fmemopen): Optimize a bit.
35842 2011-03-03 Andreas Schwab <schwab@redhat.com>
35844 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35846 2011-03-03 Roland McGrath <roland@redhat.com>
35848 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35850 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
35852 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35853 __bzero_ultra1 instead of __memset_ultra1.
35855 2011-02-23 Andreas Schwab <schwab@redhat.com>
35856 Ulrich Drepper <drepper@gmail.com>
35859 * include/link.h (struct link_map): Add l_orig_initfini.
35860 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35861 returning unsuccessfully.
35862 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35863 close of a file loaded at startup, restore the original l_initfini
35865 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35866 list, store the pointer.
35867 * elf/Makefile ($(objpfx)noload-mem): New rule.
35868 (noload-ENV): Define.
35869 (tests): Add $(objpfx)noload-mem.
35870 * elf/noload.c: Include <memcheck.h>.
35871 (main): Call mtrace. Close all opened handles.
35873 2011-02-17 Andreas Schwab <schwab@redhat.com>
35876 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35877 dependencies are missing.
35879 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
35881 Fix __if_freereq crash: Unlike the generic version which uses free,
35883 * sysdeps/mach/hurd/ifreq.h: New file.
35885 2011-01-27 Petr Baudis <pasky@suse.cz>
35886 Ulrich Drepper <drepper@gmail.com>
35889 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35890 to extend_alloca().
35891 * stdio-common/bug23.c: New file.
35892 * stdio-common/Makefile (tests): Add bug23.
35894 2010-09-28 Andreas Schwab <schwab@redhat.com>
35895 Ulrich Drepper <drepper@gmail.com>
35898 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35899 before performing relro protection. At old place add assertion
35900 to make sure nothing changed.
35902 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
35903 Glauber de Oliveira Costa <glommer@gmail.com>
35905 * elf/elf.h: Add new ARM TLS relocs.
35907 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
35909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35910 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35912 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
35914 * sysdeps/wordsize-64/tst-writev.c: New file.
35916 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
35918 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35919 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35920 insns in _dl_start to prevent a TOC reference before relocs are
35923 2011-02-15 Ulrich Drepper <drepper@gmail.com>
35926 * Makeconfig: Remove RANLIB definition.
35927 * Makerules: Don't use RANLIB.
35928 * aclocal.m4: Remove ranlib test.
35929 * configure.in: No need to check for ranlib.
35930 * elf/rtld-Rules: Don't use RANLIB.
35932 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35934 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35936 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35937 inclusion protection macro.
35939 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35940 SIGRTMIN and SIGRTMAX and print information in that case only when
35941 SIGRTMIN is defined.
35943 2011-02-11 Jakub Jelinek <jakub@redhat.com>
35945 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35946 arginfo fn returning -1.
35948 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35949 and thousands string is zero terminated.
35951 2011-02-03 Andreas Schwab <schwab@redhat.com>
35953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35954 sysdeps/unix/sysv/linux/bits/socket.h.
35956 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
35958 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35959 (__CPU_COUNT): Remove old macros.
35960 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35961 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35962 (__CPU_ALLOC, __CPU_FREE): Add macros.
35963 (__sched_cpualloc, __sched_cpufree): Add declarations.
35965 2011-02-05 Ulrich Drepper <drepper@gmail.com>
35967 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35968 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35969 * nscd/aicache.c (addhstaiX): Return timeout of added value.
35970 (readdhstai): Return value of addhstaiX call.
35971 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35972 (addgrbyX): Return value returned by cache_addgr.
35973 (readdgrbyname): Return value returned by addgrbyX.
35974 (readdgrbygid): Likewise.
35975 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35976 (addpwbyX): Return value returned by cache_addpw.
35977 (readdpwbyname): Return value returned by addhstbyX.
35978 (readdpwbyuid): Likewise.
35979 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35980 (addservbyX): Return value returned by cache_addserv.
35981 (readdservbyname): Return value returned by addservbyX:
35982 (readdservbyport): Likewise.
35983 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35984 (addhstbyX): Return value returned by cache_addhst.
35985 (readdhstbyname): Return value returned by addhstbyX.
35986 (readdhstbyaddr): Likewise.
35987 (readdhstbynamev6): Likewise.
35988 (readdhstbyaddrv6): Likewise.
35989 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35990 (readdinitgroups): Return value returned by addinitgroupsX.
35991 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35992 (prune_cache): Keep track of timeout value of re-added entries.
35993 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35994 * nscd/nscd.h: Adjust prototypes of readd* functions.
35996 2011-02-04 Roland McGrath <roland@redhat.com>
35998 * nis/nis_server.c (nis_servstate): Use the right name for 0.
35999 (nis_stats): Likewise.
36000 * nis/nis_modify.c (nis_modify): Likewise.
36001 * nis/nis_remove.c (nis_remove): Likewise.
36002 * nis/nis_add.c (nis_add): Likewise.
36004 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36006 * posix/fnmatch_loop.c: Add some consts.
36008 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36010 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36013 * config.make.in (config-cflags-novzeroupper): Define.
36014 * configure.in: Substitute libc_cv_cc_novzeroupper.
36015 * elf/Makefile (AVX-CFLAGS): Define.
36016 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36017 (CFLAGS-tst-auditmod4a.c): Likewise.
36018 (CFLAGS-tst-auditmod4b.c): Likewise.
36019 (CFLAGS-tst-auditmod6b.c): Likewise.
36020 (CFLAGS-tst-auditmod6c.c): Likewise.
36021 (CFLAGS-tst-auditmod7b.c): Likewise.
36022 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36024 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36026 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36027 function to the callback.
36028 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36030 2011-02-02 Andreas Schwab <schwab@redhat.com>
36032 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36035 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36038 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36040 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36042 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36045 * elf/Makefile: Add rules to build and run new test.
36046 * elf/tst-initorder.c: New file.
36047 * elf/tst-initorder.exp: New file.
36048 * elf/tst-initordera1.c: New file.
36049 * elf/tst-initordera2.c: New file.
36050 * elf/tst-initordera3.c: New file.
36051 * elf/tst-initordera4.c: New file.
36052 * elf/tst-initorderb1.c: New file.
36053 * elf/tst-initorderb2.c: New file.
36054 * elf/tst-order-a1.c: New file.
36055 * elf/tst-order-a2.c: New file.
36056 * elf/tst-order-a3.c: New file.
36057 * elf/tst-order-a4.c: New file.
36058 * elf/tst-order-b1.c: New file.
36059 * elf/tst-order-b2.c: New file.
36060 * elf/tst-order-main.c: New file.
36061 New test case by George Gensure <werkt0@gmail.com>.
36063 2010-10-01 Andreas Schwab <schwab@redhat.com>
36065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36066 decoding ACE if AI_CANONIDN.
36068 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36070 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36072 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36074 * version.h (RELEASE): Bump for 2.13 release.
36075 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36077 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36079 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36081 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36082 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36083 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36084 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36086 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36088 * posix/getconf.c: Update copyright year.
36089 * catgets/gencat.c: Likewise.
36090 * csu/version.c: Likewise.
36091 * debug/catchsegv.sh: Likewise.
36092 * debug/xtrace.sh: Likewise.
36093 * elf/ldconfig.c: Likewise.
36094 * elf/ldd.bash.in: Likewise.
36095 * elf/sprof.c (print_version): Likewise.
36096 * iconv/iconv_prog.c: Likewise.
36097 * iconv/iconvconfig.c: Likewise.
36098 * locale/programs/locale.c: Likewise.
36099 * locale/programs/localedef.c: Likewise.
36100 * malloc/memusage.sh: Likewise.
36101 * malloc/mtrace.pl: Likewise.
36102 * nscd/nscd.c (print_version): Likewise.
36103 * nss/getent.c: Likewise.
36105 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36106 PF_CAIF, and PF_ALG.
36107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36109 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36111 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36112 (modules-names): Use them.
36113 (ifunc-test-modules, ifunc-pie-tests): Define.
36114 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36115 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36116 (test-extras): Likewise.
36117 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36118 $(compile-command.c).
36119 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36120 (all-built-dso): Define.
36121 (check-textrel.out, check-execstack.out): Depend on it.
36123 * configure.in: Don't override --enable-multi-arch.
36125 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36128 * nscd/hstcache.c (tryagain): Define.
36129 (cache_addhst): Return tryagain not notfound for temporary errors.
36130 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36133 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36136 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36137 to make the syscall.
36138 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36141 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36142 and fall back to matching as normal character if the string ends before
36143 the matching ']' is found. This is what POSIX requires.
36144 * posix/testfnm.c: Adjust test result.
36145 * posix/globtest.sh: Adjust test result. Add new test.
36146 * posix/tst-fnmatch.input: Likewise.
36147 * posix/tst-fnmatch2.c: Add new test.
36149 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36151 * elf/Makefile (check-execstack): Revert last change. Depend on
36153 (check-execstack.h): New target.
36154 (generated): Add check-execstack.h.
36155 * elf/check-execstack.c: Include "check-execstack.h".
36156 (main): Revert last change.
36157 (handle_file): Return zero if GNU_STACK is absent and
36158 DEFAULT_STACK_PERMS doesn't include PF_X.
36160 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36162 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36163 in child fails because the descriptor is already closed.
36164 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36165 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36166 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36169 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36173 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36174 temporary buffer used to handle multi lookups locally.
36175 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36177 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36179 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36182 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36184 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36185 alignment for SSE2.
36187 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36190 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36191 characters. When rounding increased number of integer digits recompute
36193 * stdio-common/tst-grouping.c: New file.
36194 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36196 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36198 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36199 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36201 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36203 * bits/select.h: Likewise.
36205 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36207 * po/ja.po: Update from translation team.
36209 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36212 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36213 implementation just like for lxstat, fxstatat, et al.
36215 2010-12-27 Jim Meyering <meyering@redhat.com>
36218 * posix/regexec.c (build_trtable): Return failure indication upon
36219 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36221 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36224 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36225 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36226 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36227 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36230 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36233 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36234 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36236 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36238 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36239 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36240 script has SORT_BY_INIT_PRIORITY.
36241 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36242 NO_CTORS_DTORS_SECTIONS is defined.
36243 * elf/soinit.c: Likewise.
36244 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36245 NO_CTORS_DTORS_SECTIONS is defined.
36246 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36247 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36248 * sysdeps/sh/init-first.c: Likewise.
36249 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36251 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36253 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36254 always use the slow path.
36256 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36258 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36259 similar rule which adds the sysdep directories to the header search in
36260 order to pick up the correct platform stackinfo.h.
36261 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36262 perform test if it is, otherwise return successfully without testing.
36263 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36264 DEFAULT_STACK_PERMS define in stackinfo.h.
36265 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36266 defined in stackinfo.h.
36267 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36268 DEFAULT_STACK_PERMS defined in stackinfo.h.
36269 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36270 * sysdeps/ia64/stackinfo.h: Likewise.
36271 * sysdeps/s390/stackinfo.h: Likewise.
36272 * sysdeps/sh/stackinfo.h: Likewise.
36273 * sysdeps/sparc/stackinfo.h: Likewise.
36274 * sysdeps/x86_64/stackinfo.h: Likewise.
36275 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36276 PF_X for powerpc64. Retain PF_X for powerpc32.
36278 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36280 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36282 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36283 GETDENTS_64BIT_ALIGNED.
36285 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36287 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36289 2010-12-10 Andreas Schwab <schwab@redhat.com>
36291 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36294 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36295 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36297 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36298 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36300 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36303 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36306 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36308 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36310 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36312 * po/it.po: Update from translation team.
36314 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36316 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36319 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36321 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36323 2010-11-24 Andreas Schwab <schwab@redhat.com>
36325 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36327 (gaih_getanswer_slice): Likewise.
36329 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36333 2010-05-31 Petr Baudis <pasky@suse.cz>
36336 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36337 silently even in the chroot mode.
36339 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36341 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36342 last patch a bit. Pretty printing
36344 2010-05-31 Petr Baudis <pasky@suse.cz>
36347 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36348 initialization of skip_initgroups_dyn.
36350 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36352 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36353 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36355 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36357 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36359 2010-11-11 Andreas Schwab <schwab@redhat.com>
36361 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36362 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36363 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36364 ($(objpfx)tst-fnmatch-mem): New rule.
36365 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36366 * posix/tst-fnmatch.c (main): Call mtrace.
36368 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36371 Support Intel processor model 6 and model 0x2c.
36373 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36375 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36378 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36381 * string/test-strncasecmp.c (check_result): New function.
36382 (do_one_test): Use it.
36383 (check1): New function.
36384 (test_main): Use it.
36385 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36386 Support strcasecmp and strncasecmp.
36388 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36391 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36392 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36394 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36396 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36400 * sysdeps/x86_64/multiarch/bzero.S: New file.
36401 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36402 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36403 * sysdeps/x86_64/multiarch/memset.S: New file.
36404 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36406 Set bit_Prefer_SSE_for_memop for Intel processors.
36407 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36409 (index_Prefer_SSE_for_memop): Define.
36410 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36412 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36414 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36415 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36417 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36420 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36421 (__x86_64_raw_data_cache_size_half): Likewise.
36422 (__x86_64_raw_shared_cache_size): Likewise.
36423 (__x86_64_raw_shared_cache_size_half): Likewise.
36425 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36426 (__x86_64_raw_data_cache_size_half): Likewise.
36427 (__x86_64_raw_shared_cache_size): Likewise.
36428 (__x86_64_raw_shared_cache_size_half): Likewise.
36429 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36430 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36431 and __x86_64_raw_shared_cache_size_half. Round
36432 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36433 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36434 to multiple of 256 bytes.
36436 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36439 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36440 of inacessible symlinks. Verify result of symlink before returning it.
36441 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36442 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36444 2010-10-28 Erich Ritz <erichritz@gmail.com>
36446 * math/math.h (isinf): Fix typo in comment.
36448 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36450 * po/da.po: Update from translation team.
36452 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36454 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36455 is added to the list.
36457 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36458 Ulrich Drepper <drepper@gmail.com>
36460 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36461 the global list here. Move code to...
36462 (_dl_add_to_namespace_list): ...here. New function.
36463 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36464 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36465 * elf/dl-load.c (lose): Don't remove the element from the list.
36466 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36467 (_dl_map_object): Likewise.
36469 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36472 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36473 into all bytes of SSE register.
36474 Patch by Richard Li <richardpku@gmail.com>.
36476 2010-10-24 Ulrich Drepper <drepper@gmail.com>
36479 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36482 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36484 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36485 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36486 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36487 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36492 2010-10-22 Andreas Schwab <schwab@redhat.com>
36494 * include/dlfcn.h (__RTLD_SECURE): Define.
36495 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36496 mode & __RTLD_SECURE instead.
36497 (open_path): Rename preloaded parameter to secure.
36498 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36499 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36500 * elf/dl-deps.c (openaux): Likewise.
36501 * elf/rtld.c (struct map_args): Remove is_preloaded.
36502 (map_doit): Don't use it.
36503 (dl_main): Likewise.
36504 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36505 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36507 2010-09-09 Andreas Schwab <schwab@redhat.com>
36509 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36510 (sysd-rules-targets): Remove duplicates.
36511 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36512 rtld-%.$o dependency.
36514 2010-10-18 Andreas Schwab <schwab@redhat.com>
36516 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36517 _dl_map_object do it.
36519 2010-10-19 Ulrich Drepper <drepper@gmail.com>
36521 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36522 fast fma builtins, define the macros in the C99 standard.
36523 (FP_FAST_FMAF): Likewise.
36524 (FP_FAST_FMAL): Likewise.
36525 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36527 * bits/mathdef.h: Update copyright year.
36528 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36530 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36532 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36533 builtins, define the macros in the C99 standard.
36534 (FP_FAST_FMAF): Likewise.
36535 (FP_FAST_FMAL): Likewise.
36536 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36538 (FP_FAST_FMAF): Likewise.
36540 2010-10-15 Jakub Jelinek <jakub@redhat.com>
36543 * math/libm-test.inc (fma_test): Some new testcases.
36544 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
36545 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
36546 y and infinite z. Do multiplication by C already in long double.
36547 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
36548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
36549 y and infinite z. Do bitwise or of inexact bit into u.d.
36550 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
36551 * sysdeps/i386/fpu/s_fmaf.S: Removed.
36552 * sysdeps/i386/fpu/s_fma.S: Removed.
36553 * sysdeps/i386/fpu/s_fmal.S: Removed.
36555 2010-10-16 Jakub Jelinek <jakub@redhat.com>
36558 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
36559 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
36560 computation is not scheduled after fetestexcept. Fix value
36561 of minimum denormal long double.
36563 2010-10-14 Jakub Jelinek <jakub@redhat.com>
36566 * math/libm-test.inc (fma_test): Add some more tests.
36567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
36570 2010-10-15 Andreas Schwab <schwab@redhat.com>
36572 * scripts/data/localplt-s390-linux-gnu.data: New file.
36573 * scripts/data/localplt-s390x-linux-gnu.data: New file.
36575 2010-10-13 Jakub Jelinek <jakub@redhat.com>
36578 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
36579 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
36581 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
36583 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
36584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
36585 if one of x and y is very large and the other is subnormal.
36586 * sysdeps/s390/fpu/s_fmaf.c: New file.
36587 * sysdeps/s390/fpu/s_fma.c: New file.
36588 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
36589 * sysdeps/powerpc/fpu/s_fma.S: New file.
36590 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
36591 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
36592 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
36594 2010-10-12 Jakub Jelinek <jakub@redhat.com>
36597 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
36599 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
36600 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
36601 * sysdeps/i386/i686/multiarch/s_fma.c: Include
36602 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
36603 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
36604 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
36605 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
36607 2010-10-12 Ulrich Drepper <drepper@redhat.com>
36610 * posix/regcomp.c (parse_branch): One more memory leak plugged.
36611 * posix/bug-regex31.input: Add test case.
36613 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36615 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
36616 * posix/bug-regex31.input: New file.
36619 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36620 (parse_sub_exp): Fix last change, use postorder.
36622 * posix/bug-regex31.c: New file.
36623 * posix/Makefile: Add rules to build and run bug-regex31.
36625 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36628 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36631 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36632 to have entries in sys_siglist.
36635 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36638 2010-10-07 Jakub Jelinek <jakub@redhat.com>
36641 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36642 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36643 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36644 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36645 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36646 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36647 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36648 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36649 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36650 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36651 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36652 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36653 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36654 * math/ftestexcept.c (fetestexcept): Likewise.
36655 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36656 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36657 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36658 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36659 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36660 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36661 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36663 2010-10-11 Ulrich Drepper <drepper@gmail.com>
36666 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36669 2010-10-06 Ulrich Drepper <drepper@gmail.com>
36671 * string/bug-strstr1.c: New file.
36672 * string/Makefile: Add rules to build and run bug-strstr1.
36674 2010-10-05 Eric Blake <eblake@redhat.com>
36677 * string/str-two-way.h (two_way_long_needle): Always clear memory
36678 when skipping input due to the shift table.
36680 2010-10-03 Ulrich Drepper <drepper@gmail.com>
36683 * malloc/mcheck.c: Handle large requests.
36686 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36687 for strncmp and strncasecmp.
36688 * string/stratcliff.c: Add tests for strcmp and strncmp.
36689 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36691 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36693 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36696 2010-09-30 Andreas Jaeger <aj@suse.de>
36698 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36699 (CGROUP_SUPER_MAGIC): Define.
36700 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36701 Handle btrfs and cgroup file systems.
36702 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36705 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
36707 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36708 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36710 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36713 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36714 trying to locate the ELF header.
36716 2010-09-27 Andreas Schwab <schwab@redhat.com>
36719 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36720 Mask out sign-bit copies when constructing f_fsid.
36722 2010-09-24 Petr Baudis <pasky@suse.cz>
36724 * debug/stack_chk_fail_local.c: Add missing licence exception.
36725 * debug/warning-nop.c: Likewise.
36727 2010-09-15 Joseph Myers <joseph@codesourcery.com>
36729 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36730 implementing getdents64 using getdents syscall, set d_type if
36731 __ASSUME_GETDENTS32_D_TYPE.
36733 2010-09-16 Andreas Schwab <schwab@redhat.com>
36735 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36736 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36738 2010-09-21 Ulrich Drepper <drepper@redhat.com>
36741 * posix/unistd.h: Undo change of feature selection for ftruncate from
36744 2010-09-20 Ulrich Drepper <drepper@redhat.com>
36746 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36749 2010-09-20 Andreas Schwab <schwab@redhat.com>
36751 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36753 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36755 2010-09-14 Andreas Schwab <schwab@redhat.com>
36757 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36758 variables after CHECK_SP call.
36759 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36761 2010-09-13 Andreas Schwab <schwab@redhat.com>
36762 Ulrich Drepper <drepper@redhat.com>
36764 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36765 re-relocationg ld.so.
36766 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36767 _dl_init_paths call.
36768 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
36771 2010-09-14 Ulrich Drepper <drepper@redhat.com>
36773 * resolv/res_init.c (__res_vinit): Count the default server we added.
36775 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
36776 Ulrich Drepper <drepper@redhat.com>
36779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36780 (____longjmp_chk): Use %ebx for saving value across system call.
36783 2010-09-06 Andreas Schwab <schwab@redhat.com>
36785 * manual/Makefile: Don't mix pattern rules with normal rules.
36787 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
36789 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36791 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36792 * libio/iofopncook.c (_IO_cookie_init): Likewise.
36793 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36794 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36798 2010-09-04 Ulrich Drepper <drepper@redhat.com>
36801 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36802 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36804 2010-09-02 Ulrich Drepper <drepper@redhat.com>
36806 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36807 * sysdeps/x86_64/addmul_1.S: Likewise.
36808 * sysdeps/x86_64/lshift.S: Likewise.
36809 * sysdeps/x86_64/mul_1.S: Likewise.
36810 * sysdeps/x86_64/rshift.S: Likewise.
36811 * sysdeps/x86_64/sub_n.S: Likewise.
36812 * sysdeps/x86_64/submul_1.S: Likewise.
36814 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
36816 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36817 Define __sched_param instead of SCHED_* and sched_param when
36818 <bits/sched.h> is included with __need_schedparam defined.
36819 * bits/sched.h [__need_schedparam]
36820 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36821 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36822 (__defined_schedparam): Define to 1.
36823 (__sched_param): New structure, identical to sched_param.
36824 (__need_schedparam): Undefine.
36826 2010-08-31 Mike Frysinger <vapier@gentoo.org>
36828 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36829 (epoll_create1): Declare.
36831 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36833 2010-08-31 Andreas Schwab <schwab@redhat.com>
36836 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36837 shifting retval into place.
36839 2010-09-01 Ulrich Drepper <drepper@redhat.com>
36841 * nis/rpcsvc/nis.h: Update copyright notice.
36842 * nis/rpcsvc/nis.x: Likewise.
36843 * nis/rpcsvc/nis_callback.h: Likewise.
36844 * nis/rpcsvc/nis_callback.x: Likewise.
36845 * nis/rpcsvc/nis_object.x: Likewise.
36846 * nis/rpcsvc/nis_tags.h: Likewise.
36847 * nis/rpcsvc/yp.h: Likewise.
36848 * nis/rpcsvc/yp.x: Likewise.
36849 * nis/rpcsvc/ypupd.h: Likewise.
36850 * nis/yp_xdr.c: Likewise.
36851 * nis/ypupdate_xdr.c: Likewise.
36853 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
36854 mainly the body of pmap_getport. Add parameters to specify timeouts.
36855 (pmap_getport): Use __libc_rpc_getport.
36856 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36857 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36858 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36860 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
36862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36865 2010-08-27 Roland McGrath <roland@redhat.com>
36867 * sysdeps/i386/i686/multiarch/Makefile
36868 (CFLAGS-varshift.c): New variable.
36870 2010-08-27 Ulrich Drepper <drepper@redhat.com>
36872 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36873 * sysdeps/i386/i686/multiarch/varshift.c: New file.
36875 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36877 * sysdeps/x86_64/strlen.S: Minimal code improvement.
36879 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
36881 * sysdeps/x86_64/strlen.S: Unroll the loop.
36882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36883 strlen-sse2 strlen-sse2-bsf.
36884 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36885 __strlen_no_bsf if bit_Slow_BSF is set.
36886 (__strlen_sse42): Removed.
36887 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36888 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36890 2010-08-25 Roland McGrath <roland@redhat.com>
36892 * sysdeps/x86_64/multiarch/varshift.S: File removed.
36893 * sysdeps/x86_64/multiarch/varshift.c: New file.
36894 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36895 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36896 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36897 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36899 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
36901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36902 strlen-sse2 strlen-sse2-bsf.
36903 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36904 __strlen_sse2_bsf if bit_Slow_BSF is unset.
36905 (__strlen_sse2): Removed.
36906 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36907 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36909 bit_Slow_BSF for Atom.
36910 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36911 (index_Slow_BSF): Define.
36912 (HAS_SLOW_BSF): Define.
36914 2010-08-25 Ulrich Drepper <drepper@redhat.com>
36917 * resolv/res_init.c (__res_vinit): When no server address at all
36918 is given default to loopback.
36920 2010-08-24 Roland McGrath <roland@redhat.com>
36922 * configure.in: Remove config-name.h generation.
36923 * configure: Regenerated.
36924 * config-name.in: File removed.
36925 * scripts/config-uname.sh: New file.
36926 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36927 ($(objdir)config-name.h): New target.
36929 * sunrpc/rpc_parse.h: Avoid nested comment.
36931 2010-08-24 Richard Henderson <rth@redhat.com>
36932 Ulrich Drepper <drepper@redhat.com>
36933 H.J. Lu <hongjiu.lu@intel.com>
36935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36937 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36938 Replace _mm_srli_si128 with __m128i_shift_right. Replace
36939 _mm_alignr_epi8 with _mm_loadu_si128.
36940 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36941 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36942 (__m128i_shift_right): Removed.
36943 * sysdeps/i386/i686/multiarch/varshift.h: New file.
36944 * sysdeps/i386/i686/multiarch/varshift.S: New file.
36945 * sysdeps/x86_64/multiarch/varshift.h: New file.
36946 * sysdeps/x86_64/multiarch/varshift.S: New file.
36948 2010-08-21 Mike Frysinger <vapier@gentoo.org>
36950 * configure.in: Move assembler checks to before sysdep dir checking.
36952 2010-08-20 Petr Baudis <pasky@suse.cz>
36954 * LICENSES: Sync the sunrpc license.
36956 2010-08-19 Ulrich Drepper <drepper@redhat.com>
36958 * sunrpc/auth_des.c: Update copyright notice once again.
36959 * sunrpc/auth_none.c: Likewise.
36960 * sunrpc/auth_unix.c: Likewise.
36961 * sunrpc/authdes_prot.c: Likewise.
36962 * sunrpc/authuxprot.c: Likewise.
36963 * sunrpc/bindrsvprt.c: Likewise.
36964 * sunrpc/clnt_gen.c: Likewise.
36965 * sunrpc/clnt_perr.c: Likewise.
36966 * sunrpc/clnt_raw.c: Likewise.
36967 * sunrpc/clnt_simp.c: Likewise.
36968 * sunrpc/clnt_tcp.c: Likewise.
36969 * sunrpc/clnt_udp.c: Likewise.
36970 * sunrpc/clnt_unix.c: Likewise.
36971 * sunrpc/des_crypt.c: Likewise.
36972 * sunrpc/des_soft.c: Likewise.
36973 * sunrpc/get_myaddr.c: Likewise.
36974 * sunrpc/getrpcport.c: Likewise.
36975 * sunrpc/key_call.c: Likewise.
36976 * sunrpc/key_prot.c: Likewise.
36977 * sunrpc/openchild.c: Likewise.
36978 * sunrpc/pm_getmaps.c: Likewise.
36979 * sunrpc/pm_getport.c: Likewise.
36980 * sunrpc/pmap_clnt.c: Likewise.
36981 * sunrpc/pmap_prot.c: Likewise.
36982 * sunrpc/pmap_prot2.c: Likewise.
36983 * sunrpc/pmap_rmt.c: Likewise.
36984 * sunrpc/rpc/auth.h: Likewise.
36985 * sunrpc/rpc/auth_unix.h: Likewise.
36986 * sunrpc/rpc/clnt.h: Likewise.
36987 * sunrpc/rpc/des_crypt.h: Likewise.
36988 * sunrpc/rpc/key_prot.h: Likewise.
36989 * sunrpc/rpc/netdb.h: Likewise.
36990 * sunrpc/rpc/pmap_clnt.h: Likewise.
36991 * sunrpc/rpc/pmap_prot.h: Likewise.
36992 * sunrpc/rpc/pmap_rmt.h: Likewise.
36993 * sunrpc/rpc/rpc.h: Likewise.
36994 * sunrpc/rpc/rpc_des.h: Likewise.
36995 * sunrpc/rpc/rpc_msg.h: Likewise.
36996 * sunrpc/rpc/svc.h: Likewise.
36997 * sunrpc/rpc/svc_auth.h: Likewise.
36998 * sunrpc/rpc/types.h: Likewise.
36999 * sunrpc/rpc/xdr.h: Likewise.
37000 * sunrpc/rpc_clntout.c: Likewise.
37001 * sunrpc/rpc_cmsg.c: Likewise.
37002 * sunrpc/rpc_common.c: Likewise.
37003 * sunrpc/rpc_cout.c: Likewise.
37004 * sunrpc/rpc_dtable.c: Likewise.
37005 * sunrpc/rpc_hout.c: Likewise.
37006 * sunrpc/rpc_main.c: Likewise.
37007 * sunrpc/rpc_parse.c: Likewise.
37008 * sunrpc/rpc_parse.h: Likewise.
37009 * sunrpc/rpc_prot.c: Likewise.
37010 * sunrpc/rpc_sample.c: Likewise.
37011 * sunrpc/rpc_scan.c: Likewise.
37012 * sunrpc/rpc_scan.h: Likewise.
37013 * sunrpc/rpc_svcout.c: Likewise.
37014 * sunrpc/rpc_tblout.c: Likewise.
37015 * sunrpc/rpc_util.c: Likewise.
37016 * sunrpc/rpc_util.h: Likewise.
37017 * sunrpc/rpcinfo.c: Likewise.
37018 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37019 * sunrpc/rpcsvc/key_prot.x: Likewise.
37020 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37021 * sunrpc/rpcsvc/mount.x: Likewise.
37022 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37023 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37024 * sunrpc/rpcsvc/rex.x: Likewise.
37025 * sunrpc/rpcsvc/rstat.x: Likewise.
37026 * sunrpc/rpcsvc/rusers.x: Likewise.
37027 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37028 * sunrpc/rpcsvc/spray.x: Likewise.
37029 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37030 * sunrpc/rtime.c: Likewise.
37031 * sunrpc/svc.c: Likewise.
37032 * sunrpc/svc_auth.c: Likewise.
37033 * sunrpc/svc_authux.c: Likewise.
37034 * sunrpc/svc_raw.c: Likewise.
37035 * sunrpc/svc_run.c: Likewise.
37036 * sunrpc/svc_simple.c: Likewise.
37037 * sunrpc/svc_tcp.c: Likewise.
37038 * sunrpc/svc_udp.c: Likewise.
37039 * sunrpc/svc_unix.c: Likewise.
37040 * sunrpc/svcauth_des.c: Likewise.
37041 * sunrpc/xcrypt.c: Likewise.
37042 * sunrpc/xdr.c: Likewise.
37043 * sunrpc/xdr_array.c: Likewise.
37044 * sunrpc/xdr_float.c: Likewise.
37045 * sunrpc/xdr_mem.c: Likewise.
37046 * sunrpc/xdr_rec.c: Likewise.
37047 * sunrpc/xdr_ref.c: Likewise.
37048 * sunrpc/xdr_sizeof.c: Likewise.
37049 * sunrpc/xdr_stdio.c: Likewise.
37051 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37054 2010-08-19 Andreas Schwab <schwab@redhat.com>
37056 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37058 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37060 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37061 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37062 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37063 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37064 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37065 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37066 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37067 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37068 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37069 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37070 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37071 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37072 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37073 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37075 2010-07-26 Anton Blanchard <anton@samba.org>
37077 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37078 * malloc/arena.c (heap_trim): Likewise.
37080 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37082 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37085 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37087 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37089 * sysdeps/i386/elf/Makefile: New file.
37091 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37093 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37094 from fanotify_init.
37095 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37098 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37100 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37102 * sysdeps/multiarch/strcmp.S: Likewise.
37104 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37106 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37107 strncase_l-nonascii.
37108 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37109 Add strncase_l-ssse3.
37110 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37111 * sysdeps/x86_64/strcmp.S: Likewise.
37112 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37113 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37114 * sysdeps/x86_64/strncase.S: New file.
37115 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37116 * sysdeps/x86_64/strncase_l.S: New file.
37117 * string/Makefile (strop-tests): Add strncasecmp.
37118 * string/test-strncasecmp.c: New file.
37120 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37123 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37124 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37126 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37128 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37130 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37132 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37133 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37134 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37136 2010-05-01 Alan Modra <amodra@gmail.com>
37138 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37139 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37140 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37141 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37142 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37143 tidying. Don't tail-call __sigjmp_save for static lib.
37144 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37146 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37147 (CALL_MCOUNT): Add eh info, and nop after bl.
37148 (TAIL_CALL_SYSCALL_ERROR): New macro.
37149 (PSEUDO_RET): Use it.
37150 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37151 Correct save location of integer regs and cr.
37152 (_dl_profile_resolve): Correct cr save location. Delete nops
37153 after bl when SHARED. Reduce cfi size a little by better
37154 placement of cfi directives.
37155 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37156 make a stack frame. Instead use parm save area as a temp.
37157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37158 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37160 Don't make a stack frame for parent, use parm save area.
37161 Increase child stack frame to 112 bytes. Don't save unused reg,
37162 and adjust reg usage. Set up cfi on error recovery and
37163 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37165 (__makecontext): Add dummy nop after jump to exit.
37166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37167 Use correct parm save area and cr save, reduce stack frame.
37168 Correct cfi for possible PSEUDO_RET frame setup.
37169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37170 Branch to local label emitted by PSEUDO_RET rather than
37173 2010-08-12 Andreas Schwab <schwab@redhat.com>
37176 * locale/programs/locale.c (print_assignment): New function.
37177 (show_locale_vars): Use it.
37179 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37181 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37183 (struct statfs64): Likewise.
37184 (_STATFS_F_FLAGS): Define.
37185 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37186 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37187 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37188 (ST_VALID): Define locally.
37189 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37190 __statvfs_getflags, use the provided value.
37191 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37192 __ASSUME_STATFS_F_FLAGS.
37194 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37196 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37197 Add sys/fanotify.h.
37198 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37199 fanotify_mask for GLIBC_2.13.
37200 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37201 fanotify_init and fanotify_mark.
37202 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37203 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37205 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37207 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37208 prlimit64 for GLIBC_2.13.
37209 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37211 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37215 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37216 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37217 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37219 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37222 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37223 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37225 * nss/Makefile: Add rules to build and run tst-nss-test1.
37226 * shlib-versions: Add entry for libnss_test1.
37227 * nss/nss_test1.c: New file.
37228 * nss/tst-nss-test1.c: New file.
37230 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37231 (__nss_configure_lookup): Set appropriate entry in
37232 __nss_configure_lookup to true.
37233 * nss/nsswitch.h: Define enum with indeces of databases in
37234 databases and __nss_database_custom arrays. Declare
37235 __nss_database_custom.
37236 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37237 to avoid using nscd when custom rules are installed.
37238 * nss/getXXbyYY_r.c: Likewise.
37239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37241 * nss/nss_files/files-parse.c: Whitespace fixes.
37243 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37246 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37247 * posix/fnmatch_loop.c: Likewise.
37249 2010-07-17 Andi Kleen <ak@linux.intel.com>
37251 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37252 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37253 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37254 * Versions.def [GLIBC_2.13]: Add.
37256 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37258 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37259 Also fail if tpwd after pwuid call is NULL.
37261 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37263 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37264 when converting to ms.
37266 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37268 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37269 EOPNOTSUPP errors with ENOTTY.
37270 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37271 EOPNOTSUPP errors with ENOTTY.
37273 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37275 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37276 Add strcasecmp_l-ssse3.
37277 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37279 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37280 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37281 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37283 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37285 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37287 * string/Makefile (strop-tests): Add strcasecmp.
37288 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37289 strcasecmp_l-nonascii.
37290 (gen-as-const-headers): Add locale-defines.sym.
37291 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37292 * sysdeps/x86_64/strcasecmp.S: New file.
37293 * sysdeps/x86_64/strcasecmp_l.S: New file.
37294 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37295 * sysdeps/x86_64/locale-defines.sym: New file.
37296 * string/test-strcasecmp.c: New file.
37298 * string/test-strcasestr.c: Test both ends of the range of characters.
37299 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37301 2010-07-29 Roland McGrath <roland@redhat.com>
37304 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37306 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37308 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37311 2010-07-27 Andreas Schwab <schwab@redhat.com>
37313 * manual/memory.texi (Malloc Tunable Parameters): Document
37316 2010-07-26 Roland McGrath <roland@redhat.com>
37319 * configure.in (-fgnu89-inline check): Set and substitute
37320 gnu89_inline, not libc_cv_gnu89_inline.
37321 * configure: Regenerated.
37322 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37324 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37326 * string/test-strnlen.c: New file.
37327 * string/Makefile (strop-tests): Add strnlen.
37328 * string/tester.c (test_strnlen): Add a few more test cases.
37329 * string/tst-strlen.c: Better error reporting.
37331 * sysdeps/x86_64/strnlen.S: New file.
37333 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37335 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37336 lower-latency instructions.
37338 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37340 * string/test-strcasestr.c: New file.
37341 * string/test-strstr.c: New file.
37342 * string/Makefile (strop-tests): Add strstr and strcasestr.
37343 * string/str-two-way.h: Don't undefine MAX.
37344 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37346 2010-07-21 Andreas Schwab <schwab@redhat.com>
37348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37349 strcasestr-nonascii.
37350 (CFLAGS-strcasestr-nonascii.c): Define.
37351 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37352 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37353 Remove unused attribute.
37355 2010-07-20 Roland McGrath <roland@redhat.com>
37357 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37358 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37359 ld.so.cache was broken. With it, there is no way to disable dsocaps
37360 like LD_HWCAP_MASK can disable hwcaps.
37362 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37364 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37366 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37368 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37369 call in strcasestr.
37370 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37371 __strcasestr_sse42_nonascii.
37372 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37373 strcasestr-nonascii.c.
37374 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37376 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37378 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37379 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37380 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37381 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37383 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37388 2010-07-06 Andreas Schwab <schwab@redhat.com>
37391 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37394 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37397 _PC_PIPE_BUF using F_GETPIPE_SZ.
37399 2010-07-05 Roland McGrath <roland@redhat.com>
37401 * manual/arith.texi (Rounding Functions): Fix rint description
37402 implicit in round description.
37404 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37406 * elf/Makefile: Fix linking for a few tests to make recent linker
37409 2010-06-30 Andreas Schwab <schwab@redhat.com>
37411 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37412 $(common-objpfx)libc_nonshared.a.
37414 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37416 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37417 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37418 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37419 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37420 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37421 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37422 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37423 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37438 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37439 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37440 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37441 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37442 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37443 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37444 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37445 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37446 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37447 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37448 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37449 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37465 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37467 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37468 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37469 * string/memmove.c (memmove): Renamed to ...
37470 (MEMMOVE): ...this. Default to memmove.
37471 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37472 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37475 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37476 mempcpy-ssse3-back memmove-ssse3-back.
37477 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37478 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37480 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37481 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37482 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37483 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37484 * sysdeps/x86_64/multiarch/memmove.c: New file.
37485 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37486 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37487 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37488 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37489 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37490 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37492 (index_Fast_Copy_Backward): Define.
37493 (HAS_ARCH_FEATURE): Define.
37494 (HAS_FAST_REP_STRING): Define.
37495 (HAS_FAST_COPY_BACKWARD): Define.
37497 2010-06-21 Andreas Schwab <schwab@redhat.com>
37499 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37500 Restore proper fallback handling.
37502 2010-06-19 Ulrich Drepper <drepper@redhat.com>
37505 * posix/group_member.c (__group_member): Correct checking loop.
37507 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37508 OOM in getpwuid_r correctly. Return error number when the caller
37509 should return, otherwise -1.
37510 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37511 call returning > 0 value.
37512 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37514 2010-06-07 Andreas Schwab <schwab@redhat.com>
37516 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37517 libc_nonshared.a from targets in modules-names.
37519 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37521 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37524 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
37526 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37527 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37529 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37531 2010-06-02 Andreas Schwab <schwab@redhat.com>
37533 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37535 2010-06-14 Ulrich Drepper <drepper@redhat.com>
37537 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
37539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37540 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37543 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37544 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
37546 2010-06-14 Roland McGrath <roland@redhat.com>
37548 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
37550 2010-06-07 Jakub Jelinek <jakub@redhat.com>
37552 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
37553 __REDIRECT followed by __THROW.
37554 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
37555 * posix/getopt.h (getopt): Likewise.
37557 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37559 * hurd/lookup-at.c (__file_name_lookup_at): Accept
37560 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
37561 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
37563 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
37564 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
37566 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
37568 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
37570 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
37573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37574 Properly check family and model.
37576 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
37578 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
37580 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
37582 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
37584 2010-05-21 Ulrich Drepper <drepper@redhat.com>
37586 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
37589 2010-05-19 Andreas Schwab <schwab@redhat.com>
37591 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
37594 2010-05-21 Andreas Schwab <schwab@redhat.com>
37596 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
37597 and internal_recvmmsg.
37598 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
37599 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
37600 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
37601 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
37603 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
37604 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37605 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37607 2010-05-20 Andreas Schwab <schwab@redhat.com>
37609 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
37611 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
37613 POWER7 optimizations.
37614 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
37615 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
37617 2010-05-19 Ulrich Drepper <drepper@redhat.com>
37619 * version.h: Update for 2.13 development version.
37621 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
37623 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37624 exceptions. Return 0.
37626 2010-05-07 Roland McGrath <roland@redhat.com>
37628 * elf/ldconfig.c (main): Add a const.
37630 2010-05-06 Ulrich Drepper <drepper@redhat.com>
37632 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37633 (args_options): Add no-idn option.
37634 (ahosts_keys_int): Add idn_flags to ai_flags.
37635 (parse_option): Handle 'i' option to clear idn_flags.
37637 * malloc/malloc.c (_int_free): Possible race in the most recently
37638 added check. Only act on the data if no current modification
37641 See ChangeLog.17 for earlier changes.