1 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4 * nss/getent.c (services_keys): Recognize services starting with digit.
6 2013-11-06 David S. Miller <davem@davemloft.net>
9 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
10 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12 2013-11-06 Will Newton <will.newton@linaro.org>
14 * manual/memory.texi (Malloc Examples): Remove register
15 keyword from examples.
17 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
19 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21 2013-11-04 Joseph Myers <joseph@codesourcery.com>
23 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24 depending on [__GCC_IEC_559 > 0].
25 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26 depending on [__GCC_IEC_559_COMPLEX > 0].
28 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
33 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
35 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
40 * malloc/malloc (malloc_info): Do not handle first bin as
43 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
45 * locale/iso-639.def: Add Central Nahuatl (nhn).
47 2013-11-01 Bruno Haible <bruno@clisp.org>
50 * manual/math.texi (BSD Random): Specify range upper bound as
53 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
55 * locale/iso-639.def: Add Meadow Mari (mhr).
57 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
59 [BZ #14752], [BZ #15763]
60 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
62 * rt/tst_shm.c: Add test for escaping directory.
64 2013-10-31 Andreas Schwab <schwab@suse.de>
67 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
68 followed by 'x' as part of digit sequence.
69 * stdio-common/tst-sscanf.c (double_tests2): New tests.
71 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
74 * configure.ac: allow GNU Make 4.0 and greater.
75 * configure: Regenerated.
77 2013-10-30 Will Newton <will.newton@linaro.org>
80 * malloc/hooks.c (memalign_check): Limit alignment to the
81 maximum representable power of two.
82 * malloc/malloc.c (__libc_memalign): Likewise.
83 * malloc/tst-memalign.c (do_test): Add test for very
84 large alignment values.
85 * malloc/tst-posix_memalign.c (do_test): Likewise.
87 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
90 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
91 (munmap_chunk): Likewise.
92 (mremap_chunk): Likewise.
94 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
97 * stdlib/div.c (div): Remove obsolete code.
98 * stdlib/ldiv.c (ldiv): Likewise.
99 * stdlib/lldiv.c (lldiv): Likewise.
101 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
104 * nss/nss_files/files-XXX.c (get_contents_ret): New
106 (get_contents): New function.
107 (internal_getent): Use it. Expand size of LINEBUFLEN.
109 2013-10-30 Mike Frysinger <vapier@gentoo.org>
111 * configure.in: Moved to ...
112 * configure.ac: ... here. Change reference to configure.in
114 * sysdeps/arm/preconfigure.ac: ... here.
115 configure.in to configure.ac.
116 * sysdeps/gnu/configure.in: Moved to ...
117 * sysdeps/gnu/configure.ac: ... here.
118 * sysdeps/i386/configure.in: Moved to ...
119 * sysdeps/i386/configure.ac: ... here.
120 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
121 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
122 * sysdeps/mach/configure.in: Moved to ...
123 * sysdeps/mach/configure.ac: ... here.
124 * sysdeps/mach/hurd/configure.in: Moved to ...
125 * sysdeps/mach/hurd/configure.ac: ... here.
126 * sysdeps/powerpc/configure.in: Moved to ...
127 * sysdeps/powerpc/configure.ac: ... here.
128 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
129 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
130 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
131 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
132 * sysdeps/s390/s390-32/configure.in: Moved to ...
133 * sysdeps/s390/s390-32/configure.ac: ... here.
134 * sysdeps/s390/s390-64/configure.in: Moved to ...
135 * sysdeps/s390/s390-64/configure.ac: ... here.
136 * sysdeps/sh/configure.in: Moved to ...
137 * sysdeps/sh/configure.ac: ... here.
138 * sysdeps/sparc/configure.in: Moved to ...
139 * sysdeps/sparc/configure.ac: ... here.
140 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
141 * sysdeps/unix/sysv/linux/configure.ac: ... here.
142 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
143 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
144 * sysdeps/x86_64/configure.in: Moved to ...
145 * sysdeps/x86_64/configure.ac: ... here.
146 * sysdeps/x86_64/preconfigure.in: Moved to ...
147 * sysdeps/x86_64/preconfigure.ac: ... here.
148 * aclocal.m4: Change reference to configure.in to configure.ac.
149 * config.h.in: Likewise.
150 * manual/install.texi: Likewise.
151 * manual/maint.texi: Likewise.
152 * Makefile: Likewise.
153 * malloc/Makefile: Likewise.
154 * nscd/Makefile: Likewise.
155 * Makeconfig: Change reference to configure.in and
156 preconfigure.in to configure.ac and preconfigure.ac
158 * INSTALL: Regenerated.
159 * configure: Likewise.
160 * sysdeps/gnu/configure: Likewise.
161 * sysdeps/i386/configure: Likewise.
162 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
163 * sysdeps/mach/configure: Likewise.
164 * sysdeps/mach/hurd/configure: Likewise.
165 * sysdeps/powerpc/configure: Likewise.
166 * sysdeps/powerpc/powerpc32/configure: Likewise.
167 * sysdeps/powerpc/powerpc64/configure: Likewise.
168 * sysdeps/s390/s390-32/configure: Likewise.
169 * sysdeps/s390/s390-64/configure: Likewise.
170 * sysdeps/sh/configure: Likewise.
171 * sysdeps/sparc/configure: Likewise.
172 * sysdeps/unix/sysv/linux/configure: Likewise.
173 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
174 * sysdeps/x86_64/configure: Likewise.
175 * sysdeps/x86_64/preconfigure: Likewise.
177 2013-10-29 Andreas Schwab <schwab@suse.de>
179 * stdio-common/Makefile (tst-swscanf-ENV): Define.
181 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
183 * benchtests/pow-inputs: Add new inputs.
185 * benchtests/exp-inputs: Add new inputs.
187 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
188 conditional check for return value.
191 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
193 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
194 to provide a boost for large inputs with word alignment.
195 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
196 implementation based on optimized PPC64 strcpy.
197 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
198 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
199 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
200 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
202 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
205 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
207 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
210 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
211 * time/tst-strptime.c (day_tests): Add testcase.
213 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
216 * manual/pattern.texi: Acknowledge that fnmatch can fail.
218 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
221 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
224 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
227 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
228 heap for large requests.
230 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
233 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
234 result if the result has no associated interface.
235 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
236 interface for all 127.X.Y.Z addresses.
238 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
240 * locale/iso-639.def: Add Ligurian (lij)
242 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
245 * sunrpc/rpc_main.c: Document rpcgen -5.
247 2013-10-19 Michael Stahl <mstahl@redhat.com>
249 * elf/rtld.c (do_preload): Print the reason why preloading failed.
251 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
254 * posix/glob.c: Match only directories when trailing slash is present.
255 * posix/tst-gnuglob.c (my_opendir): Do not open files.
256 (main): Add testcase.
258 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
261 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
263 2013-10-18 Carlos O'Donell <carlos@redhat.com>
265 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
266 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
267 AUTH_DES and cindex for FIPS 140-2.
268 (DES Encryption): Add cindex FIPS 46-3.
270 * locale/locarchive.h (struct locarhandle): Add fname.
271 * locale/programs/localedef.c (main): Pass ARGV[remaining]
272 if an optional argument was specified to --list-archive,
274 * locale/programs/locarchive.c (show_archive_content): Take new
275 argument fname and pass it via ah.fname to open_archive.
276 * locale/programs/localedef.h: Update decl.
277 (open_archive): If AH->fname is non-null, open that file
278 rather than the default file name, and don't ignore ENOENT.
279 (create_archive): Set AH.fname to NULL.
280 (delete_locales_from_archive): Likewise.
281 (add_locales_to_archive): Likewise.
282 * locale/programs/locfile.c (write_all_categories): Likewise.
284 2013-10-18 Joseph Myers <joseph@codesourcery.com>
285 Aldy Hernandez <aldyh@redhat.com>
287 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
288 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
289 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
290 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
291 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
292 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
293 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
294 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
295 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
296 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
297 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
298 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
299 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
300 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
301 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
303 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
305 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
307 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
309 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
310 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
312 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
313 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
314 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
315 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
317 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
318 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
319 * sysdeps/powerpc/preconfigure: Likewise.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
322 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
323 Replace contents of file by #include of <fenv_libc.h>.
324 * sysdeps/powerpc/soft-fp/sfp-machine.h
325 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
327 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
328 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
329 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
330 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
331 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
332 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
334 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
335 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
336 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
337 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
338 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
340 Allow copysignl PLT reference to be missing.
342 2013-10-18 Richard Sandiford <richard@codesourcery.com>
343 Joseph Myers <joseph@codesourcery.com
346 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
348 (add_to_tablewc): Assert sequence of wide characters is nonempty.
350 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
352 * elf/tst-tls-dlinfo.c: Don't include tls.h.
353 * elf/tst-tls1.c: Likewise.
354 * elf/tst-tls10.h: Likewise.
355 * elf/tst-tls14.c: Likewise.
356 * elf/tst-tls2.c: Likewise.
357 * elf/tst-tls3.c: Likewise.
358 * elf/tst-tls4.c: Likewise.
359 * elf/tst-tls5.c: Likewise.
360 * elf/tst-tls6.c: Likewise.
361 * elf/tst-tls7.c: Likewise.
362 * elf/tst-tls8.c: Likewise.
363 * elf/tst-tls9.c: Likewise.
364 * elf/tst-tlsmod1.c: Likewise.
365 * elf/tst-tlsmod13.c: Likewise.
366 * elf/tst-tlsmod13a.c: Likewise.
367 * elf/tst-tlsmod14a.c: Likewise.
368 * elf/tst-tlsmod16a.c: Likewise.
369 * elf/tst-tlsmod16b.c: Likewise.
370 * elf/tst-tlsmod2.c: Likewise.
371 * elf/tst-tlsmod3.c: Likewise.
372 * elf/tst-tlsmod4.c: Likewise.
373 * elf/tst-tlsmod5.c: Likewise.
374 * elf/tst-tlsmod6.c: Likewise.
376 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
379 * malloc/malloc.c: remove checks for statistics.
381 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
384 * inet/inet_net.c (inet_network): Detect additional invalid strings.
385 * inet/tst-network.c: Add testcase.
387 2013-10-17 Andreas Schwab <schwab@suse.de>
390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
391 to determine canonical name.
393 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
395 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
396 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
398 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
400 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
401 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
402 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
403 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
404 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
405 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
406 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
407 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
408 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
409 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
410 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
411 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
412 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
413 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
414 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
415 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
418 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
419 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
420 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
421 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
422 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
423 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
424 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
425 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
426 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
427 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
428 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
429 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
430 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
431 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
432 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
433 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
434 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
435 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
436 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
437 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
438 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
439 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
440 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
441 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
442 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
443 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
444 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
445 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
446 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
447 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
448 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
449 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
450 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
451 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
452 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
454 2013-10-17 Joseph Myers <joseph@codesourcery.com>
457 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
458 make result into a quiet NaN.
460 2013-10-16 Joseph Myers <joseph@codesourcery.com>
462 * soft-fp/adddf3.c: Fix horizontal whitespace.
463 * soft-fp/addsf3.c: Likewise.
464 * soft-fp/addtf3.c: Likewise.
465 * soft-fp/divdf3.c: Likewise.
466 * soft-fp/divsf3.c: Likewise.
467 * soft-fp/divtf3.c: Likewise.
468 * soft-fp/double.h: Likewise.
469 * soft-fp/eqdf2.c: Likewise.
470 * soft-fp/eqsf2.c: Likewise.
471 * soft-fp/eqtf2.c: Likewise.
472 * soft-fp/extenddftf2.c: Likewise.
473 * soft-fp/extended.h: Likewise.
474 * soft-fp/extendsfdf2.c: Likewise.
475 * soft-fp/extendsftf2.c: Likewise.
476 * soft-fp/extendxftf2.c: Likewise.
477 * soft-fp/fixdfdi.c: Likewise.
478 * soft-fp/fixdfsi.c: Likewise.
479 * soft-fp/fixdfti.c: Likewise.
480 * soft-fp/fixsfdi.c: Likewise.
481 * soft-fp/fixsfsi.c: Likewise.
482 * soft-fp/fixsfti.c: Likewise.
483 * soft-fp/fixtfdi.c: Likewise.
484 * soft-fp/fixtfsi.c: Likewise.
485 * soft-fp/fixtfti.c: Likewise.
486 * soft-fp/fixunsdfdi.c: Likewise.
487 * soft-fp/fixunsdfsi.c: Likewise.
488 * soft-fp/fixunsdfti.c: Likewise.
489 * soft-fp/fixunssfdi.c: Likewise.
490 * soft-fp/fixunssfsi.c: Likewise.
491 * soft-fp/fixunssfti.c: Likewise.
492 * soft-fp/fixunstfdi.c: Likewise.
493 * soft-fp/fixunstfsi.c: Likewise.
494 * soft-fp/fixunstfti.c: Likewise.
495 * soft-fp/floatdidf.c: Likewise.
496 * soft-fp/floatdisf.c: Likewise.
497 * soft-fp/floatditf.c: Likewise.
498 * soft-fp/floatsidf.c: Likewise.
499 * soft-fp/floatsisf.c: Likewise.
500 * soft-fp/floatsitf.c: Likewise.
501 * soft-fp/floattidf.c: Likewise.
502 * soft-fp/floattisf.c: Likewise.
503 * soft-fp/floattitf.c: Likewise.
504 * soft-fp/floatundidf.c: Likewise.
505 * soft-fp/floatundisf.c: Likewise.
506 * soft-fp/floatunditf.c: Likewise.
507 * soft-fp/floatunsidf.c: Likewise.
508 * soft-fp/floatunsisf.c: Likewise.
509 * soft-fp/floatunsitf.c: Likewise.
510 * soft-fp/floatuntidf.c: Likewise.
511 * soft-fp/floatuntisf.c: Likewise.
512 * soft-fp/floatuntitf.c: Likewise.
513 * soft-fp/fmadf4.c: Likewise.
514 * soft-fp/fmasf4.c: Likewise.
515 * soft-fp/fmatf4.c: Likewise.
516 * soft-fp/gedf2.c: Likewise.
517 * soft-fp/gesf2.c: Likewise.
518 * soft-fp/getf2.c: Likewise.
519 * soft-fp/ledf2.c: Likewise.
520 * soft-fp/lesf2.c: Likewise.
521 * soft-fp/letf2.c: Likewise.
522 * soft-fp/muldf3.c: Likewise.
523 * soft-fp/mulsf3.c: Likewise.
524 * soft-fp/multf3.c: Likewise.
525 * soft-fp/negdf2.c: Likewise.
526 * soft-fp/negsf2.c: Likewise.
527 * soft-fp/negtf2.c: Likewise.
528 * soft-fp/op-1.h: Likewise.
529 * soft-fp/op-2.h: Likewise.
530 * soft-fp/op-4.h: Likewise.
531 * soft-fp/op-8.h: Likewise.
532 * soft-fp/op-common.h: Likewise.
533 * soft-fp/quad.h: Likewise.
534 * soft-fp/single.h: Likewise.
535 * soft-fp/soft-fp.h: Likewise.
536 * soft-fp/sqrtdf2.c: Likewise.
537 * soft-fp/sqrtsf2.c: Likewise.
538 * soft-fp/sqrttf2.c: Likewise.
539 * soft-fp/subdf3.c: Likewise.
540 * soft-fp/subsf3.c: Likewise.
541 * soft-fp/subtf3.c: Likewise.
542 * soft-fp/truncdfsf2.c: Likewise.
543 * soft-fp/trunctfdf2.c: Likewise.
544 * soft-fp/trunctfsf2.c: Likewise.
545 * soft-fp/trunctfxf2.c: Likewise.
546 * soft-fp/unorddf2.c: Likewise.
547 * soft-fp/unordsf2.c: Likewise.
548 * soft-fp/unordtf2.c: Likewise.
550 2013-10-15 Joseph Myers <joseph@codesourcery.com>
552 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
553 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
555 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
557 * elf/dl-libc.c: Clear initfini list after freeing.
559 2013-10-14 Joseph Myers <joseph@codesourcery.com>
561 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
562 * soft-fp/addsf3.c: Likewise.
563 * soft-fp/addtf3.c: Likewise.
564 * soft-fp/divdf3.c: Likewise.
565 * soft-fp/divsf3.c: Likewise.
566 * soft-fp/divtf3.c: Likewise.
567 * soft-fp/double.h: Likewise.
568 * soft-fp/eqdf2.c: Likewise.
569 * soft-fp/eqsf2.c: Likewise.
570 * soft-fp/eqtf2.c: Likewise.
571 * soft-fp/extenddftf2.c: Likewise.
572 * soft-fp/extended.h: Likewise.
573 * soft-fp/extendsfdf2.c: Likewise.
574 * soft-fp/extendsftf2.c: Likewise.
575 * soft-fp/extendxftf2.c: Likewise.
576 * soft-fp/fixdfdi.c: Likewise.
577 * soft-fp/fixdfsi.c: Likewise.
578 * soft-fp/fixdfti.c: Likewise.
579 * soft-fp/fixsfdi.c: Likewise.
580 * soft-fp/fixsfsi.c: Likewise.
581 * soft-fp/fixsfti.c: Likewise.
582 * soft-fp/fixtfdi.c: Likewise.
583 * soft-fp/fixtfsi.c: Likewise.
584 * soft-fp/fixtfti.c: Likewise.
585 * soft-fp/fixunsdfdi.c: Likewise.
586 * soft-fp/fixunsdfsi.c: Likewise.
587 * soft-fp/fixunsdfti.c: Likewise.
588 * soft-fp/fixunssfdi.c: Likewise.
589 * soft-fp/fixunssfsi.c: Likewise.
590 * soft-fp/fixunssfti.c: Likewise.
591 * soft-fp/fixunstfdi.c: Likewise.
592 * soft-fp/fixunstfsi.c: Likewise.
593 * soft-fp/fixunstfti.c: Likewise.
594 * soft-fp/floatdidf.c: Likewise.
595 * soft-fp/floatdisf.c: Likewise.
596 * soft-fp/floatditf.c: Likewise.
597 * soft-fp/floatsidf.c: Likewise.
598 * soft-fp/floatsisf.c: Likewise.
599 * soft-fp/floatsitf.c: Likewise.
600 * soft-fp/floattidf.c: Likewise.
601 * soft-fp/floattisf.c: Likewise.
602 * soft-fp/floattitf.c: Likewise.
603 * soft-fp/floatundidf.c: Likewise.
604 * soft-fp/floatundisf.c: Likewise.
605 * soft-fp/floatunsidf.c: Likewise.
606 * soft-fp/floatunsisf.c: Likewise.
607 * soft-fp/floatuntidf.c: Likewise.
608 * soft-fp/floatuntisf.c: Likewise.
609 * soft-fp/floatuntitf.c: Likewise.
610 * soft-fp/fmadf4.c: Likewise.
611 * soft-fp/fmasf4.c: Likewise.
612 * soft-fp/fmatf4.c: Likewise.
613 * soft-fp/gedf2.c: Likewise.
614 * soft-fp/gesf2.c: Likewise.
615 * soft-fp/getf2.c: Likewise.
616 * soft-fp/ledf2.c: Likewise.
617 * soft-fp/lesf2.c: Likewise.
618 * soft-fp/letf2.c: Likewise.
619 * soft-fp/muldf3.c: Likewise.
620 * soft-fp/mulsf3.c: Likewise.
621 * soft-fp/multf3.c: Likewise.
622 * soft-fp/negdf2.c: Likewise.
623 * soft-fp/negsf2.c: Likewise.
624 * soft-fp/negtf2.c: Likewise.
625 * soft-fp/op-1.h: Likewise.
626 * soft-fp/op-2.h: Likewise.
627 * soft-fp/op-4.h: Likewise.
628 * soft-fp/op-8.h: Likewise.
629 * soft-fp/op-common.h: Likewise.
630 * soft-fp/quad.h: Likewise.
631 * soft-fp/single.h: Likewise.
632 * soft-fp/soft-fp.h: Likewise.
633 * soft-fp/sqrtdf2.c: Likewise.
634 * soft-fp/sqrtsf2.c: Likewise.
635 * soft-fp/sqrttf2.c: Likewise.
636 * soft-fp/subdf3.c: Likewise.
637 * soft-fp/subsf3.c: Likewise.
638 * soft-fp/subtf3.c: Likewise.
639 * soft-fp/truncdfsf2.c: Likewise.
640 * soft-fp/trunctfdf2.c: Likewise.
641 * soft-fp/trunctfsf2.c: Likewise.
642 * soft-fp/trunctfxf2.c: Likewise.
643 * soft-fp/unorddf2.c: Likewise.
644 * soft-fp/unordsf2.c: Likewise.
645 * soft-fp/unordtf2.c: Likewise.
647 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
650 * misc/error.c (error_tail): Fix possible buffer overflow.
652 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
655 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
658 2013-10-14 P. J. McDermott <pj@pehjota.net>
661 * elf/ldd.bash.in (try_trace): New function. Delete previous code
662 testing pipefail option.
664 2013-10-12 Joseph Myers <joseph@codesourcery.com>
666 * soft-fp/double.h: Indent preprocessor directives inside #if.
667 * soft-fp/extended.h: Likewise.
668 * soft-fp/op-2.h: Likewise.
669 * soft-fp/op-4.h: Likewise.
670 * soft-fp/op-common.h: Likewise.
671 * soft-fp/quad.h: Likewise.
672 * soft-fp/single.h: Likewise.
673 * soft-fp/soft-fp.h: Likewise.
675 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
677 * iconv/iconv_prog.c: Fix typos.
678 * stdio-common/psiginfo-data.h: Likewise.
680 2013-10-12 Reuben Thomas <rrt@sc3d.org>
683 * locale/setlocale.c: Fix typo.
685 2013-10-12 Joseph Myers <joseph@codesourcery.com>
688 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
689 signaling NaN arguments.
690 * soft-fp/unordsf2.c (__unordsf2): Likewise.
691 * soft-fp/unordtf2.c (__unordtf2): Likewise.
694 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
696 * soft-fp/gesf2.c (__gesf2): Likewise.
697 * soft-fp/getf2.c (__getf2): Likewise.
698 * soft-fp/ledf2.c (__ledf2): Likewise.
699 * soft-fp/lesf2.c (__lesf2): Likewise.
700 * soft-fp/letf2.c (__letf2): Likewise.
702 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
703 * soft-fp/eqsf2.c (__eqsf2): Likewise.
704 * soft-fp/eqtf2.c (__eqtf2): Likewise.
705 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
706 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
707 * soft-fp/fixdfti.c (__fixdfti): Likewise.
708 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
709 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
710 * soft-fp/fixsfti.c (__fixsfti): Likewise.
711 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
712 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
713 * soft-fp/fixtfti.c (__fixtfti): Likewise.
714 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
715 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
716 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
717 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
718 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
719 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
720 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
721 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
722 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
723 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
724 * soft-fp/floatdisf.c (__floatdisf): Likewise.
725 * soft-fp/floatsisf.c (__floatsisf): Likewise.
726 * soft-fp/floattidf.c (__floattidf): Likewise.
727 * soft-fp/floattisf.c (__floattisf): Likewise.
728 * soft-fp/floattitf.c (__floattitf): Likewise.
729 * soft-fp/floatundidf.c (__floatundidf): Likewise.
730 * soft-fp/floatundisf.c (__floatundisf): Likewise.
731 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
732 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
733 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
734 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
735 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
736 * soft-fp/gesf2.c (__gesf2): Likewise.
737 * soft-fp/getf2.c (__getf2): Likewise.
738 * soft-fp/ledf2.c (__ledf2): Likewise.
739 * soft-fp/lesf2.c (__lesf2): Likewise.
740 * soft-fp/letf2.c (__letf2): Likewise.
742 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
743 Undefine and redefine.
744 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
745 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
746 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
747 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
748 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
749 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
750 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
751 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
752 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
753 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
754 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
755 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
756 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
757 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
758 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
761 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
762 without decrementing exponent if mantissa >= that for the
764 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
765 denominator, not >. Decrement exponent in < case instead of
766 incrementing in >= case.
767 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
768 without decrementing exponent if mantissa >= that for the
771 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
772 computing saturated result for unsigned overflow.
774 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
775 Jeff Law <law@redhat.com>
777 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
778 (atan2Mp): Add systemtap probe marker.
779 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
780 (__ieee754_log): Add systemtap probe marker.
781 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
782 (atanMp): Add systemtap probe marker.
783 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
784 (tanMp): Add systemtap probe marker.
785 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
786 (__slowexp): Add systemtap probe marker.
787 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
788 (__slowpow): Add systemtap probe marker.
789 * manual/probes.texi: Document probes.
791 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
794 * libio/fileops.c (_IO_new_file_write): Return count of bytes
796 (_IO_new_file_xsputn): Don't return EOF if nothing has been
798 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
799 written to buffer but not flushed.
800 * libio/iofwrite_u.c: Likewise.
801 * libio/iopadn.c: Return bytes returned even if EOF was
803 * libio/iowpadn.c: Likewise.
804 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
805 if _IO_padn does not write the whole buffer.
806 [!COMPILE_WPRINTF] (PAD): Likewise.
808 2013-10-10 David S. Miller <davem@davemloft.net>
810 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
813 2013-10-10 Joseph Myers <joseph@codesourcery.com>
815 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
816 instead of FSF address.
817 * soft-fp/fixdfti.c: Likewise.
818 * soft-fp/fixsfti.c: Likewise.
819 * soft-fp/fixtfti.c: Likewise.
820 * soft-fp/fixunsdfti.c: Likewise.
821 * soft-fp/fixunssfti.c: Likewise.
822 * soft-fp/fixunstfti.c: Likewise.
823 * soft-fp/floattidf.c: Likewise.
824 * soft-fp/floattisf.c: Likewise.
825 * soft-fp/floattitf.c: Likewise.
826 * soft-fp/floatuntidf.c: Likewise.
827 * soft-fp/floatuntisf.c: Likewise.
828 * soft-fp/floatuntitf.c: Likewise.
829 * soft-fp/trunctfxf2.c: Likewise.
831 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
832 * soft-fp/fixdfti.c: Likewise.
833 * soft-fp/fixsfti.c: Likewise.
834 * soft-fp/fixtfti.c: Likewise.
835 * soft-fp/fixunsdfti.c: Likewise.
836 * soft-fp/fixunssfti.c: Likewise.
837 * soft-fp/fixunstfti.c: Likewise.
838 * soft-fp/floattidf.c: Likewise.
839 * soft-fp/floattisf.c: Likewise.
840 * soft-fp/floattitf.c: Likewise.
841 * soft-fp/floatuntidf.c: Likewise.
842 * soft-fp/floatuntisf.c: Likewise.
843 * soft-fp/floatuntitf.c: Likewise.
844 * soft-fp/trunctfxf2.c: Likewise.
846 2013-10-10 David S. Miller <davem@davemloft.net>
848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
850 2013-10-10 Joseph Myers <joseph@codsourcery.com>
852 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
853 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
854 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
855 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
856 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
857 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
858 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
860 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
861 for NaNs before doing comparisons on argument.
862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
865 2013-10-10 Will Newton <will.newton@linaro.org>
867 * malloc/hooks.c (memalign_check): Ensure the value of bytes
868 passed to _int_memalign does not overflow.
870 2013-10-10 Torvald Riegel <triegel@redhat.com>
872 * scripts/bench.pl: Add include-sources directive.
873 * benchtests/README: Update documentation.
875 2013-10-10 Joseph Myers <joseph@codesourcery.com>
877 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
878 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
879 instead of FP_INIT_ROUNDMODE.
880 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
881 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
884 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
885 copy class of input value.
886 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
887 not handle exceptions.
888 * soft-fp/negsf2.c (__negsf2): Likewise.
889 * soft-fp/negtf2.c (__negtf2): Likewise.
890 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
892 2013-10-09 Joseph Myers <joseph@codesourcery.com>
894 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
895 semicolon. From Linux kernel.
897 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
899 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
901 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
904 * manual/socket.texi: Added statement about buffer
905 for gethostbyname2_r.
907 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
909 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
910 Use .p2align directive instead, throughout.
911 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
912 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
913 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
914 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
915 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
916 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
917 * sysdeps/x86_64/strchr.S: Likewise.
918 * sysdeps/x86_64/strrchr.S: Likewise.
920 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
922 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
924 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
926 * sysdeps/generic/math_private.h (__mpsin1): Remove
928 (__mpcos1): Likewise.
929 (__mpsin): New argument __range_reduce.
931 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
932 (slow): Use __mpsin and __mpcos.
945 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
946 range_reduce. Merge in __mpsin1.
949 (__mpcos1): Likewise.
951 2013-10-07 Joseph Myers <joseph@codesourcery.com>
953 * locale/loadlocale.c (_nl_intern_locale_data): Use
955 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
956 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
957 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
958 obstack data is appropriately aligned.
959 (obstack_int32_grow_fast): Likewise.
960 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
961 * locale/programs/locfile.c (add_locale_uint32): Likewise.
962 (add_locale_uint32_array): Likewise.
964 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
966 * benchtests/Makefile: Remove ARGLIST and RET variables.
967 ($(objpfx)bench-%.c): Pass only function name to the script.
968 * benchtests/README: Update documentation.
969 * benchtests/acos-inputs: Add new directives.
970 * benchtests/acosh-inputs: Likewise.
971 * benchtests/asin-inputs: Likewise.
972 * benchtests/asinh-inputs: Likewise.
973 * benchtests/atan-inputs: Likewise.
974 * benchtests/atanh-inputs: Likewise.
975 * benchtests/cos-inputs: Likewise.
976 * benchtests/cosh-inputs: Likewise.
977 * benchtests/exp-inputs: Likewise.
978 * benchtests/log-inputs: Likewise.
979 * benchtests/pow-inputs: Likewise.
980 * benchtests/rint-inputs: Likewise.
981 * benchtests/sin-inputs: Likewise.
982 * benchtests/sinh-inputs: Likewise.
983 * benchtests/tan-inputs: Likewise.
984 * benchtests/tanh-inputs: Likewise.
985 * scripts/bench.pl: Add support for new directives.
987 2013-10-07 Alan Modra <amodra@gmail.com>
989 * README: Fix careless merge.
991 2013-10-05 Alan Modra <amodra@gmail.com>
993 * NEWS: Mention powerpc64le support and bugs fixed.
994 * README: Both big-endian and little-endian powerpc64 supported.
996 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
998 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
999 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1000 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1001 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1003 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1005 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1008 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1010 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1011 Move -mhard-float appending from
1012 ports/sysdeps/powerpc/powerpc32/Makefile.
1013 [$(with-fp) = yes] (ASFLAGS): Likewise.
1014 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1015 * sysdeps/powerpc/nofpu: Move directory from
1016 ports/sysdeps/powerpc/nofpu.
1017 * sysdeps/powerpc/soft-fp: Move directory from
1018 ports/sysdeps/powerpc/soft-fp.
1019 * sysdeps/powerpc/powerpc32/405: Move directory from
1020 ports/sysdeps/powerpc/powerpc32/405.
1021 * sysdeps/powerpc/powerpc32/440: Move directory from
1022 ports/sysdeps/powerpc/powerpc32/440.
1023 * sysdeps/powerpc/powerpc32/464: Move directory from
1024 ports/sysdeps/powerpc/powerpc32/464.
1025 * sysdeps/powerpc/powerpc32/476: Move directory from
1026 ports/sysdeps/powerpc/powerpc32/476.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1028 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1030 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1032 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1034 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1036 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1037 * README: Update for powerpc-*-linux-gnu software floating point
1040 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1041 case to powerpc/powerpc32*.
1042 * sysdeps/unix/sysv/linux/configure: Regenerated.
1044 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1045 (_FPU_MASK_OM): Define as 0x04.
1046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1054 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1057 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1060 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1061 and setcontext_e500.
1063 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1065 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1067 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1069 * manual/threads.texi (Default Thread Attributes): Fix typo.
1071 2013-10-04 Will Newton <will.newton@linaro.org>
1073 * malloc/Makefile: Add tst-memalign.
1074 * malloc/tst-memalign.c: New file.
1076 * malloc/tst-posix_memalign.c: Add comments.
1077 (do_test): Add comments and call free on all potentially
1078 allocated pointers. Add space after cast.
1080 * malloc/tst-pvalloc.c: Add comments.
1081 (do_test): Add comments and call free on all potentially
1082 allocated pointers. Remove duplicate check for NULL pointer.
1083 Add space after cast.
1085 * malloc/tst-valloc.c: Add comments.
1086 (do_test): Add comments and call free on all potentially
1087 allocated pointers. Remove duplicate check for NULL pointer.
1088 Add space after cast.
1090 2013-10-04 Alan Modra <amodra@gmail.com>
1092 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1093 Use stdint types in rather than __attribute__((mode())).
1094 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1096 2013-10-04 Alan Modra <amodra@gmail.com>
1098 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1099 Correct handling of unaligned relocs for little-endian.
1100 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1102 2013-10-04 Alan Modra <amodra@gmail.com>
1104 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1105 * configure: Regenerate.
1106 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1107 * shlib-versions: Likewise.
1109 2013-10-04 Alan Modra <amodra@gmail.com>
1111 * string/tester.c (test_memrchr): Increment reported test cycle.
1113 2013-10-04 Alan Modra <amodra@gmail.com>
1115 * string/test-memcpy.c (do_one_test): When reporting errors, print
1116 string address and don't overrun end of string.
1118 2013-10-04 Alan Modra <amodra@gmail.com>
1120 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1121 insrdi. Make better use of reg selection to speed exit slightly.
1122 Schedule entry path a little better. Remove useless "are we done"
1123 checks on entry to main loop. Handle wrapping around zero address.
1124 Correct main loop count. Handle single left-over word from main
1125 loop inline rather than by using loop_small. Remove extra word
1126 case in loop_small caused by wrong loop count. Add little-endian
1128 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1129 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1131 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1132 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1133 support. Avoid rlwimi.
1134 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1136 2013-10-04 Alan Modra <amodra@gmail.com>
1138 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1140 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1141 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1142 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1143 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1144 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1145 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1147 2013-10-04 Alan Modra <amodra@gmail.com>
1149 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1150 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1151 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1152 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1153 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1154 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1155 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1156 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1157 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1158 use of regs. Use power7 mtocrf. Tidy function tails.
1160 2013-10-04 Alan Modra <amodra@gmail.com>
1162 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1163 Formatting. Consistently use rXXX register defines or rN defines.
1164 Use early exit labels that avoid restoring unused non-volatile regs.
1165 Make cr field use more consistent with rWORDn compares. Rename
1166 regs used as shift registers for unaligned loop, using rN defines
1167 for short lifetime/multiple use regs.
1168 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1169 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1170 addi 1,1,64 to pop stack frame. Simplify return value code.
1171 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1173 2013-10-04 Alan Modra <amodra@gmail.com>
1175 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1176 support. Correct typos, formatting. Optimize tail. Use insrdi
1178 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1179 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1180 little-endian support. Correct typos.
1181 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1183 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1184 in loop and entry code to keep "and." results.
1185 (strchr): Add little-endian support. Comment. Move cntlzd
1187 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1189 2013-10-04 Alan Modra <amodra@gmail.com>
1191 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1192 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1193 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1194 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1196 2013-10-04 Alan Modra <amodra@gmail.com>
1198 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1199 (rTMP): Define as r11.
1200 (strcmp): Add little-endian support. Optimise tail.
1201 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1202 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1203 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1204 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1205 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1206 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1207 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1209 2013-10-04 Alan Modra <amodra@gmail.com>
1211 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1212 little-endian support. Remove unnecessary "are we done" tests.
1213 Handle "s" wrapping around zero and extremely large "size".
1214 Correct main loop count. Handle single left-over word from main
1215 loop inline rather than by using small_loop. Correct comments.
1216 Delete "zero" tail, use "end_max" instead.
1217 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1219 2013-10-04 Alan Modra <amodra@gmail.com>
1221 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1222 support. Don't branch over align.
1223 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1224 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1225 support. Rearrange tmp reg use to suit. Comment.
1226 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1228 2013-10-04 Alan Modra <amodra@gmail.com>
1230 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1232 2013-10-04 Alan Modra <amodra@gmail.com>
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1235 conditional form of branch and link when obtaining pc.
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1238 2013-10-04 Alan Modra <amodra@gmail.com>
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1245 2013-10-04 Alan Modra <amodra@gmail.com>
1247 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1248 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1249 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1250 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1251 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1252 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1253 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1254 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1255 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1256 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1258 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1259 Alistair Popple <alistair@ozlabs.au.ibm.com>
1260 Alan Modra <amodra@gmail.com>
1263 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1264 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1265 _dl_hwcap access for little-endian.
1266 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1267 destroy vmx regs when saving unaligned.
1268 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1269 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1270 destroy vmx regs when saving unaligned.
1272 2013-10-04 Alan Modra <amodra@gmail.com>
1274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1275 Don't use a union to pack hi/low value.
1277 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1279 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1281 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1283 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1287 2013-10-04 Alan Modra <amodra@gmail.com>
1289 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1290 constants to usual value for .cst8 section, and remove redundant
1292 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1293 constant for 0x1p52. Load little-endian words of double from
1294 correct stack offsets.
1296 2013-10-04 Alan Modra <amodra@gmail.com>
1298 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1299 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1300 words of double from correct stack offsets.
1301 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1302 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1303 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1304 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1305 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1306 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1307 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1308 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1309 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1310 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1311 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1312 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1313 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1314 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1315 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1317 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1319 2013-10-04 Alan Modra <amodra@gmail.com>
1321 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1322 64-bit int/double union.
1323 (_FPU_SETCW): Likewise.
1324 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1325 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1327 2013-10-04 Alan Modra <amodra@gmail.com>
1329 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1330 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1332 2013-10-04 Alan Modra <amodra@gmail.com>
1334 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1335 use vector int constants.
1336 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1338 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1340 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1341 array with long long.
1342 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1343 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1344 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1345 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1346 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1347 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1348 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1349 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1350 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1351 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1352 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1353 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1354 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1356 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1358 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1359 (__signbit): Likewise. Correct for little-endian.
1360 (__signbitl): Call __signbit.
1361 (lrint): Correct for little-endian.
1362 (lrintf): Call lrint.
1364 2013-10-04 Alan Modra <amodra@gmail.com>
1366 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1367 union 32-bit int array member with 64-bit int array.
1368 (t515, tm256): Double rather than long double.
1369 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1371 2013-10-04 Alan Modra <amodra@gmail.com>
1373 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1375 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1376 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1377 version of math_ldbl.h.
1379 2013-10-04 Alan Modra <amodra@gmail.com>
1381 [BZ #15734], [BZ #15735]
1382 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1383 all uses of ieee875 long double macros and unions. Simplify test
1384 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1385 ldbl_extract_mantissa value for ix,iy exponents. Properly
1386 normalize after ldbl_extract_mantissa, and don't add hidden bit
1387 already handled. Don't treat low word of ieee854 mantissa like
1388 low word of IBM long double and mask off bit when testing for
1390 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1391 all uses of ieee875 long double macros and unions. Simplify tests
1392 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1393 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1394 two1022, instead use their values. Recognise that tests for large
1395 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1396 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1397 Rewrite all uses of ieee875 long double macros and unions. Simplify
1398 test for 0.0L and nan. Correct negation.
1399 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1400 ieee875 long double macros and unions. Correct output for large
1401 magnitude x. Correct absolute value calculation.
1402 (__erfcl): Likewise.
1403 * math/libm-test.inc: Add tests for errors discovered in IBM long
1404 double versions of fmodl, remainderl, erfl and erfcl.
1406 2013-10-04 Alan Modra <amodra@gmail.com>
1408 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1409 all uses of ieee854 long double macros and unions. Simplify tests
1410 for long doubles that are fully specified by the high double.
1411 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1413 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1414 Remove dead code too.
1415 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1416 (__ieee754_ynl): Likewise.
1417 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1418 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1419 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1420 Remove dead code too.
1421 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1422 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1423 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1424 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1426 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1428 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1429 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1430 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1431 Comment on variable precision.
1432 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1433 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1435 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1436 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1437 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1438 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1439 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1441 2013-10-04 Alan Modra <amodra@gmail.com>
1443 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1444 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1445 all uses of ieee854 long double macros and unions.
1446 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1447 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1448 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1450 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1451 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1453 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1454 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1455 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1456 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1457 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1458 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1459 Simplify sign and nan test too.
1460 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1461 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1462 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1463 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1465 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1466 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1469 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1470 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1471 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1472 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1475 2013-10-04 Alan Modra <amodra@gmail.com>
1477 * stdio-common/printf_size.c (__printf_size): Don't use
1478 union ieee854_long_double in fpnum union.
1479 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1480 signbit macro to retrieve sign from long double.
1481 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1482 retrieve sign from long double.
1483 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1484 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1485 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1486 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1487 * math/test-misc.c (main): Don't use union ieee854_long_double.
1489 2013-10-04 Alan Modra <amodra@gmail.com>
1492 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1493 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1494 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1495 calculation. Remove unnecessary test for denormal exponent.
1496 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1497 Correct handling of denormals. Avoid undefined shift behaviour.
1498 Correct normalisation of low mantissa when low double is denormal.
1499 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1500 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1501 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1502 Correct normalisation of low mantissa. Test for overflow of high
1503 mantissa and normalise.
1504 (ldbl_nearbyint): Use more readable constant for two52.
1505 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1506 (__mpn_construct_long_double): Fix test for overflow of high
1507 mantissa and correct normalisation. Avoid undefined shift.
1509 2013-10-04 Alan Modra <amodra@gmail.com>
1511 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1512 (union ibm_extended_long_double): Define as an array of ieee754_double.
1513 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1514 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1515 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1516 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1517 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1518 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1519 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1520 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1525 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1527 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1528 page size instead of calling getpagesize.
1530 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1531 (LOCFILE_ALIGN_MASK): Likewise.
1532 (LOCFILE_ALIGN_UP): Likewise.
1533 (LOCFILE_ALIGNED_P): Likewise.
1534 * locale/programs/ld-collate.c (collate_output): Use the new
1535 macros instead of __alignof__ (int32_t).
1536 * locale/weight.h (findidx): Likewise.
1538 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1541 * manual/string.texi: Fix strncat and wcsncat.
1543 2013-10-03 Brooks Moses <bmoses@google.com>
1546 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1547 * Makerules: ...here, and adjust associated comments.
1549 2013-10-02 Will Newton <will.newton@linaro.org>
1551 * malloc/Makefile: Add tst-pvalloc.
1552 * malloc/tst-pvalloc.c: New file.
1554 2013-10-02 Will Newton <will.newton@linaro.org>
1556 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1557 improve test coverage.
1559 2013-10-02 Will Newton <will.newton@linaro.org>
1561 * malloc/Makefile: Add tst-posix_memalign.
1562 * malloc/tst-posix_memalign.c: New file.
1564 2013-10-01 Eric Blake <eblake@redhat.com>
1566 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1567 Use __THROWNL rather than __THROW on static functions.
1569 2013-09-30 Petr Machata <pmachata@redhat.com>
1571 * elf/elf.h (R_AARCH64_ABS16): New macro.
1572 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1573 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1574 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1575 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1576 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1577 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1578 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1579 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1580 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1581 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1582 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1583 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1584 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1585 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1586 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1587 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1588 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1589 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1590 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1591 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1592 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1593 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1594 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1595 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1596 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1597 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1598 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1599 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1600 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1601 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1602 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1603 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1604 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1605 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1606 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1607 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1608 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1609 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1610 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1611 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1612 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1613 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1614 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1615 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1616 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1617 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1618 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1619 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1620 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1621 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1622 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1623 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1624 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1625 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1626 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1627 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1628 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1629 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1630 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1631 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1632 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1633 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1634 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1635 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1636 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1637 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1638 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1639 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1640 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1641 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1642 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1643 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1644 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1645 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1646 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1647 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1648 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1649 (R_AARCH64_TLSDESC_LDR): Likewise.
1650 (R_AARCH64_TLSDESC_ADD): Likewise.
1651 (R_AARCH64_TLSDESC_CALL): Likewise.
1653 2013-09-30 Andreas Schwab <schwab@suse.de>
1656 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1657 the nss database lookup.
1658 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1661 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1663 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1665 2013-09-28 P. J. McDermott <pj@pehjota.net>
1667 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1668 ${Bash-specific parameter/pattern/string} parameter expansion.
1669 * sysdeps/unix/make-syscalls.sh: Likewise.
1671 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1673 * sysdeps/sh/stackguard-macros.h: New file.
1675 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1679 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1680 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1681 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1682 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1684 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1686 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1687 Fix thread ID register.
1689 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1691 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1692 [POSIX || UNIX98]: Require rather than permitting all symbols from
1694 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1695 element of struct sched_param.
1696 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1697 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1698 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1699 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1702 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1704 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1705 argument calculation.
1707 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1709 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1711 [POSIX] (pthread_attr_t): Do not require type.
1712 [POSIX] (pthread_cond_t): Likewise.
1713 [POSIX] (pthread_condattr_t): Likewise.
1714 [POSIX] (pthread_key_t): Likewise.
1715 [POSIX] (pthread_mutex_t): Likewise.
1716 [POSIX] (pthread_mutexattr_t): Likewise.
1717 [POSIX] (pthread_once_t): Likewise.
1718 [POSIX] (pthread_t): Likewise.
1719 [POSIX-based standards] (pthread_atfork): Expect function.
1721 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1722 Richard Sandiford <richard@codesourcery.com>
1724 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1725 (swap_endianness_p): New extern variable.
1726 (set_big_endian): New inline function.
1727 (maybe_swap_uint32): Likewise.
1728 (maybe_swap_uint32_array): Likewise.
1729 (maybe_swap_uint32_obstack): Likewise.
1730 * locale/programs/locfile.c: Include <stdbool.h>.
1731 (swap_endianness_p): New variable.
1732 (add_locale_uint32): Call maybe_swap_uint32.
1733 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1734 (write_locale_data): Call maybe_swap_uint32_array.
1735 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1737 (obstack_int32_grow_fast): Likewise.
1738 (output_weightwc): Call maybe_swap_uint32_obstack.
1739 (collate_output): Likewise.
1740 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1741 (OPT_LITTLE_ENDIAN): Likewise.
1742 (options): Add --little-endian and --big-endian options.
1743 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1744 * locale/programs/locarchive.c: Include "locfile.h".
1748 (create_archive): Use the new macros to access fields of
1749 structures directly mapped from or written to locale archives.
1750 (oldlocrecentcmp): Likewise.
1751 (enlarge_archive): Likewise.
1752 (insert_name): Likewise.
1753 (add_alias): Likewise.
1754 (add_locale): Likewise.
1755 (delete_locales_from_archive): Likewise.
1756 (show_archive_content): Likewise.
1757 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1760 2013-09-24 Roland McGrath <roland@hack.frob.com>
1762 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1763 http://www.gnu.org/doc/freemanuals.texi.
1764 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1766 2013-09-24 Will Newton <will.newton@linaro.org>
1768 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1771 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1773 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1776 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1778 * manual/threads.texi (POSIX Threads): Fix a typo.
1780 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1783 * string/tst-strcoll-overflow.c: New test case.
1784 * string/Makefile (xtests): Add tst-strcoll-overflow.
1785 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1786 cache if string sizes may cause integer overflow.
1789 * string/strcoll_l.c (coll_seq): New members rule, idx,
1790 save_idx and back_us.
1791 (get_next_seq_nocache): New function.
1792 (do_compare_nocache): New function.
1793 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1796 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1799 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1800 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1801 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1804 * elf/Makefile (tests): Add tst-ptrguard1.
1805 (tests-static): Add tst-ptrguard1-static.
1806 (tst-ptrguard1-ARGS): Define.
1807 (tst-ptrguard1-static-ARGS): Define.
1808 * elf/tst-ptrguard1.c: New file.
1809 * elf/tst-ptrguard1-static.c: New file.
1810 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1811 * sysdeps/i386/stackguard-macros.h: Likewise.
1812 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1813 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1814 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1815 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1816 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1817 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1819 2013-09-23 Hector Marco <hecmargi@upv.es>
1820 Ismael Ripoll <iripoll@disca.upv.es>
1821 Carlos O'Donell <carlos@redhat.com>
1824 * sysdeps/generic/stackguard-macros.h: Define
1825 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1826 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1827 Define __pointer_chk_guard_local.
1828 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1829 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1831 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1834 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1836 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1838 * include/string.h (__ffs): Declare as hidden.
1839 * string/ffs.c (__ffs): Define as hidden.
1840 * sysdeps/i386/ffs.c (__ffs): Likewise.
1841 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1842 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1843 * sysdeps/s390/ffs.c (__ffs): Likewise.
1844 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1846 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1848 * NEWS: Mention malloc probes.
1850 * malloc/arena.c (new_heap): New memory_heap_new probe.
1851 (grow_heap): New memory_heap_more probe.
1852 (shrink_heap): New memory_heap_less probe.
1853 (heap_trim): New memory_heap_free probe.
1854 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1855 (systrim): New memory_sbrk_less probe.
1856 * manual/probes.texi: Document them.
1858 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1859 * manual/probes.texi: Document it.
1861 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1862 (__libc_realloc): Add memory_realloc_retry probe.
1863 (__libc_memalign): Add memory_memalign_retry probe.
1864 (__libc_valloc): Add memory_valloc_retry probe.
1865 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1866 (__libc_calloc): Add memory_calloc_retry probe.
1867 * manual/probes.texi: Document them.
1869 * malloc/arena.c (get_free_list): Add probe
1870 memory_arena_reuse_free_list.
1871 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1872 and memory_arena_reuse.
1873 (arena_get2) [!PER_THREAD]: Likewise.
1874 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1875 memory_arena_reuse_realloc.
1876 * manual/probes.texi: Document them.
1878 * malloc/malloc.c (__libc_free): Add
1879 memory_mallopt_free_dyn_thresholds probe.
1880 (__libc_mallopt): Add multiple memory_mallopt probes.
1881 * manual/probes.texi: Document them.
1883 * malloc/malloc.c: Include stap-probe.h.
1884 (__libc_mallopt): Add memory_mallopt probe.
1885 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1886 * manual/probes.texi: New.
1887 * manual/Makefile (chapters): Add probes.
1888 * manual/threads.texi: Set next node.
1890 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1893 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1894 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1895 Add `Chinese' to `nan' entry name.
1897 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1899 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1900 (POLYNOMIAL): Likewise.
1901 (TAYLOR_SINCOS): Likewise.
1902 (TAYLOR_SLOW): Likewise.
1903 (__sin): Use TAYLOR_SINCOS.
1905 (slow): Use TAYLOR_SLOW.
1910 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1912 * stdlib/strtod_l.c: Fix buffer overrun.
1914 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1916 * benchtests/Makefile (bench): Add sincos.
1917 * benchtests/bench-sincos.c: New file.
1919 * math/libm-test.inc (cos_test_data): New test inputs.
1920 (sin_test_data): Likewise.
1922 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1930 (bsloww1): Likewise.
1931 (bsloww2): Likewise.
1933 (csloww1): Likewise.
1934 (csloww2): Likewise.
1936 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1941 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1945 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1947 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1948 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1949 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1950 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1951 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1952 * elf/cache.c (print_entry): Handle the new cache flags.
1954 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1955 Aldy Hernandez <aldyh@redhat.com>
1957 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1958 Change condition to [_SOFT_FLOAT].
1959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1971 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1972 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1974 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1977 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1979 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1980 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1981 (__longjmp): Use LOAD_GP to load saved GPRs.
1982 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1983 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1984 (__sigsetjmp): Use SAVE_GP to save GPRs.
1986 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1987 Do not append -msoft-float.
1988 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1990 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1992 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1994 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1997 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1998 (_FPU_GETCW): Use initial "__" on variable and field names but not
1999 on macro parameter name.
2000 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2001 parentheses around reference to macro parameter.
2003 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2005 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2007 (ctype_startup): Use uint32_t in cast and sizeof for
2010 2013-09-11 Jia Liu <proljc@gmail.com>
2012 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2014 [__FreeBSD__]: Likewise.
2016 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2018 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2019 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2020 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2021 (strchr): Remove __strchr_sse42 ifunc selection.
2022 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2023 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2025 2013-09-11 Will Newton <will.newton@linaro.org>
2027 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2028 parameter to RES. Remove hardcoded 1000 value.
2029 * benchtests/bench-skeleton.c (main): Pass RES parameter
2030 to TIMING_INIT and multiply result by 1000.
2032 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2036 2013-09-11 Andreas Schwab <schwab@suse.de>
2038 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2040 (O_TMPFILE) [__USE_GNU]: Define.
2041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2044 2013-09-11 Will Newton <will.newton@linaro.org>
2047 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2050 2013-09-11 Will Newton <will.newton@linaro.org>
2053 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2056 2013-09-11 Will Newton <will.newton@linaro.org>
2059 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2062 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2064 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2065 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2066 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2067 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2068 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2070 2013-09-10 Allan McRae <allan@archlinux.org>
2073 * manual/arith.texi (Parsing of Floats): Clarify
2077 * manual/install.texi (Running make install): Mention
2079 * INSTALL: Regenerated.
2081 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2083 * csu/init-first.c (_init): Remove the !SHARED condition around
2084 FPU control word initialization.
2085 * elf/dl-support.c (_dl_fpu_control): New variable.
2086 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2087 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2088 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2089 * math/test-fpucw-static.c: New file.
2090 * math/test-fpucw-ieee.c: New file.
2091 * math/test-fpucw-ieee-static.c: New file.
2092 * math/Makefile (tests): Add `test-fpucw-ieee' and
2094 (tests-static): New variable.
2095 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2097 [($(build-shared),yes)]
2098 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2100 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2103 2013-09-09 Allan McRae <allan@archlinux.org>
2106 * manual/string.texi (Collation Functions): Fix typo in
2108 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2111 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2114 * libio/memstream.c (open_memstream): Fix memory leak.
2115 * libio/wmemstream.c (open_wmemstream): Likewise.
2118 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2120 2013-09-09 Will Newton <will.newton@linaro.org>
2122 * malloc/Makefile: Add tst-realloc to tests.
2123 * malloc/tst-realloc.c: New file.
2125 2013-09-09 Allan McRae <allan@archlinux.org>
2128 * COPYING: Update from GNU website to fix FSF address.
2129 * COPYING.LIB: Likewise.
2131 2013-09-06 David S. Miller <davem@davemloft.net>
2133 * po/zh_TW.po: Update Chinese (traditional) translation from
2134 translation project.
2136 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2137 Joseph Myers <joseph@codesourcery.com>
2139 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2141 (obstack_chunk_alloc): New macro.
2142 (obstack_chunk_free): Likewise.
2143 (record_offset): New function.
2144 (init_locale_data): Likewise.
2145 (align_locale_data): Likewise.
2146 (add_locale_empty): Likewise.
2147 (add_locale_raw_data): Likewise.
2148 (add_locale_raw_obstack): Likewise.
2149 (add_locale_string): Likewise.
2150 (add_locale_wstring): Likewise.
2151 (add_locale_uint32): Likewise.
2152 (add_locale_uint32_array): Likewise.
2153 (add_locale_char): Likewise.
2154 (start_locale_structure): Likewise.
2155 (end_locale_structure): Likewise.
2156 (start_locale_prelude): Likewise.
2157 (end_locale_prelude): Likewise.
2158 (write_locale_data): Take locale_file structure rather than an
2160 * locale/programs/locfile.h: Include "obstack.h".
2161 (struct locale_file): Change to store locale file contents instead
2163 (init_locale_data): New prototype.
2164 (align_locale_data): Likewise.
2165 (add_locale_empty): Likewise.
2166 (add_locale_raw_data): Likewise.
2167 (add_locale_raw_obstack): Likewise.
2168 (add_locale_string): Likewise.
2169 (add_locale_wstring): Likewise.
2170 (add_locale_uint32): Likewise.
2171 (add_locale_uint32_array): Likewise.
2172 (add_locale_char): Likewise.
2173 (start_locale_structure): Likewise.
2174 (end_locale_structure): Likewise.
2175 (start_locale_prelude): Likewise.
2176 (end_locale_prelude): Likewise.
2177 (write_locale_data): Update prototype.
2178 * locale/programs/3level.h (struct TABLE): Remove result field.
2179 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2180 Use new locale_file interface.
2181 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2182 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2183 * locale/programs/ld-address.c (address_output): Use new
2184 locale_file interface.
2185 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2187 (collate_finish): Don't call collseq_table_finalize.
2188 (collate_output): Use new locale_file interface.
2189 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2191 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2192 (TABLE): Move defines earlier in file.
2193 (ELEMENT): Likewise.
2194 (DEFAULT): Likewise.
2195 (wctrans_table_add): Move macro and inline function earlier in
2197 (struct wctype_table): Move type earlier in file.
2198 (add_locale_wctype_table): New static prototype.
2199 (struct locale_ctype_t): Use logical types instead of struct iovec
2200 pointers for members.
2201 (ctype_output): Use new locale_file interface.
2202 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2203 new locale_file interface.
2204 (allocate_arrays): Update for use of new locale_file interface.
2205 * locale/programs/ld-identification.c (identification_output): Use
2206 new locale_file interface.
2207 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2208 * locale/programs/ld-messages.c (messages_output): Likewise.
2209 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2210 * locale/programs/ld-name.c (name_output): Likewise.
2211 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2212 * locale/programs/ld-paper.c (paper_output): Likewise.
2213 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2214 * locale/programs/ld-time.c (time_output): Likewise.
2216 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2218 * benchtests/Makefile: Add memrchr benchmark.
2219 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2220 benchmark as memrchr.
2221 * benchtests/bench-memrchr-ifunc.c: New file.
2222 * benchtests/bench-memrchr.c: New file.
2224 2013-09-06 Will Newton <will.newton@linaro.org>
2226 * benchtests/Makefile (string-bench): Add memcpy.
2228 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2229 Cong Wang <amwang@redhat.com>
2231 * sysdeps/unix/sysv/linux/bits/in.h
2232 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2233 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2234 before __USE_KERNEL_IPV6_DEFS uses.
2235 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2237 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2238 sockaddr_in6, or ipv6_mreq.
2240 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2242 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2243 memory access for final bytes in some large inputs.
2244 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2246 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2248 * string/test-memrchr.c: New file.
2249 * string/test-memrchr-ifunc.c: New file.
2250 * string/Makefile: Add new memrchr testcase.
2252 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2254 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2255 fanotify_init returns EPERM.
2257 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2259 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2261 (top level): Treat second token from macro or constant entries for
2262 allowed headers as allowed.
2263 * include/complex.h: Condition internal declarations on
2265 * include/fenv.h: Condition include of <stdbool.h> and internal
2266 declarations on [!_ISOMAC].
2268 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2271 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2273 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2275 * configure.in (--enable-versioning): Remove configure option.
2276 (libc_cv_asm_symver_directive): Remove configure test.
2277 (libc_cv_ld_version_script_option): Likewise.
2278 (VERSIONING): Remove variable and AC_SUBST.
2279 (DO_VERSIONING): Remove AC_DEFINE.
2280 * configure: Regenerated.
2281 * config.h.in (DO_VERSIONING): Remove macro.
2282 * Makerules [$(versioning) = yes]: Change conditionals to
2283 [$(build-shared) = yes].
2284 * config.make.in (versioning): Remove variable.
2285 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2286 [$(build-shared) = yes].
2287 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2288 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2289 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2290 [$(build-shared) = yes].
2291 * extra-lib.mk [$(versioning) = yes]: Likewise.
2292 * hurd/Makefile [$(versioning) = yes]: Likewise.
2293 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2295 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2297 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2298 [SHARED && !NO_HIDDEN].
2299 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2301 [SHARED && DO_VERSIONING]: Likewise..
2302 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2303 [$(build-shared) = yes].
2304 * manual/install.texi (--disable-versioning): Remove
2306 * INSTALL: Regenerated.
2307 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2309 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2310 [$(build-shared) = yes].
2311 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2312 * sysdeps/i386/i686/multiarch/strstr-c.c
2313 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2314 [SHARED && !NO_HIDDEN].
2315 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2316 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2317 * sysdeps/powerpc/powerpc32/dl-machine.c
2318 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2319 * sysdeps/powerpc/powerpc32/sysdep.h
2320 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2321 to [SHARED && PIC && !NO_HIDDEN].
2322 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2323 conditional to [SHARED].
2325 2013-09-04 Will Newton <will.newton@linaro.org>
2327 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2328 * benchtests/bench-string.h: Include bench-timing.h instead
2329 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2330 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2331 call to HP_TIMING_DIFF_INIT.
2332 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2333 instead of hp-timing.h macros.
2334 * benchtests/bench-memchr.c: Likewise.
2335 * benchtests/bench-memcmp.c: Likewise.
2336 * benchtests/bench-memcpy.c: Likewise.
2337 * benchtests/bench-memmem.c: Likewise.
2338 * benchtests/bench-memmove.c: Likewise.
2339 * benchtests/bench-memset.c: Likewise.
2340 * benchtests/bench-rawmemchr.c: Likewise.
2341 * benchtests/bench-strcasecmp.c: Likewise.
2342 * benchtests/bench-strcasestr.c: Likewise.
2343 * benchtests/bench-strcat.c: Likewise.
2344 * benchtests/bench-strchr.c: Likewise.
2345 * benchtests/bench-strcmp.c: Likewise.
2346 * benchtests/bench-strcpy.c: Likewise.
2347 * benchtests/bench-strcpy_chk.c: Likewise.
2348 * benchtests/bench-strlen.c: Likewise.
2349 * benchtests/bench-strncasecmp.c: Likewise.
2350 * benchtests/bench-strncat.c: Likewise.
2351 * benchtests/bench-strncmp.c: Likewise.
2352 * benchtests/bench-strncpy.c: Likewise.
2353 * benchtests/bench-strnlen.c: Likewise.
2354 * benchtests/bench-strpbrk.c: Likewise.
2355 * benchtests/bench-strrchr.c: Likewise.
2356 * benchtests/bench-strspn.c: Likewise.
2357 * benchtests/bench-strstr.c: Likewise.
2359 2013-09-04 Will Newton <will.newton@linaro.org>
2361 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2363 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2366 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2367 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2368 * math/libm-test.inc (lgamma_test_data): Add more tests.
2369 * sysdeps/i386/fpu/libm-test-ulps: Update.
2370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2372 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2374 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2378 Add strcmp-sse2-unaligned
2379 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2381 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2383 * Versions.def (libc): Add GLIBC_2.19.
2385 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2387 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2388 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2390 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2393 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2394 intermediate calculations in recurrence.
2395 (__ieee754_ynf): Likewise.
2396 * math/libm-test.inc (jn_test_data): Do not allow spurious
2397 underflow exception. Add more tests.
2398 (yn_test_data): Add more tests.
2399 * sysdeps/i386/fpu/libm-test-ulps: Update.
2400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2402 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2404 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2406 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2408 * csu/init-first.c: Fix then/than typos.
2409 * locale/programs/ld-collate.c: Likewise.
2410 * locale/programs/linereader.h: Likewise.
2411 * manual/charset.texi: Likewise.
2412 * manual/filesys.texi: Likewise.
2413 * manual/stdio.texi: Likewise.
2414 * manual/string.texi: Likewise.
2415 * stdlib/fmtmsg.c: Likewise.
2416 * sysdeps/i386/stpncpy.S: Likewise.
2417 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2418 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2419 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2420 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2422 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2424 * elf/dl-open.c: Fix typos.
2425 * iconvdata/gbbig5.c: Likewise.
2426 * iconvdata/iso-2022-jp.c: Likewise.
2427 * iconv/gconv_int.h: Likewise.
2428 * iconv/loop.c: Likewise.
2429 * nis/rpcsvc/nis.h: Likewise.
2430 * resolv/ns_name.c: Likewise.
2431 * stdio-common/vfscanf.c: Likewise.
2432 * streams/stropts.h: Likewise.
2433 * sunrpc/rpc_thread.c: Likewise.
2434 * sysdeps/i386/strpbrk.S: Likewise.
2435 * sysdeps/ieee754/k_standard.c: Likewise.
2436 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2437 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2438 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2439 * sysdeps/mach/hurd/profil.c: Likewise.
2440 * sysdeps/s390/dl-procinfo.h: Likewise.
2441 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2442 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2443 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2444 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2445 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2447 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2449 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2450 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2452 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2454 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2456 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2457 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2458 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2459 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2460 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2462 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2463 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2465 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2466 Roland McGrath <roland@hack.frob.com>
2468 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2469 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2471 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2473 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2474 __executable_start symbol instead of _start.
2476 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2478 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2479 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2481 * sysdeps/gnu/ldsodefs.h: ... this new file.
2483 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2484 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2485 instead of ELFOSABI_LINUX.
2487 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2488 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2489 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2490 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2492 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2493 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2494 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2496 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2497 (ibm_extended_long_double): Add ieee_nan member.
2498 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2499 (do_test): New function.
2501 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2503 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2504 functions, renamed from truncdfsf_test, trunctfsf_test,
2506 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2508 (do_test): Run all these.
2510 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2512 * argp/argp-help.c: Fix typos.
2513 * argp/argp-parse.c: Likewise.
2514 * debug/backtracesyms.c: Likewise.
2515 * elf/elf.h: Likewise.
2516 * malloc/malloc.c: Likewise.
2517 * nis/nis_print.c: Likewise.
2518 * resolv/res_comp.c: Likewise.
2519 * stdlib/stdlib.h: Likewise.
2520 * sunrpc/clnt_tcp.c: Likewise.
2521 * sunrpc/clnt_udp.c: Likewise.
2522 * sunrpc/clnt_unix.c: Likewise.
2523 * sysdeps/unix/bsd/ptsname.c: Likewise.
2524 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2525 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2532 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2534 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2536 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2539 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2542 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2543 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2544 ($(objpfx)bug-dl-leaf): New rule.
2545 ($(objpfx)bug-dl-leaf.so): Likewise.
2546 ($(objpfx)bug-dl-leaf.out): Likewise.
2547 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2548 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2549 * dlfcn/bug-dl-leaf.c: New test.
2550 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2551 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2552 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2553 (dlclose): Likewise.
2554 (dlmopen): Likewise.
2556 2013-08-27 Roland McGrath <roland@hack.frob.com>
2558 * include/netdb.h [!_ISOMAC]:
2559 Don't include <tls.h>.
2560 (h_errno, __libc_h_errno): Move declaration and macros out of
2563 * include/resolv.h [_RESOLV_H_]:
2564 Don't include <tls.h>.
2565 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2566 * resolv/res_libc.c: Don't include <tls.h>.
2567 (_res): Use __attribute__ ((nocommon)) in place of
2568 __attribute__ ((section (".bss"))).
2570 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2571 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2573 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2575 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2576 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2578 * resolv/res_mkquery.c: Include <sys/time.h>.
2580 * inet/ifreq.c: Moved to ...
2581 * sysdeps/unix/ifreq.c: ... here.
2582 * inet/ifreq.c: New file, true stub version.
2584 * socket/sa_len.c: New file.
2585 * socket/Makefile (aux): Add it.
2586 * sysdeps/unix/sysv/linux/Makefile
2587 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2588 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2589 and #include <socket/sa_len.c>.
2590 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2591 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2593 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2594 * bits/socket.h: ... here.
2596 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2597 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2598 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2600 2013-08-27 Andreas Schwab <schwab@suse.de>
2603 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2604 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2605 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2606 * string/test-strcasecmp.c (test_main): Run tests in several
2608 * string/test-strncasecmp.c (test_main): Likewise.
2610 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2611 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2612 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2614 (__strncasecmp_ssse3) [PIC]: Likewise.
2616 2013-08-26 Roland McGrath <roland@hack.frob.com>
2618 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2620 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2621 instead of explicitly declaring xdecrypt.
2622 * nis/nss_nis/nis-publickey.c: Likewise.
2624 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2627 * nscd/aicache.c: Include res_hconf.h.
2628 (addhstaiX): Initialize res_hconf.
2630 2013-08-26 Andreas Schwab <schwab@suse.de>
2632 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2633 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2635 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2637 * nscd/aicache.c (addhstaiX): Fix indentation.
2639 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2641 * configure.ac: Quote $build_pt_chown test.
2642 * configure: Regenerated.
2644 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2647 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2648 * math/s_cexpf.c (__cexpf): Likewise.
2649 * math/s_cexpl.c (__cexpl): Likewise.
2650 * math/libm-test.inc (cexp_test_data): Correct expected return
2651 value for NaN + i0. Add another test.
2653 2013-08-22 David S. Miller <davem@davemloft.net>
2655 * po/ca.po: Update Catalan translation from translation project.
2656 * po/uk.po: Add Ukrainian translations from translation project.
2658 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2661 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2662 is infinite, not alongside NaN test.
2663 * math/s_fdimf.c (__fdimf): Likewise.
2664 * math/s_fdiml.c (__fdiml): Likewise.
2665 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2668 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2670 * argp/argp-help.c: Fix typos.
2671 * crypt/speeds.c: Likewise.
2672 * csu/check_fds.c: Likewise.
2673 * elf/dl-load.c: Likewise.
2674 * elf/dl-open.c: Likewise.
2675 * elf/reldep3.c: Likewise.
2676 * elf/reldep.c: Likewise.
2677 * elf/sprof.c: Likewise.
2678 * iconv/iconv_charmap.c: Likewise.
2679 * iconv/skeleton.c: Likewise.
2680 * iconv/strtab.c: Likewise.
2681 * io/lockf64.c: Likewise.
2682 * libio/libioP.h: Likewise.
2683 * resolv/gai_notify.c: Likewise.
2684 * resolv/ns_name.c: Likewise.
2685 * resolv/ns_samedomain.c: Likewise.
2686 * resolv/res_send.c: Likewise.
2687 * stdlib/random.c: Likewise.
2688 * sunrpc/rpc/xdr.h: Likewise.
2689 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2690 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2691 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2692 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2693 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2694 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2695 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2696 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2697 * sysdeps/mach/hurd/check_fds.c: Likewise.
2698 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2699 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2700 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2701 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2702 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2703 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2704 * sysdeps/pthread/aio_notify.c: Likewise.
2705 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2706 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2707 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2708 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2709 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2711 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2713 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2714 version if bit_Slow_SSE4_2 is set.
2715 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2716 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2718 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2721 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2722 trampoline stack frame information.
2723 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2724 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2725 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2726 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2727 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2728 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2729 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2730 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2732 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2733 interrupting a syscall and set with option SA_SIGINFO.
2735 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2738 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2739 argument is infinite.
2740 * math/s_cprojf.c (__cprojf): Likewise.
2741 * math/s_cprojl.c (__cprojl): Likewise.
2742 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2743 * math/libm-test.inc (cproj_test_data): Add more tests.
2745 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2747 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2748 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2749 size. Use __ffs to determine corresponding shift.
2751 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2752 Roland McGrath <roland@hack.frob.com>
2754 * Makefile (INSTALL): Remove trailing blank lines from output of
2757 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2759 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2760 Align 32 bit compat elf_greg to 8 bytes.
2762 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2764 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2766 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2768 * string/strcoll_l.c (coll_seq): New structure.
2769 (get_next_seq_cached): New function.
2770 (get_next_seq): New function.
2771 (do_compare): New function.
2772 (STRCOLL): Use GNU style definition. Simplify implementation
2773 by using get_next_seq, get_next_seq_cached and do_compare.
2775 2013-08-16 Florian Weimer <fweimer@redhat.com>
2779 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2781 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2783 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2784 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2785 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2787 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2788 GETDENTS_64BIT_ALIGNED.
2789 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2790 * manual/filesys.texi (Reading/Closing Directory): Document
2791 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2793 * manual/conf.texi (Limits for Files): Add portability note to
2795 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2797 2013-08-13 Andreas Schwab <schwab@suse.de>
2800 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2802 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2803 LDBL_MAX_EXP >= 16384]: Add tests for it.
2805 2013-08-12 David S. Miller <davem@davemloft.net>
2807 * version.h (RELEASE): Set to "development".
2808 (VERSION): Set to "2.18.90".
2809 * NEWS: Add 2.19 section.
2811 2013-08-03 David S. Miller <davem@davemloft.net>
2813 * po/ko.po: Update Korean translation from translation project.
2815 2013-08-01 David S. Miller <davem@davemloft.net>
2817 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2818 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2821 2013-07-30 David S. Miller <davem@davemloft.net>
2823 * po/fr.po: Update French translation from translation project.
2825 2013-07-28 David S. Miller <davem@davemloft.net>
2827 * po/cs.po: Update Czech translation from translation project.
2829 * po/sv.po: Update Swedish translation from translation project.
2831 2013-07-27 David S. Miller <davem@davemloft.net>
2833 * po/eo.po: Update Esperanto translation from translation project.
2835 * po/vi.po: Update Vietnamese translation from translation project.
2837 * po/de.po: Update German translation from translation project.
2839 2013-07-26 David S. Miller <davem@davemloft.net>
2841 * po/bg.po: Update Bulgarian translation from translation project.
2843 * po/nl.po: Update Dutch translation from translation project.
2844 * po/pl.po: Update Polish translation from translation project.
2845 * po/ru.po: Update Russian translation from translation project.
2847 2013-07-24 David S. Miller <davem@davemloft.net>
2849 * po/libc.pot: Update.
2851 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2853 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2855 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2856 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2857 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2859 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2861 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2863 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2864 Andreas Schwab <schwab@suse.de>
2865 Roland McGrath <roland@hack.frob.com>
2866 Joseph Myers <joseph@codesourcery.com>
2867 Carlos O'Donell <carlos@redhat.com>
2870 * config.h.in: Define HAVE_PT_CHOWN.
2871 * config.make.in (build-pt-chown): New variable.
2872 * configure.in (--enable-pt_chown): New configure option.
2873 * configure: Regenerate.
2874 * login/Makefile: Include Makeconfig. Build pt_chown only if
2875 build-pt-chown is enabled.
2876 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2877 pt_chown to fix pty ownership.
2878 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2880 * manual/install.texi (Configuring and compiling): Mention
2881 --enable-pt_chown. Add @findex for grantpt.
2882 * INSTALL: Regenerate.
2884 2013-07-20 David S. Miller <davem@davemloft.net>
2886 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2887 difference between 32-bit and 64-bit.
2889 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2892 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2893 Avoid system header dependency with -ffreestanding.
2894 ($(objpfx)bits/syscall%d): Likewise.
2896 2013-07-13 David S. Miller <davem@davemloft.net>
2898 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2899 underflows from atanl/atan2l due to bug 15319.
2900 (casinh_test_data): Likewise.
2902 2013-07-07 David S. Miller <davem@davemloft.net>
2904 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2906 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2908 * sysdeps/i386/fpu/libm-test-ulps: Update.
2909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2911 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2913 * configure.in (--enable-lock-elision): Fix message text.
2914 * INSTALL: Regenerate.
2915 * configure: Regenerate.
2917 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2921 2013-07-03 Andreas Jaeger <aj@suse.de>
2923 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2925 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2926 (ptrace_peeksiginfo_args): Add.
2927 (__ptrace_peeksiginfo_flags): Add.
2928 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2930 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2932 2013-07-03 Allan McRae <allan@archlinux.org>
2934 * sysdeps/i386/fpu/libm-test-ulps: Update.
2936 2013-07-02 David S. Miller <davem@davemloft.net>
2938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2940 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2944 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2946 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2949 2013-07-02 Andi Kleen <ak@linux.intel.com>
2951 * config.h.in (ENABLE_LOCK_ELISION): Add.
2952 * configure.in (--enable-lock-elision): Add option.
2953 * manual/install.texi: Document --enable lock elision.
2954 * configure: Regenerate
2955 * INSTALL: Regenerate.
2957 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2959 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2960 SSE4.2 strcasecmp for libc.a.
2961 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2963 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2966 * soft-fp/op-common.h (_FP_FMA): New macro.
2967 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2968 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2969 (_FP_MUL_MEAT_1_imm): ... here.
2970 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2971 (_FP_MUL_MEAT_1_wide): ... here.
2972 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2973 (_FP_MUL_MEAT_1_hard): ... here.
2974 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2975 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2976 (_FP_MUL_MEAT_2_wide): ... here.
2977 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2978 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2979 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2980 (_FP_MUL_MEAT_2_gmp): ... here.
2981 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2982 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2983 (_FP_MUL_MEAT_4_wide): ... here.
2984 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2985 (_FP_MUL_MEAT_4_gmp): ... here.
2986 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2987 (_FP_WFRACBITS_DW_S): Likewise.
2988 (_FP_WFRACXBITS_DW_S): Likewise.
2989 (_FP_HIGHBIT_DW_S): Likewise.
2990 (FP_FMA_S): Likewise.
2991 (_FP_FRAC_HIGH_DW_S): Likewise.
2992 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2993 (_FP_WFRACBITS_DW_D): Likewise.
2994 (_FP_WFRACXBITS_DW_D): Likewise.
2995 (_FP_HIGHBIT_DW_D): Likewise.
2996 (FP_FMA_D): Likewise.
2997 (_FP_FRAC_HIGH_DW_D): Likewise.
2998 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2999 (_FP_WFRACBITS_DW_E): Likewise.
3000 (_FP_WFRACXBITS_DW_E): Likewise.
3001 (_FP_HIGHBIT_DW_E): Likewise.
3002 (FP_FMA_E): Likewise.
3003 (_FP_FRAC_HIGH_DW_E): Likewise.
3004 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3005 (_FP_WFRACBITS_DW_Q): Likewise.
3006 (_FP_WFRACXBITS_DW_Q): Likewise.
3007 (_FP_HIGHBIT_DW_Q): Likewise.
3008 (FP_FMA_Q): Likewise.
3009 (_FP_FRAC_HIGH_DW_Q): Likewise.
3010 * soft-fp/fmasf4.c: New file.
3011 * soft-fp/fmadf4.c: Likewise.
3012 * soft-fp/fmatf4.c: Likewise.
3014 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3017 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3019 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3021 (index_Slow_SSE4_2): Likewise.
3022 (index_Prefer_PMINUB_for_stringop): Likewise.
3023 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3024 bit_Slow_SSE4_2 is set.
3025 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3026 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3028 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3030 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3031 rtld_global._dl_hwcap2.
3032 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3034 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3035 POWER8 feature descriptions defined in _dl_hwcap2.
3036 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3037 string handling for POWER8 feature bits.
3038 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3039 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3040 _dl_powerpc_cap_flags.
3041 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3042 * sysdeps/powerpc/rtld-global-offsets.sym
3043 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3044 _dl_hwcap2 in the rtld_global_ro structure.
3046 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3048 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3049 hardware capabilities in support of AT_HWCAP2.
3050 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3051 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3053 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3054 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3055 explicitly the unknown a_type display mechanism is used.
3056 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3057 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3059 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3060 to macro prototype for AT_HWCAP2 support.
3061 * sysdeps/i386/dl-procinfo.h: Likewise.
3062 * sysdeps/s390/dl-procinfo.h: Likewise.
3063 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3064 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3065 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3066 return -1 for unknown a_type display fallback.
3067 * sysdeps/sparc/dl-procinfo.h: Likewise.
3068 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3069 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3071 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3073 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3074 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3076 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3079 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3080 mprotect making __stack_prot writable.
3082 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3083 Joseph Myers <joseph@codesourcery.com>
3085 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3086 as being properly aligned.
3088 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3090 * dlfcn/modstatic5.c: New file.
3091 * dlfcn/tststatic5.c: New file.
3092 * dlfcn/Makefile (tests): Add tststatic5.
3093 (tests-static): Likewise.
3094 (modules-names): Add modstatic5.
3095 (tststatic5-ENV): New variable.
3096 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3099 * elf/dl-support.c (_dl_main_map): New variable.
3100 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3101 (_dl_nns, _dl_load_adds): Set to 1.
3102 (_dl_initial_searchlist): Refer to _dl_main_map.
3103 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3104 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3105 call to _dl_get_origin.
3106 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3108 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3109 * dlfcn/modstatic3.c: New file.
3110 * dlfcn/tststatic3.c: New file.
3111 * dlfcn/tststatic4.c: New file.
3112 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3113 (tests-static): Likewise.
3114 (modules-names): Add modstatic3.
3115 (tststatic3-ENV, tststatic4-ENV): New variables.
3116 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3117 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3119 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3121 * configure.in (CC): Require GCC version 4.4 or later.
3122 * configure: Regenerated.
3123 * manual/install.texi (Tools for Compilation): Update GCC version
3125 * INSTALL: Regenerated.
3127 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3130 * string/test-memcmp.c (check2): New.
3131 (main): Call check2.
3133 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3135 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3138 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3140 (dl_open_worker) [!SHARED]: ... here.
3142 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3144 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3146 2013-06-25 Richard Henderson <rth@redhat.com>
3148 * locale/programs/locarchive.c: Include <libc-internal.h>
3150 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3152 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3153 trailing whitespace removed.
3155 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3158 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3159 * locale/programs/locarchive.c: Include libc-mmap.h.
3160 (prepare_address_space): Take two new outputs (the mmap base and len).
3161 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3163 (create_archive): Declare new mmap base and len values for
3164 prepare_address_space, and store the result in ah.
3165 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3166 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3167 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3168 Declare new mmap base and len values for
3169 prepare_address_space, and store the result in new_ah.
3170 (open_archive): Declare new mmap base and len values for
3171 prepare_address_space, and store the result in ah.
3172 (close_archive): If ah->mmap_base is not NULL, use that and
3173 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3174 * sysdeps/generic/libc-mmap.h: New file.
3176 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3178 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3179 (ALIGN_UP): Likewise.
3180 (PTR_ALIGN_DOWN): Likewise.
3181 (PTR_ALIGN_UP): Likewise.
3183 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3185 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3186 entry mapped to PPC_PLATFORM_POWER8.
3187 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3189 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3190 (_dl_string_platform): Add case for exporting platform position for
3192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3193 search path to sysdeps/powerpc/powerpc32/power8 directory.
3194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3195 search path to sysdeps/powerpc/powerpc64/power8 directory.
3196 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3198 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3201 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3203 * INSTALL: Regenerate.
3205 * nscd/connections.c (nscd_init): Fix comment.
3207 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3209 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3212 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3213 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3215 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3217 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3219 (DL_DST_REQ_STATIC): Remove macro.
3221 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3224 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3225 with a shift of 0 bits.
3227 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3229 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3232 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3235 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3237 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3239 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3240 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3241 accepts -fno-tree-loop-distribute-patterns.
3242 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3243 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3245 * string/memset.c (memset): Likewise.
3246 * string/test-memmove.c (simple_memmove): Disable loop transformation
3248 * string/test-memset.c (simple_memset): Likewise.
3249 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3250 * benchtests/bench-memset.c (simple_memset): Likewise.
3251 * configure: Regenerated.
3253 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3255 * math/test-misc.c (main): Ignore fesetround failure when failures
3256 of subsequent rounding tests would be ignored.
3259 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3260 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3261 * math/fegetenv.c (__fegetenv): Return 0.
3262 * math/fegetexcept.c (fegetexcept): Return 0.
3263 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3265 * math/feholdexcpt.c (feholdexcept): Return 0.
3266 * math/fesetenv.c (__fesetenv): Return 0.
3267 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3268 argument FE_TONEAREST.
3269 * math/feupdateenv.c (__feupdateenv): Return 0.
3270 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3272 2013-06-18 Roland McGrath <roland@hack.frob.com>
3274 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3275 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3276 ($(objpfx)rtld-%.os rules): Use them.
3278 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3280 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3283 2013-06-17 Roland McGrath <roland@hack.frob.com>
3285 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3286 length of target pattern, then descending length of dependency pattern.
3287 * configure.in (AWK): Require gawk 3.1.2 or newer.
3288 * manual/install.texi (Tools for Compilation): Say that we do.
3289 * configure: Regenerated.
3291 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3292 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3293 * scripts/sysd-rules.awk: ... this new script.
3294 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3295 than a glob-style pattern.
3297 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3299 * math/test-misc.c (main): Do not treat incorrectly rounded
3300 conversions as failure unless ROUNDING_TESTS passes.
3302 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3305 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3306 restore exception state around main square root computation, then
3307 check for inexactness explicitly.
3309 * math/libm-test.inc (fma_test_data): Add another test.
3311 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3313 * manual/threads.texi (Non-POSIX Extensions): New document
3314 node. Document pthread_getattr_default_np and
3315 pthread_setattr_default_np.
3317 * Versions.def (libpthread): Add GLIBC_2.18.
3318 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3327 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3338 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3341 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3343 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3344 H.J. Lu <hjl.tools@gmail.com>
3347 * sysdeps/x86_64/rtld-memset.c: Remove file.
3348 * sysdeps/x86_64/rtld-memset.S: New file.
3350 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3352 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3353 (test_in_one_mode): Take arguments for whether the rounding mode
3354 is supported for each floating-point type.
3355 (do_test): Pass new arguments to test_in_one_mode using
3358 2013-06-13 Roland McGrath <roland@hack.frob.com>
3360 * posix/tst-waitid.c (do_test): Distinguish different instances of
3361 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3362 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3363 before entering the kernel for waitpid.
3365 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3367 * NEWS: Fix note on clock function precision. Text by Roland
3370 2013-06-13 Roland McGrath <roland@hack.frob.com>
3372 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3373 it into place only when and if the sanity check passes.
3375 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3377 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3378 output for whether conversion result is exact. Take argument
3379 indicating whether type is IBM long double.
3380 (round_for_all): Change need_exact field to ibm_ld.
3381 * stdlib/tst-strtod-round.c (struct exactness): New type.
3382 (struct test): Change bool ld_ok field to struct exactness exact.
3383 (TEST): Update all definitions for change to field.
3384 (tests): Regenerate array contents.
3385 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3386 field value. Check for IBM long double here.
3387 (do_test): Update calls to test_in_one_mode.
3389 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3392 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3393 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3395 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3398 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3399 generated by the compiler on loop optimizations.
3400 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3401 general definitions.
3403 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3405 * math/bug-nextafter.c: Include <math-tests.h>.
3406 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3408 * math/bug-nexttoward.c: Include <math-tests.h>.
3409 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3411 * math/test-misc.c: Include <math-tests.h>.
3412 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3415 2013-06-12 Andreas Jaeger <aj@suse.de>
3417 * po/ia.po: Update Interlingua translation from translation
3420 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3422 * include/fenv.h: Include stdbool.h.
3423 (struct rm_ctx): New structure.
3424 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3426 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3427 (SET_RESTORE_ROUNDF): Likewise.
3428 (SET_RESTORE_ROUNDL): Likewise.
3429 (SET_RESTORE_ROUND_NOEX): Likewise.
3430 (SET_RESTORE_ROUND_NOEXF): Likewise.
3431 (SET_RESTORE_ROUND_NOEXL): Likewise.
3432 (SET_RESTORE_ROUND_53BIT): Likewise.
3433 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3434 (libc_feresetround_noexf_ctx): Likewise.
3435 (libc_feresetround_noexl_ctx): Likewise.
3436 (libc_feholdsetround_53bit_ctx): Likewise.
3437 (libc_feresetround_53bit_ctx): Likewise.
3438 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3439 (libc_feholdexcept_setround_sse_ctx): New function.
3440 (libc_fesetenv_sse_ctx): Likewise.
3441 (libc_feupdateenv_sse_ctx): Likewise.
3442 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3443 (libc_feholdexcept_setround_387_ctx): Likewise.
3444 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3445 (libc_feholdsetround_387_prec_ctx): Likewise.
3446 (libc_feholdsetround_387_ctx): Likewise.
3447 (libc_feholdsetround_387_53bit_ctx): Likewise.
3448 (libc_feholdsetround_sse_ctx): Likewise.
3449 (libc_feresetround_sse_ctx): Likewise.
3450 (libc_feresetround_387_ctx): Likewise.
3451 (libc_feupdateenv_387_ctx): Likewise.
3452 (libc_feholdexcept_setroundf_ctx): Define macro.
3453 (libc_fesetenvf_ctx): Likewise.
3454 (libc_feupdateenvf_ctx): Likewise.
3455 (libc_feholdsetroundf_ctx): Likewise.
3456 (libc_feresetroundf_ctx): Likewise.
3457 (libc_feholdexcept_setround_ctx): Likewise.
3458 (libc_fesetenv_ctx): Likewise.
3459 (libc_feupdateenv_ctx): Likewise.
3460 (libc_feholdsetround_ctx): Likewise.
3461 (libc_feresetround_ctx): Likewise.
3462 (libc_feholdexcept_setroundl_ctx): Likewise.
3463 (libc_feupdateenvl_ctx): Likewise.
3464 (libc_feholdsetroundl_ctx): Likewise.
3465 (libc_feresetroundl_ctx): Likewise.
3466 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3467 (libc_feresetround_53bit_ctx): Likewise.
3469 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3471 * locale/iso-639.def: Convert to UTF-8.
3473 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3475 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3476 (EXCEPTION_TESTS_double): Likewise.
3477 (EXCEPTION_TESTS_long_double): Likewise.
3478 (EXCEPTION_TESTS): Likewise.
3479 * math/libm-test.inc (test_exceptions): Only test exceptions if
3480 EXCEPTION_TESTS (FLOAT).
3482 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3484 * benchtests/Makefile (string-bench): Add strcpy_chk and
3486 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3487 * benchtests/bench-stpcpy_chk.c: New file.
3488 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3489 * benchtests/bench-strcpy_chk.c: New file.
3490 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3492 (do_test): Likewise.
3494 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3496 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3497 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3498 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3499 with tabs where appropriate.
3500 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3502 [PPC_PLATFORM_PPC440]: Likewise.
3503 [PPC_PLATFORM_PPC464]: Likewise.
3504 [PPC_PLATFORM_PPC476]: Likewise.
3505 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3506 ppc464, and ppc476 platform strings merging from ports/
3509 2013-06-11 Andreas Schwab <schwab@suse.de>
3512 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3513 (from_ucs4_idx): Regenerate.
3514 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3515 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3516 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3517 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3518 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3519 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3520 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3521 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3522 from FROM_LOOP and TO_LOOP specific macros.
3523 (BODY): Handle combining characters.
3524 * iconvdata/BIG5HKSCS.irreversible: Update.
3525 * iconvdata/BIG5HKSCS.precomposed: New file.
3526 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3528 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3530 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3532 * include/sys/time.h: Fix indentation and add copyright header.
3534 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3535 (do_test): Likewise.
3536 * string/test-memchr.c (do_one_test): Likewise.
3537 (do_test): Likewise.
3538 * string/test-memcmp.c (do_one_test): Likewise.
3539 (do_test): Likewise.
3540 * string/test-memcpy.c (do_one_test): Likewise.
3541 (do_test): Likewise.
3542 * string/test-memmem.c (do_one_test): Likewise.
3543 (do_test): Likewise.
3544 (do_random_tests): Likewise.
3545 * string/test-memmove.c (do_one_test): Likewise.
3546 (do_test): Likewise.
3547 * string/test-memset.c (do_one_test): Likewise.
3548 (do_test): Likewise.
3549 * string/test-rawmemchr.c (do_one_test): Likewise.
3550 (do_test): Likewise.
3551 * string/test-strcasecmp.c (do_one_test): Likewise.
3552 (do_test): Likewise.
3553 * string/test-strcasestr.c (do_one_test): Likewise.
3554 (do_test): Likewise.
3555 * string/test-strcat.c (do_one_test): Likewise.
3556 (do_test): Likewise.
3557 * string/test-strchr.c (do_one_test): Likewise.
3558 (do_test): Likewise.
3559 * string/test-strcmp.c (do_one_test): Likewise.
3560 (do_test): Likewise.
3561 * string/test-strcpy.c (do_one_test): Likewise.
3562 (do_test): Likewise.
3563 * string/test-string.h: Likewise.
3564 (test_init): Likewise.
3565 * string/test-strlen.c (do_one_test): Likewise.
3566 (do_test): Likewise.
3567 * string/test-strncasecmp.c (do_one_test): Likewise.
3568 (do_test): Likewise.
3569 * string/test-strncat.c (do_one_test): Likewise.
3570 (do_test): Likewise.
3571 * string/test-strncmp.c (do_one_test): Likewise.
3572 (do_test_limit): Likewise.
3573 (do_test): Likewise.
3574 * string/test-strncpy.c (do_one_test): Likewise.
3575 (do_test): Likewise.
3576 * string/test-strnlen.c (do_one_test): Likewise.
3577 (do_test): Likewise.
3578 * string/test-strpbrk.c (do_one_test): Likewise.
3579 (do_test): Likewise.
3580 * string/test-strrchr.c (do_one_test): Likewise.
3581 (do_test): Likewise.
3582 * string/test-strspn.c (do_one_test): Likewise.
3583 (do_test): Likewise.
3584 * string/test-strstr.c (do_one_test): Likewise.
3585 (do_test): Likewise.
3587 * benchtests/Makefile (string-bench): Add string benchmarks.
3588 * benchtests/bench-bcopy-ifunc.c: New file.
3589 * benchtests/bench-bcopy.c: New file.
3590 * benchtests/bench-bzero-ifunc.c: New file.
3591 * benchtests/bench-bzero.c: New file.
3592 * benchtests/bench-memccpy-ifunc.c: New file.
3593 * benchtests/bench-memccpy.c: New file.
3594 * benchtests/bench-memchr-ifunc.c: New file.
3595 * benchtests/bench-memchr.c: New file.
3596 * benchtests/bench-memcmp-ifunc.c: New file.
3597 * benchtests/bench-memcmp.c: New file.
3598 * benchtests/bench-memmem-ifunc.c: New file.
3599 * benchtests/bench-memmem.c: New file.
3600 * benchtests/bench-memmove-ifunc.c: New file.
3601 * benchtests/bench-memmove.c: New file.
3602 * benchtests/bench-mempcpy-ifunc.c: New file.
3603 * benchtests/bench-mempcpy.c: New file.
3604 * benchtests/bench-memset-ifunc.c: New file.
3605 * benchtests/bench-memset.c: New file.
3606 * benchtests/bench-rawmemchr-ifunc.c: New file.
3607 * benchtests/bench-rawmemchr.c: New file.
3608 * benchtests/bench-stpcpy-ifunc.c: New file.
3609 * benchtests/bench-stpcpy.c: New file.
3610 * benchtests/bench-stpncpy-ifunc.c: New file.
3611 * benchtests/bench-stpncpy.c: New file.
3612 * benchtests/bench-strcasecmp-ifunc.c: New file.
3613 * benchtests/bench-strcasecmp.c: New file.
3614 * benchtests/bench-strcasestr-ifunc.c: New file.
3615 * benchtests/bench-strcasestr.c: New file.
3616 * benchtests/bench-strcat-ifunc.c: New file.
3617 * benchtests/bench-strcat.c: New file.
3618 * benchtests/bench-strchr-ifunc.c: New file.
3619 * benchtests/bench-strchr.c: New file.
3620 * benchtests/bench-strchrnul-ifunc.c: New file.
3621 * benchtests/bench-strchrnul.c: New file.
3622 * benchtests/bench-strcmp-ifunc.c: New file.
3623 * benchtests/bench-strcmp.c: New file.
3624 * benchtests/bench-strcpy-ifunc.c: New file.
3625 * benchtests/bench-strcpy.c: New file.
3626 * benchtests/bench-strcspn-ifunc.c: New file.
3627 * benchtests/bench-strcspn.c: New file.
3628 * benchtests/bench-strlen-ifunc.c: New file.
3629 * benchtests/bench-strlen.c: New file.
3630 * benchtests/bench-strncasecmp-ifunc.c: New file.
3631 * benchtests/bench-strncasecmp.c: New file.
3632 * benchtests/bench-strncat-ifunc.c: New file.
3633 * benchtests/bench-strncat.c: New file.
3634 * benchtests/bench-strncmp-ifunc.c: New file.
3635 * benchtests/bench-strncmp.c: New file.
3636 * benchtests/bench-strncpy-ifunc.c: New file.
3637 * benchtests/bench-strncpy.c: New file.
3638 * benchtests/bench-strnlen-ifunc.c: New file.
3639 * benchtests/bench-strnlen.c: New file.
3640 * benchtests/bench-strpbrk-ifunc.c: New file.
3641 * benchtests/bench-strpbrk.c: New file.
3642 * benchtests/bench-strrchr-ifunc.c: New file.
3643 * benchtests/bench-strrchr.c: New file.
3644 * benchtests/bench-strspn-ifunc.c: New file.
3645 * benchtests/bench-strspn.c: New file.
3646 * benchtests/bench-strstr-ifunc.c: New file.
3647 * benchtests/bench-strstr.c: New file.
3649 * benchtests/Makefile: Disable parallel execution of targets.
3650 (string-bench): Add memcpy.
3651 (benchset): New variable to store a list of benchmark sets.
3652 (bench-func): Renamed from bench.
3653 (bench-set): New target.
3654 (bench): Depend on bench-func and bench-set.
3655 * benchtests/README: Add section on benchmark sets.
3656 * benchtests/bench-memcpy-ifunc.c: New file.
3657 * benchtests/bench-memcpy.c: New file.
3658 * benchtests/bench-string.h: New file.
3660 2013-06-11 Andreas Schwab <schwab@suse.de>
3663 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3664 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3665 values in the triple.
3666 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3667 terminator in the group key.
3669 2013-06-11 Andreas Jaeger <aj@suse.de>
3671 * po/zh_TW.po: Update Chinese (traditional) translation from
3672 translation project.
3674 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3676 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3677 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3678 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3679 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3680 (clock_getcpuclockid): Likewise.
3681 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3682 Add weak_alias and libc_hidden_def.
3683 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3684 * rt/clock_gettime.c (clock_gettime): Rename to
3685 __clock_gettime. Add weak_alias and libc_hidden_def.
3686 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3687 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3688 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3689 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3690 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3692 * rt/clock_settime.c (clock_settime): Rename to
3693 __clock_settime. Add weak_alias and libc_hidden_def.
3694 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3696 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3698 * mach/err_boot.sub: Remove trailing whitespace.
3699 * mach/err_ipc.sub: Likewise.
3700 * mach/err_mach.sub: Likewise.
3702 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3703 (ROUNDING_TESTS_double): Likewise.
3704 (ROUNDING_TESTS_long_double): Likewise.
3705 (ROUNDING_TESTS): Likewise.
3706 * math/libm-test.inc: Include <math-tests.h>.
3707 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3708 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3709 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3710 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3712 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3714 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3717 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3719 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3720 otherwise empty TRANS lines.
3721 * sysdeps/gnu/errlist.c: Regenerated.
3723 * catgets/gencat.c (error_print): Use (void) in function
3725 * crypt/crypt_util.c (__init_des): Likewise.
3726 * crypt/speeds.c (Stop): Likewise.
3728 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3729 * inet/ruserpass.c (token): Likewise.
3730 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3731 * intl/localealias.c (extend_alias_table): Likewise.
3732 * intl/plural-exp.c (init_germanic_plural): Likewise.
3733 * libio/fcloseall.c (__fcloseall): Likewise.
3734 * libio/genops.c (_IO_flush_all): Likewise.
3735 (_IO_flush_all_linebuffered): Likewise.
3736 (_IO_cleanup): Likewise.
3737 (_IO_iter_begin): Likewise.
3738 (_IO_iter_end): Likewise.
3739 (_IO_list_lock): Likewise.
3740 (_IO_list_unlock): Likewise.
3741 (_IO_list_resetlock): Likewise.
3742 * libio/getchar.c (getchar): Likewise.
3743 * libio/getchar_u.c (getchar_unlocked): Likewise.
3744 * libio/getwchar.c (getwchar): Likewise.
3745 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3746 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3747 * login/getpt.c (__getpt): Likewise.
3748 * login/tst-utmp.c (main): Likewise.
3749 * malloc/hooks.c (__malloc_check_init): Likewise.
3750 * malloc/malloc.c (__malloc_stats): Likewise.
3751 * malloc/mtrace.c (tr_break): Likewise.
3753 (muntrace): Likewise.
3754 * misc/fstab.c (endfsent): Likewise.
3755 * misc/getclktck.c (__getclktck): Likewise.
3756 * misc/getdtsz.c (__getdtablesize): Likewise.
3757 * misc/gethostid.c (gethostid): Likewise.
3758 * misc/getpagesize.c (__getpagesize): Likewise.
3759 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3760 (__get_nprocs): Likewise.
3761 (__get_phys_pages): Likewise.
3762 (__get_avphys_pages): Likewise.
3763 * misc/getttyent.c (getttyent): Likewise.
3764 (setttyent): Likewise.
3765 (endttyent): Likewise.
3766 * misc/getusershell.c (getusershell): Likewise.
3767 (endusershell): Likewise.
3768 (setusershell): Likewise.
3769 (initshells): Likewise.
3770 * misc/hsearch.c (__hdestroy): Likewise.
3771 * misc/sync.c (sync): Likewise.
3772 * misc/syslog.c (closelog_internal): Likewise.
3773 (closelog): Likewise.
3774 * misc/ttyslot.c (ttyslot): Likewise.
3775 * misc/vhangup.c (vhangup): Likewise.
3776 * posix/fork.c (__fork): Likewise.
3777 * posix/getegid.c (__getegid): Likewise.
3778 * posix/geteuid.c (__geteuid): Likewise.
3779 * posix/getgid.c (__getgid): Likewise.
3780 * posix/getpid.c (__getpid): Likewise.
3781 * posix/getppid.c (__getppid): Likewise.
3782 * posix/getuid.c (__getuid): Likewise.
3783 * posix/pause.c (pause): Likewise.
3784 * posix/setpgrp.c (setpgrp): Likewise.
3785 * posix/setsid.c (__setsid): Likewise.
3786 * posix/test-vfork.c (noop): Likewise.
3787 * resolv/gethnamaddr.c (_endhtent): Likewise.
3788 (_gethtent): Likewise.
3789 (ht_endhostent): Likewise.
3790 (gethostent): Likewise.
3791 (dns_service): Likewise.
3792 * stdlib/drand48.c (drand48): Likewise.
3793 * stdlib/lrand48.c (lrand48): Likewise.
3794 * stdlib/mrand48.c (mrand48): Likewise.
3795 * stdlib/rand.c (rand): Likewise.
3796 * stdlib/random.c (__random): Likewise.
3797 * stdlib/setenv.c (clearenv): Likewise.
3798 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3799 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3800 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3801 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3802 (__get_nprocs): Likewise.
3803 (__get_phys_pages): Likewise.
3804 (__get_avphys_pages): Likewise.
3805 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3806 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3807 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3808 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3809 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3810 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3811 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3812 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3813 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3814 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3815 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3816 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3817 * sysdeps/posix/clock.c (clock): Likewise.
3818 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3819 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3820 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3821 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3822 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3823 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3824 (__get_nprocs_conf): Likewise.
3825 (__get_phys_pages): Likewise.
3826 (__get_avphys_pages): Likewise.
3827 * time/clock.c (clock): Likewise.
3828 * time/tzset.c (__tzname_max): Likewise.
3830 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3832 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3833 (__bswap_32): Do not use "register".
3834 * crypt/crypt.c (_ufc_doit_r): Likewise.
3835 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3836 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3837 * gmon/gmon.c (__monstartup): Likewise.
3838 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3839 * hurd/hurdmalloc.c (more_memory): Likewise.
3842 (realloc): Likewise.
3843 (malloc_fork_prepare): Likewise.
3844 (malloc_fork_parent): Likewise.
3845 (malloc_fork_child): Likewise.
3846 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3847 (_svcauth_des): Likewise.
3848 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3849 * inet/inet_net.c (inet_network): Likewise.
3850 * inet/inet_netof.c (inet_netof): Likewise.
3851 * inet/rcmd.c (__validuser2_sa): Likewise.
3852 * io/fts.c (fts_open): Likewise.
3853 (fts_load): Likewise.
3854 (fts_close): Likewise.
3855 (fts_read): Likewise.
3856 (fts_children): Likewise.
3857 (fts_build): Likewise.
3858 (fts_stat): Likewise.
3859 (fts_sort): Likewise.
3860 (fts_alloc): Likewise.
3861 (fts_lfree): Likewise.
3862 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3863 (_IO_file_xsgetn): Likewise.
3864 (_IO_file_xsgetn_mmap): Likewise.
3865 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3866 (_IO_cookie_write): Likewise.
3867 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3868 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3869 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3870 * malloc/obstack.c (_obstack_begin): Likewise.
3871 (_obstack_begin_1): Likewise.
3872 (_obstack_newchunk): Likewise.
3873 (_obstack_allocated_p): Likewise.
3874 (obstack_free): Likewise.
3875 (_obstack_memory_used): Likewise.
3876 * misc/getttyent.c (getttynam): Likewise.
3877 (getttyent): Likewise.
3880 * misc/getusershell.c (initshells): Likewise.
3881 * misc/syslog.c (__vsyslog_chk): Likewise.
3882 * misc/ttyslot.c (ttyslot): Likewise.
3883 * nis/nis_hash.c (__nis_hash): Likewise.
3884 * posix/fnmatch_loop.c (FCT): Likewise.
3885 * posix/getconf.c (print_all): Likewise.
3887 * posix/getopt.c (exchange): Likewise.
3888 * posix/glob.c (globfree): Likewise.
3889 (prefix_array): Likewise.
3890 (__glob_pattern_type): Likewise.
3891 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3892 (NS_GET32): Likewise.
3893 (NS_PUT16): Likewise.
3894 (NS_PUT32): Likewise.
3895 * resolv/gethnamaddr.c (getanswer): Likewise.
3896 (gethostbyname2): Likewise.
3897 (gethostbyaddr): Likewise.
3898 (_gethtent): Likewise.
3899 (_gethtbyname2): Likewise.
3900 (_gethtbyaddr): Likewise.
3901 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3902 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3903 * resolv/res_init.c (__res_vinit): Likewise.
3904 (net_mask): Likewise.
3905 * resolv/res_mkquery.c (outchar): Likewise.
3907 * stdio-common/printf_fp.c (outchar): Likewise.
3909 * stdio-common/printf_fphex.c (outchar): Likewise.
3911 * stdio-common/printf_size.c (outchar): Likewise.
3913 * stdio-common/test_rdwr.c (main): Likewise.
3914 * stdio-common/tfformat.c (matches): Likewise.
3915 * stdio-common/vfprintf.c (outchar): Likewise.
3916 (printf_unknown): Likewise.
3917 (buffered_vfprintf): Likewise.
3918 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3919 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3920 (ReadFile): Likewise.
3921 * stdlib/qsort.c (SWAP): Likewise.
3922 (_quicksort): Likewise.
3923 * stdlib/setenv.c (__add_to_environ): Likewise.
3924 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3925 * stdlib/strtol_l.c (__strtol_l): Likewise.
3926 * stdlib/tst-strtod.c (main): Likewise.
3927 * stdlib/tst-strtol.c (main): Likewise.
3928 * stdlib/tst-strtoll.c (main): Likewise.
3929 * string/bits/string2.h (__strcmp_cc): Likewise.
3930 (__strcmp_cg): Likewise.
3931 (__strcspn_c1): Likewise.
3932 (__strcspn_c2): Likewise.
3933 (__strcspn_c3): Likewise.
3934 (__strspn_c1): Likewise.
3935 (__strspn_c2): Likewise.
3936 (__strspn_c3): Likewise.
3937 (__strsep_1c): Likewise.
3938 (__strsep_2c): Likewise.
3939 (__strsep_3c): Likewise.
3940 * string/memccpy.c (__memccpy): Likewise.
3941 * string/stpcpy.c (__stpcpy): Likewise.
3942 * string/strcmp.c (strcmp): Likewise.
3943 * string/strrchr.c (strrchr): Likewise.
3944 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3946 * sysdeps/mach/hurd/getcwd.c
3947 (_hurd_canonicalize_directory_name_internal): Likewise.
3948 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3949 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3950 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3951 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3952 Likewise, in both definitions.
3953 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3955 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3956 64] (__bswap_64): Likewise.
3957 * time/test_time.c (main): Likewise.
3958 * time/tzfile.c (__tzfile_read): Likewise.
3959 (__tzfile_compute): Likewise.
3960 * time/tzset.c (__tzset_parse_tz): Likewise.
3961 (tzset_internal): Likewise.
3962 (compute_change): Likewise.
3963 * wcsmbs/wcscat.c (__wcscat): Likewise.
3964 * wcsmbs/wcschr.c (wcschr): Likewise.
3965 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3966 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3967 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3968 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3969 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3970 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3971 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3972 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3973 * wcsmbs/wmemset.c (wmemset): Likewise.
3975 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3977 * scripts/config.guess: Update to version 2013-05-16.
3978 * scripts/config.sub: Update to version 2013-04-24.
3979 * scripts/install-sh: Update to version 2011-11-20.07.
3980 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3981 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3983 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3985 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3986 * elf/sln.c: Likewise.
3987 * hurd/hurd/ioctl.h: Likewise.
3988 * hurd/hurdmalloc.c: Likewise.
3989 * hurd/xattr.c: Likewise.
3990 * include/shlib-compat.h: Likewise.
3991 * inet/ruserpass.c: Likewise.
3992 * libio/iofgets_u.c: Likewise.
3993 * libio/iofgetws_u.c: Likewise.
3994 * locale/programs/ld-identification.c: Likewise.
3995 * locale/programs/ld-time.c: Likewise.
3996 * mach/msg-destroy.c: Likewise.
3997 * nss/nss_files/files-netgrp.c: Likewise.
3998 * resolv/res_data.c: Likewise.
3999 * soft-fp/op-1.h: Likewise.
4000 * soft-fp/op-2.h: Likewise.
4001 * soft-fp/op-4.h: Likewise.
4002 * soft-fp/op-common.h: Likewise.
4003 * stdio-common/printf_fphex.c: Likewise.
4004 * stdlib/strtod_l.c: Likewise.
4005 * sunrpc/rpc/clnt.h: Likewise.
4006 * sysdeps/generic/framestate.c: Likewise.
4007 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4008 * sysdeps/i386/bsd-setjmp.S: Likewise.
4009 * sysdeps/i386/__longjmp.S: Likewise.
4010 * sysdeps/i386/setjmp.S: Likewise.
4011 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4012 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4013 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4029 * sysdeps/ieee754/support.c: Likewise.
4030 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4031 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4032 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4033 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4034 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4035 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4036 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4037 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4038 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4039 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4040 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4041 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4042 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4043 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4044 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4045 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4046 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4049 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4051 * posix/transbug.c: Remove executable mode.
4053 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4055 * crypt/speeds.c: Remove trailing whitespace.
4056 * dlfcn/default.c: Likewise.
4057 * elf/ifuncdep2.c: Likewise.
4058 * elf/ifuncmain1.c: Likewise.
4059 * elf/ifuncmain1vis.c: Likewise.
4060 * elf/testobj.h: Likewise.
4061 * elf/tst-stackguard1.c: Likewise.
4062 * gmon/sys/gmon.h: Likewise.
4063 * hurd/hurdmsg.c: Likewise.
4064 * hurd/new-fd.c: Likewise.
4065 * hurd/ports-get.c: Likewise.
4066 * iconvdata/ibm1008_420.c: Likewise.
4067 * inet/tst-getni1.c: Likewise.
4068 * inet/tst-getni2.c: Likewise.
4069 * libio/ioungetc.c: Likewise.
4070 * libio/wfiledoalloc.c: Likewise.
4071 * manual/libm-err-tab.pl: Likewise.
4072 * math/w_dremf.c: Likewise.
4073 * misc/ftruncate.c: Likewise.
4074 * posix/bug-glob2.c: Likewise.
4075 * posix/tst-pcre.c: Likewise.
4076 * posix/wait4.c: Likewise.
4077 * resolv/README: Likewise.
4078 * resolv/res_debug.h: Likewise.
4079 * resolv/tst-inet_ntop.c: Likewise.
4080 * setjmp/bug269-setjmp.c: Likewise.
4081 * soft-fp/extended.h: Likewise.
4082 * soft-fp/op-1.h: Likewise.
4083 * soft-fp/op-2.h: Likewise.
4084 * soft-fp/op-4.h: Likewise.
4085 * soft-fp/op-8.h: Likewise.
4086 * soft-fp/testit.c: Likewise.
4087 * stdio-common/bug16.c: Likewise.
4088 * stdlib/random.c: Likewise.
4089 * sunrpc/rpcsvc/rquota.x: Likewise.
4090 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4091 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4092 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4093 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4094 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4095 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4096 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4097 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4098 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4099 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4100 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4119 * sysdeps/ieee754/s_lib_version.c: Likewise.
4120 * sysdeps/mach/hurd/check_fds.c: Likewise.
4121 * sysdeps/mach/hurd/getsockname.c: Likewise.
4122 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4123 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4124 * sysdeps/powerpc/bits/link.h: Likewise.
4125 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4126 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4127 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4128 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4129 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4130 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4131 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4132 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4133 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4134 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4135 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4136 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4137 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4138 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4139 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4140 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4141 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4142 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4143 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4144 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4145 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4146 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4147 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4148 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4149 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4150 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4151 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4152 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4153 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4154 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4155 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4156 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4157 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4158 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4159 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4160 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4161 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4162 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4163 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4164 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4165 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4166 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4167 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4168 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4169 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4170 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4171 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4172 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4173 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4174 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4175 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4176 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4177 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4178 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4179 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4180 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4181 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4182 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4183 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4184 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4185 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4186 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4187 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4188 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4189 * sysdeps/powerpc/sysdep.h: Likewise.
4190 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4191 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4192 * sysdeps/sh/dl-trampoline.S: Likewise.
4193 * sysdeps/sh/memset.S: Likewise.
4194 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4195 * sysdeps/sh/strlen.S: Likewise.
4196 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4197 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4198 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4199 * sysdeps/sparc/sparc32/rem.S: Likewise.
4200 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4201 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4202 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4203 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4204 * sysdeps/sparc/sparc32/urem.S: Likewise.
4205 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4206 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4207 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4208 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4209 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4210 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4211 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4212 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4213 * sysdeps/unix/bsd/times.c: Likewise.
4214 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4215 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4219 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4220 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4221 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4222 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4223 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4224 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4225 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4226 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4227 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4228 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4229 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4230 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4231 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4232 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4233 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4234 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4235 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4236 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4237 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4238 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4239 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4240 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4241 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4242 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4243 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4244 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4245 * sysdeps/x86_64/strcspn.S: Likewise.
4247 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4249 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4250 generated file. Regenerate properly from gen-translit.pl.
4251 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4252 locale/C-translit.h.
4254 2013-06-05 Andreas Schwab <schwab@suse.de>
4257 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4258 week as 6 instead of -1.
4259 * time/tst-strptime.c (day_tests): Add test case.
4261 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4263 * sysdeps/generic/math_private.h
4264 (libc_feholdexcept_setround_53bit): Replace with
4265 libc_feholdsetround_53bit.
4266 (libc_feupdateenv_53bit): Replace with
4267 libc_feresetround_53bit.
4268 (SET_RESTORE_ROUND_53BIT): Adjust.
4270 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4272 * string/test-strchrnul.c: Add copyright header.
4274 * posix/tst-getaddrinfo4.c: Increase test timeout.
4276 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4279 * math/libm-test.inc (MAX_EXP): Remove
4281 (ulp): Use MIN_EXP - MANT_DIG.
4282 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4284 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4286 * po/be.po: Revert last change.
4287 * po/zh_CN.po: Likewise.
4288 * po/header.pot: Likewise.
4290 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4292 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4293 link-libc-deps to empty as target-specific variable.
4294 * Makerules (link-libc-args): New variable.
4295 (libc-for-link): Likewise.
4296 (link-libc-deps): Likewise.
4297 (lib%.so): Depend on $(link-libc-deps). Link with
4299 (build-module): Link with $(link-libc-args).
4300 (build-module-asneeded): Likewise.
4301 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4303 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4304 target-specific variable.
4305 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4306 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4307 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4309 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4311 ($(objpfx)libpcprofile.so): Likewise.
4312 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4314 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4315 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4316 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4318 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4319 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4320 * login/Makefile ($(objpfx)libutil.so): Likewise.
4321 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4322 * math/Makefile ($(objpfx)libm.so): Likewise.
4323 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4324 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4325 variable instead of depending directly on libc.
4326 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4327 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4329 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4331 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4332 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4333 ($(objpfx)libanl.so): Likewise.
4334 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4336 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4338 * sysdeps/i386/fpu/Makefile: Remove file.
4339 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4340 ($(objpfx)libm.so): Remove dependency on ld.so.
4342 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4345 * nis/yp_xdr.c (XDRMAXNAME): Define.
4346 (XDRMAXRECORD): Define.
4347 (xdr_domainname): Use XDRMAXNAME.
4348 (xdr_mapname): Likewise.
4349 (xdr_peername): Likewise.
4350 (xdr_keydat): Use XDRMAXRECORD.
4351 (xdr_valdat): Likewise.
4353 2013-05-30 Jeff Law <law@redhat.com>
4356 * manual/errno.texi (ESTALE): Update to account for more than
4357 just NFS file systems.
4358 * sysdeps/gnu/errlist.c: Regenerated.
4360 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4363 * elf/Makefile (tests): Add tst-null-argv.
4364 (modules-names): Add tst-null-argv-lib.
4365 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4366 (tst-null-argv-ENV): Set environment for tst-null-argv.
4367 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4368 (RTLD_PROGNAME): New macro.
4369 * elf/tst-null-argv.c: New test case.
4370 * elf/tst-null-argv-lib.c: Library for test case.
4371 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4372 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4373 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4374 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4375 * elf/dl-init.c (call_init): Likewise.
4376 (_dl_init): Likewise.
4377 * elf/dl-load.c (print_search_path): Likewise.
4378 (_dl_map_object): Likewise.
4379 * elf/dl-lookup.c (do_lookup_x): Likewise.
4380 (add_dependency): Likewise.
4381 (_dl_lookup_symbol_x): Likewise.
4382 (_dl_debug_bindings): Likewise.
4383 * elf/dl-open.c (_dl_show_scope): Likewise.
4384 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4385 * elf/dl-version.c (match_symbol): Likewise.
4386 (_dl_check_map_versions): Likewise.
4387 * elf/rtld.c (dl_main): Likewise.
4388 (print_unresolved): Use RTLD_PROGNAME.
4389 (print_missing_version): Likewise.
4390 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4391 (elf_machine_rela): Likewise.
4392 * sysdeps/powerpc/powerpc32/dl-machine.c
4393 (__process_machine_rela): Likewise.
4394 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4396 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4398 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4400 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4401 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4403 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4405 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4407 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4409 * po/be.po: Add descriptive title.
4410 * po/zh_CN.po: Likewise.
4411 * po/header.pot: Likewise.
4413 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4415 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4417 (enlarge_archive): Likewise.
4419 2013-05-28 Ben North <ben@redfrontdoor.org>
4421 * manual/arith.texi (frexp): It is the magnitude of the return
4422 value which lies in [0.5, 1), not the return value itself.
4424 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4428 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4430 * stdio-common/bug26.c (main): Correct fscanf template.
4432 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4433 declare _dl_skip_args.
4435 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4438 * manual/platform.texi: Add missing @end deftypefun.
4440 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4443 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4444 bit of mantissa of 2^16382.
4445 * math/libm-test.inc (hypot_test_data): Add more tests.
4447 * math/libm-test.inc: Add drem and pow10 to list of tested
4449 (pow10_test): New function.
4450 (drem_test): Likewise.
4451 (drem_test_tonearest): Likewise.
4452 (drem_test_towardzero): Likewise.
4453 (drem_test_downward): Likewise.
4454 (drem_test_upward): Likewise.
4455 (main): Call the new functions.
4457 * math/libm-test.inc (finite_test_data): Remove.
4458 (finite_test): Run tests from isfinite_test_data.
4459 (gamma_test_data): Remove.
4460 (gamma_test): Run tests from lgamma_test_data.
4461 * sysdeps/i386/fpu/libm-test-ulps: Update.
4462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4464 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4466 * manual/platform.texi: Add PowerPC PPR function set documentation.
4467 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4470 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4472 * math/libm-test.inc (MAX_EXP): Define.
4474 (ulp): New function.
4475 (check_float_internal): Use ULPDIFF.
4476 (cpow_test): Disable failing test.
4477 (check_ulp): Test ulp() implemetnation.
4478 (main): Call check_ulp before starting tests.
4480 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4482 * math/gen-libm-test.pl (generate_testfile): Do not handle
4483 START_DATA and END_DATA.
4484 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4486 (acos_tonearest_test_data): Likewise.
4487 (acos_towardzero_test_data): Likewise.
4488 (acos_downward_test_data): Likewise.
4489 (acos_upward_test_data): Likewise.
4490 (acosh_test_data): Likewise.
4491 (asin_test_data): Likewise.
4492 (asin_tonearest_test_data): Likewise.
4493 (asin_towardzero_test_data): Likewise.
4494 (asin_downward_test_data): Likewise.
4495 (asin_upward_test_data): Likewise.
4496 (asinh_test_data): Likewise.
4497 (atan_test_data): Likewise.
4498 (atanh_test_data): Likewise.
4499 (atan2_test_data): Likewise.
4500 (cabs_test_data): Likewise.
4501 (cacos_test_data): Likewise.
4502 (cacosh_test_data): Likewise.
4503 (carg_test_data): Likewise.
4504 (casin_test_data): Likewise.
4505 (casinh_test_data): Likewise.
4506 (catan_test_data): Likewise.
4507 (catanh_test_data): Likewise.
4508 (cbrt_test_data): Likewise.
4509 (ccos_test_data): Likewise.
4510 (ccosh_test_data): Likewise.
4511 (ceil_test_data): Likewise.
4512 (cexp_test_data): Likewise.
4513 (cimag_test_data): Likewise.
4514 (clog_test_data): Likewise.
4515 (clog10_test_data): Likewise.
4516 (conj_test_data): Likewise.
4517 (copysign_test_data): Likewise.
4518 (cos_test_data): Likewise.
4519 (cos_tonearest_test_data): Likewise.
4520 (cos_towardzero_test_data): Likewise.
4521 (cos_downward_test_data): Likewise.
4522 (cos_upward_test_data): Likewise.
4523 (cosh_test_data): Likewise.
4524 (cosh_tonearest_test_data): Likewise.
4525 (cosh_towardzero_test_data): Likewise.
4526 (cosh_downward_test_data): Likewise.
4527 (cosh_upward_test_data): Likewise.
4528 (cpow_test_data): Likewise.
4529 (cproj_test_data): Likewise.
4530 (creal_test_data): Likewise.
4531 (csin_test_data): Likewise.
4532 (csinh_test_data): Likewise.
4533 (csqrt_test_data): Likewise.
4534 (ctan_test_data): Likewise.
4535 (ctan_tonearest_test_data): Likewise.
4536 (ctan_towardzero_test_data): Likewise.
4537 (ctan_downward_test_data): Likewise.
4538 (ctan_upward_test_data): Likewise.
4539 (ctanh_test_data): Likewise.
4540 (ctanh_tonearest_test_data): Likewise.
4541 (ctanh_towardzero_test_data): Likewise.
4542 (ctanh_downward_test_data): Likewise.
4543 (ctanh_upward_test_data): Likewise.
4544 (erf_test_data): Likewise.
4545 (erfc_test_data): Likewise.
4546 (exp_test_data): Likewise.
4547 (exp_tonearest_test_data): Likewise.
4548 (exp_towardzero_test_data): Likewise.
4549 (exp_downward_test_data): Likewise.
4550 (exp_upward_test_data): Likewise.
4551 (exp10_test_data): Likewise.
4552 (exp2_test_data): Likewise.
4553 (expm1_test_data): Likewise.
4554 (fabs_test_data): Likewise.
4555 (fdim_test_data): Likewise.
4556 (finite_test_data): Likewise.
4557 (floor_test_data): Likewise.
4558 (fma_test_data): Likewise.
4559 (fma_towardzero_test_data): Likewise.
4560 (fma_downward_test_data): Likewise.
4561 (fma_upward_test_data): Likewise.
4562 (fmax_test_data): Likewise.
4563 (fmin_test_data): Likewise.
4564 (fmod_test_data): Likewise.
4565 (fpclassify_test_data): Likewise.
4566 (frexp_test_data): Likewise.
4567 (gamma_test_data): Likewise.
4568 (hypot_test_data): Likewise.
4569 (ilogb_test_data): Likewise.
4570 (isfinite_test_data): Likewise.
4571 (isgreater_test_data): Likewise.
4572 (isgreaterequal_test_data): Likewise.
4573 (isinf_test_data): Likewise.
4574 (isless_test_data): Likewise.
4575 (islessequal_test_data): Likewise.
4576 (islessgreater_test_data): Likewise.
4577 (isnan_test_data): Likewise.
4578 (isnormal_test_data): Likewise.
4579 (issignaling_test_data): Likewise.
4580 (isunordered_test_data): Likewise.
4581 (j0_test_data): Likewise.
4582 (j1_test_data): Likewise.
4583 (jn_test_data): Likewise.
4584 (ldexp_test_data): Likewise.
4585 (lgamma_test_data): Likewise.
4586 (lrint_test_data): Likewise.
4587 (lrint_tonearest_test_data): Likewise.
4588 (lrint_towardzero_test_data): Likewise.
4589 (lrint_downward_test_data): Likewise.
4590 (lrint_upward_test_data): Likewise.
4591 (llrint_test_data): Likewise.
4592 (llrint_tonearest_test_data): Likewise.
4593 (llrint_towardzero_test_data): Likewise.
4594 (llrint_downward_test_data): Likewise.
4595 (llrint_upward_test_data): Likewise.
4596 (log_test_data): Likewise.
4597 (log10_test_data): Likewise.
4598 (log1p_test_data): Likewise.
4599 (log2_test_data): Likewise.
4600 (logb_test_data): Likewise.
4601 (logb_downward_test_data): Likewise.
4602 (lround_test_data): Likewise.
4603 (llround_test_data): Likewise.
4604 (modf_test_data): Likewise.
4605 (nearbyint_test_data): Likewise.
4606 (nextafter_test_data): Likewise.
4607 (nexttoward_test_data): Likewise.
4608 (pow_test_data): Likewise.
4609 (pow_tonearest_test_data): Likewise.
4610 (pow_towardzero_test_data): Likewise.
4611 (pow_downward_test_data): Likewise.
4612 (pow_upward_test_data): Likewise.
4613 (remainder_test_data): Likewise.
4614 (remainder_tonearest_test_data): Likewise.
4615 (remainder_towardzero_test_data): Likewise.
4616 (remainder_downward_test_data): Likewise.
4617 (remainder_upward_test_data): Likewise.
4618 (remquo_test_data): Likewise.
4619 (rint_test_data): Likewise.
4620 (rint_tonearest_test_data): Likewise.
4621 (rint_towardzero_test_data): Likewise.
4622 (rint_downward_test_data): Likewise.
4623 (rint_upward_test_data): Likewise.
4624 (round_test_data): Likewise.
4625 (scalb_test_data): Likewise.
4626 (scalbn_test_data): Likewise.
4627 (scalbln_test_data): Likewise.
4628 (signbit_test_data): Likewise.
4629 (sin_test_data): Likewise.
4630 (sin_tonearest_test_data): Likewise.
4631 (sin_towardzero_test_data): Likewise.
4632 (sin_downward_test_data): Likewise.
4633 (sin_upward_test_data): Likewise.
4634 (sincos_test_data): Likewise.
4635 (sinh_test_data): Likewise.
4636 (sinh_tonearest_test_data): Likewise.
4637 (sinh_towardzero_test_data): Likewise.
4638 (sinh_downward_test_data): Likewise.
4639 (sinh_upward_test_data): Likewise.
4640 (sqrt_test_data): Likewise.
4641 (tan_test_data): Likewise.
4642 (tan_tonearest_test_data): Likewise.
4643 (tan_towardzero_test_data): Likewise.
4644 (tan_downward_test_data): Likewise.
4645 (tan_upward_test_data): Likewise.
4646 (tanh_test_data): Likewise.
4647 (tgamma_test_data): Likewise.
4648 (trunc_test_data): Likewise.
4649 (y0_test_data): Likewise.
4650 (y1_test_data): Likewise.
4651 (yn_test_data): Likewise.
4652 (significand_test_data): Likewise.
4654 * math/gen-libm-test.pl (@functions): Remove variable.
4655 (generate_testfile): Don't handle START and END lines.
4656 * math/libm-test.inc (START): New macro.
4658 (END_COMPLEX): Likewise.
4659 (acos_test): Use END macro without arguments.
4660 (acos_test_tonearest): Likewise.
4661 (acos_test_towardzero): Likewise.
4662 (acos_test_downward): Likewise.
4663 (acos_test_upward): Likewise.
4664 (acosh_test): Likewise.
4665 (asin_test): Likewise.
4666 (asin_test_tonearest): Likewise.
4667 (asin_test_towardzero): Likewise.
4668 (asin_test_downward): Likewise.
4669 (asin_test_upward): Likewise.
4670 (asinh_test): Likewise.
4671 (atan_test): Likewise.
4672 (atanh_test): Likewise.
4673 (atan2_test): Likewise.
4674 (cabs_test): Likewise.
4675 (cacos_test): Use END_COMPLEX macro without arguments.
4676 (cacosh_test): Likewise.
4677 (carg_test): Use END macro without arguments.
4678 (casin_test): Use END_COMPLEX macro without arguments.
4679 (casinh_test): Likewise.
4680 (catan_test): Likewise.
4681 (catanh_test): Likewise.
4682 (cbrt_test): Use END macro without arguments.
4683 (ccos_test): Use END_COMPLEX macro without arguments.
4684 (ccosh_test): Likewise.
4685 (ceil_test): Use END macro without arguments.
4686 (cexp_test): Use END_COMPLEX macro without arguments.
4687 (cimag_test): Use END macro without arguments.
4688 (clog_test): Use END_COMPLEX macro without arguments.
4689 (clog10_test): Likewise.
4690 (conj_test): Likewise.
4691 (copysign_test): Use END macro without arguments.
4692 (cos_test): Likewise.
4693 (cos_test_tonearest): Likewise.
4694 (cos_test_towardzero): Likewise.
4695 (cos_test_downward): Likewise.
4696 (cos_test_upward): Likewise.
4697 (cosh_test): Likewise.
4698 (cosh_test_tonearest): Likewise.
4699 (cosh_test_towardzero): Likewise.
4700 (cosh_test_downward): Likewise.
4701 (cosh_test_upward): Likewise.
4702 (cpow_test): Use END_COMPLEX macro without arguments.
4703 (cproj_test): Likewise.
4704 (creal_test): Use END macro without arguments.
4705 (csin_test): Use END_COMPLEX macro without arguments.
4706 (csinh_test): Likewise.
4707 (csqrt_test): Likewise.
4708 (ctan_test): Likewise.
4709 (ctan_test_tonearest): Likewise.
4710 (ctan_test_towardzero): Likewise.
4711 (ctan_test_downward): Likewise.
4712 (ctan_test_upward): Likewise.
4713 (ctanh_test): Likewise.
4714 (ctanh_test_tonearest): Likewise.
4715 (ctanh_test_towardzero): Likewise.
4716 (ctanh_test_downward): Likewise.
4717 (ctanh_test_upward): Likewise.
4718 (erf_test): Use END macro without arguments.
4719 (erfc_test): Likewise.
4720 (exp_test): Likewise.
4721 (exp_test_tonearest): Likewise.
4722 (exp_test_towardzero): Likewise.
4723 (exp_test_downward): Likewise.
4724 (exp_test_upward): Likewise.
4725 (exp10_test): Likewise.
4726 (exp2_test): Likewise.
4727 (expm1_test): Likewise.
4728 (fabs_test): Likewise.
4729 (fdim_test): Likewise.
4730 (finite_test): Likewise.
4731 (floor_test): Likewise.
4732 (fma_test): Likewise.
4733 (fma_test_towardzero): Likewise.
4734 (fma_test_downward): Likewise.
4735 (fma_test_upward): Likewise.
4736 (fmax_test): Likewise.
4737 (fmin_test): Likewise.
4738 (fmod_test): Likewise.
4739 (fpclassify_test): Likewise.
4740 (frexp_test): Likewise.
4741 (gamma_test): Likewise.
4742 (hypot_test): Likewise.
4743 (ilogb_test): Likewise.
4744 (isfinite_test): Likewise.
4745 (isgreater_test): Likewise.
4746 (isgreaterequal_test): Likewise.
4747 (isinf_test): Likewise.
4748 (isless_test): Likewise.
4749 (islessequal_test): Likewise.
4750 (islessgreater_test): Likewise.
4751 (isnan_test): Likewise.
4752 (isnormal_test): Likewise.
4753 (issignaling_test): Likewise.
4754 (isunordered_test): Likewise.
4755 (j0_test): Likewise.
4756 (j1_test): Likewise.
4757 (jn_test): Likewise.
4758 (ldexp_test): Likewise.
4759 (lgamma_test): Likewise.
4760 (lrint_test): Likewise.
4761 (lrint_test_tonearest): Likewise.
4762 (lrint_test_towardzero): Likewise.
4763 (lrint_test_downward): Likewise.
4764 (lrint_test_upward): Likewise.
4765 (llrint_test): Likewise.
4766 (llrint_test_tonearest): Likewise.
4767 (llrint_test_towardzero): Likewise.
4768 (llrint_test_downward): Likewise.
4769 (llrint_test_upward): Likewise.
4770 (log_test): Likewise.
4771 (log10_test): Likewise.
4772 (log1p_test): Likewise.
4773 (log2_test): Likewise.
4774 (logb_test): Likewise.
4775 (logb_test_downward): Likewise.
4776 (lround_test): Likewise.
4777 (llround_test): Likewise.
4778 (modf_test): Likewise.
4779 (nearbyint_test): Likewise.
4780 (nextafter_test): Likewise.
4781 (nexttoward_test): Likewise.
4782 (pow_test): Likewise.
4783 (pow_test_tonearest): Likewise.
4784 (pow_test_towardzero): Likewise.
4785 (pow_test_downward): Likewise.
4786 (pow_test_upward): Likewise.
4787 (remainder_test): Likewise.
4788 (remainder_test_tonearest): Likewise.
4789 (remainder_test_towardzero): Likewise.
4790 (remainder_test_downward): Likewise.
4791 (remainder_test_upward): Likewise.
4792 (remquo_test): Likewise.
4793 (rint_test): Likewise.
4794 (rint_test_tonearest): Likewise.
4795 (rint_test_towardzero): Likewise.
4796 (rint_test_downward): Likewise.
4797 (rint_test_upward): Likewise.
4798 (round_test): Likewise.
4799 (scalb_test): Likewise.
4800 (scalbn_test): Likewise.
4801 (scalbln_test): Likewise.
4802 (signbit_test): Likewise.
4803 (sin_test): Likewise.
4804 (sin_test_tonearest): Likewise.
4805 (sin_test_towardzero): Likewise.
4806 (sin_test_downward): Likewise.
4807 (sin_test_upward): Likewise.
4808 (sincos_test): Likewise.
4809 (sinh_test): Likewise.
4810 (sinh_test_tonearest): Likewise.
4811 (sinh_test_towardzero): Likewise.
4812 (sinh_test_downward): Likewise.
4813 (sinh_test_upward): Likewise.
4814 (sqrt_test): Likewise.
4815 (tan_test): Likewise.
4816 (tan_test_tonearest): Likewise.
4817 (tan_test_towardzero): Likewise.
4818 (tan_test_downward): Likewise.
4819 (tan_test_upward): Likewise.
4820 (tanh_test): Likewise.
4821 (tgamma_test): Likewise.
4822 (trunc_test): Likewise.
4823 (y0_test): Likewise.
4824 (y1_test): Likewise.
4825 (yn_test): Likewise.
4826 (significand_test): Likewise.
4828 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4831 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4833 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4836 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4837 __ppc_mdoio and __ppc_mdoom.
4838 * manual/platform.texi: Document new functions __ppc_yield,
4839 __ppc_mdoio and __ppc_mdoom.
4841 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4843 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4844 (main): Mention "tls" pseudo-hwcap is legacy.
4845 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4847 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4849 * math/gen-libm-test.pl (parse_args): Output only string of
4850 arguments as text for test name, not full call or descriptions of
4851 tests for extra outputs.
4852 (generate_testfile): Do not pass function name to parse_args.
4853 Generate this_func variable from START.
4854 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4856 (struct test_ff_f_data): Likewise.
4857 (test_ff_f_data_nexttoward): Likewise.
4858 (struct test_fi_f_data): Likewise.
4859 (struct test_fl_f_data): Likewise.
4860 (struct test_if_f_data): Likewise.
4861 (struct test_fff_f_data): Likewise.
4862 (struct test_c_f_data): Likewise.
4863 (struct test_f_f1_data): Likewise. Remove field extra_name.
4864 (struct test_fF_f1_data): Likewise.
4865 (struct test_ffI_f1_data): Likewise.
4866 (struct test_c_c_data): Rename test_name field to arg_str.
4867 (struct test_cc_c_data): Likewise.
4868 (struct test_f_i_data): Likewise.
4869 (struct test_ff_i_data): Likewise.
4870 (struct test_f_l_data): Likewise.
4871 (struct test_f_L_data): Likewise.
4872 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4874 (COMMON_TEST_SETUP): New macro.
4875 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4876 (COMMON_TEST_CLEANUP): Likewise.
4877 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4878 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4880 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4881 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4883 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4884 (RUN_TEST_fff_f): Take argument string. Call new setup and
4886 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4887 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4889 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4890 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4892 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4893 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4895 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4896 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4898 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4899 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4901 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4902 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4904 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4905 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4907 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4908 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4910 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4911 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4913 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4914 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4916 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4917 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4919 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4920 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4922 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4923 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4925 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4926 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4928 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4929 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4931 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4933 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4935 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4936 to _sifields.sigfault.
4937 (si_addr_lsb): Define new macro.
4938 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4940 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4942 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4945 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4947 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4949 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4952 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4954 * math/gen-libm-test.pl (parse_args): Do not include expected
4955 result in test name.
4956 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4957 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4958 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4959 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4960 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4963 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4965 * benchtests/Makefile: Sort function entries.
4967 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4968 tanh, asinh, acosh, atanh.
4969 * benchtests/acos-inputs: New file.
4970 * benchtests/acosh-inputs: New file.
4971 * benchtests/asin-inputs: New file.
4972 * benchtests/asinh-inputs: New file.
4973 * benchtests/atanh-inputs: New file.
4974 * benchtests/cosh-inputs: New file.
4975 * benchtests/log-inputs: New file.
4976 * benchtests/sinh-inputs: New file.
4977 * benchtests/tanh-inputs: New file.
4979 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4982 * posix/tst-getaddrinfo4.c: New test.
4983 * posix/Makefile (tests): Add it.
4985 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4988 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4989 when no services were used.
4990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4991 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4993 2013-05-21 Andreas Schwab <schwab@suse.de>
4996 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4997 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4999 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5000 redundant variable declarations and reallocation of buffer when
5001 parsing as IPv6 address. Always set NSS status when called from
5002 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5003 buffer too small. Correct computation of needed size.
5004 * nss/Makefile (tests): Add test-digits-dots.
5005 * nss/test-digits-dots.c: New test.
5007 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5009 * benchtests/Makefile: Remove instructions for adding
5011 * benchtests/README: New file to explain how to execute and
5012 enhance the benchmark tests.
5014 2013-05-21 Andreas Schwab <schwab@suse.de>
5017 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5018 * setjmp/tst-sigsetjmp.c: New test.
5020 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5022 * sysdeps/x86_64/memset.S (memset): New implementation.
5023 (__bzero): Likewise.
5024 (__memset_tail): New function.
5026 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5028 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5029 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5030 __memcpy_sse2_unaligned ifunc selection.
5031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5032 Add memcpy-sse2-unaligned.S.
5033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5034 Add: __memcpy_sse2_unaligned.
5036 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5039 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5040 math_force_eval before restoring floating-point envrionment.
5041 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5042 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5044 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5046 (__nearbyintl): Use math_force_eval before restoring
5047 floating-point environment.
5048 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5050 * math/gen-libm-test.pl (special_functions): Remove.
5051 (parse_args): Don't handle TEST_extra. Handle functions with no
5053 * math/libm-test.inc (struct test_sincos_data): Replace with
5054 struct test_fFF_11_data.
5055 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5056 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5057 (sincos_test_data): Change element type to struct
5058 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5059 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5060 RUN_TEST_LOOP_sincos.
5061 * math/README.libm-test: Don't mention special handling of
5062 individual functions.
5063 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5064 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5065 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5066 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5067 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5070 * math/gen-libm-test.pl (get_variable): Remove function.
5071 (parse_args): Don't show pointer parameters to call in test
5072 names. Use "extra output N" in test names for extra outputs
5073 rather than naming variables.
5075 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5078 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5079 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5080 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5082 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5084 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5087 * math/gen-libm-test.pl (@tests): Remove variable.
5089 (new_test): Remove function.
5090 (show_exceptions): New function.
5091 (special_functions): Use show_exceptions instead of new_test.
5092 (parse_args): Likewise.
5093 (generate_testfile): Pass only function name in generated call to
5094 print_max_error or print_complex_max_error.
5095 (get_ulps): Do not handle complex tests specially.
5096 (output_test): Rename to ...
5097 (get_all_ulps_for_test): ... this. Return a string rather than
5098 printing to a file. Require ulps to be present.
5099 (output_ulps): Generate arrays rather than #defines.
5100 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5101 (struct ulp_data): New type.
5102 (BUILD_COMPLEX_ULP): Remove macro.
5103 (compare_ulp_data): New function.
5104 (find_ulps): Likewise.
5105 (find_test_ulps): Likewise.
5106 (find_function_ulps): Likewise.
5107 (find_complex_function_ulps): Likewise.
5108 (print_max_error): Determine allowed ulps using
5110 (print_complex_max_error): Determine allowed ulps using
5111 find_complex_function_ulps.
5112 (check_float_internal): Determine max ulps using find_test_ulps.
5113 (check_float): Do not take max_ulp parameter. Update call to
5114 check_float_internal.
5115 (check_complex): Likewise.
5116 (check_int): Do not take max_ulp parameter.
5117 (check_long): Likewise.
5118 (check_bool): Likewise.
5119 (check_longlong): Likewise.
5120 (struct test_f_f_data): Remove max_ulp field.
5121 (struct test_ff_f_data): Likewise.
5122 (struct test_ff_f_data_nexttoward): Likewise.
5123 (struct test_fi_f_data): Likewise.
5124 (struct test_fl_f_data): Likewise.
5125 (struct test_if_f_data): Likewise.
5126 (struct test_fff_f_data): Likewise.
5127 (struct test_c_f_data): Likewise.
5128 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5129 (struct test_fF_f1_data): Likewise.
5130 (struct test_ffI_f1_data): Likewise.
5131 (struct test_c_c_data): Remove max_ulp field.
5132 (struct test_cc_c_data): Likewise.
5133 (struct test_f_i_data): Likewise.
5134 (struct test_ff_i_data): Likewise.
5135 (struct test_f_l_data): Likewise.
5136 (struct test_f_L_data): Likewise.
5137 (struct test_sincos_data): Likewise.
5138 (RUN_TEST_f_f): Do not handle ulps.
5139 (RUN_TEST_LOOP_f_f): Likewise.
5140 (RUN_TEST_2_f): Likewise.
5141 (RUN_TEST_LOOP_2_f): Likewise.
5142 (RUN_TEST_fff_f): Likewise.
5143 (RUN_TEST_LOOP_fff_f): Likewise.
5144 (RUN_TEST_c_f): Likewise.
5145 (RUN_TEST_LOOP_c_f): Likewise.
5146 (RUN_TEST_f_f1): Likewise.
5147 (RUN_TEST_LOOP_f_f1): Likewise.
5148 (RUN_TEST_fF_f1): Likewise.
5149 (RUN_TEST_LOOP_fF_f1): Likewise.
5150 (RUN_TEST_fI_f1): Likewise.
5151 (RUN_TEST_LOOP_fI_f1): Likewise.
5152 (RUN_TEST_ffI_f1): Likewise.
5153 (RUN_TEST_LOOP_ffI_f1): Likewise.
5154 (RUN_TEST_c_c): Likewise.
5155 (RUN_TEST_LOOP_c_c): Likewise.
5156 (RUN_TEST_cc_c): Likewise.
5157 (RUN_TEST_LOOP_cc_c): Likewise.
5158 (RUN_TEST_f_i): Likewise.
5159 (RUN_TEST_LOOP_f_i): Likewise.
5160 (RUN_TEST_f_i_tg): Likewise.
5161 (RUN_TEST_LOOP_f_i_tg): Likewise.
5162 (RUN_TEST_ff_i_tg): Likewise.
5163 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5164 (RUN_TEST_f_b): Likewise.
5165 (RUN_TEST_LOOP_f_b): Likewise.
5166 (RUN_TEST_f_b_tg): Likewise.
5167 (RUN_TEST_LOOP_f_b_tg): Likewise.
5168 (RUN_TEST_f_l): Likewise.
5169 (RUN_TEST_LOOP_f_l): Likewise.
5170 (RUN_TEST_f_L): Likewise.
5171 (RUN_TEST_LOOP_f_L): Likewise.
5172 (RUN_TEST_sincos): Likewise.
5173 (RUN_TEST_LOOP_sincos): Likewise.
5175 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5179 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5180 main case of finite arguments, set rounding mode to FE_TONEAREST
5181 and discard exceptions.
5182 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5184 (remainder_tonearest_test_data): New variable.
5185 (remainder_test_tonearest): New function.
5186 (remainder_towardzero_test_data): New variable.
5187 (remainder_test_towardzero): New function.
5188 (remainder_downward_test_data): New variable.
5189 (remainder_test_downward): New function.
5190 (remainder_upward_test_data): New variable.
5191 (remainder_test_upward): New function.
5192 (main): Call the new test functions.
5194 * math/libm-test.inc (struct test_f_f1_data): Remove field
5196 (struct test_fF_f1_data): Likewise.
5197 (struct test_ffI_f1_data): Likewise.
5198 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5199 based on value of EXTRA_EXPECTED.
5200 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5201 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5202 EXTRA_VAR based on value of EXTRA_EXPECTED.
5203 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5204 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5205 EXTRA_VAR based on value of EXTRA_EXPECTED.
5206 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5207 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5208 EXTRA_VAR based on value of EXTRA_EXPECTED.
5209 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5210 * math/gen-libm-test.pl (parse_args): Don't output initializers
5211 for extra output values.
5213 * math/libm-test.inc (check_int): Expect result to be exactly
5214 equal to expected value and do not handle ulps.
5215 (check_long): Likewise.
5216 (check_longlong): Likewise.
5218 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5220 (cimag_test_data): Likewise.
5221 (conj_test_data): Likewise.
5222 (copysign_test_data): Likewise.
5223 (cproj_test_data): Likewise.
5224 (creal_test_data): Likewise.
5225 (fabs_test_data): Likewise.
5226 (fdim_test_data): Likewise.
5227 (finite_test_data): Likewise.
5228 (floor_test_data): Likewise.
5229 (fmax_test_data): Likewise.
5230 (fmin_test_data): Likewise.
5231 (fmod_test_data): Likewise.
5232 (fpclassify_test_data): Likewise.
5233 (frexp_test_data): Likewise.
5234 (ilogb_test_data): Likewise.
5235 (isfinite_test_data): Likewise.
5236 (isgreater_test_data): Likewise.
5237 (isgreaterequal_test_data): Likewise.
5238 (isinf_test_data): Likewise.
5239 (isless_test_data): Likewise.
5240 (islessequal_test_data): Likewise.
5241 (islessgreater_test_data): Likewise.
5242 (isnan_test_data): Likewise.
5243 (isnormal_test_data): Likewise.
5244 (issignaling_test_data): Likewise.
5245 (isunordered_test_data): Likewise.
5246 (ldexp_test_data): Likewise.
5247 (lrint_test_data): Likewise.
5248 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5249 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5250 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5251 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5252 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5253 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5255 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5256 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5257 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5258 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5260 (lrint_downward_test_data): Test for "inexact" exceptions.
5261 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5262 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5263 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5265 (lrint_upward_test_data): Test for "inexact" exceptions.
5266 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5268 (llrint_test_data): Test for "inexact" exceptions.
5269 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5270 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5271 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5272 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5273 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5274 (llrint_downward_test_data): Test for "inexact" exceptions.
5275 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5276 (llrint_upward_test_data): Test for "inexact" exceptions.
5277 (logb_test_data): Likewise.
5278 (logb_downward_test_data): Likewise.
5279 (nextafter_test_data): Likewise.
5280 (nexttoward_test_data): Likewise.
5281 (remainder_test_data): Likewise.
5282 (remquo_test_data): Likewise.
5283 (scalbn_test_data): Likewise.
5284 (scalbln_test_data): Likewise.
5285 (signbit_test_data): Likewise.
5286 (sqrt_test_data): Likewise.
5287 (significand_test_data): Likewise.
5289 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5292 * benchtests/bench-modf.c (struct args): Mark arg0 as
5294 * scripts/bench.pl: Mark members of struct args as volatile.
5296 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5299 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5300 negative infinity on POWER6 or lower.
5301 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5303 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5306 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5307 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5308 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5309 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5310 (_FP_SETQNAN): New macro.
5311 (_FP_SETQNAN_SEMIRAW): Likewise.
5312 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5313 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5314 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5315 (FP_EXTEND): Use _FP_FRAC_SNANP.
5316 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5317 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5319 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5321 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5324 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5326 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5327 with DIVIDE_BY_ZERO_EXCEPTION.
5328 (gamma_test_data): Likewise.
5329 (lgamma_test_data): Likewise.
5330 (log_test_data): Likewise.
5331 (log10_test_data): Likewise.
5332 (log2_test_data): Likewise.
5333 (tgamma_test_data): Likewise.
5335 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5336 (acos_test_tonearest): Likewise.
5337 (acos_test_towardzero): Likewise.
5338 (acos_test_downward): Likewise.
5339 (acos_test_upward): Likewise.
5340 (acosh_test): Likewise.
5341 (asin_test): Likewise.
5342 (asin_test_tonearest): Likewise.
5343 (asin_test_towardzero): Likewise.
5344 (asin_test_downward): Likewise.
5345 (asin_test_upward): Likewise.
5346 (asinh_test): Likewise.
5347 (atan_test): Likewise.
5348 (atanh_test): Likewise.
5349 (atan2_test): Likewise.
5350 (cabs_test): Likewise.
5351 (cacos_test): Likewise.
5352 (cacosh_test): Likewise.
5353 (casin_test): Likewise.
5354 (casinh_test): Likewise.
5355 (catan_test): Likewise.
5356 (catanh_test): Likewise.
5357 (cbrt_test): Likewise.
5358 (ccos_test): Likewise.
5359 (ccosh_test): Likewise.
5360 (cexp_test): Likewise.
5361 (clog_test): Likewise.
5362 (clog10_test): Likewise.
5363 (cos_test): Likewise.
5364 (cos_test_tonearest): Likewise.
5365 (cos_test_towardzero): Likewise.
5366 (cos_test_downward): Likewise.
5367 (cos_test_upward): Likewise.
5368 (cosh_test): Likewise.
5369 (cosh_test_tonearest): Likewise.
5370 (cosh_test_towardzero): Likewise.
5371 (cosh_test_downward): Likewise.
5372 (cosh_test_upward): Likewise.
5373 (cpow_test): Likewise.
5374 (csin_test): Likewise.
5375 (csinh_test): Likewise.
5376 (csqrt_test): Likewise.
5377 (ctan_test): Likewise.
5378 (ctan_test_tonearest): Likewise.
5379 (ctan_test_towardzero): Likewise.
5380 (ctan_test_downward): Likewise.
5381 (ctan_test_upward): Likewise.
5382 (ctanh_test): Likewise.
5383 (ctanh_test_tonearest): Likewise.
5384 (ctanh_test_towardzero): Likewise.
5385 (ctanh_test_downward): Likewise.
5386 (ctanh_test_upward): Likewise.
5387 (erf_test): Likewise.
5388 (erfc_test): Likewise.
5389 (exp_test): Likewise.
5390 (exp_test_tonearest): Likewise.
5391 (exp_test_towardzero): Likewise.
5392 (exp_test_downward): Likewise.
5393 (exp_test_upward): Likewise.
5394 (exp10_test): Likewise.
5395 (exp2_test): Likewise.
5396 (expm1_test): Likewise.
5397 (fmod_test): Likewise.
5398 (gamma_test): Likewise.
5399 (hypot_test): Likewise.
5400 (j0_test): Likewise.
5401 (j1_test): Likewise.
5402 (jn_test): Likewise.
5403 (lgamma_test): Likewise.
5404 (log_test): Likewise.
5405 (log10_test): Likewise.
5406 (log1p_test): Likewise.
5407 (log2_test): Likewise.
5408 (logb_test_downward): Likewise.
5409 (pow_test): Likewise.
5410 (pow_test_tonearest): Likewise.
5411 (pow_test_towardzero): Likewise.
5412 (pow_test_downward): Likewise.
5413 (pow_test_upward): Likewise.
5414 (remainder_test): Likewise.
5415 (remquo_test): Likewise.
5416 (sin_test): Likewise.
5417 (sin_test_tonearest): Likewise.
5418 (sin_test_towardzero): Likewise.
5419 (sin_test_downward): Likewise.
5420 (sin_test_upward): Likewise.
5421 (sincos_test): Likewise.
5422 (sinh_test): Likewise.
5423 (sinh_test_tonearest): Likewise.
5424 (sinh_test_towardzero): Likewise.
5425 (sinh_test_downward): Likewise.
5426 (sinh_test_upward): Likewise.
5427 (sqrt_test): Likewise.
5428 (tan_test): Likewise.
5429 (tan_test_tonearest): Likewise.
5430 (tan_test_towardzero): Likewise.
5431 (tan_test_downward): Likewise.
5432 (tan_test_upward): Likewise.
5433 (tanh_test): Likewise.
5434 (tgamma_test): Likewise.
5435 (y0_test): Likewise.
5436 (y1_test): Likewise.
5437 (yn_test): Likewise.
5439 * math/gen-libm-test.pl (adjust_arg): Remove function.
5440 (special_function): Remove argument $in_func. Only handle
5441 generating output for tables of tests, not inside functions.
5442 (parse_args): Likewise.
5443 (generate_testfile): Remove variable $in_func. Update call to
5445 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5446 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5447 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5448 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5449 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5450 (MAX_VALUE_INIT): Rename macro to max_value.
5451 (MIN_VALUE_INIT): Rename macro to min_value.
5452 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5453 (plus_zero): Remove variable.
5454 (minus_zero): Likewise.
5455 (plus_infty): Likewise.
5456 (minus_infty): Likewise.
5457 (qnan_value): Likewise.
5458 (max_value): Likewise.
5459 (min_value): Likewise.
5460 (min_subnorm_value): Likewise.
5462 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5464 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5465 uint64_t or uint32_t usage.
5466 * crypt/sha256-block.c: Likewise.
5467 * crypt/sha256-crypt.c: Likewise.
5468 * crypt/sha256.c: Likewise.
5469 * crypt/sha512-block.c: Likewise.
5470 * crypt/sha512-crypt.c: Likewise.
5471 * crypt/sha512.c: Likewise.
5472 * debug/backtrace-tst.c: Likewise.
5473 * debug/pcprofiledump.c: Likewise.
5474 * elf/cache.c: Likewise.
5475 * elf/dl-cache.c: Likewise.
5476 * elf/dl-misc.c: Likewise.
5477 * elf/dl-profile.c: Likewise.
5478 * elf/dl-support.c: Likewise.
5479 * elf/ldconfig.c: Likewise.
5480 * elf/sprof.c: Likewise.
5481 * iconv/dummy-repertoire.c: Likewise.
5482 * iconv/iconv_charmap.c: Likewise.
5483 * iconv/skeleton.c: Likewise.
5484 * iconvdata/8bit-generic.c: Likewise.
5485 * iconvdata/cp737.h: Likewise.
5486 * iconvdata/cp775.h: Likewise.
5487 * iconvdata/ibm1008.h: Likewise.
5488 * iconvdata/ibm1025.h: Likewise.
5489 * iconvdata/ibm1046.h: Likewise.
5490 * iconvdata/ibm1097.h: Likewise.
5491 * iconvdata/ibm1112.h: Likewise.
5492 * iconvdata/ibm1122.h: Likewise.
5493 * iconvdata/ibm1123.h: Likewise.
5494 * iconvdata/ibm1124.h: Likewise.
5495 * iconvdata/ibm1129.h: Likewise.
5496 * iconvdata/ibm1130.h: Likewise.
5497 * iconvdata/ibm1132.h: Likewise.
5498 * iconvdata/ibm1133.h: Likewise.
5499 * iconvdata/ibm1137.h: Likewise.
5500 * iconvdata/ibm1140.h: Likewise.
5501 * iconvdata/ibm1141.h: Likewise.
5502 * iconvdata/ibm1142.h: Likewise.
5503 * iconvdata/ibm1143.h: Likewise.
5504 * iconvdata/ibm1144.h: Likewise.
5505 * iconvdata/ibm1145.h: Likewise.
5506 * iconvdata/ibm1146.h: Likewise.
5507 * iconvdata/ibm1147.h: Likewise.
5508 * iconvdata/ibm1148.h: Likewise.
5509 * iconvdata/ibm1149.h: Likewise.
5510 * iconvdata/ibm1153.h: Likewise.
5511 * iconvdata/ibm1154.h: Likewise.
5512 * iconvdata/ibm1155.h: Likewise.
5513 * iconvdata/ibm1156.h: Likewise.
5514 * iconvdata/ibm1157.h: Likewise.
5515 * iconvdata/ibm1158.h: Likewise.
5516 * iconvdata/ibm1160.h: Likewise.
5517 * iconvdata/ibm1161.h: Likewise.
5518 * iconvdata/ibm1162.h: Likewise.
5519 * iconvdata/ibm1163.h: Likewise.
5520 * iconvdata/ibm1164.h: Likewise.
5521 * iconvdata/ibm1166.h: Likewise.
5522 * iconvdata/ibm1167.h: Likewise.
5523 * iconvdata/ibm12712.h: Likewise.
5524 * iconvdata/ibm1390.h: Likewise.
5525 * iconvdata/ibm1399.h: Likewise.
5526 * iconvdata/ibm16804.h: Likewise.
5527 * iconvdata/ibm4517.h: Likewise.
5528 * iconvdata/ibm4899.h: Likewise.
5529 * iconvdata/ibm4909.h: Likewise.
5530 * iconvdata/ibm4971.h: Likewise.
5531 * iconvdata/ibm5347.h: Likewise.
5532 * iconvdata/ibm803.h: Likewise.
5533 * iconvdata/ibm856.h: Likewise.
5534 * iconvdata/ibm901.h: Likewise.
5535 * iconvdata/ibm902.h: Likewise.
5536 * iconvdata/ibm9030.h: Likewise.
5537 * iconvdata/ibm9066.h: Likewise.
5538 * iconvdata/ibm921.h: Likewise.
5539 * iconvdata/ibm922.h: Likewise.
5540 * iconvdata/ibm9448.h: Likewise.
5541 * iconvdata/isiri-3342.h: Likewise.
5542 * iconvdata/jis0201.h: Likewise.
5543 * include/link.h: Likewise.
5544 * include/netdb.h: Likewise.
5545 * inet/check_native.c: Likewise.
5546 * inet/check_pf.c: Likewise.
5547 * inet/getipv4sourcefilter.c: Likewise.
5548 * inet/getnameinfo.c: Likewise.
5549 * inet/getsourcefilter.c: Likewise.
5550 * inet/htonl.c: Likewise.
5551 * inet/setipv4sourcefilter.c: Likewise.
5552 * inet/setsourcefilter.c: Likewise.
5553 * inet/test-inet6_opt.c: Likewise.
5554 * inet/tst-network.c: Likewise.
5555 * locale/C-collate.c: Likewise.
5556 * locale/C-ctype.c: Likewise.
5557 * locale/C-time.c: Likewise.
5558 * locale/C-translit.h: Likewise.
5559 * locale/loadarchive.c: Likewise.
5560 * locale/programs/3level.h: Likewise.
5561 * locale/programs/charmap.c: Likewise.
5562 * locale/programs/charmap.h: Likewise.
5563 * locale/programs/ld-address.c: Likewise.
5564 * locale/programs/ld-collate.c: Likewise.
5565 * locale/programs/ld-ctype.c: Likewise.
5566 * locale/programs/ld-identification.c: Likewise.
5567 * locale/programs/ld-measurement.c: Likewise.
5568 * locale/programs/ld-messages.c: Likewise.
5569 * locale/programs/ld-monetary.c: Likewise.
5570 * locale/programs/ld-name.c: Likewise.
5571 * locale/programs/ld-numeric.c: Likewise.
5572 * locale/programs/ld-paper.c: Likewise.
5573 * locale/programs/ld-telephone.c: Likewise.
5574 * locale/programs/ld-time.c: Likewise.
5575 * locale/programs/linereader.c: Likewise.
5576 * locale/programs/locale.c: Likewise.
5577 * locale/programs/locarchive.c: Likewise.
5578 * locale/programs/locfile.h: Likewise.
5579 * locale/programs/repertoire.c: Likewise.
5580 * locale/programs/simple-hash.c: Likewise.
5581 * locale/programs/simple-hash.h: Likewise.
5582 * malloc/memusage.c: Likewise.
5583 * malloc/memusagestat.c: Likewise.
5584 * nis/nis_defaults.c: Likewise.
5585 * nis/nis_hash.c: Likewise.
5586 * nis/nis_print.c: Likewise.
5587 * nis/nis_xdr.c: Likewise.
5588 * nscd/connections.c: Likewise.
5589 * nscd/hstcache.c: Likewise.
5590 * nscd/nscd_gethst_r.c: Likewise.
5591 * nscd/nscd_getserv_r.c: Likewise.
5592 * nscd/nscd_helper.c: Likewise.
5593 * nscd/servicescache.c: Likewise.
5594 * nss/makedb.c: Likewise.
5595 * nss/nss_db/db-XXX.c: Likewise.
5596 * nss/nss_db/db-initgroups.c: Likewise.
5597 * nss/nss_db/db-netgrp.c: Likewise.
5598 * nss/nss_files/files-network.c: Likewise.
5599 * nss/nss_files/files-parse.c: Likewise.
5600 * posix/bug-regex5.c: Likewise.
5601 * posix/fnmatch_loop.c: Likewise.
5602 * posix/regcomp.c: Likewise.
5603 * posix/regexec.c: Likewise.
5604 * posix/tst-rfc3484-2.c: Likewise.
5605 * posix/tst-rfc3484-3.c: Likewise.
5606 * posix/tst-rfc3484.c: Likewise.
5607 * resolv/nss_dns/dns-canon.c: Likewise.
5608 * resolv/nss_dns/dns-network.c: Likewise.
5609 * resolv/res_init.c: Likewise.
5610 * resolv/res_mkquery.c: Likewise.
5611 * resolv/tst-aton.c: Likewise.
5612 * stdlib/cxa_atexit.c: Likewise.
5613 * stdlib/cxa_finalize.c: Likewise.
5614 * stdlib/gen-fpioconst.c: Likewise.
5615 * stdlib/strtol_l.c: Likewise.
5616 * string/tst-endian.c: Likewise.
5617 * sunrpc/auth_des.c: Likewise.
5618 * sunrpc/clnt_udp.c: Likewise.
5619 * sunrpc/rtime.c: Likewise.
5620 * sunrpc/svcauth_des.c: Likewise.
5621 * sunrpc/xdr.c: Likewise.
5622 * sunrpc/xdr_intXX_t.c: Likewise.
5623 * sunrpc/xdr_rec.c: Likewise.
5624 * sysdeps/generic/ldconfig.h: Likewise.
5625 * sysdeps/generic/ldsodefs.h: Likewise.
5626 * sysdeps/generic/memusage.h: Likewise.
5627 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5630 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5635 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5636 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5637 * sysdeps/posix/getaddrinfo.c: Likewise.
5638 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5639 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5640 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5641 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5642 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5643 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5644 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5645 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5646 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5647 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5648 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5649 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5650 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5651 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5652 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5653 * sysdeps/x86_64/dl-tls.h: Likewise.
5654 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5655 * time/alt_digit.c: Likewise.
5656 * time/era.c: Likewise.
5657 * wcsmbs/tst-c16c32-1.c: Likewise.
5659 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5661 * math/libm-test.inc (struct test_sincos_data): New type.
5662 (RUN_TEST_LOOP_sincos): New macro.
5663 (sincos_test_data): New variable.
5664 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5666 2013-05-16 Richard Henderson <rth@redhat.com>
5668 * math/atest-exp2.c (LIMB64): New macro.
5669 (CONSTSZ): New macro.
5670 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5672 (print_mpn_fp): ... to function scope.
5673 (read_mpn_hex): Remove.
5675 (exp2_mpn): Use mp_log2.
5676 (main): Use mp_exp1.
5678 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5680 * math/libm-test.inc: Remove comment about not testing "inexact"
5682 (INEXACT_EXCEPTION): New macro.
5683 (NO_INEXACT_EXCEPTION): Likewise.
5684 (INVALID_EXCEPTION_OK): Update value.
5685 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5686 (OVERFLOW_EXCEPTION_OK): Likewise.
5687 (UNDERFLOW_EXCEPTION_OK): Likewise.
5688 (IGNORE_ZERO_INF_SIGN): Likewise.
5689 (ERRNO_UNCHANGED): Likewise.
5690 (ERRNO_EDOM): Likewise.
5691 (ERRNO_ERANGE): Likewise.
5692 (test_exceptions): Handle testing "inexact" exceptions.
5693 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5694 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5695 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5696 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5698 (rint_towardzero_test_data): Likewise.
5699 (rint_downward_test_data): Likewise.
5700 (rint_upward_test_data): Likewise.
5702 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5703 with OVERFLOW_EXCEPTION.
5704 (exp10_test_data): Likewise.
5705 (exp2_test_data): Likewise.
5706 (expm1_test_data): Likewise.
5707 (lgamma_test_data): Likewise.
5708 (pow_test_data): Likewise.
5709 (tgamma_test_data): Likewise.
5710 (yn_test_data): Remove duplicate test of overflow.
5712 * math/libm-test.inc (struct test_cc_c_data): New type.
5713 (RUN_TEST_LOOP_cc_c): New macro.
5714 (cpow_test_data): New variable.
5715 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5717 * math/libm-test.inc (struct test_f_L_data): New type.
5718 (RUN_TEST_LOOP_f_L): New macro.
5719 (llrint_test_data): New variable.
5720 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5721 (llrint_tonearest_test_data): New variable.
5722 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5723 (llrint_towardzero_test_data): New variable.
5724 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5725 (llrint_downward_test_data): New variable.
5726 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5727 (llrint_upward_test_data): New variable.
5728 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5729 (llround_test_data): New variable.
5730 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5732 2013-05-13 Peter Collingbourne <pcc@google.com>
5734 * math/atest-exp2.c (get_log2): Remove const attribute.
5736 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5738 * math/libm-test.inc (struct test_f_l_data): New type.
5739 (RUN_TEST_LOOP_f_l): New macro.
5740 (lrint_test_data): New variable.
5741 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5742 (lrint_tonearest_test_data): New variable.
5743 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5744 (lrint_towardzero_test_data): New variable.
5745 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5746 (lrint_downward_test_data): New variable.
5747 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5748 (lrint_upward_test_data): New variable.
5749 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5750 (lround_test_data): New variable.
5751 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5753 2013-05-15 Peter Collingbourne <pcc@google.com>
5755 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5756 (EXTRACT_WORDS64) Use where appropriate.
5757 (INSERT_WORDS64) Likewise.
5759 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5760 constraints with x constraints.
5761 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5763 * malloc/obstack.c (_obstack_compat): Add initializer.
5765 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5768 si_trapno and add si_addr_lsb to _sifields.sigfault.
5769 (si_trapno): Remove macro.
5770 (si_addr_lsb): Define new macro.
5771 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5773 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5775 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5776 instead of TEST_f_l.
5777 (llrint_test_tonearest): Likewise.
5778 (llrint_test_towardzero): Likewise.
5779 (llrint_test_downward): Likewise.
5780 (llrint_test_upward): Likewise.
5781 (llround_test): Likewise.
5783 * math/libm-test.inc (struct test_f_i_data): Add comment.
5784 (RUN_TEST_LOOP_f_b): New macro.
5785 (RUN_TEST_LOOP_f_b_tg): Likewise.
5786 (finite_test_data): New variable.
5787 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5788 (isfinite_test_data): New variable.
5789 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5790 (isinf_test_data): New variable.
5791 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5792 (isnan_test_data): New variable.
5793 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5794 (isnormal_test_data): New variable.
5795 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5796 (issignaling_test_data): New variable.
5797 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5798 (signbit_test_data): New variable.
5799 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5801 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5802 with INVALID_EXCEPTION.
5803 (acosh_test_data): Likewise.
5804 (asin_test_data): Likewise.
5805 (atanh_test_data): Likewise.
5806 (fmod_test_data): Likewise.
5807 (log_test_data): Likewise.
5808 (log10_test_data): Likewise.
5809 (log2_test_data): Likewise.
5810 (pow_test_data): Likewise.
5811 (sqrt_test_data): Likewise.
5812 (y0_test_data): Likewise.
5813 (y1_test_data): Likewise.
5814 (yn_test_data): Likewise.
5816 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5819 * math/libm-test.inc (struct test_ff_i_data): New type.
5820 (RUN_TEST_LOOP_ff_i_tg): New macro.
5821 (isgreater_test_data): New variable.
5822 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5823 (isgreaterequal_test_data): New variable.
5824 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5825 (isless_test_data): New variable.
5826 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5827 (islessequal_test_data): New variable.
5828 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5829 (islessgreater_test_data): New variable.
5830 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5831 (isunordered_test_data): New variable.
5832 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5834 2013-05-14 David S. Miller <davem@davemloft.net>
5836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5838 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5840 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5842 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5844 (struct test_f_i_data): Change type of max_ulp to int.
5846 * math/libm-test.inc (test_ffI_f1_data): New type.
5847 (RUN_TEST_LOOP_ffI_f1): New macro.
5848 (remquo_test_data): New variable.
5849 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5851 * setjmp/tst-setjmp-fp.c: New file.
5852 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5853 (link-libm): New variable.
5854 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5856 * math/libm-test.inc (struct test_f_i_data): New type.
5857 (RUN_TEST_LOOP_f_i): New macro.
5858 (RUN_TEST_LOOP_f_i_tg): Likewise.
5859 (fpclassify_test_data): New variable.
5860 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5861 (ilogb_test_data): New variable.
5862 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5864 * math/libm-test.inc (scalbln_test): Correct function name in END
5867 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5868 (RUN_TEST_LOOP_fI_f1): New macro.
5869 (frexp_test_data): New variable.
5870 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5872 * math/libm-test.inc (struct test_fF_f1_data): New type.
5873 (RUN_TEST_LOOP_fF_f1): New macro.
5874 (modf_test_data): New variable.
5875 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5877 * math/libm-test.inc (struct test_f_f1_data): New type.
5878 (RUN_TEST_LOOP_f_f1): New macro.
5879 (gamma_test_data): New variable.
5880 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5881 (lgamma_test_data): New variable.
5882 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5884 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5886 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5887 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5888 (main): Comment "tls" pseudo-hwcap.
5890 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5892 * math/libm-test.inc (struct test_fl_f_data): New type.
5893 (RUN_TEST_LOOP_fl_f): New variable.
5894 (scalbln_test_data): New variable.
5895 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5897 * math/libm-test.inc (struct test_fi_f_data): New type.
5898 (RUN_TEST_LOOP_fi_f): New macro.
5899 (ldexp_test_data): New variable.
5900 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5901 (scalbn_test_data): New variable.
5902 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5904 * math/libm-test.inc (struct test_c_f_data): New type.
5905 (RUN_TEST_LOOP_c_f): New macro.
5906 (cabs_test_data): New variable.
5907 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5908 (carg_test_data): New variable.
5909 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5910 (cimag_test_data): New variable.
5911 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5912 (creal_test_data): New variable.
5913 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5915 * math/libm-test.inc (struct test_if_f_data): New type.
5916 (RUN_TEST_LOOP_if_f): New macro.
5917 (jn_test_data): New variable.
5918 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5919 (yn_test_data): New variable.
5920 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5922 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5924 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5926 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5927 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5929 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5931 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5932 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5933 (bench-deps): Add bench-timing.h.
5934 * benchtests-bench-skeleton.c: Include bench-timing.h.
5935 (main): Use TIMING_* macros instead of clock_gettime.
5936 * benchtests/bench-timing.h: New file.
5939 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5940 Renamed from _LIB_VERSION.
5941 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5943 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5945 * math/libm-test.inc (struct test_fff_f_data): New type.
5946 (RUN_TEST_LOOP_fff_f): New macro.
5947 (fma_test_data): New variable.
5948 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5949 (fma_towardzero_test_data): New variable.
5950 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5951 (fma_downward_test_data): New variable.
5952 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5953 (fma_upward_test_data): New variable.
5954 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5956 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5957 (struct test_c_c_data): New type.
5958 (RUN_TEST_LOOP_c_c): New macro.
5959 (cacos_test_data): New variable.
5960 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5961 (cacosh_test_data): New variable.
5962 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5963 (casin_test_data): New variable.
5964 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5965 (casinh_test_data): New variable.
5966 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5967 (catan_test_data): New variable.
5968 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5969 (catanh_test_data): New variable.
5970 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5971 (ccos_test_data): New variable.
5972 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5973 (ccosh_test_data): New variable.
5974 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5975 (cexp_test_data): New variable.
5976 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5977 (clog_test_data): New variable.
5978 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5979 (clog10_test_data): New variable.
5980 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5981 (conj_test_data): New variable.
5982 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5983 (cproj_test_data): New variable.
5984 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5985 (csin_test_data): New variable.
5986 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5987 (csinh_test_data): New variable.
5988 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5989 (csqrt_test_data): New variable.
5990 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5991 (ctan_test_data): New variable.
5992 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5993 (ctan_tonearest_test_data): New variable.
5994 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5995 (ctan_towardzero_test_data): New variable.
5996 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5997 (ctan_downward_test_data): New variable.
5998 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5999 (ctan_upward_test_data): New variable.
6000 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6001 (ctanh_test_data): New variable.
6002 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6003 (ctanh_tonearest_test_data): New variable.
6004 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6005 (ctanh_towardzero_test_data): New variable.
6006 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6007 (ctanh_downward_test_data): New variable.
6008 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6009 (ctanh_upward_test_data): New variable.
6010 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6011 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6014 * math/libm-test.inc (struct test_ff_f_data): New type.
6015 (struct test_ff_f_data_nexttoward): Likewise.
6016 (RUN_TEST_LOOP_2_f): New macro.
6017 (RUN_TEST_LOOP_ff_f): Likewise.
6018 (atan2_test_data): New variable.
6019 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6020 (copysign_test_data): New variable.
6021 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6022 (fdim_test_data): New variable.
6023 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6024 (fmax_test_data): New variable.
6025 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6026 (fmin_test_data): New variable.
6027 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6028 (fmod_test_data): New variable.
6029 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6030 (hypot_test_data): New variable.
6031 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6032 (nextafter_test_data): New variable.
6033 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6034 (nexttoward_test_data): New variable.
6035 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6036 (pow_test_data): New variable.
6037 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6038 (pow_tonearest_test_data): New variable.
6039 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6040 (pow_towardzero_test_data): New variable.
6041 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6042 (pow_downward_test_data): New variable.
6043 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6044 (pow_upward_test_data): New variable.
6045 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6046 (remainder_test_data): New variable.
6047 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6048 (scalb_test_data): New variable.
6049 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6050 * sysdeps/i386/fpu/libm-test-ulps: Update.
6052 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6054 * math/libm-test.inc (fma_test): Use max_value instead of local
6056 (nextafter_test): Likewise.
6058 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6059 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6060 (acos_downward_test_data): New variable.
6061 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6062 (acos_upward_test_data): New variable.
6063 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6064 (acosh_test_data): New variable.
6065 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6066 (asin_test_data): New variable.
6067 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6068 (asin_tonearest_test_data): New variable.
6069 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6070 (asin_towardzero_test_data): New variable.
6071 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6072 (asin_downward_test_data): New variable.
6073 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6074 (asin_upward_test_data): New variable.
6075 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6076 (asinh_test_data): New variable.
6077 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6078 (atan_test_data): New variable.
6079 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6080 (atanh_test_data): New variable.
6081 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6082 (cbrt_test_data): New variable.
6083 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6084 (ceil_test_data): New variable.
6085 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6086 (cos_test_data): New variable.
6087 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6088 (cos_tonearest_test_data): New variable.
6089 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6090 (cos_towardzero_test_data): New variable.
6091 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6092 (cos_downward_test_data): New variable.
6093 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6094 (cos_upward_test_data): New variable.
6095 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6096 (cosh_test_data): New variable.
6097 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6098 (cosh_tonearest_test_data): New variable.
6099 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6100 (cosh_towardzero_test_data): New variable.
6101 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6102 (cosh_downward_test_data): New variable.
6103 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6104 (cosh_upward_test_data): New variable.
6105 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6106 (erf_test_data): New variable.
6107 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6108 (erfc_test_data): New variable.
6109 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6110 (exp_test_data): New variable.
6111 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6112 (exp_tonearest_test_data): New variable.
6113 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6114 (exp_towardzero_test_data): New variable.
6115 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6116 (exp_downward_test_data): New variable.
6117 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6118 (exp_upward_test_data): New variable.
6119 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6120 (exp10_test_data): New variable.
6121 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6122 (exp2_test_data): New variable.
6123 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6124 (expm1_test_data): New variable.
6125 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6126 (fabs_test_data): New variable.
6127 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6128 (floor_test_data): New variable.
6129 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6130 (j0_test_data): New variable.
6131 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6132 (j1_test_data): New variable.
6133 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6134 (log_test_data): New variable.
6135 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6136 (log10_test_data): New variable.
6137 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6138 (log1p_test_data): New variable.
6139 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6140 (log2_test_data): New variable.
6141 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6142 (logb_test_data): New variable.
6143 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6144 (logb_downward_test_data): New variable.
6145 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6146 (nearbyint_test_data): New variable.
6147 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6148 (rint_test_data): New variable.
6149 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6150 (rint_tonearest_test_data): New variable.
6151 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6152 (rint_towardzero_test_data): New variable.
6153 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6154 (rint_downward_test_data): New variable.
6155 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6156 (rint_upward_test_data): New variable.
6157 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6158 (round_test_data): New variable.
6159 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6160 (sin_test_data): New variable.
6161 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6162 (sin_tonearest_test_data): New variable.
6163 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6164 (sin_towardzero_test_data): New variable.
6165 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6166 (sin_downward_test_data): New variable.
6167 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6168 (sin_upward_test_data): New variable.
6169 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6170 (sinh_test_data): New variable.
6171 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6172 (sinh_tonearest_test_data): New variable.
6173 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6174 (sinh_towardzero_test_data): New variable.
6175 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6176 (sinh_downward_test_data): New variable.
6177 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6178 (sinh_upward_test_data): New variable.
6179 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6180 (sqrt_test_data): New variable.
6181 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6182 (tan_test_data): New variable.
6183 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6184 (tan_tonearest_test_data): New variable.
6185 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6186 (tan_towardzero_test_data): New variable.
6187 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6188 (tan_downward_test_data): New variable.
6189 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6190 (tan_upward_test_data): New variable.
6191 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6192 (tanh_test_data): New variable.
6193 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6194 (tgamma_test_data): New variable.
6195 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6196 (trunc_test_data): New variable.
6197 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6198 (y0_test_data): New variable.
6199 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6200 (y1_test_data): New variable.
6201 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6202 (significand_test_data): New variable.
6203 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6205 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6208 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6210 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6212 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6214 2013-05-10 Andreas Jaeger <aj@suse.de>
6217 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6218 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6220 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6222 * math/gen-libm-test.pl (adjust_arg): New function.
6223 (special_functions): Handle generating output in both functions
6225 (parse_args): Likewise.
6226 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6227 $in_func argument to parse_args.
6228 * math/libm-test.inc (struct test_f_f_data): New type.
6229 (IF_ROUND_INIT_): New macro.
6230 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6231 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6232 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6233 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6234 (ROUND_RESTORE_): Likewise.
6235 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6236 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6237 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6238 (ROUND_RESTORE_FE_UPWARD): Likewise.
6239 (RUN_TEST_LOOP_f_f): New macro.
6240 (acos_test_data): New variable.
6241 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6242 (acos_tonearest_test_data): New variable.
6243 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6245 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6247 * benchtests/bench-skeleton.c (startup): Fix coding style.
6249 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6252 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6253 negative infinity argument.
6254 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6255 negative infinity argument.
6256 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6257 negative infinity argument.
6258 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6261 2013-05-10 Florian Weimer <fweimer@redhat.com>
6263 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6264 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6265 * iconv/iconv_prog.c (main): Likewise.
6266 * locale/programs/charmap-dir.c (charmap_readdir)
6267 (fopen_uncompressed): Likewise.
6268 * locale/programs/locfile.c (siblings_uncached)
6269 (write_locale_data): Use lstat64 instead of lstat.
6270 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6273 2013-05-10 Andreas Jaeger <aj@suse.de>
6276 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6280 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6282 * elf/dl-close.c (_dl_close_worker): Add comments.
6284 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6287 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6289 (__ieee754_rem_pio2l): Update comments.
6292 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6294 (__ieee754_rem_pio2l): Update comments.
6296 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6297 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6299 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6302 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6303 (M_PI_34_LOG10El): Likewise.
6304 (M_PI2_LOG10El): Likewise.
6305 (M_PI4_LOG10El): Likewise.
6306 (M_PI_LOG10El): Likewise.
6308 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6312 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6314 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6315 (MINUS_ZERO_INIT): Likewise.
6316 (PLUS_INFTY_INIT): Likewise.
6317 (MINUS_INFTY_INIT): Likewise.
6318 (QNAN_VALUE_INIT): Likewise.
6319 (MAX_VALUE_INIT): Likewise.
6320 (MIN_VALUE_INIT): Likewise.
6321 (MIN_SUBNORM_VALUE_INIT): Likewise.
6322 (plus_zero): Initialize with PLUS_ZERO_INIT.
6323 (minus_zero): Initialize with MINUS_ZERO_INIT.
6324 (plus_infty): Initialize with PLUS_INFTY_INIT.
6325 (minus_infty): Initialize with MINUS_INFTY_INIT.
6326 (qnan_value): Initialize with QNAN_VALUE_INIT.
6327 (max_value): Initialize with MAX_VALUE_INIT.
6328 (min_value): Initialize with MIN_VALUE_INIT.
6329 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6331 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6332 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6333 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6334 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6336 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6337 (RUN_TEST_2_f): Likewise.
6338 (RUN_TEST_ff_f): Likewise.
6339 (RUN_TEST_fi_f): Likewise.
6340 (RUN_TEST_fl_f): Likewise.
6341 (RUN_TEST_fff_f): Likewise.
6342 (RUN_TEST_c_f): Likewise.
6343 (RUN_TEST_f_f1): Likewise.
6344 (RUN_TEST_fF_f1): Likewise.
6345 (RUN_TEST_fI_f1): Likewise.
6346 (RUN_TEST_ffI_f1): Likewise.
6347 (RUN_TEST_c_c): Likewise.
6348 (RUN_TEST_cc_c): Likewise.
6349 (RUN_TEST_f_i): Likewise.
6350 (RUN_TEST_f_i_tg): Likewise.
6351 (RUN_TEST_ff_i_tg): Likewise.
6352 (RUN_TEST_f_b): Likewise.
6353 (RUN_TEST_f_b_tg): Likewise.
6354 (RUN_TEST_f_l): Likewise.
6355 (RUN_TEST_f_L): Likewise.
6356 (RUN_TEST_sincos): Likewise.
6357 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6358 whether to show exceptions. Do not include ");\n" in return
6360 (special_functions): Output call to RUN_TEST_sincos instead of
6361 check_float calls. Update calls to new_test.
6362 (parse_args): Output call to single RUN_TEST_* macro instead of
6363 check_* calls and other assignments. Update calls to new_test.
6369 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6370 input to result for tgamma overflow.
6371 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6372 (gamma_coeff): New variable.
6373 (NCOEFF): New macro.
6374 (gamma_positive): New function.
6375 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6376 underflow here. Use gamma_positive instead of exp (lgamma) for
6378 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6379 (gamma_coeff): New variable.
6380 (NCOEFF): New macro.
6381 (gammaf_positive): New function.
6382 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6383 underflow here. Use gamma_positive instead of exp (lgamma) for
6385 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6386 (gamma_coeff): New variable.
6387 (NCOEFF): New macro.
6388 (gammal_positive): New function.
6389 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6390 underflow here. Use gamma_positive instead of exp (lgamma) for
6392 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6393 (gamma_coeff): New variable.
6394 (NCOEFF): New macro.
6395 (gammal_positive): New function.
6396 (__ieee754_gammal_r): Handle positive infinity, overflow and
6397 underflow here. Handle NaN the same as positive infinity. Remove
6398 check x < 0xffffffff for negative integers. Use gamma_positive
6399 instead of exp (lgamma) for other arguments.
6400 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6401 (gamma_coeff): New variable.
6402 (NCOEFF): New macro.
6403 (gammal_positive): New function.
6404 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6405 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6409 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6410 * sysdeps/generic/math_private.h (__gamma_productf): New
6412 (__gamma_product): Likewise.
6413 (__gamma_productl): Likewise.
6414 * math/Makefile (libm-calls): Add gamma_product.
6415 * math/libm-test.inc (tgamma_test): Add more tests.
6416 * sysdeps/i386/fpu/libm-test-ulps: Update.
6417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6419 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6421 * benchtests/bench-skeleton.c (main): Preheat CPU.
6423 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6425 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6427 2013-05-07 Roland McGrath <roland@hack.frob.com>
6429 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6430 and _dl_skip_args_internal.
6432 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6434 * manual/message.texi (Message Translation): Talk about users.
6435 Message to key mapping impacts design.
6437 2013-05-06 Roland McGrath <roland@hack.frob.com>
6439 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6441 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6443 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6444 * sysdeps/wordsize-64/glob64.c: ... here.
6446 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6447 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6450 * debug/getlogin_r_chk.c: Moved to ...
6451 * login/getlogin_r_chk.c: ... here.
6452 * debug/Makefile (routines): Move getlogin_r_chk to ...
6453 * login/Makefile (routines): ... here.
6454 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6455 * login/Versions (libc: GLIBC_2.4): ... here.
6457 * io/poll.c (__poll): Renamed from poll.
6458 Add libc_hidden_def.
6459 (poll): Define as weak alias.
6461 * debug/ptsname_r_chk.c: Moved to ...
6462 * login/ptsname_r_chk.c: ... here.
6463 * debug/Makefile (routines): Move ptsname_r_chk to ...
6464 * login/Makefile (routines): ... here.
6465 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6466 * login/Versions (libc: GLIBC_2.4): ... here.
6468 * posix/getlogin.c: Moved to ...
6469 * login/getlogin.c: ... here.
6470 * posix/getlogin_r.c: Moved to ...
6471 * login/getlogin_r.c: ... here.
6472 * posix/getlogin_r.c: Moved to ...
6473 * login/getlogin_r.c: ... here.
6474 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6475 * login/Makefile (routines): ... here.
6476 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6477 * login/Versions (libc: GLIBC_2.0): ... here.
6479 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6480 (setrlimit): Define as weak alias.
6482 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6483 Call __ names for open, ftruncate, and close.
6484 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6485 (truncate): Define as weak alias.
6487 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6489 * math/gen-libm-test.pl (parse_args): Initialize x before each
6490 test of frexp, modf and remquo.
6492 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6495 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6499 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6501 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6503 2013-05-06 Roland McGrath <roland@hack.frob.com>
6505 * elf/dl-writev.h: New file.
6506 * elf/dl-misc.c: Include it.
6507 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6508 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6510 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6512 * math/libm-test.inc (noXFails): Remove variable.
6513 (noXPasses): Likewise.
6514 (BUILD_COMPLEX_INT): Remove macro.
6515 (print_screen): Remove xfail argument.
6516 (print_screen_max_error): Likewise.
6517 (update_stats): Likewise.
6518 (print_max_error): Likewise. Update calls to other affected
6520 (print_complex_max_error): Likewise.
6521 (test_single_exception): Update calls to print_screen.
6522 (test_single_errno): Likewise.
6523 (check_float_internal): Remove xfail argument. Update calls to
6524 other affected functions.
6525 (check_float): Likewise.
6526 (check_complex): Likewise.
6527 (check_int): Likewise.
6528 (check_long): Likewise.
6529 (check_bool): Likewise.
6530 (check_longlong): Likewise.
6531 (main): Don't print noXFails and noXPasses.
6532 * math/gen-libm-test.pl (top level): Don't mention expected
6533 failure handling in comment.
6534 (new_test): Don't handle expected failures.
6535 (parse_args): Don't mention expected failure handling in comment.
6536 (generate_testfile): Don't handle expected failures.
6537 (parse_ulps): Likewise.
6538 (print_ulps_file): Likewise.
6539 (get_failure): Remove function.
6540 (output_test): Don't handle expected failures.
6541 * make/README.libm-test: Don't mention expected failure handling.
6543 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6544 (minus_zero): Likewise.
6545 (plus_infty): Likewise.
6546 (minus_infty): Likewise.
6547 (qnan_value): Likewise.
6548 (max_value): Likewise.
6549 (min_value): Likewise.
6550 (min_subnorm_value): Likewise.
6551 (initialize): Do not initialize those variables dynamically.
6553 2013-05-03 Roland McGrath <roland@hack.frob.com>
6555 * io/open.c (__open_2): Moved to ...
6556 * io/open_2.c: ... this new file.
6557 * io/open64.c (__open64_2): Moved to ...
6558 * io/open64_2.c: ... this new file.
6559 * io/openat.c (__openat_2): Moved to ...
6560 * io/openat_2.c: ... this new file.
6561 * io/openat64.c (__openat64_2): Moved to ...
6562 * io/openat64_2.c: ... this new file.
6563 * io/Makefile (routines): Add them.
6564 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6565 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6566 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6567 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6568 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6569 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6570 (__openat64): Add hidden_ver.
6571 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6572 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6574 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6575 Separately conditionalize setting of GLRO(dl_sysinfo) so
6576 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6577 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6579 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6581 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6582 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6584 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6585 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6586 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6587 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6588 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6590 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6592 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6595 * math/libm-test.inc (hypot_test): Do not use
6596 IGNORE_ZERO_INF_SIGN.
6598 2013-05-03 Andreas Jaeger <aj@suse.de>
6600 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6602 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6603 (PF_MAX): Adjust for VSOCK change.
6605 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6609 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6612 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6613 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6614 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6616 2013-05-02 David S. Miller <davem@davemloft.net>
6618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6620 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6622 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6624 2013-05-01 Roland McGrath <roland@hack.frob.com>
6626 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6628 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6631 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6632 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6633 Use __attribute__ ((__gnu_inline__)).
6634 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6635 Don't use __attribute__ ((__gnu_inline__)).
6637 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6640 * math/s_catan.c (__catan): Handle small real or imaginary part of
6641 input specially to avoid spurious underflow.
6642 * math/s_catanf.c (__catanf): Likewise.
6643 * math/s_catanh.c (__catanh): Likewise.
6644 * math/s_catanhf.c (__catanhf): Likewise.
6645 * math/s_catanhl.c (__catanhl): Likewise.
6646 * math/s_catanl.c (__catanl): Likewise.
6647 * math/libm-test.inc (catan_test): Add more tests.
6648 (catanh_test): Likewise.
6649 * sysdeps/i386/fpu/libm-test-ulps: Update.
6650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6652 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6656 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6659 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6660 accurately for denominator in atan2.
6661 * math/s_catanf.c (__catanf): Likewise.
6662 * math/s_catanh.c (__catanh): Likewise.
6663 * math/s_catanhf.c (__catanhf): Likewise.
6664 * math/s_catanhl.c (__catanhl): Likewise.
6665 * math/s_catanl.c (__catanl): Likewise.
6666 * math/libm-test.inc (catan_test): Add more tests.
6667 (catanh_test): Likewise.
6668 * sysdeps/i386/fpu/libm-test-ulps: Update.
6669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6671 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6673 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6675 * benchtests/Makefile (bench): Remove slow benchmarks.
6676 * benchtests/atan-inputs: Add slow benchmark inputs.
6677 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6678 (BENCH_FUNC): Accept variant offset.
6680 * benchtests/bench-skeleton.c (main): Run benchmark for each
6682 * benchtests/cos-inputs: Add slow benchmark inputs.
6683 * benchtests/exp-inputs: Likewise.
6684 * benchtests/pow-inputs: Likewise.
6685 * benchtests/sin-inputs: Likewise.
6686 * benchtests/slowatan-inputs: Remove.
6687 * benchtests/slowatan.c: Remove.
6688 * benchtests/slowcos-inputs: Remove.
6689 * benchtests/slowcos.c: Remove.
6690 * benchtests/slowexp-inputs: Remove.
6691 * benchtests/slowexp.c: Remove.
6692 * benchtests/slowpow-inputs: Remove.
6693 * benchtests/slowpow.c: Remove.
6694 * benchtests/slowsin-inputs: Remove.
6695 * benchtests/slowsin.c: Remove.
6696 * benchtests/slowtan-inputs: Remove.
6697 * benchtests/slowtan.c: Remove.
6698 * benchtests/tan-inputs: Add slow benchmark inputs.
6699 * scripts/bench.pl: Parse comments and directives.
6701 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6703 ($(objpfx)bench-%.c): Remove *-ITER.
6704 * benchtests/bench-modf.c: Remove definition of ITER.
6705 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6706 (main): Loop for DURATION seconds instead of fixed number of
6708 * scripts/bench.pl: Don't expect iterations in parameters.
6710 2013-04-29 Roland McGrath <roland@hack.frob.com>
6712 * io/fchdir.c (__fchdir): Renamed from fchdir.
6713 (fchdir): Define as weak alias.
6715 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6717 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6718 (ERRNO_EDOM): Likewise.
6719 (ERRNO_ERANGE): Likewise.
6720 (noErrnoTests): New variable.
6721 (init_max_error): Set errno to 0.
6722 (test_single_errno): New function.
6723 (test_errno): Likewise.
6724 (check_float_internal): Call test_errno. Set errno to 0.
6725 (check_complex): Refer to errno tests in comment.
6726 (check_int): Call test_errno. Set errno to 0.
6727 (check_long): Likewise.
6728 (check_bool): Likewise.
6729 (check_longlong): Likewise.
6730 (cos_test): Use ERRNO_* flags for errno tests instead of
6732 (expm1_test): Likewise.
6733 (fmod_test): Likewise.
6734 (ilogb_test): Likewise.
6735 (lgamma_test): Likewise.
6736 (pow_test): Likewise.
6737 (remainder_test): Likewise.
6738 (sin_test): Likewise.
6739 (tan_test): Likewise.
6740 (yn_test): Likewise.
6741 (initialize): Set errno to 0.
6742 (main): Print number of errno tests.
6743 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6745 2013-04-29 Andreas Jaeger <aj@suse.de>
6748 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6752 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6753 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6757 * stdlib/random.c (__initstate): Return NULL if
6761 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6762 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6765 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6769 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6771 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6772 of individual tests.
6773 (casin_test): Likewise.
6774 (casinh_test): Likewise.
6776 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6779 * math/s_catan.c (__catan): Handle arguments with large real or
6780 imaginary part separately without squaring.
6781 * math/s_catanf.c (__catanf): Likewise.
6782 * math/s_catanh.c (__catanh): Likewise.
6783 * math/s_catanhf.c (__catanhf): Likewise.
6784 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6786 (__catanhl): Handle arguments with large real or imaginary part
6787 separately without squaring.
6788 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6790 (__catanl): Handle arguments with large real or imaginary part
6791 separately without squaring.
6792 * math/libm-test.inc (catan_test): Add more tests.
6793 (catanh_test): Likewise.
6794 * sysdeps/i386/fpu/libm-test-ulps: Update.
6795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6797 2013-04-27 Andreas Jaeger <aj@suse.de>
6800 * stdlib/stdlib.h: Update guards for qecvt.
6801 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6804 2013-04-27 Allan McRae <allan@archlinux.org>
6806 * sysdeps/i386/fpu/libm-test-ulps: Update.
6808 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6811 * math/s_catan.c: Include <float.h>.
6812 (__catan): Ensure underflow exception occurs for underflowed
6814 * math/s_catanf.c: Include <float.h>.
6815 (__catanf): Ensure underflow exception occurs for underflowed
6817 * math/s_catanh.c: Include <float.h>.
6818 (__catanh): Ensure underflow exception occurs for underflowed
6820 * math/s_catanhf.c: Include <float.h>.
6821 (__catanhf): Ensure underflow exception occurs for underflowed
6823 * math/s_catanhl.c: Include <float.h>.
6824 (__catanhl): Ensure underflow exception occurs for underflowed
6826 * math/s_catanl.c: Include <float.h>.
6827 (__catanl): Ensure underflow exception occurs for underflowed
6829 * math/libm-test.inc (catan_test): Add more tests.
6830 (catanh_test): Likewise.
6833 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6835 * math/s_ccoshf.c (__ccoshf): Likewise.
6836 * math/s_ccoshl.c (__ccoshl): Likewise.
6837 * math/s_csin.c (__csin): Likewise.
6838 * math/s_csinf.c (__csinf): Likewise.
6839 * math/s_csinh.c (__csinh): Likewise.
6840 * math/s_csinhf.c (__csinhf): Likewise.
6841 * math/s_csinhl.c (__csinhl): Likewise.
6842 * math/s_csinl.c (__csinl): Likewise.
6843 * math/libm-test.inc (ccos_test): Add more tests.
6844 (ccosh_test): Likewise.
6845 (csin_test): Likewise.
6846 (csinh_test): Likewise.
6848 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6850 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6851 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6852 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6853 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6854 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6855 powerpc/power5+/fpu folders.
6856 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6859 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6861 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6863 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6865 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6866 additions to variable.
6867 [$(config-machine) = x86_64] (modules-names): Likewise.
6868 ($(objpfx)tst-audit3): Remove dependency.
6869 ($(objpfx)tst-audit3.out): Likewise.
6870 ($(objpfx)tst-audit4): Likewise.
6871 ($(objpfx)tst-audit4.out): Likewise.
6872 ($(objpfx)tst-audit5): Likewise.
6873 ($(objpfx)tst-audit5.out): Likewise.
6874 ($(objpfx)tst-audit6): Likewise.
6875 ($(objpfx)tst-audit6.out): Likewise.
6876 ($(objpfx)tst-audit7): Likewise.
6877 ($(objpfx)tst-audit7.out): Likewise.
6878 (tst-audit3-ENV): Remove variable.
6879 (tst-audit4-ENV): Likewise.
6880 (tst-audit5-ENV): Likewise.
6881 (tst-audit6-ENV): Likewise.
6882 (tst-audit7-ENV): Likewise.
6883 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6884 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6885 addition to variable.
6886 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6887 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6888 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6889 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6890 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6891 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6892 tst-audit3, tst-audit4 and tst-audit5.
6893 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6894 tst-audit6 and tst-audit7.
6895 [$(subdir) = elf] (modules-names): Add audit modules for those
6897 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6898 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6899 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6900 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6901 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6902 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6903 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6904 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6905 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6906 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6907 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6908 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6909 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6910 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6911 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6912 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6914 [$(subdir) = elf && $(config-cflags-avx) = yes]
6915 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6916 [$(subdir) = elf && $(config-cflags-avx) = yes]
6917 (CFLAGS-tst-auditmod4a.c): Likewise.
6918 [$(subdir) = elf && $(config-cflags-avx) = yes]
6919 (CFLAGS-tst-auditmod4b.c): Likewise.
6920 [$(subdir) = elf && $(config-cflags-avx) = yes]
6921 (CFLAGS-tst-auditmod6b.c): Likewise.
6922 [$(subdir) = elf && $(config-cflags-avx) = yes]
6923 (CFLAGS-tst-auditmod6c.c): Likewise.
6924 [$(subdir) = elf && $(config-cflags-avx) = yes]
6925 (CFLAGS-tst-auditmod7b.c): Likewise.
6926 * elf/tst-audit3.c: Move to ...
6927 * sysdeps/x86_64/tst-audit3.c: ... here.
6928 * elf/tst-audit4.c: Move to ...
6929 * sysdeps/x86_64/tst-audit4.c: ... here.
6930 * elf/tst-audit5.c: Move to ...
6931 * sysdeps/x86_64/tst-audit5.c: ... here.
6932 * elf/tst-audit6.c: Move to ...
6933 * sysdeps/x86_64/tst-audit6.c: ... here.
6934 * elf/tst-audit7.c: Move to ...
6935 * sysdeps/x86_64/tst-audit7.c: ... here.
6936 * elf/tst-auditmod3a.c: Move to ...
6937 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6938 * elf/tst-auditmod3b.c: Move to ...
6939 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6940 * elf/tst-auditmod4a.c: Move to ...
6941 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6942 * elf/tst-auditmod4b.c: Move to ...
6943 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6944 * elf/tst-auditmod5a.c: Move to ...
6945 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6946 * elf/tst-auditmod5b.c: Move to ...
6947 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6948 * elf/tst-auditmod6a.c: Move to ...
6949 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6950 * elf/tst-auditmod6b.c: Move to ...
6951 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6952 * elf/tst-auditmod6c.c: Move to ...
6953 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6954 * elf/tst-auditmod7a.c: Move to ...
6955 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6956 * elf/tst-auditmod7b.c: Move to ...
6957 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6959 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6962 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6963 define unconditionally.
6964 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6965 define unconditionally.
6966 (INT8_C, INT16_C, etc.): Likewise.
6968 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6970 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6971 __ehdr_start with hidden visibility.
6973 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6975 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6977 * math/libm-test.inc (cos_test): Use accurate hex constants.
6978 (sincost_test): Likewise.
6980 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6982 * math/libm-test.inc (catan_test): Add more tests.
6983 (catanh_test): Likewise.
6985 * math/s_catanf.c (__catanf): Use suffixed floating-point
6987 * math/s_catanhf.c (__catanhf): Likewise.
6988 * math/s_catanhl.c (__catanhl): Likewise.
6989 * math/s_catanl.c (__catanl): Likewise.
6992 * math/s_catan.c (__catan): Calculate imaginary part of result
6993 with log1p not log unless computing log of number close to 0.
6994 * math/s_catanf.c (__catanf): Likewise.
6995 * math/s_catanl.c (__catanl): Likewise.
6996 * math/s_catanh.c (__catanh): Calculate real part of result with
6997 log1p not log unless computing log of number close to 0.
6998 * math/s_catanhf.c (__catanhf): Likewise.
6999 * math/s_catanhl.c (__catanhl): Likewise.
7000 * math/libm-test.inc (catan_test): Add more tests.
7001 (catanh_test): Likewise.
7002 * sysdeps/i386/fpu/libm-test-ulps: Update.
7003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7005 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7007 * benchtests/Makefile: Mention files in which fast and slow
7008 paths of math functions are implemented.
7010 2013-04-23 Roland McGrath <roland@hack.frob.com>
7012 * sysdeps/posix/timespec_get.c: New file.
7014 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7016 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7018 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7020 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7021 powerpc/power5/fpu folders.
7022 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7023 * benchtests/Makefile: Add modf testcase.
7024 * benchtests/bench-modf.c: New file: Benchmark test for mo
7026 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7029 * time/Makefile (tests): Add tst-strptime-whitespace.
7030 * time/strptime_l.c (get_number): Use ISSPACE.
7031 (__strptime_internal): Likewise.
7032 * time/tst-strptime-whitespace.c: New test case.
7034 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7036 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7038 (_nss_files_init): Set it here.
7040 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7042 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7043 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7046 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7048 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7050 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7052 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7055 2013-04-21 David S. Miller <davem@davemloft.net>
7057 * po/ru.po: Update Russion translation from translation project.
7059 2013-04-17 Adam Conrad <adconrad@0c3.net>
7061 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7064 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7066 * configure.in: Remove i386 configure warning. Remove i386 case.
7067 * configure: Regenerate.
7068 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7069 Add example to error message.
7070 * sysdeps/i386/configure: Regenerate.
7072 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7074 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7076 * benchtests/cos-inputs: New file.
7077 * benchtests/slowcos-inputs: New file.
7078 * benchtests/slowcos.c: New file.
7079 * benchtests/slowtan-inputs: New file.
7080 * benchtests/slowtan.c: New file.
7081 * benchtests/tan-inputs: New file.
7083 2013-04-16 Roland McGrath <roland@hack.frob.com>
7085 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7088 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7090 * benchtests/Makefile: Include cppflags-iterator.mk to add
7091 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7093 * Makefile.in (bench-clean): New target.
7094 * benchtests/Makefile (bench-clean): Likewise.
7096 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7098 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7100 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7102 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7104 2013-04-15 Andreas Schwab <schwab@suse.de>
7106 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7107 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7108 * nscd/pwdcache.c (cache_addpw): Likewise.
7109 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7112 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7114 * benchtests/Makefile (bench): Write all output to
7115 bench-out.tmp together.
7117 2013-04-15 Andreas Schwab <schwab@suse.de>
7119 * nscd/nscd.c (main): Don't fork again after closing files.
7121 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7123 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7125 * benchtests/Rules (bench-deps): Collect dependencies into a
7126 single variable. Add Makefile to dependencies.
7127 ($(objpfx)bench-%.c): Depend on bench-deps.
7129 2013-04-12 Roland McGrath <roland@hack.frob.com>
7130 Xavier Roche <roche+kml2@exalead.com>
7133 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7134 just that it's a file descriptor.
7135 * manual/llio.texi (Synchronizing AIO Operations): Update description
7136 for EBADF error from aio_fsync.
7138 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7140 * Rules (bench): Move target definition...
7141 * benchtests/Makefile: ... here.
7143 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7145 * math/libm-test.inc (cos_test): Fix PI/2 test.
7146 (sincos_test): Likewise.
7147 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7148 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7150 2013-04-11 Andreas Schwab <schwab@suse.de>
7153 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7154 accept exponent character only when digits were seen.
7155 * stdio-common/Makefile (tests): Add bug26.
7156 * stdio-common/bug26.c: New file.
7159 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7162 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7164 * Makeconfig (rtld-prefix): Define built linker prefix.
7165 * Rules (run-bench): Use it.
7166 * math/Makefile (run-regen-ulps): Likewise.
7168 * Rules (bench): Remove eval.
7170 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7171 Roland McGrath <roland@hack.frob.com>
7172 Ondrej Bilka <neleai@seznam.cz>
7175 * time/getdate.c: Include ctype.h and alloca.h.
7176 (__getdate_r): Trim leading and trailing spaces of input.
7177 * time/tst-getdate.c (tests): Add tests with leading and
7180 2013-04-08 Roland McGrath <roland@hack.frob.com>
7183 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7184 when computing value.
7186 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7188 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7189 Use testrun.sh to run libm tests.
7192 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7194 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7197 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7199 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7201 * Makefile.in (regen-ulps): New target.
7202 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7203 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7204 [ifneq (no,$(PERL)] (regen-ulps): New target.
7205 [ifeq (no,$(PERL)] (regen-ulps): New target.
7206 * math/libm-test.inc (ulps_file_name): Define.
7207 (output_dir): New variable.
7208 (options): Add "output-dir" option.
7209 (parse_opt): Handle 'o' case.
7210 (main): If output_dir is non-NULL use it as a prefix
7212 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7214 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7217 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7218 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7219 fail configure if __sync_val_compare_and_swap is not inlined.
7220 * sysdeps/i386/configure: Regenerate.
7221 * configure.in: Build for i686 when configured for i386.
7222 * configure: Regenerate.
7223 * README: Remove i386 reference.
7225 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7227 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7228 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7230 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7232 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7233 (lmsnanval): New variables.
7234 (F): Add conversion tests.
7235 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7236 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7238 * stdio-common/tstdiomisc.c (F): Properly collect individual
7242 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7243 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7244 Instead, use input NaN values or generate a qNaN by arithmetic
7245 operation. Also fix bugs to comply with the standard.
7246 * math/libm-test.inc (remainder_test): Add more tests.
7249 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7250 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7251 input NaN values or generate a qNaN by arithmetic operation.
7253 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7256 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7259 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7262 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7264 * math/s_cexpf.c (__cexpf): Likewise.
7265 * math/s_cexpl.c (__cexpl): Likewise.
7266 * math/libm-test.inc (cexp_test): Add more tests.
7268 2013-04-03 Andreas Schwab <schwab@suse.de>
7271 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7272 order arrays from heap if bigger than alloca cutoff.
7274 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7276 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7277 (SNAN_TESTS_double): Refer to GCC PR56831.
7278 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7281 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7283 * Rules (bench): Move bench.out after the run is complete.
7285 * Rules (bench): Echo currently running benchmark.
7287 * benchtests/Makefile (bench): Add atan and slowatan.
7288 * benchtests/atan-inputs: New file.
7289 * benchtests/slowatan-inputs: New file.
7290 * benchtests/slowatan.c: New file.
7292 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7293 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7297 * sysdeps/unix/sysv/linux/kernel-features.h
7298 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7299 __ASSUME_XFS_RESTRICTED_CHOWN.
7300 * sysdeps/unix/sysv/linux/pathconf.c
7301 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7302 Save and restore errno.
7304 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7307 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7308 arguments using __kernel_casinh.
7309 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7310 arguments using __kernel_casinhf.
7311 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7312 arguments using __kernel_casinhl.
7313 * math/libm-test.inc (cacosh_test): Add more tests.
7314 * sysdeps/i386/fpu/libm-test-ulps: Update.
7315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7317 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7319 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7320 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7322 * bench/Makefile (bench): Add sin and slowsin.
7323 * benchtests/sin-inputs: New file.
7324 * benchtests/slowsin-inputs: New file.
7325 * benchtests/slowsin.c: New file.
7327 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7328 (bench): Add slowexp and slowpow.
7329 (exp-ITER): Increase iterations.
7330 (pow-ITER): Likewise.
7331 * benchtests/exp-inputs: Change input.
7332 * benchtests/pow-inputs: Likewise.
7333 * benchtests/slowexp-inputs: New file.
7334 * benchtests/slowexp.c: New file.
7335 * benchtests/slowpow-inputs: New file.
7336 * benchtests/slowpow.c: New file.
7338 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7340 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7342 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7343 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7344 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7345 * benchtests/Makefile: Add rint benchtest.
7346 * benchtests/rint-inputs: Input for rint benchtest.
7348 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7350 * Versions.def (libm): Add GLIBC_2.18.
7351 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7352 hidden libm prototypes.
7353 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7354 * math/Makefile (libm-calls): Add s_issignaling.
7355 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7356 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7357 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7359 * math/math.h [__USE_GNU] (issignaling): New macro.
7360 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7361 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7362 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7363 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7366 * manual/arith.texi (issignaling): New section.
7367 * manual/libm-err-tab.pl (@all_functions): Update comment.
7368 * math/gen-libm-test.pl (parse_args): Apply special handling for
7370 * math/libm-test.inc (print_float, issignaling_test): New
7372 (check_float_internal): Add issignaling checks.
7373 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7375 * sysdeps/powerpc/math-tests.h: New file.
7376 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7378 * math/test-snan.c (TEST_FUNC): Likewise.
7380 2013-03-30 David S. Miller <davem@davemloft.net>
7382 * po/de.po: Update from translation team.
7384 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7387 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7388 imaginary part less than 1.0 and real part less than 0.5
7390 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7391 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7392 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7393 (cacos_test): Add more tests.
7394 (casin_test): Likewise.
7395 (casinh_test): Likewise.
7396 * sysdeps/i386/fpu/libm-test-ulps: Update.
7397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7399 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7401 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7404 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7405 (__pow_mp): Replace ONE and MONE with their values.
7406 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7407 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7408 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7409 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7410 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7411 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7413 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7415 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7416 (__pow_mp): Replace ZERO and MZERO with their values.
7417 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7418 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7419 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7421 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7422 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7425 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7427 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7429 2013-03-28 Roland McGrath <roland@hack.frob.com>
7431 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7432 Declare with __attribute__ ((weak)).
7433 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7434 Call __call_tls_dtors only if it's not NULL.
7436 2013-03-28 Roland McGrath <roland@hack.frob.com>
7438 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7439 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7440 magic __ehdr_start linker symbol if it's defined.
7441 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7442 them up here if it was already done.
7444 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7445 (_dl_aux_init): Use const in cast when setting it.
7446 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7447 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7448 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7450 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7452 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7453 * csu/libc-tls.c: Nor here.
7454 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7456 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7457 (__libc_message): Never call vsyslog.
7459 2013-03-28 Alan Modra <amodra@gmail.com>
7461 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7463 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7466 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7469 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7473 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7476 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7477 Don't add gid passed as argument.
7479 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7481 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7484 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7485 imaginary part between 1.0 and 1.5 and real part less than 0.5
7487 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7488 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7489 * math/libm-test.inc (cacos_test): Add more tests.
7490 (casin_test): Likewise.
7491 (casinh_test): Likewise.
7492 * sysdeps/i386/fpu/libm-test-ulps: Update.
7493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7495 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7497 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7501 (__dbl_mp): Likewise.
7502 (add_magnitudes): Likewise.
7503 (sub_magnitudes): Likewise.
7511 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7513 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7514 (__dubcos): Likewise.
7515 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7516 (__ieee754_acos): Likewise.
7517 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7518 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7520 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7521 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7523 (my_log2): Likewise.
7524 (checkint): Likewise.
7525 * sysdeps/ieee754/dbl-64/e_remainder.c
7526 (__ieee754_remainder): Likewise.
7527 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7528 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7530 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7532 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7533 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7534 MANTISSA_STORE_T to store computations on mantissa. Use
7535 macros for rounding and division.
7537 (__dbl_mp): Likewise.
7538 (add_magnitudes): Likewise.
7539 (sub_magnitudes): Likewise.
7542 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7543 powers of two in terms of TWOPOW macro.
7544 (mp_no): Make type of mantissa as MANTISSA_T.
7545 [!RADIXI]: Define RADIXI.
7546 [!TWO52]: Define TWO52.
7547 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7549 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7551 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7552 llroundl symbol when building for PPC32.
7554 2013-03-24 Mark H Weaver <mhw@netris.org>
7556 * manual/arith.texi (Normalization Functions): Fix prototypes for
7557 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7559 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7563 high value to check if expl overflow.
7564 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7565 to check for underflow and overflow.
7566 * math/libm-test.inc: Add exp test.
7568 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7571 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7574 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7576 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7579 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7581 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7582 wrap blocks consisting of several statements.
7584 * sysdeps/generic/math-tests.h: New file.
7585 * sysdeps/i386/fpu/math-tests.h: Likewise.
7586 * math/test-snan.c: Include it.
7587 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7589 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7592 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7593 (__ieee754_j0l): Do not improve calculations using cos of twice
7594 input for inputs above LDBL_MAX / 2.0L.
7595 (__ieee754_y0l): Likewise.
7596 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7597 (__ieee754_j1l): Do not improve calculations using cos of twice
7598 input for inputs above LDBL_MAX / 2.0L.
7599 (__ieee754_y1l): Likewise.
7600 * math/libm-test.inc (j0_test): Add another test.
7601 (j1_test): Likewise.
7602 (y0_test): Likewise.
7603 (y1_test): Likewise.
7604 * sysdeps/i386/fpu/libm-test-ulps: Update.
7606 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7608 * Rules ($(objpfx)bench-%.c): Include code from a C source
7611 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7614 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7615 imaginary part 1.0 and real part less than 0.5 specially.
7616 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7617 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7618 * math/libm-test.inc (cacos_test): Add more tests.
7619 (casin_test): Likewise.
7620 (casinh_test): Likewise.
7621 * sysdeps/i386/fpu/libm-test-ulps: Update.
7622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7624 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7626 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7627 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7629 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7631 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7632 * config.make.in (config-cflags-sse4): Remove variable.
7633 (config-cflags-avx): Likewise.
7634 (config-cflags-sse2avx): Likewise.
7635 (config-cflags-novzeroupper): Likewise.
7636 (config-asflags-i686): Likewise.
7637 (have-mfma4): Likewise.
7638 (have-as-vis3): Likewise.
7640 * configure.in (MIG): Do not AC_SUBST.
7641 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7642 (libc_cv_cc_sse4): Do not AC_SUBST.
7643 (libc_cv_cc_avx): Likewise.
7644 (libc_cv_cc_sse2avx): Likewise.
7645 (libc_cv_cc_novzeroupper): Likewise.
7646 (libc_cv_cc_fma4): Likewise.
7647 (libc_cv_as_i686): Likewise.
7648 (libc_cv_sparc_as_vis3): Likewise.
7649 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7651 (config-asflags-i686): Likewise.
7652 (config-cflags-avx): Likewise.
7653 (config-cflags-sse2avx): Likewise.
7654 (have-mfma4): Likewise.
7655 (config-cflags-novzeroupper): Likewise.
7656 * sysdeps/mach/configure.in (MIG): Likewise.
7657 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7658 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7660 (config-cflags-avx): Likewise.
7661 (config-cflags-sse2avx): Likewise.
7662 (have-mfma4): Likewise.
7663 (config-cflags-novzeroupper): Likewise.
7664 * configure: Regenerated.
7665 * sysdeps/i386/configure: Likewise.
7666 * sysdeps/mach/configure: Likewise.
7667 * sysdeps/sparc/configure: Likewise.
7668 * sysdeps/x86_64/configure: Likewise.
7670 2013-03-20 Roland McGrath <roland@hack.frob.com>
7673 * locale/programs/localedef.c (options): Put N_ translation marker
7674 on argument names, not just descriptions.
7676 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7678 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7680 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7683 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7685 2013-03-19 Roland McGrath <roland@hack.frob.com>
7687 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7688 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7689 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7690 [!BEFORE_ABORT] (before_abort): New function.
7691 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7692 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7693 (writev_for_fatal): New function.
7694 (WRITEV_FOR_FATAL): New macro; call that.
7695 (backtrace_and_maps): New function.
7696 (BEFORE_ABORT): New macro; call that.
7697 (struct str_list): Type removed.
7698 (__libc_message, __libc_fatal): Functions removed.
7699 Include <sysdeps/posix/libc_fatal.c> instead.
7701 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7703 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7705 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7708 2013-03-19 Andreas Schwab <schwab@suse.de>
7710 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7711 * sysdeps/gnu/configure: Regenerate.
7713 * configure.in: Substitute libc_cv_rtlddir.
7714 * configure: Regenerate.
7715 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7716 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7717 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7718 * elf/Makefile (install-others, CFLAGS-interp.c)
7719 (ldso_install, common-ldd-rewrite): Likewise.
7720 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7721 $(inst_slibdir)/$(rtld-installed-name).
7722 * scripts/rellns-sh: Add -p option.
7723 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7726 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7728 * manual/nptl.texi: Renamed to ...
7729 * manual/threads.texi: ... this.
7730 * manual/Makefile (chapters): Update.
7732 2013-03-18 Roland McGrath <roland@hack.frob.com>
7735 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7736 on argument names, not just descriptions.
7737 * malloc/memusagestat.c (options): Likewise.
7738 * nss/getent.c (options): Likewise.
7740 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7743 * iconv/iconv_prog.c (options): Put N_ translation marker
7744 on argument names, not just descriptions.
7745 * iconv/iconvconfig.c (options): Likewise.
7747 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7749 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7750 implementation which is faster on all x86_64 architectures.
7751 Tested on AMD, Intel Nehalem, SNB, IVB.
7752 * sysdeps/x86_64/strnlen.S: Likewise.
7754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7755 Remove all multiarch strlen and strnlen versions.
7756 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7757 Remove strlen and strnlen related parts.
7759 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7761 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7763 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7764 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7765 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7766 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7767 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7768 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7770 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7772 * manual/memory.texi (Malloc Tunable Parameters):
7773 Sort parameters alphabetically. Add comments for missing entries.
7775 2013-03-17 David S. Miller <davem@davemloft.net>
7777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7779 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7782 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7783 for arguments at most half maximum finite value.
7784 * math/libm-test.inc (j0_test): Add more tests.
7785 (j1_test): Likewise.
7786 (y0_test): Likewise.
7787 (y1_test): Likewise.
7788 * sysdeps/i386/fpu/libm-test-ulps: Update.
7789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7792 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7793 1 / x and functions P and Q for arguments above 0x1p256L.
7794 (__ieee754_y0l): Likewise.
7795 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7796 (__ieee754_y1l): Likewise.
7797 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7798 (j1_test): Likewise.
7799 (y0_test): Likewise.
7800 (y1_test): Likewise.
7802 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7804 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7807 2013-03-15 Roland McGrath <roland@hack.frob.com>
7809 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7810 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7811 zero since it's initialized to EXEC_PAGESIZE.
7813 * sysdeps/unix/sysv/linux/ldsodefs.h
7814 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7815 * sysdeps/generic/ldsodefs.h: ... here.
7817 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7819 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7821 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7823 * math/test-snan.c: Renamed from
7824 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7825 * math/Makefile (tests): Add test-snan.
7826 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7829 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7830 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7832 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7833 __builtin_nan family of functions.
7834 * math/libm-test.inc (initialize): Initialize qnan_value with
7835 __builtin_nan family of functions.
7836 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7838 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7840 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7841 storage class. Initialize qNaN_var and sNaN_var with
7842 __builtin_nan and __builtin_nans families of functions,
7845 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7846 (sqrt_test): Remove duplicate test with qNaN input.
7847 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7848 (round_test, signbit_test, significand_test): Note missing +/-Inf
7849 as well as qNaN tests.
7851 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7852 qNaN_var. Fix a few strings, too.
7853 * math/libm-test.inc (nan_value): Rename to qnan_value.
7854 * math/gen-libm-test.pl (%beautify): Adjust to that.
7855 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7856 * math/test-misc.c (main): Likewise.
7857 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7858 to __qnan_bytes, and __qnan_union, respectively.
7859 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7861 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7862 and lqnanval, respectively.
7863 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7864 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7865 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7866 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7868 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7869 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7872 * math/test-misc.c (main): Fix copy'n'pastos.
7873 * misc/tst-efgcvt.c (special): Likewise.
7875 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7876 Remove declarations.
7878 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7880 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7881 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7882 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7883 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7885 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7887 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7888 macro to return vdso values correctly in IFUNC implementations.
7889 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7890 Optimization by using IFUNC.
7892 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7893 Richard Henderson <rth@redhat.com>
7894 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7896 * Makefile.in (bench): New target.
7897 * NEWS: Mention the benchmark framework.
7898 * Rules (bench): Likewise.
7899 (binaries-bench): Generate binaries for functions to
7901 * benchtests/Makefile: New makefile for benchmark tests.
7902 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7904 * benchtests/exp-inputs: New input file for EXP function.
7905 * benchtests/pow-inputs: New input file for POW function.
7906 * scripts/bench.pl: New script to generate source files for
7909 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7911 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7912 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7913 computations on mantissa. Use macros for rounding and
7916 (__dbl_mp): Likewise.
7917 (add_magnitudes): Likewise.
7918 (sub_magnitudes): Likewise.
7921 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7922 powers of two in terms of TWOPOW macro.
7923 (mp_no): Make type of mantissa as MANTISSA_T.
7924 [!RADIXI]: Define RADIXI.
7925 [!TWO52]: Define TWO52.
7926 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7928 * manual/nptl.texi (cindex): Modify threads to pthreads.
7930 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7932 * sysdeps/x86_64/preconfigure: Regenerated.
7934 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7937 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7939 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7940 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7942 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7943 * math/libm-test.inc (j0_test): Do not allow one spurious
7944 underflow exception.
7945 (y1_test): Likewise.
7947 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7949 * manual/Makefile (chapters): Add nptl.
7950 * manual/debug.texi (Debugging Support): Add link to Threads
7952 * manual/nptl.texi: New file.
7954 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7956 2013-03-14 Petr Baudis <pasky@ucw.cz>
7958 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7959 for non-NULL pointer before the memory validity test. Pointed
7960 out by Holger Brunck <holger.brunck@keymile.com>.
7962 2013-03-13 Andreas Schwab <schwab@suse.de>
7964 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7967 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7969 * timezone/zic.c: Update from tzcode 2013b.
7971 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7973 * manual/install.texi (Configuring and compiling):
7974 Mention i686 and i586.
7975 * INSTALL: Regenerate.
7977 2013-03-12 Roland McGrath <roland@hack.frob.com>
7979 * sysdeps/init_array/elf-init.c: New file.
7981 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7982 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7984 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7985 __gmon_start__ as global, but as static with a .preinit_array pointer.
7986 * sysdeps/init_array/gmon-start.c: New file. Use that.
7987 * sysdeps/init_array/crti.S: New file, empty except for comments.
7988 * sysdeps/init_array/crtn.S: Likewise.
7990 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7992 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7995 Remove Prefer_SSE_for_memop.
7996 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7997 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7998 HAS_PREFER_SSE_FOR_MEMOP.
7999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8002 Remove bzero, memset ifunc support.
8003 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8004 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8005 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8006 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8008 2013-03-11 Andreas Schwab <schwab@suse.de>
8011 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8014 (GLIBC_2.16): Remove pthread_atfork.
8016 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8018 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8019 (ptestcases.h): Likewise.
8021 2013-03-08 Roland McGrath <roland@hack.frob.com>
8023 * Makeconfig ($(common-objpfx)config.status): Depend on
8024 sysdeps/*/preconfigure{,.in} too.
8026 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8028 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8029 (__free_hook): Use void * instead of __malloc_ptr_t.
8030 (__malloc_hook): Likewise.
8031 (__realloc_hook): Likewise.
8032 (__memalign_hook): Likewise.
8033 (__after_morecore_hook): Likewise.
8034 * malloc/arena.c (save_malloc_hook): Likewise.
8035 (save_free_hook): Likewise.
8036 * malloc/hooks.c (malloc_hook_ini): Likewise.
8037 (realloc_hook_ini): Likewise.
8038 (memalign_hook_ini): Likewise.
8039 * malloc/malloc.c (malloc_hook_ini): Likewise.
8040 (realloc_hook_ini): Likewise.
8041 (memalign_hook_ini): Likewise.
8042 (__free_hook): Likewise.
8043 (__malloc_hook): Likewise.
8044 (__realloc_hook): Likewise.
8045 (__memalign_hook): Likewise.
8046 (__libc_malloc): Likewise.
8047 (__libc_free): Likewise.
8048 (__libc_realloc): Likewise.
8049 (__libc_memalign): Likewise.
8050 (__libc_valloc): Likewise.
8051 (__libc_pvalloc): Likewise.
8052 (__libc_calloc): Likewise.
8053 (__posix_memalign): Likewise.
8054 * malloc/morecore.c (__sbrk): Likewise.
8055 (__default_morecore): Likewise.
8057 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8059 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8060 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8063 * malloc/malloc.h (__malloc_size_t): Remove macro.
8064 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8066 (old_memalign_hook): Likewise.
8067 (old_realloc_hook): Likewise.
8068 (struct hdr): Likewise.
8070 (mallochook): Likewise.
8071 (memalignhook): Likewise.
8072 (reallochook): Likewise.
8073 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8074 (tr_old_realloc_hook): Likewise.
8075 (tr_old_memalign_hook): Likewise.
8076 (tr_mallochook): Likewise.
8077 (tr_reallochook): Likewise.
8078 (tr_memalignhook): Likewise.
8080 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8082 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8083 default_ldbl_pack and using as default implementation.
8084 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8086 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8087 redundant definition.
8088 (ldbl_insert_mantissa): Likewise.
8089 (ldbl_canonicalize): Likewise.
8090 (ldbl_nearbyint): Likewise.
8091 (ldbl_pack): Rename to ldbl_pack_ppc.
8092 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8093 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8094 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8096 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8098 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8099 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8100 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8101 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8103 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8104 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8105 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8107 2013-03-07 Andreas Jaeger <aj@suse.de>
8109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8112 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8114 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8115 Include mpa.h and declare __MPEXP.
8116 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8117 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8118 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8119 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8120 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8121 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8122 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8124 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8125 (__slowpow): Use long double EXPL and LOGL functions to
8127 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8128 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8129 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8130 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8131 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8132 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8135 intermediate variable to calculate exponent.
8137 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8141 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8142 [!NO__SQR]: Define __sqr.
8143 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8144 and NO__SQR. Remove all code except __mul and __sqr. Include
8145 sysdeps/ieee754/dbl-64/mpa.c.
8146 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8149 * posix/Makefile (tests): Add tst-pathconf.
8150 * posix/tst-pathconf.c: New test case.
8151 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8153 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8155 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8157 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8159 2013-03-06 Andreas Jaeger <aj@suse.de>
8161 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8162 definition via __MAP_ANONYMOUS.
8164 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8165 it's not part of Linux headers.
8167 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8168 (MAP_HUGE_MASK): Define.
8170 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8172 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8173 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8175 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8176 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8178 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8179 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8181 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8183 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8184 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8185 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8186 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8187 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8188 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8190 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8193 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8194 Handle f2fs and efivarfs.
8196 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8199 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8200 (EFIVARFS_MAGIC): Add.
8201 (F2FS_LINK_MAX): Add.
8203 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8205 * stdio-common/vfprintf.c: Replace __builtin_expect with
8208 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8211 * sysdeps/generic/bp-sym.h: Remove file.
8212 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8213 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8214 <bp-sym.h> and <bp-asm.h>.
8215 (__longjmp): Don't use BP_SYM.
8216 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8218 (memcpy): Don't use BP_SYM.
8219 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8220 <bp-sym.h> and <bp-asm.h>.
8221 (memcpy): Don't use BP_SYM.
8222 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8224 (memcpy): Don't use BP_SYM.
8225 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8227 (memset): Don't use BP_SYM.
8228 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8229 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8230 (__bzero): Don't use BP_SYM.
8231 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8232 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8233 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8234 <bp-sym.h> and <bp-asm.h>.
8235 (memcmp): Don't use BP_SYM. Remove comment about bounded
8237 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8238 <bp-sym.h> and <bp-asm.h>.
8239 (memcpy): Don't use BP_SYM.
8240 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8241 <bp-sym.h> and <bp-asm.h>.
8242 (memset): Don't use BP_SYM.
8243 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8244 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8245 (__bzero): Don't use BP_SYM.
8246 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8247 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8248 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8249 <bp-sym.h> and <bp-asm.h>.
8250 (strncmp): Don't use BP_SYM. Remove comment about bounded
8252 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8253 <bp-sym.h> and <bp-asm.h>.
8254 (memcpy): Don't use BP_SYM.
8255 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8256 <bp-sym.h> and <bp-asm.h>.
8257 (memset): Don't use BP_SYM.
8258 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8259 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8260 (__bzero): Don't use BP_SYM.
8261 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8262 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8263 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8264 <bp-sym.h> and <bp-asm.h>.
8265 (__memchr): Don't use BP_SYM.
8266 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8267 <bp-sym.h> and <bp-asm.h>.
8268 (memcmp): Don't use BP_SYM. Remove comment about bounded
8270 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8271 <bp-sym.h> and <bp-asm.h>.
8272 (memcpy): Don't use BP_SYM.
8273 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8274 <bp-sym.h> and <bp-asm.h>.
8275 (__mempcpy): Don't use BP_SYM.
8276 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8277 <bp-sym.h> and <bp-asm.h>.
8278 (__memrchr): Don't use BP_SYM.
8279 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8280 <bp-sym.h> and <bp-asm.h>.
8281 (memset): Don't use BP_SYM.
8282 (__bzero): Likewise.
8283 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8284 <bp-sym.h> and <bp-asm.h>.
8285 (__rawmemchr): Don't use BP_SYM.
8286 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8287 <bp-sym.h> and <bp-asm.h>.
8288 (__STRCMP): Don't use BP_SYM.
8289 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8290 <bp-sym.h> and <bp-asm.h>.
8291 (strchr): Don't use BP_SYM.
8292 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8293 <bp-sym.h> and <bp-asm.h>.
8294 (__strchrnul): Don't use BP_SYM.
8295 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8296 <bp-sym.h> and <bp-asm.h>.
8297 (strlen): Don't use BP_SYM.
8298 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8299 <bp-sym.h> and <bp-asm.h>.
8300 (strncmp): Don't use BP_SYM. Remove comment about bounded
8302 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8303 <bp-sym.h> and <bp-asm.h>.
8304 (__strnlen): Don't use BP_SYM.
8305 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8306 <bp-sym.h> and <bp-asm.h>.
8307 (__GI__setjmp): Don't use BP_SYM.
8308 (_setjmp): Likewise.
8309 (__sigsetjmp): Likewise.
8310 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8311 (L(start_addresses)): Don't use BP_SYM.
8313 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8315 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8316 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8317 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8318 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8319 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8321 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8322 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8323 about bounded pointers.
8324 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8325 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8326 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8328 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8329 about bounded pointers. Remove GKM FIXME comments.
8330 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8331 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8333 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8334 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8335 Remove GKM FIXME comments.
8336 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8337 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8338 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8340 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8341 about bounded pointers. Remove GKM FIXME comment.
8342 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8344 (strncmp): Don't use BP_SYM. Remove comment about bounded
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8347 <bp-sym.h> and <bp-asm.h>.
8348 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8350 <bp-sym.h> and <bp-asm.h>.
8351 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8354 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8356 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8359 2013-03-05 David S. Miller <davem@davemloft.net>
8361 * po/es.po: Update from translation team.
8363 2013-03-05 Andreas Jaeger <aj@suse.de>
8365 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8366 <bits/mman-linux.h>.
8367 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8369 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8370 <bits/mman-linux.h> to end of file.
8371 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8373 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8374 <bits/mman-linux.h> to end of file.
8375 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8377 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8378 <bits/mman-linux.h> to end of file.
8380 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8381 (MCL_CURRENT, MCL_FUTURE): Define here.
8383 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8386 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8388 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8390 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8392 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8393 fourth parameter needed for rt_sigprocmask syscall.
8394 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8395 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8396 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8397 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8398 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8399 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8401 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8404 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8405 comment about bounded pointers.
8406 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8407 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8409 2013-03-04 Andreas Jaeger <aj@suse.de>
8411 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8414 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8415 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8416 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8417 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8418 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8419 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8421 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8424 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8425 __ieee754_sqrl instead of __sqrl.
8427 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8429 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8430 * sysdeps/powerpc/fpu_control.h: ... here.
8431 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8432 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8433 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8434 * sysdeps/powerpc/bits/mathinline.h: ... here.
8436 2013-03-01 Roland McGrath <roland@hack.frob.com>
8438 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8439 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8440 to just [NEED_DL_SYSINFO_DSO].
8441 * elf/dl-support.c: Likewise.
8442 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8443 * elf/rtld.c (dl_main): Likewise.
8444 * elf/setup-vdso.h (setup_vdso): Likewise.
8445 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8446 * sysdeps/unix/sysv/linux/dl-sysdep.c
8447 (_dl_discover_osversion): Likewise.
8449 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8451 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8452 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8454 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8456 * NEWS: Mention libm performance improvements and non-x86 PI
8459 * csu/libc-start.c (__pthread_initialize_minimal): Change
8461 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8463 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8466 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8467 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8468 <bp-sym.h> and <bp-asm.h>.
8469 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8470 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8472 (memcpy): Don't use BP_SYM.
8473 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8475 (__mpn_add_n): Don't use BP_SYM.
8476 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8477 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8479 (__mpn_addmul_1): Don't use BP_SYM.
8480 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8481 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8483 (_setjmp): Don't use BP_SYM.
8484 (__novmx_setjmp): Likewise.
8485 (__GI__setjmp): Likewise.
8486 (__vmx_setjmp): Likewise.
8487 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8489 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8490 (__bzero): Don't use BP_SYM.
8491 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8492 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8493 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8494 <bp-sym.h> and <bp-asm.h>.
8495 (memcpy): Don't use BP_SYM.
8496 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8497 <bp-sym.h> and <bp-asm.h>.
8498 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8499 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8500 <bp-sym.h> and <bp-asm.h>.
8501 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8502 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8504 (__mpn_lshift): Don't use BP_SYM.
8505 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8506 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8508 (memset): Don't use BP_SYM.
8509 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8510 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8511 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8513 (__mpn_mul_1): Don't use BP_SYM.
8514 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8515 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8516 <bp-sym.h> and <bp-asm.h>.
8517 (memcmp): Don't use BP_SYM.
8518 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8519 <bp-sym.h> and <bp-asm.h>.
8520 (memcpy): Don't use BP_SYM.
8521 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8522 <bp-sym.h> and <bp-asm.h>.
8523 (memset): Don't use BP_SYM.
8524 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8525 <bp-sym.h> and <bp-asm.h>.
8526 (strncmp): Don't use BP_SYM.
8527 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8528 <bp-sym.h> and <bp-asm.h>.
8529 (memcpy): Don't use BP_SYM.
8530 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8531 <bp-sym.h> and <bp-asm.h>.
8532 (memset): Don't use BP_SYM.
8533 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8534 <bp-sym.h> and <bp-asm.h>.
8535 (__memchr): Don't use BP_SYM.
8536 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8537 <bp-sym.h> and <bp-asm.h>.
8538 (memcmp): Don't use BP_SYM.
8539 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8540 <bp-sym.h> and <bp-asm.h>.
8541 (memcpy): Don't use BP_SYM.
8542 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8543 <bp-sym.h> and <bp-asm.h>.
8544 (__mempcpy): Don't use BP_SYM.
8545 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8546 <bp-sym.h> and <bp-asm.h>.
8547 (__memrchr): Don't use BP_SYM.
8548 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8549 <bp-sym.h> and <bp-asm.h>.
8550 (memset): Don't use BP_SYM.
8551 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8552 <bp-sym.h> and <bp-asm.h>.
8553 (__rawmemchr): Don't use BP_SYM.
8554 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8555 <bp-sym.h> and <bp-asm.h>.
8556 (__STRCMP): Don't use BP_SYM.
8557 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8558 <bp-sym.h> and <bp-asm.h>.
8559 (strchr): Don't use BP_SYM.
8560 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8561 <bp-sym.h> and <bp-asm.h>.
8562 (__strchrnul): Don't use BP_SYM.
8563 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8564 <bp-sym.h> and <bp-asm.h>.
8565 (strlen): Don't use BP_SYM.
8566 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8567 <bp-sym.h> and <bp-asm.h>.
8568 (strncmp): Don't use BP_SYM.
8569 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8570 <bp-sym.h> and <bp-asm.h>.
8571 (__strnlen): Don't use BP_SYM.
8572 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8574 (__mpn_rshift): Don't use BP_SYM.
8575 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8576 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8577 <bp-sym.h> and <bp-asm.h>.
8578 (__sigsetjmp): Don't use BP_SYM.
8579 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8580 (L(start_addresses)): Don't use BP_SYM.
8582 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8584 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8585 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8586 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8587 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8589 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8590 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8591 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8592 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8594 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8596 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8597 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8599 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8601 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8602 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8603 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8605 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8607 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8609 (strncmp): Don't use BP_SYM,
8610 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8612 (__mpn_sub_n): Don't use BP_SYM.
8613 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8614 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8616 (__mpn_submul_1): Don't use BP_SYM.
8617 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8619 <bp-sym.h> and <bp-asm.h>.
8620 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8622 <bp-sym.h> and <bp-asm.h>.
8623 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8626 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8629 Use ZK to minimize writes to Z.
8630 (sub_magnitudes): Simplify code a bit.
8631 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8632 Use ZK to minimize writes to Z.
8633 (sub_magnitudes): Simplify code a bit.
8635 2013-02-27 Roland McGrath <roland@hack.frob.com>
8637 * csu/gmon-start.c: Add special exception to license text.
8639 2013-02-27 Richard Henderson <rth@redhat.com>
8641 * scripts/config.guess: Update from config.git.
8642 * scripts/config.sub: Likewise.
8644 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8646 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8648 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8650 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8652 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8654 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8656 2013-02-26 Roland McGrath <roland@hack.frob.com>
8658 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8659 [$(build-shared = yes].
8661 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8663 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8664 (__mul): Reduce iterations for calculating mantissa.
8666 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8668 (__mpranred): Likewise.
8671 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8672 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8674 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8676 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8677 Define __attribute__.
8679 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8681 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8683 * posix/regex_internal.h (__attribute): Remove.
8684 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8685 (re_string_context_at): Likewise.
8686 (bitset_not): Use __attribute__ and mark function as possibly
8688 (bitset_merge): Likewise.
8689 (bitset_mask): Likewise.
8690 (re_string_char_size_at): Likewise.
8691 (re_string_wchar_at): Likewise.
8692 (re_string_elem_size_at): Likewise.
8694 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8696 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8700 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8705 (__dbl_mp): Likewise.
8706 (add_magnitudes): Likewise.
8707 (sub_magnitudes): Likewise.
8711 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8714 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8717 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8721 up changes with default code.
8722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8725 2013-02-24 Allan McRae <allan@archlinux.org>
8727 * manual/socket.texi (The Internet Namespace): Order menu items
8728 to match that in the file.
8730 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8731 node listing of the info page menu.
8733 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8736 * sysdeps/i386/bp-asm.h: Remove file.
8737 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8738 (PARMS): Do not use macros from bp-asm.h.
8742 (__mpn_add_n): Do not use BP_SYM
8743 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8745 (PARMS): Do not use macros from bp-asm.h.
8748 (__mpn_addmul_1): Do not use BP_SYM
8749 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8751 (PARMS): Do not use macros from bp-asm.h.
8753 (_setjmp): Likewise. Do not use BP_SYM.
8754 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8756 (PARMS): Do not use macros from bp-asm.h.
8758 (setjmp): Likewise. Do not use BP_SYM.
8759 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8761 (PARMS): Do not use macros from bp-asm.h.
8762 (__frexp): Do not use BP_SYM.
8764 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8766 (PARMS): Do not use macros from bp-asm.h.
8767 (__frexpf): Do not use BP_SYM.
8769 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8771 (PARMS): Do not use macros from bp-asm.h.
8772 (__frexpl): Do not use BP_SYM.
8774 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8776 (PARMS): Do not use macros from bp-asm.h.
8777 (__remquo): Do not use BP_SYM.
8779 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8781 (PARMS): Do not use macros from bp-asm.h.
8782 (__remquof): Do not use BP_SYM.
8783 (remquof): Likewise.
8784 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8786 (PARMS): Do not use macros from bp-asm.h.
8787 (__remquol): Do not use BP_SYM.
8788 (remquol): Likewise.
8789 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8791 (PARMS): Do not use macros from bp-asm.h.
8794 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8795 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8797 (PARMS): Do not use macros from bp-asm.h.
8798 (strlen): Do not use BP_SYM.
8799 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8801 (PARMS): Do not use macros from bp-asm.h.
8805 (__mpn_add_n): Do not use BP_SYM.
8806 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8808 (PARMS): Do not use macros from bp-asm.h.
8811 (__mpn_addmul_1): Do not use BP_SYM.
8812 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8815 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8817 (PARMS): Do not use macros from bp-asm.h.
8820 (__mpn_lshift): Do not use BP_SYM.
8821 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8823 (PARMS): Do not use macros from bp-asm.h.
8827 (memcpy): Likewise. Do not use BP_SYM.
8828 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8829 libc_hidden_def and weak_alias.
8830 (mempcpy): Do not use BP_SYM in weak_alias.
8831 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8833 (PARMS): Do not use macros from bp-asm.h.
8836 [!BZERO_P] (CHR): Likewise.
8837 (memset): Likewise. Do not use BP_SYM.
8838 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8840 (PARMS): Do not use macros from bp-asm.h.
8843 (__mpn_mul_1): Do not use BP_SYM.
8844 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8846 (PARMS): Do not use macros from bp-asm.h.
8849 (__mpn_rshift): Do not use BP_SYM.
8850 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8852 (PARMS): Do not use macros from bp-asm.h.
8855 (strchr): Likewise. Do not use BP_SYM.
8856 (index): Do not use BP_SYM in weak_alias.
8857 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8859 (PARMS): Do not use macros from bp-asm.h.
8862 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8863 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8865 (PARMS): Do not use macros from bp-asm.h.
8866 (strlen): Do not use BP_SYM.
8867 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8869 (PARMS): Do not use macros from bp-asm.h.
8873 (__mpn_sub_n): Do not use BP_SYM.
8874 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8876 (PARMS): Do not use macros from bp-asm.h.
8879 (__mpn_submul_1): Do not use BP_SYM.
8880 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8882 (PARMS): Do not use macros from bp-asm.h.
8886 (__mpn_add_n): Do not use BP_SYM.
8887 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8890 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8892 (PARMS): Do not use macros from bp-asm.h.
8895 (memcmp): Do not use BP_SYM.
8896 (bcmp): Do not use BP_SYM in weak_alias.
8897 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8899 (PARMS): Do not use macros from bp-asm.h.
8903 (memcpy): Likewise. Do not use BP_SYM.
8904 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8906 (PARMS): Do not use macros from bp-asm.h.
8910 (memmove): Likewise. Do not use BP_SYM.
8911 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8913 (PARMS): Do not use macros from bp-asm.h.
8917 (__mempcpy): Likewise. Do not use BP_SYM.
8918 (mempcpy): Do not use BP_SYM in weak_alias.
8919 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8921 (PARMS): Do not use macros from bp-asm.h.
8924 [!BZERO_P] (CHR): Likewise.
8925 (memset): Likewise. Do not use BP_SYM.
8926 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8928 (PARMS): Do not use macros from bp-asm.h.
8930 (strcmp): Do not use BP_SYM.
8931 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8933 (PARMS): Do not use macros from bp-asm.h.
8936 [USE_AS_STRTOK_R] (SAVE): Likewise.
8937 (FUNCTION): Likewise. Do not use BP_SYM.
8938 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8940 (strtok_r): Likewise.
8941 (__GI___strtok_r): Likewise.
8942 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8943 (PARMS): Do not use macros from bp-asm.h.
8946 (__mpn_lshift): Do not use BP_SYM.
8947 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8948 (PARMS): Do not use macros from bp-asm.h.
8951 (__memchr): Do not use BP_SYM.
8952 (memchr): Do not use BP_SYM in weak_alias.
8953 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8954 (PARMS): Do not use macros from bp-asm.h.
8957 (memcmp): Do not use BP_SYM.
8958 (bcmp): Do not use BP_SYM in weak_alias.
8959 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8960 (PARMS): Do not use macros from bp-asm.h.
8963 (__mpn_mul_1): Do not use BP_SYM.
8964 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8966 (PARMS): Do not use macros from bp-asm.h.
8969 (__rawmemchr): Do not use BP_SYM.
8970 (rawmemchr): Do not use BP_SYM in weak_alias.
8971 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8972 (PARMS): Do not use macros from bp-asm.h.
8975 (__mpn_rshift): Do not use BP_SYM.
8976 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8977 (PARMS): Do not use macros from bp-asm.h.
8979 (__sigsetjmp): Likewise. Do not use BP_SYM.
8980 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8981 (_start): Do not use BP_SYM.
8982 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8983 (PARMS): Do not use macros from bp-asm.h.
8986 (__stpcpy): Likewise. Do not use BP_SYM.
8987 (stpcpy): Do not use BP_SYM in weak_alias.
8988 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8990 (PARMS): Do not use macros from bp-asm.h.
8994 (__stpncpy): Likewise. Do not use BP_SYM.
8995 (stpncpy): Do not use BP_SYM in weak_alias.
8996 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8997 (PARMS): Do not use macros from bp-asm.h.
9000 (strchr): Likewise. Do not use BP_SYM.
9001 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9003 (PARMS): Do not use macros from bp-asm.h.
9006 (__strchrnul): Likewise. Do not use BP_SYM.
9007 (strchrnul): Do not use BP_SYM in weak_alias.
9008 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9010 (PARMS): Do not use macros from bp-asm.h.
9012 (strcspn): Do not use BP_SYM.
9013 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9015 (PARMS): Do not use macros from bp-asm.h.
9018 (strpbrk): Likewise. Do not use BP_SYM.
9019 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9021 (PARMS): Do not use macros from bp-asm.h.
9024 (strrchr): Likewise. Do not use BP_SYM.
9025 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9026 (PARMS): Do not use macros from bp-asm.h.
9028 (strspn): Do not use BP_SYM.
9029 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9030 (PARMS): Do not use macros from bp-asm.h.
9034 (FUNCTION): Likewise. Do not use BP_SYM.
9035 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9037 (strtok_r): Likewise.
9038 (__GI___strtok_r): Likewise.
9039 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9040 (PARMS): Do not use macros from bp-asm.h.
9044 (__mpn_sub_n): Do not use BP_SYM.
9045 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9047 (PARMS): Do not use macros from bp-asm.h.
9050 (__mpn_submul_1): Do not use BP_SYM.
9051 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9053 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9055 (PARMS): Do not use macros from bp-asm.h.
9060 (__clone): Do not use BP_SYM.
9061 (clone): Do not use BP_SYM in weak_alias.
9062 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9064 (PARMS): Do not use macros from bp-asm.h.
9066 (__mmap64): Do not use BP_SYM.
9067 (mmap64): Do not use BP_SYM in weak_alias.
9068 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9069 <bp-sym.h> and <bp-asm.h>.
9070 (PARMS): Do not use macros from bp-asm.h.
9071 (__posix_fadvise64_l64): Do not use BP_SYM.
9072 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9073 (PARMS): Do not use macros from bp-asm.h.
9075 (semtimedop): Do not use BP_SYM.
9076 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9079 2013-02-21 Allan McRae <allan@archlinux.org>
9081 * manual/message.texi (Charset conversion in gettext):
9082 Move @end statement to beginning of line.
9084 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9091 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9096 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9098 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9099 tail-call to the resolved function if pltexit isn't needed.
9101 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9104 or Y being zero as being unlikely.
9105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9108 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9110 * manual/nss.texi (System Databases and Name Service Switch):
9111 Remove frobnicate @pxref.
9113 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9115 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9116 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9118 2013-02-20 Petr Machata <pmachata@redhat.com>
9120 * elf/elf.h (R_ARM_TARGET1): New macro.
9121 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9122 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9123 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9124 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9125 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9126 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9127 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9128 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9129 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9130 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9131 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9132 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9133 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9134 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9135 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9136 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9137 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9138 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9139 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9140 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9141 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9142 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9143 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9144 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9145 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9146 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9147 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9148 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9149 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9150 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9151 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9152 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9153 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9154 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9155 (R_ARM_THM_GOT_BREL12): Likewise.
9156 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9157 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9158 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9159 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9160 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9161 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9162 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9163 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9164 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9166 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9168 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9169 __attribute_used__ to __attribute__ ((unused)).
9171 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9173 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9177 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9179 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9182 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9184 (ENTER): Remove both macro definitions.
9186 (CHECK_BOUNDS_LOW): Likewise.
9187 (CHECK_BOUNDS_HIGH): Likewise.
9188 (CHECK_BOUNDS_BOTH): Likewise.
9189 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9190 (RETURN_BOUNDED_POINTER): Likewise.
9191 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9192 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9193 (POP_ERRNO_LOCATION_RETURN): Likewise.
9194 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9195 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9196 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9198 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9199 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9200 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9201 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9202 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9203 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9204 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9205 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9206 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9207 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9208 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9209 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9210 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9211 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9213 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9214 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9216 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9217 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9218 * sysdeps/i386/i586/memset.S (memset): Likewise.
9219 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9220 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9221 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9223 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9224 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9225 Change uses of L(2) to L(out).
9226 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9227 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9228 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9229 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9230 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9232 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9233 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9235 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9236 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9237 (RETURN): Do not use macro LEAVE.
9238 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9239 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9240 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9241 * sysdeps/i386/i686/memset.S (memset): Likewise.
9242 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9243 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9244 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9245 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9247 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9248 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9249 L(1_2) and L(1_3) into L(1).
9250 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9251 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9252 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9253 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9254 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9255 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9256 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9257 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9258 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9260 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9261 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9262 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9263 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9264 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9265 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9266 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9267 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9268 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9269 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9270 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9271 * sysdeps/i386/strspn.S (strspn): Likewise.
9272 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9274 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9275 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9276 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9277 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9279 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9280 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9281 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9283 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9285 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9287 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9290 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9292 * math/atest-exp.c (exp_mpn): Remove ROUND.
9293 * math/atest-exp2.c (exp_mpn): Likewise.
9294 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9296 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9297 * stdlib/tst-tls-atexit-lib.c: Likewise.
9298 * stdlib/tst-tls-atexit.c: Likewise.
9300 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9302 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9303 and __attribute_alloc_size__.
9305 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9307 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9308 __attribute_alloc_size__.
9309 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9310 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9312 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9314 * include/programs/xmalloc.h: New file.
9315 * catgets/gencat.c: Include it.
9316 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9317 * elf/pldd.c: Likewise.
9318 * iconv/iconv_charmap.c: Likewise.
9319 * iconv/iconvconfig.c: Likewise.
9320 * iconv/strtab.c: Likewise.
9321 * locale/programs/locale.c: Likewise.
9322 * locale/programs/localedef.h: Likewise.
9323 * locale/programs/simple-hash.c: Likewise.
9324 * nscd/nscd.h: Likewise.
9325 * nss/makedb.c: Likewise.
9326 * sysdeps/generic/ldconfig.h: Likewise.
9328 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9330 * Versions.def: Add GLIBC_2.18.
9331 * include/link.h (struct link_map): New member l_tls_dtor_count.
9332 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9333 (__call_tls_dtors): Likewise.
9334 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9335 __cxa_thread_atexit_impl.
9336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9344 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9352 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9353 (tests): Add test case tst-tls-atexit.
9354 (modules-names): Add shared library for tst-tls-atexit.
9355 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9356 (GLIBC_PRIVATE): Add __call_tls_dtors.
9357 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9359 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9360 * stdlib/tst-tls-atexit.c: New test case.
9361 * stdlib/tst-tls-atexit-lib.c: New test case.
9363 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9365 * elf/Versions (ld): Add _dl_find_dso_for_object.
9366 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9367 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9368 (dl_open_worker): Use _dl_find_dso_for_object.
9369 * elf/dl-sym.c (do_sym): Likewise.
9370 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9372 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9374 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9375 Syntactic changes only.
9376 (_dl_runtime_profile): Do a tail-call to the resolved function.
9378 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9381 * sysdeps/x86_64/bp-asm.h: Remove file.
9382 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9383 <bp-sym.h> and <bp-asm.h>.
9384 (__clone): Do not use BP_SYM.
9385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9386 <bp-sym.h> and <bp-asm.h>.
9387 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9388 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9390 (_setjmp): Do not use BP_SYM.
9391 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9393 (setjmp): Do not use BP_SYM.
9394 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9396 (mempcpy): Do not use BP_SYM in weak_alias.
9397 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9399 (strchr): Do not use BP_SYM.
9400 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9402 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9403 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9404 (_start): Do not use BP_SYM.
9405 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9407 (strcat): Do not use BP_SYM.
9408 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9410 (STRCMP): Do not use BP_SYM.
9411 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9413 (STRCPY): Do not use BP_SYM.
9414 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9416 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9418 (FUNCTION): Do not use BP_SYM.
9419 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9421 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9423 2013-02-17 Andreas Jaeger <aj@suse.de>
9425 * time/Versions: Sort entries.
9426 * string/Versions: Likewise.
9427 * resolv/Versions: Likewise.
9428 * posix/Versions: Likewise.
9429 * iconv/Versions: Likewise.
9430 * elf/Versions: Likewise.
9431 * wcsmbs/Versions: Likewise.
9433 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9435 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9436 loop termination condition.
9438 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9439 variable to calculate EZ.
9442 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9443 the lower precision input.
9445 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9448 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9449 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9450 (run-via-rtld-prefix): Do not handle %-bp tests.
9451 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9452 (all-object-suffixes): Remove .ob.
9453 (bppfx): Remove variable.
9454 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9455 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9456 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9457 [$(build-bounded) = yes] (libtype.ob): Likewise.
9458 * Makerules (elide-routines.ob): Remove variable.
9459 (do-tests-clean): Do not handle *-bp.out.
9460 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9461 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9462 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9463 (tests): Do not include $(tests-bp.out).
9464 (xtests): Do not include $(xtests-bp.out).
9465 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9466 [$(build-bounded) = yes] ($(addprefix
9467 $(objpfx),$(binaries-bounded))): Remove rule.
9468 ($(objpfx)%-bp.out): Remove rule.
9469 * config.make.in (build-bounded): Remove variable.
9470 * crypt/Makefile [$(build-bounded) = yes]
9471 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9472 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9474 [$(build-bounded) = yes] (install-lib): Likewise.
9475 [$(build-bounded) = yes] (generated): Likewise.
9476 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9478 * intl/Makefile [$(build-bounded) = yes]
9479 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9480 * math/Makefile [$(build-bounded) = yes]
9481 ($(tests:%=$(objpfx)%-bp): Likewise.
9482 * misc/Makefile [$(build-bounded) = yes]
9483 ($(objpfx)tst-tsearch-bp): Likewise.
9484 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9485 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9487 * string/Makefile (o-objects.ob): Remove variable.
9488 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9489 (CFLAGS-.ob): Remove variable.
9490 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9491 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9492 both definitions of variable.
9493 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9494 (ASFLAGS-.ob): Remove variable.
9496 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9499 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9500 Remove __BOUNDED_POINTERS__ from condition.
9501 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9502 * string/bits/string2.h [!__NO_STRING_INLINES &&
9503 !__BOUNDED_POINTERS__]: Likewise.
9504 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9506 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9507 Remove conditional code.
9508 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9509 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9510 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9514 * csu/libc-start.c: Do not include <bp-sym.h>.
9515 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9516 * elf/dl-open.c: Do not include <bp-sym.h>.
9517 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9518 * math/fegetenv.c: Do not include <bp-sym.h>.
9519 (fegetenv): Do not use BP_SYM in versioned symbols.
9520 * nptl/sysdeps/pthread/bits/libc-lockP.h
9521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9524 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9526 (__pthread_mutex_destroy): Likewise.
9527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9528 (__pthread_mutex_lock): Likewise.
9529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9530 (__pthread_mutex_trylock): Likewise.
9531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9532 (__pthread_mutex_unlock): Likewise.
9533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9534 (__pthread_mutexattr_init): Likewise.
9535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9536 (__pthread_mutexattr_destroy): Likewise.
9537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9538 (__pthread_mutexattr_settype): Likewise.
9539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9540 (__pthread_rwlock_init): Likewise.
9541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9542 (__pthread_rwlock_destroy): Likewise.
9543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9544 (__pthread_rwlock_rdlock): Likewise.
9545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9546 (__pthread_rwlock_tryrdlock): Likewise.
9547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9548 (__pthread_rwlock_wrlock): Likewise.
9549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9550 (__pthread_rwlock_trywrlock): Likewise.
9551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9552 (__pthread_rwlock_unlock): Likewise.
9553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9554 (__pthread_key_create): Likewise.
9555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9556 (__pthread_setspecific): Likewise.
9557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9558 (__pthread_getspecific): Likewise.
9559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9562 (_pthread_cleanup_push_defer): Likewise.
9563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9564 (_pthread_cleanup_pop_restore): Likewise.
9565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9566 (pthread_setcancelstate): Likewise.
9567 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9569 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9570 (memchr): Do not use BP_SYM in weak_alias.
9571 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9572 (fegetenv): Do not use BP_SYM in versioned symbols.
9573 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9574 (fesetenv): Do not use BP_SYM in versioned symbols.
9575 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9576 (feupdateenv): Do not use BP_SYM in versioned symbols.
9577 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9578 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9579 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9580 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9581 (open64): Do not use BP_SYM in weak_alias.
9582 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9583 (fegetenv): Do not use BP_SYM in versioned symbols.
9584 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9585 (fesetenv): Do not use BP_SYM in versioned symbols.
9586 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9587 (feupdateenv): Do not use BP_SYM in versioned symbols.
9588 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9589 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9590 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9591 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9592 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9593 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9594 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9596 (__libc_start_main): Do not use BP_SYM.
9598 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9600 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9601 redundant return line.
9605 (sub_magnitudes): Likewise.
9611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9615 (sub_magnitudes): Likewise.
9622 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9624 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9625 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9628 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9629 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9630 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9631 of __mul for squares.
9632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9636 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9637 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9639 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9642 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9644 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9645 prototype or function definition. Rename ubp_* variables and
9646 parameters. Remove argv definitions conditional on
9647 [__BOUNDED_POINTERS__].
9648 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9649 * elf/dl-runtime.c (_dl_fixup): Likewise.
9650 * include/set-hooks.h (RUN_HOOK): Likewise.
9651 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9653 * string/strcpy.c (strcpy): Do not use __unbounded.
9654 * sysdeps/generic/frame.h (struct layout): Likewise.
9655 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9656 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9657 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9658 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9659 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9660 (__backtrace): Likewise.
9661 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9663 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9664 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9665 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9667 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9668 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9669 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9670 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9671 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9672 Do not use __unbounded.
9673 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9674 Rename __unboundedrlimits parameter to rlimits in prototype.
9675 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9676 Do not use __unbounded.
9677 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9679 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9680 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9681 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9682 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9683 __ptrvalue or __unbounded.
9684 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9685 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9687 (__new_msgctl): Do not use __ptrvalue.
9688 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9690 (__libc_msgrcv): Do not use __ptrvalue.
9691 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9692 startup_info): Do not use __unbounded.
9693 (__libc_start_main): Likewise. Rename ubp_* variables and
9694 parameters. Remove argv definitions conditional on
9695 [__BOUNDED_POINTERS__].
9696 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9698 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9700 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9702 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9704 (__new_shmctl): Do not use __ptrvalue.
9705 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9706 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9708 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9709 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9710 (__libc_sigaction): Likewise.
9711 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9712 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9714 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9716 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9718 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9720 * string/mempcpy.c: Implement by calling memcpy.
9722 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9729 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9730 values in the mantissa.
9732 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9733 minimize writes to Z.
9734 (sub_magnitudes): Simplify code a bit.
9736 2013-02-12 Roland McGrath <roland@hack.frob.com>
9738 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9739 from the message. The linker prefixes all warnings with that already.
9741 2013-02-12 Andreas Schwab <schwab@suse.de>
9744 * posix/regexec.c (extend_buffers): Add parameter min_len.
9745 (check_matching): Pass minimum needed length.
9746 (clean_state_log_if_needed): Likewise.
9747 (get_subexp): Likewise.
9748 * posix/Makefile (tests): Add bug-regex34.
9749 (bug-regex34-ENV): Define.
9750 * posix/bug-regex34.c: New file.
9753 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9754 elements compare against the byte sequence of it, not its name.
9755 * posix/Makefile (tests): Add bug-regex35.
9756 (bug-regex35-ENV): Define.
9757 * posix/bug-regex35.c: New file.
9759 2013-02-11 Tom de Vries <tom@codesourcery.com>
9761 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9763 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9764 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9765 (CHECK_EOL): Add undef.
9767 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9769 * bits/stdlib-bsearch.h: New file.
9770 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9771 * stdlib/stdlib.h: Likewise.
9773 2013-02-11 Roland McGrath <roland@hack.frob.com>
9775 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9776 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9778 * manual/search.texi (Array Search Function): Add missing const in
9780 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9781 declaration to use rlim_t.
9782 (Basic Scheduling Functions): Remove erroneous const from
9783 sched_getparam prototype. Remove erroneous * from
9784 sched_get_priority_max and sched_get_priority_min prototypes.
9785 (Resource Usage): Fix summary @comment on vtimes to refer to
9786 sys/vtimes.h rather than vtimes.h.
9787 Add missing *s in vtimes prototype.
9788 (Limits on Resources): Fix ulimit prototype to return long int.
9789 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9790 prototypes to use long int rather than double.
9791 (BSD Random): Fix initstate and setstate to use char *, not void *.
9792 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9793 prototype to make second argument 'struct aiocb64 *const[]'.
9794 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9795 (Status of AIO Operations): Remove erroneous const in aio_return and
9796 aio_return64 prototypes.
9797 (Synchronizing I/O): Fix sync prototype to return void.
9798 * manual/startup.texi (Suboptions): Remove an erroneous const in
9799 getsubopt prototype.
9800 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9801 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9802 use size_t rather than int.
9803 (Scanning All Users): Likewise for getpwent_r.
9804 (Setting Groups): Add missing const to setgroups prototype.
9805 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9806 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9807 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9808 'const void *' rather than 'const char *'.
9809 (Host Address Functions): Likewise for inet_ntop.
9810 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9811 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9812 ssize_t for return value.
9813 (Sending Data): Likewise for send, sendto, sendmsg.
9814 (Socket Option Functions): Add a missing const in setsockopt prototype.
9815 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9816 use wchar_t for the argument.
9817 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9818 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9820 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9821 double/float/long double for second argument.
9822 Fix return types of significand, significandf, significandl.
9823 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9824 argument in fchmod prototype.
9825 (File Owner): Use uid_t and gid_t in fchown prototype.
9826 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9827 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9828 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9829 use 'const struct dirent **' as argument types to CMP function pointer
9831 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9832 (File Times): Fix summary magic @comment for struct utimbuf and utime
9833 to refer to utime.h, not time.h.
9834 * manual/string.texi (Argz Functions): Add missing const in
9835 argz_extract and argz_next prototypes.
9836 (Finding Tokens in a String): Likewise for basename.
9837 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9838 (Copying and Concatenation): Fix typo in wmemmove prototype.
9839 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9840 (Signal Stack): Remove erroneous const in sigstack prototype.
9841 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9843 (Simple Calendar Time): Likewise for stime.
9844 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9846 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9847 say sys/sysctl.h instead.
9848 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9849 and vsyslog prototypes.
9851 2013-02-11 Tom de Vries <tom@codesourcery.com>
9853 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9856 2013-02-11 Roland McGrath <roland@hack.frob.com>
9858 * misc/sys/mman.h: Fix typo in mremap comment.
9860 2013-02-08 Roland McGrath <roland@hack.frob.com>
9862 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9863 the '\0' terminator.
9865 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9868 * debug/segfault.c: Don't include <bp-checks.h>.
9869 * sysdeps/generic/bp-checks.h: Remove file.
9870 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9871 (__GETDENTS): Don't use CHECK_N.
9872 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9873 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9874 (__getgroups): Don't use CHECK_N.
9875 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9876 (setgroups): Don't use CHECK_N.
9877 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9878 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9879 (__libc_msgrcv): Don't use CHECK_N.
9880 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9881 (__libc_msgsnd): Don't use CHECK_N.
9882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9884 (__libc_pread): Don't use CHECK_N.
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9886 include <bp-checks.h>.
9887 (__libc_pread64): Don't use CHECK_N.
9888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9889 include <bp-checks.h>.
9890 (__libc_pwrite): Don't use CHECK_N.
9891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9892 include <bp-checks.h>.
9893 (__libc_pwrite64): Don't use CHECK_N.
9894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9896 (__libc_pread): Don't use CHECK_N.
9897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9898 include <bp-checks.h>.
9899 (__libc_pread64): Don't use CHECK_N.
9900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9901 include <bp-checks.h>.
9902 (__libc_pwrite): Don't use CHECK_N.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9904 include <bp-checks.h>.
9905 (__libc_pwrite64): Don't use CHECK_N.
9906 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9907 (do_pread): Don't use CHECK_N.
9908 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9909 (do_pread64): Don't use CHECK_N.
9910 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9911 (do_pwrite): Don't use CHECK_N.
9912 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9913 (do_pwrite64): Don't use CHECK_N.
9914 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9915 (__libc_readv): Don't use CHECK_N.
9916 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9917 (semop): Don't use CHECK_N.
9918 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9920 (semtimedop): Don't use CHECK_N.
9921 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9922 (__libc_pread): Don't use CHECK_N.
9923 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9925 (__libc_pread64): Don't use CHECK_N.
9926 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9928 (__libc_pwrite): Don't use CHECK_N.
9929 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9931 (__libc_pwrite64): Don't use CHECK_N.
9932 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9934 (__libc_msgrcv): Don't use CHECK_N.
9935 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9936 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9937 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9938 (__libc_writev): Don't use CHECK_N.
9940 2013-02-08 Roland McGrath <roland@hack.frob.com>
9942 * string/strcpy.c: Removed unused variable.
9944 * Makeconfig (+sysdep-includes): Define with := rather than =.
9945 Use an existing include/ subdir of each sysdeps dir before it.
9947 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9949 * nscd/connection.c (register_traced_file): Comment function.
9950 [HAVE_INOTIFY] (union __inev): Define.
9951 [HAVE_INOTIFY] (inotify_check_files): New function.
9952 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9953 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9955 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9957 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9959 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9960 loaded if not already and that a failure is permanent.
9962 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9965 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9966 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9968 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9971 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9972 (CHECK_1_NULL_OK): Likewise.
9973 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9974 (__fxstat): Do not use CHECK_1.
9975 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9977 (___fxstat64): Do not use CHECK_1.
9978 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9980 (__fxstatat): Do not use CHECK_1.
9981 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9983 (__fxstatat64): Do not use CHECK_1.
9984 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9986 (__fxstat): Do not use CHECK_1.
9987 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9989 (__fxstatat): Do not use CHECK_1.
9990 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9992 (__getresgid): Do not use CHECK_1.
9993 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9995 (__getresuid): Do not use CHECK_1.
9996 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9998 (__lxstat): Do not use CHECK_1.
9999 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10001 (__old_msgctl): Do not use CHECK_1.
10002 (__new_msgctl): Likewise.
10003 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10005 (__new_setrlimit): Do not use CHECK_1.
10006 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10008 (__old_shmctl): Do not use CHECK_1.
10009 (__new_shmctl): Likewise.
10010 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10012 (__xstat): Do not use CHECK_1.
10013 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10014 (__lxstat): Do not use CHECK_1.
10015 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10017 (___lxstat64): Do not use CHECK_1.
10018 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10019 (__old_msgctl): Do not use CHECK_1.
10020 (__new_msgctl): Likewise.
10021 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10023 (__gettimeofday): Do not use CHECK_1.
10024 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10025 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10026 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10028 (__gettimeofday): Do not use CHECK_1.
10029 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10030 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10031 (__new_shmctl): Do not use CHECK_1.
10032 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10034 (do_sigtimedwait): Do not use CHECK_1.
10035 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10037 (do_sigwaitinfo): Do not use CHECK_1.
10038 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10040 (msgctl): Do not use CHECK_1.
10041 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10043 (shmctl): Do not use CHECK_1.
10044 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10045 (ustat): Do not use CHECK_1.
10046 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10048 (__fxstat): Do not use CHECK_1.
10049 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10051 (__fxstatat): Do not use CHECK_1.
10052 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10054 (__lxstat): Do not use CHECK_1.
10055 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10057 (__xstat): Do not use CHECK_1.
10058 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10059 (__xstat): Do not use CHECK_1.
10060 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10061 (___xstat64): Do not use CHECK_1.
10064 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10066 (CHECK_BOUNDS_HIGH): Likewise.
10067 * string/strcpy.c: Do not include <bp-checks.h>.
10068 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10070 2013-02-07 Roland McGrath <roland@hack.frob.com>
10072 * nscd/nscd-client.h (__nscd_drop_map_ref):
10073 Add __attribute__ ((unused)).
10074 * nis/nss-nisplus.h (niserr2nss): Likewise.
10076 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10077 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10079 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10080 Remove inline keyword.
10081 * include/rounding-mode.h (round_away): Likewise.
10082 * libio/wfileops.c (adjust_wide_data): Likewise.
10083 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10084 (__m128i_strloadu_tolower): Likewise.
10085 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10086 (__m128i_strloadu_tolower): Likewise.
10087 * time/mktime.c (ydhms_diff): Likewise.
10088 * locale/elem-hash.h (elem_hash): Likewise.
10089 * locale/setlocale.c (setdata): Likewise.
10090 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10091 (re_string_wchar_at): Likewise.
10092 (bitset_not, bitset_merge, bitset_mask): Likewise.
10093 [!(__GNUC__ > 3)] (inline): Remove macro.
10094 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10095 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10096 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10097 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10098 * string/memcmp.c (memcmp_bytes): Likewise.
10099 * locale/programs/locarchive.c (compute_hashval): Likewise.
10100 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10101 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10102 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10103 * nss/getent.c (print_rpc, print_protocols): Likewise.
10104 (print_passwd, print_group, print_aliases): Likewise.
10105 * nis/nss-nisplus.h (niserr2nss): Likewise.
10106 * nscd/connections.c (restart_p): Likewise.
10107 Change return type to bool.
10109 2013-02-05 Roland McGrath <roland@hack.frob.com>
10111 * Makeconfig (all-Depend-files): Add existing
10112 $(sorted-subdirs:=/Depend) files.
10113 (all-subdirs): Remove nss.
10114 * sysdeps/unix/inet/Subdirs: Add it here instead.
10115 * hesiod/Depend: New file.
10117 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10118 instead of calling alloca.
10120 * io/lseek.c (__lseek): Rename to __libc_lseek.
10121 Define __lseek as an alias.
10123 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10125 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10127 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10128 else clause and remove check for non-standard endianness.
10130 2013-02-04 David S. Miller <davem@davemloft.net>
10132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10134 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10137 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10138 (__ubp_memchr): Remove prototype.
10139 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10140 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10141 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10142 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10143 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10145 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10146 (__ubp_memchr): Likewise.
10147 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10148 (__ubp_memchr): Likewise.
10149 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10150 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10151 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10152 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10154 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10155 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10156 (__getcwd): Do not use CHECK_STRING.
10157 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10159 (__real_chown): Do not use CHECK_STRING.
10160 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10162 (fchownat): Do not use CHECK_STRING.
10163 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10165 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10167 (__lchown): Do not use CHECK_STRING.
10168 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10169 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10170 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10171 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10173 include <bp-checks.h>.
10174 (truncate64): Do not use CHECK_STRING.
10175 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10177 (__real_chown): Do not use CHECK_STRING.
10178 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10180 (__lchown): Do not use CHECK_STRING.
10181 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10183 (__chown): Do not use CHECK_STRING.
10184 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10186 (truncate64): Do not use CHECK_STRING.
10187 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10189 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10190 (__xmknod): Do not use CHECK_STRING.
10191 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10193 (__xmknodat): Do not use CHECK_STRING.
10194 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10195 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10197 2013-02-04 Andreas Schwab <schwab@suse.de>
10200 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10201 * include/netdb.h: Likewise for h_errno.
10202 * elf/tst-stackguard1.c: Include <tls.h>.
10204 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10206 * elf/link.h (struct link_map): Extend the l_addr comment.
10207 * include/link.h (struct link_map): Likewise.
10209 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10212 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10213 (BOUNDED_1): Remove macro.
10214 * debug/backtrace.c: Don't include <bp-checks.h>.
10215 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10216 (__backtrace): Likewise.
10217 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10219 (__backtrace): Don't use BOUNDED_1.
10220 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10222 (__backtrace): Don't use BOUNDED_1.
10223 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10224 (__backtrace): Don't use BOUNDED_1.
10225 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10226 (shmat): Don't use BOUNDED_N.
10228 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10231 * sysdeps/generic/bp-start.h: Remove file.
10232 * csu/libc-start.c: Don't include <bp-start.h>.
10233 (LIBC_START_MAIN): Set up __environ directly instead of using
10234 INIT_ARGV_and_ENVIRON.
10235 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10239 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10241 (CHECK_FCNTL): Likewise.
10242 (CHECK_N_PAGES): Likewise.
10245 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10247 (CHECK_SIGSET_NULL_OK): Likewise.
10248 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10250 (sigpending): Don't use CHECK_SIGSET.
10251 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10253 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10254 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10256 (do_sigsuspend): Don't use CHECK_SIGSET.
10257 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10259 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10260 (do_sigwait): Don't use CHECK_SIGSET.
10261 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10263 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10264 include <bp-checks.h>.
10265 (sigpending): Don't use CHECK_SIGSET.
10266 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10267 include <bp-checks.h>.
10268 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10269 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10271 (sigpending): Don't use CHECK_SIGSET.
10272 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10274 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10277 * sysdeps/generic/bp-semctl.h: Remove file.
10278 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10279 <bp-checks.h> and <bp-semctl.h>.
10280 (__old_semctl): Don't use CHECK_SEMCTL.
10281 (__new_semctl): Likewise.
10282 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10284 (__old_semctl): Don't use CHECK_SEMCTL.
10285 (__new_semctl): Likewise.
10286 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10287 <bp-checks.h> and <bp-semctl.h>.
10288 (__old_semctl): Don't use CHECK_SEMCTL.
10289 (__new_semctl): Likewise.
10290 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10291 <bp-checks.h> and <bp-semctl.h>.
10292 (semctl): Don't use CHECK_SEMCTL.
10295 * Makerules (elide-bp-thunks): Remove variable.
10296 (elide-routines.oS): Don't use $(elide-bp-thunks).
10297 (elide-routines.os): Likewise.
10298 (elide-routines.o): Likewise.
10299 (elide-routines.op): Likewise.
10300 (elide-routines.og): Likewise.
10301 (objects): Don't use $(bp-thunks).
10302 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10304 (common-generated): Do not add s-proto-bp.d.
10305 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10308 Do not generate makefile rules for bounded-pointer thunks.
10309 * sysdeps/generic/bp-thunks.h: Remove file.
10310 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10311 * sysdeps/unix/s-proto-bp.S: Likewise.
10314 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10315 parts of result separately when argument is not close to line from
10316 -i to i and one part of argument is small.
10317 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10318 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10319 * math/libm-test.inc (cacos_test): Add more tests.
10320 (casin_test): Likewise.
10321 (casinh_test): Likewise.
10322 * sysdeps/i386/fpu/libm-test-ulps: Update.
10323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10325 2013-01-31 David S. Miller <davem@davemloft.net>
10327 * po/de.po: Update from translation team.
10329 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10331 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10333 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10335 * configure.in (_AC_PROG_CC_C89): New definition.
10336 * configure: Regenerate.
10338 * configure.in (AC_PROG_CPP): New definition.
10339 * configure: Regenerate.
10341 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10343 * debug/tst-backtrace.h: New file.
10344 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10345 (ret): Remove variable.
10347 (FAIL): Remove macro.
10348 (NO_INLINE): Likewise.
10349 (fn1): Use match function instead of strstr.
10350 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10351 (ret): Remove variable.
10353 (FAIL): Remove macro.
10354 (NO_INLINE): Likewise.
10355 (fn): Use match function instead of strstr.
10356 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10357 (ret): Remove variable.
10359 (FAIL): Remove macro.
10360 (NO_INLINE): Likewise.
10361 (handle_signal): Use match function instead of strstr.
10362 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10363 (ret): Remove variable.
10365 (FAIL): Remove macro.
10366 (NO_INLINE): Likewise.
10367 (handle_signal): Use match function instead of strstr.
10369 2013-01-23 Roland McGrath <roland@hack.frob.com>
10371 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10373 2013-01-23 David S. Miller <davem@davemloft.net>
10375 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10376 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10377 argument of CAS if possible.
10378 * sysdeps/sparc/sparc64/bits/atomic.h
10379 (__arch_compare_and_exchange_val_32_acq): Likewise.
10380 (__arch_compare_and_exchange_val_64_acq): Likewise.
10382 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10384 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10385 * sysdeps/posix/ulimit.c: ... this.
10386 Include <limits.h>.
10387 * sysdeps/unix/bsd/ulimit.c: Remove file.
10389 2013-01-23 Adam Conrad <adconrad@0c3.net>
10391 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10392 (LDFLAGS-tst-array5): Likewise.
10394 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10397 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10398 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10399 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10400 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10402 2013-01-21 David S. Miller <davem@davemloft.net>
10404 * sysdeps/sparc/backtrace.c: New file.
10405 * sysdeps/sparc/sparc32/backtrace.h: New file.
10406 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10407 * sysdeps/sparc/sparc64/backtrace.h: New file.
10408 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10409 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10412 2013-01-21 Andreas Schwab <schwab@suse.de>
10415 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10418 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10424 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10425 Mark Mitchell <mark@codesourcery.com>
10426 Tom de Vries <tom@codesourcery.com>
10427 Paul Pluzhnikov <ppluzhnikov@google.com>
10429 * debug/tst-backtrace2.c: New file.
10430 * debug/tst-backtrace3.c: Likewise.
10431 * debug/tst-backtrace4.c: Likewise.
10432 * debug/tst-backtrace5.c: Likewise.
10433 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10434 (CFLAGS-tst-backtrace3.c): Likewise.
10435 (CFLAGS-tst-backtrace4.c): Likewise.
10436 (CFLAGS-tst-backtrace5.c): Likewise.
10437 (LDFLAGS-tst-backtrace2): Likewise.
10438 (LDFLAGS-tst-backtrace3): Likewise.
10439 (LDFLAGS-tst-backtrace4): Likewise.
10440 (LDFLAGS-tst-backtrace5): Likewise.
10441 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10442 tst-backtrace4 and tst-backtrace5.
10444 2013-01-18 Anton Blanchard <anton@samba.org>
10445 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10447 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10448 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10449 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10450 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10452 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10453 "+r" and remove output regs list as redundant. Add explicit inline
10454 asm to specify register of return val to work around compiler codegen
10455 bug. Remove (int) cast on return value. Add return type parameter to
10456 use in macro so that this macro does not truncate return value for
10458 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10459 pass to INTERNAL_VSYSCALL_NCS.
10460 (INLINE_VSYSCALL): Add 'long int' as return type to
10461 INTERNAL_VSYSCALL_NCS macro invocation.
10462 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10463 INTERNAL_VSYSCALL_NCS macro invocation.
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10466 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10469 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10470 Fix application of SIMD FP exception mask.
10472 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10473 mp_no from a power of two.
10474 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10475 __mpexp_twomm1. Use __pow_mp.
10477 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10480 2013-01-17 David S. Miller <davem@davemloft.net>
10482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10484 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10487 * include/complex.h: Condition contents on [!_COMPLEX_H].
10488 (__kernel_casinhf): New prototype.
10489 (__kernel_casinh): Likewise.
10490 (__kernel_casinhl): Likewise.
10491 * math/Makefile (libm_calls): Add k_casinh.
10492 * math/k_casinh.c: New file.
10493 * math/k_casinhf.c: Likewise.
10494 * math/k_casinhl.c: Likewise.
10495 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10496 finite nonzero arguments.
10497 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10498 finite nonzero arguments.
10499 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10500 finite nonzero arguments.
10501 * math/s_casinh.c: Do not include <float.h>.
10502 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10503 * math/s_casinhf.c: Do not include <float.h>.
10504 (__casinhf): Move code for finite nonzero arguments to
10506 * math/s_casinhl.c: Do not include <float.h>.
10507 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10509 (__casinhl): Move code for finite nonzero arguments to
10511 * math/libm-test.inc (cacos_test): Add more tests.
10512 * sysdeps/i386/fpu/libm-test-ulps: Update.
10513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10515 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10517 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10518 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10519 [!HAVE_MREMAP]: Remove [defined linux] case.
10520 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10522 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10524 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10526 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10528 * elf/elf.h (R_386_SIZE32): New relocation.
10529 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10531 (elf_machine_rela): Likewise.
10532 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10533 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10535 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10537 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10538 (FP_FAST_FMA): Do not define.
10539 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10540 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10541 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10542 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10543 !_SOFT_FLOAT]: Likewise.
10544 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10545 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10547 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10548 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10549 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10550 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10551 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10552 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10555 2013-01-16 Andreas Schwab <schwab@suse.de>
10558 * include/stdlib.h (__mktemp): Add declaration.
10559 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10560 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10562 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10564 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10566 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10567 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10568 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10570 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10571 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10573 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10575 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10576 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10577 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10579 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10580 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10582 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10584 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10586 2013-01-15 David S. Miller <davem@davemloft.net>
10588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10589 trunc{,f} to libm-sysdep_routes.
10590 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10600 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10601 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10602 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10603 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10604 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10605 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10608 nearbyint{,f} to libm-sysdep_routes.
10609 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10620 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10622 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10623 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10625 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10626 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10627 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10629 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10630 libc_feholdexcept and libc_fesetenv.
10632 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10634 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10636 2013-01-14 David S. Miller <davem@davemloft.net>
10638 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10639 (SPARC_ASM_VIS2_IFUNC): Likewise.
10640 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10642 use of 'siam' instruction.
10643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10672 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10674 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10676 routines to libm-sysdep_routines.
10677 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10680 fdim/fdimf to libm-sysdep_routines.
10681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10689 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10690 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10691 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10692 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10694 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10696 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10697 to optimize copies.
10699 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10704 local variable MPTWO.
10705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10708 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10710 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10713 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10715 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10717 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10719 * manual/pattern.texi (glob_t): Document gl_flags.
10720 (glob64_t): Likewise.
10722 2013-01-11 David S. Miller <davem@davemloft.net>
10724 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10725 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10726 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10727 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10728 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10729 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10730 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10731 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10732 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10733 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10734 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10735 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10736 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10738 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10739 sparc V9 rather than using V8 code.
10740 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10741 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10743 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10745 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10748 2013-01-11 Roland McGrath <roland@hack.frob.com>
10750 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10751 not in the main loop.
10752 * configure: Regenerated.
10754 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10756 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10757 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10759 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10760 [!__GLIBC_HAVE_LONG_LONG] case.
10761 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10762 condition to just #else.
10763 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10764 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10765 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10766 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10768 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10769 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10770 #elif condition to just #else.
10771 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10772 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10773 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10774 #elif condition to just #else.
10776 2013-01-11 Steve Ellcey <sellcey@mips.com>
10778 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10779 (EF_MIPS_ARCH_64): Fix value.
10780 (EF_MIPS_ARCH_32R2): New.
10781 (EF_MIPS_ARCH_64R2): New.
10783 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10785 * Makeconfig (+link-pie-before-libc): New.
10786 (+link-pie-after-libc): Likewise.
10787 (+link-pie-tests): Likewise.
10788 (+link-pie): Rewritten.
10789 (link-before-libc): Remove $(config-LDFLAGS).
10790 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10791 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10792 (config-LDFLAGS): Renamed to ...
10793 (rtld-LDFLAGS): This.
10794 (rtld-tests-LDFLAGS): New macro.
10795 (link-libc-rpath-link): Likewise.
10796 (link-libc-tests-rpath-link): Likewise.
10797 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10798 (link-libc): Prepand $(link-libc-rpath-link).
10799 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10800 (test-program-prefix): New macro.
10801 (test-via-rtld-prefix): Likewise.
10802 (test-program-cmd): Likewise.
10803 (host-test-program-cmd): Likewise.
10804 * Makefile ($(common-objpfx)testrun.sh): Replace
10805 $(run-program-prefix) with $(test-program-prefix).
10806 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10808 ($(common-objpfx)shlib.lds): Likewise.
10809 (build-module-helper): Likewise.
10810 ($(common-objpfx)format.lds): Likewise.
10811 * Rules (binaries-pie-tests): New.
10812 (binaries-pie-notests): Likewise.
10813 (binaries-pie): Rewritten.
10814 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10815 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10816 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10817 (make-test-out): Replace $(host-built-program-cmd) with
10818 $(host-test-program-cmd).
10819 * config.make.in (build-hardcoded-path-in-tests): New variable.
10820 * configure.in (--enable-hardcoded-path-in-tests): New configure
10822 (hardcoded_path_in_tests): New AC_SUBST.
10823 * configure: Regenerated.
10824 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10825 $(built-program-cmd) with $(test-program-cmd).
10826 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10827 (test_program_cmd): This.
10828 * elf/Makefile ($(objpfx)order.out): Run test with
10829 $(test-program-prefix).
10830 ($(objpfx)order2.out): Likewise.
10831 ($(objpfx)tst-initorder.out): Likewise.
10832 ($(objpfx)tst-initorder2.out): Likewise.
10833 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10834 $(test-program-cmd).
10835 ($(objpfx)tst-array1-static.out): Likewise.
10836 ($(objpfx)tst-array2.out): Likewise.
10837 ($(objpfx)tst-array3.out): Likewise.
10838 ($(objpfx)tst-array4.out): Likewise.
10839 ($(objpfx)tst-array5.out): Likewise.
10840 ($(objpfx)tst-array5-static.out): Likewise.
10841 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10842 $(test-program-cmd).
10843 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10844 $(run-program-prefix) with $(test-program-prefix).
10845 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10846 (test_program_prefix): This.
10847 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10848 $(run-program-prefix) with $(test-program-prefix).
10849 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10850 (test_program_prefix): This.
10851 * iconvdata/tst-tables.sh: Likewise.
10852 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10853 $(run-program-prefix) with $(test-program-prefix).
10854 ($(objpfx)tst-translit.out): Likewise.
10855 ($(objpfx)tst-gettext2.out): Likewise.
10856 ($(objpfx)tst-gettext4.out): Likewise.
10857 ($(objpfx)tst-gettext6.out): Likewise.
10858 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10859 (test_program_prefix): This.
10860 * intl/tst-gettext2.sh: Likewise.
10861 * intl/tst-gettext4.sh Likewise.
10862 * intl/tst-gettext6.sh: Likewise.
10863 * intl/tst-translit.sh: Likewise.
10864 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10865 with $(test-program-cmd).
10866 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10867 $(run-program-prefix) with $(test-program-prefix).
10868 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10869 (test_program_prefix): This.
10870 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10871 $(run-program-prefix) with $(test-program-prefix).
10872 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10873 (test_program_prefix): This.
10874 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10875 * posix/Makefile ($(objpfx)globtest.out): Replace
10876 $(run-via-rtld-prefix) and $(test-wrapper) with
10877 $(test-program-prefix) and $(test-via-rtld-prefix).
10878 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10879 $(test-program-prefix).
10880 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10881 $(host-test-program-cmd).
10882 (tst-spawn-ARGS): Likewise.
10883 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10884 $(test-program-prefix).
10885 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10886 (test_via_rtld_prefix): This.
10887 (test_wrapper): Renamed to ...
10888 (test_program_prefix): This.
10889 (run_program_prefix): Replaced by test_program_prefix.
10890 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10891 (test_program_prefix): This.
10892 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10893 with $(host-test-program-cmd).
10894 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10895 $(run-program-prefix) with $(test-program-prefix).
10896 ($(objpfx)tst-printf.out): Likewise.
10897 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10898 $(test-program-cmd).
10899 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10900 (test_program_prefix): This.
10901 * stdio-common/tst-unbputc.sh: Likewise.
10902 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10903 $(run-program-prefix) with $(test-program-prefix).
10904 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10905 (test_program_prefix): This.
10906 * string/Makefile ($(objpfx)tst-svc.out): Replace
10907 $(built-program-cmd) with $(test-program-cmd).
10909 2013-01-11 Andreas Jaeger <aj@suse.de>
10912 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10913 value. Sync with Linux 3.7.
10915 2013-01-10 David S. Miller <davem@davemloft.net>
10917 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10918 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10919 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10921 2013-01-10 Roland McGrath <roland@hack.frob.com>
10923 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10925 * configure: Regenerated.
10927 2013-01-10 David S. Miller <davem@davemloft.net>
10929 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10930 sparc V9 rather than using V8 code.
10931 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10932 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10934 2013-01-10 Roland McGrath <roland@hack.frob.com>
10936 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10937 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10938 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10939 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10940 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10941 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10942 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10943 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10944 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10945 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10946 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10947 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10948 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10949 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10950 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10951 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10952 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10953 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10954 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10955 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10956 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10957 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10958 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10959 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10960 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10961 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10962 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10964 2013-01-10 David S. Miller <davem@davemloft.net>
10966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10968 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10970 * posix/Makefile (tests-static): New variable.
10971 (tests): Add $(tests-static).
10972 (tst-exec-static-ARGS): New variable.
10973 (tst-spawn-static-ARGS): Likewise.
10974 * posix/tst-exec-static.c: New file.
10975 * posix/tst-spawn-static.c: Likewise.
10976 * posix/tst-exec.c: Support run directly.
10977 * posix/tst-spawn.c: Likewise.
10979 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10981 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10983 * math/bits/mathcalls.h (llrint): Likewise.
10984 (llround): Likewise.
10985 * stdlib/stdlib.h (struct drand48_data): Likewise.
10986 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10987 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10988 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10990 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10992 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10993 (elf_greg_t): Likewise.
10994 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10995 (__jmp_buf): Likewise.
10996 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10998 (llrint): Likewise, for all definitions.
10999 (llrintl): Likewise.
11001 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11002 Remove [__GNUC__] condition.
11003 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11004 condition to just [__USE_ISOC99].
11005 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11007 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11010 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11011 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11013 (_POSIX_V6_ILP32_OFF32): Likewise.
11014 (_XBS5_ILP32_OFF32): Likewise.
11015 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11016 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11018 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11020 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11022 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11023 doubles __mpexp_twomm1. Adjust usage.
11024 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11027 2013-01-10 Andreas Schwab <schwab@suse.de>
11030 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11031 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11033 2013-01-09 David S. Miller <davem@davemloft.net>
11036 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11037 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11038 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11039 TCP_FASTOPEN): Define.
11040 (tcp_repair_opt): New structure.
11041 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11043 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11044 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11045 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11046 (tcp_cookie_transactions): New structure.
11048 2013-01-09 Anton Blanchard <anton@samba.org>
11050 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11051 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11052 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11053 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11055 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11057 * include/features.h (__USE_ANSI): Remove.
11059 2013-01-09 Roland McGrath <roland@hack.frob.com>
11061 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11063 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11065 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11067 * sysdeps/s390/fpu/libm-test-ulps: Update.
11069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11071 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11075 (denorm): Likewise.
11076 (__mp_dbl): Likewise.
11077 (__dbl_mp): Likewise.
11078 (add_magnitudes): Likewise.
11079 (sub_magnitudes): Likewise.
11085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11089 (denorm): Likewise.
11090 (__mp_dbl): Likewise.
11091 (__dbl_mp): Likewise.
11092 (add_magnitudes): Likewise.
11093 (sub_magnitudes): Likewise.
11099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11103 (denorm): Likewise.
11104 (__mp_dbl): Likewise.
11105 (__dbl_mp): Likewise.
11106 (add_magnitudes): Likewise.
11107 (sub_magnitudes): Likewise.
11114 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11116 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11117 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11118 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11119 2 && __USE_EXTERN_INLINES]: Likewise.
11121 2013-01-08 Andreas Jaeger <aj@suse.de>
11124 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11126 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11127 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11129 2013-01-07 Anton Blanchard <anton@samba.org>
11131 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11132 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11133 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11134 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11135 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11136 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11137 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11138 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11140 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11141 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11142 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11143 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11144 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11145 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11146 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11147 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11148 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11149 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11150 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11151 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11152 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11154 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11155 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11156 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11157 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11158 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11159 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11160 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11161 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11162 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11163 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11164 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11165 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11166 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11167 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11168 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11169 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11170 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11171 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11172 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11173 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11175 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11177 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11178 (__MALLOC_PMT): Likewise.
11179 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11180 [__GNUC__], only on [_LIBC].
11181 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11182 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11183 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11184 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11185 forward declaration.
11186 (realloc_hook_ini): Likewise.
11187 (memalign_hook_ini): Likewise.
11188 (__libc_memalign): Do not use __MALLOC_PMT in variable
11190 (__libc_valloc): Likewise.
11191 (__libc_pvalloc): Likewise.
11192 (__libc_calloc): Likewise.
11193 (__posix_memalign): Likewise.
11196 * math/s_casinh.c: Include <float.h>.
11197 (__casinh): Do not do computation with squaring and square root
11198 for large arguments.
11199 * math/s_casinhf.c: Include <float.h>.
11200 (__casinhf): Do not do computation with squaring and square root
11201 for large arguments.
11202 * math/s_casinhl.c: Include <float.h>.
11203 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11204 (__casinhl): Do not do computation with squaring and square root
11205 for large arguments.
11206 * math/libm-test.inc (casin_test): Add more tests.
11207 (casinh_test): Likewise.
11208 * sysdeps/i386/fpu/libm-test-ulps: Update.
11209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11211 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11213 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11214 (__x86_64_raw_data_cache_size): Likewise.
11215 (__x86_64_data_cache_size_half): Likewise.
11216 (__x86_64_raw_data_cache_size_half): Likewise.
11217 (__x86_64_shared_cache_size): Likewise.
11218 (__x86_64_raw_shared_cache_size): Likewise.
11219 (__x86_64_shared_cache_size_half): Likewise.
11220 (__x86_64_raw_shared_cache_size_half): Likewise.
11221 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11223 (__x86_data_cache_size): This.
11224 (__x86_64_raw_data_cache_size): Renamed to ...
11225 (__x86_raw_data_cache_size): This.
11226 (__x86_64_data_cache_size_half): Renamed to ...
11227 (__x86_data_cache_size_half): This.
11228 (__x86_64_raw_data_cache_size_half): Renamed to ...
11229 (__x86_raw_data_cache_size_half): This.
11230 (__x86_64_shared_cache_size): Renamed to ...
11231 (__x86_shared_cache_size): This.
11232 (__x86_64_raw_shared_cache_size): Renamed to ...
11233 (__x86_raw_shared_cache_size): This.
11234 (__x86_64_shared_cache_size_half): Renamed to ...
11235 (__x86_shared_cache_size_half): This.
11236 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11237 (__x86_raw_shared_cache_size_half): This.
11238 * sysdeps/x86_64/memcpy.S: Updated.
11239 * sysdeps/x86_64/memset.S: Likewise.
11240 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11241 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11242 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11244 2013-01-04 David S. Miller <davem@davemloft.net>
11246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11248 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11250 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11251 1 to avoid redefinition warning.
11252 (__USE_GNU): Don't define.
11253 (init_signaling_nan): Protoize.
11255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11257 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11259 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11261 (__cpymn): Likewise.
11262 (norm): Remove commented code.
11263 (denorm): Likewise.
11264 (__mp_dbl): Likewise.
11266 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11267 (__cpymn): Likewise.
11268 (norm): Remove commented code.
11269 (denorm): Likewise.
11270 (__mp_dbl): Likewise.
11273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11274 mp_no value for 1.0 and 2.0.
11275 (norm): Use RADIXI instead of radixi.d.
11276 (denorm): Likewise.
11277 (__mul): Use 0.0 instead of zero.d.
11278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11279 mp_no value for 1.0 and 2.0.
11280 (norm): Use RADIXI instead of radixi.d.
11281 (denorm): Likewise.
11282 (__mul): Use 0.0 instead of zero.d.
11284 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11287 * math/s_casinh.c (__casinh): Reduce finite argument to first
11288 quadrant then set signs of results at the end.
11289 * math/s_casinhf.c (__casinhf): Likewise.
11290 * math/s_casinhl.c (__casinhl): Likewise.
11291 * math/libm-test.inc (casin_test): Add more tests.
11292 (casinh_test): Likewise.
11293 * sysdeps/i386/fpu/libm-test-ulps: Update.
11294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11296 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11298 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11300 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11302 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11304 (denorm): Likewise.
11305 (__mp_dbl): Likewise.
11308 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11309 and adjust the header comment.
11311 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11312 variable name from declaration.
11314 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11317 Initialize COMMON_CPUID_INDEX_7 element.
11318 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11319 (CPUID_RTM): Likewise.
11320 (HAS_RTM): Likewise.
11321 (COMMON_CPUID_INDEX_7): New enum.
11323 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11326 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11327 size is zero, record memory as freed.
11329 2013-01-03 Andreas Jaeger <aj@suse.de>
11331 * po/ia.po: Add new Interlingua translation.
11333 2012-01-03 Allan McRae <allan@archlinux.org>
11335 * locale/programs/localedef.c: Fix description of '--posix' flag.
11337 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11339 * NEWS: Update dates in second copyright notice.
11340 * README: Update copyright dates in example.
11341 * manual/libc.texinfo: Update copyright dates.
11342 * scripts/test-installation.pl: Update copyright date in --version
11345 * hurd/ctty-input.c: Fix copyright notice formatting.
11346 * hurd/ctty-output.c: Likewise.
11347 * hurd/dtable.c: Likewise.
11348 * hurd/hurd-raise.c: Likewise.
11349 * hurd/hurdprio.c: Likewise.
11350 * hurd/msgportdemux.c: Likewise.
11351 * misc/sys/file.h: Likewise.
11352 * misc/sys/ioctl.h: Likewise.
11353 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11354 * sysdeps/mach/hurd/chdir.c: Likewise.
11355 * sysdeps/mach/hurd/fchdir.c: Likewise.
11356 * sysdeps/mach/hurd/rename.c: Likewise.
11357 * sysdeps/mach/hurd/rmdir.c: Likewise.
11358 * sysdeps/mach/hurd/seekdir.c: Likewise.
11359 * sysdeps/mach/hurd/setsid.c: Likewise.
11360 * sysdeps/posix/wait3.c: Likewise.
11362 * All files with FSF copyright notices: Update copyright dates
11363 using scripts/update-copyrights.
11364 * intl/plural.c: Regenerated.
11365 * locale/programs/charmap-kw.h: Likewise.
11366 * locale/programs/locfile-kw.h: Likewise.
11368 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11370 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11373 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11374 calculation loop and add branch prediction.
11376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11377 check access beyond bounds of m1np.
11379 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11381 (__inv): Remove local variable MPTWO to use the global
11383 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11384 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11386 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11387 MP3HALFS static const.
11389 2013-01-01 David S. Miller <davem@davemloft.net>
11391 * po/ca.po: Update from translation team.
11393 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11395 * scripts/update-copyrights: New file.
11396 * Makeconfig: Reformat copyright notice.
11397 * ctype/ctype.h: Likewise.
11398 * debug/swprintf_chk.c: Likewise.
11399 * elf/dl-cache.c: Likewise.
11400 * elf/dl-debug.c: Likewise.
11401 * elf/dl-object.c: Likewise.
11402 * grp/initgroups.c: Likewise.
11403 * hurd/Makefile: Likewise.
11404 * hurd/hurd/signal.h: Likewise.
11405 * hurd/hurdfault.c: Likewise.
11406 * hurd/hurdioctl.c: Likewise.
11407 * hurd/hurdlookup.c: Likewise.
11408 * hurd/intr-msg.c: Likewise.
11409 * iconv/gconv_open.c: Likewise.
11410 * libio/swprintf.c: Likewise.
11411 * locale/lc-ctype.c: Likewise.
11412 * locale/nl_langinfo.c: Likewise.
11413 * mach/Machrules: Likewise.
11414 * mach/Makefile: Likewise.
11415 * malloc/obstack.h: Likewise.
11416 * manual/Makefile: Likewise.
11417 * manual/tsort.awk: Likewise.
11418 * misc/bits/stab.def: Likewise.
11419 * nis/nis_print_group_entry.c: Likewise.
11420 * nis/nis_table.c: Likewise.
11421 * nis/nss_compat/compat-pwd.c: Likewise.
11422 * nis/nss_compat/compat-spwd.c: Likewise.
11423 * po/Makefile: Likewise.
11424 * posix/fnmatch.c: Likewise.
11425 * posix/regex.h: Likewise.
11426 * resolv/Makefile: Likewise.
11427 * resolv/nss_dns/dns-network.c: Likewise.
11428 * resolv/res_hconf.c: Likewise.
11429 * scripts/gen-sorted.awk: Likewise.
11430 * soft-fp/soft-fp.h: Likewise.
11431 * stdio-common/printf.h: Likewise.
11432 * stdlib/monetary.h: Likewise.
11433 * stdlib/random.c: Likewise.
11434 * stdlib/random_r.c: Likewise.
11435 * sysdeps/generic/Makefile: Likewise.
11436 * sysdeps/gnu/Makefile: Likewise.
11437 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11438 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11439 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11441 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11442 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11444 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11445 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11446 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11447 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11448 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11449 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11457 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11458 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11459 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11460 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11461 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11462 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11464 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11465 * sysdeps/mach/hurd/errnos.awk: Likewise.
11466 * sysdeps/mach/hurd/fork.c: Likewise.
11467 * sysdeps/mach/hurd/getcwd.c: Likewise.
11468 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11469 * sysdeps/mach/hurd/mmap.c: Likewise.
11470 * sysdeps/mach/hurd/utimes.c: Likewise.
11471 * sysdeps/mach/hurd/xmknod.c: Likewise.
11472 * sysdeps/posix/profil.c: Likewise.
11473 * sysdeps/posix/readdir_r.c: Likewise.
11474 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11475 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11476 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11477 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11479 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11481 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11483 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11484 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11485 * sysdeps/pthread/lio_listio.c: Likewise.
11486 * sysdeps/sparc/dl-procinfo.h: Likewise.
11487 * sysdeps/unix/i386/sysdep.S: Likewise.
11488 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11489 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11490 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11491 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11493 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11494 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11495 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11496 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11497 * sysdeps/wordsize-32/divdi3.c: Likewise.
11498 * time/sys/time.h: Likewise.
11499 * wcsmbs/Makefile: Likewise.
11501 2013-01-01 David S. Miller <davem@davemloft.net>
11503 * po/fr.po: Update from translation team.
11505 * catgets/gencat.c: Update copyright year.
11506 * csu/version.c: Likewise.
11507 * debug/catchsegv.sh: Likewise.
11508 * debug/pcprofiledump.c: Likewise.
11509 * debug/xtrace.sh: Likewise.
11510 * elf/ldconfig.c: Likewise.
11511 * elf/ldd.bash.in: Likewise.
11512 * elf/pldd.c: Likewise.
11513 * elf/sotruss.ksh: Likewise.
11514 * elf/sprof.c: Likewise.
11515 * iconv/iconv_prog.c: Likewise.
11516 * iconv/iconvconfig.c: Likewise.
11517 * locale/programs/locale.c: Likewise.
11518 * locale/programs/localedef.c: Likewise.
11519 * login/programs/pt_chown.c: Likewise.
11520 * malloc/memusage.sh: Likewise.
11521 * malloc/memusagestat.c: Likewise.
11522 * malloc/mtrace.pl: Likewise.
11523 * nscd/nscd.c: Likewise.
11524 * nss/getent.c: Likewise.
11525 * nss/makedb.c: Likewise.
11526 * posix/getconf.c: Likewise.
11528 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11530 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11533 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11535 * math/bits/mathcalls.h (modf): Use __nonnull.
11537 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11539 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11540 (split): Use macro CN instead of the bare value.
11541 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11544 instead of the bare value.
11545 (power1): Likewise.
11547 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11549 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11551 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11553 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11555 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11556 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11557 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11558 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11560 2012-12-28 Andreas Jaeger <aj@suse.de>
11562 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11563 values are from Linux 3.7.
11565 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11566 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11568 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11570 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11573 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11575 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11576 variables with preprocessor constants.
11577 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11578 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11579 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11581 2012-12-27 Bruno Haible <bruno@clisp.org>
11584 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11587 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11589 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11590 and use variable directly.
11591 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11593 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11595 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11596 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11598 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11600 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11601 include directive. Remove local variable MPONE.
11602 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11603 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11604 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11606 2012-12-25 David S. Miller <davem@davemloft.net>
11608 * version.h (RELEASE): Set to "development".
11609 (VERSION): Set to "2.17.90".
11610 * NEWS: Add 2.18 section.
11612 2012-12-21 David S. Miller <davem@davemloft.net>
11614 * po/hr.po: Update from translation team.
11616 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11618 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11620 2012-12-19 Steve Ellcey <sellcey@mips.com>
11622 * NEWS: Mention new memcpy for MIPS.
11624 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11626 * manual/contrib.texi (Contributors): Spelling correction.
11628 2012-12-15 David S. Miller <davem@davemloft.net>
11630 * po/ru.po: Update from translation team.
11632 2012-12-13 David S. Miller <davem@davemloft.net>
11634 * NEWS: Mention IFUNC testsuite enhancements.
11636 * po/pl.po: Update from translation team.
11637 * po/bg.po: Likewise.
11639 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11640 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11642 2012-12-11 David S. Miller <davem@davemloft.net>
11644 * po/sv.po: Update from translation team.
11646 * po/vi.po: Update from translation team.
11648 * po/cs.po: Update from translation team.
11650 * po/de.po: Update from translation team.
11651 * po/eo.po: Likewise.
11652 * po/nl.po: Likewise.
11654 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11657 * manual/argp.texi (Argp Helper Functions): Move node to follow
11658 Argp Parsing State.
11661 * manual/conf.texi (Limits on File System Capacity): Mention if
11662 terminating null is included in the max size.
11664 2012-12-10 Andreas Jaeger <aj@suse.de>
11666 * po/cs.po: Update from translation team.
11668 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11670 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11671 void pointer and cast to uintptr_t.
11672 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11674 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11675 * sysdeps/s390/s390-64/memset.S: Likewise.
11677 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11680 * menual/message.texi (Message Translation): Fix typos.
11681 (Helper programs for gettext): Likewise.
11683 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11686 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11689 2012-12-07 David S. Miller <davem@davemloft.net>
11691 * po/libc.pot: Update.
11693 2012-12-07 Richard Henderson <rth@redhat.com>
11696 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11697 normal/normal case to before the switch.
11698 (_FP_DIV): Likewise.
11700 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11701 Mike Frysinger <vapier@gentoo.org>
11703 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11704 check for __NR_fadvise64_64.
11706 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11708 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11709 0, not just to plain "0" as a statement.
11710 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11713 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11715 * NEWS: Use sourceware.org in Bugzilla URL.
11717 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11720 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11722 * stdio-common/tst-put-error.c (do_test): Add newline to the
11723 padded test to ensure flush.
11725 2012-12-05 Jeff Law <law@redhat.com>
11727 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11729 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11731 * README: Don't refer to ports add-on as distributed separately.
11732 Mention AArch64 in list of systems supported in the ports add-on.
11734 * LICENSES: Add more non-FSF copyright and license notices.
11736 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11739 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11741 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11742 10000 as width of padded output.
11744 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11746 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11748 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11749 variable LX with __attribute__ ((unused)).
11750 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11752 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11753 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11754 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11755 with __attribute__ ((unused)).
11757 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11759 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11761 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11763 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11764 (CFLAGS-nldbl-acos.c): New variable.
11765 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11766 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11767 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11768 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11769 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11770 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11771 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11772 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11773 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11774 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11775 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11776 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11777 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11778 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11779 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11780 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11781 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11782 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11783 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11784 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11785 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11786 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11787 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11788 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11789 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11790 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11791 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11792 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11793 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11794 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11795 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11796 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11797 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11798 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11799 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11800 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11801 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11802 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11803 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11804 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11805 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11806 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11807 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11808 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11809 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11810 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11811 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11812 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11813 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11814 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11815 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11816 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11817 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11818 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11819 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11820 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11821 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11822 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11823 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11824 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11825 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11826 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11827 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11828 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11829 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11830 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11831 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11832 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11833 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11834 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11835 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11836 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11837 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11838 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11839 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11840 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11841 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11842 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11843 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11844 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11845 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11846 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11847 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11848 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11849 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11850 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11851 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11852 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11853 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11854 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11855 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11856 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11857 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11858 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11859 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11860 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11861 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11864 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11867 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11868 whole low double instead of just low 47 bits when splitting values
11871 2012-12-03 Allan McRae <allan@archlinux.org>
11873 * manual/stdio.texi (Predefined Printf Handlers): Remove
11874 @hsep and @vsep usage.
11876 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11878 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11879 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11881 2012-12-03 Jeff Law <law@redhat.com>
11883 * time/sys/time.h (settimeofday): Do not mark TV argument
11886 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11888 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11889 when currently writing and seek to current position when not.
11890 * libio/Makefile (tests): Remove bug-fclose1.
11891 * libio/bug-fclose1.c: Delete.
11893 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11895 * manual/arith.texi (feenableexcept): Fix typo.
11896 (fedisableexcept): Likewise.
11898 2012-11-30 Roland McGrath <roland@hack.frob.com>
11900 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11901 second, differently-typed declaration, rather than a cast.
11903 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11905 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11906 * include/rpc/svc.h: ... here.
11908 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11911 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11912 depending n and resplen2 to catch cases where answer
11915 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11917 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11918 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11920 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11922 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11924 2012-11-29 Roland McGrath <roland@hack.frob.com>
11926 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11928 2012-11-28 Jeff Law <law@redhat.com>
11931 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11932 dataset_temporary. Track alloca usage into alloca_used.
11933 If dataset is large allocate and release it via malloc/free.
11935 2012-06-04 Florian Weimer <fweimer@redhat.com>
11938 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11940 2012-11-28 David S. Miller <davem@davemloft.net>
11942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11944 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11947 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11948 of pi/2 rounded to nearest to 64 bits.
11949 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11950 nearest to 64 bits.
11951 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11954 2012-11-28 Jeff Law <law@redhat.com>
11955 Martin Osvald <mosvald@redhat.com>
11958 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11959 * sunrpc/svc.c: Include time.h.
11960 (__svc_accept_failed): New function.
11961 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11962 any reason other than EINTR, call __svc_accept_failed.
11963 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11964 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11966 2012-11-28 Andreas Schwab <schwab@suse.de>
11968 * scripts/abilist.awk: Also handle indirect functions in .opd
11971 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11974 * sysdeps/x86/fpu/powl_helper.c: New file.
11975 * sysdeps/x86/fpu/Makefile: Likewise.
11976 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11978 (__ieee754_powl): Use __powl_helper for finite arguments except
11979 integer exponents below 8.
11980 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11982 (__ieee754_powl): Use __powl_helper for finite arguments except
11983 integer exponents below 8.
11984 * math/libm-test.inc (pow_test): Add more tests and enable some
11985 previously disabled tests.
11986 * sysdeps/i386/fpu/libm-test-ulps: Update.
11987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11989 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11990 Carlos O'Donell <carlos_odonell@mentor.com>
11992 * nss/makedb.c (is_prime): Assert that input is odd and greater
11993 than 4. Note that fact in a comment too.
11994 (next_prime): Add 4 to input.
11996 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11999 * libio/Makefile (tests): Add test case tst-fwrite-error.
12000 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12001 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12002 * libio/tst-fwrite-error.c: New test case.
12004 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12006 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12007 before casting to void *.
12008 * include/libc-internal.h (__pointer_type): New macro.
12009 (__integer_if_pointer_type_sub): Likewise.
12010 (__integer_if_pointer_type): Likewise.
12011 (cast_to_integer): Likewise.
12012 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12013 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12014 before casting to atomic64_t.
12015 (atomic_exchange_acq): Likewise.
12016 (__arch_exchange_and_add_body): Likewise.
12017 (__arch_add_body): Likewise.
12018 (atomic_add_negative): Likewise.
12019 (atomic_add_zero): Likewise.
12021 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12023 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12024 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12025 (add_fdes): Likewise.
12026 (linear_search_fdes): Likewise.
12027 (binary_search_unencoded_fdes): Likewise.
12029 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12031 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12033 2012-11-24 Adam Conrad <adconrad@0c3.net>
12035 * configure.in: Autodetect C++ header directories.
12036 * configure: Regenerated.
12038 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12040 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12042 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12046 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12048 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12049 LDBL_MANT_DIG == 106]: Disable some tests.
12050 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12052 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12056 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12057 input for small inputs. Return +/- pi/2 for large inputs.
12058 * math/libm-test.inc (atan_test): Add more tests.
12060 * sysdeps/generic/unwind-dw2-fde-glibc.c
12061 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12062 __attribute__ ((unused)).
12065 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12066 x * y if x and y are nonzero and z is zero.
12069 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12070 nonzero exponents with absolute value below 0x1p-117 to +/-
12074 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12075 up arguments below 2**-450, not just those below 2**-500.
12076 * math/libm-test.inc (hypot_test): Add another test.
12079 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12080 Return a+b for ratio over 2**120, not 2**60.
12081 * math/libm-test.inc (hypot_test): Add another test.
12083 * math/libm-test.inc (clog_test): Use
12084 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12085 (clog10_test): Likewise.
12088 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12090 2012-11-22 Andreas Schwab <schwab@suse.de>
12092 * sysdeps/i386/fpu/libm-test-ulps: Update.
12094 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12096 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12097 printf output with newline.
12099 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12102 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12103 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12104 -z nodlopen, -z initfirst and -z execstack support.
12105 * configure: Regenerated.
12107 * elf/elf.h (DF_1_NODIRECT): New macro.
12108 (DF_1_IGNMULDEF): Likewise.
12109 (DF_1_NOKSYMS): Likewise.
12110 (DF_1_NOHDR): Likewise.
12111 (DF_1_EDITED): Likewise.
12112 (DF_1_NORELOC): Likewise.
12113 (DF_1_SYMINTPOSE): Likewise.
12114 (DF_1_GLOBAUDIT): Likewise.
12115 (DF_1_SINGLETON): Likewise.
12116 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12117 DT_1_SUPPORTED_MASK bits.
12118 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12120 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12122 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12124 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12126 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12129 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12130 (sendmmsg): Move declarations...
12131 * socket/sys/socket.h: ... here.
12132 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12133 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12135 * socket/recvmmsg.c: ... this new file.
12136 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12137 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12138 definition of __sendmmsg hidden.
12139 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12140 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12141 Move ENOSYS stub into and include it from...
12142 * socket/sendmmsg.c: ... this new file.
12143 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12144 (sysdep_routines): Move recvmmsg and sendmmsg...
12145 * socket/Makefile (routines): ... here.
12146 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12147 (GLIBC_PRIVATE): Add __sendmmsg.
12148 * include/sys/socket.h (__sendmmsg): Add declarations.
12149 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12152 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12154 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12155 variable I1 with __attribute__ ((unused)).
12156 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12158 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12160 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12161 DUMMY variables with __attribute__ ((unused)).
12163 * bits/byteswap.h: Include <bits/types.h>.
12164 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12166 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12168 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12169 string_t. Do not manually set errno.
12170 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12171 length with __strnlen. Make sure to both set errno and return it on
12174 2012-11-19 David S. Miller <davem@davemloft.net>
12176 With help from Joseph Myers.
12177 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12178 very large arguments properly.
12179 * math/libm-test.inc (atan_test): New tests.
12180 (atan2_test): New tests.
12181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12184 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12187 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12190 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12191 [POSIX] (EADDRNOTAVAIL): Likewise.
12192 [POSIX] (EAFNOSUPPORT): Likewise.
12193 [POSIX] (EALREADY): Likewise.
12194 [POSIX] (ECONNABORTED): Likewise.
12195 [POSIX] (ECONNREFUSED): Likewise.
12196 [POSIX] (ECONNRESET): Likewise.
12197 [POSIX] (EDESTADDRREQ): Likewise.
12198 [POSIX] (EDQUOT): Likewise.
12199 [POSIX] (EHOSTUNREACH): Likewise.
12200 [POSIX] (EIDRM): Likewise.
12201 [POSIX] (EISCONN): Likewise.
12202 [POSIX] (ELOOP): Likewise.
12203 [POSIX] (EMULTIHOP): Likewise.
12204 [POSIX] (ENETDOWN): Likewise.
12205 [POSIX] (ENETUNREACH): Likewise.
12206 [POSIX] (ENOBUFS): Likewise.
12207 [POSIX] (ENODATA): Likewise.
12208 [POSIX] (ENOLINK): Likewise.
12209 [POSIX] (ENOMSG): Likewise.
12210 [POSIX] (ENOPROTOOPT): Likewise.
12211 [POSIX] (ENOSR): Likewise.
12212 [POSIX] (ENOSTR): Likewise.
12213 [POSIX] (ENOTCONN): Likewise.
12214 [POSIX] (ENOTSOCK): Likewise.
12215 [POSIX] (EOPNOTSUPP): Likewise.
12216 [POSIX] (EOVERFLOW): Likewise.
12217 [POSIX] (EPROTO): Likewise.
12218 [POSIX] (EPROTONOSUPPORT): Likewise.
12219 [POSIX] (EPROTOTYPE): Likewise.
12220 [POSIX] (ESTALE): Likewise.
12221 [POSIX] (ETIME): Likewise.
12222 [POSIX] (ETXTBSY): Likewise.
12223 [POSIX] (EWOULDBLOCK): Likewise.
12224 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12225 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12226 [POSIX] (SEEK_CUR): Likewise.
12227 [POSIX] (SEEK_END): Likewise.
12228 [POSIX || UNIX98] (mode_t): Do not require.
12229 [POSIX] (off_t): Likewise.
12230 [POSIX] (pid_t): Likewise.
12231 [POSIX] (sys/stat.h): Do not allow header.
12232 [POSIX] (unistd.h): Likewise.
12233 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12234 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12235 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12236 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12238 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12239 sigevent): Specify elements.
12240 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12242 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12243 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12245 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12246 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12247 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12248 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12249 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12250 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12251 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12252 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12253 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12254 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12255 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12256 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12257 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12258 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12260 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12262 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12264 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12266 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12267 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12268 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12269 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12270 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12271 Specify lower bound on value.
12272 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12273 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12274 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12275 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12276 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12277 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12278 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12279 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12281 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12283 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12284 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12285 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12286 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12287 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12288 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12289 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12290 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12291 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12292 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12293 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12294 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12295 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12296 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12297 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12298 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12300 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12302 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12303 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12304 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12305 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12306 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12307 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12309 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12310 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12311 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12312 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12313 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12314 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12315 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12317 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12318 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12319 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12320 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12321 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12322 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12323 specify as optional.
12324 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12325 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12326 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12327 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12328 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12329 [XPG3] (NL_LANGMAX): Likewise.
12330 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12331 [POSIX || XPG3] (NL_NMAX): Likewise.
12332 [POSIX || XPG3] (NL_SETMAX): Likewise.
12333 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12334 [XPG3] (NZERO): Likewise.
12335 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12336 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12337 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12338 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12339 (REG_ERANGE): Expect.
12340 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12342 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12343 Use (void) in prototype.
12344 [POSIX] (*_t): Allow.
12345 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12346 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12347 (WRDE_BADVAL): Expect.
12349 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12351 [XPG3 || XPG4] (O_RSYNC): Likewise.
12352 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12354 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12355 [XPG3 || XPG4] (sigqueue): Likewise.
12356 [XPG3 || XPG4] (sigtimedwait): Likewise.
12357 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12358 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12359 [XPG3 || XPG4] (vsnprintf): Likewise.
12360 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12362 [XPG3 || XPG4] (blksize_t): Likewise.
12363 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12365 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12366 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12367 [XPG3 || XPG4] (struct itimerspec): Likewise.
12368 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12369 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12370 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12371 [XPG3 || XPG4] (clockid_t): Likewise.
12372 [XPG3 || XPG4] (timer_t): Likewise.
12373 [XPG3 || XPG4] (clock_getres): Likewise.
12374 [XPG3 || XPG4] (clock_gettime): Likewise.
12375 [XPG3 || XPG4] (clock_settime): Likewise.
12376 [XPG3 || XPG4] (nanosleep): Likewise.
12377 [XPG3 || XPG4] (timer_create): Likewise.
12378 [XPG3 || XPG4] (timer_delete): Likewise.
12379 [XPG3 || XPG4] (timer_gettime): Likewise.
12380 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12381 [XPG3 || XPG4] (timer_settime): Likewise.
12382 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12383 [XPG3 || XPG4] (getlogin_r): Likewise.
12384 [XPG3 || XPG4] (pread): Likewise.
12385 [XPG3 || XPG4] (pthread_atfork): Likewise.
12386 [XPG3 || XPG4] (pwrite): Likewise.
12389 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12392 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12394 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12395 finalizing MALLSTREAM.
12397 * sysdeps/mach/hurd/syncfs.c: New file.
12399 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12402 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12403 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12404 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12405 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12406 (_nss_dns_gethostbyname4_r): Likewise.
12407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12408 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12410 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12413 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12415 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12417 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12418 * elf/cache.c (print_entry): Print ",AArch64" for
12421 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12422 * elf/cache.c (print_entry): Print ",hard-float" for
12425 2012-11-18 David S. Miller <davem@davemloft.net>
12427 With help from Joseph Myers.
12428 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12430 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12432 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12433 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12435 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12436 * math/libm-test.inc (y0_test): New tests.
12437 (y1_test): New tests.
12438 * sysdeps/i386/fpu/libm-test-ulps: Update.
12439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12442 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12444 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12446 * configure: Regenerated.
12448 2012-11-17 David S. Miller <davem@davemloft.net>
12451 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12452 nonzero exponents with absolute value below 0x1p-128 to +/-
12455 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12457 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12459 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12461 * posix/getconf-speclist.c: New file.
12462 * posix/posix-envs.def: Likewise.
12463 * posix/confstr.c (START_ENV_GROUP): New macro.
12464 (END_ENV_GROUP): Likewise.
12465 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12466 (KNOWN_PRESENT_ENV_STRING): Likewise.
12467 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12468 (UNKNOWN_ENVIRONMENT): Likewise.
12469 (confstr): Include posix-envs.def instead of handling
12470 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12471 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12472 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12473 (END_ENV_GROUP): Likewise.
12474 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12475 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12476 (UNKNOWN_ENVIRONMENT): Likewise.
12477 (__sysconf): Include posix-envs.def instead of handling associated
12478 cases directly here.
12479 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12480 preprocessing getconf-speclist.c rather than running getconf or
12481 generating empty file.
12483 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12485 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12487 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12490 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12492 2012-11-16 David S. Miller <davem@davemloft.net>
12494 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12495 smaller than LDBL_EPSILON/2.0L, just return xm1.
12497 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12499 * elf/tst-array1.c (init): Set constructor priority to 1000.
12500 (fini): Set destructor priority to 1000.
12501 * elf/tst-array2dep.c: Likewise.
12503 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12506 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12507 (_IO_new_file_xsputn): Also return EOF if none of the input
12508 data was written when overflow failed.
12509 * libio/iopadn.c (_IO_padn): Likewise.
12510 * libio/iowpadn.c (_IO_wpadn): Likewise.
12511 * stdio-common/tst-put-error.c: Add copyright notice.
12512 (do_test): Add case for printing padded string.
12513 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12514 _IO_padn returned error.
12515 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12516 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12519 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12521 * libio/libioP.h: Add comment note that the references to C++
12522 bits are now obsolete.
12524 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12526 * math/libm-test.inc (check_complex): Use asprintf.
12528 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12530 * debug/pcprofiledump.c (print_version): Update copyright year.
12531 * malloc/memusagestat.c (print_version): Likewise.
12533 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12536 * elf/Makefile (tests): Add tst-audit8.
12537 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12538 ($(objpfx)tst-audit8.out): New target.
12539 (tst-audit8-ENV): New variable.
12540 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12541 audit if l_reloc_result is NULL.
12542 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12543 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12544 * elf/tst-audit8.c: New file.
12546 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12548 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12549 * misc/Makefile (CFLAGS-select.c): Define.
12550 * posix/Makefile (CFLAGS-pause.c): Define.
12552 2012-11-13 David S. Miller <davem@davemloft.net>
12554 * crypt/Makefile: Move test targets after toplevel Rules
12555 inclusion. Grab any necessary sysdep routines when linking.
12556 * crypt/md5.c (md5_process_block): Remove define, we will always
12557 name it __md5_process_block.
12558 (md5_finish_ctx): Update md5_process_block call.
12559 (md5_stream): Likewise.
12560 (md5_process_bytes): Likewise.
12561 (md5_process_block): Rename to __md5_process_block and move to ...
12562 * crypt/md5-block.c: ... here.
12563 * crypt/sha256.c (sha256_process_block): Move to ...
12564 * crypt/sha256-block.c: ... here.
12565 * crypt/sha512.c (sha512_process_block): Move to ...
12566 * crypt/sha512-block.c: ... here.
12567 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12569 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12570 * sysdeps/sparc/sparc64/multiarch/Makefile
12571 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12573 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12574 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12576 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12577 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12578 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12579 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12580 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12581 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12582 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12583 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12584 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12586 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12587 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12589 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12591 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12593 * timezone/tzselect.ksh: Update from tzcode git revision
12594 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12595 * timezone/zdump.c: Likewise.
12596 * timezone/zic.c: Likewise.
12597 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12598 in TZVERSION setting, not $(PKGVERSION).
12599 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12600 REPORT_BUGS_TO settings.
12603 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12606 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12608 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12609 detection to immediately after _FP_ROUND().
12610 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12613 2012-11-11 David S. Miller <davem@davemloft.net>
12615 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12617 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12618 __close rather than their public counterparts.
12620 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12622 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12624 [UNIX98] (sem_timedwait): Do not expect.
12625 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12626 [XPG4 || UNIX98] (sockatmark): Do not expect.
12627 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12628 (clock_getcpuclockid): Do not expect.
12629 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12630 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12632 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12633 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12634 [UNIX98] (vwscanf): Likewise.
12635 [UNIX98] (vswscanf): Likewise.
12637 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12639 * timezone/version.h: Remove file.
12640 * timezone/README: Do not refer to version.h.
12641 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12642 $(objpfx)version.h.
12643 ($(objpfx)zdump.o): Likewise.
12644 ($(objpfx)version.h): New target.
12646 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12648 * timezone/README: Don't mention modification to tzselect.ksh.
12649 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12650 work on unmodified tzselect.ksh. Substitute version numbers in
12653 * Makefile (format-me): Remove.
12654 (INSTALL): Adjust indentation. Use commands directly instead of
12655 using $(format-me).
12657 * aclocal.m4 (ACX_PKGVERSION): New macro.
12658 (ACX_BUGURL): Likewise.
12659 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12660 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12661 (REPORT_BUGS_TO): Likewise.
12662 * configure: Regenerated.
12663 * config.h.in (PKGVERSION): New macro.
12664 (REPORT_BUGS_TO): Likewise.
12665 * config.make.in (PKGVERSION): New variable.
12666 (PKGVERSION_TEXI): Likewise.
12667 (REPORT_BUGS_TO): Likewise.
12668 (REPORT_BUGS_TEXI): Likewise.
12669 * Makefile (format-me): Use -I$(common-objpfx)manual.
12670 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12671 ($(common-objpfx)manual/%): New target.
12672 (manual/%): Remove target.
12673 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12674 (print_version): Use PKGVERSION.
12675 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12676 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12677 and REPORT_BUGS_TO.
12678 ($(objpfx)xtrace): Likewise.
12679 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12680 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12681 (print_version): Use PKGVERSION.
12682 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12683 (do_version): Use PKGVERSION.
12684 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12686 (common-ldd-rewrite): Likewise.
12687 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12688 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12689 (print_version): Use PKGVERSION.
12690 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12691 * elf/pldd.c (argp_program_bug_address): Remove variable.
12692 (more_help): New function.
12693 (argp): Use more_help.
12694 (print_version): Use PKGVERSION.
12695 * elf/sln.c (main): Use PKGVERSION.
12696 (usage): Use REPORT_BUGS_TO.
12697 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12698 (top level): Use PKGVERSION.
12699 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12700 (print_version): Use PKGVERSION.
12701 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12702 (print_version): Use PKGVERSION.
12703 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12704 (print_version): Use PKGVERSION.
12705 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12706 (print_version): Use PKGVERSION.
12707 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12708 (print_version): Use PKGVERSION.
12709 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12710 (print_version): Use PKGVERSION.
12711 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12713 ($(objpfx)memusage): Likewise.
12714 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12715 (do_version): Use PKGVERSION.
12716 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12717 (print_version): Use PKGVERSION.
12718 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12719 ($PKGVERSION): New variable.
12720 ($REPORT_BUGS_TO): Likewise.
12721 (usage): Use $REPORT_BUGS_TO.
12722 (top level): Use $PKGVERSION.
12723 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12724 ($(objpfx)pkgvers.texi): New rule.
12725 ($(objpfx)stamp-pkgvers): Likewise.
12726 * manual/install.texi: Include pkgvers.texi.
12727 (--with-pkgversion): Document new configure option.
12728 (--with-bugurl): Likewise.
12729 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12730 than necessarily for this particular distribution. Use
12731 REPORT_BUGS_TO for where to report bugs.
12732 * INSTALL: Regenerated.
12733 * manual/libc.texinfo: Include pkgvers.texi.
12734 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12735 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12736 (print_version): Use PKGVERSION.
12737 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12738 (print_version): Use PKGVERSION.
12739 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12740 (print_version): Use PKGVERSION.
12741 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12742 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12744 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12745 (print_version): Use PKGVERSION.
12746 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12747 (print_version): Use PKGVERSION.
12748 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12751 * timezone/checktab.awk: Update from tzcode 2012i.
12752 * timezone/ialloc.c: Likewise.
12753 * timezone/private.h: Likewise.
12754 * timezone/scheck.c: Likewise.
12755 * timezone/tzfile.h: Likewise.
12756 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12757 (TZVERSION): Hardcode tzcode version number.
12758 * timezone/zdump.c: Update from tzcode 2012i.
12759 * timezone/zic.c: Likewise.
12760 * timezone/version.h: New file.
12761 * timezone/README: Describe version.h. Update upstream location.
12764 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12765 (mktemp): Enable declaration.
12766 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12767 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12768 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12769 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12771 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12773 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12775 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12777 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12779 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12783 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12784 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12785 for copies of such integer values.
12786 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12787 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12789 2012-11-09 Andreas Jaeger <aj@suse.de>
12791 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12792 definitions and declarations that are provided by
12793 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12795 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12797 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12798 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12799 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12802 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12804 * elf/elf.h: Update comment before AArch64 relocations.
12806 2012-11-07 David S. Miller <davem@davemloft.net>
12808 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12809 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12810 (__start_context): Declare.
12811 (__makecontext_ret): Delete.
12812 (__makecontext): Hook up __start_context instead of
12814 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12815 (sysdep_routines): Add __start_context when in stdlib.
12817 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12819 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12820 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12821 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12823 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12824 (READELF): New variable. Use it instead of hardcoded "readelf".
12826 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12828 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12829 * sysdeps/x86/Makefile: Here.
12830 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12831 * sysdeps/x86/tst-xmmymm.sh: This.
12833 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12835 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12837 [UNIX98] (pthread_barrier_t): Do not expect.
12838 [UNIX98] (pthread_barrierattr_t): Likewise.
12839 [UNIX98] (pthread_spinlock_t): Likewise.
12840 [UNIX98] (pthread_barrier_destroy): Likewise.
12841 [UNIX98] (pthread_barrier_init): Likewise.
12842 [UNIX98] (pthread_barrier_wait): Likewise.
12843 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12844 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12845 [UNIX98] (pthread_barrierattr_init): Likewise.
12846 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12847 [UNIX98] (pthread_getcpuclockid): Likewise.
12848 [UNIX98] (pthread_mutex_timedlock): Likewise.
12849 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12850 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12851 [UNIX98] (pthread_sigmask): Likewise.
12852 [UNIX98] (pthread_spin_destroy): Likewise.
12853 [UNIX98] (pthread_spin_init): Likewise.
12854 [UNIX98] (pthread_spin_lock): Likewise.
12855 [UNIX98] (pthread_spin_trylock): Likewise.
12856 [UNIX98] (pthread_spin_unlock): Likewise.
12857 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12859 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12860 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12861 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12862 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12863 [XPG3 || XPG4] (pthread_key_t): Likewise.
12864 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12865 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12866 [XPG3 || XPG4] (pthread_once_t): Likewise.
12867 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12868 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12869 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12870 [XPG3 || XPG4] (pthread_t): Likewise.
12872 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12874 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12876 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12877 Change function return type to int.
12879 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12880 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12881 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12882 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12883 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12884 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12885 [!POSIX] (posix_madvise): Likewise.
12886 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12888 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12889 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12890 (mode_t): Likewise.
12891 (posix_mem_offset): Likewise.
12892 (posix_typed_mem_get_info): Likewise.
12893 (posix_typed_mem_open): Likewise.
12895 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12896 Change condition to [XOPEN2K8].
12898 * conform/conformtest.pl: Preprocess allow-header data with -x c
12899 instead of from stdin.
12900 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12901 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12902 [C99-based standards] (cerfc): Likewise.
12903 [C99-based standards] (cexp2): Likewise.
12904 [C99-based standards] (cexpm1): Likewise.
12905 [C99-based standards] (clog10): Likewise.
12906 [C99-based standards] (clog1p): Likewise.
12907 [C99-based standards] (clog2): Likewise.
12908 [C99-based standards] (clgamma): Likewise.
12909 [C99-based standards] (ctgamma): Likewise.
12910 [C99-based standards] (cerff): Likewise.
12911 [C99-based standards] (cerfcf): Likewise.
12912 [C99-based standards] (cexp2f): Likewise.
12913 [C99-based standards] (cexpm1f): Likewise.
12914 [C99-based standards] (clog10f): Likewise.
12915 [C99-based standards] (clog1pf): Likewise.
12916 [C99-based standards] (clog2f): Likewise.
12917 [C99-based standards] (clgammaf): Likewise.
12918 [C99-based standards] (ctgammaf): Likewise.
12919 [C99-based standards] (cerfl): Likewise.
12920 [C99-based standards] (cerfcl): Likewise.
12921 [C99-based standards] (cexp2l): Likewise.
12922 [C99-based standards] (cexpm1l): Likewise.
12923 [C99-based standards] (clog10l): Likewise.
12924 [C99-based standards] (clog1pl): Likewise.
12925 [C99-based standards] (clog2l): Likewise.
12926 [C99-based standards] (clgammal): Likewise.
12927 [C99-based standards] (ctgammal): Likewise.
12928 * conform/data/inttypes.h-data [C99-based standards]: Include
12929 stdint.h-data. Remove all expectations for stdint.h contents.
12930 [C99-based standards] (PRI*): Do not allow.
12931 [C99-based standards] (SCN*): Likewise.
12932 [C99-based standards] (*_t): Likewise.
12933 [C99-based-standards] (PRId8): Expect macro.
12934 [C99-based-standards] (PRIi8): Likewise.
12935 [C99-based-standards] (PRIo8): Likewise.
12936 [C99-based-standards] (PRIu8): Likewise.
12937 [C99-based-standards] (PRIx8): Likewise.
12938 [C99-based-standards] (PRIX8): Likewise.
12939 [C99-based-standards] (SCNd8): Likewise.
12940 [C99-based-standards] (SCNi8): Likewise.
12941 [C99-based-standards] (SCNo8): Likewise.
12942 [C99-based-standards] (SCNu8): Likewise.
12943 [C99-based-standards] (SCNx8): Likewise.
12944 [C99-based-standards] (PRIdLEAST8): Likewise.
12945 [C99-based-standards] (PRIiLEAST8): Likewise.
12946 [C99-based-standards] (PRIoLEAST8): Likewise.
12947 [C99-based-standards] (PRIuLEAST8): Likewise.
12948 [C99-based-standards] (PRIxLEAST8): Likewise.
12949 [C99-based-standards] (PRIXLEAST8): Likewise.
12950 [C99-based-standards] (SCNdLEAST8): Likewise.
12951 [C99-based-standards] (SCNiLEAST8): Likewise.
12952 [C99-based-standards] (SCNoLEAST8): Likewise.
12953 [C99-based-standards] (SCNuLEAST8): Likewise.
12954 [C99-based-standards] (SCNxLEAST8): Likewise.
12955 [C99-based-standards] (PRIdFAST8): Likewise.
12956 [C99-based-standards] (PRIiFAST8): Likewise.
12957 [C99-based-standards] (PRIoFAST8): Likewise.
12958 [C99-based-standards] (PRIuFAST8): Likewise.
12959 [C99-based-standards] (PRIxFAST8): Likewise.
12960 [C99-based-standards] (PRIXFAST8): Likewise.
12961 [C99-based-standards] (SCNdFAST8): Likewise.
12962 [C99-based-standards] (SCNiFAST8): Likewise.
12963 [C99-based-standards] (SCNoFAST8): Likewise.
12964 [C99-based-standards] (SCNuFAST8): Likewise.
12965 [C99-based-standards] (SCNxFAST8): Likewise.
12966 [C99-based-standards] (PRId16): Likewise.
12967 [C99-based-standards] (PRIi16): Likewise.
12968 [C99-based-standards] (PRIo16): Likewise.
12969 [C99-based-standards] (PRIu16): Likewise.
12970 [C99-based-standards] (PRIx16): Likewise.
12971 [C99-based-standards] (PRIX16): Likewise.
12972 [C99-based-standards] (SCNd16): Likewise.
12973 [C99-based-standards] (SCNi16): Likewise.
12974 [C99-based-standards] (SCNo16): Likewise.
12975 [C99-based-standards] (SCNu16): Likewise.
12976 [C99-based-standards] (SCNx16): Likewise.
12977 [C99-based-standards] (PRIdLEAST16): Likewise.
12978 [C99-based-standards] (PRIiLEAST16): Likewise.
12979 [C99-based-standards] (PRIoLEAST16): Likewise.
12980 [C99-based-standards] (PRIuLEAST16): Likewise.
12981 [C99-based-standards] (PRIxLEAST16): Likewise.
12982 [C99-based-standards] (PRIXLEAST16): Likewise.
12983 [C99-based-standards] (SCNdLEAST16): Likewise.
12984 [C99-based-standards] (SCNiLEAST16): Likewise.
12985 [C99-based-standards] (SCNoLEAST16): Likewise.
12986 [C99-based-standards] (SCNuLEAST16): Likewise.
12987 [C99-based-standards] (SCNxLEAST16): Likewise.
12988 [C99-based-standards] (PRIdFAST16): Likewise.
12989 [C99-based-standards] (PRIiFAST16): Likewise.
12990 [C99-based-standards] (PRIoFAST16): Likewise.
12991 [C99-based-standards] (PRIuFAST16): Likewise.
12992 [C99-based-standards] (PRIxFAST16): Likewise.
12993 [C99-based-standards] (PRIXFAST16): Likewise.
12994 [C99-based-standards] (SCNdFAST16): Likewise.
12995 [C99-based-standards] (SCNiFAST16): Likewise.
12996 [C99-based-standards] (SCNoFAST16): Likewise.
12997 [C99-based-standards] (SCNuFAST16): Likewise.
12998 [C99-based-standards] (SCNxFAST16): Likewise.
12999 [C99-based-standards] (PRId32): Likewise.
13000 [C99-based-standards] (PRIi32): Likewise.
13001 [C99-based-standards] (PRIo32): Likewise.
13002 [C99-based-standards] (PRIu32): Likewise.
13003 [C99-based-standards] (PRIx32): Likewise.
13004 [C99-based-standards] (PRIX32): Likewise.
13005 [C99-based-standards] (SCNd32): Likewise.
13006 [C99-based-standards] (SCNi32): Likewise.
13007 [C99-based-standards] (SCNo32): Likewise.
13008 [C99-based-standards] (SCNu32): Likewise.
13009 [C99-based-standards] (SCNx32): Likewise.
13010 [C99-based-standards] (PRIdLEAST32): Likewise.
13011 [C99-based-standards] (PRIiLEAST32): Likewise.
13012 [C99-based-standards] (PRIoLEAST32): Likewise.
13013 [C99-based-standards] (PRIuLEAST32): Likewise.
13014 [C99-based-standards] (PRIxLEAST32): Likewise.
13015 [C99-based-standards] (PRIXLEAST32): Likewise.
13016 [C99-based-standards] (SCNdLEAST32): Likewise.
13017 [C99-based-standards] (SCNiLEAST32): Likewise.
13018 [C99-based-standards] (SCNoLEAST32): Likewise.
13019 [C99-based-standards] (SCNuLEAST32): Likewise.
13020 [C99-based-standards] (SCNxLEAST32): Likewise.
13021 [C99-based-standards] (PRIdFAST32): Likewise.
13022 [C99-based-standards] (PRIiFAST32): Likewise.
13023 [C99-based-standards] (PRIoFAST32): Likewise.
13024 [C99-based-standards] (PRIuFAST32): Likewise.
13025 [C99-based-standards] (PRIxFAST32): Likewise.
13026 [C99-based-standards] (PRIXFAST32): Likewise.
13027 [C99-based-standards] (SCNdFAST32): Likewise.
13028 [C99-based-standards] (SCNiFAST32): Likewise.
13029 [C99-based-standards] (SCNoFAST32): Likewise.
13030 [C99-based-standards] (SCNuFAST32): Likewise.
13031 [C99-based-standards] (SCNxFAST32): Likewise.
13032 [C99-based-standards] (PRId64): Likewise.
13033 [C99-based-standards] (PRIi64): Likewise.
13034 [C99-based-standards] (PRIo64): Likewise.
13035 [C99-based-standards] (PRIu64): Likewise.
13036 [C99-based-standards] (PRIx64): Likewise.
13037 [C99-based-standards] (PRIX64): Likewise.
13038 [C99-based-standards] (SCNd64): Likewise.
13039 [C99-based-standards] (SCNi64): Likewise.
13040 [C99-based-standards] (SCNo64): Likewise.
13041 [C99-based-standards] (SCNu64): Likewise.
13042 [C99-based-standards] (SCNx64): Likewise.
13043 [C99-based-standards] (PRIdLEAST64): Likewise.
13044 [C99-based-standards] (PRIiLEAST64): Likewise.
13045 [C99-based-standards] (PRIoLEAST64): Likewise.
13046 [C99-based-standards] (PRIuLEAST64): Likewise.
13047 [C99-based-standards] (PRIxLEAST64): Likewise.
13048 [C99-based-standards] (PRIXLEAST64): Likewise.
13049 [C99-based-standards] (SCNdLEAST64): Likewise.
13050 [C99-based-standards] (SCNiLEAST64): Likewise.
13051 [C99-based-standards] (SCNoLEAST64): Likewise.
13052 [C99-based-standards] (SCNuLEAST64): Likewise.
13053 [C99-based-standards] (SCNxLEAST64): Likewise.
13054 [C99-based-standards] (PRIdFAST64): Likewise.
13055 [C99-based-standards] (PRIiFAST64): Likewise.
13056 [C99-based-standards] (PRIoFAST64): Likewise.
13057 [C99-based-standards] (PRIuFAST64): Likewise.
13058 [C99-based-standards] (PRIxFAST64): Likewise.
13059 [C99-based-standards] (PRIXFAST64): Likewise.
13060 [C99-based-standards] (SCNdFAST64): Likewise.
13061 [C99-based-standards] (SCNiFAST64): Likewise.
13062 [C99-based-standards] (SCNoFAST64): Likewise.
13063 [C99-based-standards] (SCNuFAST64): Likewise.
13064 [C99-based-standards] (SCNxFAST64): Likewise.
13065 [C99-based-standards] (PRIdMAX): Likewise.
13066 [C99-based-standards] (PRIiMAX): Likewise.
13067 [C99-based-standards] (PRIoMAX): Likewise.
13068 [C99-based-standards] (PRIuMAX): Likewise.
13069 [C99-based-standards] (PRIxMAX): Likewise.
13070 [C99-based-standards] (PRIXMAX): Likewise.
13071 [C99-based-standards] (SCNdMAX): Likewise.
13072 [C99-based-standards] (SCNiMAX): Likewise.
13073 [C99-based-standards] (SCNoMAX): Likewise.
13074 [C99-based-standards] (SCNuMAX): Likewise.
13075 [C99-based-standards] (SCNxMAX): Likewise.
13076 [C99-based-standards] (PRIdPTR): Likewise.
13077 [C99-based-standards] (PRIiPTR): Likewise.
13078 [C99-based-standards] (PRIoPTR): Likewise.
13079 [C99-based-standards] (PRIuPTR): Likewise.
13080 [C99-based-standards] (PRIxPTR): Likewise.
13081 [C99-based-standards] (PRIXPTR): Likewise.
13082 [C99-based-standards] (SCNdPTR): Likewise.
13083 [C99-based-standards] (SCNiPTR): Likewise.
13084 [C99-based-standards] (SCNoPTR): Likewise.
13085 [C99-based-standards] (SCNuPTR): Likewise.
13086 [C99-based-standards] (SCNxPTR): Likewise.
13087 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13089 * conform/data/stdint.h-data: Update comments to clarify
13091 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13093 [C99-based standards] (INT8_MAX): Likewise.
13094 [C99-based standards] (INT16_MIN): Likewise.
13095 [C99-based standards] (INT16_MAX): Likewise.
13096 [C99-based standards] (INT32_MIN): Likewise.
13097 [C99-based standards] (INT32_MAX): Likewise.
13098 [C99-based standards] (INT64_MIN): Likewise.
13099 [C99-based standards] (INT64_MAX): Likewise.
13100 [C99-based standards] (UINT8_MAX): Likewise.
13101 [C99-based standards] (UINT16_MAX): Likewise.
13102 [C99-based standards] (UINT32_MAX): Likewise.
13103 [C99-based standards] (UINT64_MAX): Likewise.
13104 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13105 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13106 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13107 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13108 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13109 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13110 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13111 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13112 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13113 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13114 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13115 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13116 [C99-based standards] (INT_FAST8_MIN): Likewise.
13117 [C99-based standards] (INT_FAST8_MAX): Likewise.
13118 [C99-based standards] (INT_FAST16_MIN): Likewise.
13119 [C99-based standards] (INT_FAST16_MAX): Likewise.
13120 [C99-based standards] (INT_FAST32_MIN): Likewise.
13121 [C99-based standards] (INT_FAST32_MAX): Likewise.
13122 [C99-based standards] (INT_FAST64_MIN): Likewise.
13123 [C99-based standards] (INT_FAST64_MAX): Likewise.
13124 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13125 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13126 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13127 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13128 [C99-based standards] (INTPTR_MIN): Likewise.
13129 [C99-based standards] (INTPTR_MAX): Likewise.
13130 [C99-based standards] (UINTPTR_MAX): Likewise.
13131 [C99-based standards] (INTMAX_MIN): Likewise.
13132 [C99-based standards] (INTMAX_MAX): Likewise.
13133 [C99-based standards] (UINTMAX_MAX): Likewise.
13134 [C99-based standards] (PTRDIFF_MIN): Likewise.
13135 [C99-based standards] (PTRDIFF_MAX): Likewise.
13136 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13137 [C99-based standards] (SIZE_MAX): Likewise.
13138 [C99-based standards] (WCHAR_MAX): Likewise.
13139 [C99-based standards] (WINT_MAX): Likewise.
13140 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13141 constraint on value.
13142 [C99-based standards] (WCHAR_MIN): Likewise.
13143 [C99-based standards] (WINT_MIN): Likewise.
13144 [C99-based standards] (*_t): Allow.
13145 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13146 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13147 Include math.h-data and complex.h-data. Remove all expectations
13148 of math.h and complex.h contents.
13149 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13151 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13152 (struct tm): Expect tag.
13153 [C99-based-standards] (wcstof): Expect function.
13154 [C99-based-standards] (wcstold): Likewise.
13155 [C99-based-standards] (wcstoll): Likewise.
13156 [C99-based-standards] (wcstoull): Likewise.
13157 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13158 macro-int-constant. Specify type.
13159 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13160 constraint on value.
13161 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13163 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13165 [ISO C standards]: Do not allow headers.
13166 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13167 wcs[abcdefghijklmnopqrstuvwxyz]*.
13168 [ISO C standards] (*_t): Do not allow.
13169 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13171 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13172 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13174 [ISO C standards]: Do not allow headers.
13175 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13176 is[abcdefghijklmnopqrstuvwxyz]*.
13177 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13178 to[abcdefghijklmnopqrstuvwxyz]*.
13179 [ISO C standards] (*_t): Do not allow.
13180 * conform/data/stdalign.h-data: New file.
13181 * conform/data/stdbool.h-data: Likewise.
13182 * conform/data/stdnoreturn.h-data: Likewise.
13184 2012-11-07 Roland McGrath <roland@hack.frob.com>
13187 * manual/filesys.texi (Directory Entries): Typo fix.
13188 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13190 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13192 * elf/elf.h (EM_AARCH64): New macro.
13193 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13194 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13195 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13196 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13197 (R_AARCH64_TLSDESC): Likewise.
13198 (NT_ARM_TLS): Likewise.
13199 (NT_ARM_HW_BREAK): Likewise.
13200 (NT_ARM_HW_WATCH): Likewise.
13202 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13205 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13206 (__ieee754_powl): Saturate nonzero exponents with absolute value
13207 below 0x1p-79 to +/- 0x1p-79.
13208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13209 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13210 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13211 nonzero exponents with absolute value below 0x1p-32 to +/-
13213 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13214 (__ieee754_powl): Saturate nonzero exponents with absolute value
13215 below 0x1p-79 to +/- 0x1p-79.
13216 * math/libm-test.inc (pow_test): Add more tests.
13218 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13220 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13221 _dl_s390_cap_flags with kernel. Increase string length.
13222 (_dl_s390_platforms): Add z196 and zEC12.
13224 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13226 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13227 Change XOPEN21K to XOPEN2K.
13229 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13231 * string/memmove.c: Use memcpy when possible.
13233 2012-11-06 Andreas Jaeger <aj@suse.de>
13235 * po/eo.po: Update from translation team.
13237 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13240 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13241 exponent and small x and y exponents, scale x or y up. Increase
13242 by 2 the exponent used in scaling up.
13243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13244 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13245 * math/libm-test.inc (fma_test): Add more tests.
13246 (fma_test_towardzero): Likewise.
13247 (fma_test_downward): Likewise.
13248 (fma_test_upward): Likewise.
13250 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13253 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13257 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13258 namespace for names of struct fields.
13259 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13261 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13262 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13264 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13267 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13269 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13271 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13275 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13278 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13282 definitely overflow as x * y not x * y + z.
13283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13285 * math/libm-test.inc (fma_test): Add more tests.
13286 (fma_test_towardzero): Likewise.
13287 (fma_test_downward): Likewise.
13288 (fma_test_upward): Likewise.
13290 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13294 * include/stub-tag.h: Remove file.
13295 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13297 * manual/maint.texi (Porting): Don't reference it.
13298 * Makerules ($(objpfx)stubs): Likewise.
13299 * dirent/closedir.c: Don't include <stub-tag.h>.
13300 * dirent/dirfd.c: Likewise.
13301 * dirent/fdopendir.c: Likewise.
13302 * dirent/getdents.c: Likewise.
13303 * dirent/getdents64.c: Likewise.
13304 * dirent/opendir.c: Likewise.
13305 * dirent/readdir.c: Likewise.
13306 * dirent/readdir64.c: Likewise.
13307 * dirent/readdir64_r.c: Likewise.
13308 * dirent/readdir_r.c: Likewise.
13309 * dirent/rewinddir.c: Likewise.
13310 * dirent/seekdir.c: Likewise.
13311 * dirent/telldir.c: Likewise.
13312 * gmon/profil.c: Likewise.
13313 * grp/setgroups.c: Likewise.
13314 * inet/if_index.c: Likewise.
13315 * io/access.c: Likewise.
13316 * io/chdir.c: Likewise.
13317 * io/chmod.c: Likewise.
13318 * io/chown.c: Likewise.
13319 * io/close.c: Likewise.
13320 * io/dup.c: Likewise.
13321 * io/dup2.c: Likewise.
13322 * io/dup3.c: Likewise.
13323 * io/euidaccess.c: Likewise.
13324 * io/faccessat.c: Likewise.
13325 * io/fchdir.c: Likewise.
13326 * io/fchmod.c: Likewise.
13327 * io/fchmodat.c: Likewise.
13328 * io/fchown.c: Likewise.
13329 * io/fchownat.c: Likewise.
13330 * io/fcntl.c: Likewise.
13331 * io/flock.c: Likewise.
13332 * io/fstatfs.c: Likewise.
13333 * io/fstatfs64.c: Likewise.
13334 * io/fstatvfs.c: Likewise.
13335 * io/fstatvfs64.c: Likewise.
13336 * io/futimens.c: Likewise.
13337 * io/fxstat.c: Likewise.
13338 * io/fxstat64.c: Likewise.
13339 * io/fxstatat.c: Likewise.
13340 * io/fxstatat64.c: Likewise.
13341 * io/getcwd.c: Likewise.
13342 * io/isatty.c: Likewise.
13343 * io/lchmod.c: Likewise.
13344 * io/lchown.c: Likewise.
13345 * io/link.c: Likewise.
13346 * io/linkat.c: Likewise.
13347 * io/lseek.c: Likewise.
13348 * io/lseek64.c: Likewise.
13349 * io/lxstat64.c: Likewise.
13350 * io/mkdir.c: Likewise.
13351 * io/mkdirat.c: Likewise.
13352 * io/mkfifo.c: Likewise.
13353 * io/mkfifoat.c: Likewise.
13354 * io/open.c: Likewise.
13355 * io/open64.c: Likewise.
13356 * io/openat.c: Likewise.
13357 * io/openat64.c: Likewise.
13358 * io/pipe.c: Likewise.
13359 * io/pipe2.c: Likewise.
13360 * io/poll.c: Likewise.
13361 * io/posix_fadvise.c: Likewise.
13362 * io/posix_fadvise64.c: Likewise.
13363 * io/posix_fallocate.c: Likewise.
13364 * io/posix_fallocate64.c: Likewise.
13365 * io/read.c: Likewise.
13366 * io/readlink.c: Likewise.
13367 * io/readlinkat.c: Likewise.
13368 * io/rmdir.c: Likewise.
13369 * io/sendfile.c: Likewise.
13370 * io/sendfile64.c: Likewise.
13371 * io/statfs.c: Likewise.
13372 * io/statfs64.c: Likewise.
13373 * io/statvfs.c: Likewise.
13374 * io/statvfs64.c: Likewise.
13375 * io/symlink.c: Likewise.
13376 * io/symlinkat.c: Likewise.
13377 * io/ttyname.c: Likewise.
13378 * io/ttyname_r.c: Likewise.
13379 * io/umask.c: Likewise.
13380 * io/unlink.c: Likewise.
13381 * io/unlinkat.c: Likewise.
13382 * io/utime.c: Likewise.
13383 * io/utimensat.c: Likewise.
13384 * io/write.c: Likewise.
13385 * io/xmknod.c: Likewise.
13386 * io/xmknodat.c: Likewise.
13387 * io/xstat.c: Likewise.
13388 * io/xstat64.c: Likewise.
13389 * login/getpt.c: Likewise.
13390 * login/grantpt.c: Likewise.
13391 * login/unlockpt.c: Likewise.
13392 * math/e_acoshl.c: Likewise.
13393 * math/e_acosl.c: Likewise.
13394 * math/e_asinl.c: Likewise.
13395 * math/e_atan2l.c: Likewise.
13396 * math/e_atanhl.c: Likewise.
13397 * math/e_coshl.c: Likewise.
13398 * math/e_expl.c: Likewise.
13399 * math/e_fmodl.c: Likewise.
13400 * math/e_gammal_r.c: Likewise.
13401 * math/e_hypotl.c: Likewise.
13402 * math/e_j0l.c: Likewise.
13403 * math/e_j1l.c: Likewise.
13404 * math/e_jnl.c: Likewise.
13405 * math/e_lgammal_r.c: Likewise.
13406 * math/e_log10l.c: Likewise.
13407 * math/e_log2l.c: Likewise.
13408 * math/e_logl.c: Likewise.
13409 * math/e_powl.c: Likewise.
13410 * math/e_rem_pio2l.c: Likewise.
13411 * math/e_sinhl.c: Likewise.
13412 * math/e_sqrtl.c: Likewise.
13413 * math/fclrexcpt.c: Likewise.
13414 * math/fedisblxcpt.c: Likewise.
13415 * math/feenablxcpt.c: Likewise.
13416 * math/fegetenv.c: Likewise.
13417 * math/fegetexcept.c: Likewise.
13418 * math/fegetround.c: Likewise.
13419 * math/feholdexcpt.c: Likewise.
13420 * math/fesetenv.c: Likewise.
13421 * math/fesetround.c: Likewise.
13422 * math/feupdateenv.c: Likewise.
13423 * math/fgetexcptflg.c: Likewise.
13424 * math/fraiseexcpt.c: Likewise.
13425 * math/fsetexcptflg.c: Likewise.
13426 * math/ftestexcept.c: Likewise.
13427 * math/k_cosl.c: Likewise.
13428 * math/k_rem_pio2l.c: Likewise.
13429 * math/k_sinl.c: Likewise.
13430 * math/k_tanl.c: Likewise.
13431 * math/s_asinhl.c: Likewise.
13432 * math/s_atanl.c: Likewise.
13433 * math/s_cbrtl.c: Likewise.
13434 * math/s_erfl.c: Likewise.
13435 * math/s_expm1l.c: Likewise.
13436 * math/s_log1pl.c: Likewise.
13437 * math/s_tanhl.c: Likewise.
13438 * misc/acct.c: Likewise.
13439 * misc/brk.c: Likewise.
13440 * misc/chflags.c: Likewise.
13441 * misc/chroot.c: Likewise.
13442 * misc/fchflags.c: Likewise.
13443 * misc/fgetxattr.c: Likewise.
13444 * misc/flistxattr.c: Likewise.
13445 * misc/fremovexattr.c: Likewise.
13446 * misc/fsetxattr.c: Likewise.
13447 * misc/fsync.c: Likewise.
13448 * misc/ftruncate.c: Likewise.
13449 * misc/futimes.c: Likewise.
13450 * misc/futimesat.c: Likewise.
13451 * misc/getdomain.c: Likewise.
13452 * misc/getdtsz.c: Likewise.
13453 * misc/gethostid.c: Likewise.
13454 * misc/gethostname.c: Likewise.
13455 * misc/getloadavg.c: Likewise.
13456 * misc/getpagesize.c: Likewise.
13457 * misc/getsysstats.c: Likewise.
13458 * misc/getxattr.c: Likewise.
13459 * misc/gtty.c: Likewise.
13460 * misc/ioctl.c: Likewise.
13461 * misc/lgetxattr.c: Likewise.
13462 * misc/listxattr.c: Likewise.
13463 * misc/llistxattr.c: Likewise.
13464 * misc/lremovexattr.c: Likewise.
13465 * misc/lsetxattr.c: Likewise.
13466 * misc/lutimes.c: Likewise.
13467 * misc/madvise.c: Likewise.
13468 * misc/mincore.c: Likewise.
13469 * misc/mlock.c: Likewise.
13470 * misc/mlockall.c: Likewise.
13471 * misc/mmap.c: Likewise.
13472 * misc/mprotect.c: Likewise.
13473 * misc/msync.c: Likewise.
13474 * misc/munlock.c: Likewise.
13475 * misc/munlockall.c: Likewise.
13476 * misc/munmap.c: Likewise.
13477 * misc/preadv.c: Likewise.
13478 * misc/preadv64.c: Likewise.
13479 * misc/ptrace.c: Likewise.
13480 * misc/pwritev.c: Likewise.
13481 * misc/pwritev64.c: Likewise.
13482 * misc/readv.c: Likewise.
13483 * misc/reboot.c: Likewise.
13484 * misc/remap_file_pages.c: Likewise.
13485 * misc/removexattr.c: Likewise.
13486 * misc/revoke.c: Likewise.
13487 * misc/select.c: Likewise.
13488 * misc/setdomain.c: Likewise.
13489 * misc/setegid.c: Likewise.
13490 * misc/seteuid.c: Likewise.
13491 * misc/sethostid.c: Likewise.
13492 * misc/sethostname.c: Likewise.
13493 * misc/setregid.c: Likewise.
13494 * misc/setreuid.c: Likewise.
13495 * misc/setxattr.c: Likewise.
13496 * misc/sstk.c: Likewise.
13497 * misc/stty.c: Likewise.
13498 * misc/swapoff.c: Likewise.
13499 * misc/swapon.c: Likewise.
13500 * misc/sync.c: Likewise.
13501 * misc/syncfs.c: Likewise.
13502 * misc/syscall.c: Likewise.
13503 * misc/truncate.c: Likewise.
13504 * misc/ualarm.c: Likewise.
13505 * misc/usleep.c: Likewise.
13506 * misc/ustat.c: Likewise.
13507 * misc/utimes.c: Likewise.
13508 * misc/vhangup.c: Likewise.
13509 * misc/writev.c: Likewise.
13510 * posix/_exit.c: Likewise.
13511 * posix/alarm.c: Likewise.
13512 * posix/execve.c: Likewise.
13513 * posix/fexecve.c: Likewise.
13514 * posix/fork.c: Likewise.
13515 * posix/fpathconf.c: Likewise.
13516 * posix/getaddrinfo.c: Likewise.
13517 * posix/getegid.c: Likewise.
13518 * posix/geteuid.c: Likewise.
13519 * posix/getgid.c: Likewise.
13520 * posix/getgroups.c: Likewise.
13521 * posix/getlogin.c: Likewise.
13522 * posix/getlogin_r.c: Likewise.
13523 * posix/getpgid.c: Likewise.
13524 * posix/getpid.c: Likewise.
13525 * posix/getppid.c: Likewise.
13526 * posix/getresgid.c: Likewise.
13527 * posix/getresuid.c: Likewise.
13528 * posix/getsid.c: Likewise.
13529 * posix/getuid.c: Likewise.
13530 * posix/glob64.c: Likewise.
13531 * posix/nanosleep.c: Likewise.
13532 * posix/pathconf.c: Likewise.
13533 * posix/pause.c: Likewise.
13534 * posix/posix_madvise.c: Likewise.
13535 * posix/pread.c: Likewise.
13536 * posix/pread64.c: Likewise.
13537 * posix/pwrite.c: Likewise.
13538 * posix/pwrite64.c: Likewise.
13539 * posix/sched_getaffinity.c: Likewise.
13540 * posix/sched_getp.c: Likewise.
13541 * posix/sched_gets.c: Likewise.
13542 * posix/sched_primax.c: Likewise.
13543 * posix/sched_primin.c: Likewise.
13544 * posix/sched_rr_gi.c: Likewise.
13545 * posix/sched_setaffinity.c: Likewise.
13546 * posix/sched_setp.c: Likewise.
13547 * posix/sched_sets.c: Likewise.
13548 * posix/sched_yield.c: Likewise.
13549 * posix/setgid.c: Likewise.
13550 * posix/setlogin.c: Likewise.
13551 * posix/setpgid.c: Likewise.
13552 * posix/setresgid.c: Likewise.
13553 * posix/setresuid.c: Likewise.
13554 * posix/setsid.c: Likewise.
13555 * posix/setuid.c: Likewise.
13556 * posix/sleep.c: Likewise.
13557 * posix/spawni.c: Likewise.
13558 * posix/sysconf.c: Likewise.
13559 * posix/times.c: Likewise.
13560 * posix/wait.c: Likewise.
13561 * posix/wait3.c: Likewise.
13562 * posix/wait4.c: Likewise.
13563 * posix/waitpid.c: Likewise.
13564 * resolv/gai_sigqueue.c: Likewise.
13565 * resource/getpriority.c: Likewise.
13566 * resource/getrlimit.c: Likewise.
13567 * resource/getrusage.c: Likewise.
13568 * resource/nice.c: Likewise.
13569 * resource/setpriority.c: Likewise.
13570 * resource/setrlimit.c: Likewise.
13571 * resource/ulimit.c: Likewise.
13572 * rt/aio_cancel.c: Likewise.
13573 * rt/aio_fsync.c: Likewise.
13574 * rt/aio_read.c: Likewise.
13575 * rt/aio_sigqueue.c: Likewise.
13576 * rt/aio_suspend.c: Likewise.
13577 * rt/aio_write.c: Likewise.
13578 * rt/clock_getres.c: Likewise.
13579 * rt/clock_gettime.c: Likewise.
13580 * rt/clock_nanosleep.c: Likewise.
13581 * rt/clock_settime.c: Likewise.
13582 * rt/lio_listio.c: Likewise.
13583 * rt/mq_close.c: Likewise.
13584 * rt/mq_getattr.c: Likewise.
13585 * rt/mq_notify.c: Likewise.
13586 * rt/mq_open.c: Likewise.
13587 * rt/mq_receive.c: Likewise.
13588 * rt/mq_send.c: Likewise.
13589 * rt/mq_setattr.c: Likewise.
13590 * rt/mq_timedreceive.c: Likewise.
13591 * rt/mq_timedsend.c: Likewise.
13592 * rt/mq_unlink.c: Likewise.
13593 * rt/shm_open.c: Likewise.
13594 * rt/shm_unlink.c: Likewise.
13595 * rt/timer_create.c: Likewise.
13596 * rt/timer_delete.c: Likewise.
13597 * rt/timer_getoverr.c: Likewise.
13598 * rt/timer_gettime.c: Likewise.
13599 * rt/timer_settime.c: Likewise.
13600 * setjmp/__longjmp.c: Likewise.
13601 * setjmp/setjmp.c: Likewise.
13602 * signal/kill.c: Likewise.
13603 * signal/killpg.c: Likewise.
13604 * signal/raise.c: Likewise.
13605 * signal/sigaction.c: Likewise.
13606 * signal/sigaltstack.c: Likewise.
13607 * signal/sigblock.c: Likewise.
13608 * signal/sigignore.c: Likewise.
13609 * signal/sigintr.c: Likewise.
13610 * signal/signal.c: Likewise.
13611 * signal/sigpause.c: Likewise.
13612 * signal/sigpending.c: Likewise.
13613 * signal/sigqueue.c: Likewise.
13614 * signal/sigreturn.c: Likewise.
13615 * signal/sigset.c: Likewise.
13616 * signal/sigsetmask.c: Likewise.
13617 * signal/sigstack.c: Likewise.
13618 * signal/sigsuspend.c: Likewise.
13619 * signal/sigtimedwait.c: Likewise.
13620 * signal/sigvec.c: Likewise.
13621 * signal/sigwait.c: Likewise.
13622 * signal/sigwaitinfo.c: Likewise.
13623 * signal/sysv_signal.c: Likewise.
13624 * socket/accept.c: Likewise.
13625 * socket/accept4.c: Likewise.
13626 * socket/bind.c: Likewise.
13627 * socket/connect.c: Likewise.
13628 * socket/getpeername.c: Likewise.
13629 * socket/getsockname.c: Likewise.
13630 * socket/getsockopt.c: Likewise.
13631 * socket/isfdtype.c: Likewise.
13632 * socket/listen.c: Likewise.
13633 * socket/recv.c: Likewise.
13634 * socket/recvfrom.c: Likewise.
13635 * socket/recvmsg.c: Likewise.
13636 * socket/send.c: Likewise.
13637 * socket/sendmsg.c: Likewise.
13638 * socket/sendto.c: Likewise.
13639 * socket/setsockopt.c: Likewise.
13640 * socket/shutdown.c: Likewise.
13641 * socket/sockatmark.c: Likewise.
13642 * socket/socket.c: Likewise.
13643 * socket/socketpair.c: Likewise.
13644 * stdio-common/ctermid.c: Likewise.
13645 * stdio-common/cuserid.c: Likewise.
13646 * stdio-common/remove.c: Likewise.
13647 * stdio-common/rename.c: Likewise.
13648 * stdio-common/renameat.c: Likewise.
13649 * stdio-common/tempname.c: Likewise.
13650 * stdlib/getcontext.c: Likewise.
13651 * stdlib/makecontext.c: Likewise.
13652 * stdlib/setcontext.c: Likewise.
13653 * stdlib/swapcontext.c: Likewise.
13654 * stdlib/system.c: Likewise.
13655 * streams/fattach.c: Likewise.
13656 * streams/fdetach.c: Likewise.
13657 * streams/getmsg.c: Likewise.
13658 * streams/getpmsg.c: Likewise.
13659 * streams/putmsg.c: Likewise.
13660 * streams/putpmsg.c: Likewise.
13661 * sysdeps/unix/bsd/getpt.c: Likewise.
13662 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13663 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13664 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13667 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13668 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13669 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13670 * sysvipc/msgctl.c: Likewise.
13671 * sysvipc/msgget.c: Likewise.
13672 * sysvipc/msgrcv.c: Likewise.
13673 * sysvipc/msgsnd.c: Likewise.
13674 * sysvipc/semctl.c: Likewise.
13675 * sysvipc/semget.c: Likewise.
13676 * sysvipc/semop.c: Likewise.
13677 * sysvipc/semtimedop.c: Likewise.
13678 * sysvipc/shmat.c: Likewise.
13679 * sysvipc/shmctl.c: Likewise.
13680 * sysvipc/shmdt.c: Likewise.
13681 * sysvipc/shmget.c: Likewise.
13682 * termios/tcdrain.c: Likewise.
13683 * termios/tcflow.c: Likewise.
13684 * termios/tcflush.c: Likewise.
13685 * termios/tcgetattr.c: Likewise.
13686 * termios/tcgetpgrp.c: Likewise.
13687 * termios/tcsendbrk.c: Likewise.
13688 * termios/tcsetattr.c: Likewise.
13689 * termios/tcsetpgrp.c: Likewise.
13690 * time/adjtime.c: Likewise.
13691 * time/clock.c: Likewise.
13692 * time/getitimer.c: Likewise.
13693 * time/gettimeofday.c: Likewise.
13694 * time/setitimer.c: Likewise.
13695 * time/settimeofday.c: Likewise.
13696 * time/stime.c: Likewise.
13697 * time/time.c: Likewise.
13699 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13701 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13704 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13706 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13708 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13711 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13712 FE_TONEAREST before applying Dekker multiplication and Knuth
13713 addition. Clear inexact exceptions and check for exact zero
13714 results afterwards.
13715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13716 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13717 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13718 * math/libm-test.inc (fma_test): Add more tests.
13719 (fma_test_towardzero): Likewise.
13720 (fma_test_downward): Likewise.
13721 (fma_test_upward): Likewise.
13722 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13724 (libc_fesetround): New macro.
13725 (libc_fesetroundf): Likewise.
13726 (libc_fesetroundl): Likewise.
13727 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13729 (libc_fesetround_387): Likewise.
13730 (libc_fesetroundf): New macro.
13731 (libc_fesetround): Likewise.
13732 (libc_fesetroundl): Likewise.
13733 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13735 (libc_fesetroundf): New macro.
13736 (libc_fesetround): Likewise.
13737 (libc_fesetroundl): Likewise.
13738 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13739 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13740 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13742 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13743 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13745 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13746 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13748 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13752 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13753 integer constant usable in #if and use that to give value to enum
13755 (FE_DIVBYZERO): Likewise.
13756 (FE_UNDERFLOW): Likewise.
13757 (FE_OVERFLOW): Likewise.
13758 (FE_INVALID): Likewise.
13759 (FE_INVALID_SNAN): Likewise.
13760 (FE_INVALID_ISI): Likewise.
13761 (FE_INVALID_IDI): Likewise.
13762 (FE_INVALID_ZDZ): Likewise.
13763 (FE_INVALID_IMZ): Likewise.
13764 (FE_INVALID_COMPARE): Likewise.
13765 (FE_INVALID_SOFTWARE): Likewise.
13766 (FE_INVALID_SQRT): Likewise.
13767 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13768 (FE_TONEAREST): Likewise.
13769 (FE_TOWARDZERO): Likewise.
13770 (FE_UPWARD): Likewise.
13771 (FE_DOWNWARD): Likewise.
13772 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13773 (FE_DIVBYZERO): Likewise.
13774 (FE_OVERFLOW): Likewise.
13775 (FE_UNDERFLOW): Likewise.
13776 (FE_INEXACT): Likewise.
13777 (FE_TONEAREST): Likewise.
13778 (FE_DOWNWARD): Likewise.
13779 (FE_UPWARD): Likewise.
13780 (FE_TOWARDZERO): Likewise.
13781 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13782 (FE_UNDERFLOW): Likewise.
13783 (FE_OVERFLOW): Likewise.
13784 (FE_DIVBYZERO): Likewise.
13785 (FE_INVALID): Likewise.
13786 (FE_TONEAREST): Likewise.
13787 (FE_TOWARDZERO): Likewise.
13788 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13789 (FE_OVERFLOW): Likewise.
13790 (FE_UNDERFLOW): Likewise.
13791 (FE_DIVBYZERO): Likewise.
13792 (FE_INEXACT): Likewise.
13793 (FE_TONEAREST): Likewise.
13794 (FE_TOWARDZERO): Likewise.
13795 (FE_UPWARD): Likewise.
13796 (FE_DOWNWARD): Likewise.
13797 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13798 (FE_DIVBYZERO): Likewise.
13799 (FE_OVERFLOW): Likewise.
13800 (FE_UNDERFLOW): Likewise.
13801 (FE_INEXACT): Likewise.
13802 (FE_TONEAREST): Likewise.
13803 (FE_DOWNWARD): Likewise.
13804 (FE_UPWARD): Likewise.
13805 (FE_TOWARDZERO): Likewise.
13807 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13809 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13811 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13813 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13814 commands. Quote $PWD.
13815 (blacklist_exports): Don't use remove_newlines. Replace "declare
13817 (remove_newlines): Remove.
13819 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13821 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13822 * stdlib/stdlib.h (atof): Moved to ...
13823 * include/bits/stdlib-float.h: Here. New file.
13824 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13825 * stdlib/bits/stdlib-float.h: New file.
13826 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13828 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13831 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13833 * conform/conformtest.pl (@headers): Add fenv.h.
13834 * conform/data/fenv.h-data: New file.
13835 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13836 include of <math/fenv.h>.
13838 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13839 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13840 && !UNIX98]. Enables tests for XOPEN2K8.
13841 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13842 POSIX2008]: Likewise.
13844 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13845 (struct rusage): Do not expect type or its members.
13848 * math/math.h (FP_NAN): Define macro to integer constant usable in
13849 #if and use that to give value to enum constant.
13850 (FP_INFINITE): Likewise.
13851 (FP_ZERO): Likewise.
13852 (FP_SUBNORMAL): Likewise.
13853 (FP_NORMAL): Likewise.
13855 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13857 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13858 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13861 2012-11-02 Roland McGrath <roland@hack.frob.com>
13863 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13864 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13865 autoconf-time if not.
13866 * configure.in: Remove AC_PREREQ.
13868 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13870 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13871 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13872 of the internal implementation.
13874 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13876 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13877 except include of <misc/sys/syslog.h>.
13879 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13882 function returns with a NULL context exit with zero.
13884 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13886 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13888 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13890 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13891 (run_program_cmd): This.
13892 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13893 (tst_langinfo): New variable. Use it.
13895 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13897 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13898 floating point opcodes.
13900 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13902 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13905 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13907 * sysdeps/mach/hurd/powerpc: Remove directory.
13908 * sysdeps/mach/powerpc: Likewise.
13910 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13912 * scripts/check-local-headers.sh: Ignore c++ headers.
13914 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13916 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13917 __libc_cleanup_region_start argument.
13919 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13924 x * y using scaling, not as x * y + z.
13925 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13926 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13927 * math/libm-test.inc (fma_test): Add more tests.
13928 (fma_test_towardzero): Likewise.
13929 (fma_test_downward): Likewise.
13930 (fma_test_upward): Likewise.
13932 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13934 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13936 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13938 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13941 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13943 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13945 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13952 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13955 Fix the order of the list for glibc 2.17.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13959 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13963 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13966 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13967 for low part of x being zero before using __atanl (y).
13968 * math/libm-test.inc (atan2_test): Add another test.
13970 * manual/install.texi (Configuring and compiling): Document
13971 general use of test-wrapper and test-wrapper-env.
13972 * INSTALL: Regenerated.
13974 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13975 (__fma): Do not extract and scale down low bits on after-rounding
13976 systems when result rounded to normal precision would have normal
13978 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13979 (__fmal): Do not extract and scale down low bits on after-rounding
13980 systems when result rounded to normal precision would have normal
13982 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13983 (__fmal): Do not extract and scale down low bits on after-rounding
13984 systems when result rounded to normal precision would have normal
13986 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13988 (fma_test): Add more tests.
13989 (fma_test_towardzero): Likewise.
13990 (fma_test_downward): Likewise.
13991 (fma_test_upward): Likewise.
13993 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13995 * sysdeps/i386/tininess.h: Renamed to ...
13996 * sysdeps/x86/tininess.h: This.
13997 * sysdeps/x86_64/tininess.h: Removed.
13999 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14001 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14002 input. Use $(build-program-cmd).
14003 ($(objpfx)tst-array1-static.out): Likewise.
14004 ($(objpfx)tst-array2.out): Likewise.
14005 ($(objpfx)tst-array3.out): Likewise.
14006 ($(objpfx)tst-array4.out): Likewise.
14007 ($(objpfx)tst-array5.out): Likewise.
14008 ($(objpfx)tst-array5-static.out): Likewise.
14010 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14012 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14015 * nss/nsswitch.h (nss_interface_function): Provide new
14016 macro for use with NSS functions.
14017 * grp/initgroups.c: Use new macro.
14018 * nss/getXXbyYY.c: Likewise.
14019 * nss/getXXbyYY_r.c: Likewise.
14020 * nss/getXXent.c: Likewise.
14021 * nss/getXXent_r.c: Likewise.
14022 * sysdeps/posix/getaddrinfo.c: Likewise.
14024 2012-10-30 Andreas Jaeger <aj@suse.de>
14026 * po/ru.po: Update Russion translation from translation project.
14028 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14033 result and shift together with sticky bit instead of replicating
14034 round-to-nearest rounding.
14035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14037 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14038 missing underflow exceptions.
14039 (fma_test_towardzero): Add more tests.
14040 (fma_test_downward): Likewise.
14041 (fma_test_upward): Likewise.
14044 * sysdeps/generic/tininess.h: New file.
14045 * sysdeps/i386/tininess.h: Likewise.
14046 * sysdeps/sh/tininess.h: Likewise.
14047 * sysdeps/x86_64/tininess.h: Likewise.
14048 * stdlib/tst-strtod-underflow.c: Likewise.
14049 * stdlib/tst-tininess.c: Likewise.
14050 * stdlib/strtod_l.c: Include <tininess.h>.
14051 (round_and_return): Do not set errno for exact underflow cases.
14052 Force an underflow exception when setting errno for underflow.
14053 Determine underflow based on rounding to normal precision if
14054 TININESS_AFTER_ROUNDING.
14055 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14056 ERANGE for exact underflow cases.
14057 * stdlib/Makefile (tests): Add tst-tininess and
14058 tst-strtod-underflow.
14059 ($(objpfx)tst-tininess): Use $(link-libm).
14060 ($(objpfx)tst-strtod-underflow): Likewise.
14062 2012-10-30 Andreas Jaeger <aj@suse.de>
14065 * elf/Makefile (tests): Remove conditional for have-initfini-array
14066 since this is now always required and the variable does not exist
14068 (tests-static): Likewise.
14069 (modules-names): Likewise.
14071 * po/eo.po: Add Esperanto translation from translation project.
14073 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14074 merged with constructor/destructor.
14075 (init_array): Likewise.
14076 * elf/tst-array2dep.c (fini_array): Likewise.
14077 (init_array): Likewise.
14079 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14081 * manual/message.texi: Delete @cartouche tags.
14083 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14085 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14087 * sysdeps/mach/hurd/fsync.c: Likewise.
14089 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14090 [_POSIX_REALTIME_SIGNALS]: Change condition to
14091 [_POSIX_REALTIME_SIGNALS > 0].
14093 2012-10-27 Andreas Jaeger <aj@suse.de>
14095 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14096 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14098 [__WORDSIZE != 64]: Likewise.
14100 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14102 * iconvdata/tst-table.sh: Remove ${SHELL}.
14103 * iconvdata/tst-tables.sh: Likewise.
14105 2012-10-25 David S. Miller <davem@davemloft.net>
14107 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14108 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14111 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14113 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14114 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14115 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14118 2012-10-25 Roland McGrath <roland@hack.frob.com>
14120 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14121 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14124 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14125 Jim Blandy <jimb@codesourcery.com>
14127 * scripts/cross-test-ssh.sh: New file.
14128 * manual/install.texi (Configuring and compiling): Document use of
14130 * INSTALL: Regenerated.
14132 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14134 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14137 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14139 * Makeconfig (run-program-prefix): Fix comment.
14141 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14142 Jim Blandy <jimb@codesourcery.com>
14144 * Makeconfig (test-wrapper): New variable,
14145 (test-wrapper-env): Likewise.
14146 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14147 (run-built-tests): Define to yes.
14148 (run-program-prefix): Use $(test-wrapper).
14149 (built-program-cmd): Likewise.
14150 * Rules (make-test-out): Use $(test-wrapper-env) and
14151 $(host-built-program-cmd).
14152 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14153 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14155 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14156 $(test-wrapper-env) to tst-rtld-load-self.sh.
14157 ($(objpfx)order2.out): Use $(test-wrapper).
14158 ($(objpfx)tst-initorder.out): Likewise.
14159 ($(objpfx)tst-initorder2.out): Likewise.
14160 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14161 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14162 (test_wrapper_env): New variable. Use it to run ld.so.
14163 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14164 Use it to run ld.so.
14165 (test_wrapper_env): Likewise.
14166 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14167 $(test-wrapper) to run-iconv-test.sh.
14168 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14169 (ICONV): Use $test_wrapper.
14170 * posix/Makefile ($(objpfx)globtest.out): Pass
14171 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14172 globtest.sh, not $(run-program-prefix).
14173 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14174 (test_wrapper): Likewise.
14175 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14176 set together with run_via_rtld_prefix.
14177 (run_program_prefix): Define in terms of test_wrapper and
14178 run_via_rtld_prefix.
14180 2012-10-24 Roland McGrath <roland@hack.frob.com>
14182 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14183 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14187 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14188 Declare __clock_getres, __clock_gettime, __clock_settime,
14189 __clock_nanosleep, and __clock_getcpuclockid.
14190 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14191 Remove librt_hidden_def (clock_gettime).
14192 * sysdeps/unix/clock_gettime.c: Likewise.
14193 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14194 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14195 * rt/clock_getres.c: Define __clock_getres as an alias.
14196 * sysdeps/posix/clock_getres.c: Likewise.
14197 * rt/clock_settime.c: Define __clock_settime as an alias.
14198 * sysdeps/unix/clock_settime.c: Likewise.
14199 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14200 * sysdeps/unix/clock_nanosleep.c: Likewise.
14201 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14202 * rt/clock-compat.c: New file.
14203 * rt/Makefile (librt-routines): Add clock-compat and move
14204 $(clock-routines) to ...
14205 (routines): ... here, new variable.
14206 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14207 Don't add get_clockfreq here.
14208 * rt/Versions (libc: GLIBC_2.17): New version set.
14209 Add clock_* symbols here.
14210 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14211 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14212 (GLIBC_2.17): Add clock_* symbols.
14213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14215 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14224 * NEWS: Mention the move.
14226 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14227 Use __open, __read, __close rather than their public counterparts.
14228 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14229 (__get_clockfreq_via_cpuinfo): Likewise.
14230 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14231 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14233 * config.h.in (HAVE_IFUNC): New #undef.
14234 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14236 * configure: Regenerated.
14238 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14240 * configure.in: Move READELF check to start of file.
14241 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14242 libc_cv_asm_gnu_indirect_function in the process.
14243 * configure: Regenerated.
14245 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14247 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14248 send the output to /dev/null.
14249 (libc_cv_cc_with_libunwind): Likewise.
14250 (libc_cv_as_noexecstack): Likewise.
14251 * configure: Regenerate.
14253 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14255 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14257 * posix/globtest.sh (TMPDIR): Do not set.
14258 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14259 (testout): Likewise.
14261 2012-10-24 Andreas Jaeger <aj@suse.de>
14263 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14264 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14265 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14266 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14267 posix_fadvise64, posix_fallocate64.
14269 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14270 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14271 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14273 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14275 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14278 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14279 <bits/fcntl-linux.h>.
14280 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14283 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14284 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14285 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14286 [__WORDSIZE != 64]: Likewise.
14288 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14290 * Makeconfig (run-built-tests): New variable.
14291 * Rules [$(cross-compiling) = yes]: Change condition to
14292 [$(run-built-tests) = no].
14293 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14294 to [$(run-built-tests) = yes].
14295 * elf/Makefile [$(cross-compiling) = no]: Likewise
14296 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14297 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14298 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14299 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14300 * io/Makefile [$(cross-compiling) = no]: Likewise.
14301 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14302 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14303 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14304 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14305 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14306 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14307 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14308 * string/Makefile [$(cross-compiling) = no]: Likewise.
14310 * posix/Makefile ($(objpfx)globtest.out): Pass
14311 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14312 $(rtld-installed-name).
14313 * posix/globtest.sh (elf_objpfx): Remove variable.
14314 (rtld_installed_name): Likewise.
14315 (library_path): Likewise.
14316 (run_program_prefix): New variable. Use for running globtest
14319 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14320 Joseph Myers <joseph@codesourcery.com>
14322 * Makeconfig (host-built-program-cmd): New variable.
14323 * elf/Makefile (tst-stackguard1-ARGS): Use
14324 $(host-built-program-cmd).
14325 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14326 (tst-spawn-ARGS): Likewise.
14327 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14329 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14330 Jim Blandy <jimb@codesourcery.com>
14332 * Makeconfig (run-via-rtld-prefix): New variable.
14333 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14334 (built-program-cmd): Likewise.
14336 2012-10-22 Andreas Jaeger <aj@suse.de>
14338 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14339 __O_RSYNC if it exists, otherwise to O_SYNC.
14341 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14342 Joseph Myers <joseph@codesourcery.com>
14344 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14346 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14348 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14351 2012-10-22 Andreas Jaeger <aj@suse.de>
14353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14355 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14358 bits/fcntl-linux.h.
14360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14361 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14363 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14368 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14369 Joseph Myers <joseph@codesourcery.com>
14371 * config.make.in (NM): New variable.
14373 2012-10-21 Andreas Jaeger <aj@suse.de>
14375 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14376 definitions and declarations that are provided by
14377 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14379 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14382 * elf/Makefile (tests-static): Add tst-leaks1-static.
14383 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14384 ($(objpfx)tst-leaks1-static): New rule.
14385 ($(objpfx)tst-leaks1-static-mem): Likewise.
14386 (tst-leaks1-static-ENV): New macro.
14387 * elf/dl-open.c (dl_open_worker): Check the main application
14388 only if SHARED is defined.
14389 * elf/tst-leaks1-static.c: New file.
14391 2012-10-20 Andreas Jaeger <aj@suse.de>
14393 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14394 generic values for Linux.
14395 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14396 and declarations that are provided by <bits/fcntl-linux.h> and
14397 include <bits/fcntl-linux.h>.
14398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14401 2012-10-20 Roland McGrath <roland@hack.frob.com>
14403 * io/fcntl.h: Move include of <bits/types.h> to the top and
14404 include it unconditionally.
14406 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14408 * wcsmbs/Makefile (tests-ifunc): New variable.
14409 (tests): Add $(tests-ifunc).
14410 * wcsmbs/test-wcschr-ifunc.c: New file.
14411 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14412 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14413 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14414 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14415 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14417 * string/Makefile (tests-ifunc): New variable.
14418 (tests): Add $(tests-ifunc).
14419 * string/test-memccpy.c (TEST_NAME): New macro.
14420 * string/test-memchr.c (TEST_NAME): Likewise.
14421 * string/test-memcmp.c (TEST_NAME): Likewise.
14422 * string/test-memcpy.c (TEST_NAME): Likewise.
14423 * string/test-memmem.c (TEST_NAME): Likewise.
14424 * string/test-memmove.c (TEST_NAME): Likewise.
14425 * string/test-memset.c (TEST_NAME): Likewise.
14426 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14427 * string/test-stpcpy.c (TEST_NAME): Likewise.
14428 * string/test-stpncpy.c (TEST_NAME): Likewise.
14429 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14430 * string/test-strcasestr.c (TEST_NAME): Likewise.
14431 * string/test-strcat.c (TEST_NAME): Likewise.
14432 * string/test-strchr.c (TEST_NAME): Likewise.
14433 * string/test-strcmp.c(TEST_NAME): Likewise.
14434 * string/test-strcpy.c (TEST_NAME): Likewise.
14435 * string/test-strcspn.c (TEST_NAME): Likewise.
14436 * string/test-strlen.c (TEST_NAME): Likewise.
14437 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14438 * string/test-strncmp.c (TEST_NAME): Likewise.
14439 * string/test-strncpy.c (TEST_NAME): Likewise.
14440 * string/test-strnlen.c (TEST_NAME): Likewise.
14441 * string/test-strpbrk.c (TEST_NAME): Likewise.
14442 * string/test-strrchr.c (TEST_NAME): Likewise.
14443 * string/test-strspn.c (TEST_NAME): Likewise.
14444 * string/test-strstr.c (TEST_NAME): Likewise.
14445 * string/test-bcopy-ifunc.c: New file.
14446 * string/test-bzero-ifunc.c: Likewise.
14447 * string/test-memccpy-ifunc.c: Likewise.
14448 * string/test-memchr-ifunc.c: Likewise.
14449 * string/test-memcmp-ifunc.c: Likewise.
14450 * string/test-memcpy-ifunc.c: Likewise.
14451 * string/test-memmem-ifunc.c: Likewise.
14452 * string/test-memmove-ifunc.c: Likewise.
14453 * string/test-mempcpy-ifunc.c: Likewise.
14454 * string/test-memset-ifunc.c: Likewise.
14455 * string/test-rawmemchr-ifunc.c: Likewise.
14456 * string/test-stpcpy-ifunc.c: Likewise.
14457 * string/test-stpncpy-ifunc.c: Likewise.
14458 * string/test-strcasecmp-ifunc.c: Likewise.
14459 * string/test-strcasestr-ifunc.c: Likewise.
14460 * string/test-strcat-ifunc.c: Likewise.
14461 * string/test-strchr-ifunc.c: Likewise.
14462 * string/test-strchrnul-ifunc.c: Likewise.
14463 * string/test-strcmp-ifunc.c: Likewise.
14464 * string/test-strcpy-ifunc.c: Likewise.
14465 * string/test-strcspn-ifunc.c: Likewise.
14466 * string/test-strlen-ifunc.c: Likewise.
14467 * string/test-strncasecmp-ifunc.c: Likewise.
14468 * string/test-strncat-ifunc.c: Likewise.
14469 * string/test-strncmp-ifunc.c: Likewise.
14470 * string/test-strncpy-ifunc.c: Likewise.
14471 * string/test-strnlen-ifunc.c: Likewise.
14472 * string/test-strpbrk-ifunc.c: Likewise.
14473 * string/test-strrchr-ifunc.c: Likewise.
14474 * string/test-strspn-ifunc.c: Likewise.
14475 * string/test-strstr-ifunc.c: Likewise.
14477 * debug/Makefile (tests-ifunc): New variable.
14478 (tests): Add $(tests-ifunc).
14479 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14480 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14481 * debug/test-stpcpy_chk-ifunc.c: New file.
14482 * debug/test-strcpy_chk-ifunc.c: Likewise.
14484 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14487 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14488 header is not read in.
14490 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14492 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14493 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14494 directly. Pass built executable to script as
14495 $(built-program-cmd).
14496 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14497 $testprogram without using LD_LIBRARY_PATH and $ldso.
14499 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14500 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14501 $(rtld-installed-name).
14502 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14503 (rtld_installed_name): Likewise.
14504 (library_path): Likewise.
14505 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14506 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14507 $(run-program-prefix) to tst-tables.sh.
14508 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14509 it to run tst-table-from and tst-table-to.
14510 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14511 Pass it to tst-table.sh.
14512 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14513 $(run-program-prefix) to tst-gettext.sh.
14514 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14516 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14518 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14519 to run tst-gettext.
14520 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14521 to run tst-gettext2.
14522 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14523 to run tst-translit.
14524 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14525 $(run-program-prefix) to tst-mtrace.sh.
14526 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14528 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14529 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14530 $(rtld-installed-name).
14531 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14532 (rtld_installed_name): Likewise.
14533 (run_program_prefix): New variable. Use it to run wordexp-test.
14535 * Makeconfig (ARCH): Remove all definitions.
14536 (machine): Likewise.
14537 [ARCH]: Remove conditional code.
14538 [!objdir]: Give error.
14539 [!objdir] (objpfx): Remove.
14540 [!objdir] (common-objpfx): Likewise.
14541 [!objdir] (common-objdir): Likewise.
14542 * configure.in (config_makefile): Remove. Hardcode Makefile in
14543 AC_CONFIG_FILES call.
14544 * configure: Regenerated.
14547 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14549 (testout): Likewise.
14551 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14552 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14553 $(rtld-installed-name).
14554 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14555 (rtld_installed_name): Likwise.
14556 (runit): Remove function.
14557 (run_getconf): New variable, Use it for running getconf binary.
14559 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14562 * string/test-memmem.c (check_result): New function.
14563 (do_one_test): Use it.
14564 (check1): New function.
14565 (test_main): Use it.
14567 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14569 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14571 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14573 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14574 (_G_LSEEK64): Likewise.
14575 (_G_MMAP64): Likewise.
14576 (_G_FSTAT64): Likewise.
14577 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14578 (_G_LSEEK64): Likewise.
14579 (_G_MMAP64): Likewise.
14580 (_G_FSTAT64): Likewise.
14581 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14582 unconditional. Call __mmap64 directly.
14583 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14584 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14585 __lseek64 directly.
14586 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14587 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14589 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14590 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14591 __lseek64 directly.
14592 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14593 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14594 __lseek64 directly.
14595 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14596 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14597 __lseek64 directly.
14598 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14599 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14600 __fxstat64 directly.
14601 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14602 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14604 (freopen64) [!_G_OPEN64]: Remove conditional code.
14605 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14607 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14608 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14610 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14611 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14613 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14614 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14616 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14617 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14619 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14620 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14622 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14623 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14625 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14627 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14630 * manual/memory.texi (Malloc Tunable Parameters): Add note
14631 about free list pointers overwriting some perturb bytes.
14632 Wording suggested by Roland McGrath.
14634 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14636 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14637 (lgamma_test): Likewise.
14638 (tgamma_test): Likewise.
14640 2012-10-16 Florian Weimer <fweimer@redhat.com>
14643 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14644 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14646 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14648 * NEWS: Mention BZ #14716.
14649 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14650 when removing AVAILABLE1_USES_J macro.
14652 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14654 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14655 (__bswap_64): __uint64_t for unsigned 64-bit int.
14657 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14659 * include/string.h (memmem): Declare libc hidden alias.
14660 * string/memmem.c (memmem): Define libc hidden alias.
14661 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14662 __read, __close instead of open, read, close.
14664 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14666 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14667 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14669 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14670 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14671 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14673 (__rawmemchr_sse2): Likewise.
14674 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14675 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14676 (__strchr_sse2): Likewise.
14677 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14678 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14679 (__strcasecmp_sse2): Likewise.
14680 (__strncasecmp_sse2): Likewise.
14681 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14682 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14683 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14684 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14685 (__strrchr_sse2): Likewise.
14686 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14688 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14689 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14690 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14691 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14692 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14693 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14694 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14695 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14696 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14697 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14698 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14699 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14700 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14701 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14702 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14703 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14704 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14705 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14706 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14707 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14708 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14709 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14710 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14711 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14712 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14713 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14714 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14715 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14716 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14717 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14719 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14721 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14722 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14723 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14724 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14726 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14728 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14729 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14730 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14731 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14733 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14734 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14735 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14736 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14737 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14738 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14739 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14740 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14741 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14742 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14743 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14744 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14745 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14746 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14747 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14748 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14749 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14750 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14751 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14752 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14753 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14754 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14755 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14756 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14757 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14758 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14759 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14760 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14761 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14762 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14763 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14764 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14765 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14766 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14767 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14768 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14769 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14770 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14771 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14772 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14773 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14775 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14776 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14777 * include/ifunc-impl-list.h: New file.
14778 * misc/ifunc-impl-list.c: Likewise.
14779 * misc/Makefile (routines): Add ifunc-impl-list.
14780 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14781 * string/test-string.h: Include <ifunc-impl-list.h>.
14782 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14783 impl_array): New variables.
14784 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14786 (test_init): Call __libc_ifunc_impl_list to initialize
14787 func_list if TEST_IFUNC and TEST_NAME are defined.
14789 * string/Makefile (strop-tests): Add bcopy and bzero.
14790 * string/test-bcopy.c: New file.
14791 * string/test-bzero.c: Likewise.
14792 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14794 * string/test-memset.c: Support bzero test if TEST_BZERO is
14796 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14798 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14800 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14803 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14805 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14806 * configure: Regenerated.
14808 * Makeconfig (+link-static-before-libc): Don't include
14809 $(link-static-libc).
14811 * libio/libio.h (_IO_pos_t): Remove.
14813 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14815 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14818 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14820 * crypt/crypt-entry.c: Include fips-private.h.
14821 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14822 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14823 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14824 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14826 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14828 * crypt/crypt-private.h: Include stdbool.h.
14829 (_ufc_setup_salt_r): Return bool.
14830 * crypt/crypt-entry.c: Include errno.h.
14831 (__crypt_r): Return NULL with EINVAL for bad salt.
14832 * crypt/crypt_util.c (bad_for_salt): New.
14833 (_ufc_setup_salt_r): Check that salt is long enough and within
14834 the specified alphabet.
14835 * crypt/badsalttest.c: New file.
14836 * crypt/Makefile (tests): Add it.
14837 ($(objpfx)badsalttest): New.
14839 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14841 * NEWS: Add entry for BZ #14602.
14843 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14845 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14847 * math/libm-test.inc: Update comment listing what functions and
14849 (isgreater_test): New function.
14850 (isgreaterequal_test): Likewise.
14851 (isless_test): Likewise.
14852 (islessequal_test): Likewise.
14853 (islessgreater_test): Likewise.
14854 (isunordered_test): Likewise.
14855 (main): Call the new functions.
14857 2012-10-09 Roland McGrath <roland@hack.frob.com>
14859 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14860 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14861 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14862 * sysdeps/i386/configure: Regenerated.
14863 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14864 * sysdeps/mach/configure: Regenerated.
14865 * sysdeps/mach/hurd/configure: Regenerated.
14866 * sysdeps/powerpc/configure: Regenerated.
14867 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14868 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14869 * sysdeps/s390/s390-32/configure: Regenerated.
14870 * sysdeps/s390/s390-64/configure: Regenerated.
14871 * sysdeps/sh/configure: Regenerated.
14872 * sysdeps/sparc/configure: Regenerated.
14873 * sysdeps/unix/sysv/linux/configure: Regenerated.
14874 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14875 * sysdeps/x86_64/configure: Regenerated.
14877 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14878 defined. Don't check if MAP is NULL.
14880 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14882 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14883 (_G_stat64): Likewise.
14884 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14885 (_G_stat64): Likewise.
14886 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14887 instead of struct _G_stat64.
14888 * libio/fileops.c (mmap_remap_check): Likewise.
14889 (decide_maybe_mmap): Likewise.
14890 (_IO_new_file_seekoff): Likewise.
14891 (_IO_file_stat): Likewise.
14892 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14894 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14895 instead of struct _G_stat64.
14896 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14898 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14901 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14903 (CHECK_EOL): New macro.
14904 (two_way_short_needle): Check beginning of haystack for EOL. Use
14906 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14907 Replace with CHECK_EOL.
14908 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14909 Replace with CHECK_EOL.
14911 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14913 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14915 * math/libm-test.inc: Update comment listing what functions and
14917 (finite_test): New function.
14918 (isinf_test): Likewise.
14919 (isnan_test): Likewise.
14920 (fpclassify_test): Test subnormal input.
14921 (isfinite_test): Likewise.
14922 (isnormal_test): Likewise.
14923 (main): Call the new functions.
14925 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14928 * Makerules (%.dynsym): Force C locale when running
14929 $(OBJDUMP) --dynamic-syms.
14931 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14933 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14936 2012-10-06 David S. Miller <davem@davemloft.net>
14938 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14939 upper 32-bits of the length value in %o2 since we use branch-on-register
14940 tests which consider the entire 64-bit register.
14942 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14944 * string/test-strstr.c (check2): Add a test for page boundary.
14946 2012-10-05 David S. Miller <davem@davemloft.net>
14948 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14949 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14951 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14953 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14954 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14955 and bzero when HWCAP_SPARC_CRYPTO is present.
14957 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14960 * string/test-strstr.c (check2): New function.
14961 (test_main): Call check2.
14963 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14965 * string/bug-strcasestr1.c (do_test): Moved to ...
14966 * string/test-strcasestr.c (check1): Here. New function.
14967 (do_one_test): Break out result checking code into ...
14968 (check_result): This. New function.
14969 (do_one_test): Call check_result.
14970 (test_main): Call check1.
14971 * string/bug-strchr1.c (do_test): Moved to ...
14972 * string/test-strchr.c (check1): Here. New function.
14973 (do_one_test): Break out result checking code into ...
14974 (check_result): This. New function.
14975 (do_one_test): Call check_result.
14976 (test_main): Call check1.
14977 * string/bug-strstr1.c (main): Moved to ...
14978 * string/test-strstr.c (check1): Here. New function.
14979 (do_one_test): Break out result checking code into ...
14980 (check_result): This. New function.
14981 (do_one_test): Call check_result.
14982 (test_main): Call check1.
14983 * string/bug-strcasestr1.c: Removed.
14984 * string/bug-strchr1.c: Likewise.
14985 * string/bug-strstr1.c: Likewise.
14987 * elf/Makefile (dl-routines): Add hwcaps.
14988 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14989 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14990 (_dl_important_hwcaps): Moved to ...
14991 * elf/dl-hwcaps.c: Here. New file.
14992 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14995 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14996 if IS_IN_rtld isn't defined.
14998 * elf/dl-support.c (_dl_sysinfo_map): New.
14999 Include "get-dynamic-info.h" and "setup-vdso.h".
15000 (_dl_non_dynamic_init): Call setup_vdso.
15001 * elf/dynamic-link.h: Don't include <assert.h>.
15002 (elf_get_dynamic_info): Moved to ...
15003 * elf/get-dynamic-info.h: Here. New file.
15004 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15005 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15006 * elf/setup-vdso.h: Here. New file.
15007 * elf/rtld.c: Include "setup-vdso.h".
15008 (dl_main): Call setup_vdso.
15010 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15012 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15013 creal in comment listing functions tested. List finite, isinf,
15014 isnan, isless, islessequal, isgreater, isgreaterequal,
15015 islessgreater, isunordered, lgamma_r and pow10 as functions and
15016 macros not tested. Mention which functions not tested are aliases
15017 for other functions. Fix typo. Note that signs of NaNs are not
15020 * scripts/config.guess: Update from config.git.
15021 * scripts/config.sub: Likewise.
15023 2012-10-04 Roland McGrath <roland@hack.frob.com>
15025 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15026 * misc/madvise.c (madvise): Renamed to __madvise.
15027 Make madvise a weak alias.
15028 * include/sys/mman.h: Declare __madvise.
15029 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15030 * sysdeps/unix/syscalls.list
15031 (madvise): Make __madvise the strong name, and madvise a weak alias.
15032 * sysdeps/unix/sysv/linux/syscalls.list
15033 (madvise, mmap): Remove redundant entries.
15034 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15035 * malloc/malloc.c (mtrim): Likewise.
15036 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15038 2012-10-03 Roland McGrath <roland@hack.frob.com>
15040 * sysdeps/mach/hurd/dl-cache.c: File removed.
15041 * config.h.in (USE_LDCONFIG): New #undef.
15042 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15043 * configure: Regenerated.
15044 * elf/Makefile (dl-routines): Add dl-cache only under
15045 [$(use-ldconfig) = yes].
15046 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15047 cache on [USE_LDCONFIG].
15048 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15050 * elf/rtld.c (dl_main): Likewise.
15052 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15054 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15055 _SC_LEVEL4_CACHE_LINESIZE.
15057 2012-10-03 Roland McGrath <roland@hack.frob.com>
15059 * sysdeps/unix/bsd/confstr.h: File removed.
15061 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15063 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15066 2012-10-02 Roland McGrath <roland@hack.frob.com>
15068 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15069 Make 'mapoff' field ElfW(Off) rather than off_t.
15071 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15073 * nscd/Makefile: Remove nscd-cflags and all its users.
15074 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15075 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15078 * malloc.c (malloc_printerr): Clarify error message.
15080 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15084 Set bit_FMA_Usable if FMA is supported.
15085 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15087 (bit_FMA4_Usable): Updated.
15088 (index_FMA_Usable): New macro.
15089 (CPUID_FMA): Likewise
15090 (HAS_FMA): Defined with bit_FMA_Usable.
15092 2012-10-01 Roland McGrath <roland@hack.frob.com>
15094 * bits/types.h (__swblk_t): Type removed.
15095 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15096 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15098 (__SWBLK_T_TYPE): Likewise.
15099 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15100 (__SWBLK_T_TYPE): Likewise.
15101 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15102 (__SWBLK_T_TYPE): Likewise.
15103 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15104 (__SWBLK_T_TYPE): Likewise.
15106 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15107 Honza Horak <hhorak@redhat.com>
15109 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15110 (xdr_mapname): Use YPMAXMAP as maxsize.
15111 (xdr_peername): Use YPMAXPEER as maxsize.
15112 (xdr_keydat): Use YPAXRECORD as maxsize.
15113 (xdr_valdat): Use YPMAXRECORD as maxsize.
15115 2012-10-01 Roland McGrath <roland@hack.frob.com>
15117 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15119 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15120 * csu/init-first.c: ... here.
15121 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15122 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15123 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15124 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15125 * sysdeps/i386/init-first.c: File removed.
15126 * sysdeps/sh/init-first.c: File removed.
15128 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15132 if x * y might underflow to zero and z is zero.
15133 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15134 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15135 * math/libm-test.inc (min_subnorm_value): New variable.
15136 (fma_test): Add more tests.
15137 (fma_test_towardzero): Likewise.
15138 (fma_test_downward): Likewise
15139 (fma_test_upward): Likewise.
15140 (initialize): Set min_subnorm_value.
15142 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15147 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15148 mode for addition resulting in exact zero.
15149 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15152 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15153 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15154 * math/libm-test.inc (fma_test): Add more tests.
15155 (fma_test_towardzero): New function.
15156 (fma_test_downward): Likewise.
15157 (fma_test_upward): Likewise.
15158 (main): Call the new functions.
15160 2012-09-28 David S. Miller <davem@davemloft.net>
15162 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15164 2012-09-28 Roland McGrath <roland@hack.frob.com>
15166 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15167 instead of SIGALRM.
15169 * sysdeps/gnu/_G_config.h: Moved to ...
15170 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15171 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15172 * sysdeps/generic/_G_config.h: ... here.
15174 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15176 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15178 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15179 Conditionalize target on [libnss_test1.so-version].
15181 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15183 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15184 (elfobjdir): Move out of conditionals.
15186 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15187 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15188 (__nss_lookup_function): Conditionalize label remove_from_tree on
15189 [!DO_STATIC_NSS || SHARED], matching its only use.
15191 2012-09-28 David S. Miller <davem@davemloft.net>
15193 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15194 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15196 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15198 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15199 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15200 when HWCAP_SPARC_CRYPTO is present.
15202 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15204 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15206 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15209 * stdio-common/vfprintf.c (process_string_arg): Revert
15212 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15214 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15216 * stdio-common/tst-sprintf.c: Include <locale.h>
15217 (main): Test sprintf's handling of incomplete multibyte
15220 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15222 * elf/dl-runtime.c (VERSYMIDX): Removed.
15223 * elf/dl-version.c (VERSYMIDX): Likewise.
15224 * elf/do-rel.h (VERSYMIDX): Likewise.
15225 (VALIDX): Likewise.
15226 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15227 * elf/rtld.c (VALIDX): Likewise.
15228 (ADDRIDX): Likewise.
15229 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15230 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15231 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15232 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15233 (VALIDX): Likewise.
15234 (ADDRIDX): Likewise.
15236 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15238 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15240 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15243 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15245 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15246 addresses are in the same scope as 192.0.2/24.
15247 * posix/gai.conf: Document new scope table defaults.
15249 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15252 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15253 for ftell. Compute offsets from write pointers instead.
15254 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15256 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15259 * libio/Makefile (tests): New test case tst-fseek.
15260 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15261 combination works in wide mode.
15262 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15263 state when the external buffer state changes.
15265 2012-09-27 David S. Miller <davem@davemloft.net>
15268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15269 pass reloc->r_addend in as the 'high' argument to
15270 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15274 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15276 * rt/tst-aio2.c: Include <pthread.h>.
15277 * rt/tst-aio3.c: Likewise.
15279 2012-09-27 Steve Ellcey <sellcey@mips.com>
15281 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15283 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15285 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15286 contents on [SHARED].
15288 2012-09-26 Marek Polacek <polacek@redhat.com>
15292 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15293 for C++ and GCC <4.3 as well as for non GCC compilers.
15295 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15299 2012-09-25 Roland McGrath <roland@hack.frob.com>
15301 * Makefile.in (all, install): Declare with .PHONY.
15302 Reported by Michael Hope <michael.hope@linaro.org>.
15304 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15306 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15307 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15309 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15311 (sydep_routines): Add the new and the internal functions.
15312 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15313 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15315 (GLIBC_2.17): Add the new function.
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15317 (GLIBC_2.17): Likewise.
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15319 (GLIBC_2.17): Likewise.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15321 (GLIBC_2.17): Likewise.
15322 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15324 2012-09-25 Alan Modra <amodra@gmail.com>
15326 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15327 Add release barrier before setting once_control to say
15328 initialisation is done. Add hints on lwarx. Use macro in
15330 (clear_once_control): Add release barrier.
15332 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15335 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15337 * math/s_clog10.c (__clog10): Likewise.
15338 * math/s_clog10f.c (__clog10f): Likewise.
15339 * math/s_clog10l.c (__clog10l): Likewise.
15340 * math/s_clogf.c (__clogf): Likewise.
15341 * math/s_clogl.c (__clogl): Likewise.
15342 * math/Makefile (libm-calls): Add x2y2m1.
15343 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15344 (__x2y2m1): Likewise.
15345 (__x2y2m1l): Likewise.
15346 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15347 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15350 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15351 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15352 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15353 * sysdeps/i386/fpu/libm-test-ulps: Update.
15354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15357 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15358 int as type of variable DEPTH.
15359 (glob): Use size_t instead of int as type of variables NEWCOUNT
15362 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15364 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15365 Add s_sincosf-sse2.
15366 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15367 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15368 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15369 macros for using routine as __sincosf_ia32.
15370 Use macro for function declaration and weak_alias.
15371 * sysdeps/i386/fpu/libm-test-ulps: Update.
15373 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15376 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15377 subnormal argument.
15378 * math/s_cexpf.c (__cexpf): Likewise.
15379 * math/s_csinf.c (__csinf): Likewise.
15380 * math/s_csinhf.c (__csinhf): Likewise.
15381 * math/s_ctanf.c (__ctanf): Likewise.
15382 * math/s_ctanhf.c (__ctanhf): Likewise.
15383 * math/s_ccosh.c (__ccoshf): Likewise.
15384 * math/s_cexp.c (__cexpl): Likewise.
15385 * math/s_csin.c (__csin): Likewise.
15386 * math/s_csinh.c (__csinh): Likewise.
15387 * math/s_ctan.c (__ctan): Likewise.
15388 * math/s_ctanh.c (ctanh): Likewise.
15389 * math/s_ccoshl.c (__ccoshl): Likewise.
15390 * math/s_cexpl.c (__cexpl): Likewise.
15391 * math/s_csinl.c (__csinl): Likewise.
15392 * math/s_csinhl.c (__csinhl): Likewise.
15393 * math/s_ctanl.c (__ctanl): Likewise.
15394 * math/s_ctanhl.c (__ctanhl): Likewise.
15396 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15398 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15399 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15400 (_IO_off_t): Define to __off_t, not _G_off_t.
15401 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15402 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15403 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15404 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15405 type of __dummy and __dummy2 fields.
15406 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15407 (_G_ssize_t): Likewise.
15408 (_G_off_t): Likewise.
15409 (_G_pid_t): Likewise.
15410 (_G_uid_t): Likewise.
15411 (_G_wchar_t): Likewise.
15412 (_G_wint_t): Likewise.
15413 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15414 (_G_ssize_t): Likewise.
15415 (_G_off_t): Likewise.
15416 (_G_pid_t): Likewise.
15417 (_G_uid_t): Likewise.
15418 (_G_wchar_t): Likewise.
15419 (_G_wint_t): Likewise.
15420 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15421 (_G_ssize_t): Likewise.
15422 (_G_off_t): Likewise.
15423 (_G_pid_t): Likewise.
15424 (_G_uid_t): Likewise.
15425 (_G_wchar_t): Likewise.
15426 (_G_wint_t): Likewise.
15428 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15430 * malloc/arena.c: Include malloc-sysdep.h.
15431 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15432 is sufficient to shrink the heap or an unmap is needed.
15433 * sysdeps/generic/malloc-sysdep.h: New file. Define
15434 new function check_may_shrink_heap.
15435 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15436 new function check_may_shrink_heap.
15438 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15440 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15443 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15445 * catgets/test-gencat.sh: Add "set -e".
15446 * elf/tst-pathopt.sh: Likewise.
15447 * grp/tst_fgetgrent.sh: Likewise.
15448 * iconvdata/run-iconv-test.sh: Likewise.
15449 * intl/tst-gettext.sh: Likewise.
15450 * intl/tst-gettext2.sh: Likewise.
15451 * intl/tst-gettext4.sh: Likewise.
15452 * intl/tst-gettext6.sh: Likewise.
15453 * intl/tst-translit.sh: Likewise.
15454 * io/ftwtest-sh: Likewise.
15455 * libio/test-freopen.sh: Likewise.
15456 * malloc/tst-mtrace.sh: Likewise.
15457 * posix/globtest.sh: Likewise.
15458 * posix/tst-getconf.sh: Likewise.
15459 * posix/wordexp-tst.sh: Likewise.
15460 * stdio-common/tst-printf.sh: Likewise.
15461 * stdio-common/tst-unbputc.sh: Likewise.
15462 * stdlib/tst-fmtmsg.sh: Likewise.
15463 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15464 * catgets/Makefile: Do not specify -e option when running
15465 testsuite shell scripts.
15466 * elf/Makefile: Likewise.
15467 * grp/Makefile: Likewise.
15468 * iconvdata/Makefile: Likewise.
15469 * intl/Makefile: Likewise.
15470 * io/Makefile: Likewise.
15471 * libio/Makefile: Likewise.
15472 * malloc/Makefile: Likewise.
15473 * posix/Makefile: Likewise.
15474 * stdio-common/Makefile: Likewise.
15475 * stdlib/Makefile: Likewise.
15476 * sysdeps/x86_64/Makefile: Likewise.
15478 * io/ftwtest-sh: Add copyright header.
15479 * posix/globtest.sh: Likewise.
15480 * posix/tst-getconf.sh: Likewise.
15481 * posix/wordexp-tst.sh: Likewise.
15482 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15484 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15487 * Makeconfig (+link): Defined as $(+link-static) if
15488 $(build-shared) isn't yes.
15489 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15491 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15493 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15496 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15497 new chunk size with MALLOC_ALIGN_MASK.
15499 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15502 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15504 (__printf_fphex): Determine rounding using get_rounding_mode and
15506 * stdio-common/tst-printf-round.c (struct hex_test): New
15508 (hex_tests): New variable.
15509 (test_hex_in_one_mode): New function.
15510 (do_test): Also run tests for hex float output.
15512 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15514 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15515 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15516 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15517 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15518 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15519 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15520 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15521 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15523 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15525 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15526 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15527 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15528 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15530 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15533 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15535 * elf/tst-rtld-load-self.sh: New test.
15536 * elf/Makefile: Run it.
15538 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15540 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15541 (tst-writev-ENV): Remove.
15542 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15544 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15546 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15548 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15550 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15552 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15554 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15555 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15556 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15559 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15562 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15563 * config.make.in (have-cpp-asm-debuginfo): Removed.
15564 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15565 * configure: Regenerated.
15567 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15570 * stdio-common/printf_fp.c: Include <stdbool.h> and
15572 (___printf_fp): Determine rounding using get_rounding_mode and
15574 * stdio-common/tst-printf-round.c: New file.
15575 * stdio-common/Makefile (tests): Add tst-printf-round.
15576 (link-libm): New variable.
15577 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15579 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15582 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15583 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15585 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15588 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15590 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15591 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15592 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15593 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15595 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15598 * include/rounding-mode.h: New file.
15599 * sysdeps/generic/get-rounding-mode.h: Likewise.
15600 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15601 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15602 (MAX_VALUE): New macro.
15603 (MIN_VALUE): Likewise.
15604 (overflow_value): New function.
15605 (underflow_value): Likewise.
15606 (round_and_return): Use overflow_value and underflow_value to
15607 determine return values in overflow and underflow cases. Use
15608 round_away to determine rounding depending on rounding mode.
15609 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15610 determine return values in overflow and underflow cases.
15611 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15612 (struct test_results): New structure.
15613 (struct test): Use struct test_results to store expected results
15614 for all rounding modes.
15615 (TEST): Include expected results for all rounding modes.
15616 (test_in_one_mode): New function.
15617 (do_test): Use test_in_one_mode to compute and check results.
15618 Check results for all rounding modes.
15619 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15622 2012-12-09 Allan McRae <allan@archlinux.org>
15624 * sysdeps/i386/fpu/libm-test-ulps: Update
15626 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15628 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15629 (_G_int32_t): Likewise.
15630 (_G_uint16_t): Likewise.
15631 (_G_uint32_t): Likewise.
15632 (_G_HAVE_BOOL): Likewise.
15633 (_G_HAVE_ATEXIT): Likewise.
15634 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15635 (_G_HAVE_IO_FILE_OPEN): Likewise.
15636 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15637 (_G_int32_t): Likewise.
15638 (_G_uint16_t): Likewise.
15639 (_G_uint32_t): Likewise.
15640 (_G_HAVE_BOOL): Likewise.
15641 (_G_HAVE_ATEXIT): Likewise.
15642 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15643 (_G_HAVE_IO_FILE_OPEN): Likewise.
15644 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15645 (_G_int32_t): Likewise.
15646 (_G_uint16_t): Likewise.
15647 (_G_uint32_t): Likewise.
15648 (_G_HAVE_BOOL): Likewise.
15649 (_G_HAVE_ATEXIT): Likewise.
15650 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15651 (_G_HAVE_IO_FILE_OPEN): Likewise.
15653 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15655 * csu/libc-tls.c: Update copyright years.
15657 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15659 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15660 [!_G_USING_THUNKS]: Remove conditional code.
15661 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15662 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15664 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15665 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15666 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15667 (_G_VTABLE_LABEL_PREFIX): Likewise.
15668 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15669 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15670 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15671 (_G_VTABLE_LABEL_PREFIX): Likewise.
15672 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15673 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15674 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15675 (_G_VTABLE_LABEL_PREFIX): Likewise.
15676 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15678 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15680 * libio/Makefile: Include ../Makeconfig before tests.
15681 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15682 only if $(build-shared) is yes.
15684 * iconv/gconv_db.c: Update copyright years.
15686 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15688 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15689 unwind info if defined PIC. Fix special cases description.
15690 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15692 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15694 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15696 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15698 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15700 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15703 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15704 (LDLIBS-tst-chk4): This.
15705 (LDFLAGS-tst-chk5): Renamed to ...
15706 (LDLIBS-tst-chk5): This.
15707 (LDFLAGS-tst-chk6): Renamed to ...
15708 (LDLIBS-tst-chk6): This.
15709 (LDFLAGS-tst-lfschk4): Renamed to ...
15710 (LDLIBS-tst-lfschk4): This.
15711 (LDFLAGS-tst-lfschk5): Renamed to ...
15712 (LDLIBS-tst-lfschk5): This.
15713 (LDFLAGS-tst-lfschk6): Renamed to ...
15714 (LDLIBS-tst-lfschk6): This.
15716 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15717 on $(common-objpfx)soversions.mk.
15719 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15722 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15725 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15727 * malloc/arena.c (arena_get_retry): New function that gets
15728 another arena for the caller to try its request on.
15729 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15730 current arena cannot fulfill the request.
15731 (__libc_memalign): Likewise.
15732 (__libc_memalign): Likewise.
15733 (__libc_pvalloc): Likewise.
15734 (__libc_calloc): Likewise.
15736 2012-09-05 John Tobey <john.tobey@gmail.com>
15739 * manual/arith.texi (Operations on Complex): Fix description
15740 of carg branch cut.
15742 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15745 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15749 * manual/memory.texi (Memory): Make order of menu items match
15752 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15754 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15755 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15756 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15758 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15760 * csu/libc-tls.c (static_dtv): Renamed to ...
15761 (_dl_static_dtv): This. Make it global.
15762 (_dl_initial_dtv): Removed.
15763 (__libc_setup_tls): Updated.
15764 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15765 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15768 2012-09-06 Petr Machata <pmachata@redhat.com>
15770 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15771 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15772 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15773 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15775 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15778 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15779 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15782 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15785 * Makeconfig (link-static-before-libc): Replace $(+prector)
15787 (link-static-after-libc): Replace $(+postctor) with
15789 (link-bounded): Replace $(+prector)/$(+postctor) with
15790 $(+prectorT)/$(+postctorT).
15791 (+prectorT): New macro.
15792 (+postctorT): Likewise.
15794 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15796 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15797 (round_str): Handle values above the maximum for IBM long double
15799 * stdlib/tst-strtod-round.c (tests): Regenerated.
15801 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15803 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15805 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15806 zarch_nohighgprs around the zarch optimized routines.
15807 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15808 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15809 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15812 2012-09-05 David S. Miller <davem@davemloft.net>
15814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15816 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15817 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15818 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15819 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15822 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15824 * malloc/arena.c: Fold copyright years.
15825 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15827 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15829 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15831 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15833 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15835 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15837 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15838 change internal state upon failure.
15840 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15842 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15843 * malloc/memusage.c (mmap): Likewise.
15844 (mmap64, mremap): Likewise. Adjust name in comment.
15846 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15848 * libio/fileops.c: Fix typos in comments.
15849 * libio/oldfileops.c: Likewise.
15850 * libio/wfileops.c: Likewise.
15852 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15855 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15856 (tst-malloc-usable-ENV): Set environment for test case.
15857 * malloc/hooks.c (malloc_check_get_size): New function to get
15859 * malloc/malloc.c (musable): Use malloc_check_get_size.
15860 * malloc/tst-malloc-usable.c: New test case.
15862 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15864 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15866 2012-09-05 Allan McRae <allan@archlinux.org>
15869 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15870 determine header location.
15871 * configure: Regenerated.
15873 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15875 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15877 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15878 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15880 (test): Regenerate.
15882 2012-09-04 David S. Miller <davem@davemloft.net>
15884 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15885 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15886 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15888 2012-09-04 Florian Weimer <fweimer@redhat.com>
15890 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15893 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15895 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15898 * libio/iogetdelim.c: Include <limits.h>.
15899 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15900 + len + 1 would overflow.
15902 2012-09-03 Andreas Jaeger <aj@suse.de>
15904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15905 * sysdeps/i386/fpu/libm-test-ulps: Update.
15907 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15909 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15910 Add s_sinf-sse2, s_conf-sse2.
15912 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15913 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15914 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15915 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15917 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15918 for using routine as __sinf_ia32.
15919 Use macro for function declaration and weak_alias.
15920 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15921 for using routine as __cosf_ia32.
15922 Use macro for function declaration and weak_alias.
15924 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15925 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15927 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15928 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15931 * math/libm-test.inc (cos_test): Add more test cases.
15932 (sin_test): Likewise.
15933 (sincos_test): Likewise.
15935 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15937 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15938 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15940 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15942 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15945 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15946 first element of the GOT.
15947 (elf_machine_load_address): Return the difference between
15948 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15950 2012-09-01 Allan McRae <allan@archlinux.org>
15953 * configure.in (AWK): Require gawk version 3.0 or later.
15954 * configure: Regenerated.
15956 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15958 * sysdeps/unix/sysv/linux/kernel-features.h
15959 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15960 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15961 [__NR_clock_getres]: Make code unconditional.
15962 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15963 (clock_getcpuclockid): Remove code left unreachable by removal of
15965 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15966 code unconditional.
15967 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15968 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15969 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15970 Make code unconditional.
15971 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15972 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15973 * sysdeps/unix/sysv/linux/clock_settime.c
15974 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15976 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15977 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15979 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15982 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15983 scripts/test-installation.pl.
15985 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15986 and $ld_so_version if it is set.
15988 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15991 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15992 failure if reading from procfs failed.
15993 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15995 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15997 * sysdeps/unix/sysv/linux/kernel-features.h
15998 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15999 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16000 Remove conditional code.
16001 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16002 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16003 Remove conditional code.
16004 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16005 * sysdeps/unix/sysv/linux/i386/fxstat.c
16006 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16007 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16008 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16009 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16010 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16011 * sysdeps/unix/sysv/linux/i386/lxstat.c
16012 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16013 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16014 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16015 Remove conditional code.
16016 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16017 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16018 Remove conditional code.
16019 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16020 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16021 <kernel-features.h>.
16022 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16024 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16025 Remove conditional code.
16026 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16027 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16028 Remove conditional.
16030 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16033 * NEWS: Add fixed bug number.
16035 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16038 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16039 underflowing exponent in case of negative sign.
16040 * stdlib/tst-strtod-round-data: Add more tests.
16041 * stdlib/tst-strtod-round.c (tests): Regenerated.
16044 * stdlib/strtod_l.c (NDIG): Remove.
16045 (HEXNDIG): Likewise.
16046 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16047 smallest representable value.
16048 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16049 lie within an exact representation of 1/2 ulp of the result.
16050 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16052 (TENS_P9_IDX): Define unconditionally.
16053 (TENS_P9_SIZE): Likewise.
16054 (TENS_P10_IDX): Likewise.
16055 (TENS_P10_SIZE): Likewise.
16056 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16057 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16058 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16059 entries for 10^2^13 and 10^2^14.
16060 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16061 (TENS_P13_IDX): Define.
16062 (TENS_P13_SIZE): Likewise.
16063 (TENS_P14_IDX): Likewise.
16064 (TENS_P14_SIZE): Likewise.
16065 (_fpioconst_pow10): Change array size to
16066 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16068 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16069 1024]: Add entries for 10^2^13 and 10^2^14.
16070 [LAST_POW10 > _LAST_POW10]: Remove #error.
16071 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16072 (_fpioconst_pow10): Change array size to
16073 FPIOCONST_POW10_ARRAY_SIZE.
16074 * stdlib/gen-fpioconst.c: New file.
16075 * stdlib/gen-tst-strtod-round.c: Likewise.
16076 * stdlib/tst-strtod-round-data: Likewise.
16077 * stdlib/tst-strtod-round.c: Likewise.
16078 * stdlib/Makefile (tests): Add tst-strtod-round.
16081 * stdlib/strtod_l.c: Include <stdint.h>.
16082 (NDEBUG): Do not define.
16083 (round_and_return): Change EXPONENT parameter to type intmax_t.
16084 Rearrange calculations to avoid internal overflow possibilities.
16085 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16086 Rearrange calculations to avoid internal overflow possibilities.
16087 Assert that number fits inside MPNSIZE limbs.
16088 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16089 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16090 calculations and add assertions to avoid internal overflow
16091 possibilities. Add casts to avoid signed/unsigned operations.
16092 * stdlib/tst-strtod-overflow.c: New file.
16093 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16095 2012-08-25 Marek Polacek <polacek@redhat.com>
16097 * time/time.h: Fix some typos in comments.
16099 2012-08-23 Roland McGrath <roland@hack.frob.com>
16101 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16102 * posix/tst-rfc3484-2.c: Likewise.
16103 * posix/tst-rfc3484-3.c: Likewise.
16105 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16107 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16108 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16110 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16112 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16113 #include of fxstatat64.c.
16115 2012-08-22 Roland McGrath <roland@hack.frob.com>
16117 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16118 * shadow/getspent_r.c: Likewise.
16119 * shadow/getspnam.c: Likewise.
16120 * shadow/getspnam_r.c: Likewise.
16121 * gshadow/getsgent.c: Likewise.
16122 * gshadow/getsgent_r.c: Likewise.
16123 * gshadow/getsgnam.c: Likewise.
16124 * gshadow/getsgnam_r.c: Likewise.
16125 * inet/getnetbyad.c: Likewise.
16126 * inet/getnetbyad_r.c: Likewise.
16127 * inet/getnetbynm.c: Likewise.
16128 * inet/getnetbynm_r.c: Likewise.
16129 * inet/getnetent.c: Likewise.
16130 * inet/getnetent_r.c: Likewise.
16131 * inet/getproto.c: Likewise.
16132 * inet/getproto_r.c: Likewise.
16133 * inet/getprtent.c: Likewise.
16134 * inet/getprtent_r.c: Likewise.
16135 * inet/getprtname.c: Likewise.
16136 * inet/getprtname_r.c: Likewise.
16137 * inet/getrpcbyname.c: Likewise.
16138 * inet/getrpcbyname_r.c: Likewise.
16139 * inet/getrpcbynumber.c: Likewise.
16140 * inet/getrpcbynumber_r.c: Likewise.
16141 * inet/getrpcent.c: Likewise.
16142 * inet/getrpcent_r.c: Likewise.
16143 * inet/getaliasent.c: Likewise.
16144 * inet/getaliasent_r.c: Likewise.
16145 * inet/getaliasname.c: Likewise.
16146 * inet/getaliasname_r.c: Likewise.
16147 * nscd/getgrgid_r.c: Likewise.
16148 * nscd/getgrnam_r.c: Likewise.
16149 * nscd/gethstbyad_r.c: Likewise.
16150 * nscd/gethstbynm3_r.c: Likewise.
16151 * nscd/getpwnam_r.c: Likewise.
16152 * nscd/getpwuid_r.c: Likewise.
16153 * nscd/getsrvbynm_r.c: Likewise.
16154 * nscd/getsrvbypt_r.c: Likewise.
16155 * nscd/gai.c: Likewise.
16157 * configure.in (build_nscd): New substituted variable, set
16158 by --disable-build-nscd and defaults to $use_nscd.
16159 * configure: Regenerated.
16160 * config.make.in (build-nscd): New substituted variable.
16161 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16162 Change conditional to require [$(build-nscd) = yes] as well.
16163 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16166 * configure.in (use_nscd): New substituted variable, set by
16167 --disable-nscd. If enabled, define USE_NSCD.
16168 * configure: Regenerated.
16169 * config.h.in: Add USE_NSCD.
16170 * config.make.in (use-nscd): New substituted variable.
16171 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16172 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16173 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16174 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16175 (CFLAGS-getgrnam_r.c): Likewise.
16176 (CFLAGS-initgroups.c): Likewise.
16177 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16178 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16180 * inet/getnetgrent_r.c
16181 (nscd_setnetgrent): New function, broken out of ...
16182 (setnetgrent): ... here. Call it.
16183 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16184 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16185 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16186 * nscd/Makefile (routines, aux): Move definitions after include of
16187 Makeconfig. Conditionalize on [$(use-nscd) != no].
16188 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16189 Conditionalize on [USE_NSCD].
16190 (is_nscd, nscd_init_cb): Likewise.
16191 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16192 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16193 * nss/nss_db/db-init.c: Likewise.
16194 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16196 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16197 (make_request): Use it.
16198 (cache_valid_p): New function.
16199 (__check_pf): Use it.
16200 * NEWS: Add item for --disable-nscd.
16202 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16204 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16205 to support sed >= 4.2.1-20-ga9bf076.
16206 * configure: Regenerated.
16208 2012-08-22 Roland McGrath <roland@hack.frob.com>
16210 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16211 Conditionalize whole body on [IREL].
16213 2012-08-22 Jeff Law <law@redhat.com>
16216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16217 if the family is PF_UNSPEC.
16219 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16221 * Makerules (lib-version): Rename from V.
16222 (install-lib-nosubdir): Change V to lib-version.
16224 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16227 * powerpc32/power6/wcschr.c: New file.
16228 * powerpc32/power6/wcscpy.c: New file.
16229 * powerpc32/power6/wcsrchr.c: New file.
16230 * powerpc64/power6/wcschr.c: New file.
16231 * powerpc64/power6/wcscpy.c: New file.
16232 * powerpc64/power6/wcsrchr.c: New file.
16234 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16236 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16237 (two_way_short_needle): Use it.
16238 * string/strstr.c (AVAILABLE1_USES_J): Define.
16239 * string/strcasestr.c: Likewise.
16241 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16243 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16246 * NEWS: Add an entry.
16247 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16248 define their defaults.
16249 (two_way_short_needle): Detect end-of-string on-the-fly.
16250 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16251 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16252 * string/bug-strcasestr1.c: New test.
16253 * string/Makefile: Run it.
16255 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16258 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16259 the first character.
16261 2012-08-21 Roland McGrath <roland@hack.frob.com>
16263 * csu/elf-init.c (__libc_csu_irel): Function removed.
16264 * csu/libc-start.c (apply_irel): New function.
16265 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16267 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16269 * sysdeps/unix/sysv/linux/kernel-features.h
16270 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16271 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16272 <kernel-features.h>.
16273 [__NR_fadvise64_64]: Make code unconditional.
16274 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16275 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16276 !__NR_fadvise64_64)]: Likewise.
16277 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16278 !__NR_fadvise64_64))]: Likewise.
16279 [__NR_fadvise64]: Make code unconditional.
16280 [!__NR_fadvise64]: Remove conditional code.
16281 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16282 <kernel-features.h>.
16283 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16285 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16288 not include <kernel-features.h>.
16289 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16291 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16293 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16294 include <kernel-features.h>.
16295 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16297 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16300 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16302 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16303 slight instruction rearrangements per scrollpipe analysis.
16304 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16306 2012-08-20 Roland McGrath <roland@hack.frob.com>
16308 * manual/syslog.texi (syslog; vsyslog, closelog):
16309 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16310 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16312 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16313 DSOCAPS to match condition on defining it.
16315 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16317 * sysdeps/unix/sysv/linux/kernel-features.h
16318 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16320 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16321 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16323 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16324 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16326 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16327 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16329 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16330 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16332 * sysdeps/unix/sysv/linux/kernel-features.h
16333 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16334 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16336 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16337 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16338 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16339 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16340 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16341 Make code unconditional.
16342 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16343 (__mmap64) [!__NR_mmap2]: Likewise.
16344 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16345 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16346 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16347 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16348 [__NR_mmap2]: Make code unconditional.
16349 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16350 (__mmap64) [!__NR_mmap2]: Likewise.
16352 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16354 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16356 2012-08-18 Andreas Jaeger <aj@suse.de>
16358 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16360 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16362 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16363 * include/unistd.h (__have_sock_cloexec): Likewise.
16364 (__have_pipe2): Likewise.
16365 (__have_dup3): Likewise.
16367 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16370 * include/unistd.h (__have_pipe2): Change define into an extern int.
16371 (__have_dup3): Likewise.
16372 * socket/have_sock_cloexec.c: Include fcntl.h.
16373 (__have_pipe2): New variable.
16374 (__have_dup3): Likewise.
16376 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16378 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16380 2012-08-17 Marek Polacek <polacek@redhat.com>
16382 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16383 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16385 2012-08-17 Roland McGrath <roland@hack.frob.com>
16387 * configure.in: Add AC_SUBST for sysheaders.
16388 * configure: Regenerated.
16389 * config.make.in (sysheaders): New substituted variable.
16391 * sysdeps/unix/mkfifo.c: Moved ...
16392 * sysdeps/posix/mkfifo.c: ... here.
16393 * sysdeps/unix/mkfifoat.c: Moved ...
16394 * sysdeps/posix/mkfifoat.c: ... here.
16396 * sysdeps/unix/utime.c: Moved ...
16397 * sysdeps/posix/utime.c: ... here.
16399 * sysdeps/unix/time.c: Moved ...
16400 * sysdeps/posix/time.c: ... here.
16401 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16402 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16404 * sysdeps/unix/nice.c: Moved ...
16405 * sysdeps/posix/nice.c: ... here.
16407 * sysdeps/unix/alarm.c: Moved ...
16408 * sysdeps/posix/alarm.c: ... here.
16410 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16412 2012-08-17 Jeff Law <law@redhat.com>
16414 * intl/Makefile (codeset_mo): New variable.
16415 ($(codeset_mo)): New target.
16416 (tst-codeset.out): Depend on that. Remove explicit rule.
16417 (tst-gettext3.out, tst-gettext5.out): Likewise.
16418 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16419 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16420 * intl/tst-codeset.sh: Remove.
16421 * intl/tst-gettext3.sh: Likewise.
16422 * intl/tst-gettext5.sh: Likewise.
16424 2012-08-17 Roland McGrath <roland@hack.frob.com>
16426 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16427 * sysdeps/unix/syscalls.list: ... here.
16429 * sysdeps/posix/getaddrinfo.c
16430 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16431 (gaiconf_init, gaiconf_reload): Use them.
16432 [!_STATBUF_ST_NSEC]
16433 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16434 Define using time_t rather than struct timespec.
16436 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16437 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16439 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16441 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16442 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16445 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16446 __libc_cleanup_push argument.
16448 * bits/param.h: New file.
16449 * misc/sys/param.h: New file.
16450 * include/sys/param.h: New file.
16451 * misc/Makefile (headers): Add bits/param.h.
16452 * sysdeps/generic/sys/param.h: File removed.
16453 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16454 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16455 * sysdeps/mach/hurd/bits/param.h: New file.
16456 * sysdeps/mach/hurd/sys/param.h: File removed.
16458 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16461 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16463 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16464 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16467 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16468 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16469 rather than -D_IO_MTSAFE_IO conditionally.
16470 * stdio-common/Makefile (CPPFLAGS): Likewise.
16471 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16472 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16473 Use $(libio-mtsafe).
16474 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16475 of -D_IO_MTSAFE_IO.
16476 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16477 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16478 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16479 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16480 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16481 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16482 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16483 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16484 (CFLAGS-fread_u_chk.c): Likewise.
16485 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16486 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16487 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16488 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16489 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16490 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16491 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16492 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16493 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16495 * libio/Makefile: Test [$(libc-reentrant) = yes]
16496 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16499 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16500 * sysdeps/pthread/configure: File removed.
16501 * sysdeps/pthread/Makeconfig: New file.
16502 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16503 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16505 2012-08-16 Gary Benson <gbenson@redhat.com>
16507 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16508 unmapping the first object in a namespace.
16510 2012-08-16 Roland McGrath <roland@hack.frob.com>
16512 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16513 (__internal_setnetgrent): ... this. Add internal_function to
16514 definition. Add libc_hidden_def.
16515 (setnetgrent): Update caller.
16516 (internal_endnetgrent): Renamed to ...
16517 (__internal_endnetgrent): ... this. Add internal_function to
16518 definition. Add libc_hidden_def.
16519 (endnetgrent): Update caller.
16520 (internal_getnetgrent_r): Renamed to ...
16521 (__internal_getnetgrent_r): ... this. Add internal_function to
16522 definition. Add libc_hidden_def.
16523 (__getnetgrent_r): Update caller.
16524 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16526 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16528 * stdlib/longlong.h: Update from GCC.
16530 2012-08-16 Roland McGrath <roland@hack.frob.com>
16532 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16533 on _QL, which is set by umul_ppmm but never used.
16534 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16535 variables, which are set by GMP macros but never used.
16536 * stdio-common/_itowa.c (_itowa): Likewise.
16537 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16538 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16540 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16542 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16543 struct La_sh_regs is not constant.
16544 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16545 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16546 and struct La_sparc64_regs are not constant.
16548 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16550 * sysdeps/unix/sysv/linux/kernel-features.h
16551 (__ASSUME_POSIX_TIMERS): Remove.
16552 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16553 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16554 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16555 Make code unconditional.
16556 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16557 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16558 Make code unconditional.
16559 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16560 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16561 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16562 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16563 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16564 Make code unconditional.
16565 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16566 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16567 (__libc_missing_posix_timers): Remove.
16569 2012-08-15 Roland McGrath <roland@hack.frob.com>
16571 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16572 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16574 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16576 * elf/dl-sym.c: Include <stdlib.h>.
16578 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16579 constants, which avoids warnings in 32-bit builds.
16581 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16582 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16584 * misc/lseek.c: File moved to ...
16585 * io/lseek.c: ... here.
16587 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16589 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16590 shifting LEN more than 31 bits at once.
16592 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16595 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16596 segmentation fault for a case of two empty input strings.
16597 * string/test-strncasecmp.c (check1): Renamed to...
16598 (bz12205): ...this.
16599 (bz14195): Add new testcase for two empty input strings and N > 0.
16600 (test_main): Call new testcase, adapt for renamed function.
16602 2012-08-15 Andreas Jaeger <aj@suse.de>
16605 * crypt/md5test2.c: New test, based on test supplied by Serge
16606 Belyshev <belyshev@depni.sinp.msu.ru>.
16607 * crypt/Makefile (xtests): Add md5test-giant..
16608 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16610 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16613 * crypt/md5.c (md5_process_block): Don't assume the buffer
16614 length is less than 2**32.
16615 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16616 length is less than 2**64.
16618 2012-08-15 Roland McGrath <roland@hack.frob.com>
16620 * string/str-two-way.h: Include <sys/param.h>.
16621 (MAX): Macro removed.
16623 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16624 Move #define and #undef of memmove to just before and after
16625 including <string.h>.
16627 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16628 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16629 and after including <string.h>. Move declarations of
16630 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16631 to before #include "string/memmove.c".
16633 * include/dirent.h: Declare __getdirentries.
16635 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16636 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16638 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16640 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16641 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16642 * sysdeps/i386/configure: Regenerated.
16643 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16644 STABS_CURRENT_FILE, and STABS_FUN.
16645 (END): Remove call to STABS_FUN_END.
16646 (STABS_CURRENT_FILE1): Delete.
16647 (STABS_CURRENT_FILE): Likewise.
16648 (STABS_FUN): Likewise.
16649 (STABS_FUN_END): Likewise.
16650 (STABS_FUN2): Likewise.
16651 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16652 * sysdeps/x86_64/configure: Regenerated.
16654 2012-08-14 Roland McGrath <roland@hack.frob.com>
16656 * elf/dl-open.c: Include <atomic.h>.
16657 * elf/dl-lookup.c: Likewise.
16659 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16661 * sysdeps/unix/sysv/linux/kernel-features.h
16662 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16663 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16665 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16667 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16668 condition on __ASSUME_CLONE_THREAD_FLAGS.
16670 2012-08-14 Andreas Jaeger <aj@suse.de>
16672 * sysdeps/i386/fpu/libm-test-ulps: Update.
16674 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16676 * include/atomic.h (atomic_exchange_and_add): Split into ...
16677 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16680 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16684 2012-08-13 Jeff Law <law@redhat.com>
16686 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16687 null byte in the output string.
16689 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16691 * sysdeps/unix/sysv/linux/kernel-features.h
16692 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16693 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16694 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16695 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16696 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16697 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16698 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16700 2012-08-09 Jeff Law <law@redhat.com>
16703 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16704 When avoid_arena is set, don't retry in the that arena. Pick the
16705 next one, whatever it might be.
16706 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16707 (arena_lock): Pass in new parameter to arena_get2.
16708 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16710 (__libc_malloc): Unify retrying after main arena failure with
16711 __libc_memalign version.
16712 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16714 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16717 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16718 to __redirect_strstr.
16719 (__strstr_sse42): Use typeof __redirect_strstr.
16720 (__strstr_ia32): Likewise.
16721 (__libc_strstr): New prototype.
16722 (strstr): Renamed to ...
16723 (__libc_strstr): This.
16724 (strstr): New strong alias of __libc_strstr.
16725 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16726 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16729 (__libc_time): New prototype.
16730 (time_ifunc): Replace time with __libc_time.
16731 (time): New strong alias and hidden definition of __libc_time.
16732 (__GI_time): Remove strong alias.
16733 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16734 Include <stddef.h>.
16735 (memmove): Redefined to __redirect_memmove.
16736 (__memmove_sse2): Use typeof __redirect_memmove.
16737 (__memmove_ssse3): Likewise.
16738 (__memmove_ssse3_back): Likewise.
16739 (__libc_memmove): New prototype.
16740 (memmove): Renamed to ...
16741 (__libc_memmove): This.
16742 (memmove): New strong alias of __libc_memmove.
16744 2012-08-08 Mark Salter <msalter@redhat.com>
16747 (R_MN10300_TLS_GD): Define.
16748 (R_MN10300_TLS_LD): Likewise.
16749 (R_MN10300_TLS_LDO): Likewise.
16750 (R_MN10300_TLS_GOTIE): Likewise.
16751 (R_MN10300_TLS_IE): Likewise.
16752 (R_MN10300_TLS_LE): Likewise.
16753 (R_MN10300_TLS_DTPMOD): Likewise.
16754 (R_MN10300_TLS_DTPOFF): Likewise.
16755 (R_MN10300_TLS_TPOFF): Likewise.
16756 (R_MN10300_SYM_DIFF): Likewise.
16757 (R_MN10300_ALIGN): Likewise.
16758 (R_MN10300_NUM): Update.
16760 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16762 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16765 2012-08-08 Roland McGrath <roland@hack.frob.com>
16767 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16769 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16770 sysdeps/unix -> sysdeps/posix move.
16771 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16773 2012-08-07 Allan McRae <allan@archlinux.org>
16776 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16777 (SUNOS_CPP): Likewise.
16778 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16780 (open_input): Call CPP using execvp.
16782 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16784 * sysdeps/unix/sysv/linux/kernel-features.h
16785 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16786 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16787 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16788 (__ASSUME_WAITID_SYSCALL): Likewise.
16789 * sysdeps/unix/sysv/linux/dl-execstack.c
16790 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16791 code unconditional.
16792 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16794 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16795 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16796 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16798 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16800 [__ASSUME_WAITID_SYSCALL]: Likewise.
16801 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16803 2012-08-07 Roland McGrath <roland@hack.frob.com>
16805 * sysdeps/unix/closedir.c: Renamed to ...
16806 * sysdeps/posix/closedir.c: ... here.
16807 * sysdeps/unix/dirfd.c: Renamed to ...
16808 * sysdeps/posix/dirfd.c: ... here.
16809 * sysdeps/unix/dirstream.h: Renamed to ...
16810 * sysdeps/posix/dirstream.h: ... here.
16811 * sysdeps/unix/fdopendir.c: Renamed to ...
16812 * sysdeps/posix/fdopendir.c: ... here.
16813 * sysdeps/unix/opendir.c: Renamed to ...
16814 * sysdeps/posix/opendir.c: ... here.
16815 * sysdeps/unix/readdir.c: Renamed to ...
16816 * sysdeps/posix/readdir.c: ... here.
16817 * sysdeps/unix/readdir_r.c: Renamed to ...
16818 * sysdeps/posix/readdir_r.c: ... here.
16819 * sysdeps/unix/rewinddir.c: Renamed to ...
16820 * sysdeps/posix/rewinddir.c: ... here.
16821 * sysdeps/unix/seekdir.c: Renamed to ...
16822 * sysdeps/posix/seekdir.c: ... here.
16823 * sysdeps/unix/telldir.c: Renamed to ...
16824 * sysdeps/posix/telldir.c: ... here.
16825 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16826 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16827 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16828 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16830 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16831 * bits/fcntl.h: ... here.
16833 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16835 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16836 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16837 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16838 (struct flock): Move l_start, l_len to the beginning.
16839 Use __pid_t for l_pid.
16840 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16841 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16842 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16843 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16844 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16845 [__USE_LARGEFILE64] (struct flock64): New type.
16846 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16848 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16849 * bits/dirent.h: ... here.
16851 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16852 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16854 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16856 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16857 Change from 2.6.0 to 2.6.16.
16858 * sysdeps/unix/sysv/linux/configure: Regenerated.
16859 * sysdeps/unix/sysv/linux/kernel-features.h
16860 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16861 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16863 (__ASSUME_UTIMES): Likewise.
16864 (__ASSUME_CLONE_STOPPED): Remove.
16865 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16866 architectures, not kernel version.
16867 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16868 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16869 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16870 (__ASSUME_WAITID_SYSCALL): Likewise.
16871 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16872 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16873 * README: State 2.6.16 as minimum Linux kernel version. Do not
16874 refer to older versions.
16876 2012-08-06 Roland McGrath <roland@hack.frob.com>
16878 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16879 Define alphasort64 as an alias.
16880 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16881 Define versionsort64 as an alias.
16882 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16883 Define scandir64 as an alias.
16884 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16885 Define scandirat64 as an alias.
16886 * dirent/alphasort64.c (alphasort64):
16887 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16888 * dirent/versionsort64.c: Likewise.
16889 * dirent/scandir64.c: Likewise.
16890 * dirent/scandirat64.c: Likewise.
16891 * sysdeps/wordsize-64/alphasort.c: File removed.
16892 * sysdeps/wordsize-64/alphasort64.c: File removed.
16893 * sysdeps/wordsize-64/scandir.c: File removed.
16894 * sysdeps/wordsize-64/scandir64.c: File removed.
16895 * sysdeps/wordsize-64/scandirat.c: File removed.
16896 * sysdeps/wordsize-64/scandirat64.c: File removed.
16897 * sysdeps/wordsize-64/versionsort.c: File removed.
16898 * sysdeps/wordsize-64/versionsort64.c: File removed.
16899 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16900 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16901 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16902 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16903 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16904 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16905 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16906 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16908 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16909 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16910 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16911 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16912 [defined __arch64__ || defined __sparcv9]
16913 (__INO_T_MATCHES_INO64_T): New macro.
16914 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16915 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16916 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16917 * sysdeps/unix/sysv/linux/bits/dirent.h
16918 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16919 (_DIRENT_MATCHES_DIRENT64): New macro.
16921 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16922 Define lockf64 as an alias.
16923 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16924 Define fseeko64 as an alias.
16925 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16926 Define ftello64 as an alias.
16927 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16928 Define _IO_fgetpos64 and fgetpos64 as aliases.
16929 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16930 Define _IO_fsetpos64 and fsetpos64 as aliases.
16931 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16932 Conditionalize body on this.
16933 * libio/fseeko64.c: Likewise.
16934 * libio/ftello64.c: Likewise.
16935 * libio/iofgetpos64.c: Likewise.
16936 * libio/iofsetpos64.c: Likewise.
16937 * sysdeps/wordsize-64/lockf.c: File removed.
16938 * sysdeps/wordsize-64/lockf64.c: File removed.
16939 * sysdeps/wordsize-64/fseeko.c: File removed.
16940 * sysdeps/wordsize-64/fseeko64.c: File removed.
16941 * sysdeps/wordsize-64/ftello.c: File removed.
16942 * sysdeps/wordsize-64/ftello64.c: File removed.
16943 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16944 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16945 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16946 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16947 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16948 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16949 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16950 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16951 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16952 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16953 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16954 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16955 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16956 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16958 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16960 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16962 [defined __arch64__ || defined __sparcv9]
16963 (__OFF_T_MATCHES_OFF64_T): New macro.
16964 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16965 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16966 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16967 (__OFF_T_MATCHES_OFF64_T): New macro.
16969 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16971 * stdlib/secure-getenv.c (__secure_getenv): Replace
16972 GLIBC_2_16 with GLIBC_2_17.
16974 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16976 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16977 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16979 2012-08-03 David S. Miller <davem@davemloft.net>
16981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16983 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16985 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16987 (__ASSUME_CORRECT_SI_PID): Likewise.
16988 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16989 (__ASSUME_TMPFS_NAME): Likewise.
16990 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16991 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16992 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16993 (HAVE_AUX_SECURE): Make definition unconditional.
16994 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16995 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16997 2012-08-03 Roland McGrath <roland@hack.frob.com>
16999 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17000 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17001 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17002 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17003 __eloop_threshold instead of SYMLOOP_MAX.
17005 * sysdeps/generic/eloop-threshold.h: New file.
17006 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17008 * elf/chroot_canon.c (chroot_canon): Likewise.
17010 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17014 Change to 2.6.0 everywhere.
17015 * sysdeps/unix/sysv/linux/configure: Regenerated.
17016 * sysdeps/unix/sysv/linux/kernel-features.h
17017 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17018 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17020 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17021 (__ASSUME_FUTEX_REQUEUE): Remove.
17022 (__ASSUME_STATFS64): Define unconditionally.
17023 (__ASSUME_AT_SECURE): Likewise.
17024 (__ASSUME_CORRECT_SI_PID): Likewise.
17025 (__ASSUME_TGKILL): Define without depending on kernel version for
17027 (__ASSUME_UTIMES): Likewise.
17028 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17030 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17031 (__ASSUME_TMPFS_NAME): Likewise.
17032 * README: Update reference to Linux kernel versions.
17034 2012-08-02 Marek Polacek <polacek@redhat.com>
17037 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17038 libc_cv_asm_type_prefix with %.
17039 * configure: Regenerated.
17040 * include/libc-symbols.h: Remove comment about
17041 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17042 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17043 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17044 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17045 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17046 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17047 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17048 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17049 * elf/tst-unique2mod1.c: Likewise.
17050 * elf/tst-unique1mod2.c: Likewise.
17051 * elf/tst-unique1mod1.c: Likewise.
17052 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17053 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17054 Replace ASM_TYPE_DIRECTIVE with .type.
17055 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17056 * sysdeps/i386/sysdep.h: Likewise.
17057 * sysdeps/x86_64/sysdep.h: Likewise.
17058 * sysdeps/sh/sysdep.h: Likewise.
17059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17060 Do not define ASM_TYPE_DIRECTIVE.
17061 * sysdeps/powerpc/sysdep.h: Likewise.
17062 * sysdeps/powerpc/powerpc32/sysdep.h:
17063 Replace ASM_TYPE_DIRECTIVE with .type.
17064 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17065 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17066 * sysdeps/i386/fpu/e_powf.S: Likewise.
17067 * sysdeps/i386/fpu/e_expl.S: Likewise.
17068 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17069 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17070 * sysdeps/i386/fpu/e_pow.S: Likewise.
17071 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17072 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17073 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17074 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17075 * sysdeps/i386/fpu/e_log2.S: Likewise.
17076 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17077 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17078 * sysdeps/i386/fpu/e_powl.S: Likewise.
17079 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17080 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17081 * sysdeps/i386/fpu/e_logl.S: Likewise.
17082 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17083 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17084 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17085 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17086 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17087 * sysdeps/i386/fpu/e_log.S: Likewise.
17088 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17089 * sysdeps/i386/fpu/e_logf.S: Likewise.
17090 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17091 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17092 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17093 * sysdeps/i386/fpu/e_log10.S: Likewise.
17094 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17095 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17096 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17097 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17098 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17099 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17100 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17101 * sysdeps/i386/i686/strtok.S: Likewise.
17102 * sysdeps/i386/i386-mcount.S: Likewise.
17103 * sysdeps/i386/strtok.S: Likewise.
17104 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17105 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17106 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17107 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17108 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17109 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17110 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17111 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17112 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17113 * sysdeps/x86_64/_mcount.S: Likewise.
17114 * sysdeps/x86_64/strtok.S: Likewise.
17115 * sysdeps/sh/_mcount.S: Likewise.
17117 2012-08-01 Roland McGrath <roland@hack.frob.com>
17119 * libio/iofopen.c: Include <fcntl.h>.
17120 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17121 (_IO_fopen64, fopen64): Define as aliases.
17122 * libio/iofopen64.c: Include <fcntl.h>.
17123 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17124 Conditionalize body on this.
17125 * sysdeps/wordsize-64/iofopen.c: File removed.
17126 * sysdeps/wordsize-64/iofopen64.c: File removed.
17128 2012-08-01 Marek Polacek <polacek@redhat.com>
17130 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17131 Use dlfcn directly instead of a variable.
17132 (binfmt-subdir): Do not define.
17135 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17137 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17138 Remove all definitions.
17139 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17140 <kernel-features.h>.
17141 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17142 (miss_F_GETOWN_EX): Remove all definitions.
17143 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17145 [!__ASSUME_FCNTL64]: Remove conditional code.
17146 [__ASSUME_FCNTL64]: Make code unconditional.
17147 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17148 <kernel-features.h>.
17149 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17150 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17151 (lockf64) [__NR_fcntl64]: Make code unconditional.
17152 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17154 * sysdeps/unix/sysv/linux/kernel-features.h
17155 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17156 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17157 Make code unconditional.
17158 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17159 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17161 [__NR_vfork]: Make code unconditional.
17162 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17163 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17165 [__NR_vfork]: Make code unconditional.
17166 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17167 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17169 2012-08-01 Roland McGrath <roland@hack.frob.com>
17171 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17172 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17174 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17175 Define mkstemp64 as an alias.
17176 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17177 Define mkstemps64 as an alias.
17178 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17179 Define mkostemp64 as an alias.
17180 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17181 Define mkostemps64 as an alias.
17182 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17183 Conditionalize body on this.
17184 * misc/mkostemp64.c: Likewise.
17185 * misc/mkostemps64.c: Likewise.
17186 * misc/mkstemps64.c: Likewise.
17187 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17188 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17189 * sysdeps/wordsize-64/mkostemp.c: File removed.
17190 * sysdeps/wordsize-64/mkstemp.c: File removed.
17191 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17192 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17193 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17194 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17197 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17198 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17199 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17200 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17202 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17203 compat_symbol macros from <shlib-compat.h> rather than the underlying
17204 default_symbol_version and symbol_version macros, so that DEFAULT
17205 lines in shlib-versions are respected.
17206 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17208 2012-08-01 Florian Weimer <fweimer@redhat.com>
17210 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17211 Declare with warn_unused_result.
17212 (setgid, setregid, setegid, setresgid): Likewise.
17213 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17215 * WUR-REPORT: Remove set*id functions.
17217 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17219 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17221 2012-07-31 Roland McGrath <roland@hack.frob.com>
17224 * include/sys/socket.h (__libc_accept, __libc_accept4):
17225 Add attribute_hidden.
17226 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17228 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17230 * inet/getnetgrent_r.c (setup): Likewise.
17232 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17234 2012-07-31 David S. Miller <davem@davemloft.net>
17236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17238 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17241 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17242 value between 1.0 and 2.0 and smaller part has absolute value less
17244 * math/s_clog10.c (__clog10): Likewise.
17245 * math/s_clog10f.c (__clog10f): Likewise.
17246 * math/s_clog10l.c (__clog10l): Likewise.
17247 * math/s_clogf.c (__clogf): Likewise.
17248 * math/s_clogl.c (__clogl): Likewise.
17249 * math/libm-test.inc (clog_test): Add more tests.
17250 (clog10_test): Likewise.
17251 * sysdeps/i386/fpu/libm-test-ulps: Update.
17252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17254 2012-07-31 Florian Weimer <fweimer@redhat.com>
17256 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17257 Exit with zero in case no suitable GID is found, and write a
17258 message to standard error.
17260 2012-07-30 Roland McGrath <roland@hack.frob.com>
17262 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17264 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17265 (MAXPATHLEN): Removed.
17266 (NOGROUP, NODEV): New macros.
17267 (setbit, clrbit, isset, isclr): New macros.
17268 (howmany, roundup, powerof2): New macros.
17269 (DEV_BSIZE): New macro.
17271 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17272 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17274 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17275 definition on [!__NO_LONG_DOUBLE_MATH].
17277 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17278 PTR_MANGLE and PTR_DEMANGLE.
17280 * socket/accept4.c (accept4): Rename to __libc_accept4.
17281 Define accept4 as a weak alias.
17283 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17284 on [_DIRENT_HAVE_D_TYPE].
17285 * io/ftw.c (ftw_dir): Likewise.
17287 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17289 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17291 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17292 Use the BSD numbers rather than the arbitrary ones we had.
17293 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17294 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17295 (SIGXCPU, SIGXFSZ): New macros.
17298 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17299 initializer on [_LIBC_REENTRANT].
17301 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17302 definitions inside [_POSIX_MAPPED_FILES].
17304 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17306 * dirent/opendir.c: Include <fcntl.h>.
17308 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17309 (__libc_getspecific): Likewise.
17310 (__libc_key_create): Likewise.
17312 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17313 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17314 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17315 (tmpfile64): Define as alias.
17316 * sysdeps/wordsize-64/tmpfile.c: File removed.
17317 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17318 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17319 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17321 * stdio-common/vfscanf.c: Include <stdbool.h>.
17322 * nss/makedb.c: Likewise.
17323 * stdio-common/_i18n_number.h: Likewise.
17324 * argp/argp-help.c: Likewise.
17325 * posix/wordexp.c: Likewise.
17326 * sysdeps/posix/spawni.c: Likewise.
17327 * nss/nss_files/files-initgroups.c: Likewise.
17328 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17329 * nss/nss_files/files-initgroups.c: Likewise.
17330 * nss/nss_db/db-netgrp.c: Likewise.
17331 * nss/nss_db/db-initgroups.c: Likewise.
17332 * io/fchmodat.c: Include <sys/stat.h>.
17334 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17335 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17337 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17340 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17341 Add multiple inclusion protection.
17343 2012-07-27 David S. Miller <davem@davemloft.net>
17345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17347 2012-07-27 Gary Benson <gbenson@redhat.com>
17350 * elf/rtld.c: Include <stap-probe.h>.
17351 (dl_main): Added static probes "init_start" and "init_complete".
17352 * elf/dl-load.c: Include <stap-probe.h>.
17353 (lose): Take new parameter "nsid".
17354 Added static probe "map_failed".
17355 (_dl_map_object_from_fd): Pass namespace id to lose.
17356 Added static probe "map_start".
17357 (open_verify): Pass namespace id to lose.
17358 * elf/dl-open.c: Include <stap-probe.h>.
17359 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17360 and "reloc_complete".
17361 * elf/dl-close.c: Include <stap-probe.h>.
17362 (_dl_close_worker): Added static probes "unmap_start" and
17364 * elf/rtld-debugger-interface.txt: New file documenting the above.
17366 2012-07-26 Roland McGrath <roland@hack.frob.com>
17368 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17369 rather than a string variable.
17370 * sunrpc/rpc_main.c (h_output): Likewise.
17371 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17373 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17375 * inet/check_native.c: New file.
17377 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17380 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17381 if larger part has absolute value 1.0.
17382 * math/s_clog10.c (__clog10): Likewise.
17383 * math/s_clog10f.c (__clog10f): Likewise.
17384 * math/s_clog10l.c (__clog10l): Likewise.
17385 * math/s_clogf.c (__clogf): Likewise.
17386 * math/s_clogl.c (__clogl): Likewise.
17387 * math/libm-test.inc (clog_test): Add more tests.
17388 (clog10_test): Likewise.
17389 * sysdeps/i386/fpu/libm-test-ulps: Update.
17390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17392 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17393 (pltexit): Likewise.
17394 (La_regs): Likewise.
17395 (La_retval): Likewise.
17396 (int_retval): Likewise.
17397 Update #error for removed macros to refer only to definitions in
17399 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17401 (pltexit): Likewise.
17402 (La_regs): Likewise.
17403 (La_retval): Likewise.
17404 (int_retval): Likewise.
17405 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17407 (pltexit): Likewise.
17408 (La_regs): Likewise.
17409 (La_retval): Likewise.
17410 (int_retval): Likewise.
17411 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17413 (pltexit): Likewise.
17414 (La_regs): Likewise.
17415 (La_retval): Likewise.
17416 (int_retval): Likewise.
17417 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17419 (pltexit): Likewise.
17420 (La_regs): Likewise.
17421 (La_retval): Likewise.
17422 (int_retval): Likewise.
17423 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17425 (pltexit): Likewise.
17426 (La_regs): Likewise.
17427 (La_retval): Likewise.
17428 (int_retval): Likewise.
17429 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17431 (pltexit): Likewise.
17432 (La_regs): Likewise.
17433 (La_retval): Likewise.
17434 (int_retval): Likewise.
17435 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17436 macro definitions in tst-audit.h.
17437 * sysdeps/i386/tst-audit.h: New file.
17438 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17439 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17440 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17441 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17442 * sysdeps/sh/tst-audit.h: Likewise.
17443 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17444 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17445 * sysdeps/x86_64/tst-audit.h: Likewise.
17447 2012-07-26 Andreas Jaeger <aj@suse.de>
17449 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17452 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17453 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17454 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17456 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17457 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17458 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17460 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17463 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17465 (si_call_addr, si_syscall, si_arch): Define new macro.
17466 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17468 (si_call_addr, si_syscall, si_arch): Define new marcro.
17469 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17471 (si_call_addr, si_syscall, si_arch): Define new macro.
17472 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17474 (si_call_addr, si_syscall, si_arch): Define new macro.
17476 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17479 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17480 Change to 2.4.21 where previously 2.4.1.
17481 * sysdeps/unix/sysv/linux/configure: Regenerated.
17482 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17483 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17484 Linux kernel version.
17485 (__ASSUME_STD_AUXV): Remove.
17486 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17488 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17489 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17490 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17491 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17492 (__ASSUME_NETLINK_SUPPORT): Likewise.
17493 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17494 (__no_netlink_support): Remove conditional definition.
17495 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17497 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17498 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17499 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17500 (if_nameindex_ioctl): Remove.
17501 (if_nameindex_netlink): Do not handle __no_netlink_support.
17502 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17504 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17505 Remove conditional code.
17506 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17508 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17510 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17511 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17512 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17514 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17515 [!__ASSUME_STD_AUXV]: Remove conditional code.
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17517 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17518 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17520 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17521 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17523 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17525 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17526 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17528 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17530 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17533 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17536 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17537 code unconditional.
17538 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17540 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17542 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17545 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17547 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17550 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17551 code unconditional.
17552 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17554 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17556 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17559 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17560 code unconditional.
17561 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17563 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17565 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17568 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17570 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17571 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17572 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17573 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17574 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17575 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17576 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17577 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17578 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17579 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17580 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17581 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17582 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17583 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17584 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17585 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17586 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17587 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17588 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17590 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17591 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17592 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17594 2012-07-25 Florian Weimer <fweimer@redhat.com>
17596 * Versions.def: Add GLIBC_2.17.
17597 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17598 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17599 Introduce __libc_secure_getenv.
17600 * stdlib/Versions (2.17): Add secure_getenv
17601 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17602 * stdlib/secure-getenv.c: Rename __secure_getenv to
17603 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17604 symbol __secure_getenv for GLIBC_2.0.
17605 * stdlib/tst-secure-getenv.c: New.
17606 * stdlib/Makefile (tests): Add testcase.
17607 * manual/startup.texi (Environment Access): Document
17609 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17610 __libc_secure_getenv.
17611 * inet/ruserpass.c (ruserpass): Likewise.
17612 * malloc/mtrace.c (mtrace): Likewise.
17613 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17614 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17615 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17616 * sysdeps/posix/tempname.c: Likewise. Evaluate
17617 HAVE_SECURE_GETENV.
17618 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17619 __secure_getenv to __libc_secure_getenv.
17620 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17633 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17635 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17636 (struct La_i86_retval): Likewise.
17637 (struct La_x86_64_regs): Likewise.
17638 (struct La_x86_64_retval): Likewise.
17639 (struct La_x32_regs): Likewise.
17640 (struct La_x32_retval): Likewise.
17641 (struct La_ppc32_regs): Likewise.
17642 (struct La_ppc32_retval): Likewise.
17643 (struct La_ppc64_regs): Likewise.
17644 (struct La_ppc64_retval): Likewise.
17645 (struct La_sh_regs): Likewise.
17646 (struct La_sh_retval): Likewise.
17647 (struct La_s390_32_regs): Likewise.
17648 (struct La_s390_32_retval): Likewise.
17649 (struct La_s390_64_regs): Likewise.
17650 (struct La_s390_64_retval): Likewise.
17651 (struct La_sparc32_regs): Likewise.
17652 (struct La_sparc32_retval): Likewise.
17653 (struct La_sparc64_regs): Likewise.
17654 (struct La_sparc64_retval): Likewise.
17655 (struct audit_ifaces): Remove architecture-specific pltenter and
17657 * sysdeps/i386/ldsodefs.h: New file.
17658 * sysdeps/powerpc/ldsodefs.h: Likewise.
17659 * sysdeps/s390/ldsodefs.h: Likewise.
17660 * sysdeps/sh/ldsodefs.h: Likewise.
17661 * sysdeps/sparc/ldsodefs.h: Likewise.
17662 * sysdeps/x86_64/ldsodefs.h: Likewise.
17664 2012-07-25 Marek Polacek <polacek@redhat.com>
17667 * math/libm-test.inc (yn_test): Add another test.
17668 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17669 to ERANGE when the result is +-Inf.
17670 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17671 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17672 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17673 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17675 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17677 * conform/data/time.h-data (NULL): Use macro-constant. Require
17679 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17681 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17683 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17685 * configure.in <sysdeps resolving>: Correct printing
17687 * configure: Regenerate.
17689 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17691 * math/w_ilogb.c: Include <limits.h>.
17692 * math/w_ilogbl.c: Likewise.
17694 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17696 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17697 va_copy. Document allowing for unavailable va_copy only as
17698 pre-C99 compatibility.
17699 * manual/string.texi (Copying and Concatenation): Use va_copy
17700 instead of __va_copy in concat example.
17702 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17704 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17705 (__sendto): Use create_address_port. Initialize APORT and deallocate
17708 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17709 with O_NOLINK passed to __file_name_lookup.
17711 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17712 with O_NOLINK passed to __file_name_lookup.
17714 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17715 negative N or less than NGIDS.
17717 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17718 type to string_t. Set ERANGE as errno and return it if NAME is not big
17719 enough. Use memcpy instead of strncpy.
17721 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17723 * elf/Makefile (check-data): Remove.
17724 (localplt.data): New vpath directive.
17725 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17726 instead of $(check-data).
17727 * scripts/data/localplt-generic.data: Move to ...
17728 * sysdeps/generic/localplt.data: ... here.
17729 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17730 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17731 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17734 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17737 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17740 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17743 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17746 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17750 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17752 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17753 PPC32 and PPC64 files.
17754 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17755 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17757 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17759 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17760 __makecontext_ret to ...
17761 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17762 ... here and call exit if uc_link is NULL. New file.
17763 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17764 __makecontext_ret.S.
17765 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17766 __makecontext_ret to ...
17767 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17768 ... here and call exit if uc_link is NULL. New file.
17769 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17770 __makecontext_ret.S.
17772 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17774 * elf/elf.h (R_390_IRELATIVE): New definition.
17775 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17776 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17777 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17778 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17779 (elf_machine_lazy_rel): Likewise.
17780 * sysdeps/s390/dl-irel.h: New file.
17781 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17782 * sysdeps/s390/s390-64/memset.S: New asm code.
17783 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17784 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17785 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17786 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17787 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17788 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17789 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17790 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17791 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17792 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17793 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17794 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17795 * sysdeps/s390/s390-32/memset.S: New asm code.
17796 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17798 2012-07-17 Marek Polacek <polacek@redhat.com>
17801 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17802 * sysdeps/s390/s390-64/configure.in: Likewise.
17803 * sysdeps/sparc/configure.in: Likewise.
17804 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17805 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17806 * sysdeps/i386/configure.in: Likewise.
17807 * sysdeps/x86_64/configure.in: Likewise.
17808 * sysdeps/sh/configure.in: Likewise.
17809 * sysdeps/s390/s390-32/configure: Regenerated.
17810 * sysdeps/s390/s390-64/configure: Likewise.
17811 * sysdeps/x86_64/configure: Likewise.
17812 * sysdeps/sh/configure: Likewise.
17813 * sysdeps/powerpc/powerpc64/configure: Likewise.
17814 * sysdeps/powerpc/powerpc32/configure: Likewise.
17815 * sysdeps/sparc/configure: Likwise.
17816 * sysdeps/i386/configure: Likewise.
17818 * elf/dl-open.c: Comment fixes.
17820 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17822 * Makefile [CXX] (check-data): Remove.
17823 [CXX] (c++-types.data): New vpath directive.
17824 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17825 vpath. Do not allow for C++ type data being missing.
17826 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17827 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17828 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17829 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17830 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17831 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17832 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17835 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17838 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17841 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17844 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17847 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17850 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17853 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17856 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17857 definitions to architecture-specific files.
17858 (TLS_IE): Likewise.
17859 (TLS_LD): Likewise.
17860 (TLS_GD): Likewise.
17861 * sysdeps/i386/tls-macros.h: New file.
17862 * sysdeps/powerpc/tls-macros.h: Likewise.
17863 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17864 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17865 * sysdeps/sh/tls-macros.h: Likewise.
17866 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17867 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17868 * sysdeps/x86_64/tls-macros.h: Likewise.
17870 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17872 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17873 zero value for regular exit case.
17875 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17876 (__start_context): Preserve zero value for regular exit case.
17878 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17879 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17881 * manual/setjmp.texi (setcontext): Clarify normal process
17882 termination when uc_link is the null pointer.
17883 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17886 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17888 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17889 preprocessor. Test for each exception mask separately.
17891 2012-07-16 Andreas Jaeger <aj@suse.de>
17893 * po/ru.po: Update from translation team.
17895 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17897 * conform/data/string.h-data (NULL): Use macro-constant. Require
17899 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17900 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17901 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17902 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17903 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17905 2012-07-13 Andreas Jaeger <aj@suse.de>
17907 * po/fr.po: Update from translation team.
17909 2012-07-12 Marek Polacek <polacek@redhat.com>
17912 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17913 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17916 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17919 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17920 Change to 2.4.1 where previously 2.4.0.
17921 * sysdeps/unix/sysv/linux/configure: Regenerated.
17922 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17923 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17925 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17926 (__ASSUME_AT_CLKTCK): Remove.
17927 (__ASSUME_AT_PAGESIZE): Likewise.
17928 (__ASSUME_AT_XID): Likewise.
17929 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17930 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17931 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17933 (HAVE_AUX_PAGESIZE): Likewise.
17934 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17935 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17936 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17938 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17942 the temporary buffer used to invoke __gethostbyname2_r,
17943 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17944 host_data / struct gaih_addrtuple.
17945 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17946 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17947 header file nss/nsswitch.h.
17948 * nss/nsswitch.h (global scope): Add definition of implementation
17949 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17950 resolv/nss_dns/dns-host.c).
17952 2012-07-11 Andreas Jaeger <aj@suse.de>
17954 * po/fr.po: Update from translation team.
17956 * po/sv.po: Update from translation team
17957 * po/fr.po: Another update from translation team.
17959 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17961 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17962 for subnormals or multiply small sinh result by itself.
17963 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17966 2012-07-11 David S. Miller <davem@davemloft.net>
17968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17970 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17973 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17974 (INTERNAL_MARK): Shift it here.
17976 2012-07-10 Marek Polacek <polacek@redhat.com>
17979 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17980 libc_cv_asm_global_directive with .globl.
17981 * configure: Regenerated.
17982 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17984 * sysdeps/i386/configure: Regenerated.
17985 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17987 * sysdeps/x86_64/configure: Regenerated.
17988 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17989 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17990 * elf/tst-unique2mod2.c: Likewise.
17991 * elf/tst-unique2mod1.c: Likewise.
17992 * elf/tst-unique1mod2.c: Likewise.
17993 * elf/tst-unique1mod1.c: Likewise.
17994 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17995 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17996 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17997 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17998 * sysdeps/mach/sysdep.h: Likewise.
17999 * sysdeps/i386/sysdep.h: Likewise.
18000 * sysdeps/i386/i386-mcount.S: Likewise.
18001 * sysdeps/x86_64/_mcount.S: Likewise.
18002 * sysdeps/x86_64/sysdep.h: Likewise.
18003 * sysdeps/sh/_mcount.S: Likewise.
18004 * sysdeps/sh/sysdep.h: Likewise.
18005 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18006 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18007 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18008 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18009 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18010 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18011 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18012 * locale/localeinfo.h: Likewise.
18013 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18014 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18016 2012-07-09 Roland McGrath <roland@hack.frob.com>
18019 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18021 * manual/message.texi (The Uniforum approach): Likewise.
18022 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18023 (glibc iconv Implementation): Likewise.
18025 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18028 * math/s_clog.c (__clog): Avoid scaling a value down where that
18029 could result in underflow.
18030 * math/s_clog10.c (__clog10): Likewise.
18031 * math/s_clog10f.c (__clog10f): Likewise.
18032 * math/s_clog10l.c (__clog10l): Likewise.
18033 * math/s_clogf.c (__clogf): Likewise.
18034 * math/s_clogl.c (__clogl): Likewise.
18035 * math/libm-test.inc (clog_test): Add more tests.
18036 (clog10_test): Likewise.
18037 * sysdeps/i386/fpu/libm-test-ulps: Update.
18038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18040 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18043 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18044 by 7 not 8 to examine high bit of fractional part.
18047 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18048 for call to __mcount_internal.
18049 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18050 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18051 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18053 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18056 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18057 approximation for values within 0x1p-13f of an odd multiple of
18059 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18060 exception. Add more tests.
18061 * sysdeps/i386/fpu/libm-test-ulps: Update.
18064 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18065 inputs and return -1 for them. Do not check for +Inf in case not
18066 reachable for +Inf.
18067 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18068 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18069 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18070 and return -1 for them. Do not check for +Inf in case not
18071 reachable for +Inf.
18072 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18074 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18075 and return -1 for them. Do not check for +Inf in case not
18076 reachable for +Inf.
18077 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18078 spurious underflow.
18079 * sysdeps/i386/fpu/libm-test-ulps: Update.
18080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18082 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18084 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18086 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18090 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18091 could result in spurious underflow. Scale down values above
18092 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18093 * math/s_csqrtf.c (__csqrtf): Likewise.
18094 * math/s_csqrtl.c (__csqrtl): Likewise.
18095 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18096 spurious underflow.
18097 * sysdeps/i386/fpu/libm-test-ulps: Update.
18098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18100 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18102 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18104 * catgets/xopen-msg.awk: New file.
18105 * catgets/xopen-msg.sed: Removed.
18107 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18109 * intl/po2test.awk: New file.
18110 * intl/po2test.sed: Removed.
18112 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18115 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18116 or multiply small sinh result by itself.
18117 * math/s_ctanf.c (__ctanf): Likewise.
18118 * math/s_ctanh.c (__ctanh): Likewise.
18119 * math/s_ctanhf.c (__ctanhf): Likewise.
18120 * math/s_ctanhl.c (__ctanhl): Likewise.
18121 * math/s_ctanl.c (__ctanl): Likewise.
18122 * math/libm-test.inc (ctan_test_tonearest): New function.
18123 (ctan_test_towardzero): Likewise.
18124 (ctan_test_downward): Likewise.
18125 (ctan_test_upward): Likewise.
18126 (ctanh_test_tonearest): Likewise.
18127 (ctanh_test_towardzero): Likewise.
18128 (ctanh_test_downward): Likewise.
18129 (ctanh_test_upward): Likewise.
18130 (main): Call these new functions.
18131 * sysdeps/i386/fpu/libm-test-ulps: Update.
18132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18134 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18136 * .gitignore: Delete /ports entry.
18138 2012-07-03 Andreas Jaeger <aj@suse.de>
18140 * po/bg.po: Update from translation team.
18141 * po/cs.po: Likewise.
18142 * po/de.po: Likewise.
18143 * po/hr.po: Likewise.
18144 * po/nl.pl: Likewise.
18145 * po/pl.po: Likewise.
18146 * po/vi.po: Likewise.
18148 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18150 * Makeconfig [!+link] (+link-before-libc): New variable.
18151 [!+link] (+link-after-libc): Likewise.
18152 [!+link] (+link-tests): Likewise.
18153 [!+link] (+link): Define in terms of $(+link-before-libc) and
18154 $(+link-after-libc).
18155 [!+link-static] (+link-static-before-libc): New variable.
18156 [!+link-static] (+link-static-after-libc): Likewise.
18157 [!+link-static] (+link-static-tests): Likewise.
18158 [!+link-static] (+link-static): Define in terms of
18159 $(+link-static-before-libc) and $(+link-static-after-libc).
18160 [build-shared] (link-libc-before-gnulib): New variable.
18161 [build-shared] (link-libc-tests): Likewise.
18162 [build-shared] (link-libc): Define in terms of
18163 $(link-libc-before-gnulib).
18164 [!build-shared] (link-libc-tests): New variable.
18165 (link-libc-static-tests): New variable.
18166 [!gnulib] (gnulib-arch): New variable.
18167 [!gnulib] (gnulib-tests): Likewise.
18168 [!gnulib] (static-gnulib-arch): Likewise.
18169 [!gnulib] (static-gnulib-tests): Likewise.
18170 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18171 Define with "=" instead of ":=".
18172 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18173 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18174 * Rules (binaries-all-notests): New variable.
18175 (binaries-all-tests): Likewise.
18176 (binaries-static-notests): Likewise.
18177 (binaries-static-tests): Likewise.
18178 (binaries-all): Define using $(binaries-all-notests) and
18179 $(binaries-all-tests).
18180 (binaries-static): Define using $(binaries-static-notests) and
18181 $(binaries-static-tests).
18182 (binaries-shared-tests): New variable.
18183 (binaries-shared-notests): Likewise.
18184 (binaries-shared): Remove variable.
18185 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18186 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18187 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18188 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18189 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18190 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18191 * elf/Makefile (sln-modules): New variable.
18192 (extra-objs): Add $(sln-modules:=.o).
18193 (ldconfig-modules): Add static-stubs.
18194 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18195 * elf/static-stubs.c: New file.
18198 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18199 by 7 not 8 to examine high bit of fractional part. Use volatile
18200 variables when splitting into final array of floats if
18201 __FLT_EVAL_METHOD__ != 0.
18202 * math/libm-test.inc (cos_test): Add another test.
18203 (sin_test): Likewise.
18204 * sysdeps/i386/fpu/libm-test-ulps: Update.
18207 * math/libm-test.inc (cosh_test): Add more tests.
18209 * version.h (RELEASE): Set to "development".
18210 (VERSION): Set to "2.16.90".
18212 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18214 * NEWS: Update copyright. Remove last-updated date.
18215 Mention math library bug fixes and timezone data changes.
18216 * README: Mention GNU/Hurd, x32, and HPPA support status.
18218 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18220 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18222 2012-06-27 Andreas Jaeger <aj@suse.de>
18224 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18226 2012-06-25 Andreas Jaeger <aj@suse.de>
18228 * sysdeps/s390/fpu/libm-test-ulps: Update.
18230 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18231 Thomas Schwinge <thomas@codesourcery.com>
18233 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18234 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18235 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18238 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18240 * sysdeps/mach/start.c: Remove file.
18241 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18242 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18243 * sysdeps/sh/init-first.c: Likewise.
18245 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18246 registers for frame unwinding purposes, add CFI directives.
18247 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18248 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18249 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18252 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18253 __fortify_fail returning.
18254 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18256 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18257 sysdeps/sh/____longjmp_chk.S.
18258 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18259 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18260 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18261 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18263 * sysdeps/sh/abort-instr.h: New file.
18264 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18265 process in case exit returns.
18267 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18268 initialize the GOT register before use.
18270 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18271 calculation of ARGC > 4.
18273 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18274 meaningful names to some local labels.
18276 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18277 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18279 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18280 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18281 (__arch_compare_and_exchange_val_16_acq): Likewise.
18282 (__arch_compare_and_exchange_val_32_acq): Likewise.
18283 (atomic_exchange_and_add): Fix gUSA sequence.
18284 (atomic_add): Likewise.
18285 (atomic_add_negative): Likewise.
18286 (atomic_add_zero): Likewise.
18287 (atomic_bit_test_set): Likewise.
18289 2012-06-22 Andreas Schwab <schwab@redhat.com>
18292 * include/link.h (struct link_map): Add l_free_initfini.
18293 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18295 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18296 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18297 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18300 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18302 * configure.in: Use AC_LANG_SOURCE.
18303 * configure: Regenerate.
18305 2012-06-22 Roland McGrath <roland@hack.frob.com>
18307 * configure.in (libc_cv_localstatedir): New substituted variable.
18308 * configure: Regenerated.
18309 * config.make.in (localstatedir): New variable, substituted from
18310 libc_cv_localstatedir.
18311 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18312 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18313 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18314 * sysdeps/gnu/configure: Regenerated.
18316 2012-06-21 Jeff Law <law@redhat.com>
18319 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18320 free. Simplify list management for _LIBC case.
18322 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18325 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18326 Clear sign bit of 64-bit integer value before comparing against
18329 * sysdeps/mach/configure: Regenerated.
18331 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18334 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18336 2012-06-21 Jeff Law <law@redhat.com>
18339 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18340 uint16_t for elements in the "seen" array to avoid char overflows.
18341 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18342 * elf/dl-open.c (dl_open_worker): Likewise.
18344 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18346 * scripts/list-sources.sh: Scan PORTS for translations.
18347 * po/libc.pot: Regenerated.
18349 2012-06-21 Andreas Jaeger <aj@suse.de>
18352 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18354 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18355 * bits/byteswap-16.h (__bswap_16): Likewise.
18356 * bits/byteswap.h (__bswap_constant_16): Likewise.
18358 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18361 * sysdeps/i386/fpu_control.h: Removed.
18362 * sysdeps/x86_64/fpu_control.h: Moved to ...
18363 * sysdeps/x86/fpu_control.h: Here.
18365 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18366 (_FPU_SETCW): Likewise.
18368 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18371 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18372 * sysdeps/x86/fpu/bits/mathinline.h: This.
18373 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18377 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18378 functions if __x86_64__ is defined.
18380 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18382 * string/endian.h: Add !__ASSEMBLER__ condition for including
18383 conversion interfaces.
18385 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18388 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18389 of ABS(x) in calculating zero to negative powers other than odd
18391 * math/libm-test.inc (pow_test): Add more tests.
18393 2012-06-15 Andreas Jaeger <aj@suse.de>
18395 * manual/contrib.texi (Contributors): Update entry of Liubov
18396 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18399 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18401 * string/string.h: Add __wur to GNU version of strerror_r.
18403 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18406 * string/Makefile (tests): Add tst-strtok_r.
18407 * string/tst-strtok_r.c: New file.
18408 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18409 RAX_LP/RDX_LP on SAVE_PTR.
18411 2012-06-14 Roland McGrath <roland@hack.frob.com>
18413 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18415 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18417 * libm_test.inc (csqrt_test): Allow more spurious underflow
18419 (j0_test): Likewise.
18420 (j1_test): Likewise.
18421 (y0_test): Likewise.
18422 (y1_test): Likewise.
18424 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18426 * po/Makefile (libc.pot): Use UTF-8 charset.
18428 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18431 Suppress sign-conversion warning from FD_SET.
18432 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18433 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18434 not unsigned long int.
18435 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18437 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18441 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18442 __extern_always_inline instead of __extern_inline.
18443 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18444 (__signbit): Likewise.
18445 (__signbitl): Support C++ namespace.
18446 (lrintf): New inline function.
18448 (llrintf): Likewise.
18449 (llrint): Likewise.
18459 (floorf): Likewise.
18460 (nearbyint): Likewise.
18461 (nearbyintf): Likewise.
18463 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18465 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18466 non-default versions.
18468 2012-06-11 Roland McGrath <roland@hack.frob.com>
18471 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18473 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18475 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18476 (FE_UPWARD, FE_DOWNWARD): Don't define.
18477 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18478 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18480 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18482 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18483 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18485 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18487 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18488 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18489 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18490 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18492 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18495 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18496 * sysdeps/i386/fpu/Implies: New file.
18497 * sysdeps/x86_64/fpu/Implies: Likewise.
18498 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18499 * sysdeps/x86/fpu/bits/fenv.h: This.
18501 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18504 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18507 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18508 character 0xffff that matches the last element of the
18511 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18513 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18516 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18518 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18519 values higher than 25.6283.
18521 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18523 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18524 subnormal exponent extraction and add some __builtin_expect.
18525 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18526 Fix for subnormal mantissa calculation.
18528 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18530 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18531 cpu2 is -1 and errno is not ENOSYS.
18533 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18536 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18537 * sysdeps/x86/bits/string.h: This.
18538 * sysdeps/x86_64/bits/string.h: Removed.
18540 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18541 if not compiling for x86-64, but compiling for >= i486.
18543 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18544 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18546 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18547 New macro from Linux kernel 3.4.0.
18548 (FP_XSTATE_MAGIC2): Likewise.
18549 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18550 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18551 (struct _fpx_sw_bytes): New struct.
18552 (struct _xsave_hdr): Likewise.
18553 (struct _ymmh_state): Likewise.
18554 (struct _xstate): Likewise.
18556 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18557 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18558 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18559 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18560 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18561 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18563 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18564 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18565 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18566 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18567 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18568 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18570 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18573 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18574 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18575 (sysdep_headers): Include sys/platform/ppc.h.
18576 * sysdeps/powerpc/test-gettimebase.c: Test for
18577 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18578 * manual/Makefile (appendices): Include platform.texi.
18579 * manual/contrib.texi (Contributors): Update @node pointers.
18580 * manual/maint.texi (Maintenance): Likewise.
18581 (Platform): New node.
18582 * manual/platform.texi: New file. Document the new features.
18584 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18585 Jakub Jelinek <jakub@redhat.com>
18588 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18589 where __builtin_expect is unavailable.
18591 2012-06-03 David S. Miller <davem@davemloft.net>
18593 * stdlib/longlong.h: Updated from GCC.
18595 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18598 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18599 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18602 (GLIBC_2.16): Likewise.
18604 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18606 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18608 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18611 (default-abi): New variable.
18612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18613 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18615 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18617 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18619 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18622 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18623 definition. Document in comment.
18625 2012-06-01 David S. Miller <davem@davemloft.net>
18627 * stdlib/longlong.h: Updated from GCC.
18629 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18632 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18633 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18634 sys/debugreg.h sys/io.h here.
18635 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18636 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18638 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18639 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18640 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18641 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18642 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18643 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18645 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18646 Define only if __x86_64__ is defined.
18648 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18651 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18652 Use int64_t for variable i.
18653 * math/libm-test.inc (fmod_test): Add more tests.
18655 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18656 z computation is not scheduled after fetestexcept.
18657 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18658 Use math_force_eval instead of asm to ensure calculation scheduled
18659 before exception test.
18660 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18661 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18663 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18666 computation is not scheduled after fetestexcept.
18668 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18671 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18672 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18674 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18676 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18677 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18679 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18682 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18684 (__WCHAR_MIN): Support __WORDSIZE == 64.
18685 (__WCHAR_MAX): Likewise.
18687 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18688 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18691 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18692 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18695 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18696 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18698 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18699 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18701 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18702 Defined to 1 if __x86_64__ isn't defined.
18703 (_STAT_VER_LINUX_OLD): New.
18704 (st_atime): Remove duplicate.
18705 (st_mtime): Likewise.
18706 (st_ctime): Likewise.
18708 2012-05-31 David S. Miller <davem@davemloft.net>
18710 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18713 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18715 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18719 * elf/dl-reloc.c: Include <_itoa.h>.
18720 (_dl_reloc_bad_type): Remove use of INTUSE.
18721 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18722 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18723 * stdio-common/psiginfo.c (psiginfo): Likewise.
18724 * stdio-common/psignal.c (psignal): Likewise.
18725 * string/strsignal.c (strsignal): Likewise.
18726 * include/signal.h (_sys_siglist): Declare hidden proto.
18727 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18728 INTVARDEF with libc_hidden_data_def.
18729 * stdio-common/itoa-udigits.c: Likewise.
18730 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18731 (_itoa_lower_digits_internal): Remove declaration.
18732 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18733 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18734 (_sys_sigabbrev_internal): Remove aliases.
18735 (_sys_siglist): Define hidden alias.
18737 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18739 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18742 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18745 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18746 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18748 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18749 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18750 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18751 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18752 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18753 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18755 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18756 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18757 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18759 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18767 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18768 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18769 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18771 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18772 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18773 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18774 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18775 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18776 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18778 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18779 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18781 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18782 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18784 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18786 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18788 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18789 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18791 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18793 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18794 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18795 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18797 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18799 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18801 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18803 * math/math.h (M_El): Use two more decimal places.
18804 (M_LOG2El): Likewise.
18805 (M_LOG10El): Likewise.
18806 (M_LN2l): Likewise.
18807 (M_LN10l): Likewise.
18809 (M_PI_2l): Likewise.
18810 (M_PI_4l): Likewise.
18811 (M_1_PIl): Likewise.
18812 (M_2_PIl): Likewise.
18813 (M_2_SQRTPIl): Likewise.
18814 (M_SQRT2l): Likewise.
18815 (M_SQRT1_2l): Likewise.
18817 2012-05-31 David S. Miller <davem@davemloft.net>
18819 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18820 values between float registers.
18821 * sysdeps/sparc/sparc64/memset.S: Likewise.
18822 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18824 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18826 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18827 -D_FORTIFY_SOURCE=1.
18828 (CPPFLAGS-tst-longjmp_chk.c): Define.
18829 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18830 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18831 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18832 CFLAGS-tst-wchar-h.c.
18834 2012-05-31 Marek Polacek <polacek@redhat.com>
18837 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18838 __endmntent_internal): Remove declaration.
18839 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18840 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18841 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18843 2012-05-30 David S. Miller <davem@davemloft.net>
18845 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18846 (___Q_simulate_exceptions): Use real FP ops rather than writing
18848 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18851 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18854 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18855 * sysdeps/x86/bits/xtitypes.h: This.
18857 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18858 * sysdeps/x86/bits/wordsize.h: This.
18860 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18861 * sysdeps/x86/bits/huge_vall.h: This.
18863 * sysdeps/i386/bits/select.h: Removed.
18864 * sysdeps/x86_64/bits/select.h: Renamed to ...
18865 * sysdeps/x86/bits/select.h: This.
18867 * sysdeps/i386/bits/setjmp.h: Removed.
18868 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18869 * sysdeps/x86/bits/setjmp.h: This.
18871 * sysdeps/i386/bits/mathdef.h: Removed.
18872 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18873 * sysdeps/x86/bits/mathdef.h: This.
18875 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18878 * include/sys/socket.h (__connect_internal)
18879 (__libc_sa_len_internal): Remove declaration.
18880 (__connect, __libc_sa_len): Declare hidden_proto.
18881 (SA_LEN): Remove use of INTUSE.
18882 * socket/connect.c: Add libc_hidden_def.
18883 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18884 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18885 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18887 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18888 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18889 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18890 of adding _internal alias.
18892 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18895 * sysdeps/i386/bits/link.h: Removed.
18896 * sysdeps/i386/bits/linkmap.h: Likewise.
18897 * sysdeps/x86_64/bits/link.h: Renamed to ...
18898 * sysdeps/x86/bits/link.h: This.
18899 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18900 * sysdeps/x86/bits/linkmap.h: This.
18902 * sysdeps/i386/bits/endian.h: Removed.
18903 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18904 * sysdeps/x86/bits/endian.h: This.
18906 * sysdeps/i386/bits/byteswap.h: Removed.
18907 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18908 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18909 * sysdeps/x86/bits/byteswap.h: This.
18910 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18911 * sysdeps/x86/bits/byteswap-16.h: This.
18912 * sysdeps/i386/Implies: Add x86.
18913 * sysdeps/x86_64/Implies: Likewise.
18915 2012-05-30 David S. Miller <davem@davemloft.net>
18917 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18918 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18919 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18920 (FP_TRAPPING_EXCEPTIONS): Define.
18921 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18922 (FP_TRAPPING_EXCEPTIONS): Define.
18923 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18924 subnormals only when inexact has been signalled or underflow
18925 exceptions are enabled.
18926 (_FP_PACK_CANONICAL): Likewise.
18928 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18931 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18932 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18934 2012-05-30 Richard Henderson <rth@twiddle.net>
18936 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18937 with #ifndef NOT_IN_libc.
18939 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18940 marked to avoid plt entry.
18942 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18945 * Makeconfig (default-abi): New macro.
18946 (abi-includes): Likewise.
18947 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18948 $(abi-$(default-abi)-lib-soname) for soname if defined.
18949 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18951 * Makefile (installed-stubs): Likewise.
18952 * include/stubs-biarch.h: Removed.
18953 * scripts/lib-names.awk: Only handle one library at a time.
18954 * scripts/soversions.awk: Remove WORDSIZE support.
18955 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18957 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18959 (syscall-list-default-condition): Likewise.
18960 (syscall-list-default-condition): Likewise.
18961 (syscall-list-includes): Likewise.
18962 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18963 syscall-list-* with abi-*. Handle undefined abi-variants.
18964 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18965 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18966 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18967 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18968 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18969 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18971 (syscall-list-32-options): Likewise.
18972 (syscall-list-32-condition): Likewise.
18973 (syscall-list-64-options): Likewise.
18974 (syscall-list-64-condition): Likewise.
18975 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18977 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18980 (abi-64-ld-soname): New macro.
18981 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18982 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18985 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18986 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18988 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18990 * sysdeps/unix/sysv/linux/kernel-features.h
18991 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18992 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18993 include <kernel-features.h>.
18994 [!__NR_ftruncate64]: Remove conditional code.
18995 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18996 [__NR_ftruncate64]: Make code unconditional.
18997 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18998 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18999 include <kernel-features.h>.
19000 [!__NR_ftruncate64]: Remove conditional code.
19001 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19002 [__NR_ftruncate64]: Make code unconditional.
19003 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19005 include <kernel-features.h>.
19006 [!__NR_ftruncate64]: Remove conditional code.
19007 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19008 [__NR_ftruncate64]: Make code unconditional.
19009 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19011 include <kernel-features.h>.
19012 [!__NR_ftruncate64]: Remove conditional code.
19013 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19014 [__NR_ftruncate64]: Make code unconditional.
19015 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19017 * configure.in (libc_cv_fpie): Weaken to a compile test using
19018 LIBC_TRY_CC_OPTION.
19019 * configure: Regenerated.
19021 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19036 2012-05-27 David S. Miller <davem@davemloft.net>
19038 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19040 (__Q_simulate_exceptions): Return void. Change to simulate
19041 exceptions by writing into the %fsr.
19042 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19043 (__Qp_handle_exceptions): Likewise.
19045 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19046 __Qp_handle_exceptions.
19047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19048 __Qp_handle_exceptions.
19049 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19050 as unused and give dummy FP_RND_NEAREST initializer.
19051 (FP_INHIBIT_RESULTS): Define.
19052 (___Q_simulate_exceptions): Update declaration.
19053 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19055 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19056 as unused and give dummy FP_RND_NEAREST initializer.
19057 (__Qp_handle_exceptions): Update declaration.
19058 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19061 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19063 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19064 the temporary FPU control word.
19065 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19066 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19067 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19068 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19069 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19070 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19071 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19072 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19073 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19074 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19075 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19077 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19079 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19082 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19084 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19085 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19086 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19087 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19089 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19090 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19093 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19095 * po/h.po: Update from translation team.
19097 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19099 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19101 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19102 handling of denormals.
19103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19104 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19105 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19106 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19107 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19112 2012-05-26 Marek Polacek <polacek@redhat.com>
19115 * math/libm-test.inc (fma_test): Don't always expect underflow
19118 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19121 * elf/tst-execstack.c: Include stackinfo.h.
19122 (do_test): Adjust test case to ensure that pthread_getattr_np
19123 behaviour remains the same after marking stack executable.
19125 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19127 * sysdeps/unix/sysv/linux/kernel-features.h
19128 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19129 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19131 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19132 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19133 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19135 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19136 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19138 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19140 * configure.in: Define the default includes to being none.
19141 * configure: Regenerated.
19143 2012-05-25 Roland McGrath <roland@hack.frob.com>
19145 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19146 * sysdeps/x86_64/setjmp.S: Likewise.
19147 * sysdeps/i386/bsd-setjmp.S: Likewise.
19148 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19149 * sysdeps/i386/setjmp.S: Likewise.
19150 * sysdeps/i386/__longjmp.S: Likewise.
19151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19152 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19154 * include/stap-probe.h: New file.
19155 * configure.in: Handle --enable-systemtap.
19156 * configure: Regenerated.
19157 * config.h.in (USE_STAP_PROBE): New #undef.
19158 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19159 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19160 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19162 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19166 to 2.4.0 where earlier.
19167 * sysdeps/unix/sysv/linux/configure: Regenerated.
19168 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19169 <kernel-features.h>.
19170 [__ASSUME_32BITUIDS]: Make code unconditional.
19171 [!__ASSUME_32BITUIDS]: Remove conditional code.
19172 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19173 <kernel-features.h>.
19174 [__ASSUME_32BITUIDS]: Make code unconditional.
19175 [!__ASSUME_32BITUIDS]: Remove conditional code.
19176 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19177 [__ASSUME_32BITUIDS]: Make code unconditional.
19178 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19179 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19180 <kernel-features.h>.
19181 [__ASSUME_32BITUIDS]: Make code unconditional.
19182 [!__ASSUME_32BITUIDS]: Remove conditional code.
19183 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19184 <kernel-features.h>.
19185 [__ASSUME_32BITUIDS]: Make code unconditional.
19186 [!__ASSUME_32BITUIDS]: Remove conditional code.
19187 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19188 <kernel-features.h>.
19189 [__ASSUME_32BITUIDS]: Make code unconditional.
19190 [!__ASSUME_32BITUIDS]: Remove conditional code.
19191 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19192 <kernel-features.h>.
19193 [__ASSUME_32BITUIDS]: Make code unconditional.
19194 [!__ASSUME_32BITUIDS]: Remove conditional code.
19195 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19196 <kernel-features.h>.
19197 [__ASSUME_32BITUIDS]: Make code unconditional.
19198 [!__ASSUME_32BITUIDS]: Remove conditional code.
19199 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19200 <kernel-features.h>.
19201 [__ASSUME_32BITUIDS]: Make code unconditional.
19202 [!__ASSUME_32BITUIDS]: Remove conditional code.
19203 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19204 <kernel-features.h>.
19205 [__ASSUME_32BITUIDS]: Make code unconditional.
19206 [!__ASSUME_32BITUIDS]: Remove conditional code.
19207 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19208 <kernel-features.h>.
19209 [__ASSUME_32BITUIDS]: Make code unconditional.
19210 [!__ASSUME_32BITUIDS]: Remove conditional code.
19211 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19212 <kernel-features.h>.
19213 [__ASSUME_32BITUIDS]: Make code unconditional.
19214 [!__ASSUME_32BITUIDS]: Remove conditional code.
19215 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19216 <kernel-features.h>.
19217 [__ASSUME_32BITUIDS]: Make code unconditional.
19218 [!__ASSUME_32BITUIDS]: Remove conditional code.
19219 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19220 <kernel-features.h>.
19221 [__NR_setresgid] (__setresgid): Do not declare.
19222 [__ASSUME_32BITUIDS]: Make code unconditional.
19223 [!__ASSUME_32BITUIDS]: Remove conditional code.
19224 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19225 <kernel-features.h>.
19226 [__NR_setresuid] (__setresuid): Do not declare.
19227 [__ASSUME_32BITUIDS]: Make code unconditional.
19228 [!__ASSUME_32BITUIDS]: Remove conditional code.
19229 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19230 <kernel-features.h>.
19231 [__ASSUME_32BITUIDS]: Make code unconditional.
19232 [!__ASSUME_32BITUIDS]: Remove conditional code.
19233 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19234 <kernel-features.h>.
19235 [__ASSUME_32BITUIDS]: Make code unconditional.
19236 [!__ASSUME_32BITUIDS]: Remove conditional code.
19237 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19238 <kernel-features.h>.
19239 [__ASSUME_32BITUIDS]: Make code unconditional.
19240 [!__ASSUME_32BITUIDS]: Remove conditional code.
19241 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19242 <kernel-features.h>.
19243 [__ASSUME_32BITUIDS]: Make code unconditional.
19244 [!__ASSUME_32BITUIDS]: Remove conditional code.
19245 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19246 <kernel-features.h>.
19247 [__ASSUME_32BITUIDS]: Make code unconditional.
19248 [!__ASSUME_32BITUIDS]: Remove conditional code.
19249 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19250 <kernel-features.h>.
19251 [__ASSUME_32BITUIDS]: Make code unconditional.
19252 [!__ASSUME_32BITUIDS]: Remove conditional code.
19253 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19254 <kernel-features.h>.
19255 [__ASSUME_32BITUIDS]: Make code unconditional.
19256 [!__ASSUME_32BITUIDS]: Remove conditional code.
19257 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19258 <kernel-features.h>.
19259 [__ASSUME_32BITUIDS]: Make code unconditional.
19260 [!__ASSUME_32BITUIDS]: Remove conditional code.
19261 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19262 <kernel-features.h>.
19263 [__ASSUME_32BITUIDS]: Make code unconditional.
19264 [!__ASSUME_32BITUIDS]: Remove conditional code.
19265 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19266 <kernel-features.h>.
19267 [__ASSUME_32BITUIDS]: Make code unconditional.
19268 [!__ASSUME_32BITUIDS]: Remove conditional code.
19269 * sysdeps/unix/sysv/linux/kernel-features.h
19270 (__ASSUME_SETRESUID_SYSCALL): Remove.
19271 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19272 (__ASSUME_32BITUIDS): Likewise.
19273 (__ASSUME_LDT_WORKS): Likewise.
19274 (__ASSUME_O_DIRECTORY): Likewise.
19275 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19276 architecture but not kernel version.
19277 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19278 (__ASSUME_MMAP2_SYSCALL): Likewise.
19279 (__ASSUME_STAT64_SYSCALL): Likewise.
19280 (__ASSUME_IPC64): Likewise.
19281 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19282 <kernel-features.h>.
19283 [__ASSUME_32BITUIDS]: Make code unconditional.
19284 [!__ASSUME_32BITUIDS]: Remove conditional code.
19285 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19286 <kernel-features.h>.
19287 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19288 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19289 132096]: Remove conditional code.
19290 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19291 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19292 <kernel-features.h>.
19293 [__ASSUME_32BITUIDS]: Make code unconditional.
19294 [!__ASSUME_32BITUIDS]: Remove conditional code.
19295 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19296 <kernel-features.h>.
19297 [__ASSUME_32BITUIDS]: Make code unconditional.
19298 [!__ASSUME_32BITUIDS]: Remove conditional code.
19299 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19300 <kernel-features.h>.
19301 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19303 (__setresgid): Do not declare.
19304 [__ASSUME_32BITUIDS]: Make code unconditional.
19305 [!__ASSUME_32BITUIDS]: Remove conditional code.
19306 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19307 <kernel-features.h>.
19308 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19310 (__setresuid): Do not declare.
19311 [__ASSUME_32BITUIDS]: Make code unconditional.
19312 [!__ASSUME_32BITUIDS]: Remove conditional code.
19313 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19314 <kernel-features.h>.
19315 [__ASSUME_32BITUIDS]: Make code unconditional.
19316 [!__ASSUME_32BITUIDS]: Remove conditional code.
19317 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19318 <kernel-features.h>.
19319 [__ASSUME_32BITUIDS]: Make code unconditional.
19320 [!__ASSUME_32BITUIDS]: Remove conditional code.
19322 2012-05-25 Richard Henderson <rth@twiddle.net>
19324 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19325 dl_hwcap to ifunc resolver.
19326 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19328 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19329 dl_hwcap to ifunc resolver.
19330 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19332 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19335 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19336 for |x| <= 2**-26, not 2**-57.
19337 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19340 2012-05-24 Jeff Law <law@redhat.com>
19342 * stdio-common/Makefile (tests): Add bug25.
19343 * stdio-common/bug25.c: New test.
19345 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19348 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19349 multiple of MALLOC_ALIGNMENT in size.
19350 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19352 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19354 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19356 (FILENAME_MAX): Use macro-int-constant.
19357 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19358 (_IOFBF): Use macro-int-constant.
19359 (_IOLBF): Likewise.
19360 (_IONBF): Likewise.
19361 (SEEK_CUR): Likewise.
19362 (SEEK_END): Likewise.
19363 (SEEK_SET): Likewise.
19364 (TMP_MAX): Likewise.
19365 (EOF): Use macro-int-constant. Require < 0.
19366 (NULL): Use macro-constant. Require == 0.
19367 (stdin): Require type to be FILE *.
19368 (stdout): Likewise.
19369 (stderr): Likewise.
19370 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19371 macro-int-constant.
19372 (EXIT_SUCCESS): Likewise.
19373 (NULL): Use macro-constant. Require == 0.
19374 (RAND_MAX): Use macro-int-constant.
19375 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19376 [C99-based standards] (strtof): Require function.
19377 [C99-based standards] (strtold): Likewise.
19378 [C99-based standards] (strtoll): Likewise.
19379 [C99-based standards] (strtoull): Likewise.
19380 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19381 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19382 [ISO || ISO99 || ISO11] (math.h): Likewise.
19383 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19384 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19385 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19387 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19390 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19391 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19392 * intl/dgettext.c (DCGETTEXT): Likewise.
19393 * intl/gettext.c (DCGETTEXT): Likewise.
19394 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19395 * posix/regex_internal.h (gettext): Likewise.
19396 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19397 Remove declaration.
19398 * include/argz.h (__argz_count_internal)
19399 (__argz_stringify_internal): Remove declaration.
19400 (__argz_count, __argz_stringify): Declare hidden proto.
19401 * intl/dcgettext.c: Remove use of INTDEF.
19402 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19403 * string/argz-stringify.c: Likewise.
19404 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19405 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19406 Declare hidden proto.
19407 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19408 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19409 Declare hidden proto.
19410 * include/stdio.h (__asprintf_internal): Don't declare.
19411 (__asprintf): Don't define as macro. Declare hidden proto.
19412 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19413 (__fsetlocking): Declare hidden proto.
19414 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19415 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19417 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19418 (_IO_setlinebuf): Remove use of INTUSE.
19419 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19420 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19421 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19422 Remove declaration.
19423 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19424 (_IO_do_flush): Remove use of INTUSE.
19425 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19426 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19427 (_IO_adjust_column, _IO_least_wmarker)
19428 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19429 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19430 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19431 (_IO_default_doallocate, _IO_wdefault_doallocate)
19432 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19433 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19434 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19435 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19436 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19437 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19438 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19439 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19440 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19441 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19442 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19443 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19444 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19446 (_IO_flush_all_internal, _IO_adjust_column_internal)
19447 (_IO_default_uflow_internal, _IO_default_finish_internal)
19448 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19449 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19450 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19451 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19452 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19453 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19454 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19455 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19456 (_IO_file_close_internal, _IO_file_close_it_internal)
19457 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19458 (_IO_file_init_internal, _IO_file_attach_internal)
19459 (_IO_file_fopen_internal, _IO_file_read_internal)
19460 (_IO_file_sync_internal, _IO_file_seek_internal)
19461 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19462 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19463 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19464 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19465 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19466 (_IO_list_all_internal, _IO_link_in_internal)
19467 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19468 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19469 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19470 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19471 (_IO_do_write_internal, _IO_padn_internal)
19472 (_IO_getline_info_internal, _IO_getline_internal)
19473 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19474 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19475 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19476 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19477 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19478 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19479 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19480 with libc_hidden_ver, remove use of INTUSE.
19481 * libio/genops.c: Likewise.
19482 * libio/freopen.c: Likewise.
19483 * libio/freopen64.c: Likewise.
19484 * libio/iofclose.c: Likewise.
19485 * libio/iofdopen.c: Likewise.
19486 * libio/iofflush.c: Likewise.
19487 * libio/iofflush_u.c: Likewise.
19488 * libio/iofgets.c: Likewise.
19489 * libio/iofgets_u.c: Likewise.
19490 * libio/iofopen.c: Likewise.
19491 * libio/iofopncook.c: Likewise.
19492 * libio/iofread.c: Likewise.
19493 * libio/iofread_u.c: Likewise.
19494 * libio/ioftell.c: Likewise.
19495 * libio/iofwrite.c: Likewise.
19496 * libio/iogetline.c: Likewise.
19497 * libio/iogets.c: Likewise.
19498 * libio/iogetwline.c: Likewise.
19499 * libio/iopadn.c: Likewise.
19500 * libio/iopopen.c: Likewise.
19501 * libio/ioseekoff.c: Likewise.
19502 * libio/ioseekpos.c: Likewise.
19503 * libio/iosetbuffer.c: Likewise.
19504 * libio/iosetvbuf.c: Likewise.
19505 * libio/ioungetc.c: Likewise.
19506 * libio/ioungetwc.c: Likewise.
19507 * libio/iovdprintf.c: Likewise.
19508 * libio/iovsprintf.c: Likewise.
19509 * libio/iovsscanf.c: Likewise.
19510 * libio/memstream.c: Likewise.
19511 * libio/obprintf.c: Likewise.
19512 * libio/oldfileops.c: Likewise.
19513 * libio/oldiofclose.c: Likewise.
19514 * libio/oldiofdopen.c: Likewise.
19515 * libio/oldiofopen.c: Likewise.
19516 * libio/oldiopopen.c: Likewise.
19517 * libio/oldstdfiles.c: Likewise.
19518 * libio/putc.c: Likewise.
19519 * libio/setbuf.c: Likewise.
19520 * libio/setlinebuf.c: Likewise.
19521 * libio/stdfiles.c: Likewise.
19522 * libio/strops.c: Likewise.
19523 * libio/vasprintf.c: Likewise.
19524 * libio/vscanf.c: Likewise.
19525 * libio/vsnprintf.c: Likewise.
19526 * libio/vswprintf.c: Likewise.
19527 * libio/wfiledoalloc.c: Likewise.
19528 * libio/wfileops.c: Likewise.
19529 * libio/wgenops.c: Likewise.
19530 * libio/wmemstream.c: Likewise.
19531 * libio/wstrops.c: Likewise.
19532 * libio/__fpurge.c: Likewise.
19533 * libio/__fsetlocking.c: Likewise.
19534 * assert/assert.c: Likewise.
19535 * debug/fgets_chk.c: Likewise.
19536 * debug/fgets_u_chk.c: Likewise.
19537 * debug/fread_chk.c: Likewise.
19538 * debug/fread_u_chk.c: Likewise.
19539 * debug/gets_chk.c: Likewise.
19540 * debug/obprintf_chk.c: Likewise.
19541 * debug/vasprintf_chk.c: Likewise.
19542 * debug/vdprintf_chk.c: Likewise.
19543 * debug/vsnprintf_chk.c: Likewise.
19544 * debug/vsprintf_chk.c: Likewise.
19545 * malloc/mtrace.c: Likewise.
19546 * misc/error.c: Likewise.
19547 * misc/syslog.c: Likewise.
19548 * stdio-common/asprintf.c: Likewise.
19549 * stdio-common/fxprintf.c: Likewise.
19550 * stdio-common/getw.c: Likewise.
19551 * stdio-common/isoc99_fscanf.c: Likewise.
19552 * stdio-common/isoc99_scanf.c: Likewise.
19553 * stdio-common/isoc99_vfscanf.c: Likewise.
19554 * stdio-common/isoc99_vscanf.c: Likewise.
19555 * stdio-common/isoc99_vsscanf.c: Likewise.
19556 * stdio-common/printf-prs.c: Likewise.
19557 * stdio-common/printf_fp.c: Likewise.
19558 * stdio-common/printf_fphex.c: Likewise.
19559 * stdio-common/printf_size.c: Likewise.
19560 * stdio-common/putw.c: Likewise.
19561 * stdio-common/scanf.c: Likewise.
19562 * stdio-common/sprintf.c: Likewise.
19563 * stdio-common/tmpfile.c: Likewise.
19564 * stdio-common/vfprintf.c: Likewise.
19565 * stdio-common/vfscanf.c: Likewise.
19566 * stdlib/strfmon_l.c: Likewise.
19567 * sunrpc/openchild.c: Likewise.
19568 * sunrpc/xdr_stdio.c: Likewise.
19569 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19570 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19572 2012-05-24 Roland McGrath <roland@hack.frob.com>
19574 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19576 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19577 in the third column, to generate for the shared library an IFUNC
19578 that uses _dl_vdso_vsym.
19579 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19580 * Makeconfig (object-suffixes-noshared): New variable.
19582 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19583 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19584 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19585 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19588 * include/sys/time.h (__gettimeofday): Remove macro.
19589 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19590 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19592 (__gettimeofday): Add libc_hidden_def.
19593 (gettimeofday): Add libc_hidden_weak.
19594 * sysdeps/mach/gettimeofday.c: Likewise.
19595 * sysdeps/posix/gettimeofday.c: Likewise.
19596 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19597 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19598 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19599 (__gettimeofday_internal): Remove strong_alias.
19600 (__gettimeofday): Add libc_hidden_def.
19601 (gettimeofday): Add libc_hidden_weak.
19602 * sysdeps/unix/syscalls.list (gettimeofday):
19603 Remove __gettimeofday_internal alias.
19605 2012-05-24 Daniel Jacobowitz <drow@false.org>
19606 H.J. Lu <hongjiu.lu@intel.com>
19609 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19610 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19611 (largebin_index_32_big): New.
19612 (largebin_index): Use it for 16-byte alignment.
19613 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19614 correction with front_misalign.
19616 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19644 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19645 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19647 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19651 * math/libm-test.inc (exp_test): Add test from bug 14036.
19652 (pow_test): Add test from bug 10846.
19654 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19656 (special_function): Do not include flags in test name.
19657 (parse_args): Likewise.
19658 * sysdeps/i386/fpu/libm-test-ulps: Update.
19659 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19660 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19661 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19664 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19666 * math/libm-test.inc ("Philosophy"): Update comment about
19668 (UNDERFLOW_EXCEPTION): New macro.
19669 (UNDERFLOW_EXCEPTION_OK): Likewise.
19670 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19671 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19672 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19673 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19674 (INVALID_EXCEPTION_OK): Update value.
19675 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19676 (OVERFLOW_EXCEPTION_OK): Likewise.
19677 (IGNORE_ZERO_INF_SIGN): Likewise.
19678 (test_exceptions): Handle underflow exceptions.
19679 (acos_test): Update for underflow exception expectations.
19680 (cexp_test): Likewise.
19681 (clog_test): Likewise.
19682 (clog10_test): Likewise.
19683 (csqrt_test): Likewise.
19684 (ctan_test): Likewise.
19685 (ctanh_test): Likewise.
19686 (exp_test): Likewise.
19687 (exp10_test): Likewise.
19688 (exp2_test): Likewise.
19689 (expm1_test): Likewise.
19690 (fma_test): Likewise.
19691 (j0_test): Likewise.
19692 (jn_test): Likewise.
19693 (nexttoward_test): Likewise.
19694 (pow_test): Likewise.
19695 (scalbn_test): Likewise.
19696 (scalbln_test): Likewise.
19697 (tan_test): Likewise.
19698 (y1_test): Likewise.
19699 * sysdeps/i386/fpu/libm-test-ulps: Update.
19700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19702 2012-05-23 David S. Miller <davem@davemloft.net>
19704 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19705 (__libc_sigaction): Remove unused local variables.
19707 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19709 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19711 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19713 mktime: avoid signed integer overflow
19714 * time/mktime.c (__mktime_internal): Do not mishandle the case
19715 where diff == INT_MIN.
19717 mktime: simplify computation of average
19718 * time/mktime.c (ranged_convert): Use new time_t_avg function
19719 instead of rolling our own (probably-slower) code.
19721 mktime: do not assume signed right shift propagates sign bit
19722 * time/mktime.c (isdst_differ): New static function.
19723 (__mktime_internal): No need to normalize tm_isdst now.
19724 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19727 mktime: merge another wrapv change from gnulib
19728 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19729 from some compilers.
19731 mktime: remove incorrect attempt at unusual arithmetics
19732 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19733 The code didn't really work on such machines anyway.
19734 (TYPE_MINIMUM): Assume two's complement.
19735 (twos_complement_arithmetic): Verify that long_int and time_t
19736 are two's complement (or unsigned, in the latter case).
19738 mktime: check signed shifts on long_int and time_t, too
19739 * time/mktime.c (SHR): Check that shifts work as desired
19740 on the types long_int and time_t too, as SHR is used on
19743 mktime: do not assume 'long' is wide enough
19744 * time/mktime.c (verify): Move decl up.
19745 (long_int): New type.
19746 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19747 to remove assumption in the code that 'long' is wide enough to
19748 store year values. This assumption is not true on x32 and on
19749 some non-glibc platforms.
19751 mktime: merge wrapv change from gnulib
19752 * time/mktime.c (WRAPV): New macro.
19753 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19754 (guess_time_tm, __mktime_internal): Do not assume that signed
19755 integer overflow wraps around; modern compilers generate code
19756 where this assumption is no longer valid.
19758 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19760 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19761 Replace "jmp L(pseudo_end)" with "ret".
19762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19765 2012-05-23 Andreas Jaeger <aj@suse.de>
19767 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19768 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19770 2012-05-23 Andreas Jaeger <aj@suse.de>
19771 Maximilian Attems <max@stro.at>
19773 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19776 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19778 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19779 code so that pseudo_end is just ret and the stack pointer is
19780 correct also for static library in error case.
19782 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19784 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19785 move to syscalls.list.
19786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19791 * manual/install.texi (Running make install): Do not mention Linux
19792 kernel version for which pt_chown is not needed.
19793 (Linux): Do not mention problems with nscd with 2.0 kernels.
19794 * INSTALL: Regenerated.
19796 2012-05-23 Andreas Jaeger <aj@suse.de>
19798 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19799 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19801 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19802 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19803 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19804 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19805 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19806 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19807 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19808 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19809 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19810 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19811 * sysdeps/unix/sysv/linux/bits/in.h
19812 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19814 2012-05-22 Roland McGrath <roland@hack.frob.com>
19816 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19817 (PREPARE_VERSION): Just use assert instead, it will be elided
19818 under [NDEBUG] anyway.
19820 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19822 * sysdeps/unix/sysv/linux/Makefile: Include
19823 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19824 (sysdep_routines): Remove sysctl.
19825 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19826 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19827 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19828 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19829 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19831 2012-05-22 Andreas Jaeger <aj@suse.de>
19833 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19834 that pseudo_end is just ret and the stack pointer is correct also
19835 for static library in error case.
19837 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19840 * nss/nsswitch.c (defconfig_entries): New variable.
19841 (__nss_database_lookup): Don't leak defconfig entries.
19842 (nss_parse_service_list): Don't leak on error paths.
19843 (free_database_entries): New function.
19844 (free_defconfig): New function.
19845 (free_mem): Move common code to free_database_entries.
19847 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19849 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19851 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19853 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19854 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19857 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19858 (INTERNAL_SYSCALL_TYPES): Likewise.
19859 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19860 (LOAD_REGS_TYPES_[1-6]): Likewise.
19861 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19862 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19864 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19866 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19867 copysignl for GLIBC_2_0.
19868 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19869 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19870 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19871 logbl for GLIBC_2_0.
19872 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19873 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19875 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19877 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19878 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19880 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19883 * time/mktime.c: Update copyright years.
19885 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19887 mktime: merge comment-quoting-style change from gnulib
19888 * time/mktime.c: Quote 'like this' in comments.
19889 The GNU coding standards suggest that we no longer quote `like this',
19890 as "`" and "'" are typically rendered asymmetrically nowadays.
19891 The typical gnulib style is to quote 'like this' when quoting
19892 code, and "like this" when quoting English.
19894 * time/mktime.c (compile-command): Add "-I.".
19896 mktime: merge mktime-internal.h change from gnulib
19897 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19899 mktime: merge time_r change from gnulib
19900 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19902 mktime: merge DEBUG change from gnulib
19903 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19904 case system <time.h> has a #define.
19906 mktime: merge <sys/types.h> change from gnulib
19907 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19908 since <time.t> is now guaranteed to define time_t.
19910 mktime: merge HAVE_CONFIG_H change from gnulib
19911 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19913 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19918 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19920 (struct rusage): Use anonymous union to pad each field to
19923 2012-05-21 David S. Miller <davem@davemloft.net>
19925 * Makefules (o-iterator): Remove .s cases.
19926 (compile-command.s): Delete.
19927 (COMPILE.s): Delete.
19928 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19930 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19932 * configure.in (libc_cv_predef_stack_protector): Only consider
19933 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19934 * configure: Regenerated.
19936 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19938 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19939 New macro. Use R*LP on int and pointer.
19940 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19941 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19942 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19943 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19945 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19946 [__WORDSIZE_TIME64_COMPAT32] instead of
19947 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19948 (struct utmp): Likewise.
19949 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19950 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19952 (__WORDSIZE_TIME64_COMPAT32): This.
19953 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19954 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19955 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19956 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19957 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19958 (__WORDSIZE_TIME64_COMPAT32): New macro.
19960 2012-05-21 Andreas Jaeger <aj@suse.de>
19962 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19963 only if [SHARED]. Add prototype for __wcschr_ia32.
19965 2012-05-21 Roland McGrath <roland@hack.frob.com>
19967 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19968 of %rbp unmolested in the jmp_buf while mangling the low bits.
19969 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19970 unmolested high bits of %rbp while demangling the low bits.
19971 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19973 2012-05-21 Andreas Jaeger <aj@suse.de>
19975 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19976 * sunrpc/svc_simple.c: Use it for registerrpc.
19977 * sunrpc/xcrypt.c: Use it for passwd2des.
19979 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19981 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19983 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19984 Don't define if [__SYSCALL_WORDSIZE != 32].
19985 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19988 2012-05-21 Bruno Haible <bruno@clisp.org>
19989 Andreas Jaeger <aj@suse.de>
19991 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19992 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19993 inptr and inend for must_buffer_ch.
19994 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19995 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19996 * stdio-common/Makefile (tests): Remove bug15.
19997 (bug15-ENV): Remove macro.
19998 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20001 2012-05-19 Andreas Jaeger <aj@suse.de>
20002 Roland McGrath <roland@hack.frob.com>
20004 * manual/contrib.texi: Completely rewritten. It contains now an
20005 alphabetical list of contributors and their contributions.
20007 2012-05-21 Richard Henderson <rth@twiddle.net>
20009 * misc/getauxval.c (__getauxval): Use unsigned long int.
20010 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20011 (getauxval): Use unsigned long int.
20013 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20015 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20017 2012-05-21 Roland McGrath <roland@hack.frob.com>
20019 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20020 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20021 __alignof__ (long double).
20023 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20027 2012-05-20 Richard Henderson <rth@twiddle.net>
20029 * misc/getauxval.c: New file.
20030 * misc/sys/auxv.h: New file.
20031 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20032 (routines): Add getauxval.
20033 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20034 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20035 * elf/dl-sysdep.c (_dl_auxv): Remove.
20036 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20037 * elf/dl-support.c (_dl_auxv): New variable.
20038 (_dl_aux_init): Initialize it.
20039 * manual/startup.texi (Auxiliary Vector): New node.
20040 * sysdeps/generic/bits/hwcap.h: New file.
20041 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20042 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20043 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20044 * sysdeps/sparc/sysdep.h: ... here. Include it.
20045 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20046 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20052 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20058 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20062 2012-05-19 David S. Miller <davem@davemloft.net>
20064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20066 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20069 * math/s_ccosh.c: Include <float.h>
20070 (__ccosh): Avoid internal overflow calculating sinh and cosh
20071 values before multiplying by sin and cos values.
20072 * math/s_ccoshf.c: Likewise.
20073 * math/s_ccoshl.c: Likewise.
20074 * math/s_csin.c: Likewise.
20075 * math/s_csinf.c: Likewise.
20076 * math/s_csinl.c: Likewise.
20077 * math/s_csinh.c: Likewise.
20078 * math/s_csinhf.c: Likewise.
20079 * math/s_csinhl.c: Likewise.
20080 * math/libm-test.inc (ccos_test): Add more tests.
20081 (ccosh_test): Likewise.
20082 (csin_test): Likewise.
20083 (csinh_test): Likewise.
20084 * sysdeps/i386/fpu/libm-test-ulps: Update.
20085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20087 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20089 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20090 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20092 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20094 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20096 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20097 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20098 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20099 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20100 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20101 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20102 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20103 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20104 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20105 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20106 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20107 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20108 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20109 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20110 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20111 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20112 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20113 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20114 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20115 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20116 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20117 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20118 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20119 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20120 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20121 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20122 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20123 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20124 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20125 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20126 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20128 2012-05-18 Andreas Jaeger <aj@suse.de>
20130 * csu/.gitignore: Delete.
20132 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20134 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20135 (timex): Use __syscall_slong_t.
20137 2012-05-18 Andreas Jaeger <aj@suse.de>
20138 Carlos O'Donell <carlos_odonell@mentor.com>
20140 * manual/install.texi (Configuring and compiling): Update
20141 description about files modified in the source directory.
20142 * INSTALL: Regenerated.
20144 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20146 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20147 value. Use "or" to set return value to -1.
20148 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20149 negate return value.
20151 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20153 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20154 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20155 failure if the compiler has Graphite support disabled.
20156 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20158 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20159 CFLAGS-memmove.c): Likewise.
20160 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20163 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20165 * sysdeps/x86_64/x32/_itoa.h: New file.
20167 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20168 getdents system call only if kernel and user dirents have the
20169 same d_ino and d_off.
20171 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20172 LLONG_MAX != LONG_MAX.
20173 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20174 (_fitoa_word): Likewise.
20176 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20178 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20179 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20180 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20182 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20183 include <bits/wordsize.h>. Check __x86_64__ instead of
20185 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20186 if __x86_64__ is defined. Use anonymous union on fpstate.
20188 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20191 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20193 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20194 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20195 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20196 Refer to _rtld_local_ro instead of _rtld_global_ro.
20197 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20199 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20201 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20203 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20204 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20205 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20207 * sysdeps/powerpc/powerpc32/dl-machine.c
20208 (__elf_machine_runtime_setup) [PROF]: Don't reference
20211 2012-05-18 Andreas Jaeger <aj@suse.de>
20213 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20214 function only available for GCCs before 3.4 since GCC 3.4
20215 introduced a builtin.
20217 (llrintf): Likewise.
20218 (llrint): Likewise.
20225 (nearbyint): Likewise.
20226 (nearbyintf): Likewise.
20230 (floorf): Likewise.
20232 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20234 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20235 on both fields and cast pointer to __syscall_ulong_t.
20237 * bits/types.h (__fsword_t): New type.
20238 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20239 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20240 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20241 (__FSWORD_T_TYPE): Likewise.
20242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20243 (__FSWORD_T_TYPE): Likewise.
20244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20245 (__FSWORD_T_TYPE): Likewise.
20246 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20247 (__FSWORD_T_TYPE): Likewise.
20248 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20249 __SWORD_TYPE with __fsword_t.
20250 (statfs64): Likewise.
20252 2012-05-17 David S. Miller <davem@davemloft.net>
20254 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20256 2012-05-17 Andreas Jaeger <aj@suse.de>
20258 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20261 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20263 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20265 2012-05-17 Andreas Jaeger <aj@suse.de>
20267 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20270 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20272 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20274 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20276 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20277 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20279 2012-05-17 Andreas Jaeger <aj@suse.de>
20280 Carlos O'Donell <carlos_odonell@mentor.com>
20283 * sysdeps/x86_64/multiarch/init-arch.h
20284 (bit_YMM_Usable): Rename to...
20285 (bit_AVX_Usable): ... this.
20286 (bit_FMA4_Usable): New macro.
20287 (bit_XMM_state): New macro.
20288 (bit_YMM_state): New macro.
20289 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20290 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20291 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20292 (CPUID_OSXSAVE): New macro.
20293 (CPUID_AVX): New macro.
20294 (CPUID_FMA4): New macro.
20295 (index_YMM_Usable): Rename to...
20296 (index_AVX_Usable): ... this.
20297 (HAS_AVX): Use HAS_ARCH_FEATURE.
20298 (HAS_FMA4): Likewise.
20299 (HAS_YMM_USABLE): Remove.
20300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20301 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20303 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20304 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20305 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20306 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20307 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20309 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20311 * math/libm-test.c: Support platforms without multiple rounding modes.
20312 * math/bug-nextafter.c: Support platforms without FP exceptions.
20313 * math/bug-nexttoward.c: Likewise.
20314 * math/test-fenv.c: Likewise.
20315 * math/test-misc.c: Likewise.
20316 * stdlib/bug-getcontext.c: Likewise.
20318 2012-05-17 Andreas Jaeger <aj@suse.de>
20320 * manual/examples/search.c (critter_cmp): Change signature to
20322 * manual/string.texi (Collation Functions): Likewise.
20324 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20326 * bits/types.h: Fold copyright years.
20327 * bits/typesizes.h: Likewise.
20328 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20329 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20330 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20332 * time/time.h: Likewise.
20334 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20337 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20338 in instead of returning them. Return void.
20339 (__libc_mallinfo): Accumulate over all arenas.
20340 (__malloc_stats): Adjust for change in int_mallinfo interface.
20342 2012-05-16 Roland McGrath <roland@hack.frob.com>
20345 * configure.in (NM): Add AC_CHECK_TOOL for it.
20346 (libc_extra_cflags): New substituted variable.
20347 Check for -fstack-protector being used implicitly.
20348 * configure: Regenerated.
20349 * config.make.in (config-extra-cflags): New variable,
20350 gets @libc_extra_cflags@.
20351 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20354 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20355 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20356 * configure: Regenerated.
20357 * config.make.in (CPPUNDEFS): New substituted variable.
20358 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20359 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20360 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20362 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20364 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20365 (mq_attr): Use __syscall_slong_t.
20367 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20369 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20370 Check __x86_64__ instead of __WORDSIZE.
20371 (_STAT_VER_LINUX): Likewise.
20372 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20373 __syscall_ulong_t and __syscall_slong_t.
20374 (stat64): Likewise.
20376 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20378 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20380 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20382 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20384 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20386 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20389 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20390 include <bits/wordsize.h>. Check __x86_64__ instead of
20392 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20394 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20396 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20397 include <bits/wordsize.h>. Check __x86_64__ instead of
20399 (user_regs_struct): Use "__extension__ unsigned long long"
20400 instead of "unsigned long" if __x86_64__ is defined.
20401 (user): Likewise. Pad after pointer field if __ILP32__ is
20404 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20406 * configure.in (makeinfo): Require version 4.5 or later. Allow
20408 * configure: Regenerated.
20409 * manual/install.texi (texinfo): Increase version requirement to
20411 * INSTALL: Regenerated.
20413 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20415 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20417 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20419 * sysdeps/x86_64/x32/ffs.c: New file.
20421 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20423 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20424 defined. Use __syscall_ulong_t.
20425 (shminfo): Use __syscall_ulong_t.
20426 (shm_info): Likewise.
20428 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20431 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20433 (msgqnum_t): Use __syscall_ulong_t.
20434 (msglen_t): Likewise.
20435 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20438 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20439 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20441 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20443 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20444 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20446 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20449 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20450 include <bits/wordsize.h>. Check __x86_64__ instead of
20453 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20454 "unsigned long long int" if __x86_64__ is defined.
20455 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20457 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20458 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20459 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20461 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20463 (GET_PC): Cast to uintptr_t first.
20464 (GET_FRAME): Likewise.
20465 (GET_STACK): Likewise.
20467 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20468 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20469 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20470 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20471 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20472 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20473 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20474 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20475 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20476 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20477 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20478 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20479 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20480 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20481 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20482 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20483 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20484 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20485 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20486 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20487 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20488 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20489 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20490 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20491 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20492 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20493 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20494 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20495 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20497 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20499 * Makerules (+depfiles): Also collect depfiles from .oS in
20501 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20502 .oS, $(libnldbl-routines)).
20504 * Makerules (native-compile-mkdep-flags): Define.
20505 * sunrpc/Makefile (extra-objs): Add $(addprefix
20506 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20507 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20508 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20509 calling $(make-target-directory).
20511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20513 * bits/types.h (__snseconds_t): Removed.
20514 * time/time.h (struct timespec): Replace __snseconds_t with
20516 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20517 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20520 (__SNSECONDS_T_TYPE): Likewise.
20521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20522 (__SNSECONDS_T_TYPE): Likewise.
20523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20524 (__SNSECONDS_T_TYPE): Likewise.
20526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20528 * sysdeps/mach/hurd/bits/typesizes.h
20529 (__SYSCALL_SLONG_TYPE): New macro.
20530 (__SYSCALL_ULONG_TYPE): Likewise.
20532 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20534 * bits/types.h (__syscall_slong_t): New type.
20535 (__syscall_ulong_t): Likewise.
20537 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20538 (__SYSCALL_ULONG_TYPE): Likewise.
20539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20540 (__SYSCALL_SLONG_TYPE): Likewise.
20541 (__SYSCALL_ULONG_TYPE): Likewise.
20542 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20543 (__SYSCALL_SLONG_TYPE): Likewise.
20544 (__SYSCALL_ULONG_TYPE): Likewise.
20545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20546 (__SYSCALL_SLONG_TYPE): Likewise.
20547 (__SYSCALL_ULONG_TYPE): Likewise.
20549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20551 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20552 Add sigaltstack-offsets.sym.
20553 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20554 <sigaltstack-offsets.h>.
20555 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20556 longjmp_msg pointer.
20557 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20558 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20560 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20562 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20564 * elf/stackguard-macros.h: Remove file.
20565 * sysdeps/generic/stackguard-macros.h: New file.
20566 * sysdeps/i386/stackguard-macros.h: Likewise.
20567 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20568 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20569 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20570 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20571 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20572 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20573 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20574 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20575 <elf/stackguard-macros.h>.
20578 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20579 __aligned__ in attribute.
20580 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20581 (gregset_t): Likewise.
20583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20585 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20586 * sysdeps/x86_64/64/Implies-after: Here. New file.
20587 * sysdeps/x86_64/x32/Implies-after: New file.
20589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20591 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20592 and access return value for _dl_profile_fixup. Use R10_LP to
20595 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20597 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20599 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20601 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20602 * sysdeps/x86_64/x32/sysdep.h: New file.
20604 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20606 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20607 * sysdeps/x86_64/setjmp.S: Likewise.
20609 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20611 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20612 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20613 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20615 remove unused global constant.
20617 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20619 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20620 include of <not-cancel.h>.
20622 2012-05-15 Roland McGrath <roland@hack.frob.com>
20624 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20626 2012-05-15 Jeff Law <law@redhat.com>
20627 Andreas Jaeger <aj@suse.de>
20630 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20632 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20633 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20634 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20635 code changing __hst_map_handle.map.
20637 2012-05-15 Roland McGrath <roland@hack.frob.com>
20639 * configure.in (sysnames): Look for Implies-before and Implies-after
20641 * configure: Regenerated.
20643 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20645 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20646 8-byte data alignment with LP_SIZE alignment.
20648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20650 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20655 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20659 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20660 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20661 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20663 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20667 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20668 (stackinfo_sub_sp): Likewise.
20670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20672 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20682 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20687 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20691 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20692 into R11_LP and load __x86_64_shared_cache_size_half into
20695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20697 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20700 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20702 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20704 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20708 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20709 powerpc32/power7/fpu/s_logb.c via #include.
20710 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20711 powerpc32/power7/fpu/s_logbf.c via #include.
20712 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20713 powerpc32/power7/fpu/s_logbl.c via #include.
20715 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20717 * README.libm: Remove file.
20719 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20721 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20722 count for x32. Use R*_LP and omit operand-size suffix.
20724 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20726 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20727 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20728 * sysdeps/x86_64/x32/shlib-versions: New file.
20730 2012-05-14 Roland McGrath <roland@hack.frob.com>
20732 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20733 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20734 Use _dl_fatal_printf instead.
20736 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20738 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20739 set if not set by the user. Do not allow for being unset.
20740 * sysdeps/unix/sysv/linux/configure: Regenerated.
20742 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20744 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20745 the `q' suffix from lea and replace .quad with ASM_ADDR.
20747 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20749 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20750 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20752 (PTR_DEMANGLE): Likewise.
20754 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20756 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20758 (ASM_ADDR): Likewise.
20759 (RAX_LP): Likewise.
20760 (RBP_LP): Likewise.
20761 (RBX_LP): Likewise.
20762 (RCX_LP): Likewise.
20763 (RDI_LP): Likewise.
20764 (RSI_LP): Likewise.
20765 (RSP_LP): Likewise.
20768 (R10_LP): Likewise.
20769 (R10_LP): Likewise.
20770 (R11_LP): Likewise.
20771 (R12_LP): Likewise.
20772 (R13_LP): Likewise.
20773 (R14_LP): Likewise.
20774 (R15_LP): Likewise.
20776 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20778 * sysdeps/x86_64/x32/dl-machine.h: New file.
20780 2012-05-14 Andreas Jaeger <aj@suse.de>
20782 * manual/Makefile (subdir): Remove export of subdir.
20783 (all): Remove target.
20784 (.PHONY): Remove all from list.
20785 (mkinstalldirs): Remove.
20786 (.PHONY): Remove installdirs from list.
20787 ($(inst_infodir)/libc.info): Use make-target-directory.
20788 (installdirs): Remove.
20789 (subdir_%): Remove.
20790 (glibc-targets): Remove.
20793 ($(objpfx)stubs ../po/manual.pot): Remove.
20794 ($(objpfx)stamp%): Remove.
20795 (make-target-directory): Remove.
20796 (subdir_install): Remove.
20797 (routines): Remove.
20804 * manual/.gitignore: Remove, it's not needed anymore.
20805 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20807 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20809 (texis): Renamed to $(objpfx)texis.
20810 (texis-path): New, contains path to generated files.
20811 (chapters.%): Use texis-path for complete path, add extra argument
20813 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20814 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20815 (summary,texi, stamp-summary): Use complete path of
20816 files. Generate files in build dir.
20817 (dir-add.texi): Build in build dir.
20818 (libm-err.texi,stamp-libm-err): Likewise.
20819 (version.texi, stamp-version): Likewise.
20820 (.%c.texi): Likewise.
20821 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20822 (mostlyclean): Remove target.
20823 (realclean): Remove target.
20824 (generated): Add new variable with contents from mostlyclean and
20825 realclean, remove entries duplicated in common-mostlyclean, add
20826 stamp-libm-err and stamp-version.
20827 (generated-dirs): Add libc directory.
20828 ($(inst_infodir)/libc.info): Install files from build dir.
20830 * manual/install.texi (Configuring and compiling): Adjust since
20831 the info files are not part of the tar ball anymore.
20833 2012-05-14 Andreas Jaeger <aj@suse.de>
20835 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20838 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20841 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20842 to 2.2.0 where earlier.
20843 * sysdeps/unix/sysv/linux/configure: Regenerated.
20844 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20845 Remove conditional code.
20846 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20847 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20848 Remove conditional code.
20849 [!__NR_lchown]: Likewise.
20850 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20851 [__NR_lchown]: Likewise.
20852 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20853 comment referencing __ASSUME_LCHOWN_SYSCALL.
20854 * sysdeps/unix/sysv/linux/i386/sigaction.c
20855 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20856 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20857 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20858 Remove conditional code.
20859 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20860 (__protocol_available): Remove #if 0 code.
20861 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20863 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20864 * sysdeps/unix/sysv/linux/kernel-features.h
20865 (__ASSUME_GETCWD_SYSCALL): Don't define.
20866 (__ASSUME_REALTIME_SIGNALS): Likewise.
20867 (__ASSUME_PREAD_SYSCALL): Likewise.
20868 (__ASSUME_PWRITE_SYSCALL): Likewise.
20869 (__ASSUME_POLL_SYSCALL): Likewise.
20870 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20871 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20873 (__ASSUME_SIOCGIFNAME): Don't define.
20874 (__ASSUME_MSG_NOSIGNAL): Likewise.
20875 (__ASSUME_SENDFILE): Define unconditionally.
20876 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20877 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20879 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20880 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20881 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20882 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20883 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20884 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20885 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20887 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20888 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20890 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20893 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20894 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20896 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20899 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20900 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20902 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20903 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20905 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20906 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20908 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20909 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20910 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20911 Remove conditional code.
20912 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20913 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20914 Remove conditional code.
20915 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20916 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20917 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20918 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20919 Remove conditional code.
20920 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20921 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20922 Remove conditional code.
20923 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20924 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20925 Remove conditional code.
20926 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20927 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20928 Remove conditional code.
20929 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20930 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20931 Remove conditional code.
20932 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20933 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20934 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20935 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20936 * sysdeps/unix/sysv/linux/sigaction.c
20937 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20938 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20939 * sysdeps/unix/sysv/linux/sigpending.c
20940 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20941 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20942 * sysdeps/unix/sysv/linux/sigprocmask.c
20943 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20944 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20945 * sysdeps/unix/sysv/linux/sigsuspend.c
20946 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20947 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20948 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20949 (__libc_missing_rt_sigs): Remove.
20950 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20951 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20952 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20953 Remove conditional code.
20954 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20955 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20957 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20958 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20959 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20960 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20962 2012-05-14 Andreas Jaeger <aj@suse.de>
20964 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20965 it's not used in glibc.
20966 (__coshm1): Likewise.
20967 (__acosh1p): Likewise.
20970 * manual/string.texi (Copying and Concatenation): Add missing
20971 variable in concat example.
20972 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20974 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20977 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20978 __builtin_clzl with __builtin_clzll.
20980 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20983 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20986 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20988 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20989 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20990 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20991 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20993 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20995 * NEWS: Update ia64 info.
20997 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20999 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21002 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21004 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21005 * sysdeps/unix/syscalls.list (dup3): Likewise.
21006 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21007 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21009 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21011 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21012 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21014 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21016 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21018 (TLS_IE): Use mov/add instead of movq/addq to load thread
21020 (TLS_GD_PREFIX): New.
21023 2012-05-11 David S. Miller <davem@davemloft.net>
21025 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21026 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21027 (_FPU_SETCW): Likewise.
21029 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21031 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21032 is 32-byte aligned.
21034 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21037 * iconvdata/gb18030.c: Update tables.
21038 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21039 characters specially.
21040 (BODY for TO_LOOP): Add encoding of missing ranges.
21042 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21045 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21046 * sysdeps/mach/hurd/dup3.c: Likewise.
21047 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21048 * sysdeps/powerpc/memmove.c:: Likewise.
21050 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21052 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21053 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21055 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21057 * elf/elf.h (R_X86_64_RELATIVE64): New.
21058 (R_X86_64_NUM): Updated.
21059 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21060 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21061 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21062 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21063 tst-quad1pie tst-quad2pie
21064 (modules-names): Add tst-quadmod1 tst-quadmod2.
21065 ($(objpfx)tst-quad1): New dependency.
21066 ($(objpfx)tst-quad2): Likewise.
21067 ($(objpfx)tst-quad1pie): Likewise.
21068 ($(objpfx)tst-quad2pie): Likewise.
21069 * sysdeps/x86_64/tst-quad1.c: New file.
21070 * sysdeps/x86_64/tst-quad1pie.c: New file.
21071 * sysdeps/x86_64/tst-quad2.c: Likewise.
21072 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21073 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21074 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21075 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21076 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21080 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21081 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21082 * streams/stropts.h (t_scalar_t): Define type.
21084 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21085 (_PATH_PRESERVE): Set to "/var/lib".
21086 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21088 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21091 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21092 if __dir_mkfile succeeded.
21094 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21095 checking for _hurd_dtablesize. Unlock it right after having
21096 finished _hurd_dtable allocation.
21098 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21100 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21101 * sysdeps/mach/hurd/configure: Regenerated.
21102 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21103 special-casing to...
21104 * sysdeps/gnu/configure.in: ... this new file.
21105 * sysdeps/unix/sysv/linux/configure: Regenerated.
21106 * sysdeps/gnu/configure: New generated file.
21108 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21109 for Linux: use nsec instead of usec, as well as:
21110 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21111 members of type struct timespec.
21112 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21114 (struct stat64): Likewise.
21115 (_STATBUF_ST_NSEC): New macro.
21116 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21118 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21119 __strtoul_internal rather than strtoul.
21121 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21123 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21126 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21128 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21129 which preserves existing values.
21130 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21132 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21134 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21135 TIMEOUT values. Return EINVAL for NFDS values either negative or
21136 greater than FD_SETSIZE.
21138 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21140 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21141 allocated, call __vm_protect to finish enabling the existing space, and
21142 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21143 allocate the remainder.
21145 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21147 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21148 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21150 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21152 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21153 sysdeps/mach/hurd/readlink.c.
21155 * posix/tst-sysconf.c (posix_options): Only use
21156 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21157 _POSIX_SYNCHRONIZED_IO when they are defined
21158 * sysdeps/mach/hurd/bits/posix_opt.h:
21159 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21160 (_XOPEN_REALTIME): Undefine macro.
21161 (_XOPEN_REALTIME_THREADS): Undefine macro.
21162 (_XOPEN_SHM): Undefine macro.
21163 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21165 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21167 (_POSIX_ASYNC_IO): Undefine macro.
21168 (_POSIX_PRIORITIZED_IO): Undefine macro.
21169 (_POSIX_SPIN_LOCKS): Define macro to -1.
21171 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21172 SA_NODEFER, SA_RESETHAND.
21173 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21174 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21179 * elf/Makefile (pldd-modules): Define unconditionally.
21181 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21183 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21185 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21187 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21188 Return ENOENT when name is empty.
21189 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21191 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21193 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21195 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21197 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21199 Fix mlock in all cases except non-readable pages.
21200 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21201 instead of VM_PROT_ALL as parameter to __vm_wire function.
21203 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21204 (__mkdir): When path is `/', just fail with EEXIST.
21205 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21207 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21209 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21210 <sys/uio.h> (for writev).
21211 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21212 and <sys/param.h> (for MIN).
21214 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21216 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21217 REQUESTED_TIME. Properly set the remaining time and return EINTR
21220 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21222 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21223 Depend on against $(link-rpcuserlibs).
21225 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21227 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21228 (__libc_stack_end): Do not use attribute_relro.
21229 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21230 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21231 to libthread-provided value.
21232 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21235 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21238 * bits/libc-lock.h (__libc_once_get): New macro.
21239 * sysdeps/mach/bits/libc-lock.h: Likewise.
21240 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21241 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21242 instead of using implementation details.
21244 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21245 * libio/freopen.c: Likewise.
21246 * libio/freopen64.c: Likewise.
21247 * misc/syslog.c: Likewise.
21248 * nscd/connections.c: Likewise.
21249 * nscd/netgroupcache.c: Likewise.
21250 * sysdeps/posix/getcwd.c: Likewise.
21252 2012-05-10 Roland McGrath <roland@hack.frob.com>
21254 * math/w_ilogbf.c: Add #include <limits.h>.
21256 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21258 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21259 path instead of returning without unlocking.
21261 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21262 immediate-write ioctls.
21263 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21265 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21267 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21268 __builtin_frame_address instead of making assumptions about the
21269 location of the return address relative to DATA. Force early load of
21270 the return address.
21271 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21272 __builtin_frame_address.
21275 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21276 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21277 implement dup3 and do some further code clean-ups.
21278 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21279 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21281 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21283 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21285 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21286 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21287 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21288 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21289 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21292 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21293 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21294 when handler == SIG_ERR, not when handler != SIG_ERR.
21296 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21298 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21299 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21302 accept4 for GNU Hurd.
21303 * include/sys/socket.h (__libc_accept4): New prototype.
21304 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21305 to implement __libc_accept4.
21306 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21308 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21310 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21311 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21312 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21313 signal-defines.sym.
21315 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21317 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21319 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21321 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21322 assertion on O_CLOEXEC flag.
21323 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21324 * hurd/intern-fd.c: Likewise.
21325 * hurd/port2fd.c: Likewise.
21327 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21330 * bits/in.h (IPV6_PKTINFO): Define new macro.
21331 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21333 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21338 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21339 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21340 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21341 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21342 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21343 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21344 * math/libm-test.inc (logb_test) : Additional logb tests.
21346 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21347 Andreas Jaeger <aj@suse.de>
21349 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21350 * configure: Regenerated.
21351 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21352 * config.make.in (link-obsolete-rpc): New substituted variable.
21353 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21354 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21355 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21356 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21357 so that libc.a contains the symbols.
21358 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21359 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21360 * sunrpc/auth_none.c: Likewise.
21361 * sunrpc/auth_unix.c: Likewise.
21362 * sunrpc/authdes_prot.c: Likewise.
21363 * sunrpc/authuxprot.c: Likewise.
21364 * sunrpc/clnt_gen.c: Likewise.
21365 * sunrpc/clnt_perr.c: Likewise.
21366 * sunrpc/clnt_raw.c: Likewise.
21367 * sunrpc/clnt_simp.c: Likewise.
21368 * sunrpc/clnt_tcp.c: Likewise.
21369 * sunrpc/clnt_udp.c: Likewise.
21370 * sunrpc/clnt_unix.c: Likewise.
21371 * sunrpc/des_crypt.c: Likewise.
21372 * sunrpc/des_soft.c: Likewise.
21373 * sunrpc/get_myaddr.c: Likewise.
21374 * sunrpc/key_call.c: Likewise.
21375 * sunrpc/key_prot.c: Likewise.
21376 * sunrpc/netname.c: Likewise.
21377 * sunrpc/pm_getmaps.c: Likewise.
21378 * sunrpc/pm_getport.c: Likewise.
21379 * sunrpc/pmap_clnt.c: Likewise.
21380 * sunrpc/pmap_prot.c: Likewise.
21381 * sunrpc/pmap_prot2.c: Likewise.
21382 * sunrpc/pmap_rmt.c: Likewise.
21383 * sunrpc/publickey.c: Likewise.
21384 * sunrpc/rpc_cmsg.c: Likewise.
21385 * sunrpc/rpc_common.c: Likewise.
21386 * sunrpc/rpc_dtable.c: Likewise.
21387 * sunrpc/rpc_prot.c: Likewise.
21388 * sunrpc/rpc_thread.c: Likewise.
21389 * sunrpc/rtime.c: Likewise.
21390 * sunrpc/svc.c: Likewise.
21391 * sunrpc/svc_auth.c: Likewise.
21392 * sunrpc/svc_raw.c: Likewise.
21393 * sunrpc/svc_run.c: Likewise.
21394 * sunrpc/svc_tcp.c: Likewise.
21395 * sunrpc/svc_udp.c: Likewise.
21396 * sunrpc/svc_unix.c: Likewise.
21397 * sunrpc/svcauth_des.c: Likewise.
21398 * sunrpc/xcrypt.c: Likewise.
21399 * sunrpc/xdr.c: Likewise.
21400 * sunrpc/xdr_array.c: Likewise.
21401 * sunrpc/xdr_float.c: Likewise.
21402 * sunrpc/xdr_intXX_t.c: Likewise.
21403 * sunrpc/xdr_mem.c: Likewise.
21404 * sunrpc/xdr_rec.c: Likewise.
21405 * sunrpc/xdr_ref.c: Likewise.
21406 * sunrpc/xdr_sizeof.c: Likewise.
21407 * sunrpc/xdr_stdio.c: Likewise.
21409 2012-05-10 Roland McGrath <roland@hack.frob.com>
21411 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21412 change. Update copyright years.
21414 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21416 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21418 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21419 Joseph Myers <joseph@codesourcery.com>
21420 Paul Pluzhnikov <ppluzhnikov@google.com>
21423 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21425 [cross-compiling] (extra-libs): Likewise.
21426 [cross-compiling] (extra-libs-others): Likewise.
21427 [cross-compiling] (librpcsvc-routines): Likewise.
21428 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21429 [cross-compiling] (omit-deps): Likewise.
21430 (sunrpc-CPPFLAGS): New variable.
21431 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21432 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21433 (cross-rpcgen-objs): New variable.
21434 (extra-objs): Append $(cross-rpcgen-objs).
21435 ($(cross-rpcgen-objs)): New rule.
21436 ($(objpfx)cross-rpcgen): Likewise.
21437 (rpcgen-cmd): Define to use $(built-program-file). Expand
21439 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21440 ($(objpfx)x%.stmp): Likewise.
21441 * sunrpc/proto.h [IS_IN_build] (_): Define.
21442 [IS_IN_build] (_libc_intl_domainname): Likewise.
21444 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21446 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21447 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21448 and R_X86_64_TPOFF64.
21450 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21452 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21453 sysdeps/unix/sysv/syscalls.list.
21456 * sysdeps/unix/sysv/syscalls.list: Remove file.
21458 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21461 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21462 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21463 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21464 (__LC_IDENTIFICATION): Make these macros useful in #if
21465 expressions, as required by C99.
21467 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21469 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21470 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21473 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21475 * stdlib/longlong.h: Updated from GCC.
21477 2012-05-09 Andreas Jaeger <aj@suse.de>
21479 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21480 default is first entry.
21481 (run_mode): Set type.
21482 (main): Remove informal message about syslog.
21483 (options): Fix typo.
21486 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21489 (llrintf): Likewise.
21490 (llrint): Likewise.
21493 (nearbyint): Likewise.
21494 (nearbyintf): Likewise.
21496 2012-05-09 Andreas Jaeger <aj@suse.de>
21497 Pedro Alves <palves@redhat.com>
21499 * nscd/nscd.c (run_mode): Use enum.
21500 (main): Cleanup coding style issue.
21502 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21503 Andreas Jaeger <aj@suse.de>
21505 * nscd/nscd.c (go_background): Replaced with...
21506 (run_mode): ... this.
21507 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21508 (options): Add -F --foreground.
21509 (main): Implement it.
21510 (parse_opt): Parse it.
21512 2012-05-09 Andreas Jaeger <aj@suse.de>
21515 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21516 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21517 -Wconversion warning.
21518 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21521 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21523 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21525 (LC_ALL): Use macro-int-constant.
21526 (LC_COLLATE): Likewise.
21527 (LC_CTYPE): Likewise.
21528 (LC_MESSAGES): Likewise.
21529 (LC_MONETARY): Likewise.
21530 (LC_NUMERIC): Likewise.
21531 (LC_TIME): Likewise.
21532 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21533 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21534 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21535 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21537 [C99-based standards] (float_t): Expect type.
21538 [C99-based standards] (double_t): Expect type.
21539 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21541 [C99-based standards] (HUGE_VALL): Likewise.
21542 [C99-based standards] (INFINITY): Likewise.
21543 [C99-based standards] (NAN): Likewise.
21544 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21545 [C99-based standards] (FP_NAN): Likewise.
21546 [C99-based standards] (FP_NORMAL): Likewise.
21547 [C99-based standards] (FP_SUBNORMAL): Likewise.
21548 [C99-based standards] (FP_ZERO): Likewise.
21549 [C99-based standards] (FP_FAST_FMA): Use
21550 optional-macro-int-constant. Specify type. Require == 1.
21551 [C99-based standards] (FP_FAST_FMAF): Likewise.
21552 [C99-based standards] (FP_FAST_FMAL): Likewise.
21553 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21554 [C99-based standards] (FP_ILOGBNAN): Likewise.
21555 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21557 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21558 [C99-based standards] (math_errhandling): Specify type.
21559 [ISO99 || ISO11] (signgam): Do not allow.
21560 [non-C99-based standards] (copysignf): Do not allow.
21561 [non-C99-based standards] (exp2f): Likewise.
21562 [non-C99-based standards] (log2f): Likewise.
21563 [non-C99-based standards] (modff): Allow.
21564 [non-C99-based standards] (erff): Do not allow.
21565 [non-C99-based standards] (erfcf): Likewise.
21566 [non-C99-based standards] (gammaf): Likewise.
21567 [non-C99-based standards] (hypotf): Likewise.
21568 [non-C99-based standards] (j0f): Likewise.
21569 [non-C99-based standards] (j1f): Likewise.
21570 [non-C99-based standards] (jnf): Likewise.
21571 [non-C99-based standards] (lgammaf): Likewise.
21572 [non-C99-based standards] (tgammaf): Likewise.
21573 [non-C99-based standards] (y0f): Likewise.
21574 [non-C99-based standards] (y1f): Likewise.
21575 [non-C99-based standards] (ynf): Likewise.
21576 [non-C99-based standards] (isnanf): Likewise.
21577 [non-C99-based standards] (acoshf): Likewise.
21578 [non-C99-based standards] (asinhf): Likewise.
21579 [non-C99-based standards] (atanhf): Likewise.
21580 [non-C99-based standards] (cbrtf): Likewise.
21581 [non-C99-based standards] (expm1f): Likewise.
21582 [non-C99-based standards] (ilogbf): Likewise.
21583 [non-C99-based standards] (log1pf): Likewise.
21584 [non-C99-based standards] (logbf): Likewise.
21585 [non-C99-based standards] (nextafterf): Likewise.
21586 [non-C99-based standards] (remainderf): Likewise.
21587 [non-C99-based standards] (rintf): Likewise.
21588 [non-C99-based standards] (scalbf): Likewise.
21589 [non-C99-based standards] (copysignl): Likewise.
21590 [non-C99-based standards] (exp2l): Likewise.
21591 [non-C99-based standards] (log2l): Likewise.
21592 [non-C99-based standards] (modfl): Allow.
21593 [non-C99-based standards] (erfl): Do not allow.
21594 [non-C99-based standards] (erfcl): Likewise.
21595 [non-C99-based standards] (gammal): Likewise.
21596 [non-C99-based standards] (hypotl): Likewise.
21597 [non-C99-based standards] (j0l): Likewise.
21598 [non-C99-based standards] (j1l): Likewise.
21599 [non-C99-based standards] (jnl): Likewise.
21600 [non-C99-based standards] (lgammal): Likewise.
21601 [non-C99-based standards] (tgammal): Likewise.
21602 [non-C99-based standards] (y0l): Likewise.
21603 [non-C99-based standards] (y1l): Likewise.
21604 [non-C99-based standards] (ynl): Likewise.
21605 [non-C99-based standards] (isnanl): Likewise.
21606 [non-C99-based standards] (acoshl): Likewise.
21607 [non-C99-based standards] (asinhl): Likewise.
21608 [non-C99-based standards] (atanhl): Likewise.
21609 [non-C99-based standards] (cbrtl): Likewise.
21610 [non-C99-based standards] (expm1l): Likewise.
21611 [non-C99-based standards] (ilogbl): Likewise.
21612 [non-C99-based standards] (log1pl): Likewise.
21613 [non-C99-based standards] (logbl): Likewise.
21614 [non-C99-based standards] (nextafterl): Likewise.
21615 [non-C99-based standards] (remainderl): Likewise.
21616 [non-C99-based standards] (rintl): Likewise.
21617 [non-C99-based standards] (scalbl): Likewise.
21618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21619 [non-C99-based standards] (FP_*): Do not allow.
21620 [C99-based standards] (FP_*): Change to
21621 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21622 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21624 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21625 (SIG_ERR): Likewise.
21626 [X/Open-based standards] (SIG_HOLD): Likewise.
21627 (SIG_IGN): Likewise.
21628 (SIGABRT): Use macro-int-constant. Specify type. Require
21630 (SIGFPE): Likewise.
21631 (SIGILL): Likewise.
21632 (SIGINT): Likewise.
21633 (SIGSEGV): Likewise.
21634 (SIGTER): Likewise.
21635 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21636 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21637 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21638 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21639 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21640 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21641 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21642 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21643 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21644 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21645 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21646 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21647 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21648 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21649 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21650 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21651 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21652 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21653 [X/Open-based standards] (SIGTRAP): Likewise.
21654 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21655 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21656 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21657 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21658 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21661 2012-05-08 Ian Wienand <ianw@vmware.com>
21664 * time/tzset.c (__tzset_parse_tz): Update default rules for
21665 daylight time changes in the Energy Policy Act of 2005.
21667 2012-05-09 Andreas Jaeger <aj@suse.de>
21670 * elf/ldconfig.c (parse_conf): Change string to make clear that
21671 ldconfig only issued a warning if ld.so.conf does not exist.
21673 2012-05-08 David S. Miller <davem@davemloft.net>
21675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21676 movxtod instead of popping the value on the stack.
21678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21680 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21682 * config.h.in: Add HAVE_ARM_PCS_VFP.
21684 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21687 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21688 checking but the checks are disabled for any reason.
21690 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21692 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21693 and ELF64_R_TYPE with ELFW(R_TYPE).
21695 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21697 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21698 (ulimit): Likewise.
21700 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21701 (settimeofday): Likewise.
21703 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21705 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21706 a struct th_u2 inside the union, and move tu_block/tu_code into
21707 a new th_u3 union of tu_block/tu_code inside of that. Move
21708 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21709 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21710 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21711 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21712 (th_stuff): Change to th_u1.tu_stuff.
21714 (th_msg): Change to th_u1.th_u2.tu_data.
21716 2012-05-07 David S. Miller <davem@davemloft.net>
21718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21721 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21722 (SETUP_PIC_REG): Use it.
21723 (SETUP_PIC_REG_LEAF): Use it.
21725 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21729 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21731 (EXPL_FINITE): Likewise.
21732 (FLDLOG): Likewise.
21733 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21734 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21736 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21738 (EXPL_FINITE): Likewise.
21739 (FLDLOG): Likewise.
21740 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21741 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21743 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21744 test of -max_value argument for long double.
21745 * sysdeps/i386/fpu/libm-test-ulps: Update.
21746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21748 2012-05-06 David S. Miller <davem@davemloft.net>
21750 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21751 quad soft-float symbols whose references which are compiler
21753 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21755 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21759 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21761 (EXPL_FINITE): Likewise.
21762 (FLDLOG): Likewise.
21765 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21766 Adjust comments for base varying.
21767 (__expl_finite): Change alias to EXPL_FINITE.
21768 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21770 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21771 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21773 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21774 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21776 (EXPL_FINITE): Likewise.
21777 (FLDLOG): Likewise.
21780 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21781 Adjust comments for base varying.
21782 (__expl_finite): Change alias to EXPL_FINITE.
21783 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21788 * math/libm-test.inc (check_float_internal): Correct ulp
21789 calculation for subnormal expected results.
21791 2012-05-06 Andreas Jaeger <aj@suse.de>
21793 * Makeconfig (+math-flags): New, set to -frounding-math.
21794 (+cflags): Add +math-flags so that all of glibc gets compiled with
21797 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21799 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21801 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21807 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21808 (__ieee754_expl): Allow for and saturate large arguments.
21809 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21810 (u_threshold): Likewise.
21811 (__exp): Call __ieee754_exp before checking for overflow and
21813 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21814 (u_threshold): Likewise.
21815 (__expf): Call __ieee754_expf before checking for overflow and
21817 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21818 (u_threshold): Likewise.
21819 (__expl): Call __ieee754_expl before checking for overflow and
21821 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21822 (__ieee754_expl): Allow for and saturate large arguments.
21823 * math/libm-test.inc (exp_test): Add another test. Do not allow
21824 missing overflow exception on overflow.
21825 (expm1_test): Do not allow missing overflow exception on overflow.
21827 * sysdeps/i386/fpu/e_expl.c: Move to ...
21828 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21829 rather than using inline asm.
21830 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21831 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21832 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21834 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21837 (signal): Likewise.
21841 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21843 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21844 sysdeps/unix/common/syscalls.list.
21845 (fchmod): Likewise.
21846 (fchown): Likewise.
21847 (ftruncate): Likewise.
21848 (getrusage): Likewise.
21849 (gettimeofday): Likewise.
21850 (setpgid): Likewise.
21851 (setregid): Likewise.
21852 (setreuid): Likewise.
21853 (sigaction): Likewise.
21854 (truncate): Likewise.
21855 (vhangup): Likewise.
21856 * sysdeps/unix/common/syscalls.list: Remove file.
21857 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21858 * sysdeps/unix/sysv/linux/Implies: Likewise.
21860 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21862 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21864 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21868 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21871 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21874 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21877 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21880 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21883 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21886 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21890 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21894 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21897 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21901 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21905 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21907 * sysdeps/unix/common/bits/dirent.h: Remove file.
21908 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21910 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21911 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21912 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21913 * sysdeps/unix/bsd/isatty.c: Likewise.
21914 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21915 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21916 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21918 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21921 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21922 long double comparison inaccuracies.
21923 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21926 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21928 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21929 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21931 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21934 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21935 nonzero digits before rounding a hex value.
21936 * stdlib/tst-strtod.c (tests): Add another test.
21938 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21940 * sysdeps/s390/fpu/libm-test-ulps: Update.
21942 2012-05-03 Andreas Jaeger <aj@suse.de>
21944 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21945 does not get optimized out.
21946 (malloc_opt_barrier): New.
21948 2012-05-03 Andreas Jaeger <aj@suse.de>
21949 Roland McGrath <roland@hack.frob.com>
21951 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21952 intermediate file deletion.
21953 (generated): Add .symlist files.
21955 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21958 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21959 Redirect under this condition.
21960 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21961 [__USE_GNU] (__dprintf_chk): Not under this condition.
21962 [__USE_GNU] (__vdprintf_chk): Likewise.
21963 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21964 under this condition.
21965 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21966 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21967 [__USE_XOPEN2K8] (vdprintf): Likewise.
21968 [__USE_GNU] (__dprintf_chk): Not under this condition.
21969 [__USE_GNU] (__vdprintf_chk): Likewise.
21970 [__USE_GNU] (dprintf): Likewise.
21971 [__USE_GNU] (vdprintf): Likewise.
21973 2012-05-03 Roland McGrath <roland@hack.frob.com>
21975 * elf/Makefile (common-generated): Set this instead of generated for
21976 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21977 $(all-built-dso)-derived lists.
21979 2012-05-03 Andreas Jaeger <aj@suse.de>
21981 * sysdeps/i386/fpu/libm-test-ulps: Update.
21984 * FAQ.in: Likewise.
21985 * scripts/gen-FAQ.pl: Likewise.
21986 * manual/install.texi (Installation): Point to online location of
21988 * Makefile (files-for-dist): Remove FAQ.
21991 2012-05-02 Allan McRae <allan@archlinux.org>
21993 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21994 (LDFLAGS-reldepmod5.so): Likewise.
21995 (LDFLAGS-reldep6mod1.so): Likewise.
21996 (LDFLAGS-reldep6mod4.so): Likewise.
21997 (LDFLAGS-reldep8mod3.so): Likewise.
21998 (LDFLAGS-unload4mod1.so): Likewise.
21999 (LDFLAGS-unload4mod2.so): Likewise.
22000 (LDFLAGS-tst-initorder): Likewise.
22001 (LDFLAGS-tst-initordera2.so): Likewise.
22002 (LDFLAGS-tst-initordera3.so): Likewise.
22003 (LDFLAGS-tst-initordera4.so): Likewise.
22004 (LDFLAGS-tst-initorderb2.so): Likewise.
22005 (LDFLAGS-noload): Likewise.
22006 (LDFLAGS-next): Likewise.
22007 (LDFLAGS-order2mod1.so): Likewise.
22008 (LDFLAGS-order2mod2.so): Likewise.
22009 (LDFLAGS-tst-initorder2): Likewise.
22010 (LDFLAGS-tst-initorder2a.so): Likewise.
22011 (LDFLAGS-tst-initorder2b.so): Likewise.
22012 (LDFLAGS-tst-initorder2c.so): Likewise.
22013 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22015 2012-05-02 David S. Miller <davem@davemloft.net>
22017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22019 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22022 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22024 2012-05-02 Andreas Jaeger <aj@suse.de>
22026 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22027 since we manipulate rounding mode.
22028 (CPPFLAGS-test-idouble.c): Likewise.
22029 (CPPFLAGS-test-ifloat.c): Likewise.
22030 (CFLAGS-test-ldouble.c): Likewise.
22031 (CFLAGS-test-double.c): Likewise.
22032 (CFLAGS-test-float.c): Likewise.
22033 (CFLAGS-test-misc.c): Likewise.
22034 (CFLAGS-test-test-fenv.c): Likewise.
22036 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22040 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22041 comparisons to determine direction to adjust input.
22043 2012-05-01 Roland McGrath <roland@hack.frob.com>
22045 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22046 output to the target.
22048 * scripts/localplt.awk: New file.
22049 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22050 (check-localplt-CFLAGS): Variable removed.
22051 ($(all-built-dso:=.jmprel)): New static pattern rule.
22052 (generated): Add those targets.
22053 (localplt-built-dso): New variable.
22054 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22056 * elf/check-localplt.c: File removed.
22058 * scripts/check-execstack.awk: New file.
22059 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22060 (check-execstack-CFLAGS): Variable removed.
22061 ($(objpfx)check-execstack.h): Target removed.
22062 ($(objpfx)execstack-default): New target.
22063 (generated): Add that instead of check-execstack.h.
22064 ($(all-built-dso:=.phdr)): New static pattern rule.
22065 (generated): Add those targets.
22066 * elf/check-execstack.c: File removed.
22068 * scripts/check-textrel.awk: New file.
22069 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22070 (check-textrel-CFLAGS): Variable removed.
22071 (all-built-dso): Use := to define.o
22072 ($(all-built-dso:=.dyn)): New static pattern rule.
22073 (generated): Add those targets.
22074 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22075 * config.make.in (READELF): New substituted variable.
22076 * elf/check-textrel.c: File removed.
22078 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22080 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22082 * conform/data/ctype.h-data [C99-based standards] (isblank):
22084 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22085 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22086 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22087 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22088 Specify type. Require positive value.
22089 (EILSEQ): Likewise.
22090 (ERANGE): Likewise.
22091 [ISO || POSIX] (EILSEQ): Do not expect.
22092 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22093 Specify type. Require positive value.
22094 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22095 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22096 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22097 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22098 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22099 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22100 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22101 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22102 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22103 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22104 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22105 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22106 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22107 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22108 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22109 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22110 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22111 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22112 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22113 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22114 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22115 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22116 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22117 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22118 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22119 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22120 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22121 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22122 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22123 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22124 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22125 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22126 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22127 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22128 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22129 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22130 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22131 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22132 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22133 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22134 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22135 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22136 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22137 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22138 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22139 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22140 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22141 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22142 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22143 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22144 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22145 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22146 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22147 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22148 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22149 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22150 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22151 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22152 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22153 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22154 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22155 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22156 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22157 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22158 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22159 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22160 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22161 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22162 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22163 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22164 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22165 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22166 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22167 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22168 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22169 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22170 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22172 (FLT_ROUNDS): Expect as macro, not constant.
22173 (FLT_MANT_DIG): Use macro-int-constant.
22174 (DBL_MANT_DIG): Likewise.
22175 (LDBL_MANT_DIG): Likewise.
22176 (FLT_DIG): Likewise.
22177 (DBL_DIG): Likewise.
22178 (LDBL_DIG): Likewise.
22179 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22180 (DBL_MIN_EXP): Likewise.
22181 (LDBL_MIN_EXP): Likewise.
22182 (FLT_MAX_EXP): Use macro-int-constant.
22183 (DBL_MAX_EXP): Likewise.
22184 (LDBL_MAX_EXP): Likewise.
22185 (FLT_MAX_10_EXP): Likewise.
22186 (DBL_MAX_10_EXP): Likewise.
22187 (LDBL_MAX_10_EXP): Likewise.
22188 (FLT_MAX): Use macro-constant.
22189 (DBL_MAX): Likewise.
22190 (LDBL_MAX): Likewise.
22191 (FLT_EPSILON): Use macro-constant. Give upper bound.
22192 (DBL_EPSILON): Likewise.
22193 (LDBL_EPSILON): Likewise.
22194 (FLT_MIN): Likewise.
22195 (DBL_MIN): Likewise.
22196 (LDBL_MIN): Likewise.
22197 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22198 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22199 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22200 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22201 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22202 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22203 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22204 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22205 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22206 [ISO11] (FLT_TRUE_MIN): Likewise.
22207 [ISO11] (LDBL_TRUE_MIN): Likewise.
22208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22209 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22210 (SCHAR_MIN): Use macro-int-constant. Specify type.
22211 (SCHAR_MAX): Likewise.
22212 (UCHAR_MAX): Likewise.
22213 (CHAR_MIN): Likewise.
22214 (CHAR_MAX): Likewise.
22215 (MB_LEN_MAX): Use macro-int-constant.
22216 (SHRT_MIN): Use macro-int-constant. Specify type.
22217 (SHRT_MAX): Likewise.
22218 (USHRT_MAX): Likewise.
22219 (INT_MAX): Likewise.
22220 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22222 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22224 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22226 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22227 bound negative. Suffix upper bound with "L".
22228 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22230 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22232 [C99-based standards] (LLONG_MAX): Likewise.
22233 [C99-based standards] (ULLONG_MAX): Likewise.
22234 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22236 [ISO11] (max_align_t): Require type.
22237 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22239 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22240 from $CFLAGS, without defining away __attribute__ calls.
22241 (checknamespace): Use $CFLAGS_namespace.
22243 * conform/conformtest.pl (@keywords): Only include C99 keywords
22244 for standards based on C99 or C11.
22246 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22248 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22251 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22252 usability of symbols in #if.
22254 * conform/conformtest.pl: If macro or constant types start
22255 "promoted:", expect the symbol to be of the following type
22256 promoted by the integer promotions.
22258 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22259 in one place. Also handle "macro-constant".
22261 * conform/conformtest.pl: Only accept expected macro values with
22262 "==". Parse all "macro" lines in one place.
22263 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22265 * conform/conformtest.pl: Handle braced types on "constant" lines
22266 instead of handling "typed-constant".
22267 * conform/data/signal.h-data: Use "constant" instead of
22270 * conform/conformtest.pl: Handle "optional-" at start of lines in
22271 one place rather than duplicating several cases. Handle each
22272 format of "macro" line with initial "optional-".
22274 * conform/conformtest.pl: Only accept expected constant or
22275 optional-constant values with "==". Parse all "constant" lines in
22276 one place. Parse all "optional-constant" lines in one place.
22277 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22278 * conform/data/fmtmsg.h-data: Likewise.
22279 * conform/data/netinet/in.h-data: Likewise.
22280 * conform/data/tar.h-data: Likewise.
22281 * conform/data/limits.h-data: Use "==" form on "constant" and
22282 "optional-constant" lines.
22284 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22285 Use -std=c99 for XOPEN2K.
22286 (@knownproblems): Remove.
22287 (newtoken): Don't check %isknown.
22289 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22290 Do not expect macro.
22291 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22292 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22293 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22294 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22295 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22296 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22297 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22298 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22299 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22300 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22301 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22302 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22303 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22304 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22305 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22306 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22307 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22308 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22309 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22310 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22311 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22312 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22313 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22314 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22315 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22316 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22317 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22318 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22319 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22320 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22321 [XPG3] (acosh): Likewise.
22322 [XPG3] (asinh): Likewise.
22323 [XPG3] (atanh): Likewise.
22324 [XPG3] (cbrt): Likewise.
22325 [XPG3] (expm1): Likewise.
22326 [XPG3] (ilogb): Likewise.
22327 [XPG3] (log1p): Likewise.
22328 [XPG3] (logb): Likewise.
22329 [XPG3] (nextafter): Likewise.
22330 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22331 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22332 [XPG3] (remainder): Likewise.
22333 [XPG3] (rint): Likewise.
22334 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22335 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22336 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22337 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22338 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22339 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22340 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22341 [UNIX98 || XOPEN2K] (scalb): Expect.
22342 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22343 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22344 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22345 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22346 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22347 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22348 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22349 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22350 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22351 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22352 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22353 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22354 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22355 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22356 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22357 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22358 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22359 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22360 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22361 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22362 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22363 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22364 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22365 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22366 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22367 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22368 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22369 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22370 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22371 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22372 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22373 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22374 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22375 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22376 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22377 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22378 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22379 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22380 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22381 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22382 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22383 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22384 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22385 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22386 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22387 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22388 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22389 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22390 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22391 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22392 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22393 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22394 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22395 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22396 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22397 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22398 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22399 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22400 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22401 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22402 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22403 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22404 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22405 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22406 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22407 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22408 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22409 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22410 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22411 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22412 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22413 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22414 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22415 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22416 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22417 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22418 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22419 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22420 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22421 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22422 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22423 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22424 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22425 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22426 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22427 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22428 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22429 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22430 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22431 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22432 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22433 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22434 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22435 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22436 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22437 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22438 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22439 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22440 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22441 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22442 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22443 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22444 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22445 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22446 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22447 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22448 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22449 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22450 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22451 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22452 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22453 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22454 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22455 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22456 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22457 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22458 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22459 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22460 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22461 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22462 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22463 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22464 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22465 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22466 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22467 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22468 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22469 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22470 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22471 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22472 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22473 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22474 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22475 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22476 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22477 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22478 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22480 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22481 _XOPEN_SOURCE_EXTENDED for XPG4.
22483 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22485 * Makeconfig (localtime): Remove variable.
22486 (inst_localtime-file): Likewise.
22488 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22509 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22513 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22514 comparisons to determine direction to adjust input.
22515 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22516 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22517 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22519 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22521 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22523 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22524 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22526 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22528 * math/libm-test.inc (nexttoward_test): Add more tests.
22530 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22533 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22534 in version GLIBC_2.1, not GLIBC_2.0.
22535 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22538 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22541 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22543 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22544 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22545 * math/libm-test.inc (acos_test): Add more tests.
22546 (asin_test): Likewise.
22547 * sysdeps/i386/fpu/libm-test-ulps: Update.
22548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22551 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22553 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22554 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22555 * math/libm-test.inc (acos_test_tonearest): New function.
22556 (acos_test_towardzero): Likewise.
22557 (acos_test_downward): Likewise.
22558 (acos_test_upward): Likewise.
22559 (asin_test_tonearest): Likewise.
22560 (asin_test_towardzero): Likewise.
22561 (asin_test_downward): Likewise.
22562 (asin_test_upward): Likewise.
22563 (main): Call the new functions.
22564 * sysdeps/i386/fpu/libm-test-ulps: Update.
22565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22569 * math/e_exp10.c: Include <float.h>.
22570 (__ieee754_exp10): Handle underflow here rather than multiplying
22571 large negative argument by M_LN10.
22572 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22574 * math/e_exp10l.c: Include <float.h>.
22575 (__ieee754_exp10l): Handle underflow here rather than multiplying
22576 large negative argument by M_LN10l.
22577 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22578 spurious overflow exception on underflow.
22580 2012-04-29 Marek Polacek <polacek@redhat.com>
22582 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22583 (__fortify_function): New macro.
22584 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22585 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22586 __extern_always_inline.
22587 * libio/bits/stdio2.h: Likewise.
22588 * libio/bits/stdio.h: Likewise.
22589 * string/string.h: Likewise.
22590 * string/bits/string3.h: Likewise.
22591 * include/stdio.h: Likewise.
22592 * stdlib/bits/stdlib.h: Likewise.
22593 * stdlib/stdlib.h: Likewise.
22594 * rt/bits/mqueue2.h: Likewise.
22595 * rt/mqueue.h: Likewise.
22596 * posix/bits/unistd.h: Likewise.
22597 * posix/unistd.h: Likewise.
22598 * io/bits/poll2.h: Likewise.
22599 * io/bits/fcntl2.h: Likewise.
22600 * io/fcntl.h: Likewise.
22601 * io/sys/poll.h: Likewise.
22602 * misc/bits/syslog.h: Likewise.
22603 * misc/bits/syslog-ldbl.h: Likewise.
22604 * misc/sys/syslog.h: Likewise.
22605 * socket/bits/socket2.h: Likewise.
22606 * socket/sys/socket.h: Likewise.
22607 * debug/tst-chk1.c: Likewise.
22608 * wcsmbs/bits/wchar2.h: Likewise.
22609 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22610 * wcsmbs/wchar.h: Likewise.
22612 2012-04-29 Andreas Jaeger <aj@suse.de>
22614 * Makerules (tests): Remove enable-check-abi protection.
22615 (check-abi-warn): Remove.
22616 (check-abi-%): Remove check-abi-warn usage.
22618 * configure.in: Remove check-abi configure option.
22619 * configure: Regenerated.
22620 * config.make.in (enable-check-abi): Remove.
22622 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22625 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22626 double functions to double *_finite functions.
22629 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22630 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22632 * stdio-common/Makefile (tests): Add tst-sprintf3.
22633 * stdio-common/tst-sprintf3.c: New file.
22635 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22636 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22638 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22640 * conform/conformtest.pl: Remove duplicate typed-constant
22643 2012-04-28 David S. Miller <davem@davemloft.net>
22645 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22646 (check-abi-%): Remove AWK script prerequisite and explicit
22648 (check-abi): Rewrite to just diff the symlist with the abilist.
22649 (config-tls, config-abi-config): Delete, no longer used.
22650 (update-abi-%): Remove AWK script and explicit abilist directory.
22651 (update-abi): Rewrite to simply compare and conditionally copy the
22652 symlist and the sysdep abilist file. Remove update-abi-config
22654 * abilist/ld.abilist: Remove.
22655 * abilist/libBrokenLocale.abilist: Remove.
22656 * abilist/libanl.abilist: Remove.
22657 * abilist/libcrypt.abilist: Remove.
22658 * abilist/libdl.abilist: Remove.
22659 * abilist/librt.abilist: Remove.
22660 * abilist/libthread_db.abilist: Remove.
22661 * abilist/libutil.abilist: Remove.
22662 * scripts/extract-abilist.awk: Remove.
22663 * scripts/merge-abilist.awk: Remove.
22664 * sysdeps/generic/libcidn.abilist: New file.
22665 * sysdeps/generic/libnss_compat.abilist: New file.
22666 * sysdeps/generic/libnss_db.abilist: New file.
22667 * sysdeps/generic/libnss_dns.abilist: New file.
22668 * sysdeps/generic/libnss_files.abilist: New file.
22669 * sysdeps/generic/libnss_hesiod.abilist: New file.
22670 * sysdeps/generic/libnss_nis.abilist: New file.
22671 * sysdeps/generic/libnss_nisplus.abilist: New file.
22672 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22673 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22674 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22676 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22677 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22678 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22679 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22680 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22681 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22682 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22683 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22684 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22686 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22687 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22688 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22689 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22691 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22692 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22693 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22694 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22695 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22696 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22698 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22699 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22700 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22702 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22805 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22806 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22807 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22810 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22811 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22812 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22813 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22814 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22815 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22816 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22817 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22818 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22870 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22872 * conform/conformtest.pl: Fix typo in handling typed-constant from
22875 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22877 * README: Cut down references to pre-2.6 Linux kernels and
22878 Linuxthreads. Update lists of configurations in libc and ports
22879 and sort alphabetically. Say "or newer" with Linux kernel version
22882 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22884 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22887 * math/libm-test.inc (logb_test_downward): New test to expose
22888 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22891 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22894 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22896 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22897 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22899 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22901 * sysdeps/unix/i386/brk.S: Remove file.
22902 * sysdeps/unix/i386/dl-brk.S: Likewise.
22903 * sysdeps/unix/i386/pipe.S: Likewise.
22904 * sysdeps/unix/i386/sigreturn.S: Likewise.
22905 * sysdeps/unix/i386/syscall.S: Likewise.
22906 * sysdeps/unix/i386/vfork.S: Likewise.
22907 * sysdeps/unix/i386/wait.S: Likewise.
22909 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22910 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22912 * configure.in (arm*-none*): Do not allow without
22913 --enable-hacker-mode.
22914 (netbsd*): Remove case setting base_os.
22915 (386bsd*): Likewise.
22916 (freebsd*): Likewise.
22919 (sunos*): Likewise.
22920 (ultrix*): Likewise.
22921 (newsos*): Likewise.
22922 (dynix*): Likewise.
22928 (minix*): Likewise.
22929 (irix4*): Likewise.
22930 (irix6*): Likewise.
22931 (solaris[2-9]*): Likewise.
22933 * configure: Regenerated.
22935 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22938 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22939 overflow or cancellation in calculating denominator.
22940 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22941 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22942 down expression to avoid unexpected rounding in newer GCCs.
22943 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22945 2012-04-26 David S. Miller <davem@davemloft.net>
22947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22948 long-double compat symbols.
22949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22963 2012-04-25 David S. Miller <davem@davemloft.net>
22965 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22966 HWCAP_* values only after the memory barriers have been defined.
22967 (atomic_full_barrier): Define.
22968 (atomic_read_barrier): Define.
22969 (atomic_write_barrier): Define.
22971 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22973 * shlib-versions: Add libgcc_s version information.
22974 * sysdeps/generic/libgcc_s.h: Remove.
22975 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22977 * sysdeps/gnu/unwind-resume.c: Likewise.
22978 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22980 2012-04-25 David S. Miller <davem@davemloft.net>
22982 * sysdeps/unix/sparc/brk.S: Delete.
22983 * sysdeps/unix/sparc/dl-brk.S: Delete.
22984 * sysdeps/unix/sparc/pipe.S: Delete.
22985 * sysdeps/unix/sparc/sysdep.S: Delete.
22986 * sysdeps/unix/sparc/sysdep.h: Delete.
22987 * sysdeps/unix/sparc/vfork.S: Delete.
22988 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22989 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22990 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22991 ret_ERRVAL, r0, r1, MOVE): Define.
22992 (JUMPTARGET): Remove.
22993 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22994 sysdeps/unix/sparc/sysdep.h
22995 (ENTRY, END): Remove.
22996 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22998 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23000 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23001 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23004 * timezone/README: Update upstream location and email address for
23006 * timezone/zdump.c: Update from tzcode 2012b.
23007 * timezone/zic.c: Likewise.
23009 * configure.in (libc_cv_as_needed): Remove test.
23010 * configure: Regenerated.
23011 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23012 conditional definition.
23013 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23014 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23015 * config.make.in (have-as-needed): Remove variable.
23017 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23018 Paul Pluzhnikov <ppluzhnikov@google.com>
23020 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23023 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23025 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23026 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23027 * sysdeps/sh/strlen.S: Likewise.
23029 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23031 * sysdeps/unix/fork.S: Remove file.
23032 * sysdeps/unix/i386/fork.S: Likewise.
23033 * sysdeps/unix/sparc/fork.S: Likewise.
23035 * sysdeps/unix/system.c: Remove file.
23036 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23038 * sysdeps/unix/getegid.S: Remove file.
23039 * sysdeps/unix/geteuid.S: Likewise.
23041 2012-04-24 Roland McGrath <roland@hack.frob.com>
23043 * scripts/check-localplt.awk: New file.
23044 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23046 * scripts/data/localplt-generic.data: Add a comment.
23048 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23049 NODE when __dir_mkfile failed.
23050 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23051 Reported by Ludovic Courtès <ludo@gnu.org>.
23053 2012-04-24 Andreas Jaeger <aj@suse.de>
23055 * Makerules (common-clean): Also remove gen-as-const-headers
23058 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23060 * Makerules (native-compile): Do not change working directory for
23061 build. Use $(OUTPUT_OPTION) in command.
23062 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23064 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23067 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23068 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23069 * math/libm-test.inc (floor_test): Add more tests.
23070 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23072 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23074 * sysdeps/unix/getdents.c: Remove file.
23075 * sysdeps/unix/sysv/getdents.c: Likewise.
23076 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23078 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23079 sysdeps/unix/mman/syscalls.list.
23081 (mprotect): Likewise.
23083 (munmap): Likewise.
23084 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23085 * sysdeps/unix/mman/syscalls.list: Remove.
23086 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23088 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23089 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23090 * configure: Regenerated.
23091 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23092 $(libgcc_s_suffix).
23093 * config.make.in (libgcc_s_suffix): Remove variable.
23095 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23097 * sysdeps/unix/sysv/gethostname.c: Move to ...
23098 * sysdeps/posix/gethostname.c: ... here.
23100 * sysdeps/unix/execve.S: Remove file.
23102 * sysdeps/unix/_exit.S: Remove file.
23104 2012-04-23 Andreas Jaeger <aj@suse.de>
23107 * manual/Makefile: Remove make dist support, there's no
23108 need for a stand-alone documentation tar ball.
23109 (TEXI2DVI): Define always, it's not in Makeconfig.
23112 (edition): Removed.
23113 (glibc-doc-$(edition).tar): Removed
23117 (ETAGS): Remove, it's in Makeconfig.
23118 (move-if-change): Remove, it's in Makeconfig.
23120 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23123 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23124 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23125 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23126 (strtod_l, strtof_l, strtold_l): Remove __wur.
23127 It is not necessarily an error to ignore strtol's return value.
23128 One can reliably look at the stored endptr to decide whether
23129 the number had valid syntax.
23131 2012-04-21 Andreas Jaeger <aj@suse.de>
23134 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23136 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23138 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23139 * sysdeps/unix/sysv/Versions: Remove file.
23141 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23146 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23149 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23150 version from __vm86.
23152 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23154 * sysdeps/unix/common/lxstat.c: Remove file.
23155 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23157 * sysdeps/unix/sysv/Makefile: Remove file.
23159 * sysdeps/unix/sysv/direct.h: Remove file.
23161 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23162 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23163 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23164 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23165 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23166 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23167 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23169 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23171 * sysdeps/unix/xmknod.c: Remove file.
23172 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23174 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23176 * sysdeps/unix/sysv/i386/time.S: Remove file.
23178 * sysdeps/unix/fxstat.c: Remove file.
23179 * sysdeps/unix/xstat.c: Likewise.
23180 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23182 * sysdeps/unix/sysv/sigaction.c: Remove file.
23184 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23185 (sysdep_headers): Remove variable.
23186 [termio.h not in sysdep_headers] (generated): Likewise.
23187 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23188 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23189 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23190 * sysdeps/unix/sysv/tcflow.c: Likewise.
23191 * sysdeps/unix/sysv/tcflush.c: Likewise.
23192 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23193 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23194 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23195 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23196 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23198 * sysdeps/unix/siglist.c: Remove file.
23200 * sysdeps/unix/getppid.S: Remove file.
23202 * sysdeps/unix/mkdir.c: Remove file.
23203 * sysdeps/unix/rmdir.c: Likewise.
23205 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23207 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23209 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23210 errlist-compat value.
23212 2012-04-18 David S. Miller <davem@davemloft.net>
23214 * sysdeps/generic/memcopy.h (reg_char): Delete.
23215 * debug/strcat_chk.c: Use char, not reg_char.
23216 * debug/strcpy_chk.c: Likewise.
23217 * debug/strncat_chk.c: Likewise.
23218 * debug/strncpy_chk.c: Likewise.
23219 * string/memchr.c: Likewise.
23220 * string/memrchr.c: Likewise.
23221 * string/rawmemchr.c: Likewise.
23222 * string/strcat.c: Likewise.
23223 * string/strchr.c: Likewise.
23224 * string/strchrnul.c: Likewise.
23225 * string/strcmp.c: Likewise.
23226 * string/strcpy.c: Likewise.
23227 * string/strncat.c: Likewise.
23228 * string/strncmp.c: Likewise.
23229 * string/strncpy.c: Likewise.
23231 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23233 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23234 __builtin_memcopy is called when src and dest ranges are known to not
23237 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23239 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23240 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23241 fwd_align_merge macro call.
23242 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23243 bwd_align_merge macro call.
23244 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23246 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23248 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23249 bwd_align_merge macros.
23250 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23251 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23252 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23254 2012-04-18 David S. Miller <davem@davemloft.net>
23256 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23258 2012-04-18 Andreas Jaeger <aj@suse.de>
23261 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23262 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23263 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23265 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23266 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23267 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23269 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23270 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23271 Adjust for changed ldbl-128 files.
23273 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23274 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23275 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23277 2012-04-17 David S. Miller <davem@davemloft.net>
23279 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23281 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23283 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23284 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23285 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23286 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23287 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23288 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23290 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23293 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23294 * math/libm-test.inc: Add ilogb errno and exception tests.
23295 * math/w_ilogb.c: New file: ilogb wrapper.
23296 * math/w_ilogbf.c: New file: ilogbf wrapper.
23297 * math/w_ilogbl.c: New file: ilogbl wrapper.
23298 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23299 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23300 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23301 exception being thrown with 0.0 as argument.
23302 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23303 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23304 exception being thrown with 0.0 as argument.
23305 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23306 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23307 exception being thrown with 0.0 as argument.
23308 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23309 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23310 exception being thrown with 0.0 as argument.
23311 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23312 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23313 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23314 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23315 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23316 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23317 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23318 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23319 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23321 2012-04-17 Petr Baudis <pasky@ucw.cz>
23323 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23326 2012-04-16 Marek Polacek <polacek@redhat.com>
23328 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23330 2012-04-16 Marek Polacek <polacek@redhat.com>
23332 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23333 operands of fdivp instruction.
23335 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23337 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23338 * elf/tst-auditmod3b.c: Likewise.
23339 * elf/tst-auditmod4b.c: Likewise.
23340 * elf/tst-auditmod5b.c: Likewise.
23341 * elf/tst-auditmod6b.c: Likewise.
23342 * elf/tst-auditmod6c.c: Likewise.
23343 * elf/tst-auditmod7b.c: Likewise.
23344 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23345 * sysdeps/x86_64/preconfigure.in: Likewise.
23346 * sysdeps/x86_64/preconfigure: Regenerated.
23348 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23350 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23353 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23356 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23358 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23361 * locale/iso-639.def: Fix gl language name. Spotted by
23364 2012-04-12 Roland McGrath <roland@hack.frob.com>
23367 * libio/libio.h (__io_write_fn): Update comment.
23369 2012-04-12 Petr Baudis <pasky@ucw.cz>
23372 * stdio.texi (Hook Functions): The user provided writer function
23373 is not allowed to return -1.
23375 2012-04-11 David S. Miller <davem@davemloft.net>
23377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23379 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23381 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23382 Add a leading slash to rtkaio.
23384 2012-04-11 Jim Meyering <meyering@redhat.com>
23387 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23388 It is not necessarily an error to ignore fwrite's return
23389 value. One can reliably use ferror to test for errors after
23392 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23394 * bits/types.h (__snseconds_t): New type.
23395 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23397 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23399 (__SNSECONDS_T_TYPE): Likewise.
23400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23401 (__SNSECONDS_T_TYPE): Likewise.
23402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23403 (__SNSECONDS_T_TYPE): Likewise.
23405 2012-04-10 Andreas Jaeger <aj@suse.de>
23408 * manual/time.texi (Processor Time): Return type of times is
23409 elapsed real time since an arbitrary point in the past.
23410 (CPU Time): Move CLK_TCK from here...
23411 (Processor Time): ...to here. Correct description.
23412 * manual/conf.texi (Constants for Sysconf): Correct description of
23415 2012-04-10 David S. Miller <davem@davemloft.net>
23418 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23419 where the is a gap between DT_REL(A) and DT_JMPREL.
23421 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23423 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23424 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23425 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23427 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23429 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23430 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23431 (dl_main): Handle --inhibit-cache.
23432 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23434 * elf/dl-load.c (_dl_map_object): Use it.
23435 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23437 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23440 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23441 (__ieee754_powl): Saturate large exponents rather than testing for
23442 overflow of y*log2(x).
23443 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23444 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23448 * math/s_ctan.c: Include <float.h>.
23449 (__ctan): Avoid internal overflow or cancellation in calculating
23451 * math/s_ctanf.c: Likewise.
23452 * math/s_ctanl.c: Likewise.
23453 * math/s_ctanh.c: Likewise.
23454 * math/s_ctanhf.c: Likewise.
23455 * math/s_ctanhl.c: Likewise.
23456 * math/libm-test.inc (ctan_test): Add more tests.
23457 (ctanh_test): Likewise.
23458 * sysdeps/i386/fpu/libm-test-ulps: Update.
23459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23461 2012-04-09 Andreas Jaeger <aj@suse.de>
23464 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23465 is an optional BSD extension.
23468 * manual/stdio.texi (Opening Streams): Document additional fopen
23471 2012-04-09 Roland McGrath <roland@hack.frob.com>
23473 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23474 %eax without telling the compiler.
23476 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23479 * manual/install.texi: Use sourceware.org.
23481 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23484 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23485 (__ieee754_pow): Generate overflow and underflow using huge*huge
23486 and tiny*tiny rather than just returning constant infinity or zero
23487 for large exponents.
23488 * math/libm-test.inc (pow_test): Require overflow exceptions for
23489 applicable cases of large exponents.
23492 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23493 (__ieee754_pow): Use iterative multiplication algorithm only for
23494 integer exponents with absolute value below 1024. Check for odd
23495 integer exponents when using algorithm for real exponents.
23496 * math/libm-test.inc (pow_test): Add more tests.
23497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23499 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23502 * math/libm-test.inc (exp_test): Do not allow overflow exception
23505 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23508 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23509 instead of __kernel_standard_f.
23511 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23513 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23514 * sysdeps/x86_64/memset_chk.S: Likewise.
23516 2012-04-08 Andreas Jaeger <aj@suse.de>
23519 * manual/startup.texi (Environment Access): Describe return value
23520 for putenv and setenv.
23523 * manual/filesys.texi (Directory Entries): Add description for
23527 * manual/filesys.texi (Directory Entries): Clarify that it's file
23528 system not operating system in the description of DT_UNKNOWN.
23531 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23533 2012-04-08 Stephen Compall <s11@member.fsf.org>
23536 * manual/llio.texi (Opening and Closing Files): Add cross
23537 reference to explain mode argument.
23539 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23541 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23542 * sysdeps/x86_64/memset_chk.S: Likewise.
23544 2012-04-07 David S. Miller <davem@davemloft.net>
23546 * elf/elf.h (R_SPARC_WDISP10): Define.
23547 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23549 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23550 R_SPARC_SIZE64 and R_SPARC_H34.
23552 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23554 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23555 conditions and remove no longer applicable assertion.
23557 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23559 * bits/byteswap.h: Include <features.h>.
23560 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23561 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23563 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23565 * bits/byteswap.h (__bswap_16): Removed.
23566 Include <bits/byteswap-16.h> to get __bswap_16.
23567 * sysdeps/i386/bits/byteswap.h: Likewise.
23568 * sysdeps/s390/bits/byteswap.h: Likewise.
23569 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23570 * bits/byteswap-16.h: New file.
23571 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23572 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23573 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23574 * string/Makefile (headers): Add bits/byteswap-16.h.
23576 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23579 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23581 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23582 * nss/tst-nss-static.c: New.
23584 2012-04-06 Robert Millan <rmh@gnu.org>
23587 * manual/llio.texi (File Position Primitive): lseek
23588 refers to WHENCE when it really means OFFSET.
23590 2012-04-06 Andreas Jaeger <aj@suse.de>
23592 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23593 strncmp declarations.
23595 * abilist/libc.abilist: Add __poll and __ppoll.
23597 2012-04-05 David S. Miller <davem@davemloft.net>
23599 * scripts/check-local-headers.sh: Accept a host triplet in the
23600 path matched by the exclude regexp.
23602 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23604 * sysdeps/powerpc/powerpc32/dl-machine.h
23605 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23606 * sysdeps/s390/s390-32/dl-machine.h
23607 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23608 * sysdeps/sparc/sparc32/dl-machine.h
23609 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23610 * sysdeps/sparc/sparc64/dl-machine.h
23611 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23613 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23615 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23616 undefined symbol errors.
23618 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23621 2012-04-05 Michael Matz <matz@suse.de>
23624 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23626 2012-04-05 Andreas Jaeger <aj@suse.de>
23629 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23632 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23634 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23635 which ROUND is no valid rounding mode.
23637 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23639 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23641 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23643 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23645 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23646 an exception using FPU order intentionally.
23648 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23650 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23651 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23652 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23653 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23655 2012-04-05 Simon Josefsson <simon@josefsson.org>
23658 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23659 EINVAL when BUFLEN is too smal.
23661 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23664 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23665 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23667 2012-04-03 Andreas Jaeger <aj@suse.de>
23670 * manual/setjmp.texi (System V contexts): Fix sentence.
23673 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23674 New macro for this case.
23675 [!__GNUC__] (__bswap_64): New inline function for this case.
23676 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23677 * bits/byteswap.h: Likewise.
23678 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23679 ull, guard with __GLIBC_HAVE_LONG_LONG.
23681 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23682 __GLIBC_HAVE_LONG_LONG.
23684 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23685 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23687 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23690 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23691 inptr and inend, rather than using last_ch.
23693 2012-04-02 David S. Miller <davem@davemloft.net>
23695 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23696 * stdio-common/printf-parse.h (read_int): Change return type to
23697 'int', return -1 on INT_MAX overflow.
23698 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23699 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23700 overflows INT_MAX. Check for overflow of in-format-string precision
23701 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23702 SIZE_MAX not INT_MAX for integer overflow test.
23703 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23704 skip the construct in the format string but do not record anything.
23705 * stdio-common/bug22.c: Adjust to test both width/prevision
23706 INT_MAX overflow as well as total length INT_MAX overflow. Check
23707 explicitly for proper errno values.
23709 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23711 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23713 * string/test-strcmp.c [! WIDE]: Likewise.
23714 * time/tst-mktime2.c: Likewise for INT_MAX.
23715 * string/test-string.h: #include <sys/param.h> for MIN.
23717 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23718 * sysdeps/i386/init-first.c (init): Likewise.
23719 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23720 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23721 * sysdeps/sh/init-first.c (init): Likewise.
23723 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23725 * po/ru.po: Update from translation team.
23726 * po/vi.po: Likewise.
23728 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23730 * resolv/nss_dns/dns-host.c: Merge copyright years.
23732 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23735 Optimize memcpy with prefetch if
23736 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23737 src, dst pointers have unequal 16 byte alignments.
23739 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23742 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23743 from a CNAME entry and return the minimum ttl for the query.
23744 (gaih_getanswer_slice): Likewise.
23746 2012-03-30 Jeff Law <law@redhat.com>
23748 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23750 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23751 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23753 * resolv/nss_dns/dns-host.c: Update copyright year.
23755 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23757 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23758 requests to save a system call. Fix check that all bytes are sent.
23760 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23761 comments for sendmmsg.
23763 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23766 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23767 with only 1 character between 0x0041 and 0x01b0.
23768 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23769 * wcsmbs/tst-mbsnrtowcs.c: New file.
23771 2012-03-29 David S. Miller <davem@davemloft.net>
23773 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23774 small copies by hand.
23776 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23779 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23780 _nss_compat_initgroups_dyn): Fall back to malloc/free
23781 for large group memberships.
23783 2012-03-28 David S. Miller <davem@davemloft.net>
23785 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23786 that branches into memcpy.
23787 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23788 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23789 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23790 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23791 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23793 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23794 implementation too.
23795 * sysdeps/sparc/mempcpy.S: New file.
23797 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23798 the IFUNC routine in the libc case.
23799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23801 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23802 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23803 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23804 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23805 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23806 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23807 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23808 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23810 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23811 loop to 256 bytes instead of 64 bytes and fix test signedness.
23813 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23814 * sysdeps/sparc/sparc32/Makefile: rather than here...
23815 * sysdeps/sparc/sparc64/Makefile: and here.
23817 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23819 * malloc/mallocbug.c: Avoid warnings about unused variables.
23821 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23824 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23825 in the right place. Discard and retry query if response is
23826 larger than input buffer size.
23828 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23833 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23834 x for large integer exponent.
23835 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23836 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23837 sign of result as needed afterwards.
23838 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23839 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23840 result for underflowing pow the same as for overflow.
23841 (__kernel_standard_l): Handle powl overflow and underflow here
23842 rather than calling __kernel_standard.
23843 * math/libm-test.inc (pow_test): Add more tests.
23858 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23859 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23860 (__kernel_standard_l): New function.
23861 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23863 * math/w_acosl.c (__acosl): Likewise.
23864 * math/w_asinl.c (__asinl): Likewise.
23865 * math/w_atan2l.c (__atan2l): Likewise.
23866 * math/w_atanhl.c (__atanhl): Likewise.
23867 * math/w_coshl.c (__coshl): Likewise.
23868 * math/w_exp10l.c (__exp10l): Likewise.
23869 * math/w_exp2l.c (__exp2l): Likewise.
23870 * math/w_fmodl.c (__fmodl): Likewise.
23871 * math/w_hypotl.c (__hypotl): Likewise.
23872 * math/w_j0l.c (__j0l, __y0l): Likewise.
23873 * math/w_j1l.c (__j1l, __y1l): Likewise.
23874 * math/w_jnl.c (__jnl, __ynl): Likewise.
23875 * math/w_lgammal.c (__lgammal): Likewise.
23876 * math/w_log10l.c (__log10l): Likewise.
23877 * math/w_log2l.c (__log2l): Likewise.
23878 * math/w_logl.c (__logl): Likewise.
23879 * math/w_powl.c (__powl): Likewise.
23880 * math/w_remainderl.c (__remainderl): Likewise.
23881 * math/w_scalbl.c (sysv_scalbl): Likewise.
23882 * math/w_sinhl.c (__sinhl): Likewise.
23883 * math/w_sqrtl.c (__sqrtl): Likewise.
23884 * math/w_tgammal.c (__tgammal): Likewise.
23885 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23886 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23887 * math/libm-test.inc (acos_test): Add more tests.
23888 (acosh_test): Likewise.
23889 (asin_test): Likewise.
23890 (atanh_test): Likewise.
23891 (exp_test): Likewise.
23892 (exp10_test): Likewise.
23893 (exp2_test): Likewise.
23894 (expm1_test): Likewise.
23895 (lgamma_test): Likewise.
23896 (log_test): Likewise.
23897 (log10_test): Likewise.
23898 (log1p_test): Likewise.
23899 (log2_test): Likewise.
23900 (pow_test): Do not allow some spurious overflow exceptions.
23901 (sqrt_test): Add more tests.
23902 (tgamma_test): Likewise.
23903 (y0_test): Likewise.
23904 (y1_test): Likewise.
23905 (yn_test): Likewise.
23907 2012-03-27 Anton Blanchard <anton@samba.org>
23909 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23911 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23912 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23913 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23915 2012-03-27 David S. Miller <davem@davemloft.net>
23917 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23919 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23920 have-as-vis3 check.
23922 2012-03-27 Andreas Jaeger <aj@suse.de>
23924 * sysdeps/x86_64/elf/configure.in: Moved to ...
23925 * sysdeps/x86_64/configure.in: ... here.
23926 * sysdeps/x86_64/elf/start.S: Moved to ...
23927 * sysdeps/x86_64/start.S: ... here.
23928 * sysdeps/x86_64/elf/configure: Delete.
23930 * sysdeps/x86_64/configure.in: Merge contents from
23931 sysdeps/i386/configure.in (without i686 check).
23933 * sysdeps/i386/elf/Versions: Merge into ...
23934 * sysdeps/i386/Versions: ... this.
23935 * sysdeps/i386/elf/Versions: Delete file.
23936 * sysdeps/i386/elf/start.S: Moved to ...
23937 * sysdeps/i386/start.S: ...here.
23938 * sysdeps/i386/elf/configure.in: Merge into...
23939 * sysdeps/i386/configure.in: ...here.
23940 * sysdeps/i386/elf/configure.in: Delete file.
23941 * sysdeps/i386/elf/configure: Delete file.
23943 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23944 * debug/backtracesyms.c: ... here.
23945 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23946 * debug/backtracesymsfd.c: ... here.
23947 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23948 * sysdeps/generic/ifunc-sel.h: ... here.
23950 * sysdeps/unix/i386/start.c: Delete file.
23951 * sysdeps/unix/sparc/start.c: Delete file.
23952 * sysdeps/unix/start.c: Delete file.
23954 * sysdeps/sh/elf/configure.in: Moved to ...
23955 * sysdeps/sh/configure.in: ... here.
23956 * sysdeps/sh/elf/start.S: Moved to ...
23957 * sysdeps/sh/start.S: ... here.
23958 * sysdeps/sh/elf/configure: Delete file.
23960 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23961 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23962 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23963 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23964 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23965 * sysdeps/powerpc/powerpc64/start.S: here.
23966 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23967 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23968 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23969 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23970 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23972 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23973 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23974 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23975 * sysdeps/powerpc/powerpc32/start.S: ... here.
23976 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23977 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23978 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23980 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23981 * sysdeps/powerpc/ifunc-sel.h: ... here.
23982 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23983 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23985 * sysdeps/sparc/elf/configure.in: Moved to ...
23986 * sysdeps/sparc/configure.in: ... here.
23987 * sysdeps/sparc/elf/configure: Delete file.
23988 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23989 * sysdeps/sparc/sparc32/start.S: ... here.
23990 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23991 * sysdeps/sparc/sparc64/start.S: ... here.
23992 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23993 * sysdeps/sparc/sparc32/Makefile: ... this.
23994 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23995 * sysdeps/sparc/sparc64/Makefile: ... this.
23997 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23998 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23999 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24000 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24001 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24002 * sysdeps/s390/s390-32/setjmp.S: ... here.
24003 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24004 * sysdeps/s390/s390-32/configure.in: ... here.
24005 * sysdeps/s390/s390-32/elf/configure: Delete file.
24006 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24007 * sysdeps/s390/s390-32/start.S: ... here.
24009 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24010 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24011 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24012 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24013 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24014 * sysdeps/s390/s390-64/setjmp.S: ... here.
24015 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24016 * sysdeps/s390/s390-64/configure.in: ... here
24017 * sysdeps/s390/s390-64/elf/configure: Delete file.
24018 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24019 * sysdeps/s390/s390-64/start.S: ... here.
24020 * sysdeps/s390/s390-64/elf/configure: Delete.
24022 * configure.in: Remove support for elf directories in sysdeps.
24024 * configure: Regenerated.
24025 * sysdeps/i386/configure: Regenerated.
24026 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24027 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24028 * sysdeps/s390/s390-32/configure: Regenerated.
24029 * sysdeps/s390/s390-64/configure: Regenerated.
24030 * sysdeps/sh/configure: Regenerated.
24031 * sysdeps/sparc/configure: Regenerated.
24032 * sysdeps/x86_64/configure: Regenerated.
24034 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24038 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24039 denormal result into account.
24041 2012-03-25 Roland McGrath <roland@hack.frob.com>
24043 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24044 Reported by Allan McRae <allan@archlinux.org>.
24046 2012-03-23 Jeff Law <law@redhat.com>
24048 * nss/getnssent.c (__nss_getent): Fix typo.
24050 2012-03-23 David S. Miller <davem@davemloft.net>
24052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24054 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24056 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24057 to pad to uint64_t for each field.
24058 (dl_tls_index): Replace unsigned long with uint64_t.
24060 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24061 Paul Pluzhnikov <ppluzhnikov@google.com>
24064 * grp/Makefile (otherlibs): Don't set it.
24065 * inet/Makefile (otherlibs): Likewise.
24066 * login/Makefile (otherlibs): Likewise.
24067 * nscd/Makefile (otherlibs): Likewise.
24068 * posix/Makefile (otherlibs): Likewise.
24069 * pwd/Makefile (otherlibs): Likewise.
24070 * rt/Makefile (otherlibs): Likewise.
24071 * sunrpc/Makefile (otherlibs): Likewise.
24072 * nss/Makefile (otherlibs): Likewise.
24073 Add libnss_files to routines and static-only-routines.
24074 ($(objpfx)getent): Remove rule.
24075 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24076 static-only-routines.
24078 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24081 * math/s_cexp.c: Include <float.h>.
24082 (__cexp): Handle exp result overflowing not necessarily
24083 overflowing both real and imaginary parts of result.
24084 * math/s_cexpf.c: Likewise.
24085 * math/s_cexpl.c: Likewise.
24086 * math/libm-test.inc (cexp_test): Add more tests.
24087 * sysdeps/i386/fpu/libm-test-ulps: Update.
24088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24090 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24092 * include/link.h (ELFW): New macro.
24093 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24094 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24096 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24098 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24101 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24103 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24105 (struct La_x32_retval): Likewise.
24107 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24109 * sysdeps/x86_64/preconfigure.in: New file.
24110 * sysdeps/x86_64/preconfigure: New generated file.
24112 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24115 * math/e_exp2l.c: Include <float.h>.
24116 (__ieee754_exp2l): Handle overflow and underflow cases
24117 separately. Only pass fractional part of argument to
24119 * math/libm-test.inc (exp2_test): Add more tests.
24121 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24122 negating x to take absolute value.
24123 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24125 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24126 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24128 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24129 computing low part if x was negated.
24130 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24132 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24134 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24135 la_x32_gnu_pltexit.
24136 (pltexit): Cast int_retval to ptrdiff_t.
24137 * elf/tst-auditmod3b.c: Likewise.
24138 * elf/tst-auditmod4b.c: Likewise.
24139 * elf/tst-auditmod5b.c: Likewise.
24140 * elf/tst-auditmod6b.c: Likewise.
24141 * elf/tst-auditmod6c.c: Likewise.
24142 * elf/tst-auditmod7b.c: Likewise.
24144 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24145 and x32_gnu_pltexit.
24147 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24148 __ELF_NATIVE_CLASS.
24149 (La_x32_regs): New macro.
24150 (La_x32_retval): Likewise.
24151 (la_x32_gnu_pltenter): New function prototype.
24152 (la_x32_gnu_pltexit): Likewise.
24154 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24156 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24161 * configure.in (libc_cv_cc_nofma): Check for option to disable
24162 generation of FMA instructions.
24163 * configure: Regenerate.
24164 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24165 * sysdeps/ieee754/dbl-64/Makefile: New file.
24166 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24167 Remove brandred-fma4.
24168 (CFLAGS-brandred-fma4.c): Remove.
24169 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24170 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24172 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24175 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24177 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24178 LLONG_MAX != LONG_MAX.
24179 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24180 (_fitoa_word): Likewise.
24181 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24182 LLONG_MAX != LONG_MAX.
24183 * stdio-common/_itowa.h: Include <_itoa.h>.
24184 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24185 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24186 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24187 only if not defined.
24188 (_ITOA_WORD_TYPE): Likewise.
24189 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24190 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24192 2012-03-21 David S. Miller <davem@davemloft.net>
24194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24196 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24198 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24199 of x86_64 when setting libc_cv_slibdir, libdir and
24201 * sysdeps/unix/sysv/linux/configure: Regenerated.
24203 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24205 * manual/lang.texi (Old Varargs): Remove section.
24206 (How Variadic): Update menu.
24207 (va_start): Do not mention varargs.h.
24209 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24210 Joseph Myers <joseph@codesourcery.com>
24212 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24214 * configure: Regenerated.
24216 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24218 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24219 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24222 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24225 * Makefile (files-for-dist): Remove NOTES.
24226 (NOTES): Remove rule.
24227 * README: Don't refer to NOTES.
24228 * manual/creature.texi: Don't include macros.texi.
24229 * manual/intro.texi (creature.texi): Remove comment referring to
24232 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24233 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24234 * configure: Regenerated.
24235 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24236 LIBC_TRY_CC_OPTION.
24237 (libc_cv_as_i686): Likewise.
24238 (libc_cv_cc_avx): Likewise.
24239 (libc_cv_cc_sse2avx): Likewise.
24240 (libc_cv_cc_fma4): Likewise.
24241 (libc_cv_cc_novzeroupper): Likewise.
24242 * sysdeps/i386/configure: Regenerated.
24245 * sysdeps/i386/fpu/s_cexp.S: Remove.
24246 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24247 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24248 * math/libm-test.inc (cexp_test): Add more tests.
24249 * sysdeps/i386/fpu/libm-test-ulps: Update.
24250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24252 2012-03-21 Allan McRae <allan@archlinux.org>
24254 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24256 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24259 * math/w_exp2.c: Do not include <float.h>.
24260 (o_threshold, u_threshold): Remove.
24261 (__exp2): Calculate result before checking finiteness and calling
24263 * math/w_exp2f.c: Likewise.
24264 * math/w_exp2l.c: Likewise.
24265 * math/libm-test.inc (exp2_test): Require overflow exception for
24269 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24270 range of signed 64-bit integers before using fistpll. Remove
24271 checks for whether integers fit in mantissa bits.
24272 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24273 the range of signed 32-bit integers before using fistpl. Remove
24274 checks for whether integers fit in mantissa bits.
24275 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24276 (__ieee754_powl): Test for y outside the range of signed 64-bit
24277 integers before using fistpll. Reduce 64-bit values to 63-bit
24279 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24280 divide-by-zero is raised for zero to large negative powers.
24281 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24282 (__ieee754_powl): Test for y outside the range of signed 64-bit
24283 integers before using fistpll. Reduce 64-bit values to 63-bit
24285 * math/libm-test.inc (pow_test): Add more tests.
24287 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24289 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24290 <stdio-common/_itoa.h>.
24291 * debug/segfault.c: Likewise.
24292 * elf/dl-cache.c: Likewise.
24293 * elf/dl-minimal.c: Likewise.
24294 * elf/dl-misc.c: Likewise.
24295 * elf/dl-sysdep.c: Likewise.
24296 * elf/dl-version.c: Likewise.
24297 * elf/rtld.c: Likewise.
24298 * hurd/hurdsock.c: Likewise.
24299 * hurd/lookup-retry.c: Likewise.
24300 * malloc/malloc.c: Likewise.
24301 * malloc/mtrace.c: Likewise.
24302 * nscd/nscd_getgr_r.c: Likewise.
24303 * nscd/nscd_getpw_r.c: Likewise.
24304 * nscd/nscd_getserv_r.c: Likewise.
24305 * posix/getopt_init.c: Likewise.
24306 * posix/wordexp.c: Likewise.
24307 * stdio-common/_itoa.c: Likewise.
24308 * stdio-common/printf_fphex.c: Likewise.
24309 * stdio-common/vfprintf.c: Likewise.
24310 * string/_strerror.c: Likewise.
24311 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24312 * sysdeps/i386/i686/hp-timing.h: Likewise.
24313 * sysdeps/mach/_strerror.c: Likewise.
24314 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24315 * sysdeps/mach/hurd/sethostid.c: Likewise.
24316 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24317 * sysdeps/mach/xpg-strerror.c: Likewise.
24318 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24319 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24320 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24321 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24322 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24323 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24324 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24325 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24326 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24327 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24328 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24329 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24330 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24331 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24332 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24333 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24334 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24335 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24336 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24337 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24338 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24340 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24342 * stdio-common/_itoa.h: Moved to ...
24343 * sysdeps/generic/_itoa.h: Here.
24345 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24347 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24348 instead of "_itoa.h" and "_itowa.h".
24349 * stdio-common/vfprintf.: Likewise.
24351 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24353 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24355 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24356 (__signbit): Likwise.
24357 (llrintf): Likwise.
24360 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24362 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24365 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24367 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24368 OVERFLOW_EXCEPTION_OK.
24369 * math/libm-test.inc ("Philosophy"): Update comment about
24371 (OVERFLOW_EXCEPTION): Define.
24372 (OVERFLOW_EXCEPTION_OK): Likewise.
24373 (INVALID_EXCEPTION_OK): Renumber.
24374 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24375 (IGNORE_ZERO_INF_SIGN): Likewise.
24376 (test_exceptions): Handle FE_OVERFLOW.
24377 (exp10_test): Expect overflow exceptions.
24378 (exp2_test): Likewise.
24379 (expm1_test): Likewise.
24380 (nextafter_test): Likewise.
24381 (pow_test): Likewise.
24382 (scalbn_test): Likewise.
24383 (scalbln_test): Likewise.
24385 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24387 * sysdeps/x86_64/bits/atomic.h
24388 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24390 (atomic_exchange_acq): Likewise.
24391 (__arch_exchange_and_add_body): Likewise.
24392 (__arch_add_body): Likewise.
24393 (atomic_add_negative): Likewise.
24394 (atomic_add_zero): Likewise.
24396 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24398 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24399 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24401 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24403 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24404 Check __x86_64__ instead of __WORDSIZE.
24406 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24408 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24410 2012-03-19 David S. Miller <davem@davemloft.net>
24412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24414 * sysdeps/sparc/fpu/fenv_private.h: New file.
24415 * sysdeps/sparc/fpu/math_private.h: Use it.
24416 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24418 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24419 (libc_feholdexcept_setroundl): Remove.
24420 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24422 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24423 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24425 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24427 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24428 int64_t instead of long int.
24429 (INSERT_WORDS64): Likwise.
24431 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24433 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24434 _Unwind_GetCFA return to _Unwind_Ptr first.
24436 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24439 * math/s_clog.c: Include <float.h>.
24440 (__clog): Scale large or subnormal inputs.
24441 * math/s_clogf.c: Likewise.
24442 * math/s_clogl.c: Likewise.
24443 * math/s_clog10.c: Include <float.h>.
24444 (M_LOG10_2): Define.
24445 (__clog10): Scale large or subnormal inputs.
24446 * math/s_clog10f.c: Likewise.
24447 * math/s_clog10l.c: Likewise.
24448 * math/libm-test.inc (clog_test): Add more tests.
24449 (clog10_test): Likewise.
24450 * sysdeps/i386/fpu/libm-test-ulps: Update.
24451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24454 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24456 * math/libm-test.inc (atan2_test): Add another test.
24458 * Makerules (common-objdir-compile): Remove.
24459 * sysdeps/unix/Makefile (config-generated): Do not add
24460 $(unix-generated) to variable.
24461 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24462 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24464 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24466 [generic bits/local_lim.h] (before-compile): Do not append to
24468 [generic bits/local_lim.h] (common-generated): Likewise.
24469 [generic sys/param.h] (before-compile): Do not append to variable.
24470 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24471 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24472 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24473 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24475 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24476 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24477 [generic sys/param.h] ($(addprefix
24478 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24479 [generic sys/param.h] (common-generated): Do not append to
24481 [generic sys/param.h] (sysdep_headers): Likewise.
24482 [generic bits/errno.h] (before-compile): Do not append to
24484 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24486 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24487 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24488 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24489 [generic bits/errno.h] (common-generated): Do not append to
24491 [generic bits/ioctls.h] (before-compile): Do not append to
24493 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24495 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24496 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24497 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24499 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24500 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24501 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24502 [generic bits/ioctls.h] (common-generated): Do not append to
24504 [generic sys/syscall.h] (syscall.h): Remove variable.
24505 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24507 [generic sys/syscall.h] (before-compile): Do not append to
24509 [generic sys/syscall.h] (common-generated): Likewise.
24510 * sysdeps/unix/errnos-tmpl.c: Remove file.
24511 * sysdeps/unix/errnos.awk: Likewise.
24512 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24513 * sysdeps/unix/ioctls.awk: Likewise.
24514 * sysdeps/unix/mk-local_lim.c: Likewise.
24515 * sysdeps/unix/snarf-ioctls: Likewise.
24517 2012-03-19 Richard Henderson <rth@twiddle.net>
24519 * sysdeps/i386/fpu/fenv_private.h: New file.
24520 * sysdeps/i386/fpu/math_private.h: Use it.
24521 (math_opt_barrier, math_force_eval): Remove.
24522 (libc_feholdexcept_setround_53bit): Remove.
24523 (libc_feupdateenv_53bit): Remove.
24524 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24525 (math_opt_barrier, math_force_eval): Remove.
24526 (libc_feholdexcept): Remove.
24527 (libc_feholdexcept_setround): Remove.
24528 (libc_fetestexcept, libc_fesetenv): Remove.
24529 (libc_feupdateenv_test): Remove.
24530 (libc_feupdateenv, libc_feholdsetround): Remove.
24531 (libc_feresetround): Remove.
24533 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24534 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24536 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24537 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24538 (libc_feupdateenv_testl): New.
24539 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24540 (libc_feupdateenv_testf): New.
24541 (libc_feupdateenv): Use libc_feupdateenv_test.
24542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24543 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24545 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24546 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24547 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24548 (libc_feresetround_noex): New.
24549 (libc_feresetround_noexf): New.
24550 (libc_feresetround_noexl): New.
24551 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24552 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24553 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24554 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24556 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24557 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24559 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24560 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24561 SET_RESTORE_ROUND_NOEX.
24562 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24563 SET_RESTORE_ROUND_NOEXF.
24564 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24565 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24566 (libc_feholdsetroundf): New.
24567 (libc_feresetround, libc_feresetroundf): New.
24569 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24570 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24571 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24573 * sysdeps/generic/math_private.h: Include <fenv.h>.
24574 (default_libc_feholdexcept): New.
24575 (default_libc_feholdexcept_setround): New.
24576 (default_libc_fesetenv, default_libc_feupdateenv): New.
24577 (libc_feholdexcept): Only define if undefined.
24578 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24579 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24580 (libc_feholdexcept_setroundl): Likewise.
24581 (libc_feholdexcept_setround_53bit): Likewise.
24582 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24583 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24584 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24585 (libc_feupdateenv_53bit): Likewise.
24586 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24587 (libc_feholdexcept): Convert from macro to inline function.
24588 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24589 (libc_fesetenv, libc_feupdateenv): Likewise.
24591 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24592 not previously defined.
24593 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24594 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24595 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24596 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24597 * sysdeps/ieee754/flt-32/math_private.h: New file.
24598 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24599 math_private.h below SET_FLOAT_WORD.
24600 (__isnan, __isinf_ns, __finite): Remove.
24601 (__isnanf, __isinf_nsf, __finitef): Remove.
24603 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24607 2012-03-17 David S. Miller <davem@davemloft.net>
24610 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24613 2012-03-16 David S. Miller <davem@davemloft.net>
24615 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24619 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24621 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24622 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24623 sysdep_routines when subdir is sysvipc.
24624 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24625 __getshmlba helper.
24627 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24629 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24631 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24634 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24636 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24637 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24638 (__lround): Renamed to ...
24639 (__llround): This. Replace long int with long long int.
24640 Define lround functions as aliases of llround functions.
24641 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24643 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24645 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24646 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24647 adresses to uintptr_t. Replace "long int" and "unsigned long
24648 int" with "greg_t" on va_arg.
24650 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24652 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24653 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24655 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24656 Move e_machine check before EI_CLASS check. Handle x32
24657 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24658 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24659 SKIP_EM_IA_64 and include
24660 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24662 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24663 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24664 (add_system_dir): New macro.
24666 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24667 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24669 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24680 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24682 * math/w_j0f.c (j0f): Likewise.
24684 * math/w_j0l.c (__j0l): Likewise.
24686 * math/w_j1.c (j1): Likewise.
24688 * math/w_j1f.c (j1f): Likewise.
24690 * math/w_j1l.c (__j1l): Likewise.
24692 * math/w_jn.c (jn): Likewise.
24694 * math/w_jnf.c (jnf): Likewise.
24696 * math/w_jnl.c (__jnl): Likewise.
24698 * math/libm-test.inc (j0_test): Add more tests.
24699 (j1_test): Likewise.
24700 (jn_test): Likewise. Add trailing semicolon to existing test.
24701 (y0_test): Likewise.
24702 (y1_test): Likewise.
24703 * sysdeps/i386/fpu/libm-test-ulps: Update.
24704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24708 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24709 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24710 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24711 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24712 (__tanl): Set errno for infinite argument.
24713 * sysdeps/i386/fpu/mptan.c: Remove.
24714 * sysdeps/i386/fpu/s_tan.S: Likewise.
24715 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24716 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24717 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24718 * math/libm-test.inc (tan_test): Add more tests and enable more
24719 tests for double and long double.
24720 * sysdeps/i386/fpu/libm-test-ulps: Update.
24721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24723 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24725 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24726 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24728 2012-03-16 Roland McGrath <roland@hack.frob.com>
24730 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24731 * configure.in: Use it for both main tree and add-ons.
24732 * configure: Regenerated.
24734 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24736 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24738 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24740 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24744 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24745 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24747 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24748 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24750 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24751 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24752 != 0 for prec == 2.
24753 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24754 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24755 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24756 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24757 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24758 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24759 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24760 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24761 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24762 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24763 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24764 * math/libm-test.inc (cos_test): Add more tests and enable more
24765 tests for long double.
24766 (sin_test): Likewise.
24767 (sincos_test): Likewise.
24768 * sysdeps/i386/fpu/libm-test-ulps: Update.
24769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24771 2012-03-16 David S. Miller <davem@davemloft.net>
24773 * sysdeps/sparc/fpu/math_private.h: New file.
24775 2012-03-15 David S. Miller <davem@davemloft.net>
24777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24791 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24792 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24794 * sysdeps/sparc/sparc-ifunc.h: New file.
24795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24821 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24822 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24834 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24836 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24840 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24842 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24846 2012-03-15 Andreas Jaeger <aj@suse.de>
24849 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24850 ieee754/flt-32 implementation for sin, cos and sincos.
24851 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24852 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24853 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24854 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24855 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24856 ieee754/flt-32 implementation for tan.
24858 * math/libm-test.inc (cos_test): Enable some large input tests for
24860 (sin_test): Likewise.
24861 (sincos_test): Likewise.
24862 (tan_test): Add tests for large input.
24864 * sysdeps/i386/fpu/libm-test-ulps: Update.
24866 2012-03-15 Andreas Jaeger <aj@suse.de>
24869 * math/libm-test.inc (cos_test): Add more test cases.
24870 (sin_test): Likewise.
24871 (sincos_test): Likewise.
24873 2012-03-15 Andreas Jaeger <aj@suse.de>
24876 * math/libm-test.inc (cos_test): Add a test case for large input
24878 (sin_test): Likewise.
24879 (sincos_test): Likewise.
24881 2012-03-15 Andreas Jaeger <aj@suse.de>,
24882 Joseph Myers <joseph@codesourcery.com>
24885 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24886 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24887 * sysdeps/i386/fpu/branred.c: Likewise.
24888 * sysdeps/i386/fpu/dosincos.c: Likewise.
24889 * sysdeps/i386/fpu/mpa.c: Likewise.
24890 * sysdeps/i386/fpu/s_cos.S: Likewise.
24891 * sysdeps/i386/fpu/s_sin.S: Likewise.
24892 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24893 * sysdeps/i386/fpu/sincos32.c: Likewise.
24895 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24897 (libc_feupdateenv_53bit): Define.
24898 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24900 (libc_feupdateenv_53bit): Define.
24902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24903 53 bit (without extend i386 double precision).
24905 * math/libm-test.inc (sincos_test): Add tests for large input.
24909 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24911 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24915 2012-03-15 David S. Miller <davem@davemloft.net>
24917 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24918 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24919 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24920 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24945 fmin/fmax sysdep routines.
24946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24948 2012-03-14 David S. Miller <davem@davemloft.net>
24950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24953 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24954 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24955 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24957 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24959 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24970 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24973 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24977 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24978 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25022 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25027 * sysdeps/sparc/configure.in: New file.
25028 * sysdeps/sparc/configure: Generate.
25029 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25030 * configure: Regenerate.
25031 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25032 * config.make.in (have-as-vis3): New.
25033 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25034 available use -Av9d instead of -Av9a.
25035 * sysdeps/sparc/sparc64/Makefile: Likewise.
25036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25046 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25047 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25048 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25051 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25052 fzeros/fnegs to load 0x80000000 into a float register instead of
25054 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25056 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25060 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25061 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25062 ($(inst_includedir)/bits/syscall.h): Remove rule.
25063 ($(objpfx)bits/syscall.d): Include instead of
25064 $(objpfx)syscall-list.d.
25065 (generated): Change syscall-list.h and syscall-list.d to
25066 bits/syscall.h and bits/syscall.d.
25068 2012-03-14 Roland McGrath <roland@hack.frob.com>
25071 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25073 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25076 * math/s_csqrt.c: Include <float.h>.
25077 (__csqrt): Scale large or subnormal inputs.
25078 * math/s_csqrtf.c: Likewise.
25079 * math/s_csqrtl.c: Likewise.
25080 * math/libm-test.inc (csqrt_test): Add more tests.
25081 * sysdeps/i386/fpu/libm-test-ulps: Update.
25082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25085 * math/libm-test.inc (hypot_test): Add more tests.
25087 2012-03-13 David S. Miller <davem@davemloft.net>
25090 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25091 double-precision for the calculation instead of scaling.
25093 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25095 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25096 manipulate bits before adding and subtracting TWO52[sx].
25097 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25098 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25100 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25102 2012-03-13 David S. Miller <davem@davemloft.net>
25104 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25105 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25106 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25107 rtld-global-offsets.h
25108 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25110 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25113 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25115 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25116 'err' in the ifdef scope in which it is actually used.
25118 * nss/nss_db/db-init.c: Include string.h
25120 2012-03-12 David S. Miller <davem@davemloft.net>
25122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25123 masking out of the most significant byte of random value used.
25124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25125 Fix coding style in previous change.
25127 * sysdeps/unix/sysv/linux/kernel-features.h
25128 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25129 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25131 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25134 2012-03-11 David S. Miller <davem@davemloft.net>
25136 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25137 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25138 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25139 for 'resultvar' otherwise things get truncated on 64-bit.
25141 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25142 Fix masking out of the most significant byte of random value used.
25144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25146 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25150 2012-03-09 David S. Miller <davem@davemloft.net>
25152 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25153 variables with appropriate CPP guards.
25154 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25155 frame pointer, not the stack pointer. Correct layout comments. Fix test
25156 on resulting framesize and the management of the outregs buffer for pltexit.
25157 Preserve floating point return values across _dl_call_pltexit call.
25158 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25159 framesize and the management of the outregs buffer for pltexit.
25160 Preserve floating point return values across _dl_call_pltexit
25162 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25163 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25164 (print_exit): Fix format string for return register value.
25166 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25168 * sunrpc/Makefile (others): Add rpcgen.
25169 ($(objpfx)rpcgen): Remove special build rule and dependency on
25171 * sunrpc/rpcgen.c: New file.
25173 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25176 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25177 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25178 * sysdeps/i386/crti.S: Likewise.
25179 * sysdeps/i386/crtn.S: Likewise.
25180 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25181 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25182 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25183 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25184 * sysdeps/sh/crti.S: Likewise.
25185 * sysdeps/sh/crtn.S: Likewise.
25186 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25189 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25191 * locale/programs/locfile-kw.gperf: Likewise.
25192 * locale/programs/charmap-kw.h: Regenerated.
25193 * locale/programs/locfile-kw.h: Likewise.
25196 * intl/plural.y: Replace FSF snail mail address with URL.
25197 * intl/plural.c: Regenerated.
25199 2012-03-09 Richard Henderson <rth@twiddle.net>
25201 * include/math_private.h: Remove file.
25202 * math/math_private.h: Move file ...
25203 * sysdeps/generic/math_private.h: ... here.
25205 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25206 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25207 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25209 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25210 and <math_private.h>.
25211 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25212 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25213 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25214 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25215 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25216 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25217 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25218 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25219 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25220 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25222 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25223 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25224 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25225 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25226 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25227 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25228 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25229 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25230 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25232 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25233 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25235 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25236 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25237 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25241 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25242 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25243 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25244 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25245 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25246 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25247 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25248 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25249 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25250 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25251 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25252 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25253 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25254 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25255 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25256 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25257 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25258 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25259 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25260 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25261 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25262 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25263 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25264 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25265 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25266 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25267 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25268 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25269 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25270 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25271 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25272 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25273 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25274 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25275 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25276 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25277 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25278 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25279 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25280 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25281 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25282 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25283 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25284 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25285 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25286 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25289 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25290 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25291 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25292 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25293 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25294 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25295 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25298 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25299 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25300 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25301 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25302 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25303 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25304 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25305 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25306 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25307 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25308 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25309 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25310 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25311 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25312 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25313 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25314 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25315 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25316 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25317 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25318 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25319 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25320 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25321 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25322 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25323 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25324 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25325 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25326 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25327 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25328 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25329 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25330 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25331 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25332 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25333 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25334 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25335 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25336 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25337 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25338 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25339 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25340 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25341 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25342 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25343 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25344 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25345 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25346 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25347 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25348 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25349 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25350 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25351 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25352 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25353 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25354 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25355 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25356 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25357 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25358 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25359 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25360 * sysdeps/ieee754/k_standard.c: Likewise.
25361 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25365 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25373 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25374 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25375 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25378 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25381 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25385 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25388 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25428 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25429 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25433 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25434 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25435 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25437 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25438 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25447 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25451 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25452 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25454 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25456 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25461 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25462 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25463 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25464 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25465 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25466 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25468 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25469 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25470 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25471 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25472 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25473 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25474 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25475 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25476 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25477 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25478 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25479 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25480 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25481 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25482 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25483 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25484 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25485 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25487 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25488 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25489 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25490 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25492 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25493 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25494 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25495 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25497 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25498 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25499 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25502 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25509 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25510 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25511 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25518 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25520 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25521 * sysdeps/ieee754/s_lib_version.c: Likewise.
25522 * sysdeps/ieee754/s_matherr.c: Likewise.
25523 * sysdeps/ieee754/s_signgam.c: Likewise.
25524 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25525 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25526 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25527 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25528 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25529 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25530 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25531 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25532 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25533 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25534 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25535 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25536 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25537 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25538 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25539 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25540 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25541 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25542 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25543 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25544 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25546 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25548 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25549 * sunrpc/rpc_main.c: Likewise.
25550 * sunrpc/rpc_svcout.c: Likewise.
25552 2012-03-09 David S. Miller <davem@davemloft.net>
25554 * include/math_private.h: New file.
25556 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25558 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25559 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25560 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25561 from <bits/socket_type.h>.
25562 (enum __socket_type): Don't define here.
25563 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25565 bits/socket_type.h.
25568 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25569 checking __USE_GNU.
25571 * Makerules ($(inst_includedir)/%.h): New rule.
25572 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25573 (install-others): Remove variable setting.
25574 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25576 2012-03-08 Richard Henderson <rth@twiddle.net>
25578 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25579 from macro to inline function; merge with the
25580 !__LIBC_INTERNAL_MATH_INLINES version.
25581 (__ieee754_sqrtf): Likewise.
25583 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25584 to inline function.
25585 (__rintf, __floor, __floorf): Likewise.
25587 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25588 macro to inline function.
25589 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25591 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25592 not <math/math_private.h>.
25594 2012-03-08 David S. Miller <davem@davemloft.net>
25596 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25598 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25600 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25602 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25604 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25605 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25607 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25609 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25610 be defined individually, they must be defined as a block. Define
25611 S for printing a string instead of hidint the different by using a
25612 macro for adding the 'l'.
25613 * stdio-common/tst-fphex-wide.c: Adjust.
25615 2012-03-07 Marek Polacek <polacek@redhat.com>
25617 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25619 2012-03-08 Marek Polacek <polacek@redhat.com>
25622 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25623 * stdio-common/tst-fphex.c: Define a few macros to make the
25624 test reusable. Use them.
25625 * stdio-common/tst-fphex-wide.c: New file.
25627 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25630 * manual/macros.texi (gnusystems): New macro.
25631 (nongnusystems): Likewise.
25632 (gnulinuxhurdsystems): Likewise.
25633 (gnuhurdsystems): Likewise..
25634 (gnulinuxsystems): Likewise.
25635 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25636 variants of the GNU system, not "GNU system".
25637 * manual/conf.texi: Likewise.
25638 * manual/errno.texi: Likewise. Update example of errno macro
25640 * manual/filesys.texi: Likewise.
25641 (getumask): Document as specific to GNU/Hurd.
25642 * manual/install.texi: Likewise. Reword some references to
25644 * manual/intro.texi: Likewise.
25645 * manual/io.texi: Likewise.
25646 (File Name Portability): Detail which constraints are inapplicable
25647 to all GNU systems and which are only inapplicable to GNU/Hurd.
25648 * manual/job.texi: Likewise.
25649 * manual/llio.texi: Likewise.
25650 (O_NOCTTY): Document as present on GNU/Linux.
25651 * manual/maint.texi: Likewise.
25652 * manual/memory.texi: Likewise.
25653 * manual/pattern.texi: Likewise.
25654 * manual/pipe.texi: Likewise.
25655 * manual/process.texi: Likewise.
25656 * manual/resource.texi: Likewise.
25657 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25659 * manual/setjmp.texi: Likewise.
25660 * manual/signal.texi: Likewise.
25661 * manual/startup.texi: Likewise.
25662 * manual/stdio.texi: Likewise.
25663 * manual/terminal.texi: Likewise.
25664 (ONLCR): Document as POSIX.
25665 (OXTABS): Document availability on GNU/Linux as XTABS.
25666 (ONOEOT): Document availability separately from other bits.
25667 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25668 * manual/time.texi: Likewise.
25669 * manual/users.texi: Likewise.
25670 * INSTALL: Regenerated.
25671 * sysdeps/gnu/errlist.c: Regenerated.
25673 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25674 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25675 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25677 * configure: Regenerated.
25679 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25681 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25682 default includes instead of AC_HEADER_CHECK.
25683 * sysdeps/i386/configure: Regenerated.
25686 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25687 * math/s_cacoshf.c (__cacoshf): Likewise.
25688 * math/s_cacoshl.c (__cacoshl): Likewise.
25689 * math/s_casinh.c (__casinh): Set signs of result from argument.
25690 * math/s_casinhf.c (__casinhf): Likewise.
25691 * math/s_casinhl.c (__casinhl): Likewise.
25692 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25693 (casinh_test): Add more tests.
25694 * sysdeps/i386/fpu/libm-test-ulps: Update.
25695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25697 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25699 * po/zh_TW.po: Update from translation team.
25701 * login/Makefile (distribute): Remove variable.
25702 * catgets/Makefile: Likewise.
25703 * mach/Makefile: Likewise.
25704 * malloc/Makefile: Likewise.
25705 * misc/Makefile: Likewise.
25706 * iconv/Makefile: Likewise.
25707 * nscd/Makefile: Likewise.
25708 * hurd/Makefile: Likewise.
25709 * manual/Makefile: Likewise.
25710 * locale/Makefile: Likewise.
25711 * intl/Makefile: Likewise.
25712 * conform/Makefile: Likewise.
25713 * nss/Makefile: Likewise.
25714 * time/Makefile: Likewise.
25715 * soft-fp/Makefile: Likewise.
25716 * dirent/Makefile: Likewise.
25717 * gmon/Makefile: Likewise.
25718 * po/Makefile: Likewise.
25719 * rt/Makefile: Likewise.
25720 * socket/Makefile: Likewise.
25721 * math/Makefile: Likewise.
25722 * signal/Makefile: Likewise.
25723 * debug/Makefile: Likewise.
25724 * elf/Makefile: Likewise.
25725 * timezone/Makefile: Likewise.
25726 * stdlib/Makefile: Likewise.
25727 * iconvdata/Makefile: Likewise.
25728 * sunrpc/Makefile: Likewise.
25729 * io/Makefile: Likewise.
25730 * argp/Makefile: Likewise.
25731 * inet/Makefile: Likewise.
25732 * hesiod/Makefile: Likewise.
25733 * grp/Makefile: Likewise.
25734 * csu/Makefile: Likewise.
25735 * wctype/Makefile: Likewise.
25736 * crypt/Makefile: Likewise.
25737 * libio/Makefile: Likewise.
25738 * string/Makefile: Likewise.
25739 * nis/Makefile: Likewise.
25740 * resolv/Makefile: Likewise.
25741 * stdio-common/Makefile: Likewise.
25742 * wcsmbs/Makefile: Likewise.
25743 * dlfcn/Makefile: Likewise.
25744 * posix/Makefile: Likewise.
25747 * timezone/Makefile: Don't install timezone files, just the programs
25750 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25752 * nss/databases.def: Add missing gshadow entry.
25754 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25756 2012-03-06 Marek Polacek <polacek@redhat.com>
25759 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25760 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25761 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25762 * stdio-common/tst-long-dbl-fphex.c: New file.
25764 2012-03-06 David S. Miller <davem@davemloft.net>
25766 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25767 (set_obp_int): New function.
25768 (get_obp_int): New function.
25769 (__get_clockfreq_via_dev_openprom): Likewise.
25770 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25771 Avoid unused variable warnings on 'val' and use builtin_expect.
25772 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25774 (INLINE_CLONE_SYSCALL): Likewise.
25776 2012-03-05 David S. Miller <davem@davemloft.net>
25778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25780 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25784 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25785 only for |x| >= 40.
25786 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25788 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25790 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25791 Replace gettimeofday with __vdso_gettimeofday.
25793 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25794 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25795 __vdso_clock_gettime and __vdso_getcpu.
25797 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25798 time with __vdso_time.
25800 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25802 * manual/lang.texi (size_t): Note types to which size_t may be
25803 equivalent with the GNU C Library, but do not describe when
25804 differences between them are significant.
25806 2012-03-05 Andreas Jaeger <aj@suse.de>
25808 * sysdeps/i386/fpu/libm-test-ulps: Update.
25810 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25813 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25814 (__ieee754_pow): Save and restore rounding mode and use
25815 round-to-nearest for main computations.
25816 * math/libm-test.inc (pow_test_tonearest): New function.
25817 (pow_test_towardzero): Likewise.
25818 (pow_test_downward): Likewise.
25819 (pow_test_upward): Likewise.
25820 (main): Call the new functions.
25821 * sysdeps/i386/fpu/libm-test-ulps: Update.
25822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25825 * math/libm-test.inc (cosh_test_tonearest): New function.
25826 (cosh_test_towardzero): Likewise.
25827 (cosh_test_downward): Likewise.
25828 (cosh_test_upward): Likewise.
25829 (sinh_test_tonearest): Likewise.
25830 (sinh_test_towardzero): Likewise.
25831 (sinh_test_downward): Likewise.
25832 (sinh_test_upward): Likewise.
25833 (main): Call the new functions.
25834 * sysdeps/i386/fpu/libm-test-ulps: Update.
25835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25837 2012-03-05 Tom de Vries <tom@codesourcery.com>
25839 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25840 default stack guard is set in last bytes.
25841 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25843 2012-03-05 Kees Cook <keescook@chromium.org>
25845 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25848 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25849 possibly allocate from heap instead of stack.
25850 * stdio-common/bug-vfprintf-nargs.c: New file.
25851 * stdio-common/Makefile (tests): Add nargs overflow test.
25853 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25857 2012-03-03 Marek Polacek <polacek@redhat.com>
25859 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25860 * math/math_private.h: Likewise.
25861 * stdlib/tst-strtod.c: Likewise.
25862 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25863 * sysdeps/x86_64/bits/atomic.h: Likewise.
25865 2012-03-02 David S. Miller <davem@davemloft.net>
25867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25871 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25872 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25873 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25874 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25876 2012-03-02 Roland McGrath <roland@hack.frob.com>
25879 * manual/examples/README: New file, says the example source files
25880 can be used under GPL>=2.
25881 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25882 line containing just "*/".
25883 * manual/examples/add.c: Add copyright header (GPL>=2).
25884 * manual/examples/argp-ex1.c: Likewise.
25885 * manual/examples/argp-ex2.c: Likewise.
25886 * manual/examples/argp-ex3.c: Likewise.
25887 * manual/examples/argp-ex4.c: Likewise.
25888 * manual/examples/atexit.c: Likewise.
25889 * manual/examples/db.c: Likewise.
25890 * manual/examples/dir.c: Likewise.
25891 * manual/examples/dir2.c: Likewise.
25892 * manual/examples/execinfo.c: Likewise.
25893 * manual/examples/filecli.c: Likewise.
25894 * manual/examples/filesrv.c: Likewise.
25895 * manual/examples/fmtmsgexpl.c: Likewise.
25896 * manual/examples/genpass.c: Likewise.
25897 * manual/examples/inetcli.c: Likewise.
25898 * manual/examples/inetsrv.c: Likewise.
25899 * manual/examples/isockad.c: Likewise.
25900 * manual/examples/longopt.c: Likewise.
25901 * manual/examples/memopen.c: Likewise.
25902 * manual/examples/memstrm.c: Likewise.
25903 * manual/examples/mkfsock.c: Likewise.
25904 * manual/examples/mkisock.c: Likewise.
25905 * manual/examples/mygetpass.c: Likewise.
25906 * manual/examples/pipe.c: Likewise.
25907 * manual/examples/popen.c: Likewise.
25908 * manual/examples/rprintf.c: Likewise.
25909 * manual/examples/search.c: Likewise.
25910 * manual/examples/select.c: Likewise.
25911 * manual/examples/setjmp.c: Likewise.
25912 * manual/examples/sigh1.c: Likewise.
25913 * manual/examples/sigusr.c: Likewise.
25914 * manual/examples/stpcpy.c: Likewise.
25915 * manual/examples/strdupa.c: Likewise.
25916 * manual/examples/strftim.c: Likewise.
25917 * manual/examples/strncat.c: Likewise.
25918 * manual/examples/subopt.c: Likewise.
25919 * manual/examples/swapcontext.c: Likewise.
25920 * manual/examples/termios.c: Likewise.
25921 * manual/examples/testopt.c: Likewise.
25922 * manual/examples/testpass.c: Likewise.
25923 * manual/examples/timeval_subtract.c: Likewise.
25926 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25928 * manual/timeval_subtract.c.texi: ... here, new file.
25930 2012-03-02 David S. Miller <davem@davemloft.net>
25932 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25934 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25937 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25938 (__sin): Save and restore rounding mode and use round-to-nearest
25939 for all computations.
25940 (__cos): Save and restore rounding mode and use round-to-nearest
25941 for all computations.
25942 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25944 (tan): Save and restore rounding mode and use round-to-nearest for
25946 * math/libm-test.inc (cos_test_tonearest): New function.
25947 (cos_test_towardzero): Likewise.
25948 (cos_test_downward): Likewise.
25949 (cos_test_upward): Likewise.
25950 (sin_test_tonearest): Likewise.
25951 (sin_test_towardzero): Likewise.
25952 (sin_test_downward): Likewise.
25953 (sin_test_upward): Likewise.
25954 (tan_test_tonearest): Likewise.
25955 (tan_test_towardzero): Likewise.
25956 (tan_test_downward): Likewise.
25957 (tan_test_upward): Likewise.
25958 (main): Call the new functions.
25959 * sysdeps/i386/fpu/libm-test-ulps: Update.
25960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25963 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25964 small n, then large n, before computing and testing k+n.
25965 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25966 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25968 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25970 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25971 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25972 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25973 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25974 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25975 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25976 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25977 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25978 * math/libm-test.inc (scalbn_test): Add more tests.
25979 (scalbln_test): Likewise.
25981 * manual/filesys.texi (mode_t): Describe constraints on size and
25982 signedness, not exact equivalence to a particular type.
25984 (ino64_t): Likewise.
25986 (nlink_t): Likewise.
25987 (blkcnt_t): Likewise.
25988 (blkcnt64_t): Likewise.
25989 * manual/llio.texi (off_t): Likewise.
25992 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25993 (__ieee754_exp): Save and restore rounding mode and use
25994 round-to-nearest for all computations.
25995 * math/libm-test.inc (exp_test_tonearest): New function.
25996 (exp_test_towardzero): Likewise.
25997 (exp_test_downward): Likewise.
25998 (exp_test_upward): Likewise.
25999 (main): Call the new functions.
26000 * sysdeps/i386/fpu/libm-test-ulps: Update.
26001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26003 2012-03-01 Chris Demetriou <cgd@google.com>
26005 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26006 have predictable order.
26008 2012-03-01 David S. Miller <davem@davemloft.net>
26010 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26012 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26013 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26014 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26015 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26017 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26018 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26019 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26021 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26022 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26023 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26024 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26025 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26029 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26030 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26031 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26033 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26034 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26035 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26036 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26037 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26038 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26039 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26040 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26041 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26042 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26043 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26044 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26045 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26046 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26047 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26049 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26050 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26051 * sysdeps/sparc/elf/configure: Regenerated.
26053 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26055 * configure.in (AS, LD): Require binutils 2.20 or later.
26056 * configure: Regenerated.
26057 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26058 as required minimum version.
26059 * INSTALL: Regenerated.
26063 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26064 before squaring exponent.
26065 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26066 bottom long double and 27 bits of top long double before squaring
26068 * math/libm-test.inc (erfc_test): Add more tests.
26069 * sysdeps/i386/fpu/libm-test-ulps: Update.
26070 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26073 2012-03-01 Kai Tietz <ktietz@redhat.com>
26075 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26076 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26077 containing bit-fields.
26078 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26079 * soft-fp/single.h (_FP_UNION_S): Likewise.
26080 * soft-fp/double.h (_FP_UNION_D): Likewise.
26082 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26085 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26086 not include ../strcmp.S.
26087 [USE_AS_STRNCASECMP_L]: Likewise.
26088 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26089 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26090 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26091 (__strncasecmp_l_ia32): Define as alias to
26092 __strncasecmp_l_nonascii.
26095 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26096 * sysdeps/i386/fpu/libm-test-ulps: Update.
26097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26099 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26102 2012-02-29 Jeff Law <law@redhat.com>
26104 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26105 out of bounds read.
26107 2012-02-29 Marek Polacek <polacek@redhat.com>
26110 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26111 * elf/Makefile: Add rules to run tst-unused-dep.out.
26113 2012-02-28 David S. Miller <davem@davemloft.net>
26115 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26116 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26117 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26118 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26119 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26120 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26122 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26124 * math/libm-test.inc (llround_test): Move one test from
26125 lround_test. Use TEST_f_L in moved test.
26126 (lround_test): Move misplaced test to llround_test. Add testcase
26129 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26131 * sysdeps/x86_64/fpu/e_expf.S: New file.
26132 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26134 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26137 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26138 of remain_len that may cause incomplete multi-byte character and
26140 * posix/bug-regex33.c: New file.
26141 * posix/Makefile (tests): Add bug-regex33.
26143 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26145 * manual/macros.texi: New file.
26146 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26147 * manual/libc.texinfo: Include macros.texi.
26148 * manual/creatute.texi: Likewise.
26149 * manual/install.texi: Likewise.
26150 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26151 @glibcadj{} in references to the GNU C Library.
26152 * manual/charset.texi: Likewise.
26153 * manual/conf.texi: Likewise.
26154 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26155 when not using those macros.
26156 * manual/creature.texi: Likewise.
26157 * manual/crypt.texi: Likewise.
26158 * manual/errno.texi: Likewise.
26159 * manual/filesys.texi: Likewise.
26160 * manual/header.texi: Likewise.
26161 * manual/install.texi: Likewise.
26162 * manual/intro.texi: Likewise.
26163 * manual/io.texi: Likewise.
26164 * manual/job.texi: Likewise.
26165 * manual/lang.texi: Likewise.
26166 * manual/libc.texiinfo: Likewise.
26167 * manual/llio.texi: Likewise.
26168 * manual/locale.texi: Likewise.
26169 * manual/maint.texi: Likewise.
26170 * manual/math.texi: Likewise.
26171 * manual/memory.texi: Likewise.
26172 * manual/message.texi: Likewise.
26173 * manual/nss.texi: Likewise.
26174 * manual/pattern.texi: Likewise.
26175 * manual/process.texi: Likewise.
26176 * manual/resource.texi: Likewise.
26177 * manual/search.texi: Likewise.
26178 * manual/setjmp.texi: Likewise.
26179 * manual/signal.texi: Likewise.
26180 * manual/socket.texi: Likewise.
26181 * manual/startup.texi: Likewise.
26182 * manual/stdio.texi: Likewise.
26183 * manual/string.texi: Likewise.
26184 * manual/sysinfo.texi: Likewise.
26185 * manual/syslog.texi: Likewise.
26186 * manual/terminal.texi: Likewise.
26187 * manual/time.texi: Likewise.
26188 * manual/users.texi: Likewise.
26189 * INSTALL: Regenerated.
26190 * NOTES: Regenerated.
26191 * sysdeps/gnu/errlist.c: Regenerated.
26193 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26195 * include/dirent.h: Include <dirstream.h> before
26198 2012-02-28 David S. Miller <davem@davemloft.net>
26200 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26201 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26202 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26203 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26205 2012-02-27 David S. Miller <davem@davemloft.net>
26207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26209 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26210 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26213 frame pointer instead of stack pointer relative arg slot.
26214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26215 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26216 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26218 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26221 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26223 2012-02-27 David S. Miller <davem@davemloft.net>
26225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26229 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26230 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26231 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26232 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26234 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26236 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26237 later. Allow versions 5-9.
26238 * configure: Regenerated.
26239 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26240 required minimum version and 4.6 as recommended version. Do not
26241 mention bugs in GCC 2.7 and 2.8.
26242 * INSTALL: Regenerated.
26244 2012-02-27 David S. Miller <davem@davemloft.net>
26246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26250 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26251 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26252 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26253 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26255 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26256 manipulate bits before adding and subtracting TWO112[sx].
26257 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26259 2012-02-27 Roland McGrath <roland@hack.frob.com>
26262 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26263 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26264 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26265 being in POSIX, because they are in 1003.1-2008.
26267 * rt/tst-aio.c: Include <fcntl.h>.
26268 * rt/tst-aio7.c: Likewise.
26269 * rt/tst-aio64.c: Likewise.
26271 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26273 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26275 * manual/install.texi (--with-headers): Describe headers as
26276 interface headers, not private headers.
26277 (Specific advice for GNU/Linux systems): Describe use of headers
26278 from "make headers_install", not private headers from older
26280 * INSTALL: Regenerated.
26281 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26283 * sysdeps/unix/sysv/linux/configure: Regenerated.
26285 * manual/llio.texi (fclean): Remove documentation.
26287 * manual/Makefile (libc-texi-generated): New variable. Include
26289 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26290 $(libc-texi-generated), not duplicated list of files.
26291 (version.texi, stamp-version): New rules.
26292 (realclean): Remove $(libc-texi-generated), not individual files
26293 from that list. Do not remove dir-add.texinfo.
26294 * manual/libc.texinfo: Comment out uses of edition numbers and
26295 references to printed manual. Remove last-updated dates.
26296 (EDITION): Comment out.
26298 (VERSION, UPDATED): Remove.
26299 (version.texi): Include.
26301 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26303 * sysdeps/posix/spawni.c: Include <signal.h>.
26304 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26305 * sysdeps/pthread/aio_fsync.c: Likewise.
26307 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26309 * conform/Makefile (tests): Run only when not cross-compiling and
26310 when fast-check is not defined.
26312 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26313 * conform/data/limits.h-data: Fixes for POSIX2008.
26314 * conform/run-conformtest.sh: Run all tests.
26315 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26317 * include/bits/dlfcn.h: Likewise.
26318 * include/langinfo.h: Likewise.
26319 * include/monetary.h: Likewise.
26320 * include/sys/poll.h: Likewise.
26322 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26324 * posix/spawn.h: Define __need_sigset_t.
26325 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26326 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26327 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26328 to get sigevent_t only.
26329 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26330 only for __USE_GNU.
26331 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26332 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26333 process_vm_writev only for __USE_GNU.
26334 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26336 * conform/Makefile: For now ignore errors from run-conformtest.
26337 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26338 POSIX to avoid namespace pollution. Don't prepend headers.
26339 * conform/data/aio.h-data: Fixes for POSIX testing.
26340 * conform/data/fcntl.h-data: Likewise.
26341 * conform/data/glob.h-data: Likewise.
26342 * conform/data/grp.h-data: Likewise.
26343 * conform/data/pthread.h-data: Likewise.
26344 * conform/data/pwd.h-data: Likewise.
26345 * conform/data/signal.h-data: Likewise.
26346 * conform/data/spawn.h-data: Likewise.
26347 * conform/data/stdio.h-data: Likewise.
26348 * conform/data/stdlib.h-data: Likewise.
26349 * conform/data/stropts.h-data: Likewise.
26350 * conform/data/sys/mman.h-data: Likewise.
26351 * conform/data/sys/stat.h-data: Likewise.
26352 * conform/data/sys/types.h-data: Likewise.
26353 * conform/data/sys/wait.h-data: Likewise.
26354 * conform/data/time.h-data: Likewise.
26355 * conform/data/unistd.h-data: Likewise.
26356 * conform/data/utime.h-data: Likewise.
26358 * io/sys/stat.h: fchmod was always in POSIX.
26359 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26360 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26361 * rt/aio.h: Define __need_timespec before including <time.h>.
26362 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26363 struct. Add forward declaration of pthread_attr_t and use it in
26365 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26366 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26367 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26368 always remove CLK_TCK definition.
26370 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26372 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26374 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26376 * conform/run-conformtest.sh: New file.
26377 * conform/Makefile: Run run-conformtest for tests.
26378 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26381 * conform/data/uchar.h-data: New file.
26382 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26383 * conform/data/arpa/inet.h-data: Likewise.
26384 * conform/data/assert.h-data: Likewise.
26385 * conform/data/complex.h-data: Likewise.
26386 * conform/data/cpio.h-data: Likewise.
26387 * conform/data/ctype.h-data: Likewise.
26388 * conform/data/dirent.h-data: Likewise.
26389 * conform/data/dlfcn.h-data: Likewise.
26390 * conform/data/errno.h-data: Likewise.
26391 * conform/data/fcntl.h-data: Likewise.
26392 * conform/data/float.h-data: Likewise.
26393 * conform/data/fmtmsg.h-data: Likewise.
26394 * conform/data/fnmatch.h-data: Likewise.
26395 * conform/data/ftw.h-data: Likewise.
26396 * conform/data/glob.h-data: Likewise.
26397 * conform/data/grp.h-data: Likewise.
26398 * conform/data/iconv.h-data: Likewise.
26399 * conform/data/inttypes.h-data: Likewise.
26400 * conform/data/langinfo.h-data: Likewise.
26401 * conform/data/libgen.h-data: Likewise.
26402 * conform/data/limits.h-data: Likewise.
26403 * conform/data/locale.h-data: Likewise.
26404 * conform/data/math.h-data: Likewise.
26405 * conform/data/monetary.h-data: Likewise.
26406 * conform/data/mqueue.h-data: Likewise.
26407 * conform/data/ndbm.h-data: Likewise.
26408 * conform/data/net/if.h-data: Likewise.
26409 * conform/data/netdb.h-data: Likewise.
26410 * conform/data/netinet/in.h-data: Likewise.
26411 * conform/data/nl_types.h-data: Likewise.
26412 * conform/data/poll.h-data: Likewise.
26413 * conform/data/pthread.h-data: Likewise.
26414 * conform/data/pwd.h-data: Likewise.
26415 * conform/data/regex.h-data: Likewise.
26416 * conform/data/sched.h-data: Likewise.
26417 * conform/data/search.h-data: Likewise.
26418 * conform/data/semaphore.h-data: Likewise.
26419 * conform/data/setjmp.h-data: Likewise.
26420 * conform/data/signal.h-data: Likewise.
26421 * conform/data/spawn.h-data: Likewise.
26422 * conform/data/stdarg.h-data: Likewise.
26423 * conform/data/stdio.h-data: Likewise.
26424 * conform/data/stdlib.h-data: Likewise.
26425 * conform/data/string.h-data: Likewise.
26426 * conform/data/strings.h-data: Likewise.
26427 * conform/data/stropts.h-data: Likewise.
26428 * conform/data/sys/ipc.h-data: Likewise.
26429 * conform/data/sys/mman.h-data: Likewise.
26430 * conform/data/sys/msg.h-data: Likewise.
26431 * conform/data/sys/resource.h-data: Likewise.
26432 * conform/data/sys/select.h-data: Likewise.
26433 * conform/data/sys/sem.h-data: Likewise.
26434 * conform/data/sys/shm.h-data: Likewise.
26435 * conform/data/sys/socket.h-data: Likewise.
26436 * conform/data/sys/stat.h-data: Likewise.
26437 * conform/data/sys/statvfs.h-data: Likewise.
26438 * conform/data/sys/time.h-data: Likewise.
26439 * conform/data/sys/timeb.h-data: Likewise.
26440 * conform/data/sys/times.h-data: Likewise.
26441 * conform/data/sys/types.h-data: Likewise.
26442 * conform/data/sys/uio.h-data: Likewise.
26443 * conform/data/sys/un.h-data: Likewise.
26444 * conform/data/sys/utsname.h-data: Likewise.
26445 * conform/data/sys/wait.h-data: Likewise.
26446 * conform/data/syslog.h-data: Likewise.
26447 * conform/data/tar.h-data: Likewise.
26448 * conform/data/termios.h-data: Likewise.
26449 * conform/data/utime.h-data: Likewise.
26450 * conform/data/utmpx.h-data: Likewise.
26451 * conform/data/varargs.h-data: Likewise.
26452 * conform/data/wchar.h-data: Likewise.
26453 * conform/data/wctype.h-data: Likewise.
26454 * conform/data/wordexp.h-data: Likewise.
26456 * include/stropts.h: New file.
26457 * include/uchar.h: New file.
26458 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26459 * include/assert.h: Likewise.
26460 * include/ctype.h: Likewise.
26461 * include/dirent.h: Likewise.
26462 * include/dlfcn.h: Likewise.
26463 * include/fcntl.h: Likewise.
26464 * include/fnmatch.h: Likewise.
26465 * include/glob.h: Likewise.
26466 * include/grp.h: Likewise.
26467 * include/libio.h: Likewise.
26468 * include/locale.h: Likewise.
26469 * include/math.h: Likewise.
26470 * include/net/if.h: Likewise.
26471 * include/netdb.h: Likewise.
26472 * include/netinet/in.h: Likewise.
26473 * include/pthread.h: Likewise.
26474 * include/pwd.h: Likewise.
26475 * include/regex.h: Likewise.
26476 * include/sched.h: Likewise.
26477 * include/search.h: Likewise.
26478 * include/setjmp.h: Likewise.
26479 * include/signal.h: Likewise.
26480 * include/stdio.h: Likewise.
26481 * include/stdlib.h: Likewise.
26482 * include/string.h: Likewise.
26483 * include/sys/cdefs.h: Likewise.
26484 * include/sys/mman.h: Likewise.
26485 * include/sys/msg.h: Likewise.
26486 * include/sys/resource.h: Likewise.
26487 * include/sys/select.h: Likewise.
26488 * include/sys/socket.h: Likewise.
26489 * include/sys/stat.h: Likewise.
26490 * include/sys/statvfs.h: Likewise.
26491 * include/sys/time.h: Likewise.
26492 * include/sys/times.h: Likewise.
26493 * include/sys/uio.h: Likewise.
26494 * include/sys/utsname.h: Likewise.
26495 * include/sys/wait.h: Likewise.
26496 * include/termios.h: Likewise.
26497 * include/time.h: Likewise.
26498 * include/ulimit.h: Likewise.
26499 * include/unistd.h: Likewise.
26500 * include/utime.h: Likewise.
26501 * include/wchar.h: Likewise.
26502 * include/wctype.h: Likewise.
26503 * include/wordexp.h: Likewise.
26505 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26507 * time/time.h: TIME_UTC must be a macro.
26508 Make timespec_get available for ISO C11 only as well.
26510 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26512 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26513 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26515 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26517 * configure.in: Use -o not -a in test for unsupported multi-arch.
26519 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26521 * manual/texinfo.tex: Update to version 2012-01-19.16.
26523 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26525 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26527 2012-02-24 Roland McGrath <roland@hack.frob.com>
26530 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26531 * manual/fdl-1.3.texi: New file.
26532 * manual/fdl-1.1.texi: File removed.
26535 * manual/libc.texinfo (FDL_VERSION): New @set.
26536 Use it for mention of FDL in cover text.
26537 (Documentation License): Use it in @include file name.
26539 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26540 Roland McGrath <roland@hack.frob.com>
26543 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26544 not LONG_LONG_MAX and LONG_LONG_MIN.
26545 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26546 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26548 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26550 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26554 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26555 manipulate bits before adding and subtracting TWO23[sx].
26556 * math/libm-test.inc (nearbyint_test): Add more tests.
26558 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26561 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26562 bits before adding and subtracting TWO23[sx].
26563 * math/libm-test.inc (rint_test): Add more tests.
26564 (rint_test_tonearest): Likewise.
26565 (rint_test_towardzero): Likewise.
26566 (rint_test_downward): Likewise.
26567 (rint_test_upward: Likewise.
26569 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26572 * include/stdc-predef.h: New file. Extracted from features.h.
26573 * include/features.h: Include stdc-predef.h.
26574 * Makefile (headers): Add stdc-predef.h.
26575 * CONFORMANCE (Compiler limitations): Update.
26577 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26579 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26581 2012-02-21 David S. Miller <davem@davemloft.net>
26583 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26584 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26586 2012-02-20 David S. Miller <davem@davemloft.net>
26588 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26589 using a normal save/restore sequence, rather than allocating a
26590 dummy stack frame just to store a frame pointer and restore.
26591 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26593 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26595 * manual/install.texi: Fix stray word in line-wrapped comment.
26597 2012-02-20 David S. Miller <davem@davemloft.net>
26599 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26600 both binutils and gcc support GOTDATA.
26602 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26603 "rd %pc" in the PIC register setup sequences.
26605 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26606 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26607 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26608 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26609 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26610 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26612 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26614 (SYSCALL_ERROR_HANDLER): Likewise.
26615 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26616 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26617 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26618 (SYSCALL_ERROR_HANDLER): Likewise.
26620 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26621 (HAVE_GCC_GOTDATA): New.
26622 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26623 relocation support in both binutils and gcc.
26624 * sysdeps/sparc/elf/configure: Regenerate.
26626 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26627 * sysdeps/sparc/sparc32/elf/configure: Delete.
26628 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26629 * sysdeps/sparc/sparc64/elf/configure: Delete.
26630 * sysdeps/sparc/elf/configure.in: New file.
26631 * sysdeps/sparc/elf/configure: Generate.
26633 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26634 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26635 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26636 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26637 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26639 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26641 * manual/install.texi: Do not mention specific glibc version
26643 * manual/libc.texinfo (VERSION, UPDATED): Update.
26644 (@copying): Use @copyright{} and range of years.
26646 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26649 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26650 [crti.S not in sysdirs] (generated): Do not append.
26651 [crti.S not in sysdirs] (omit-deps): Likewise.
26652 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26653 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26654 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26655 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26656 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26658 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26659 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26660 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26661 * csu/defs.awk: Remove file.
26662 * sysdeps/generic/initfini.c: Likewise.
26663 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26665 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26668 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26670 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26671 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26672 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26673 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26674 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26675 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26677 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26678 (__EPOLL_PACKED): Define to empty if not defined by
26680 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26684 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26686 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26687 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26688 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26689 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26691 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26695 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26697 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26699 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26700 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26701 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26704 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26706 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26707 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26709 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26711 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26712 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26714 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26716 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26719 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26721 * math/w_acos.c: Use non-signaling floating-point comparisons.
26722 * math/w_acosf.c: Likewise.
26723 * math/w_acosh.c: Likewise.
26724 * math/w_acoshf.c: Likewise.
26725 * math/w_acoshl.c: Likewise.
26726 * math/w_acosl.c: Likewise.
26727 * math/w_asin.c: Likewise.
26728 * math/w_asinf.c: Likewise.
26729 * math/w_asinl.c: Likewise.
26730 * math/w_atanh.c: Likewise.
26731 * math/w_atanhf.c: Likewise.
26732 * math/w_atanhl.c: Likewise.
26733 * math/w_exp2.c: Likewise.
26734 * math/w_exp2f.c: Likewise.
26735 * math/w_exp2l.c: Likewise.
26736 * math/w_j0.c: Likewise.
26737 * math/w_j0f.c: Likewise.
26738 * math/w_j0l.c: Likewise.
26739 * math/w_j1.c: Likewise.
26740 * math/w_j1f.c: Likewise.
26741 * math/w_j1l.c: Likewise.
26742 * math/w_jn.c: Likewise.
26743 * math/w_jnf.c: Likewise.
26744 * math/w_log.c: Likewise.
26745 * math/w_log10.c: Likewise.
26746 * math/w_log10f.c: Likewise.
26747 * math/w_log10l.c: Likewise.
26748 * math/w_log2.c: Likewise.
26749 * math/w_log2f.c: Likewise.
26750 * math/w_log2l.c: Likewise.
26751 * math/w_logf.c: Likewise.
26752 * math/w_logl.c: Likewise.
26753 * math/w_sqrt.c: Likewise.
26754 * math/w_sqrtf.c: Likewise.
26755 * math/w_sqrtl.c: Likewise.
26756 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26757 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26758 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26759 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26760 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26762 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26765 * manual/string.texi (strnlen): Use correct parameter name in
26766 equivalent expression.
26768 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26771 * manual/users.texi (seteuid): Consistently use neweuid for
26774 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26777 * manual/nss.texi (Services in the NSS configuration): Correct
26778 list of services in example configuration file.
26780 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26783 * manual/arith.texi: Remove statements about negative zero
26784 behaving identically to zero.
26786 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26789 * manual/install.texi: Do not document upgrading from libc5.
26791 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26794 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26796 2012-02-18 David S. Miller <davem@davemloft.net>
26798 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26799 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26800 %o7 across the call.
26801 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26803 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26804 SETUP_PIC_REG_LEAF.
26805 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26806 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26807 * sysdeps/sparc/crtn.S: Likewise.
26809 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26811 * aout/Makefile: Remove.
26813 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26816 * manual/examples/argp-ex1.c (main): Format definition in GNU
26818 * manual/examples/argp-ex2.c (main): Likewise.
26819 * manual/examples/argp-ex3.c (main): Likewise.
26820 * manual/examples/argp-ex4.c (main): Likewise.
26821 * manual/examples/longopt.c (main): Use new-style prototype
26823 * manual/examples/strncat.c (main): Specify return type and use
26824 (void) for arguments.
26825 * manual/examples/subopt.c (main): Use char **argv argument.
26827 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26830 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26833 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26836 * manual/string.texi (strchr): Change when strchrnul is
26839 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26842 * manual/locale.texi (setlocale): Document LOCPATH.
26844 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26847 * manual/process.texi (execle): Move @dots{} before last argument.
26849 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26852 * manual/charset.texi (Generic Charset Conversion): Fix typo
26853 (LC_TYPE -> LC_CTYPE).
26855 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26858 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26859 (scalbnf): Likewise.
26860 (scalbnl): Likewise.
26861 (scalbln): Likewise.
26862 (scalblnf): Likewise.
26863 (scalblnl): Likewise.
26864 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26865 (vwarnx): Likewise.
26868 * manual/filesys.texi (telldir): Use braces around return type.
26869 * manual/llio.texi (mmap): Add space after comma.
26870 (mmap64): Likewise.
26871 * manual/math.texi (jn): Use @var{} on parameter names.
26877 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26879 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26881 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26882 (sched_get_priority_max): Likewise.
26883 * manual/signal.texi (sigvec): Add space after comma.
26884 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26886 (if_indextoname): Likewise.
26887 (if_freenameindex): Likewise.
26888 (sendto): Use ',' instead of '.' in prototype.
26889 * manual/startup.texi (syscall): Use @dots{} instead of literal
26891 * manual/stdio.texi (__fpending): Separate initial words of
26892 paragraph from @deftypefun line.
26893 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26895 (vsyslog): Use @var{} on parameter names.
26896 * manual/terminal.texi (stty): Use @var{} on parameter names.
26897 * manual/users.texi (getutmp): Use @var{} on parameter names.
26898 (getutmpx): Likewise.
26900 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26903 * manual/stdio.texi (fopen): Fix typos in description of
26906 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26909 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26910 get clock_id definition.
26912 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26915 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26916 (madvise): Cast every argument to void on its own.
26918 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26921 * manual/startup.texi (Exit Status): Fix typo.
26923 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26926 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26927 * manual/examples/argp-ex2.c: Likewise.
26928 * manual/examples/argp-ex3.c: Likewise.
26930 2012-02-16 Richard Henderson <rth@redhat.com>
26932 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26933 * sysdeps/s390/s390-32/initfini.c: Remove.
26934 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26935 * sysdeps/s390/s390-64/initfini.c: Remove.
26937 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26939 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26940 compiler output for sysdeps/generic/initfini.c.
26941 * sysdeps/sh/elf/initfini.c: Remove file.
26943 2012-02-16 David S. Miller <davem@davemloft.net>
26946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26948 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26949 * sysdeps/sparc/crti.S: New file.
26950 * sysdeps/sparc/crtn.S: New file.
26951 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26952 * sysdeps/sparc/sparc64/Makefile: Likewise.
26954 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26957 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26959 2012-02-15 Roland McGrath <roland@hack.frob.com>
26962 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26964 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26965 (write, read, close): Likewise.
26966 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26968 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26970 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26971 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26972 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26973 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26975 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26979 2012-02-14 Marek Polacek <polacek@redhat.com>
26981 * sysdeps/x86_64/crti.S: New file.
26982 * sysdeps/x86_64/crtn.S: New file.
26983 * sysdeps/x86_64/elf/initfini.c: Remove file.
26985 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26987 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26988 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26989 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26990 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26992 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26996 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26998 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26999 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27000 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27001 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27003 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27004 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27007 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27009 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27010 __feraiseexcept instead of feraiseexcept.
27012 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27013 nanosleep invocations.
27014 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27015 strings, and add error checking for a nanosleep invocations.
27017 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27019 Replace FSF snail mail address with URLs, as per GNU coding standards.
27020 Most of the snail mail addresses were wrong anyway, and omitting
27021 them makes the source code easier to maintain. Almost all of the
27022 changes are to license notices and to locale LC_IDENTIFICATION
27023 addresses, except for this one:
27024 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27025 not its snail mail address.
27027 2012-02-09 Richard Henderson <rth@twiddle.net>
27029 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27030 of kernel-features.h.
27032 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27034 2012-02-08 Marek Polacek <polacek@redhat.com>
27036 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27037 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27038 * sysdeps/gnu/_G_config.h: Likewise.
27039 * sysdeps/generic/_G_config.h: Likewise.
27041 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27043 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27047 * sysdeps/powerpc/powerpc32/crti.S: New file.
27048 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27049 * sysdeps/powerpc/powerpc64/crti.S: New file.
27050 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27052 * Makeconfig (have-initfini): Don't set.
27053 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27054 * configure.in (nopic_initfini): Don't substitute.
27055 * config.h.in (HAVE_INITFINI): Don't #undef.
27056 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27057 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27059 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27061 Support crti.S and crtn.S provided directly by architectures.
27062 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27063 [crti.S in sysdirs] (omit-deps): Likewise.
27064 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27065 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27066 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27067 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27068 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27069 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27070 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27071 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27072 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27073 compiler output for sysdeps/generic/initfini.c.
27074 * sysdeps/i386/elf/Makefile: Remove file.
27075 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27077 2012-02-07 Marek Polacek <polacek@redhat.com>
27079 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27080 * sysdeps/gnu/_G_config.h: Likewise.
27081 * sysdeps/mach/hurd/_G_config.h: Likewise.
27083 2012-02-07 Marek Polacek <polacek@redhat.com>
27085 * math/Makefile (tests): Add tst-CMPLX2.
27086 * math/tst-CMPLX2.c: New file.
27088 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27090 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27092 * math/libm-test.inc (jn_test): Add missing L suffix.
27094 2012-02-06 Marek Polacek <polacek@redhat.com>
27096 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27097 * sysdeps/i386/fpu/e_powf.S: Likewise.
27098 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27099 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27100 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27101 * sysdeps/i386/fpu/e_pow.S: Likewise.
27102 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27103 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27104 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27105 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27106 * sysdeps/i386/fpu/e_log2.S: Likewise.
27107 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27108 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27109 * sysdeps/i386/fpu/e_powl.S: Likewise.
27110 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27111 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27112 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27113 * sysdeps/i386/fpu/e_logl.S: Likewise.
27114 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27115 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27116 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27117 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27118 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27119 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27120 * sysdeps/i386/fpu/e_log.S: Likewise.
27121 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27122 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27123 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27124 * sysdeps/i386/fpu/e_logf.S: Likewise.
27125 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27126 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27127 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27128 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27129 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27130 * sysdeps/i386/fpu/e_log10.S: Likewise.
27131 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27132 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27133 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27134 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27135 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27136 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27137 * sysdeps/i386/asm-syntax.h: Likewise.
27138 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27139 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27140 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27141 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27142 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27143 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27144 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27145 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27146 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27147 * sysdeps/powerpc/sysdep.h: Likewise.
27148 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27149 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27151 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27154 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27156 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27158 * sysdeps/i386/sysdep.h: Include <features.h>.
27159 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27162 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27164 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27166 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27169 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27171 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27172 (SETUP_PIC_REG): Use GET_PC_THUNK.
27173 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27176 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27178 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27179 for non-PIC compilation.
27180 (SETUP_PIC_REG): Add .p2align directive.
27181 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27182 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27183 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27184 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27185 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27186 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27187 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27188 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27189 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27190 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27191 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27192 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27193 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27194 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27195 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27196 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27197 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27198 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27199 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27200 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27201 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27202 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27203 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27204 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27205 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27207 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27208 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27209 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27210 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27211 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27212 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27213 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27214 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27215 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27216 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27217 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27218 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27219 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27220 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27221 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27223 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27225 * math/tst-CMPLX.c: Include <stdio.h>.
27227 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27229 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27231 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27232 * sysdeps/sparc/bits/mathdef.h: Likewise.
27234 2012-01-31 Marek Polacek <polacek@redhat.com>
27236 * libio/libio.h: Don't define _PARAMS.
27237 * locale/programs/config.h: Don't define PARAMS.
27238 * stdlib/strtol_l.c: Likewise.
27239 (__strtol_l): Remove PARAMS from the prototype.
27241 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27243 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27244 names. Just use the correct names. Remove unnecessary wrapper
27246 * malloc/arena.c: Likewise.
27247 * malloc/hooks.c: Likewise.
27249 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27250 ARENA_TEST says not to. Simplify test for creation of a new arena.
27251 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27253 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27255 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27257 (update_get_addr): New function.
27258 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27259 GET_ADDR_MODULE parameter.
27261 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27263 * crypt/cert.c: Remove __STDC__ conditionals.
27264 * crypt/crypt-entry.c: Likewise.
27265 * crypt/crypt_util.c: Likewise.
27266 * libio/filedoalloc.c: Likewise.
27267 * libio/fileops.c: Likewise.
27268 * libio/genops.c: Likewise.
27269 * libio/iofclose.c: Likewise.
27270 * libio/iofdopen.c: Likewise.
27271 * libio/iofopen.c: Likewise.
27272 * libio/iofopen64.c: Likewise.
27273 * libio/iogetdelim.c: Likewise.
27274 * libio/iopopen.c: Likewise.
27275 * libio/obprintf.c: Likewise.
27276 * libio/oldfileops.c: Likewise.
27277 * libio/oldiofclose.c: Likewise.
27278 * libio/oldiofdopen.c: Likewise.
27279 * libio/oldiofopen.c: Likewise.
27280 * libio/oldiopopen.c: Likewise.
27281 * libio/wfiledoalloc.c: Likewise.
27282 * libio/wgenops.c: Likewise.
27283 * locale/programs/xmalloc.c: Likewise.
27284 * misc/syslog.c: Likewise.
27285 * stdio-common/xbug.c: Likewise.
27286 * string/memchr.c: Likewise.
27287 * string/memcmp.c: Likewise.
27288 * string/memrchr.c: Likewise.
27289 * string/rawmemchr.c: Likewise.
27290 * sysdeps/posix/getcwd.c: Likewise.
27291 * time/strftime_l.c: Likewise.
27293 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27295 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27296 * config.make.in (config-cflags-sse2avx): Define.
27297 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27300 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27302 * scripts/config.guess: Update from upstream config git repository.
27303 * scripts/config.sub: Likewise.
27305 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27307 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27309 (R_TILEPRO_*, R_TILEGX_*): New macros.
27311 * scripts/firstversions.awk: Fix bug in version range handling.
27313 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27315 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27317 * include/sys/epoll.h: New file.
27318 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27321 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27323 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27324 Avoid unnecessary __WORDSIZE == 64 test.
27325 (fmaxf): Use VEX format if possible.
27330 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27331 * math/math_private.h: Remove libc_fegetround* and
27333 * sysdeps/i386/configure.in: Check for -msse2avx.
27334 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27335 also if SSE2AVX is defined.
27336 Remove libc_fegetround* and libc_fesetround*.
27337 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27338 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27339 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27341 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27342 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27343 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27344 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27345 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27347 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27349 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27351 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27353 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27355 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27358 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27360 * Makeconfig (libm): Define.
27361 * elf/Makefile: Add rules to build and run tst-relsort1.
27362 * elf/tst-relsort1.c: New file.
27363 * elf/tst-relsort1mod1.c: New file.
27364 * elf/tst-relsort1mod2.c: New file.
27366 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27368 * math/s_ldexp.c: Remove __STDC__ conditionals.
27369 * math/s_ldexpf.c: Likewise.
27370 * math/s_ldexpl.c: Likewise.
27371 * math/s_nextafter.c: Likewise.
27372 * math/s_nexttowardf.c: Likewise.
27373 * math/s_significand.c: Likewise.
27374 * math/s_significandf.c: Likewise.
27375 * math/s_significandl.c: Likewise.
27376 * math/w_jnl.c: Likewise.
27377 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27378 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27379 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27380 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27381 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27382 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27383 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27384 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27386 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27387 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27388 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27389 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27390 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27391 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27392 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27393 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27394 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27396 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27397 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27398 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27399 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27400 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27401 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27402 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27403 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27404 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27405 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27406 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27407 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27408 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27409 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27410 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27411 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27412 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27413 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27414 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27415 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27416 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27417 * sysdeps/ieee754/k_standard.c: Likewise.
27418 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27419 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27420 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27421 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27422 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27423 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27424 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27425 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27427 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27431 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27432 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27434 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27435 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27436 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27437 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27438 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27439 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27441 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27442 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27443 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27444 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27445 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27446 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27447 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27448 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27450 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27451 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27452 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27453 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27454 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27455 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27456 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27457 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27458 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27459 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27460 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27461 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27462 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27463 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27464 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27465 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27466 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27467 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27469 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27470 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27471 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27472 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27473 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27474 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27475 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27476 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27477 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27478 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27479 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27480 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27481 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27482 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27483 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27484 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27485 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27486 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27487 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27488 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27489 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27490 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27491 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27492 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27493 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27494 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27495 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27496 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27497 * sysdeps/ieee754/s_matherr.c: Likewise.
27498 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27499 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27500 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27503 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27505 * crypt/md5.h: Remove __STDC__ conditionals.
27506 * libio/libioP.h: Likewise.
27507 * locale/programs/config.h: Likewise.
27508 * sysdeps/generic/sysdep.h: Likewise.
27509 * sysdeps/i386/asm-syntax.h: Likewise.
27510 * sysdeps/s390/asm-syntax.h: Likewise.
27511 * sysdeps/unix/sysdep.h: Likewise.
27512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27515 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27517 * libio/libio.h: Remove __STDC__ conditionals.
27518 * malloc/obstack.h: Likewise.
27519 * math/complex.h: Likewise.
27520 * math/math.h: Likewise.
27521 * sysdeps/generic/_G_config.h: Likewise.
27522 * sysdeps/gnu/_G_config.h: Likewise.
27523 * sysdeps/mach/hurd/_G_config.h: Likewise.
27524 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27525 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27526 * sysdeps/sparc/bits/mathdef.h: Likewise.
27528 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27531 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27532 Clean up HAS_* macros.
27533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27534 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27539 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27540 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27541 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27542 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27544 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27546 * elf/tst-unique3.cc (gets): Remove declaration.
27547 * elf/tst-unique3lib.cc (gets): Likewise.
27548 * elf/tst-unique3lib2.cc (gets): Likewise.
27549 * elf/tst-unique4.cc (gets): Likewise.
27551 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27553 * include/stdio.h: Add C++ protection. Add gets declarations and
27555 * debug/tst-chk1.c: Don't declare gets here.
27556 * stdio-common/tst-gets.c: Likewise.
27558 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27560 * posix/glob: Remove directory.
27562 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27564 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27566 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27568 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27569 of the non-standard EPFNOSUPPORT.
27571 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27573 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27574 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27575 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27577 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27579 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27581 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27583 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27585 * nscd/grpcache.c (cache_addgr): Likewise.
27586 * nscd/hstcache.c (cache_addhst): Likewise.
27587 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27588 * nscd/pwdcache.c (cache_addpw): Likewise.
27589 * nscd/servicescache.c (cache_addserv): Likewise.
27591 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27593 * malloc/malloc.c: Various cleanups.
27594 * malloc/hooks.c: Likewise.
27596 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27597 * stdlib/bug-fmtmsg1.c: New file.
27599 * stdlib/fmtmsg.c (init): Add missing unlock.
27600 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27602 2012-01-12 Marek Polacek <polacek@redhat.com>
27604 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27607 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27609 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27610 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27611 macro to ensure uniqueness of label name.
27612 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27613 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27615 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27617 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27619 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27620 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27621 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27624 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27626 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27628 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27629 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27630 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27632 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27634 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27635 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27636 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27637 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27639 * math/bits/math-finite.h: Add ldexp support.
27641 2012-01-10 Marek Polacek <polacek@redhat.com>
27643 * locale/programs/localedef.h (show_archive_content): Add noreturn
27646 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27648 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27650 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27652 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27654 * io/Makefile (headers): Add bits/poll2.h.
27656 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27659 typo #include statement.
27661 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27663 * include/sys/cdefs.h: Define __attribute_alloc_size.
27664 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27665 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27666 * elf/pldd.c: Likewise.
27667 * iconv/iconv_charmap.c: Likewise.
27668 * iconv/iconvconfig.c: Likewise.
27669 * iconv/strtab.c: Likewise.
27670 * locale/programs/locale.c: Likewise.
27671 * locale/programs/localedef.h: Likewise.
27672 * locale/programs/simple-hash.c: Likewise.
27673 * nscd/nscd.h: Likewise.
27674 * nss/makedb.c: Likewise.
27675 * sysdeps/generic/ldconfig.h: Likewise.
27676 * locale/programs/localedef.c: Remove xmalloc prototype.
27677 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27679 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27681 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27684 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27686 * math/Makefile (tests): Add tst-CMPLX.
27687 * math/tst-CMPLX.c: New file.
27689 * math/complex.h (CMPLXL): Fix typo.
27691 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27692 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27694 * debug/tst-chk1.c: Add poll and ppoll tests.
27695 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27696 * include/sys/poll.h: Add hidden proto for ppoll.
27697 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27698 * sysdeps/mach/hurd/ppoll.c: Likewise.
27699 * io/ppoll.c: Likewise.
27700 * debug/poll_chk.c: New file.
27701 * debug/ppoll_chk.c: New file.
27702 * include/bits/poll2.h: New file.
27703 * io/bits/poll2.h: New file.
27706 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27708 * configure.in: static is always set to yes. Remove.
27709 * config.make.in: Don't set build-static.
27710 * Makeconfig: Remove use of build-static.
27711 * dlfcn/Makefile: Likewise.
27712 * elf/Makefile: Likewise.
27713 * math/Makefile: Likewise.
27714 * misc/Makefile: Likewise.
27715 * nptl/Makefile: Likewise.
27716 * sysdeps/mach/hurd/Makefile: Likewise.
27718 * configure.in: PWD_P is not used anymore.
27719 * config.make.in: Remove PWD_P entry.
27721 * configure.in: Remove last remnants of RANLIB.
27722 No need to check for signed size_t anymore.
27723 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27725 Remove __builtin_expect test because we require at least gcc 3.4.
27726 * aclocal.m4: Likewise.
27728 * wcsmbs/mbrtoc16.c: Implement using towc function.
27729 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27730 * wcsmbs/wcsmbsload.c: Likewise.
27731 * iconv/gconv_simple.c: Likewise.
27732 * iconv/gconv_int.h: Likewise.
27733 * iconv/gconv_builtin.h: Likewise.
27734 * iconv/iconv_prog.c: Remove CHAR16 handling.
27736 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27738 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27740 * configure.in: Remove --with-elf and --enable-bounded options.
27741 Dont set base_machine for ia64. More non-ELF conditions removed.
27742 Remove testing and setting of leading underscore information.
27743 * config.make.in (build-bounded): Set to no.
27744 * config.h.in: Remove NO_UNDERSCORES entry.
27745 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27747 * csu/start.c: Remove !NO_UNDERSCORE code.
27748 * locale/localeinfo.h: Likewise.
27749 * sysdeps/generic/machine-gmon.h: Likewise.
27750 * sysdeps/generic/sysdep.h: Likewise.
27751 * sysdeps/i386/sysdep.h: Likewise.
27752 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27753 * sysdeps/mach/sysdep.h: Likewise.
27754 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27755 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27756 * sysdeps/sh/sysdep.h: Likewise.
27757 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27758 * sysdeps/unix/i386/sysdep.S: Likewise.
27759 * sysdeps/unix/sparc/start.c: Likewise.
27760 * sysdeps/unix/sparc/sysdep.S: Likewise.
27761 * sysdeps/unix/sparc/sysdep.h: Likewise.
27762 * sysdeps/unix/start.c: Likewise.
27763 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27764 * sysdeps/x86_64/sysdep.h: Likewise.
27766 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27769 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27771 * argp/argp-fmtstream.h: Use const instead __const.
27772 * argp/argp.h: Likewise.
27773 * assert/assert.h: Likewise.
27774 * bits/fenv.h: Likewise.
27775 * bits/sched.h: Likewise.
27776 * bits/sigset.h: Likewise.
27777 * bits/sigthread.h: Likewise.
27778 * catgets/nl_types.h: Likewise.
27779 * conform/data/pthread.h-data: Likewise.
27780 * crypt/crypt-private.h: Likewise.
27781 * crypt/crypt.h: Likewise.
27782 * crypt/crypt_util.c: Likewise.
27783 * ctype/ctype.h: Likewise.
27784 * debug/execinfo.h: Likewise.
27785 * debug/mbsnrtowcs_chk.c: Likewise.
27786 * debug/mbsrtowcs_chk.c: Likewise.
27787 * debug/wcsnrtombs_chk.c: Likewise.
27788 * debug/wcsrtombs_chk.c: Likewise.
27789 * debug/wcstombs_chk.c: Likewise.
27790 * dirent/dirent.h: Likewise.
27791 * dlfcn/dlfcn.h: Likewise.
27792 * elf/neededtest4.c: Likewise.
27793 * grp/grp.h: Likewise.
27794 * gshadow/gshadow.h: Likewise.
27795 * iconv/gconv.h: Likewise.
27796 * iconv/gconv_int.h: Likewise.
27797 * iconv/gconv_simple.c: Likewise.
27798 * iconv/iconv.h: Likewise.
27799 * iconv/loop.c: Likewise.
27800 * iconv/skeleton.c: Likewise.
27801 * include/aio.h: Likewise.
27802 * include/aliases.h: Likewise.
27803 * include/argz.h: Likewise.
27804 * include/arpa/inet.h: Likewise.
27805 * include/assert.h: Likewise.
27806 * include/dirent.h: Likewise.
27807 * include/dlfcn.h: Likewise.
27808 * include/execinfo.h: Likewise.
27809 * include/fcntl.h: Likewise.
27810 * include/fenv.h: Likewise.
27811 * include/glob.h: Likewise.
27812 * include/grp.h: Likewise.
27813 * include/libintl.h: Likewise.
27814 * include/mntent.h: Likewise.
27815 * include/netdb.h: Likewise.
27816 * include/pwd.h: Likewise.
27817 * include/rpc/netdb.h: Likewise.
27818 * include/sched.h: Likewise.
27819 * include/search.h: Likewise.
27820 * include/shadow.h: Likewise.
27821 * include/signal.h: Likewise.
27822 * include/stdio.h: Likewise.
27823 * include/stdlib.h: Likewise.
27824 * include/string.h: Likewise.
27825 * include/sys/socket.h: Likewise.
27826 * include/sys/stat.h: Likewise.
27827 * include/sys/statfs.h: Likewise.
27828 * include/sys/statvfs.h: Likewise.
27829 * include/sys/syslog.h: Likewise.
27830 * include/sys/time.h: Likewise.
27831 * include/sys/uio.h: Likewise.
27832 * include/time.h: Likewise.
27833 * include/unistd.h: Likewise.
27834 * include/utmp.h: Likewise.
27835 * include/wchar.h: Likewise.
27836 * include/wctype.h: Likewise.
27837 * inet/aliases.h: Likewise.
27838 * inet/arpa/inet.h: Likewise.
27839 * inet/netinet/ether.h: Likewise.
27840 * inet/netinet/in.h: Likewise.
27841 * intl/libintl.h: Likewise.
27842 * io/bits/fcntl2.h: Likewise.
27843 * io/fcntl.h: Likewise.
27844 * io/ftw.h: Likewise.
27845 * io/sys/poll.h: Likewise.
27846 * io/sys/stat.h: Likewise.
27847 * io/sys/statfs.h: Likewise.
27848 * io/sys/statvfs.h: Likewise.
27849 * io/utime.h: Likewise.
27850 * libio/bits/stdio.h: Likewise.
27851 * libio/bits/stdio2.h: Likewise.
27852 * libio/libio.h: Likewise.
27853 * libio/libioP.h: Likewise.
27854 * libio/stdio.h: Likewise.
27855 * locale/lc-ctype.c: Likewise.
27856 * locale/locale.h: Likewise.
27857 * login/utmp.h: Likewise.
27858 * malloc/arena.c: Likewise.
27859 * malloc/malloc.c: Likewise.
27860 * malloc/malloc.h: Likewise.
27861 * malloc/mcheck.c: Likewise.
27862 * malloc/mtrace.c: Likewise.
27863 * math/bits/mathcalls.h: Likewise.
27864 * math/fenv.h: Likewise.
27865 * math/math_private.h: Likewise.
27866 * misc/bits/error.h: Likewise.
27867 * misc/bits/syslog.h: Likewise.
27868 * misc/err.h: Likewise.
27869 * misc/error.h: Likewise.
27870 * misc/fstab.h: Likewise.
27871 * misc/mntent.h: Likewise.
27872 * misc/regexp.h: Likewise.
27873 * misc/search.h: Likewise.
27874 * misc/sgtty.h: Likewise.
27875 * misc/sys/mman.h: Likewise.
27876 * misc/sys/syslog.h: Likewise.
27877 * misc/sys/uio.h: Likewise.
27878 * misc/sys/xattr.h: Likewise.
27879 * misc/ttyent.h: Likewise.
27880 * nis/rpcsvc/ypclnt.h: Likewise.
27881 * nss/nss.h: Likewise.
27882 * posix/bits/unistd.h: Likewise.
27883 * posix/fnmatch.h: Likewise.
27884 * posix/glob.h: Likewise.
27885 * posix/sched.h: Likewise.
27886 * posix/spawn.h: Likewise.
27887 * posix/sys/wait.h: Likewise.
27888 * posix/unistd.h: Likewise.
27889 * posix/wordexp.h: Likewise.
27890 * pwd/pwd.h: Likewise.
27891 * resolv/netdb.h: Likewise.
27892 * resource/sys/resource.h: Likewise.
27893 * rt/aio.h: Likewise.
27894 * rt/bits/mqueue2.h: Likewise.
27895 * rt/mqueue.h: Likewise.
27896 * shadow/shadow.h: Likewise.
27897 * signal/signal.h: Likewise.
27898 * socket/send.c: Likewise.
27899 * socket/sendto.c: Likewise.
27900 * socket/sys/socket.h: Likewise.
27901 * stdio-common/printf.h: Likewise.
27902 * stdlib/bits/stdlib.h: Likewise.
27903 * stdlib/fmtmsg.h: Likewise.
27904 * stdlib/monetary.h: Likewise.
27905 * stdlib/stdlib.h: Likewise.
27906 * stdlib/ucontext.h: Likewise.
27907 * streams/stropts.h: Likewise.
27908 * string/argz.h: Likewise.
27909 * string/bits/string2.h: Likewise.
27910 * string/string.h: Likewise.
27911 * string/strings.h: Likewise.
27912 * sunrpc/rpc/auth.h: Likewise.
27913 * sunrpc/rpc/auth_des.h: Likewise.
27914 * sunrpc/rpc/clnt.h: Likewise.
27915 * sunrpc/rpc/netdb.h: Likewise.
27916 * sunrpc/rpc/pmap_clnt.h: Likewise.
27917 * sunrpc/rpc/xdr.h: Likewise.
27918 * sysdeps/generic/inttypes.h: Likewise.
27919 * sysdeps/generic/net/if.h: Likewise.
27920 * sysdeps/generic/sys/swap.h: Likewise.
27921 * sysdeps/gnu/net/if.h: Likewise.
27922 * sysdeps/gnu/utmpx.h: Likewise.
27923 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27924 * sysdeps/i386/i486/bits/string.h: Likewise.
27925 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27926 * sysdeps/s390/bits/string.h: Likewise.
27927 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27928 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27929 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27930 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27931 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27932 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27933 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27934 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27935 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27936 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27937 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27938 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27939 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27940 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27941 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27942 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27943 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27945 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27946 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27947 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27948 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27949 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27950 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27951 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27952 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27953 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27954 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27955 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27956 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27957 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27958 * sysvipc/sys/ipc.h: Likewise.
27959 * sysvipc/sys/msg.h: Likewise.
27960 * sysvipc/sys/sem.h: Likewise.
27961 * sysvipc/sys/shm.h: Likewise.
27962 * termios/termios.h: Likewise.
27963 * time/sys/time.h: Likewise.
27964 * time/time.h: Likewise.
27965 * wcsmbs/bits/wchar2.h: Likewise.
27966 * wcsmbs/uchar.h: Likewise.
27967 * wcsmbs/wchar.h: Likewise.
27968 * wctype/wctype.h: Likewise.
27971 * Makeconfig: Remove all but ELF support including AIX support.
27972 * Makerules: Likewise.
27973 * config.h.in: Likewise.
27974 * config.make.in: Likewise.
27975 * configure: Likewise.
27976 * configure.in: Likewise.
27977 * csu/Makefile: Likewise.
27978 * csu/version.c: Likewise.
27979 * debug/Makefile: Likewise.
27980 * dlfcn/Makefile: Likewise.
27981 * elf/Makefile: Likewise.
27982 * extra-lib.mk: Likewise.
27983 * iconv/Makefile: Likewise.
27984 * include/libc-symbols.h: Likewise.
27985 * include/shlib-compat.h: Likewise.
27986 * resolv/Makefile: Likewise.
27987 * resolv/res_libc.c: Likewise.
27988 * rt/Makefile: Likewise.
27989 * sysdeps/i386/asm-syntax.h: Likewise.
27990 * sysdeps/i386/sysdep.h: Likewise.
27991 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27992 * sysdeps/mach/sysdep.h: Likewise.
27993 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27994 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27995 * sysdeps/s390/asm-syntax.h: Likewise.
27996 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27997 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27998 * sysdeps/sh/sysdep.h: Likewise.
27999 * sysdeps/unix/sparc/sysdep.h: Likewise.
28000 * sysdeps/wordsize-32/divdi3.c: Likewise.
28001 * sysdeps/x86_64/sysdep.h: Likewise.
28003 * argp/Versions: Remove _argp_unlock_xxx.
28006 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28007 * abilist/libBrokenLocale.abilist: Likewise.
28008 * abilist/libanl.abilist: Likewise.
28009 * abilist/libc.abilist: Likewise.
28010 * abilist/libcrypt.abilist: Likewise.
28011 * abilist/libdl.abilist: Likewise.
28012 * abilist/libm.abilist: Likewise.
28013 * abilist/libnsl.abilist: Likewise.
28014 * abilist/libpthread.abilist: Likewise.
28015 * abilist/libresolv.abilist: Likewise.
28016 * abilist/librt.abilist: Likewise.
28017 * abilist/libthread_db.abilist: Likewise.
28018 * abilist/libutil.abilist: Likewise.
28019 * abilist/libnss_db.abilist: New file.
28021 * scripts/abilist.awk: Add support for indirect functions.
28023 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28025 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28027 * shlib-versions: Remove entries for ports architectures.
28029 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28031 * elf/stackguard-macros.h: Remove support for IA-64.
28032 * elf/tst-auditmod1.c: Likewise.
28033 * sysdeps/generic/ldsodefs.h: Likewise.
28035 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28036 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28040 * configure.in: Remove --enable-omitfp support.
28042 * config.make.in: Likewise.
28043 * Makeconfig: Likewise.
28044 * manual/install.texi: Likewise.
28046 In case anyone cares, the IA-64 architecture could move to ports.
28047 * sysdeps/ia64/*: Removed.
28048 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28049 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28052 * configure.in: Remove entries for unsupported architectures.
28055 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28056 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28058 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28059 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28060 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28061 fall back to using wcrtomb.
28062 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28063 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28065 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28066 * wcsmbs/tst-c16c32-1.c: New file.
28068 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28071 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28073 * elf/tst-unique3.cc: Add explicit declaration of gets.
28074 * elf/tst-unique3lib.cc: Likewise.
28075 * elf/tst-unique3lib2.cc: Likewise.
28076 * elf/tst-unique4.cc: Likewise.
28078 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28080 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28083 * assert/assert.h (static_assert): Don't define for C++.
28084 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28085 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28087 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28089 * iconv/loop.c (single loop): Fix assertion in storing of
28092 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28094 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28096 * posix/getconf.c: Update copyright year.
28097 * nss/getent.c: Likewise.
28098 * nss/makedb.c: Likewise.
28099 * iconv/iconvconfig.c: Likewise.
28100 * iconv/iconv_prog.c: Likewise.
28101 * elf/ldconfig.c: Likewise.
28102 * elf/pldd.c: Likewise.
28103 * elf/sotruss.ksh: Likewise.
28104 * catgets/gencat.c: Likewise.
28105 * csu/version.c: Likewise.
28106 * elf/ldd.bash.in: Likewise.
28107 * elf/sprof.c (print_version): Likewise.
28108 * locale/programs/locale.c: Likewise.
28109 * locale/programs/localedef.c: Likewise.
28110 * login/programs/pt_chown.c: Likewise.
28111 * nscd/nscd.c (print_version): Likewise.
28112 * debug/xtrace.sh: Likewise.
28113 * malloc/memusage.sh: Likewise.
28114 * malloc/mtrace.pl: Likewise.
28115 * debug/catchsegv.sh: Likewise.
28117 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28119 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28122 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28125 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28126 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28128 * iconv/gconv_int.h: Likewise.
28129 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28130 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28131 from libc for GLIBC_2.16.
28132 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28133 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28134 * wcsmbs/uchar.h: Really define mbstate_t.
28135 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28136 * wcsmbs/c16rtomb.c: New file.
28137 * wcsmbs/mbrtoc16.c: New file.
28138 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28139 for C/POSIX locale.
28140 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28141 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28143 * wcsmbs/wchar.h: Add missing __restrict.
28145 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28148 * time/Makefile (routines): Add timespec_get.
28149 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28150 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28151 timespec for ISO C11.
28152 * time/timespec_get.c: New file.
28153 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28154 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28157 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28158 * stdlib/stdlib.h: Declare aligned_alloc.
28159 * Versions.def: Add GLIBC_2.16 for libc.
28160 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28163 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28166 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28170 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28173 * assert/assert.h (static_assert): Define.
28175 * version.h: Update for 2.16 development version.
28178 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28181 * version.h (RELEASE): Bump for 2.15 release.
28182 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28184 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28185 Patch by Marek Polacek <mpolacek@redhat.com>.
28187 * bits/byteswap.h: Protect long long constants with __extension__.
28188 * sysdeps/i386/bits/byteswap.h: Likewise.
28189 * sysdeps/ia64/bits/byteswap.h: Likewise.
28190 * sysdeps/s390/bits/byteswap.h: Likewise.
28191 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28193 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28196 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28197 destination buffer.
28198 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28200 2011-12-23 Marek Polacek <polacek@redhat.com>
28202 * elf/dl-addr.c (determine_info): Add inline keyword.
28203 * elf/tst-auditmod4b.c (check_avx): Likewise.
28204 * elf/tst-auditmod6b.c (check_avx): Likewise.
28205 * elf/tst-auditmod6c.c (check_avx): Likewise.
28206 * elf/tst-auditmod7b.c (check_avx): Likewise.
28208 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28210 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28213 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28216 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28217 processing for last bytes.
28219 2011-08-06 Bruno Haible <bruno@clisp.org>
28222 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28223 U+0385, not to U+1FEE.
28226 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28227 entry for U+00A5 U+0301.
28229 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28232 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28233 buffer for the output is too small.
28235 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28239 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28240 SSE flags if possible.
28242 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28245 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28246 processing for last bytes.
28248 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28250 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28251 (syscall-list-default-options, syscall-list-default-condition)
28252 (syscall-list-includes): Define.
28253 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28254 list of ABIs and options and #if conditions for each ABI. Do not
28255 handle common syscalls between ABIs specially.
28256 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28258 (syscall-list-variants, syscall-list-32bit-options)
28259 (syscall-list-32bit-condition, syscall-list-64bit-options)
28260 (syscall-list-64bit-condition): Define.
28261 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28262 (syscall-list-variants, syscall-list-32bit-options)
28263 (syscall-list-32bit-condition, syscall-list-64bit-options)
28264 (syscall-list-64bit-condition): Define.
28265 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28267 (syscall-list-variants, syscall-list-32bit-options)
28268 (syscall-list-32bit-condition, syscall-list-64bit-options)
28269 (syscall-list-64bit-condition): Define.
28270 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28272 (syscall-list-variants, syscall-list-32bit-options)
28273 (syscall-list-32bit-condition, syscall-list-64bit-options)
28274 (syscall-list-64bit-condition): Define.
28276 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28278 * locale/iso-639.def: Add brx entry.
28281 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28282 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28284 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28285 __feraiseexcept_renamed.
28287 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28290 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28291 EPOLLET with unsigned values.
28292 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28293 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28295 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28296 to large cancellation.
28297 * math/s_cacoshf.c: Likewise.
28298 * math/s_cacoshl.c: Likewise.
28300 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28304 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28305 * math/s_cacoshf.c: Likewise.
28306 * math/s_cacoshl.c: Likewise.
28308 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28311 * iconv/gconv.h: Define __GCONV_SWAP.
28312 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28313 * iconvdata/utf-16.c: Likewise.
28314 * iconvdata/utf-32.c: Likewise.
28316 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28320 numerator after shifting it by one limb.
28322 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28324 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28325 under [__USE_EXTERN_INLINES].
28327 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28330 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28332 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28334 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28335 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28337 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28338 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28339 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28340 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28341 for strncasecmp/strncasecmp_l compilation.
28342 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28343 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28345 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28348 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28351 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28354 * time/tzfile.c (__tzfile_read): Check values from file header.
28356 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28358 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28359 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28360 * powerpc/powerpc32/dl-start.S: Likewise.
28361 * powerpc/powerpc32/elf/start.S: Likewise.
28362 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28363 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28364 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28365 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28366 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28367 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28368 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28369 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28370 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28371 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28372 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28373 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28374 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28375 * powerpc/powerpc32/memset.S: Likewise.
28376 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28377 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28378 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28379 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28380 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28381 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28382 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28383 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28384 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28385 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28386 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28387 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28388 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28390 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28392 * math/libm-test.inc: Added more nearbyint tests.
28393 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28394 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28395 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28396 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28398 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28400 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28403 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28405 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28406 Add wcscpy-ssse3 wcscpy-c.
28407 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28408 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28409 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28410 * sysdeps/x86_64/wcschr.S: New file.
28411 * sysdeps/x86_64/wcsrchr.S: New file.
28412 * string/test-strcmp.c: Remove checking of wcscmp function for
28414 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28415 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28416 wcsrchr-sse2 wcsrchr-c.
28417 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28418 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28419 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28420 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28421 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28422 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28423 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28424 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28425 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28426 * wcsmbc/wcschr.c (WCSCHR): New macro.
28428 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28430 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28431 * wcsmbs/test-wcsrchr.c: New file.
28432 * string/test-strrchr.c: Add wcsrchr support.
28434 * wcsmbs/test-wcscpy.c: New file.
28435 * string/test-strcpy.c: Add wcscpy support.
28438 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28440 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28443 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28446 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28448 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28450 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28451 Minor optimizations.
28453 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28454 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28455 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28457 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28459 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28460 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28461 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28462 for gcc to avoid warnings.
28463 * inet/Makefile (tests): Add tst-checks.
28464 * inet/tst-checks.c: New file.
28466 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28469 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28472 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28473 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28475 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28477 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28479 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28482 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28484 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28486 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28487 conditional on GCC version.
28488 (__arch_compare_and_exchange_val_8_acq)
28489 (__arch_compare_and_exchange_val_16_acq)
28490 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28491 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28492 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28494 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28496 * sysdeps/sh/backtrace.c: New file.
28498 2011-12-02 Andreas Schwab <schwab@redhat.com>
28500 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28503 2011-12-01 Andreas Schwab <schwab@redhat.com>
28505 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28506 falling back to utime.
28508 2011-11-30 Andreas Schwab <schwab@redhat.com>
28510 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28511 expectations for float.
28513 2011-11-29 Andreas Schwab <schwab@redhat.com>
28515 * locale/weight.h (findidx): Add parameter len.
28516 * locale/weightwc.h (findidx): Likewise.
28517 * posix/fnmatch_loop.c (FCT): Adjust caller.
28518 * posix/regcomp.c (build_equiv_class): Likewise.
28519 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28520 * posix/regexec.c (check_node_accept_bytes): Likewise.
28521 * string/strcoll_l.c (STRCOLL): Likewise.
28522 * string/strxfrm_l.c (STRXFRM): Likewise.
28524 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28526 * Makefile.in: Remove CVSOPT handling.
28527 * configure.in: Remove use of AC_REVISION.
28528 * iconvdata/Makefile (distribute): No need to filter out CVS.
28529 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28532 2011-11-16 Andreas Schwab <schwab@redhat.com>
28534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28535 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28536 [USE_AS_STRNCASECMP_L]: Likewise.
28537 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28538 NO_TLS_DIRECT_SEG_REFS.
28539 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28540 Fix argument offsets for non-PIC.
28541 [USE_AS_STRNCASECMP_L]: Likewise.
28542 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28543 NO_TLS_DIRECT_SEG_REFS.
28545 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28547 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28549 * locale/loadlocale.c (_nl_load_locale): Likewise.
28551 2011-11-15 Andreas Schwab <schwab@redhat.com>
28553 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28554 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28555 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28556 (SYSCALL_GETTIME): Set errno on error.
28558 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28559 count references to noai6ai_cached.
28561 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28563 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28565 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28566 FD_CLOEXEC for /proc/self/maps.
28568 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28569 FD_CLOEXEC for /proc/meminfo.
28571 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28574 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28575 FD_CLOEXEC for given file.
28577 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28579 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28580 FD_CLOEXEC for /etc/hosts.
28581 (_gethtent): Likewise.
28583 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28585 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28586 cancellation and set FD_CLOEXEC for /etc/netgroup.
28588 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28589 reading /etc/publickey.
28591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28592 allow cancellation when reading /etc/group.
28594 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28596 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28598 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28599 when using data file.
28601 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28603 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28604 (write_nis_obj): Use "c" and "e" in fopen.
28606 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28608 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28610 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28612 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28614 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28617 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28619 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28621 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28623 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28624 file parsing and set FD_CLOEXEC.
28626 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28628 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28630 2011-11-14 Andreas Schwab <schwab@redhat.com>
28632 * malloc/arena.c (arena_get2): Don't call reused_arena when
28633 _int_new_arena failed.
28635 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28637 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28638 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28639 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28640 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28641 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28642 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28643 to compile strcasecmp and strncasecmp.
28644 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28645 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28649 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28651 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28652 locale-defines.sym to gen-as-const-headers.
28653 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28654 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28655 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28656 to compile strcasecmp and strncasecmp.
28657 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28658 strcasecmp_l and strncasecmp_l.
28659 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28660 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28661 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28662 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28663 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28664 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28665 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28666 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28667 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28668 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28669 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28671 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28673 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28674 result of SYSDEP_GETTIME_CPU to retval.
28675 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28676 parameter list to macro. Remove trailing semicolon. Adjust users.
28678 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28681 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28683 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28685 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28686 from unused variable.
28688 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28690 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28693 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28696 * sunrpc/rpc_prot.c (rejected): Fix case value.
28698 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28699 unsigned long long int to avoid warnings in shift.
28701 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28703 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28706 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28707 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28708 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28710 * nis/nis_table.c (nis_list): Use variable of correct type for
28711 result of __follow_path call.
28713 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28715 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28716 of math functions ceil, trunc, floor, round, and sqrt, when
28717 avaliable on the platform.
28718 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28720 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28721 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28722 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28724 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28726 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28727 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28729 2011-11-11 Roland McGrath <roland@hack.frob.com>
28731 * include/unistd.h: Fix __readlink return type.
28732 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28734 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28736 * stdlib/ucontext.h: Undo last change for makecontext.
28738 2011-11-11 Andreas Schwab <schwab@redhat.com>
28740 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28742 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28743 * setjmp/setjmp.h: Mark functions as non-leaf.
28744 * setjmp/bits/setjmp2.h: Likewise.
28745 * stdlib/ucontext.h: Likewise.
28747 2011-11-10 Andreas Schwab <schwab@redhat.com>
28749 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28750 (reused_arena): Don't check arena limit.
28751 (arena_get2): Atomically check arena limit.
28753 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28755 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28756 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28761 2011-11-07 Andreas Schwab <schwab@redhat.com>
28763 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28764 handler when locking.
28766 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28767 Fix size of allocated buffer.
28769 2011-11-04 Andreas Schwab <schwab@redhat.com>
28772 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28773 declarations for long double functions.
28774 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28776 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28778 2011-11-03 Andreas Schwab <schwab@redhat.com>
28780 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28783 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28786 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28788 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28790 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28792 * include/alloca.h (stackinfo_alloca_round): Define.
28793 (extend_alloca): Use it.
28794 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28795 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28798 * scripts/check-local-headers.sh: Ignore libaudit.h.
28800 * nscd/Makefile (extra-objs): Make recursively expanded.
28802 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28804 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28805 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28807 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28808 * posix/tst-rfc3484-2.c: Likewise.
28809 * posix/tst-rfc3484-3.c: Likewise.
28811 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28813 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28815 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28816 process_vm_writev from libc using GLIBC_2.15 version.
28818 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28820 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28822 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28825 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28828 * nss/getent.c (initgroups_keys): Show error message in case no group
28831 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28832 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28833 __bump_nl_timestamp.
28834 * nscd/connections (nscd_init): When host database is served open
28835 netlink socket and request notification about configuration changes.
28836 (main_loop_poll): Track netlink file descriptor and bump timestamp
28837 in case data becomes available.
28838 (main_loop_epoll): Likewise.
28839 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28840 (database_pers_head): Add extra_data fileds.
28841 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28842 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28843 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28845 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28846 in6ai data, call __free_in6ai.
28847 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28848 Add -DHAVE_NETLINK.
28849 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28850 interface information. Reuse previous data if netlink timestamp
28852 (__bump_nl_timestamp): New function.
28853 (__free_in6ai): New function.
28855 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28857 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28858 close_not_cancel_no_status here.
28859 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28861 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28864 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28867 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28868 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28869 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28871 2011-07-03 Andreas Jaeger <aj@suse.de>
28874 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28875 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28876 * math/libm-test.inc (sin_test): Add test case.
28878 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28881 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28882 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28884 * elf/chroot_canon.c (chroot_canon): Cleanups.
28886 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28889 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28890 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28892 * string/test-strchr.c: Make usable for strchrnul testing.
28893 * string/test-strchrnul.c: New file.
28894 * string/Makefile (strop-tests): Add strchrnul.
28896 * po/it.po: Update from translation team.
28897 * po/es.po: Likewise.
28899 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28901 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28902 the three constants needed as parameters. Drop the others.
28903 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28904 __m128i_strloadu_tolower.
28905 Create and initialize variable zero and use it in all the places
28906 where _mm_setzero_si128 was used.
28908 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28909 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28910 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28911 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28913 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28914 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28915 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28916 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28917 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28918 __mpranred, __mptan.
28919 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28920 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28921 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28922 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28923 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28924 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28925 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28926 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28927 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28929 2011-10-28 Andreas Schwab <schwab@redhat.com>
28931 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28932 redefine if SHARED.
28933 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28936 wide char related routines to wcsmbs subdir.
28938 2011-10-27 Andreas Schwab <schwab@redhat.com>
28941 * misc/sys/cdefs.h (__THROWNL): Define.
28942 * posix/unistd.h: Use __THREADNL instead of __THREAD
28943 for memory synchronization functions.
28945 2011-10-26 Roland McGrath <roland@hack.frob.com>
28948 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28950 * manual/stdio.texi (Obstack Streams): Node removed.
28952 2011-10-26 Andreas Schwab <schwab@redhat.com>
28954 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28955 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28956 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28958 * math/math_private.h (math_force_eval): Allow non-addressable
28960 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28962 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28964 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28965 file is not needed.
28967 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28968 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28969 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28970 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28974 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28976 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28977 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28978 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28979 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28980 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28981 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28982 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28983 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28984 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28985 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28986 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28987 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28988 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28989 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28990 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28991 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28992 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28993 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28994 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28996 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28997 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28999 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29000 place. Use VEX encoding when compiling for AVX.
29002 2011-10-25 Andreas Schwab <schwab@redhat.com>
29004 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29005 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29007 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29009 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29011 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29012 useless if() expression.
29013 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29023 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29024 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29025 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29026 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29027 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29028 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29029 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29031 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29033 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29035 2011-10-25 Andreas Schwab <schwab@redhat.com>
29037 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29039 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29041 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29043 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29044 .text section. Avoid duplicate constants.
29045 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29055 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29057 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29058 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29059 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29060 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29061 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29062 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29063 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29068 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29069 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29070 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29071 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29072 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29073 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29074 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29075 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29076 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29077 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29078 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29079 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29080 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29081 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29083 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29084 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29085 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29086 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29087 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29088 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29089 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29091 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29093 * sysdeps/x86_64/dla.h: Move to ...
29094 * sysdeps/x86_64/fpu/dla.h: ...here.
29095 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29096 situations. Use __builtin_fma only for gcc 4.6 and up.
29098 * config.make.in: Add have-mfma4 entry.
29099 * configure.in: Substitute libc_cv_cc_fma4.
29100 * math/Makefile (dbl-only-routines): Add sincostab.
29101 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29102 Use __sincostab not sincos.
29103 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29105 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29108 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29110 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29111 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29112 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29113 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29115 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29116 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29118 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29119 define aliases when function name is a macro.
29120 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29121 sysdeps/ieee754/dbl-64/sincos.tbl.
29122 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29123 fma4-enabled routines.
29124 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29125 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29126 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29127 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29128 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29129 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29130 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29131 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29132 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29133 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29134 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29135 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29136 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29137 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29138 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29139 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29140 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29141 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29142 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29143 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29144 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29145 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29146 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29147 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29149 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29150 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29151 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29152 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29153 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29155 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29166 2011-10-24 Andreas Schwab <schwab@redhat.com>
29168 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29170 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29172 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29174 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29176 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29178 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29179 Remove unused variable magic_bits.
29180 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29182 * string/strnlen.c: Define and use STRNLEN macro.
29183 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29184 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29185 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29186 * wcsmbs/wcslen.c: Define and use WCSLEN.
29187 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29188 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29189 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29190 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29191 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29192 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29193 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29195 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29198 strnlen-sse2-no-bsf.
29199 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29200 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29201 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29202 Add strnlen support.
29203 (USE_AS_STRNLEN): New macro.
29204 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29205 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29206 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29207 * sysdeps/x86_64/wcslen.S: New file.
29209 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29211 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29212 XMM-moves are used for copying on small sizes.
29214 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29216 * wcsmbs/Makefile (strop-tests): Add wcschr.
29217 * wcsmbs/test-wcschr.c: New file.
29218 * string/test-strchr.c: Update.
29219 Add wcschr support.
29222 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29224 * wcsmbs/Makefile (strop-tests): Add wcslen.
29225 * wcsmbs/test-wcslen.c: New file.
29226 * string/test-strlen.c: Update.
29227 Add wcslen support.
29230 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29232 * po/it.po: Update from translation team.
29234 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29236 * sysdeps/x86_64/wcscmp.S: Update.
29237 Fix wrong comparison semantics.
29238 wcscmp shall use signed comparison not unsigned.
29239 Don't use substraction to avoid overflow bug.
29240 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29241 * wcsmbc/wcscmp.c: Likewise.
29242 * string/test-strcmp.c: Likewise.
29243 Add new tests to check cases with negative values.
29245 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29247 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29248 * sysdeps/x86_64/dla.h: ...here. New file.
29249 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29254 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29256 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29257 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29259 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29261 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29262 __ynl_finite aliases.
29264 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29266 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29268 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29270 [DLA_FMA] (EMULV): Use DLA_FMA.
29271 [DLA_FMA] (MUL12): Use EMULV.
29272 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29273 that are not needed.
29274 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29278 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29282 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29284 * math/s_nan.c: Undef __nan.
29285 * math/s_nanf.c: Undef __nanf.
29286 * math/s_nanl.c: Undef __nanl.
29287 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29290 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29292 * math/s_catan.c: Add branch predictions.
29293 * math/s_catanf.c: Likewise.
29294 * math/s_catanh.c: Likewise.
29295 * math/s_catanhf.c: Likewise.
29296 * math/s_catanhl.c: Likewise.
29297 * math/s_catanl.c: Likewise.
29298 * math/s_cexp.c: Likewise.
29299 * math/s_cexpf.c: Likewise.
29300 * math/s_cexpl.c: Likewise.
29301 * math/s_clog.c: Likewise.
29302 * math/s_clog10.c: Likewise.
29303 * math/s_clog10f.c: Likewise.
29304 * math/s_clog10l.c: Likewise.
29305 * math/s_clogf.c: Likewise.
29306 * math/s_clogl.c: Likewise.
29307 * math/s_csqrt.c: Likewise.
29308 * math/s_csqrtf.c: Likewise.
29309 * math/s_csqrtl.c: Likewise.
29310 * math/s_ctanf.c: Likewise.
29311 * math/s_ctanh.c: Likewise.
29312 * math/s_ctanhf.c: Likewise.
29313 * math/s_ctanhl.c: Likewise.
29314 * math/s_ctanl.c: Likewise.
29316 * math/math_private.h: Define __nan, __nanf, __nanl.
29317 * math/s_cacosh.c: Include <math_private.h>.
29318 * math/s_cacoshl.c: Likewise.
29319 * math/s_casinh.c: Likewise.
29320 * math/s_casinhf.c: Likewise.
29321 * math/s_casinhl.c: Likewise.
29322 * math/s_ccos.c: Rely entire on ccosh.
29323 * math/s_ccosf.c: Rely entire on ccoshf.
29324 * math/s_ccosl.c: Rely entirely on ccoshl.
29325 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29326 Remove tests for FE_INVALID.
29327 * math/s_ccoshf.c: Likewise.
29328 * math/s_ccoshl.c: Likewise.
29329 * math/s_csin.c: Likewise.
29330 * math/s_csinf.c: Likewise.
29331 * math/s_csinh.c Likewise.
29332 * math/s_csinhf.c: Likewise.
29333 * math/s_csinhl.c: Likewise.
29334 * math/s_csinl.c: Likewise.
29335 * math/s_ctan.c: Likewise.
29336 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29337 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29338 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29340 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29343 compilation problems.
29345 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29348 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29350 * sysdeps/i386/configure.in: Test for -mfma4 option.
29351 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29352 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29353 COMMON_CPUID_INDEX_80000001.
29354 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29355 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29356 use it if FMA3 is not supported.
29357 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29359 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29360 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29362 2011-10-20 Andreas Schwab <schwab@redhat.com>
29365 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29366 it would create a cycle with a link time dependency.
29368 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29370 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29372 * string/Makefile (strop-tests): Add rawmemchr.
29373 * string/test-rawmemchr.c: New file.
29375 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29376 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29377 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29378 when compiling str{,n}casecmp and when AVX is available. Hook up
29379 new optimized code in initializers.
29381 2011-10-19 Andreas Schwab <schwab@redhat.com>
29383 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29384 __feraiseexcept instead of feraiseexcept.
29386 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29388 * math/math_private.h: Define defaults for libc_fetestexcept and
29390 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29391 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29392 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29393 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29394 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29395 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29396 libc_fetestexcept and libc_feupdateenv.
29398 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29399 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29400 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29401 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29402 libc_feholdexcept_setround.
29404 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29405 Add s_nearbyint-c and s_nearbyintf-c.
29406 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29407 nearbyintf inlines.
29408 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29409 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29410 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29411 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29413 * math/math_private.h: Define defaults for libc_fegetround,
29414 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29415 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29416 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29417 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29418 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29419 standard functions.
29420 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29421 Remove comments and hacks for old compiler versions.
29422 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29423 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29424 libc_feholdexceptl.
29426 2011-10-18 Andreas Schwab <schwab@redhat.com>
29428 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29429 (__feraiseexcept_renamed): Add __NTH.
29430 (feraiseexcept): Add __NTH. Rename local variables to fix
29431 namespace violations.
29433 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29435 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29437 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29439 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29440 recently added interfaces.
29441 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29443 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29444 about macro parameter expansion.
29446 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29447 __NO_MATH_INLINES is defined. Cleanups.
29449 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29450 and __floorf is target has SSE4.1.
29451 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29452 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29453 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29454 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29456 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29458 (floorf): Likewise.
29460 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29462 2011-10-17 Andreas Schwab <schwab@redhat.com>
29464 * misc/sys/cdefs.h: Fix last change.
29466 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29469 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29471 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29473 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29474 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29475 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29476 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29478 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29479 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29480 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29481 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29482 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29483 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29484 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29485 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29486 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29487 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29488 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29489 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29490 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29491 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29492 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29493 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29494 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29496 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29497 ceil, ceilf, floor, floorf.
29499 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29500 Perform IRELATIVE relocations last.
29502 * elf/do-rel.h: Add another parameter nrelative, replacing the
29503 local variable with the same name. Change name of the function
29504 to end in Rel or Rela (uppercase).
29505 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29506 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29507 elf_dynamic_do_##reloc function.
29509 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29511 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29512 is sufficient, at least on modern CPUs.
29514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29516 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29517 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29519 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29521 * math/bits/math-finite.h: Add entries for exp.
29522 * math/e_expl.c: Add __*_finite alias.
29523 * sysdeps/i386/fpu/e_exp.S: Likewise.
29524 * sysdeps/i386/fpu/e_expf.S: Likewise.
29525 * sysdeps/i386/fpu/e_expl.c: Likewise.
29526 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29527 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29528 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29529 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29530 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29531 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29532 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29534 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29535 is sufficient, at least on modern CPUs.
29537 * ctype/ctype-info.c (__ctype_init): Define.
29538 * include/ctype.h (__ctype_init): Declare.
29539 (__ctype_b_loc): The variable is always initialized.
29540 (__ctype_toupper_loc): Likewise.
29541 (__ctype_tolower_loc): Likewise.
29542 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29543 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29545 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29547 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29549 * configure.in: Also look in $cxxmachine/include for C++ system
29552 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29554 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29555 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29556 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29557 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29558 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29559 (USE_AS_WMEMCMP): New macro.
29561 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29562 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29563 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29564 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29566 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29567 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29568 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29569 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29570 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29571 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29572 (USE_AS_WMEMCMP): New macro.
29573 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29574 * sysdeps/string/test-memcmp.c: Update.
29575 Fix simple_wmemcmp.
29577 * wcsmbs/wmemcmp.c: Update.
29578 (WMEMCMP): New macro.
29581 2011-10-12 Andreas Jaeger <aj@suse.de>
29584 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29586 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29588 * libio/iofwide.c (do_length): Avoid warning.
29590 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29592 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29594 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29596 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29597 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29598 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29599 * sysdeps/i386/i686/fpu/e_log.S: New file.
29600 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29601 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29603 * ctype/ctype.h: Add support for inlined isXXX functions when
29604 compiling C++ code.
29606 2011-10-14 Andreas Schwab <schwab@redhat.com>
29608 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29610 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29612 2011-10-13 Roland McGrath <roland@hack.frob.com>
29615 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29617 2011-10-13 Andreas Schwab <schwab@redhat.com>
29619 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29620 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29623 * sysdeps/x86_64/memrchr.S: Check for zero size.
29625 * string/stratcliff.c: Add memrchr tests.
29627 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29630 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29631 rawmemchr-sse2 rawmemchr-sse2-bsf.
29632 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29633 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29634 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29635 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29636 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29637 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29638 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29639 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29640 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29641 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29642 * string/memrchr.c (MEMRCHR): New macro.
29644 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29646 Add integration with gcc's -ffinite-math-only and optimize wrapper
29648 * Versions.def: Define GLIBC_2.15 version for libm.
29649 * math/Makefile (headers): Add bits/math-finite.h.
29650 * math/bits/math-finite.h: New file.
29651 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29652 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29653 * math/e_acoshl.c: Add __*_finite alias.
29654 * math/e_acosl.c: Likewise.
29655 * math/e_asinl.c: Likewise.
29656 * math/e_atan2l.c: Likewise.
29657 * math/e_atanhl.c: Likewise.
29658 * math/e_coshl.c: Likewise.
29659 * math/e_exp10.c: Likewise.
29660 * math/e_exp10f.c: Likewise.
29661 * math/e_exp10l.c: Likewise.
29662 * math/e_exp2l.c: Likewise.
29663 * math/e_fmodl.c: Likewise.
29664 * math/e_gammal_r.c: Likewise.
29665 * math/e_hypotl.c: Likewise.
29666 * math/e_j0l.c: Likewise.
29667 * math/e_j1l.c: Likewise.
29668 * math/e_jnl.c: Likewise.
29669 * math/e_lgammal_r.c: Likewise.
29670 * math/e_log10l.c: Likewise.
29671 * math/e_log2l.c: Likewise.
29672 * math/e_logl.c: Likewise.
29673 * math/e_powl.c: Likewise.
29674 * math/e_sinhl.c: Likewise.
29675 * math/e_sqrtl.c: Likewise.
29676 * math/e_scalb.c: Completely rewritten and optimized.
29677 * math/e_scalbf.c: Likewise.
29678 * math/e_scalbl.c: Likewise.
29679 * math/w_acos.c: Likewise.
29680 * math/w_acosf.c: Likewise.
29681 * math/w_acosl.c: Likewise.
29682 * math/w_acosh.c: Likewise.
29683 * math/w_acoshf.c: Likewise.
29684 * math/w_acoshl.c: Likewise.
29685 * math/w_asin.c: Likewise.
29686 * math/w_asinf.c: Likewise.
29687 * math/w_asinl.c: Likewise.
29688 * math/w_atan2.c: Likewise.
29689 * math/w_atan2f.c: Likewise.
29690 * math/w_atan2l.c: Likewise.
29691 * math/w_atanh.c: Likewise.
29692 * math/w_atanhf.c: Likewise.
29693 * math/w_atanhl.c: Likewise.
29694 * math/w_exp10.c: Likewise.
29695 * math/w_exp10f.c: Likewise.
29696 * math/w_exp10l.c: Likewise.
29697 * math/w_fmod.c: Likewise.
29698 * math/w_fmodf.c: Likewise.
29699 * math/w_fmodl.c: Likewise.
29700 * math/w_j0.c: Likewise.
29701 * math/w_j0f.c: Likewise.
29702 * math/w_j0l.c: Likewise.
29703 * math/w_j1.c: Likewise.
29704 * math/w_j1f.c: Likewise.
29705 * math/w_j1l.c: Likewise.
29706 * math/w_jn.c: Likewise.
29707 * math/w_jnf.c: Likewise.
29708 * math/w_log.c: Likewise.
29709 * math/w_logf.c: Likewise.
29710 * math/w_logl.c: Likewise.
29711 * math/w_log10.c: Likewise.
29712 * math/w_log10f.c: Likewise.
29713 * math/w_log10l.c: Likewise.
29714 * math/w_log2.c: Likewise.
29715 * math/w_log2f.c: Likewise.
29716 * math/w_log2l.c: Likewise.
29717 * math/w_pow.c: Likewise.
29718 * math/w_powf.c: Likewise.
29719 * math/w_powl.c: Likewise.
29720 * math/w_remainder.c: Likewise.
29721 * math/w_remainderf.c: Likewise.
29722 * math/w_remainderl.c: Likewise.
29723 * math/w_scalb.c: Likewise.
29724 * math/w_scalbf.c: Likewise.
29725 * math/w_scalbl.c: Likewise.
29726 * math/w_sqrt.c: Likewise.
29727 * math/w_sqrtf.c: Likewise.
29728 * math/w_sqrtl.c: Likewise.
29729 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29730 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29732 * math/math_private.h: Declare __kernel_standard_f.
29733 * math/w_cosh.c: Remove cruft and optimize a bit.
29734 * math/w_coshf.c: Likewise.
29735 * math/w_coshl.c: Likewise.
29736 * math/w_exp2.c: Likewise.
29737 * math/w_exp2f.c: Likewise.
29738 * math/w_exp2l.c: Likewise.
29739 * math/w_hypot.c: Likewise.
29740 * math/w_hypotf.c: Likewise.
29741 * math/w_hypotl.c: Likewise.
29742 * math/w_lgamma.c: Likewise.
29743 * math/w_lgamma_r.c: Likewise.
29744 * math/w_lgammaf.c: Likewise.
29745 * math/w_lgammaf_r.c: Likewise.
29746 * math/w_lgammal.c: Likewise.
29747 * math/w_lgammal_r.c: Likewise.
29748 * math/w_sinh.c: Likewise.
29749 * math/w_sinhf.c: Likewise.
29750 * math/w_sinhl.c: Likewise.
29751 * math/w_tgamma.c: Likewise.
29752 * math/w_tgammaf.c: Likewise.
29753 * math/w_tgammal.c: Likewise.
29754 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29755 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29756 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29757 Minor optimizations. Pretty printing. Remove cruft.
29758 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29759 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29760 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29761 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29762 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29763 * sysdeps/i386/fpu/e_asin.S: Likewise.
29764 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29765 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29766 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29767 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29768 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29769 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29770 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29771 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29772 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29773 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29774 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29775 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29776 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29777 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29778 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29779 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29780 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29781 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29782 * sysdeps/i386/fpu/e_log.S: Likewise.
29783 * sysdeps/i386/fpu/e_log10.S: Likewise.
29784 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29785 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29786 * sysdeps/i386/fpu/e_log2.S: Likewise.
29787 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29788 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29789 * sysdeps/i386/fpu/e_logf.S: Likewise.
29790 * sysdeps/i386/fpu/e_logl.S: Likewise.
29791 * sysdeps/i386/fpu/e_pow.S: Likewise.
29792 * sysdeps/i386/fpu/e_powf.S: Likewise.
29793 * sysdeps/i386/fpu/e_powl.S: Likewise.
29794 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29795 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29796 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29797 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29798 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29799 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29800 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29801 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29802 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29803 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29804 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29805 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29806 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29807 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29808 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29809 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29810 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29811 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29812 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29813 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29814 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29816 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29817 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29818 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29819 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29820 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29821 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29823 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29824 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29825 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29826 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29827 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29828 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29829 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29830 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29831 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29832 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29833 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29834 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29835 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29836 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29837 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29838 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29839 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29840 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29841 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29842 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29843 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29844 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29845 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29846 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29847 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29848 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29849 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29850 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29851 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29852 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29853 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29854 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29855 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29856 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29857 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29858 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29859 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29860 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29861 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29862 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29863 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29864 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29865 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29867 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29868 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29869 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29870 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29871 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29872 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29873 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29874 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29875 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29876 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29877 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29878 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29879 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29880 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29881 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29882 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29883 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29884 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29885 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29886 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29887 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29888 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29889 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29890 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29891 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29892 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29893 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29894 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29895 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29896 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29897 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29898 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29899 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29900 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29901 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29902 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29903 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29904 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29905 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29906 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29907 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29908 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29909 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29910 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29911 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29912 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29913 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29914 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29915 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29916 (__isnanf): Likewise.
29917 (__isinf_ns): Likewise.
29918 (__isinf_nsf): Likewise.
29919 (__finite): Likewise.
29920 (__finitef): Likewise.
29921 (__ieee754_sqrt): Define as macro.
29922 (__ieee754_sqrtf): Define as macro.
29923 (__ieee754_sqrtl): Define as macro.
29924 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29926 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29927 __FINITE_MATH_ONLY__ consistent.
29928 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29930 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29932 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29935 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29937 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29939 * po/ja.po: Update from translation team.
29941 2011-10-08 Roland McGrath <roland@hack.frob.com>
29943 * locale/programs/locarchive.c (prepare_address_space): New function.
29944 (create_archive, enlarge_archive, open_archive): Use it.
29946 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29947 inside [SHARED], where it is used.
29949 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29951 * nss/getent.c (netgroup_keys): Remove unused variable.
29952 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29954 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29956 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29957 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29959 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29960 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29961 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29962 * math/Makefile (libm-calls): Add s_isinf_ns.
29963 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29964 * math/multc3.c: Likewise.
29965 * math/s_casin.c: Likewise.
29966 * math/s_casinf.c: Likewise.
29967 * math/s_casinl.c: Likewise.
29968 * math/s_ccos.c: Likewise.
29969 * math/s_ccosf.c: Likewise.
29970 * math/s_ccosl.c: Likewise.
29971 * math/s_ctan.c: Likewise.
29972 * math/s_ctanf.c: Likewise.
29973 * math/s_ctanh.c: Likewise.
29974 * math/s_ctanhf.c: Likewise.
29975 * math/s_ctanhl.c: Likewise.
29976 * math/s_ctanl.c: Likewise.
29977 * math/w_fmod.c: Likewise.
29978 * math/w_fmodf.c: Likewise.
29979 * math/w_fmodl.c: Likewise.
29980 * math/w_remainder.c: Likewise.
29981 * math/w_remainderf.c: Likewise.
29982 * math/w_remainderl.c: Likewise.
29983 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29984 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29985 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29986 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29987 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29988 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29989 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29990 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29992 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29994 * stdio-common/printf_fphex.c: Likewise.
29995 * stdio-common/printf_size.c: Likewise.
29997 * math/e_exp10.c: Include math_private.h using <...> not "...".
29998 * math/e_exp10f.c: Likewise.
29999 * math/e_exp10l.c: Likewise.
30000 * math/e_exp2l.c: Likewise.
30001 * math/e_j0l.c: Likewise.
30002 * math/e_j1l.c: Likewise.
30003 * math/e_jnl.c: Likewise.
30004 * math/e_lgammal_r.c: Likewise.
30005 * math/e_rem_pio2l.c: Likewise.
30006 * math/e_scalb.c: Likewise.
30007 * math/e_scalbf.c: Likewise.
30008 * math/e_scalbl.c: Likewise.
30009 * math/k_cosl.c: Likewise.
30010 * math/k_sinl.c: Likewise.
30011 * math/k_tanl.c: Likewise.
30012 * math/s_cacoshf.c: Likewise.
30013 * math/s_catan.c: Likewise.
30014 * math/s_catanf.c: Likewise.
30015 * math/s_catanh.c: Likewise.
30016 * math/s_catanhf.c: Likewise.
30017 * math/s_catanhl.c: Likewise.
30018 * math/s_catanl.c: Likewise.
30019 * math/s_ccosh.c: Likewise.
30020 * math/s_ccoshf.c: Likewise.
30021 * math/s_ccoshl.c: Likewise.
30022 * math/s_cexp.c: Likewise.
30023 * math/s_cexpf.c: Likewise.
30024 * math/s_cexpl.c: Likewise.
30025 * math/s_clog.c: Likewise.
30026 * math/s_clog10.c: Likewise.
30027 * math/s_clog10f.c: Likewise.
30028 * math/s_clog10l.c: Likewise.
30029 * math/s_clogf.c: Likewise.
30030 * math/s_clogl.c: Likewise.
30031 * math/s_csin.c: Likewise.
30032 * math/s_csinf.c: Likewise.
30033 * math/s_csinh.c: Likewise.
30034 * math/s_csinhf.c: Likewise.
30035 * math/s_csinhl.c: Likewise.
30036 * math/s_csinl.c: Likewise.
30037 * math/s_csqrt.c: Likewise.
30038 * math/s_csqrtf.c: Likewise.
30039 * math/s_csqrtl.c: Likewise.
30040 * math/s_ctan.c: Likewise.
30041 * math/s_ctanf.c: Likewise.
30042 * math/s_ctanh.c: Likewise.
30043 * math/s_ctanhf.c: Likewise.
30044 * math/s_ctanhl.c: Likewise.
30045 * math/s_ctanl.c: Likewise.
30046 * math/s_ldexp.c: Likewise.
30047 * math/s_ldexpf.c: Likewise.
30048 * math/s_ldexpl.c: Likewise.
30049 * math/s_significand.c: Likewise.
30050 * math/s_significandf.c: Likewise.
30051 * math/s_significandl.c: Likewise.
30052 * math/w_acos.c: Likewise.
30053 * math/w_acosf.c: Likewise.
30054 * math/w_acosh.c: Likewise.
30055 * math/w_acoshf.c: Likewise.
30056 * math/w_acoshl.c: Likewise.
30057 * math/w_acosl.c: Likewise.
30058 * math/w_asin.c: Likewise.
30059 * math/w_asinf.c: Likewise.
30060 * math/w_asinl.c: Likewise.
30061 * math/w_atan2.c: Likewise.
30062 * math/w_atan2f.c: Likewise.
30063 * math/w_atan2l.c: Likewise.
30064 * math/w_atanh.c: Likewise.
30065 * math/w_atanhf.c: Likewise.
30066 * math/w_atanhl.c: Likewise.
30067 * math/w_cosh.c: Likewise.
30068 * math/w_coshf.c: Likewise.
30069 * math/w_coshl.c: Likewise.
30070 * math/w_dremf.c: Likewise.
30071 * math/w_exp10.c: Likewise.
30072 * math/w_exp10f.c: Likewise.
30073 * math/w_exp10l.c: Likewise.
30074 * math/w_exp2.c: Likewise.
30075 * math/w_exp2f.c: Likewise.
30076 * math/w_fmod.c: Likewise.
30077 * math/w_fmodf.c: Likewise.
30078 * math/w_fmodl.c: Likewise.
30079 * math/w_hypot.c: Likewise.
30080 * math/w_hypotf.c: Likewise.
30081 * math/w_hypotl.c: Likewise.
30082 * math/w_j0.c: Likewise.
30083 * math/w_j0f.c: Likewise.
30084 * math/w_j0l.c: Likewise.
30085 * math/w_j1.c: Likewise.
30086 * math/w_j1f.c: Likewise.
30087 * math/w_j1l.c: Likewise.
30088 * math/w_jn.c: Likewise.
30089 * math/w_jnf.c: Likewise.
30090 * math/w_jnl.c: Likewise.
30091 * math/w_lgamma.c: Likewise.
30092 * math/w_lgamma_r.c: Likewise.
30093 * math/w_lgammaf.c: Likewise.
30094 * math/w_lgammaf_r.c: Likewise.
30095 * math/w_lgammal.c: Likewise.
30096 * math/w_lgammal_r.c: Likewise.
30097 * math/w_log.c: Likewise.
30098 * math/w_log10.c: Likewise.
30099 * math/w_log10f.c: Likewise.
30100 * math/w_log10l.c: Likewise.
30101 * math/w_log2.c: Likewise.
30102 * math/w_log2f.c: Likewise.
30103 * math/w_log2l.c: Likewise.
30104 * math/w_logf.c: Likewise.
30105 * math/w_logl.c: Likewise.
30106 * math/w_pow.c: Likewise.
30107 * math/w_powf.c: Likewise.
30108 * math/w_powl.c: Likewise.
30109 * math/w_remainder.c: Likewise.
30110 * math/w_remainderf.c: Likewise.
30111 * math/w_remainderl.c: Likewise.
30112 * math/w_scalb.c: Likewise.
30113 * math/w_scalbf.c: Likewise.
30114 * math/w_scalbl.c: Likewise.
30115 * math/w_sinh.c: Likewise.
30116 * math/w_sinhf.c: Likewise.
30117 * math/w_sinhl.c: Likewise.
30118 * math/w_sqrt.c: Likewise.
30119 * math/w_sqrtf.c: Likewise.
30120 * math/w_sqrtl.c: Likewise.
30121 * math/w_tgamma.c: Likewise.
30122 * math/w_tgammaf.c: Likewise.
30123 * math/w_tgammal.c: Likewise.
30125 * po/ja.po: Update from translation team.
30127 2011-09-29 Andreas Jaeger <aj@suse.de>
30130 * sunrpc/netname.c (netname2host): Fix logic.
30134 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30136 * math/w_remainder.c (__remainder): Likewise.
30137 * math/w_remainderf.c (__remainderf): Likewise.
30138 * math/libm-test.inc (remainder_test): Add test cases.
30140 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30142 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30145 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30147 * string/test-memcmp.c: Avoid unncessary #defines.
30148 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30150 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30152 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30153 Use new sse2 version for core i3 - i7 as it's faster
30154 than sse42 version.
30155 (bit_Prefer_PMINUB_for_stringop): New.
30156 * sysdeps/x86_64/rawmemchr.S: Update.
30157 Replace with faster SSE2 version.
30158 * sysdeps/x86_64/memrchr.S: New file.
30159 * sysdeps/x86_64/memchr.S: Update.
30160 Replace with faster SSE2 version.
30162 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30164 * elf/dl-load.c (lose): Add cast to avoid warning.
30166 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30168 * po/ca.po: Update from translation team.
30170 * inet/getnetgrent_r.c: Hook up nscd.
30171 * nscd/Makefile (routines): Add nscd_netgroup.
30172 (nscd-modules): Add netgroupcache.
30173 (CFLAGS-netgroupcache.c): Define.
30174 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30175 (cache_search): Add const to second parameter.
30176 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30178 (dbs): Add netgrdb entry.
30179 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30180 (verify_persistent_db): Handle netgrdb.
30181 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30182 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30184 (netgroup_response_header): Define.
30185 (innetgroup_response_header): Define.
30186 (datahead): Add netgroup_response_header and innetgroup_response_header
30188 * nscd/nscd.conf: Add entries for netgroup cache.
30189 * nscd/nscd.h (dbtype): Add netgrdb.
30190 (_PATH_NSCD_NETGROUP_DB): Define.
30191 (netgroup_iov_disabled): Declare.
30192 (xmalloc, xcalloc, xrealloc): Move declarations here.
30193 (cache_search): Adjust prototype.
30194 Add netgroup-related prototypes.
30195 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30196 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30197 (__nscd_innetgr): Declare.
30198 * nscd/selinux.c (perms): Use access_vector_t as element type and
30199 add netgroup-related initializers.
30200 * nscd/netgroupcache.c: New file.
30201 * nscd/nscd_netgroup.c: New file.
30202 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30203 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30204 For four parameters use innetgr.
30205 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30206 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30207 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30208 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30210 * nscd/connections.c (register_traced_file): Don't register file
30211 for disabled databases.
30213 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30215 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30217 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30218 from tree and freeing node.
30220 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30222 * nss/nsswitch.c (__nss_database_lookup): Handle
30223 nss_parse_service_list out of memory case.
30225 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30227 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30228 out of memory case.
30230 2011-10-04 Andreas Schwab <schwab@redhat.com>
30232 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30233 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30235 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30236 elf_machine_rela, elf_machine_lazy_rel.
30237 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30238 (ELF_DYNAMIC_DO_REL): Likewise.
30239 (ELF_DYNAMIC_DO_RELA): Likewise.
30240 (ELF_DYNAMIC_RELOCATE): Likewise.
30241 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30242 to ELF_DYNAMIC_DO_REL.
30243 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30244 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30245 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30248 skip_ifunc, don't call ifunc function if non-zero.
30249 (elf_machine_rela): Likewise.
30250 (elf_machine_lazy_rel): Likewise.
30251 (elf_machine_lazy_rela): Likewise.
30252 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30253 (elf_machine_lazy_rel): Likewise.
30254 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30256 (elf_machine_lazy_rel): Likewise.
30257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30259 (elf_machine_lazy_rel): Likewise.
30260 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30261 (elf_machine_lazy_rel): Likewise.
30262 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30263 (elf_machine_lazy_rel): Likewise.
30264 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30265 (elf_machine_lazy_rel): Likewise.
30266 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30267 (elf_machine_lazy_rel): Likewise.
30268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30269 (elf_machine_lazy_rel): Likewise.
30270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30271 (elf_machine_lazy_rel): Likewise.
30273 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30275 * nss/nss_files/files-init.c (_nss_files_init): Use static
30276 initialization for all the *_traced_file variables.
30278 2011-09-28 Andreas Schwab <schwab@redhat.com>
30280 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30282 2011-09-27 Roland McGrath <roland@hack.frob.com>
30285 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30287 2011-09-27 Andreas Schwab <schwab@redhat.com>
30289 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30290 Reread the line before reparsing it.
30292 2011-09-26 Andreas Schwab <schwab@redhat.com>
30294 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30296 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30297 Maxim Kuvyrkov <maxim@codesourcery.com>
30298 Joseph Myers <joseph@codesourcery.com>
30300 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30301 if needed for __stack_chk_guard.
30303 2011-09-19 Roland McGrath <roland@hack.frob.com>
30305 * sysdeps/posix/spawni.c (script_execute): Always define it.
30306 It will be optimized away if unused.
30307 (maybe_script_execute): New function.
30308 (__spawni): Call it.
30310 * Makerules: Don't include tls.make.
30311 (config-tls): Always set to thread.
30312 * tls.make.c: File removed.
30314 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30316 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30317 * config.make.in (CPPFLAGS-config): New substituted variable.
30319 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30324 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30325 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30327 2011-09-15 Roland McGrath <roland@hack.frob.com>
30329 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30330 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30332 (CALL_FAIL): Likewise.
30333 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30334 (CALL_FAIL): Macro removed.
30335 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30337 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30339 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30340 for __FINITE_MATH_ONLY__ == 1.
30342 2011-09-15 Andreas Schwab <schwab@redhat.com>
30344 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30345 __ieee754_sqrt instead of sqrt.
30346 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30347 __ieee754_sqrtf instead of sqrtf.
30348 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30349 __floorf instead of floorf.
30350 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30351 __floorf, __truncf instead of floorf, truncf.
30353 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30355 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30357 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30358 __extern_always_inline.
30359 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30362 2011-09-14 Andreas Schwab <schwab@redhat.com>
30364 * elf/rtld.c (dl_main): Also relocate in dependency order when
30365 doing symbol dependency testing.
30367 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30369 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30370 Always define `refsym'.
30372 2011-09-13 Andreas Schwab <schwab@redhat.com>
30374 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30375 (__FD_ELT): Renamed from __FDELT.
30376 * misc/bits/select2.h (__FD_ELT): Likewise.
30377 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30378 __FD_MASK instead of __FDELT, __FDMASK.
30379 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30381 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30384 * elf/Makefile (gen-ldd): Fix pattern.
30386 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30387 (init_tls): Likewise.
30389 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30393 2011-09-12 Andreas Schwab <schwab@redhat.com>
30395 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30396 `struct cmsghdr *' instead of `void *'.
30397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30400 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30402 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30404 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30405 ldd_rewrite_script.
30407 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30409 * configure.in: Remove --with-tls option.
30410 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30411 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30412 out in case it is missing.
30413 * sysdeps/ia64/elf/configure.in: Likewise.
30414 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30415 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30416 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30417 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30418 * sysdeps/sh/elf/configure.in: Likewise.
30419 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30420 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30421 * sysdeps/x86_64/elf/configure.in: Likewise.
30422 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30423 * sysdeps/mach/hurd/tls.h: Likewise.
30426 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30429 * configure.in: Fix use of AC_INIT.
30431 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30433 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30435 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30437 * malloc/hooks.c: Likewise.
30440 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30441 variables statically.
30442 (narenas): Initialize.
30443 (list_lock): Initialize.
30444 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30445 initializtion of main_arena and list_lock. Small cleanups.
30446 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30447 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30448 Add initializers to main_arena and mp_.
30449 (malloc_state): Remove pagesize member. Change all users to use
30452 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30453 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30454 is always initialized.
30456 * malloc/malloc.c: Removed unused configurations and dead code.
30457 * malloc/arena.c: Likewise.
30458 * malloc/hooks.c: Likewise.
30459 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30461 * include/tls.h: Removed. USE___THREAD must always be defined.
30462 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30463 * elf/dl-libc.c: Likewise.
30464 * elf/dl-tsd.c: Likewise.
30465 * include/errno.h: Likewise.
30466 * include/netdb.h: Likewise.
30467 * include/resolv.h: Likewise.
30468 * inet/herrno-loc.c: Likewise.
30469 * inet/herrno.c: Likewise.
30470 * malloc/arena.c: Likewise.
30471 * malloc/hooks.c: Likewise.
30472 * malloc/malloc.c: Likewise.
30473 * resolv/res-state.c: Likewise.
30474 * resolv/res_libc.c: Likewise.
30475 * sysdeps/i386/dl-machine.h: Likewise.
30476 * sysdeps/ia64/dl-machine.h: Likewise.
30477 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30478 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30479 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30480 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30481 * sysdeps/sh/dl-machine.h: Likewise.
30482 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30483 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30484 * sysdeps/unix/i386/sysdep.S: Likewise.
30485 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30486 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30488 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30489 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30491 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30495 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30496 * sysdeps/x86_64/dl-machine.h: Likewise.
30497 * tls.make.c: Likewise.
30499 * configure.in: Remove --with-__thread option. Make tests for
30500 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30501 tls_model attribute fail if no support is available. Remove
30503 * Makeconfig: Adjust for dropped configure option. All features are
30505 * Makerules: Likewise.
30506 * Versions.def: Likewise.
30507 * argp/argp-fmtstream.c: Likewise.
30508 * argp/argp-fmtstream.h: Likewise.
30509 * argp/argp-help.c: Likewise.
30510 * assert/assert.c: Likewise.
30511 * config.h.in: Likewise.
30512 * config.make.in: Likewise.
30513 * configure: Likewise.
30514 * configure.in: Likewise.
30515 * csu/Versions: Likewise.
30516 * csu/init.c: Likewise.
30517 * elf/tst-audit2.c: Likewise.
30518 * elf/tst-tls10.c: Likewise.
30519 * elf/tst-tls10.h: Likewise.
30520 * elf/tst-tls11.c: Likewise.
30521 * elf/tst-tls12.c: Likewise.
30522 * elf/tst-tls14.c: Likewise.
30523 * elf/tst-tlsmod11.c: Likewise.
30524 * elf/tst-tlsmod12.c: Likewise.
30525 * elf/tst-tlsmod13.c: Likewise.
30526 * elf/tst-tlsmod13a.c: Likewise.
30527 * elf/tst-tlsmod14a.c: Likewise.
30528 * elf/tst-tlsmod15b.c: Likewise.
30529 * elf/tst-tlsmod16a.c: Likewise.
30530 * elf/tst-tlsmod16b.c: Likewise.
30531 * elf/tst-tlsmod7.c: Likewise.
30532 * elf/tst-tlsmod8.c: Likewise.
30533 * elf/tst-tlsmod9.c: Likewise.
30534 * gmon/gmon.c: Likewise.
30535 * grp/fgetgrent_r.c: Likewise.
30536 * grp/putgrent.c: Likewise.
30537 * hurd/fopenport.c: Likewise.
30538 * include/libc-symbols.h: Likewise.
30539 * include/tls.h: Likewise.
30540 * intl/gettextP.h: Likewise.
30541 * intl/loadinfo.h: Likewise.
30542 * locale/global-locale.c: Likewise.
30543 * locale/localeinfo.h: Likewise.
30544 * mach/devstream.c: Likewise.
30545 * malloc/arena.c: Likewise.
30546 * malloc/set-freeres.c: Likewise.
30547 * misc/err.c: Likewise.
30548 * misc/getttyent.c: Likewise.
30549 * misc/mntent_r.c: Likewise.
30550 * posix/getopt.c: Likewise.
30551 * posix/wordexp.c: Likewise.
30552 * pwd/fgetpwent_r.c: Likewise.
30553 * resolv/Versions: Likewise.
30554 * resolv/res_hconf.c: Likewise.
30555 * shadow/fgetspent_r.c: Likewise.
30556 * shadow/putspent.c: Likewise.
30557 * stdio-common/printf_fphex.c: Likewise.
30558 * stdio-common/tmpfile.c: Likewise.
30559 * stdlib/abort.c: Likewise.
30560 * stdlib/fmtmsg.c: Likewise.
30561 * sunrpc/auth_unix.c: Likewise.
30562 * sunrpc/clnt_perr.c: Likewise.
30563 * sunrpc/clnt_tcp.c: Likewise.
30564 * sunrpc/clnt_udp.c: Likewise.
30565 * sunrpc/clnt_unix.c: Likewise.
30566 * sunrpc/openchild.c: Likewise.
30567 * sunrpc/svc_simple.c: Likewise.
30568 * sunrpc/svc_tcp.c: Likewise.
30569 * sunrpc/svc_udp.c: Likewise.
30570 * sunrpc/svc_unix.c: Likewise.
30571 * sunrpc/xdr.c: Likewise.
30572 * sunrpc/xdr_array.c: Likewise.
30573 * sunrpc/xdr_rec.c: Likewise.
30574 * sunrpc/xdr_ref.c: Likewise.
30575 * sunrpc/xdr_stdio.c: Likewise.
30577 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30579 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30581 2011-07-03 Andreas Jaeger <aj@suse.de>
30583 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30584 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30585 regenerate with gen-libm-tests.pl.
30587 2010-05-12 Petr Baudis <pasky@suse.cz>
30590 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30591 around j0() zero points by switching to j1().
30592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30593 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30594 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30595 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30597 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30599 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30601 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30604 Patch in part by Pavel Roskin <proski@gnu.org>.
30607 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30609 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30610 Free memory block if necessary.
30613 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30614 be NULL. Don't lock in this case.
30616 2011-09-09 Roland McGrath <roland@hack.frob.com>
30618 * elf/elf.h (ELFOSABI_GNU): New macro.
30619 (ELFOSABI_LINUX): Define to that.
30621 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30623 * string/strncat.c (strncat): Undef the symbol in case it has been
30624 defined in bits/string.h.
30626 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30628 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30630 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30633 2011-08-17 Andreas Jaeger <aj@suse.de>
30635 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30637 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30638 Ian Lance Taylor <iant@google.com>
30640 * math/libm-test.inc (lround_test): New testcase.
30641 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30643 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30645 * Makefile: Remove support for automatic cvs check-ins.
30646 * Makerules: Likewise.
30647 * config.make.in: Likewise.
30648 * configure.in: Likewise.
30649 * intl/Makefile: Likewise.
30650 * locale/Makefile: Likewise.
30651 * po/Makefile: Likewise.
30652 * posix/Makefile: Likewise.
30653 * sysdeps/gnu/Makefile: Likewise.
30654 * sysdeps/mach/hurd/Makefile: Likewise.
30655 * sysdeps/sparc/sparc32/Makefile: Likewise.
30658 * posix/Makefile (bug-regex32-ENV): Define.
30659 Patch by John Stanley <jpsinthemix@verizon.net>.
30661 * misc/Makefile (headers): Add bits/select2.h.
30662 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30663 * misc/bits/select2.h: New file.
30664 * include/bits/select2.h: New file.
30665 * debug/Makefile (routines): Add fdelt_chk.
30666 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30667 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30669 * debug/fdelt_chk.c: New file.
30671 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30672 * wcsmbs/test-wmemcmp.c: Likewise.
30673 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30674 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30676 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30678 * string/Makefile (strop-tests): Add memcmp.
30679 * string/test-wmemcmp.c: New file.
30680 * string/test-memcmp.c: Add wmemcmp support.
30682 2011-09-08 Roland McGrath <roland@hack.frob.com>
30685 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30688 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30689 garbage value in a __mach_port_mod_refs call in the cases of the
30690 task-self and thread-self ports.
30692 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30694 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30696 2011-09-08 Andreas Schwab <schwab@redhat.com>
30698 * elf/dl-load.c (lose): Check for non-null L.
30700 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30702 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30704 * elf/dl-libc.c (dlerror_run): Pass back error code from
30708 * elf/dl-load.c (lose): Free l_origin if it is valid.
30710 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30712 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30713 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30714 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30715 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30716 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30717 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30719 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30721 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30722 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30723 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30724 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30725 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30726 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30727 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30728 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30729 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30730 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30732 2011-08-15 Alan Modra <amodra@gmail.com>
30735 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30736 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30737 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30738 ppc_mcount to static-only-routines.
30739 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30741 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30742 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30744 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30746 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30747 for finite and infinity parameters.
30749 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30752 and add nop instructions for throughput optimization.
30753 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30755 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30757 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30758 aligned copy for power7 with vector-scalar instructions.
30759 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30761 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30766 2011-09-07 Andreas Schwab <schwab@redhat.com>
30769 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30772 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30774 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30775 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30776 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30777 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30780 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30782 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30783 Forgot to demangle the pointer.
30785 * sysdeps/i386/sysdep.h: Define atom_text_section.
30786 * sysdeps/x86_64/sysdep.h: Likewise.
30787 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30788 section with atom_text_section.
30789 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30790 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30791 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30792 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30793 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30795 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30796 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30797 already be defined. Change to take two parameters and don't assign
30798 result to variable. Adjust all users.
30799 Define INTERNAL_GETTIME if not already defined.
30800 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30802 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30803 HAVE_CLOCK_GETTIME_VSYSCALL.
30804 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30806 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30807 gettimeofday vsyscall, just use time.
30809 2011-09-06 Andreas Schwab <schwab@redhat.com>
30811 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30814 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30816 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30818 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30820 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30821 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30822 syscall if possible.
30824 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30826 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30827 e_ident. Don't pass to find_mapsXX.
30828 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30830 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30833 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30834 * sysdeps/x86_64/multiarch/strchr.S: Update.
30835 Check bit_slow_BSF bit.
30836 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30837 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30838 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30840 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30843 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30845 (tryshell): Define.
30846 (__spawni): Change last parameter to be flag. Test
30847 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30848 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30849 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30850 * posix/spawni.c: Likewise.
30851 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30852 * posix/spawnp.c: Likewise. Change normal version to use
30853 SPAWN_XFLAGS_USE_PATH.
30854 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30855 SPAWN_XFLAGS_TRY_SHELL.
30858 * posix/glob.h: Remove gcc 1.x support.
30861 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30863 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30866 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30868 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30869 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30870 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30871 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30872 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30873 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30875 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30877 * sysdeps/x86_64/wcscmp.S: New file.
30879 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30880 wcscmp-c wcscmp-sse2
30881 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30882 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30883 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30884 * wcsmbs/wcscmp.c: Allow renaming.
30886 2011-09-05 David S. Miller <davem@davemloft.net>
30888 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30889 stack slot, rather than the struct return pointer slot.
30890 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30891 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30893 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30895 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30897 * po/ja.po: Update from translation team.
30900 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30901 kernel in 64-bit binaries.
30903 2011-09-01 David S. Miller <davem@davemloft.net>
30905 * elf/elf.h (HWCAP_SPARC_*): Move to..
30906 * sysdeps/sparc/sysdep.h: this new file and add new values.
30907 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30908 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30909 _DL_HWCAP_COUNT to 24.
30910 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30912 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30913 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30914 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30915 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30916 instead of magic constants.
30917 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30919 2011-08-31 David S. Miller <davem@davemloft.net>
30921 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30922 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30923 Reimplement to do errno handling inline.
30924 (SYSCALL_ERROR_HANDLER): New macro.
30925 (__SYSCALL_STRING): Do not do errno handling in asm.
30926 (__CLONE_SYSCALL_STRING): Delete.
30927 (__INTERNAL_SYSCALL_STRING): Delete.
30928 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30929 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30930 (PSEUDO): Reimplement to do errno handling inline.
30931 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30932 (SYSCALL_ERROR_HANDLER): New macro.
30933 (__SYSCALL_STRING): Do not do errno handling in asm.
30934 (__CLONE_SYSCALL_STRING): Delete.
30935 (__INTERNAL_SYSCALL_STRING): Delete.
30936 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30937 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30939 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30940 (inline_syscall*): Add 'err' argument.
30941 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30942 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30943 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30944 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30946 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30947 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30949 2011-08-30 Andreas Schwab <schwab@redhat.com>
30951 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30953 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30955 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30958 2011-08-24 David S. Miller <davem@davemloft.net>
30960 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30962 2011-08-24 Andreas Schwab <schwab@redhat.com>
30964 * elf/Makefile: Add rules to build and run unload8 test.
30965 * elf/unload8.c: New file.
30966 * elf/unload8mod1.c: New file.
30967 * elf/unload8mod1x.c: New file.
30968 * elf/unload8mod2.c: New file.
30969 * elf/unload8mod3.c: New file.
30971 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30974 2011-08-23 David S. Miller <davem@davemloft.net>
30976 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30977 subtract stack bias.
30978 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30979 %sp not %fp in calculations.
30980 (_JMPBUF_UNWINDS_ADJ): Likewise.
30982 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30983 (aio_suspend): Call it to force an exception region around the
30984 AIO_MISC_WAIT() invocation.
30986 2011-08-23 Andreas Schwab <schwab@redhat.com>
30988 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30991 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30993 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30995 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30996 and <dl-machine.h>.
30997 (Elf64_FuncDesc): Remove.
30999 2011-08-22 David S. Miller <davem@davemloft.net>
31001 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31002 sigaltstack check, add missing cfi directives.
31003 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31004 missing cfi directives, and sigaltstack handling.
31006 2011-08-16 Andreas Schwab <schwab@redhat.com>
31009 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31010 object is seen twice.
31011 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31013 * elf/Makefile (distribute): Add tst-initorder2.c.
31014 (tests): Add tst-initorder2.
31015 (modules-names): Add tst-initorder2a tst-initorder2b
31016 tst-initorder2c tst-initorder2d. Add rules to build them.
31017 ($(objpfx)tst-initorder2.out): New rule.
31018 * elf/tst-initorder2.c: New file.
31019 * elf/tst-initorder2.exp: New file.
31021 2011-08-22 Andreas Schwab <schwab@redhat.com>
31023 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31025 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31026 dependencies back to end of function.
31028 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31029 $(elfobjdir)/ld.so.
31031 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31034 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31035 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31036 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31037 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31038 of __vdso_gettimeofday.
31039 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31040 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31042 (_libc_vdso_platform_setup): Remove initialization of
31043 __vdso_gettimeofday and __vdso_time.
31045 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31047 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31048 and fgetc_unlocked.
31049 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31052 * elf/dl-open.c (add_to_global): Report additions to the global scope
31053 for LD_DEBUG=scopes.
31054 (dl_open_worker): Also print scope of newly loaded dependencies.
31055 (_dl_show_scope): Indicate if there is no scope.
31058 * stdio-common/Makefile (tests): Add bug24.
31059 * stdio-common/bug24.c: New file.
31061 2011-08-19 Andreas Jaeger <aj@suse.de>
31064 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31065 non-existant file when using close-on-exec mode.
31067 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31070 the very first instruction.
31072 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31073 the CFI state in the end.
31074 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31075 inclusion of dl-trampoline.h.
31076 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31078 2011-08-19 Andreas Schwab <schwab@redhat.com>
31080 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31081 expectations for long double.
31083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31084 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31086 2011-08-14 David S. Miller <davem@davemloft.net>
31088 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31089 artificual limit depends upon the system page size.
31091 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31093 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31094 * resolv/Makefile: Define CFLAGS-libresolv.
31096 2011-08-17 Andreas Schwab <schwab@redhat.com>
31098 * nss/makedb.c (compute_tables): Make variables used in nested
31101 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31103 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31104 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31105 if buffer was too small.
31107 * elf/pldd.c (main): Attach to all threads in the process.
31108 Rewrite /proc handling to use *at functions.
31110 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31112 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31113 specifies first scope to show.
31114 (dl_open_worker): Update callers. Move printing scope of new
31115 object to before the relocation.
31116 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31117 * sysdeps/generic/ldsodefs.h: Update declaration.
31119 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31120 string for the scope number.
31122 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31124 * nscd/servicescache.c (cache_addserv): Make sure written is always
31127 2011-08-14 Roland McGrath <roland@hack.frob.com>
31129 * sysdeps/i386/i486/bits/atomic.h
31130 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31131 statement expression, so as to suppress "set but not used" warning.
31132 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31134 * string/strncat.c (STRNCAT): Use prototype definition.
31136 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31137 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31139 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31140 (localedef-modules): Add localedef.
31141 (locale-modules): Add locale.
31143 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31144 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31145 to avoid a warning.
31147 2011-08-14 David S. Miller <davem@davemloft.net>
31149 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31150 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31152 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31154 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31155 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31156 * elf/rtld.c (dl_main): Set l_name of vDSO.
31157 Call _dl_show_scope when DL_DEBUG_SCOPES.
31158 (process_dl_debug): Recognize scopes flag and also set it for all.
31159 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31160 Declare _dl_show_scope.
31162 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31163 (do_dlopen): Pass caller_dlopen to dl_open.
31164 (__libc_dlopen_mode): Initialize caller_dlopen.
31166 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31167 of libc. Make tolower call locale-independent. Optimize a bit by
31168 using isdigit instead of isalnum.
31169 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31171 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31173 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31174 was a dependency or dynamically loaded.
31176 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31178 * intl/l10nflist.c: Allow architecture-specific pop function.
31179 * sysdeps/x86_64/l10nflist.c: New file.
31181 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31184 2011-08-10 Andreas Schwab <schwab@redhat.com>
31186 * include/dirent.h: Add libc_hidden_proto for scandirat and
31187 scandirat64. Don't declare __scandirat64.
31188 * dirent/scandirat.c: Add libc_hidden_def.
31189 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31190 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31192 2011-08-10 David S. Miller <davem@davemloft.net>
31194 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31196 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31197 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31198 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31200 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31202 * Versions.def [libc]: Add GLIBC_2.15.
31203 * dirent/Makefile (routines): Add scandirat and scandirat64.
31204 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31206 * dirent/dirent.h: Declare scandirat and scandirat64.
31207 * dirent/scandirat.c: New file.
31208 * dirent/scandirat64.c: New file.
31209 * sysdeps/wordsize-64/scandirat.c: New file.
31210 * sysdeps/wordsize-64/scandirat64.c: New file.
31211 * dirent/opendir.c: Define opendirat.
31212 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31214 * dirent/scandir64.c: Adjust for scandir.c change.
31215 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31216 __scandirat64, and __scandir_cancel_handler.
31217 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31218 additional parameter and use openat instead of open (outside of ld.so).
31219 Add new __opendir as wrapper around __opendirat.
31220 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31221 here without requiring old scandirat implementation.
31223 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31225 * dirent/scandir.c (cancel_handler): Renamed to
31226 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31227 defined. Adjust users.
31228 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31229 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31231 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31233 * string/test-string.h (IMPL): Use __STRING to expand name and then
31236 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31239 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31241 * string/Makefile: Update.
31242 (strop-tests): Append strncat.
31243 * string/test-wcscmp.c: New file.
31244 New comprehensive test for wcscmp.
31245 * string/test-strcmp.c: Update.
31246 (WIDE): New define.
31248 2011-07-22 Andreas Schwab <schwab@redhat.com>
31250 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31253 2011-07-26 Andreas Schwab <schwab@redhat.com>
31255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31256 encoding to ACE if AI_IDN.
31258 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31261 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31263 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31265 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31266 Fix overflow bug in strncat.
31267 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31269 * string/test-strncat.c: Update.
31270 Add new tests for checking overflow bugs.
31272 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31275 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31276 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31277 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31278 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31279 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31280 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31281 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31282 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31284 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31285 (USE_AS_STRCAT): Define.
31286 Add strcat and strncat support.
31287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31289 2011-07-25 Andreas Schwab <schwab@redhat.com>
31291 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31292 __n bigger than INT_MAX+1.
31293 (__strncmp_g): Likewise.
31295 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31297 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31298 * libio/stido.h: Likewise.
31300 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31302 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31305 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31306 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31307 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31308 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31309 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31312 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31317 (_dl_x86_64_save_sse): Likewise.
31319 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31321 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31323 (_dl_x86_64_save_sse): Likewise.
31325 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31327 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31329 2011-07-21 Andreas Schwab <schwab@redhat.com>
31331 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31333 (_dl_x86_64_save_sse): Use correct AVX check.
31335 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31337 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31338 bug in strncpy/strncat.
31339 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31341 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31343 * string/tester.c (test_strcat): Add tests for different alignments
31344 of source and destination.
31345 (test_strncat): Likewise.
31347 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31350 * posix/glob.c (glob): Check passed in values before using them in
31351 expressions to avoid some overflows.
31352 (glob_in_dir): Likewise.
31355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31356 check for AVX enablement so that we don't crash with old kernels and
31358 * elf/tst-audit4.c: Add same checks here.
31359 * elf/tst-audit6.c: Likewise.
31361 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31363 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31365 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31367 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31369 * po/cs.po: Update from translation team.
31370 * po/bg.po: Likewise.
31372 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31374 * misc/sys/cdefs.h: Add support for const attribute.
31375 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31376 to gnu_dev_{major,minor,makedev} functions.
31378 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31380 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31382 2011-07-20 Andreas Schwab <schwab@redhat.com>
31384 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31387 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31389 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31390 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31391 register in order to avoid conflicts with the soft frame pointer
31392 being held in r11 when necessary.
31393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31394 (INTERNAL_VSYSCALL_NCS): Likewise.
31396 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31398 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31399 * elf/dl-fini.c (_dl_fini): Adjust caller.
31400 * elf/dl-close.c (_dl_close_worker): Likewise.
31401 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31403 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31405 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31406 "aux_cache->nlibs < 0".
31408 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31409 in the reload-count case.
31411 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31414 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31415 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31416 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31417 * sysdeps/x86_64/multiarch/strcat.S: New file.
31418 * sysdeps/x86_64/multiarch/strncat.S: New file.
31419 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31420 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31421 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31422 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31423 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31424 (USE_AS_STRCAT): Define.
31425 Add strcat and strncat support.
31426 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31427 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31428 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31429 * string/strncat.c: Update.
31430 (USE_AS_STRNCAT): Define.
31431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31432 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31434 * sysdeps/x86_64/multiarch/init-arch.h
31435 (bit_Prefer_PMINUB_for_stringop): New.
31436 (index_Prefer_PMINUB_for_stringop): Likewise.
31437 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31438 bit_Prefer_PMINUB_for_stringop.
31440 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31442 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31444 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31445 of casting of buffer.
31446 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31447 buffer32 and buffer64.
31448 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31449 writes instead of casting of buffer.
31450 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31452 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31455 2011-07-19 Andreas Schwab <schwab@redhat.com>
31457 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31459 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31461 * nscd/nscd.c (termination_handler): Don't do anything for a database
31462 if it has not yet been initialized.
31464 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31466 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31468 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31470 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31472 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31474 * po/nl.po: Update from translation team.
31475 * po/sv.po: Likewise.
31477 2011-07-16 Roland McGrath <roland@hack.frob.com>
31479 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31480 now disallowed by GCC.
31482 * configure.in (use-default-link): Default to yes if a test -shared
31483 link meets our qualifications.
31484 * configure: Regenerated.
31486 * config.make.in (output-format): New variable.
31487 * configure.in: Check for ld --print-output-format support.
31488 * configure: Regenerated.
31489 * Makerules ($(common-objpfx)format.lds)
31490 [$(output-format) != unknown]: Just use $(output-format),
31491 instead of the linker-script munging.
31493 2011-07-14 Roland McGrath <roland@hack.frob.com>
31495 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31496 of $(common-objpfx)shlib.lds.
31497 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31499 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31500 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31502 * configure.in (-z relro check): Adjust test code to add a large
31503 writable data section after it.
31504 * configure: Regenerated.
31506 2011-07-11 Roland McGrath <roland@hack.frob.com>
31508 * configure.in (-z relro check): Fix test code to make the variable
31510 * configure: Regenerated.
31512 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31514 * nscd/nscd.h (struct traced_file): Define.
31515 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31516 elements. Add traced_files.
31517 (inotify_fd): Declare.
31518 (register_traced_file): Declare.
31519 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31520 (inotify_fd): Export.
31521 (resolv_conf_descr): Remove.
31522 (nscd_init): Move inotify descriptor creation to main.
31523 Don't register files for notification here.
31524 (register_traced_file): New function.
31525 (invalidate_cache): Don't use reset_res to determine whether to call
31526 res_init, go through the list of registered files.
31527 (main_loop_poll): The inotify descriptors are now stored in the
31528 structures for the traced files.
31529 (main_loop_epoll): Likewise
31530 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31531 to __nss_disable_nscd.
31532 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31533 for a database anymore. Check the records for all the registered
31535 * nss/Makefile (libnss_files-routines): Add files-init.
31536 (libnss_db-routines): Add db-init.
31537 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31538 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31539 * nss/nss_db/db-init.c: New file.
31540 * nss/nss_files/files-init.c: New file.
31541 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31542 __nss_lookup_function.
31543 (__nss_lookup_function): Call nss_load_library.
31544 (nss_load_all_libraries): New function.
31545 (__nss_disable_nscd): Take parameter with callback function for files
31546 to register. Set is_nscd. Load all the DSOs for the NSS modules
31547 used for the cached services.
31548 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31549 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31550 options for features to all the files in nscd.
31552 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31554 2011-07-10 Roland McGrath <roland@hack.frob.com>
31556 * csu/elf-init.c (__libc_csu_init): Comment typo.
31558 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31560 * po/pl.po: Update from translation team.
31561 * po/ja.po: Likewise.
31562 * po/ru.po: Likewise.
31563 * po/ko.po: Likewise.
31564 * po/fr.po: Likewise.
31566 2011-07-09 Roland McGrath <roland@hack.frob.com>
31568 * configure.in (.ctors/.dtors header and trailer check):
31569 Use an empirical test on a built program.
31570 * configure: Regenerated.
31572 * configure.in (-z relro check): Use an empirical test on a built DSO.
31573 Detect, but do not require, on ia64.
31574 * configure: Regenerated.
31576 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31577 Update tests that use readelf to use $READELF instead.
31578 * configure: Regenerated.
31580 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31582 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31583 if the result is not used.
31585 2011-07-05 Andreas Jaeger <aj@suse.de>
31588 * stdlib/tst-strtod.c: Add testcase.
31590 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31592 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31593 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31594 The latter has a higher limit. Take additional parameter to pass to
31596 (__pathconf): Pass file to __statfs_link_max.
31597 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31599 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31603 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31604 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31606 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31607 (__statfs_filesize_max): Likewise.
31608 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31610 2011-07-05 Andreas Jaeger <aj@suse.de>
31612 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31614 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31616 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31618 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31621 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31623 * Makefile (strop-tests): Add strncat.
31624 * string/test-strncat.c: New file.
31626 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31628 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31630 2011-06-21 Andreas Jaeger <aj@suse.de>
31632 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31633 Copy rule from iconvdata/Makefile.
31635 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31638 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31639 but no long options are defined, just return 'W'.
31641 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31644 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31646 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31648 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31650 (innetgr): Likewise.
31652 2011-07-05 Roland McGrath <roland@hack.frob.com>
31654 * config.make.in (install_root): Default to $(DESTDIR).
31656 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31658 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31660 2011-07-02 Roland McGrath <roland@hack.frob.com>
31662 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31664 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31665 containing directory rather than embedding absolute directory names.
31667 * scripts/check-local-headers.sh: Rewritten using awk.
31668 Match by word, not by line. Print error messages for matches.
31669 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31671 * Makerules [shlib-lds-flags empty]:
31672 ($(common-objpfx)libc_pic.opts): New target.
31673 ($(common-objpfx)libc_pic.os.clean): New target.
31674 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31676 * config.make.in (OBJCOPY): New variable.
31677 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31678 * configure: Regenerated.
31680 * config.make.in (use-default-link): New variable.
31681 * configure.in (use_default_link): Grok --with-default-link to set it.
31682 * configure: Regenerated.
31683 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31684 (shlib-lds, shlib-lds-flags): Define to empty.
31686 * Makerules (shlib-lds): New variable.
31687 (shlib-lds-flags): New variable.
31688 (build-shlib, build-moduile, build-module-asneeded): Use it.
31689 ($(common-objpfx)libc.so): Use $(shlib-lds).
31690 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31691 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31693 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31694 DT_FLAGS/DT_FLAGS_1 with zero flags.
31696 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31697 linker script munging.
31699 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31701 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31703 * crypt/sha512.c (sha512_process_block): Perform total addition using
31704 128-bit if possible.
31705 (__sha512_finish_ctx): Likewise.
31706 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31708 * crypt/sha256.c (SWAP64): Define.
31709 (sha256_process_block): Perform total addition using 64-bit if
31711 (__sha256_finish_ctx): Likewise.
31713 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31715 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31717 * nscd/hstcache.c (cache_addhst): Likewise.
31718 * nscd/grpcache.c (cache_addgr): Likewise.
31719 * nscd/aicache.c (addhstaiX): Likewise
31720 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31722 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31724 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31725 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31726 * nscd/hstcache.c (cache_addhst): Likewise.
31727 * nscd/grpcache.c (cache_addgr): Likewise.
31728 * nscd/aicache.c (addhstaiX): Likewise
31730 2011-07-01 Andreas Schwab <schwab@redhat.com>
31732 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31733 domain only when needed.
31735 2011-06-30 Andreas Schwab <schwab@redhat.com>
31737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31738 is always restored.
31740 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31742 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31743 are re-adding the entry.
31744 * nscd/servicescache.c (cache_addserv): Likewise.
31746 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31748 * sysdeps/generic/dl-irel.h: fix protection against multiple
31750 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31752 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31755 * malloc/memusage.sh: Fix quoting in message.
31756 * debug/xtrace.sh: Likewise.
31758 * configure.in: Remove support for --experimental-malloc option, make
31760 * config.make.in: Likewise.
31761 * malloc/Makefile: Likewise.
31763 2011-06-27 Andreas Schwab <schwab@redhat.com>
31765 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31766 two-byte characters.
31768 2011-06-27 Roland McGrath <roland@hack.frob.com>
31770 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31771 AC_CACHE_CHECK invocation.
31772 * configure: Regenerated.
31774 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31776 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31779 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31780 bit from old_res_options.
31782 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31784 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31785 value type for setfct.
31787 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31789 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31790 __gettimeofday instead of gettimeofday.
31792 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31794 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31796 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31798 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31803 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31805 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31806 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31807 strcpy-sse2-unaligned strncpy-sse2-unaligned
31808 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31809 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31810 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31811 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31812 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31813 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31814 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31815 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31816 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31817 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31818 (STRCPY): Support SSE2 and SSSE3 versions.
31820 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31823 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31824 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31825 kernels which artificially limit size of requests.
31827 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31830 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31831 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31832 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31833 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31834 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31835 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31836 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31837 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31838 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31839 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31840 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31841 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31842 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31843 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31845 Enable unaligned load optimization for Intel Core i3, i5 and i7
31847 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31849 (index_Fast_Unaligned_Load): Define.
31850 (HAS_FAST_UNALIGNED_LOAD): Define.
31852 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31854 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31856 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31859 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31860 until it is clear that the information is realy needed.
31861 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31863 2011-06-22 Andreas Schwab <schwab@redhat.com>
31865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31867 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31869 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31870 /sys/devices/system/cpu/online if it is usable.
31872 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31873 reading the information from the /proc filesystem to once a second.
31875 2011-06-21 Andreas Jaeger <aj@suse.de>
31877 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31878 NULL after inclusion of kernel headers.
31880 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31882 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31883 calls to internal_setent.
31886 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31887 addresses using gethostbyname4_r ignore IPv4 addresses.
31889 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31890 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31892 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31894 2011-06-20 David S. Miller <davem@davemloft.net>
31896 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31898 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31900 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31901 (elf_irel): Use it.
31902 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31903 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31904 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31905 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31906 * sysdeps/x86_64/dl-irel.h: Likewise.
31908 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31909 * elf/dl-sym.c: Likewise.
31911 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31913 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31914 need to dereference resplen2.
31916 2011-06-14 Andreas Schwab <schwab@redhat.com>
31918 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31920 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31922 * Makeconfig: Define vardbdir and inst_vardbdir.
31923 * nss/Makefile: Add rules to install db-Makefile.
31925 * nss/nss_db/db-XXX.c: Cleanup.
31927 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31928 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31930 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31931 * nss/makedb.c: Implement -g option to specify that value strings
31932 are generated and should not be added to table iterated over for
31934 * nss/nss_db/db-initgroups.c: New file.
31936 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31939 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31940 (internal_getgrouplist): Adjust to name change.
31941 Update use_initgroups_entry if this is not the first call.
31942 * nss/databases.def: Add initgroups entry.
31944 * nss/makedb.c (compute_tables): Check result of multiple hash table
31945 sizes to minimize maximum chain length.
31947 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31949 * Versions.def: Add entry for libnss_db.
31950 * shlib-versions: Likewise.
31951 * nss/Makefile: Add rules to build libnss_db.
31952 * nss/Versions: Add libnss_db information. Organize libnss_files
31954 * nss/db-Makefile: Add gshadow support. Change rules for the new
31955 makedb progra. Some minor improvements to generate smaller files.
31956 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31958 * nss/makedb.c: ...here.
31959 Improve database format to be smaller and require less memory at
31961 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31963 * nss/nss_db/db-netgrp.c: Likewise.
31964 * nss/nss_db/db-open.c: Likewise.
31965 * nss/nss_files/flies-XXX.x: Adjust comments.
31966 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31967 * nss/nss_files/files-grp.c: Likewise.
31968 * nss/nss_files/files-hosts.c: Likewise.
31969 * nss/nss_files/files-network.c: Likewise.
31970 * nss/nss_files/files-proto.c: Likewise.
31971 * nss/nss_files/files-pwd.c: Likewise.
31972 * nss/nss_files/files-rpc.c: Likewise.
31973 * nss/nss_files/files-service.c: Likewise.
31974 * nss/nss_files/files-sgrp.c: Likewise.
31975 * nss/nss_files/files-spwd.c: Likewise.
31976 * nss/nss_db/db-alias.c: Removed.
31977 * nss/nss_db/dummy-db.h: Removed.
31979 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31981 * nss/makedb.c: Rewritten to not use database library.
31982 * nss/Makefile: Update to build new makedb program.
31984 2011-06-14 Andreas Jaeger <aj@suse.de>
31986 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31987 memset declaration.
31989 2011-06-10 Andreas Schwab <schwab@redhat.com>
31991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31994 2011-06-10 Roland McGrath <roland@hack.frob.com>
31996 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31997 * elf/Makefile ($(objpfx)ld.so): Likewise.
31999 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32000 Don't list ld.so twice in dependencies.
32002 * posix/bug-regex31.c: Include <stdlib.h>.
32004 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32006 * nis/nss_compat/compat-spwd.c
32007 (getspent_next_nss_netgr): Remove unused variable.
32008 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32010 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32011 nonmembers" output to use the right array.
32013 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32015 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32017 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32018 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32019 * catgets/gencat.c (read_input_file): Likewise.
32020 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32022 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32023 variable definition inside #if's controlling its use.
32025 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32027 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32029 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32031 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32034 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32036 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32037 * configure: Regenerated.
32039 * Makerules: Revert last change.
32040 * elf/Makefile: Likewise.
32042 2011-06-09 Roland McGrath <roland@hack.frob.com>
32044 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32045 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32046 (reloc-link): Likewise.
32048 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32050 * elf/Makefile: Add rules to build pldd.
32051 * elf/pldd.c: New file.
32052 * elf/pldd-xx.c: New file.
32054 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32056 * version.h: Update for 2.15 development version.
32058 2011-06-07 David S. Miller <davem@davemloft.net>
32060 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32062 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32063 elf_machine_lazy_rel): Likewise.
32064 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32066 elf_machine_lazy_rel): Likewise.
32067 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32068 dl_hwcap via passed in argument.
32069 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32072 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32074 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32076 2011-06-06 Roland McGrath <roland@hack.frob.com>
32079 * manual/fdl-1.1.texi: New file, verbatim from:
32080 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32081 * manual/lgpl-2.1.texi: New file, verbatim from:
32082 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32083 * manual/Makefile (licenses): New variable, list those new file names.
32085 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32087 * manual/fdl.texi: File removed.
32088 * manual/lesser.texi: File removed.
32089 * manual/libc.texinfo (Copying, Documentation License):
32090 Use new @include file names, put @appendix directive before @include.
32092 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32095 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32096 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32097 (mq_open): Add __NTH.
32099 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32102 Assume Intel Core i3/i5/i7 processor if AVX is available.
32104 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32106 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32109 2011-05-31 Andreas Schwab <schwab@redhat.com>
32111 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32112 memory. Use alloca_account. Fix memory leak when retrying.
32114 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32116 * version.h (RELEASE): Bump for 2.14 release.
32117 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32119 * config.make.in (RANLIB): Remove entry.
32121 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32123 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32124 (libc.pot): Work around missing support for .ksh extension in xgettext.
32127 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32128 if both request failed.
32129 (send_dg): In case of server errors clear resplen or *resplen2.
32132 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32133 when there are multiple maps.
32134 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32135 (_dl_fini): Remove test here.
32137 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32139 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32142 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32143 bit from old_res_options.
32144 (gaih_inet): Likewise.
32147 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32150 * resolv/res_init.c (res_setoptions): Make the code more compact.
32153 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32157 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32159 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32162 * malloc/malloc.h: Declare malloc hook variables as volatile.
32164 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32168 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32169 raise in the comment.
32170 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32171 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32172 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32174 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32177 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32178 grow the buffers more if it already has to be sufficient.
32179 (build_wcs_upper_buffer): Likewise.
32180 * posix/regexec.c (check_matching): Likewise.
32181 (clean_state_log_if_needed): Likewise.
32182 (extend_buffers): Don't enlarge buffers beyond size of the input
32184 Patches mostly by Emil Wojak <emil@wojak.eu>.
32185 * posix/bug-regex32.c: New file.
32186 * posix/Makefile (tests): Add bug-regex32.
32188 * locale/findlocale.c (_nl_find_locale): Return right away if
32189 _nl_explode_name failed.
32190 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32192 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32194 * debug/xtrace.sh: Unify messages.
32195 * malloc/memusage.sh: Likewise.
32198 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32199 time symbol from vDSO. Substitute with vsyscall if not available.
32200 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32203 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32204 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32205 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32206 Add sendmmsg and internal_sendmmsg.
32207 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32208 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32209 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32211 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32212 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32213 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32215 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32218 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32219 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32221 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32225 * iconvdata/Makefile (tests): Add bug-iconv9.
32226 * iconvdata/bug-iconv9.c: New file.
32228 2011-05-27 Andreas Schwab <schwab@redhat.com>
32231 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32233 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32235 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32236 (struct user_regs_struct): Change intcs field back to cs.
32238 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32240 * po/ja.po: Update from translation team.
32242 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32245 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32246 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32248 2011-05-20 Andreas Schwab <schwab@redhat.com>
32250 * stdlib/longlong.h: Update from GCC.
32252 2011-05-23 Andreas Schwab <schwab@redhat.com>
32254 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32256 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32257 Add parameter name.
32258 (__sysconf): Pass it down.
32260 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32263 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32265 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32266 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32267 add in in __libc_use_alloca calls. Adjust callers.
32268 (glob): Use malloc in some situations.
32270 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32271 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32274 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32276 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32277 and CLOCK_BOOTTIME_ALARM.
32280 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32283 * string/_strerror.c (__strerror_r): Print negative errors as signed
32287 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32288 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32289 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32291 * configure.in: Fix typo in redirection and correct removal of test
32292 files in two cases.
32295 * locale/setlocale.c (new_composite_name): Fix test to check for
32296 identical name of all categories.
32299 * libio/filedoalloc.c (local_isatty): New function.
32300 (_IO_file_doallocate): Use local_isatty.
32301 * stdio-common/perror.c (perror): In case a new stream is used
32302 forward the stream error.
32303 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32306 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32309 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32311 * include/alloca.h (extend_alloca_account): Define.
32314 * posix/regex.h: Fix comments with documentation of user-accessible
32315 fields after compilation and describe correct free'ing of pattern
32316 after re_compile_pattern.
32317 Patch by Reuben Thomas <rrt@sc3d.org>.
32319 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32321 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32322 and -mno-altivec to prevent the compiler from using Altivec and/or
32323 VSX instructions when the corresponding registers are not available.
32325 2011-05-19 Andreas Schwab <schwab@redhat.com>
32327 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32329 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32331 * libio/freopen.c (freopen): Use __dup2, not dup2.
32332 * libio/freopen64.c (freopen64): Likewise.
32334 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32337 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32338 * math/Makefile (tests): Add test-powl.
32339 (CFLAGS-test-powl.c): Define.
32340 * math/test-powl.c: New file.
32342 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32344 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32346 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32349 * iconvdata/gb18030.c: Update to GB18020-2005.
32351 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32353 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32354 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32355 Patch by Aharon Robbins <arnold@skeeve.com>.
32358 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32362 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32363 through underflows.
32366 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32367 point to strings before performing equality test for error_one_per_line
32371 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32374 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32375 (struct user_fpregs_struct): Avoid __uint*_t types.
32378 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32379 symbol info. Use it instead of calling _dl_addr locally.
32380 (lock_and_info): New function.
32381 (tr_freehook): Call lock_and_info and pass symbol info as additional
32382 parameter to tr_where.
32383 (tr_mallochook): Likewise.
32384 (tr_reallochook): Likewise.
32385 (tr_memalignhook): Likewise.
32387 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32388 used and couldn't be at all thread-safe.
32390 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32392 * libio/freopen.c (freopen): Don't close old file descriptor
32393 before the new one is opened. Instead dup the new file descriptor
32394 to the old one after the new stream is created.
32395 * libio/freopen64.c (freopen64): Likewise.
32396 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32397 * libio/fileops.c (_IO_new_file_close_it): Handle new
32398 _IO_FLAGS2_NOCLOSE flag.
32399 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32400 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32401 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32402 _IO_FLAGS2_NOCLOSE flag.
32403 * include/unistd.h: Add hidden_proto for dup3.
32404 Define __have_dup3.
32405 * io/dup3.c: Define hidden symbol.
32406 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32409 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32410 when an incomplete long option is used.
32411 * posix/tst-getopt_long1.c: New file.
32412 * posix/Makefile (tests): Add tst-getopt_long1.
32415 * scripts/config.guess: Update from autoconf-2.68.
32416 * scripts/config.sub: Likewise.
32419 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32421 (has_cpuclock): ...this. New function.
32422 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32423 macro here based on has_cpuclock code.
32426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32427 First byte (not low byte) is now always NUL.
32428 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32431 Use non-cancelable interfaces.
32434 * locale/iso-639.def: Add entry for Sorani.
32437 * include/stdlib.h: Move include protection to the right place.
32438 Define abort_msg_s. Declare __abort_msg with it.
32439 * stdlib/abort.c (__abort_msg): Adjust type.
32440 * assert/assert.c (__assert_fail_base): New function. Majority
32441 of code from __assert_fail. Allocate memory for __abort_msg with
32443 (__assert_fail): Now call __assert_fail_base.
32444 * assert/assert-perr.c: Remove bulk of implementation. Use
32445 __assert_fail_base.
32446 * include/assert.hL Declare __assert_fail_base.
32447 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32449 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32451 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32455 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32456 until all modules are registered in the DTV.
32457 * elf/Makefile: Add rules to build and run tst-tls19.
32458 * elf/tst-tls19.c: New file.
32459 * elf/tst-tls19mod1.c: New file.
32460 * elf/tst-tls19mod2.c: New file.
32461 * elf/tst-tls19mod3.c: New file.
32462 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32465 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32469 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32470 two-byte sequence errors.
32471 * iconvdata/Makefile (tests): Add bug-iconv8.
32472 * iconvdata/bug-iconv8.c: New file.
32475 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32478 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32481 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32482 (dummy_getcfa): New function.
32483 (init): Get _Unwind_GetCFA address, use dummy if not found.
32484 (backtrace_helper): In recursion check, also check whether CFA changes.
32485 (__backtrace): Completely initialize arg.
32487 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32488 storing incomplete byte sequence in state object. Avoid testing for
32489 guaranteed too small input if we know there is enough data available.
32491 2011-05-11 Andreas Schwab <schwab@redhat.com>
32493 * Makeconfig (+link-pie): Indent.
32494 * Rules (binaries-pie): Define if $(have-fpie) and
32496 (binaries-shared): Also filter out $(binaries-pie).
32497 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32498 * nscd/Makefile (others-pie): Add nscd.
32499 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32500 ($(objpfx)nscd): Remove command override.
32501 * login/Makefile (others-pie): Add pt_chown.
32502 ($(objpfx)pt_chown): Remove command override.
32503 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32504 remove command overrides.
32506 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32508 * libio/tst_putwc.c: Fix error messages.
32511 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32512 currently writing and seek to current position when not.
32513 * libio/Makefile (tests): Add bug-fclose1.
32514 * libio/bug-fclose1.c: New file.
32516 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32519 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32520 don't set DF_1_NODELETE here.
32521 (do_lookup_x): When entering new entry test for copy relocation
32522 and if necessary set DF_1_NODELETE flag.
32523 * elf/tst-unique4.cc: New file.
32524 * elf/tst-unique4.h: New file.
32525 * elf/tst-unique4lib.cc: New file.
32526 * elf/Makefile: Add rules to build and run tst-unique4.
32527 Patch by Piotr Bury <pbury@goahead.com>.
32529 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32532 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32535 * misc/mntent_r.c (addmntent): Flush the stream after the output
32538 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32539 (is_trusted_path_normalize): Skip initial colon. Append slash
32540 to empty buffer. Duplicate is_trusted_path code but allow
32541 constructed patch to be prefix.
32542 (is_dst): Allow $ORIGIN followed by /.
32543 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32544 Correct testing of result of is_trusted_path_normalize
32545 (decompose_rpath): Fix warning.
32547 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32550 * grp/initgroups.c (internal_getgrouplist): When we found the service
32551 list through the initgroups entry in nsswitch.conf do not always
32552 continue on a successful lookup. Don't always use the
32553 __nss_group_database value if it is set.
32554 * nss/nsswitch.conf (initgroups): Change action for successful db
32555 lookup to continue for compatibility.
32557 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32560 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32562 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32564 * iconvdata/tst-tables.sh: Likewise.
32565 * iconvdata/cp770.c: New file.
32566 * iconvdata/cp771.c: New file.
32567 * iconvdata/cp772.c: New file.
32568 * iconvdata/cp773.c: New file.
32569 * iconvdata/cp774.c: New file.
32570 * iconvdata/testdata/CP770: New file.
32571 * iconvdata/testdata/CP770..UTF8: New file.
32572 * iconvdata/testdata/CP771: New file.
32573 * iconvdata/testdata/CP771..UTF8: New file.
32574 * iconvdata/testdata/CP772: New file.
32575 * iconvdata/testdata/CP772..UTF8: New file.
32576 * iconvdata/testdata/CP773: New file.
32577 * iconvdata/testdata/CP773..UTF8: New file.
32578 * iconvdata/testdata/CP774: New file.
32579 * iconvdata/testdata/CP774..UTF8: New file.
32581 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32583 * iconvdata/gen-8bit-gap.sh: Likewise.
32584 * iconvdata/gen-8bit.sh: Likewise.
32586 * locale/iso-639.def: Add ary entry.
32589 * locale/C-translit.h.in: Add U20A1 transliteration.
32592 * locale/iso-639.def: Add wae entry.
32593 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32596 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32600 * locale/C-translit.h.in: Add entry for U20B9.
32601 Patch by pravin.d.s@gmail.com.
32603 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32606 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32607 ENAMETOOLONG use generic getcwd.
32608 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32609 in rtld. Use *stat64.
32610 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32611 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32612 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32613 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32614 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32615 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32616 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32617 __fstatat64 macros.
32618 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32619 * dirent/rewinddir.c: Add libc_hidden_def.
32620 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32621 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32623 * include/dirent.h (__alloc_dir): Add flags parameter.
32624 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32625 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32627 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32628 from fdopendir if O_CLOEXEC is already set.
32630 2011-03-15 Alan Modra <amodra@gmail.com>
32632 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32633 l_tls_firstbyte_offset non-zero. Save padding offset in
32634 l_tls_firstbyte_offset for later use.
32635 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32636 freeing static tls block.
32638 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32640 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32641 where #ifdef was intended. The intent is to prevent ARG_MAX from
32642 being defined by the kernel headers.
32644 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32647 * resolv/resolv.h: Define RES_NOTLDQUERY.
32648 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32649 no-tld-query and set RES_NOTLDQUERY.
32650 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32651 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32652 modern BIND to search name as TLD unless forbidden.
32654 2011-05-07 Petr Baudis <pasky@suse.cz>
32655 Ulrich Drepper <drepper@gmail.com>
32658 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32659 (is_trusted_path): ...to here.
32660 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32661 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32662 using is_trusted_path_normalize() in setuid scripts.
32664 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32666 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32667 __BEGIN/__END_DECLS.
32669 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32671 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32672 NSS_STATUS_NOTFOUND if no record was found.
32674 2011-05-05 Andreas Schwab <schwab@redhat.com>
32676 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32677 (headers-not-in-tirpc): Remove rpc/netdb.h
32678 * resolv/netdb.h: Revert last change.
32680 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32682 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32683 circular dependency between libgcc.a and libc.a.
32685 2011-05-05 Andreas Schwab <schwab@redhat.com>
32687 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32688 * nis/Makefile: Don't install rpcsvc/*.
32689 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32690 instead of <rpc/types.h>.
32691 (MAXHOSTNAMELEN): Define.
32693 2011-05-03 Andreas Schwab <schwab@redhat.com>
32695 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32697 2011-04-28 Maciej Babinski <mbabinski@google.com>
32700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32701 gethostbyname4_r when IPv6 results are possible.
32703 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32706 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32707 _PC_PIPE_BUF handling.
32709 2011-04-30 Bruno Haible <bruno@clisp.org>
32712 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32713 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32715 * inet/getnameinfo.c (getnameinfo): Likewise.
32717 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32719 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32720 to groups setting in database lookup.
32721 * nss/nsswitch.conf: Add initgroups entry.
32723 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32726 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32728 Patch by Eric Blake <eblake@redhat.com>.
32730 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32732 * sunrpc/Makefile (need-export-routines): Add svc_run.
32733 (routines): Remove svc_run.
32734 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32735 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32736 * sunrpc/svc_run.c (svc_run): Likewise.
32737 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32739 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32741 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32742 problem in reallocation in last patch.
32744 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32746 * sunrpc/Makefile: Move inclusion of Rules.
32748 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32750 * nss/nss_files/files-initgroups.c: New file.
32751 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32752 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32753 _nss_files_initgroups_dyn.
32755 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32757 * elf/elf.h (R_ARM_IRELATIVE): Define.
32759 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32761 * po/ru.po: Update from translation team.
32763 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32765 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32768 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32771 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32772 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32773 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32774 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32775 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32777 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32779 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32781 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32782 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32783 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32785 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32788 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32790 * stdlib/bug-getcontext.c: New file.
32791 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32793 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32795 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32796 instructions into .machine "z9-109".
32797 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32798 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32800 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32802 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32803 between environment variables and auxiliary vector.
32805 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32807 * Makefile: Add rules to build linkobj/libc.so.
32808 * include/libc-symbols.h: Define libc_hidden_nolink.
32809 * include/rpc/auth.h: Mark functions which are to be hidden.
32810 * include/rpc/auth_des.h: Likewise.
32811 * include/rpc/auth_unix.h: Likewise.
32812 * include/rpc/clnt.h: Likewise.
32813 * include/rpc/des_crypt.h: Likewise.
32814 * include/rpc/key_prot.h: Likewise.
32815 * include/rpc/pmap_clnt.h: Likewise.
32816 * include/rpc/pmap_prot.h: Likewise.
32817 * include/rpc/pmap_rmt.h: Likewise.
32818 * include/rpc/rpc_msg.h: Likewise.
32819 * include/rpc/svc.h: Likewise.
32820 * include/rpc/svc_auth.h: Likewise.
32821 * include/rpc/xdr.h: Likewise.
32822 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32823 * nss/Makefile: Likewise.
32824 * sunrpc/Makefile: Don't install headers. Build library with normal
32825 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32826 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32827 for the compat linking library. Remove use of INTDEF/INTUSE.
32828 * sunrpc/auth_none.c: Likewise.
32829 * sunrpc/auth_unix.c: Likewise.
32830 * sunrpc/authdes_prot.c: Likewise.
32831 * sunrpc/authuxprot.c: Likewise.
32832 * sunrpc/clnt_gen.c: Likewise.
32833 * sunrpc/clnt_perr.c: Likewise.
32834 * sunrpc/clnt_raw.c: Likewise.
32835 * sunrpc/clnt_simp.c: Likewise.
32836 * sunrpc/clnt_tcp.c: Likewise.
32837 * sunrpc/clnt_udp.c: Likewise.
32838 * sunrpc/clnt_unix.c: Likewise.
32839 * sunrpc/des_crypt.c: Likewise.
32840 * sunrpc/des_soft.c: Likewise.
32841 * sunrpc/get_myaddr.c: Likewise.
32842 * sunrpc/key_call.c: Likewise.
32843 * sunrpc/key_prot.c: Likewise.
32844 * sunrpc/netname.c: Likewise.
32845 * sunrpc/pm_getmaps.c: Likewise.
32846 * sunrpc/pm_getport.c: Likewise.
32847 * sunrpc/pmap_clnt.c: Likewise.
32848 * sunrpc/pmap_prot.c: Likewise.
32849 * sunrpc/pmap_prot2.c: Likewise.
32850 * sunrpc/pmap_rmt.c: Likewise.
32851 * sunrpc/publickey.c: Likewise.
32852 * sunrpc/rpc_cmsg.c: Likewise.
32853 * sunrpc/rpc_common.c: Likewise.
32854 * sunrpc/rpc_dtable.c: Likewise.
32855 * sunrpc/rpc_prot.c: Likewise.
32856 * sunrpc/rpc_thread.c: Likewise.
32857 * sunrpc/rtime.c: Likewise.
32858 * sunrpc/svc.c: Likewise.
32859 * sunrpc/svc_auth.c: Likewise.
32860 * sunrpc/svc_authux.c: Likewise.
32861 * sunrpc/svc_raw.c: Likewise.
32862 * sunrpc/svc_run.c: Likewise.
32863 * sunrpc/svc_simple.c: Likewise.
32864 * sunrpc/svc_tcp.c: Likewise.
32865 * sunrpc/svc_udp.c: Likewise.
32866 * sunrpc/svc_unix.c: Likewise.
32867 * sunrpc/svcauth_des.c: Likewise.
32868 * sunrpc/xcrypt.c: Likewise.
32869 * sunrpc/xdr.c: Likewise.
32870 * sunrpc/xdr_array.c: Likewise.
32871 * sunrpc/xdr_float.c: Likewise.
32872 * sunrpc/xdr_intXX_t.c: Likewise.
32873 * sunrpc/xdr_mem.c: Likewise.
32874 * sunrpc/xdr_rec.c: Likewise.
32875 * sunrpc/xdr_ref.c: Likewise.
32876 * sunrpc/xdr_sizeof.c: Likewise.
32877 * sunrpc/xdr_stdio.c: Likewise.
32879 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32882 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32883 * sysdeps/ia64/dl-tls.h: Likewise.
32884 * sysdeps/powerpc/dl-tls.h: Likewise.
32885 * sysdeps/s390/dl-tls.h: Likewise.
32886 * sysdeps/sh/dl-tls.h: Likewise.
32887 * sysdeps/sparc/dl-tls.h: Likewise.
32888 * sysdeps/x86_64/dl-tls.h: Likewise.
32889 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32891 2011-03-14 Andreas Schwab <schwab@redhat.com>
32893 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32894 rpath element also skip the following colon.
32895 (expand_dynamic_string_token): Add is_path parameter and pass
32896 down to DL_DST_REQUIRED and _dl_dst_substitute.
32897 (decompose_rpath): Call expand_dynamic_string_token with
32898 non-zero is_path. Ignore empty rpaths.
32899 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32902 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32907 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32910 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32911 Patch by Filipe David Manana <fdmanana@apache.org>.
32913 2011-04-07 Andreas Schwab <schwab@redhat.com>
32915 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32916 Maintain aligned stack.
32917 (CHECK_RSP): Remove unused macro.
32919 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32921 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32922 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32924 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32926 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32928 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32930 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32933 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32934 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32935 * sysdeps/x86_64/memmove.c: New file.
32936 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32937 (memcpy): Renamed to ...
32938 (__new_memcpy): This.
32939 (memcpy): Provide GLIBC_2_14 memcpy.
32940 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32941 (memcpy): Provide GLIBC_2_2_5 memcpy.
32943 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32946 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32948 2011-03-30 Andreas Schwab <schwab@redhat.com>
32950 * misc/syncfs.c: New file.
32951 * misc/Makefile (routines): Add syncfs.
32952 * posix/unistd.h: Declare syncfs.
32953 * sysdeps/unix/syscalls.list: Add syncfs.
32955 2011-04-01 Andreas Schwab <schwab@redhat.com>
32957 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32959 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32960 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32961 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32962 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32964 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32967 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32969 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32970 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32971 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32972 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32973 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32974 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32975 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32977 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32978 sync_file_range.c with -fexceptions.
32979 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32980 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32981 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32982 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32983 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32984 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32986 sync_file_range as cancellation point
32987 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32988 now a wrapper around __call_sync_file_range with cancellation handling.
32989 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32990 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32991 function name to __call_sync_file_range.
32992 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32993 Add call_sync_file_range.
32995 2011-04-01 Andreas Schwab <schwab@redhat.com>
32997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33000 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33002 * iconv/iconv.h: Fix typo in comment.
33003 * io/fcntl.h: Likewise.
33004 * libio/stdio.h: Likewise.
33005 * posix/spawn.h: Likewise.
33006 * posix/unistd.h: Likewise.
33007 * stdlib/stdlib.h: Likewise.
33008 * time/time.h: Likewise.
33009 * wcsmbs/wchar.h: Likewise.
33011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33012 open_by_handle): Add.
33013 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33014 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33015 Augment a few comments.
33016 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33017 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33018 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33019 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33020 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33021 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33024 * io/fcntl.h (AT_EMPTY_PATH): Define.
33026 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33028 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33029 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33030 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33032 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33033 * Versions.def: Add GLIBC_2.14.
33034 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33037 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33039 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33041 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33043 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33046 * string/test-strncmp.c (do_page_test): New function.
33047 (check2): Likewise.
33048 (test_main): Call check2.
33049 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33051 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33054 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33055 Handle cache information in CPU leaf 4.
33056 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33058 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33061 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33062 character representation.
33063 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33065 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33067 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33068 END(__isnan) to END(__isnanf) to match function entry point/label
33069 EALIGN(__isnanf,...).
33071 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33073 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33075 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33078 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33079 copy from the symbol referenced in the relocation to initialize the
33081 Patch by Piotr Bury <pbury@goahead.com>.
33082 * elf/Makefile: Add rules to build and tst-unique3.
33083 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33084 * elf/tst-unique3.cc: New file.
33085 * elf/tst-unique3.h: New file.
33086 * elf/tst-unique3lib.cc: New file.
33087 * elf/tst-unique3lib2.cc: New file.
33089 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33091 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33093 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33094 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33097 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33099 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33100 to-be-loaded object along a path to loader is ld.so.
33102 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33103 Ulrich Drepper <drepper@gmail.com>
33105 * sysdeps/x86_64/memset.S: After aligning destination, code
33106 branches to different locations depending on the value of
33107 misalignment, when multiarch is enabled. Fix this.
33109 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33111 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33112 Set _x86_64_preferred_memory_instruction for AMD processsors.
33113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33114 Set bit_Prefer_SSE_for_memop for AMD processors.
33116 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33118 * libio/fmemopen.c (fmemopen): Optimize a bit.
33120 2011-03-03 Andreas Schwab <schwab@redhat.com>
33122 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33124 2011-03-03 Roland McGrath <roland@redhat.com>
33126 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33128 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33130 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33131 __bzero_ultra1 instead of __memset_ultra1.
33133 2011-02-23 Andreas Schwab <schwab@redhat.com>
33134 Ulrich Drepper <drepper@gmail.com>
33137 * include/link.h (struct link_map): Add l_orig_initfini.
33138 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33139 returning unsuccessfully.
33140 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33141 close of a file loaded at startup, restore the original l_initfini
33143 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33144 list, store the pointer.
33145 * elf/Makefile ($(objpfx)noload-mem): New rule.
33146 (noload-ENV): Define.
33147 (tests): Add $(objpfx)noload-mem.
33148 * elf/noload.c: Include <memcheck.h>.
33149 (main): Call mtrace. Close all opened handles.
33151 2011-02-17 Andreas Schwab <schwab@redhat.com>
33154 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33155 dependencies are missing.
33157 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33159 Fix __if_freereq crash: Unlike the generic version which uses free,
33161 * sysdeps/mach/hurd/ifreq.h: New file.
33163 2011-01-27 Petr Baudis <pasky@suse.cz>
33164 Ulrich Drepper <drepper@gmail.com>
33167 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33168 to extend_alloca().
33169 * stdio-common/bug23.c: New file.
33170 * stdio-common/Makefile (tests): Add bug23.
33172 2010-09-28 Andreas Schwab <schwab@redhat.com>
33173 Ulrich Drepper <drepper@gmail.com>
33176 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33177 before performing relro protection. At old place add assertion
33178 to make sure nothing changed.
33180 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33181 Glauber de Oliveira Costa <glommer@gmail.com>
33183 * elf/elf.h: Add new ARM TLS relocs.
33185 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33188 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33190 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33192 * sysdeps/wordsize-64/tst-writev.c: New file.
33194 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33196 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33197 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33198 insns in _dl_start to prevent a TOC reference before relocs are
33201 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33204 * Makeconfig: Remove RANLIB definition.
33205 * Makerules: Don't use RANLIB.
33206 * aclocal.m4: Remove ranlib test.
33207 * configure.in: No need to check for ranlib.
33208 * elf/rtld-Rules: Don't use RANLIB.
33210 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33212 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33214 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33215 inclusion protection macro.
33217 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33218 SIGRTMIN and SIGRTMAX and print information in that case only when
33219 SIGRTMIN is defined.
33221 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33223 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33224 arginfo fn returning -1.
33226 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33227 and thousands string is zero terminated.
33229 2011-02-03 Andreas Schwab <schwab@redhat.com>
33231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33232 sysdeps/unix/sysv/linux/bits/socket.h.
33234 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33236 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33237 (__CPU_COUNT): Remove old macros.
33238 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33239 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33240 (__CPU_ALLOC, __CPU_FREE): Add macros.
33241 (__sched_cpualloc, __sched_cpufree): Add declarations.
33243 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33245 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33246 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33247 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33248 (readdhstai): Return value of addhstaiX call.
33249 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33250 (addgrbyX): Return value returned by cache_addgr.
33251 (readdgrbyname): Return value returned by addgrbyX.
33252 (readdgrbygid): Likewise.
33253 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33254 (addpwbyX): Return value returned by cache_addpw.
33255 (readdpwbyname): Return value returned by addhstbyX.
33256 (readdpwbyuid): Likewise.
33257 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33258 (addservbyX): Return value returned by cache_addserv.
33259 (readdservbyname): Return value returned by addservbyX:
33260 (readdservbyport): Likewise.
33261 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33262 (addhstbyX): Return value returned by cache_addhst.
33263 (readdhstbyname): Return value returned by addhstbyX.
33264 (readdhstbyaddr): Likewise.
33265 (readdhstbynamev6): Likewise.
33266 (readdhstbyaddrv6): Likewise.
33267 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33268 (readdinitgroups): Return value returned by addinitgroupsX.
33269 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33270 (prune_cache): Keep track of timeout value of re-added entries.
33271 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33272 * nscd/nscd.h: Adjust prototypes of readd* functions.
33274 2011-02-04 Roland McGrath <roland@redhat.com>
33276 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33277 (nis_stats): Likewise.
33278 * nis/nis_modify.c (nis_modify): Likewise.
33279 * nis/nis_remove.c (nis_remove): Likewise.
33280 * nis/nis_add.c (nis_add): Likewise.
33282 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33284 * posix/fnmatch_loop.c: Add some consts.
33286 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33288 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33291 * config.make.in (config-cflags-novzeroupper): Define.
33292 * configure.in: Substitute libc_cv_cc_novzeroupper.
33293 * elf/Makefile (AVX-CFLAGS): Define.
33294 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33295 (CFLAGS-tst-auditmod4a.c): Likewise.
33296 (CFLAGS-tst-auditmod4b.c): Likewise.
33297 (CFLAGS-tst-auditmod6b.c): Likewise.
33298 (CFLAGS-tst-auditmod6c.c): Likewise.
33299 (CFLAGS-tst-auditmod7b.c): Likewise.
33300 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33302 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33304 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33305 function to the callback.
33306 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33308 2011-02-02 Andreas Schwab <schwab@redhat.com>
33310 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33313 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33316 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33318 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33320 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33323 * elf/Makefile: Add rules to build and run new test.
33324 * elf/tst-initorder.c: New file.
33325 * elf/tst-initorder.exp: New file.
33326 * elf/tst-initordera1.c: New file.
33327 * elf/tst-initordera2.c: New file.
33328 * elf/tst-initordera3.c: New file.
33329 * elf/tst-initordera4.c: New file.
33330 * elf/tst-initorderb1.c: New file.
33331 * elf/tst-initorderb2.c: New file.
33332 * elf/tst-order-a1.c: New file.
33333 * elf/tst-order-a2.c: New file.
33334 * elf/tst-order-a3.c: New file.
33335 * elf/tst-order-a4.c: New file.
33336 * elf/tst-order-b1.c: New file.
33337 * elf/tst-order-b2.c: New file.
33338 * elf/tst-order-main.c: New file.
33339 New test case by George Gensure <werkt0@gmail.com>.
33341 2010-10-01 Andreas Schwab <schwab@redhat.com>
33343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33344 decoding ACE if AI_CANONIDN.
33346 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33348 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33350 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33352 * version.h (RELEASE): Bump for 2.13 release.
33353 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33355 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33357 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33359 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33360 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33361 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33362 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33363 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33364 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33366 * posix/getconf.c: Update copyright year.
33367 * catgets/gencat.c: Likewise.
33368 * csu/version.c: Likewise.
33369 * debug/catchsegv.sh: Likewise.
33370 * debug/xtrace.sh: Likewise.
33371 * elf/ldconfig.c: Likewise.
33372 * elf/ldd.bash.in: Likewise.
33373 * elf/sprof.c (print_version): Likewise.
33374 * iconv/iconv_prog.c: Likewise.
33375 * iconv/iconvconfig.c: Likewise.
33376 * locale/programs/locale.c: Likewise.
33377 * locale/programs/localedef.c: Likewise.
33378 * malloc/memusage.sh: Likewise.
33379 * malloc/mtrace.pl: Likewise.
33380 * nscd/nscd.c (print_version): Likewise.
33381 * nss/getent.c: Likewise.
33383 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33384 PF_CAIF, and PF_ALG.
33385 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33387 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33389 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33390 (modules-names): Use them.
33391 (ifunc-test-modules, ifunc-pie-tests): Define.
33392 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33393 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33394 (test-extras): Likewise.
33395 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33396 $(compile-command.c).
33397 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33398 (all-built-dso): Define.
33399 (check-textrel.out, check-execstack.out): Depend on it.
33401 * configure.in: Don't override --enable-multi-arch.
33403 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33406 * nscd/hstcache.c (tryagain): Define.
33407 (cache_addhst): Return tryagain not notfound for temporary errors.
33408 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33411 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33414 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33415 to make the syscall.
33416 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33419 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33420 and fall back to matching as normal character if the string ends before
33421 the matching ']' is found. This is what POSIX requires.
33422 * posix/testfnm.c: Adjust test result.
33423 * posix/globtest.sh: Adjust test result. Add new test.
33424 * posix/tst-fnmatch.input: Likewise.
33425 * posix/tst-fnmatch2.c: Add new test.
33427 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33429 * elf/Makefile (check-execstack): Revert last change. Depend on
33431 (check-execstack.h): New target.
33432 (generated): Add check-execstack.h.
33433 * elf/check-execstack.c: Include "check-execstack.h".
33434 (main): Revert last change.
33435 (handle_file): Return zero if GNU_STACK is absent and
33436 DEFAULT_STACK_PERMS doesn't include PF_X.
33438 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33440 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33441 in child fails because the descriptor is already closed.
33442 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33443 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33444 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33447 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33451 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33452 temporary buffer used to handle multi lookups locally.
33453 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33455 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33457 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33460 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33462 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33463 alignment for SSE2.
33465 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33468 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33469 characters. When rounding increased number of integer digits recompute
33471 * stdio-common/tst-grouping.c: New file.
33472 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33474 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33476 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33477 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33479 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33481 * bits/select.h: Likewise.
33483 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33485 * po/ja.po: Update from translation team.
33487 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33490 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33491 implementation just like for lxstat, fxstatat, et al.
33493 2010-12-27 Jim Meyering <meyering@redhat.com>
33496 * posix/regexec.c (build_trtable): Return failure indication upon
33497 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33499 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33502 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33503 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33504 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33505 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33508 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33511 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33512 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33514 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33516 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33517 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33518 script has SORT_BY_INIT_PRIORITY.
33519 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33520 NO_CTORS_DTORS_SECTIONS is defined.
33521 * elf/soinit.c: Likewise.
33522 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33523 NO_CTORS_DTORS_SECTIONS is defined.
33524 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33525 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33526 * sysdeps/sh/init-first.c: Likewise.
33527 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33529 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33531 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33532 always use the slow path.
33534 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33536 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33537 similar rule which adds the sysdep directories to the header search in
33538 order to pick up the correct platform stackinfo.h.
33539 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33540 perform test if it is, otherwise return successfully without testing.
33541 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33542 DEFAULT_STACK_PERMS define in stackinfo.h.
33543 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33544 defined in stackinfo.h.
33545 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33546 DEFAULT_STACK_PERMS defined in stackinfo.h.
33547 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33548 * sysdeps/ia64/stackinfo.h: Likewise.
33549 * sysdeps/s390/stackinfo.h: Likewise.
33550 * sysdeps/sh/stackinfo.h: Likewise.
33551 * sysdeps/sparc/stackinfo.h: Likewise.
33552 * sysdeps/x86_64/stackinfo.h: Likewise.
33553 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33554 PF_X for powerpc64. Retain PF_X for powerpc32.
33556 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33558 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33560 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33561 GETDENTS_64BIT_ALIGNED.
33563 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33565 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33567 2010-12-10 Andreas Schwab <schwab@redhat.com>
33569 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33572 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33573 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33575 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33576 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33578 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33581 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33584 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33586 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33588 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33590 * po/it.po: Update from translation team.
33592 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33597 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33599 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33601 2010-11-24 Andreas Schwab <schwab@redhat.com>
33603 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33605 (gaih_getanswer_slice): Likewise.
33607 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33611 2010-05-31 Petr Baudis <pasky@suse.cz>
33614 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33615 silently even in the chroot mode.
33617 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33619 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33620 last patch a bit. Pretty printing
33622 2010-05-31 Petr Baudis <pasky@suse.cz>
33625 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33626 initialization of skip_initgroups_dyn.
33628 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33630 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33631 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33633 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33635 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33637 2010-11-11 Andreas Schwab <schwab@redhat.com>
33639 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33640 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33641 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33642 ($(objpfx)tst-fnmatch-mem): New rule.
33643 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33644 * posix/tst-fnmatch.c (main): Call mtrace.
33646 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33649 Support Intel processor model 6 and model 0x2c.
33651 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33653 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33656 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33659 * string/test-strncasecmp.c (check_result): New function.
33660 (do_one_test): Use it.
33661 (check1): New function.
33662 (test_main): Use it.
33663 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33664 Support strcasecmp and strncasecmp.
33666 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33669 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33670 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33672 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33674 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33678 * sysdeps/x86_64/multiarch/bzero.S: New file.
33679 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33680 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33681 * sysdeps/x86_64/multiarch/memset.S: New file.
33682 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33684 Set bit_Prefer_SSE_for_memop for Intel processors.
33685 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33687 (index_Prefer_SSE_for_memop): Define.
33688 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33690 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33692 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33693 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33695 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33698 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33699 (__x86_64_raw_data_cache_size_half): Likewise.
33700 (__x86_64_raw_shared_cache_size): Likewise.
33701 (__x86_64_raw_shared_cache_size_half): Likewise.
33703 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33704 (__x86_64_raw_data_cache_size_half): Likewise.
33705 (__x86_64_raw_shared_cache_size): Likewise.
33706 (__x86_64_raw_shared_cache_size_half): Likewise.
33707 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33708 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33709 and __x86_64_raw_shared_cache_size_half. Round
33710 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33711 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33712 to multiple of 256 bytes.
33714 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33717 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33718 of inacessible symlinks. Verify result of symlink before returning it.
33719 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33720 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33722 2010-10-28 Erich Ritz <erichritz@gmail.com>
33724 * math/math.h (isinf): Fix typo in comment.
33726 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33728 * po/da.po: Update from translation team.
33730 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33732 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33733 is added to the list.
33735 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33736 Ulrich Drepper <drepper@gmail.com>
33738 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33739 the global list here. Move code to...
33740 (_dl_add_to_namespace_list): ...here. New function.
33741 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33742 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33743 * elf/dl-load.c (lose): Don't remove the element from the list.
33744 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33745 (_dl_map_object): Likewise.
33747 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33750 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33751 into all bytes of SSE register.
33752 Patch by Richard Li <richardpku@gmail.com>.
33754 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33757 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33760 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33762 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33763 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33764 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33765 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33770 2010-10-22 Andreas Schwab <schwab@redhat.com>
33772 * include/dlfcn.h (__RTLD_SECURE): Define.
33773 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33774 mode & __RTLD_SECURE instead.
33775 (open_path): Rename preloaded parameter to secure.
33776 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33777 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33778 * elf/dl-deps.c (openaux): Likewise.
33779 * elf/rtld.c (struct map_args): Remove is_preloaded.
33780 (map_doit): Don't use it.
33781 (dl_main): Likewise.
33782 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33783 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33785 2010-09-09 Andreas Schwab <schwab@redhat.com>
33787 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33788 (sysd-rules-targets): Remove duplicates.
33789 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33790 rtld-%.$o dependency.
33792 2010-10-18 Andreas Schwab <schwab@redhat.com>
33794 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33795 _dl_map_object do it.
33797 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33799 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33800 fast fma builtins, define the macros in the C99 standard.
33801 (FP_FAST_FMAF): Likewise.
33802 (FP_FAST_FMAL): Likewise.
33803 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33805 * bits/mathdef.h: Update copyright year.
33806 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33808 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33810 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33811 builtins, define the macros in the C99 standard.
33812 (FP_FAST_FMAF): Likewise.
33813 (FP_FAST_FMAL): Likewise.
33814 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33816 (FP_FAST_FMAF): Likewise.
33818 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33821 * math/libm-test.inc (fma_test): Some new testcases.
33822 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33823 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33824 y and infinite z. Do multiplication by C already in long double.
33825 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33827 y and infinite z. Do bitwise or of inexact bit into u.d.
33828 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33829 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33830 * sysdeps/i386/fpu/s_fma.S: Removed.
33831 * sysdeps/i386/fpu/s_fmal.S: Removed.
33833 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33836 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33838 computation is not scheduled after fetestexcept. Fix value
33839 of minimum denormal long double.
33841 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33844 * math/libm-test.inc (fma_test): Add some more tests.
33845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33848 2010-10-15 Andreas Schwab <schwab@redhat.com>
33850 * scripts/data/localplt-s390-linux-gnu.data: New file.
33851 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33853 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33856 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33857 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33859 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33861 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33863 if one of x and y is very large and the other is subnormal.
33864 * sysdeps/s390/fpu/s_fmaf.c: New file.
33865 * sysdeps/s390/fpu/s_fma.c: New file.
33866 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33867 * sysdeps/powerpc/fpu/s_fma.S: New file.
33868 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33869 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33870 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33872 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33875 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33877 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33878 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33879 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33880 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33881 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33882 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33885 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33888 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33889 * posix/bug-regex31.input: Add test case.
33891 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33893 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33894 * posix/bug-regex31.input: New file.
33897 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33898 (parse_sub_exp): Fix last change, use postorder.
33900 * posix/bug-regex31.c: New file.
33901 * posix/Makefile: Add rules to build and run bug-regex31.
33903 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33906 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33909 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33910 to have entries in sys_siglist.
33913 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33916 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33919 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33920 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33921 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33922 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33923 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33924 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33925 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33926 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33927 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33928 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33929 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33930 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33931 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33932 * math/ftestexcept.c (fetestexcept): Likewise.
33933 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33934 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33935 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33936 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33937 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33938 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33939 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33941 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33944 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33947 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33949 * string/bug-strstr1.c: New file.
33950 * string/Makefile: Add rules to build and run bug-strstr1.
33952 2010-10-05 Eric Blake <eblake@redhat.com>
33955 * string/str-two-way.h (two_way_long_needle): Always clear memory
33956 when skipping input due to the shift table.
33958 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33961 * malloc/mcheck.c: Handle large requests.
33964 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33965 for strncmp and strncasecmp.
33966 * string/stratcliff.c: Add tests for strcmp and strncmp.
33967 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33969 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33971 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33974 2010-09-30 Andreas Jaeger <aj@suse.de>
33976 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33977 (CGROUP_SUPER_MAGIC): Define.
33978 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33979 Handle btrfs and cgroup file systems.
33980 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33983 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33985 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33986 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33988 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33991 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33992 trying to locate the ELF header.
33994 2010-09-27 Andreas Schwab <schwab@redhat.com>
33997 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33998 Mask out sign-bit copies when constructing f_fsid.
34000 2010-09-24 Petr Baudis <pasky@suse.cz>
34002 * debug/stack_chk_fail_local.c: Add missing licence exception.
34003 * debug/warning-nop.c: Likewise.
34005 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34007 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34008 implementing getdents64 using getdents syscall, set d_type if
34009 __ASSUME_GETDENTS32_D_TYPE.
34011 2010-09-16 Andreas Schwab <schwab@redhat.com>
34013 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34014 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34016 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34019 * posix/unistd.h: Undo change of feature selection for ftruncate from
34022 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34024 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34027 2010-09-20 Andreas Schwab <schwab@redhat.com>
34029 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34031 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34033 2010-09-14 Andreas Schwab <schwab@redhat.com>
34035 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34036 variables after CHECK_SP call.
34037 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34039 2010-09-13 Andreas Schwab <schwab@redhat.com>
34040 Ulrich Drepper <drepper@redhat.com>
34042 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34043 re-relocationg ld.so.
34044 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34045 _dl_init_paths call.
34046 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34049 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34051 * resolv/res_init.c (__res_vinit): Count the default server we added.
34053 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34054 Ulrich Drepper <drepper@redhat.com>
34057 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34058 (____longjmp_chk): Use %ebx for saving value across system call.
34061 2010-09-06 Andreas Schwab <schwab@redhat.com>
34063 * manual/Makefile: Don't mix pattern rules with normal rules.
34065 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34067 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34069 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34070 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34071 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34072 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34076 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34079 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34080 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34082 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34084 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34085 * sysdeps/x86_64/addmul_1.S: Likewise.
34086 * sysdeps/x86_64/lshift.S: Likewise.
34087 * sysdeps/x86_64/mul_1.S: Likewise.
34088 * sysdeps/x86_64/rshift.S: Likewise.
34089 * sysdeps/x86_64/sub_n.S: Likewise.
34090 * sysdeps/x86_64/submul_1.S: Likewise.
34092 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34094 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34095 Define __sched_param instead of SCHED_* and sched_param when
34096 <bits/sched.h> is included with __need_schedparam defined.
34097 * bits/sched.h [__need_schedparam]
34098 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34099 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34100 (__defined_schedparam): Define to 1.
34101 (__sched_param): New structure, identical to sched_param.
34102 (__need_schedparam): Undefine.
34104 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34106 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34107 (epoll_create1): Declare.
34109 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34111 2010-08-31 Andreas Schwab <schwab@redhat.com>
34114 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34115 shifting retval into place.
34117 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34119 * nis/rpcsvc/nis.h: Update copyright notice.
34120 * nis/rpcsvc/nis.x: Likewise.
34121 * nis/rpcsvc/nis_callback.h: Likewise.
34122 * nis/rpcsvc/nis_callback.x: Likewise.
34123 * nis/rpcsvc/nis_object.x: Likewise.
34124 * nis/rpcsvc/nis_tags.h: Likewise.
34125 * nis/rpcsvc/yp.h: Likewise.
34126 * nis/rpcsvc/yp.x: Likewise.
34127 * nis/rpcsvc/ypupd.h: Likewise.
34128 * nis/yp_xdr.c: Likewise.
34129 * nis/ypupdate_xdr.c: Likewise.
34131 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34132 mainly the body of pmap_getport. Add parameters to specify timeouts.
34133 (pmap_getport): Use __libc_rpc_getport.
34134 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34135 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34136 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34138 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34143 2010-08-27 Roland McGrath <roland@redhat.com>
34145 * sysdeps/i386/i686/multiarch/Makefile
34146 (CFLAGS-varshift.c): New variable.
34148 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34150 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34151 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34153 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34155 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34157 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34159 * sysdeps/x86_64/strlen.S: Unroll the loop.
34160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34161 strlen-sse2 strlen-sse2-bsf.
34162 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34163 __strlen_no_bsf if bit_Slow_BSF is set.
34164 (__strlen_sse42): Removed.
34165 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34166 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34168 2010-08-25 Roland McGrath <roland@redhat.com>
34170 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34171 * sysdeps/x86_64/multiarch/varshift.c: New file.
34172 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34173 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34174 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34175 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34177 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34179 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34180 strlen-sse2 strlen-sse2-bsf.
34181 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34182 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34183 (__strlen_sse2): Removed.
34184 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34185 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34187 bit_Slow_BSF for Atom.
34188 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34189 (index_Slow_BSF): Define.
34190 (HAS_SLOW_BSF): Define.
34192 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34195 * resolv/res_init.c (__res_vinit): When no server address at all
34196 is given default to loopback.
34198 2010-08-24 Roland McGrath <roland@redhat.com>
34200 * configure.in: Remove config-name.h generation.
34201 * configure: Regenerated.
34202 * config-name.in: File removed.
34203 * scripts/config-uname.sh: New file.
34204 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34205 ($(objdir)config-name.h): New target.
34207 * sunrpc/rpc_parse.h: Avoid nested comment.
34209 2010-08-24 Richard Henderson <rth@redhat.com>
34210 Ulrich Drepper <drepper@redhat.com>
34211 H.J. Lu <hongjiu.lu@intel.com>
34213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34215 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34216 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34217 _mm_alignr_epi8 with _mm_loadu_si128.
34218 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34219 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34220 (__m128i_shift_right): Removed.
34221 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34222 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34223 * sysdeps/x86_64/multiarch/varshift.h: New file.
34224 * sysdeps/x86_64/multiarch/varshift.S: New file.
34226 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34228 * configure.in: Move assembler checks to before sysdep dir checking.
34230 2010-08-20 Petr Baudis <pasky@suse.cz>
34232 * LICENSES: Sync the sunrpc license.
34234 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34236 * sunrpc/auth_des.c: Update copyright notice once again.
34237 * sunrpc/auth_none.c: Likewise.
34238 * sunrpc/auth_unix.c: Likewise.
34239 * sunrpc/authdes_prot.c: Likewise.
34240 * sunrpc/authuxprot.c: Likewise.
34241 * sunrpc/bindrsvprt.c: Likewise.
34242 * sunrpc/clnt_gen.c: Likewise.
34243 * sunrpc/clnt_perr.c: Likewise.
34244 * sunrpc/clnt_raw.c: Likewise.
34245 * sunrpc/clnt_simp.c: Likewise.
34246 * sunrpc/clnt_tcp.c: Likewise.
34247 * sunrpc/clnt_udp.c: Likewise.
34248 * sunrpc/clnt_unix.c: Likewise.
34249 * sunrpc/des_crypt.c: Likewise.
34250 * sunrpc/des_soft.c: Likewise.
34251 * sunrpc/get_myaddr.c: Likewise.
34252 * sunrpc/getrpcport.c: Likewise.
34253 * sunrpc/key_call.c: Likewise.
34254 * sunrpc/key_prot.c: Likewise.
34255 * sunrpc/openchild.c: Likewise.
34256 * sunrpc/pm_getmaps.c: Likewise.
34257 * sunrpc/pm_getport.c: Likewise.
34258 * sunrpc/pmap_clnt.c: Likewise.
34259 * sunrpc/pmap_prot.c: Likewise.
34260 * sunrpc/pmap_prot2.c: Likewise.
34261 * sunrpc/pmap_rmt.c: Likewise.
34262 * sunrpc/rpc/auth.h: Likewise.
34263 * sunrpc/rpc/auth_unix.h: Likewise.
34264 * sunrpc/rpc/clnt.h: Likewise.
34265 * sunrpc/rpc/des_crypt.h: Likewise.
34266 * sunrpc/rpc/key_prot.h: Likewise.
34267 * sunrpc/rpc/netdb.h: Likewise.
34268 * sunrpc/rpc/pmap_clnt.h: Likewise.
34269 * sunrpc/rpc/pmap_prot.h: Likewise.
34270 * sunrpc/rpc/pmap_rmt.h: Likewise.
34271 * sunrpc/rpc/rpc.h: Likewise.
34272 * sunrpc/rpc/rpc_des.h: Likewise.
34273 * sunrpc/rpc/rpc_msg.h: Likewise.
34274 * sunrpc/rpc/svc.h: Likewise.
34275 * sunrpc/rpc/svc_auth.h: Likewise.
34276 * sunrpc/rpc/types.h: Likewise.
34277 * sunrpc/rpc/xdr.h: Likewise.
34278 * sunrpc/rpc_clntout.c: Likewise.
34279 * sunrpc/rpc_cmsg.c: Likewise.
34280 * sunrpc/rpc_common.c: Likewise.
34281 * sunrpc/rpc_cout.c: Likewise.
34282 * sunrpc/rpc_dtable.c: Likewise.
34283 * sunrpc/rpc_hout.c: Likewise.
34284 * sunrpc/rpc_main.c: Likewise.
34285 * sunrpc/rpc_parse.c: Likewise.
34286 * sunrpc/rpc_parse.h: Likewise.
34287 * sunrpc/rpc_prot.c: Likewise.
34288 * sunrpc/rpc_sample.c: Likewise.
34289 * sunrpc/rpc_scan.c: Likewise.
34290 * sunrpc/rpc_scan.h: Likewise.
34291 * sunrpc/rpc_svcout.c: Likewise.
34292 * sunrpc/rpc_tblout.c: Likewise.
34293 * sunrpc/rpc_util.c: Likewise.
34294 * sunrpc/rpc_util.h: Likewise.
34295 * sunrpc/rpcinfo.c: Likewise.
34296 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34297 * sunrpc/rpcsvc/key_prot.x: Likewise.
34298 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34299 * sunrpc/rpcsvc/mount.x: Likewise.
34300 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34301 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34302 * sunrpc/rpcsvc/rex.x: Likewise.
34303 * sunrpc/rpcsvc/rstat.x: Likewise.
34304 * sunrpc/rpcsvc/rusers.x: Likewise.
34305 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34306 * sunrpc/rpcsvc/spray.x: Likewise.
34307 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34308 * sunrpc/rtime.c: Likewise.
34309 * sunrpc/svc.c: Likewise.
34310 * sunrpc/svc_auth.c: Likewise.
34311 * sunrpc/svc_authux.c: Likewise.
34312 * sunrpc/svc_raw.c: Likewise.
34313 * sunrpc/svc_run.c: Likewise.
34314 * sunrpc/svc_simple.c: Likewise.
34315 * sunrpc/svc_tcp.c: Likewise.
34316 * sunrpc/svc_udp.c: Likewise.
34317 * sunrpc/svc_unix.c: Likewise.
34318 * sunrpc/svcauth_des.c: Likewise.
34319 * sunrpc/xcrypt.c: Likewise.
34320 * sunrpc/xdr.c: Likewise.
34321 * sunrpc/xdr_array.c: Likewise.
34322 * sunrpc/xdr_float.c: Likewise.
34323 * sunrpc/xdr_mem.c: Likewise.
34324 * sunrpc/xdr_rec.c: Likewise.
34325 * sunrpc/xdr_ref.c: Likewise.
34326 * sunrpc/xdr_sizeof.c: Likewise.
34327 * sunrpc/xdr_stdio.c: Likewise.
34329 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34332 2010-08-19 Andreas Schwab <schwab@redhat.com>
34334 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34336 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34338 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34339 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34340 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34341 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34342 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34343 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34344 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34345 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34346 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34347 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34348 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34349 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34350 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34351 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34353 2010-07-26 Anton Blanchard <anton@samba.org>
34355 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34356 * malloc/arena.c (heap_trim): Likewise.
34358 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34360 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34362 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34363 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34365 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34367 * sysdeps/i386/elf/Makefile: New file.
34369 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34371 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34372 from fanotify_init.
34373 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34374 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34376 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34378 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34380 * sysdeps/multiarch/strcmp.S: Likewise.
34382 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34384 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34385 strncase_l-nonascii.
34386 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34387 Add strncase_l-ssse3.
34388 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34389 * sysdeps/x86_64/strcmp.S: Likewise.
34390 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34391 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34392 * sysdeps/x86_64/strncase.S: New file.
34393 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34394 * sysdeps/x86_64/strncase_l.S: New file.
34395 * string/Makefile (strop-tests): Add strncasecmp.
34396 * string/test-strncasecmp.c: New file.
34398 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34401 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34402 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34404 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34406 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34408 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34410 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34411 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34412 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34414 2010-05-01 Alan Modra <amodra@gmail.com>
34416 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34417 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34418 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34419 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34420 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34421 tidying. Don't tail-call __sigjmp_save for static lib.
34422 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34424 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34425 (CALL_MCOUNT): Add eh info, and nop after bl.
34426 (TAIL_CALL_SYSCALL_ERROR): New macro.
34427 (PSEUDO_RET): Use it.
34428 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34429 Correct save location of integer regs and cr.
34430 (_dl_profile_resolve): Correct cr save location. Delete nops
34431 after bl when SHARED. Reduce cfi size a little by better
34432 placement of cfi directives.
34433 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34434 make a stack frame. Instead use parm save area as a temp.
34435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34436 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34438 Don't make a stack frame for parent, use parm save area.
34439 Increase child stack frame to 112 bytes. Don't save unused reg,
34440 and adjust reg usage. Set up cfi on error recovery and
34441 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34443 (__makecontext): Add dummy nop after jump to exit.
34444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34445 Use correct parm save area and cr save, reduce stack frame.
34446 Correct cfi for possible PSEUDO_RET frame setup.
34447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34448 Branch to local label emitted by PSEUDO_RET rather than
34451 2010-08-12 Andreas Schwab <schwab@redhat.com>
34454 * locale/programs/locale.c (print_assignment): New function.
34455 (show_locale_vars): Use it.
34457 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34459 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34461 (struct statfs64): Likewise.
34462 (_STATFS_F_FLAGS): Define.
34463 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34464 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34465 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34466 (ST_VALID): Define locally.
34467 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34468 __statvfs_getflags, use the provided value.
34469 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34470 __ASSUME_STATFS_F_FLAGS.
34472 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34474 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34475 Add sys/fanotify.h.
34476 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34477 fanotify_mask for GLIBC_2.13.
34478 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34479 fanotify_init and fanotify_mark.
34480 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34481 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34483 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34485 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34486 prlimit64 for GLIBC_2.13.
34487 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34489 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34492 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34493 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34494 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34495 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34497 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34500 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34501 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34503 * nss/Makefile: Add rules to build and run tst-nss-test1.
34504 * shlib-versions: Add entry for libnss_test1.
34505 * nss/nss_test1.c: New file.
34506 * nss/tst-nss-test1.c: New file.
34508 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34509 (__nss_configure_lookup): Set appropriate entry in
34510 __nss_configure_lookup to true.
34511 * nss/nsswitch.h: Define enum with indeces of databases in
34512 databases and __nss_database_custom arrays. Declare
34513 __nss_database_custom.
34514 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34515 to avoid using nscd when custom rules are installed.
34516 * nss/getXXbyYY_r.c: Likewise.
34517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34519 * nss/nss_files/files-parse.c: Whitespace fixes.
34521 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34524 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34525 * posix/fnmatch_loop.c: Likewise.
34527 2010-07-17 Andi Kleen <ak@linux.intel.com>
34529 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34530 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34531 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34532 * Versions.def [GLIBC_2.13]: Add.
34534 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34536 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34537 Also fail if tpwd after pwuid call is NULL.
34539 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34541 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34542 when converting to ms.
34544 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34546 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34547 EOPNOTSUPP errors with ENOTTY.
34548 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34549 EOPNOTSUPP errors with ENOTTY.
34551 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34553 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34554 Add strcasecmp_l-ssse3.
34555 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34557 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34558 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34559 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34561 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34563 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34565 * string/Makefile (strop-tests): Add strcasecmp.
34566 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34567 strcasecmp_l-nonascii.
34568 (gen-as-const-headers): Add locale-defines.sym.
34569 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34570 * sysdeps/x86_64/strcasecmp.S: New file.
34571 * sysdeps/x86_64/strcasecmp_l.S: New file.
34572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34573 * sysdeps/x86_64/locale-defines.sym: New file.
34574 * string/test-strcasecmp.c: New file.
34576 * string/test-strcasestr.c: Test both ends of the range of characters.
34577 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34579 2010-07-29 Roland McGrath <roland@redhat.com>
34582 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34584 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34586 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34589 2010-07-27 Andreas Schwab <schwab@redhat.com>
34591 * manual/memory.texi (Malloc Tunable Parameters): Document
34594 2010-07-26 Roland McGrath <roland@redhat.com>
34597 * configure.in (-fgnu89-inline check): Set and substitute
34598 gnu89_inline, not libc_cv_gnu89_inline.
34599 * configure: Regenerated.
34600 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34602 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34604 * string/test-strnlen.c: New file.
34605 * string/Makefile (strop-tests): Add strnlen.
34606 * string/tester.c (test_strnlen): Add a few more test cases.
34607 * string/tst-strlen.c: Better error reporting.
34609 * sysdeps/x86_64/strnlen.S: New file.
34611 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34613 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34614 lower-latency instructions.
34616 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34618 * string/test-strcasestr.c: New file.
34619 * string/test-strstr.c: New file.
34620 * string/Makefile (strop-tests): Add strstr and strcasestr.
34621 * string/str-two-way.h: Don't undefine MAX.
34622 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34624 2010-07-21 Andreas Schwab <schwab@redhat.com>
34626 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34627 strcasestr-nonascii.
34628 (CFLAGS-strcasestr-nonascii.c): Define.
34629 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34630 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34631 Remove unused attribute.
34633 2010-07-20 Roland McGrath <roland@redhat.com>
34635 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34636 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34637 ld.so.cache was broken. With it, there is no way to disable dsocaps
34638 like LD_HWCAP_MASK can disable hwcaps.
34640 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34642 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34644 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34646 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34647 call in strcasestr.
34648 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34649 __strcasestr_sse42_nonascii.
34650 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34651 strcasestr-nonascii.c.
34652 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34654 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34656 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34657 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34658 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34659 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34661 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34663 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34666 2010-07-06 Andreas Schwab <schwab@redhat.com>
34669 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34672 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34674 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34675 _PC_PIPE_BUF using F_GETPIPE_SZ.
34677 2010-07-05 Roland McGrath <roland@redhat.com>
34679 * manual/arith.texi (Rounding Functions): Fix rint description
34680 implicit in round description.
34682 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34684 * elf/Makefile: Fix linking for a few tests to make recent linker
34687 2010-06-30 Andreas Schwab <schwab@redhat.com>
34689 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34690 $(common-objpfx)libc_nonshared.a.
34692 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34694 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34695 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34696 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34697 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34698 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34699 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34700 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34701 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34716 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34717 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34718 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34719 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34720 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34721 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34722 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34723 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34724 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34725 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34726 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34727 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34743 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34745 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34746 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34747 * string/memmove.c (memmove): Renamed to ...
34748 (MEMMOVE): ...this. Default to memmove.
34749 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34750 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34753 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34754 mempcpy-ssse3-back memmove-ssse3-back.
34755 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34756 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34757 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34758 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34759 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34760 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34761 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34762 * sysdeps/x86_64/multiarch/memmove.c: New file.
34763 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34764 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34765 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34766 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34767 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34768 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34770 (index_Fast_Copy_Backward): Define.
34771 (HAS_ARCH_FEATURE): Define.
34772 (HAS_FAST_REP_STRING): Define.
34773 (HAS_FAST_COPY_BACKWARD): Define.
34775 2010-06-21 Andreas Schwab <schwab@redhat.com>
34777 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34778 Restore proper fallback handling.
34780 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34783 * posix/group_member.c (__group_member): Correct checking loop.
34785 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34786 OOM in getpwuid_r correctly. Return error number when the caller
34787 should return, otherwise -1.
34788 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34789 call returning > 0 value.
34790 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34792 2010-06-07 Andreas Schwab <schwab@redhat.com>
34794 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34795 libc_nonshared.a from targets in modules-names.
34797 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34799 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34802 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34804 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34805 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34806 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34807 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34809 2010-06-02 Andreas Schwab <schwab@redhat.com>
34811 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34813 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34815 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34818 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34819 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34821 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34822 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34824 2010-06-14 Roland McGrath <roland@redhat.com>
34826 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34828 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34830 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34831 __REDIRECT followed by __THROW.
34832 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34833 * posix/getopt.h (getopt): Likewise.
34835 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34837 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34838 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34839 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34841 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34842 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34844 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34846 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34848 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34852 Properly check family and model.
34854 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34856 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34858 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34860 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34862 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34864 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34867 2010-05-19 Andreas Schwab <schwab@redhat.com>
34869 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34872 2010-05-21 Andreas Schwab <schwab@redhat.com>
34874 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34875 and internal_recvmmsg.
34876 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34877 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34878 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34879 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34881 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34882 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34883 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34885 2010-05-20 Andreas Schwab <schwab@redhat.com>
34887 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34889 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34891 POWER7 optimizations.
34892 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34893 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34895 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34897 * version.h: Update for 2.13 development version.
34899 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34901 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34902 exceptions. Return 0.
34904 2010-05-07 Roland McGrath <roland@redhat.com>
34906 * elf/ldconfig.c (main): Add a const.
34908 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34910 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34911 (args_options): Add no-idn option.
34912 (ahosts_keys_int): Add idn_flags to ai_flags.
34913 (parse_option): Handle 'i' option to clear idn_flags.
34915 * malloc/malloc.c (_int_free): Possible race in the most recently
34916 added check. Only act on the data if no current modification
34919 See ChangeLog.17 for earlier changes.