1 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3 * locale/iso-639.def: Add Central Nahuatl (nhn).
5 2013-11-01 Bruno Haible <bruno@clisp.org>
8 * manual/math.texi (BSD Random): Specify range upper bound as
11 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13 * locale/iso-639.def: Add Meadow Mari (mhr).
15 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17 [BZ #14752], [BZ #15763]
18 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20 * rt/tst_shm.c: Add test for escaping directory.
22 2013-10-31 Andreas Schwab <schwab@suse.de>
25 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26 followed by 'x' as part of digit sequence.
27 * stdio-common/tst-sscanf.c (double_tests2): New tests.
29 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
32 * configure.ac: allow GNU Make 4.0 and greater.
33 * configure: Regenerated.
35 2013-10-30 Will Newton <will.newton@linaro.org>
38 * malloc/hooks.c (memalign_check): Limit alignment to the
39 maximum representable power of two.
40 * malloc/malloc.c (__libc_memalign): Likewise.
41 * malloc/tst-memalign.c (do_test): Add test for very
42 large alignment values.
43 * malloc/tst-posix_memalign.c (do_test): Likewise.
45 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
48 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
49 (munmap_chunk): Likewise.
50 (mremap_chunk): Likewise.
52 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
55 * stdlib/div.c (div): Remove obsolete code.
56 * stdlib/ldiv.c (ldiv): Likewise.
57 * stdlib/lldiv.c (lldiv): Likewise.
59 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62 * nss/nss_files/files-XXX.c (get_contents_ret): New
64 (get_contents): New function.
65 (internal_getent): Use it. Expand size of LINEBUFLEN.
67 2013-10-30 Mike Frysinger <vapier@gentoo.org>
69 * configure.in: Moved to ...
70 * configure.ac: ... here. Change reference to configure.in
72 * sysdeps/arm/preconfigure.ac: ... here.
73 configure.in to configure.ac.
74 * sysdeps/gnu/configure.in: Moved to ...
75 * sysdeps/gnu/configure.ac: ... here.
76 * sysdeps/i386/configure.in: Moved to ...
77 * sysdeps/i386/configure.ac: ... here.
78 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
79 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
80 * sysdeps/mach/configure.in: Moved to ...
81 * sysdeps/mach/configure.ac: ... here.
82 * sysdeps/mach/hurd/configure.in: Moved to ...
83 * sysdeps/mach/hurd/configure.ac: ... here.
84 * sysdeps/powerpc/configure.in: Moved to ...
85 * sysdeps/powerpc/configure.ac: ... here.
86 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
87 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
88 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
89 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
90 * sysdeps/s390/s390-32/configure.in: Moved to ...
91 * sysdeps/s390/s390-32/configure.ac: ... here.
92 * sysdeps/s390/s390-64/configure.in: Moved to ...
93 * sysdeps/s390/s390-64/configure.ac: ... here.
94 * sysdeps/sh/configure.in: Moved to ...
95 * sysdeps/sh/configure.ac: ... here.
96 * sysdeps/sparc/configure.in: Moved to ...
97 * sysdeps/sparc/configure.ac: ... here.
98 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
99 * sysdeps/unix/sysv/linux/configure.ac: ... here.
100 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
101 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
102 * sysdeps/x86_64/configure.in: Moved to ...
103 * sysdeps/x86_64/configure.ac: ... here.
104 * sysdeps/x86_64/preconfigure.in: Moved to ...
105 * sysdeps/x86_64/preconfigure.ac: ... here.
106 * aclocal.m4: Change reference to configure.in to configure.ac.
107 * config.h.in: Likewise.
108 * manual/install.texi: Likewise.
109 * manual/maint.texi: Likewise.
110 * Makefile: Likewise.
111 * malloc/Makefile: Likewise.
112 * nscd/Makefile: Likewise.
113 * Makeconfig: Change reference to configure.in and
114 preconfigure.in to configure.ac and preconfigure.ac
116 * INSTALL: Regenerated.
117 * configure: Likewise.
118 * sysdeps/gnu/configure: Likewise.
119 * sysdeps/i386/configure: Likewise.
120 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
121 * sysdeps/mach/configure: Likewise.
122 * sysdeps/mach/hurd/configure: Likewise.
123 * sysdeps/powerpc/configure: Likewise.
124 * sysdeps/powerpc/powerpc32/configure: Likewise.
125 * sysdeps/powerpc/powerpc64/configure: Likewise.
126 * sysdeps/s390/s390-32/configure: Likewise.
127 * sysdeps/s390/s390-64/configure: Likewise.
128 * sysdeps/sh/configure: Likewise.
129 * sysdeps/sparc/configure: Likewise.
130 * sysdeps/unix/sysv/linux/configure: Likewise.
131 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
132 * sysdeps/x86_64/configure: Likewise.
133 * sysdeps/x86_64/preconfigure: Likewise.
135 2013-10-29 Andreas Schwab <schwab@suse.de>
137 * stdio-common/Makefile (tst-swscanf-ENV): Define.
139 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
141 * benchtests/pow-inputs: Add new inputs.
143 * benchtests/exp-inputs: Add new inputs.
145 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
146 conditional check for return value.
149 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
151 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
152 to provide a boost for large inputs with word alignment.
153 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
154 implementation based on optimized PPC64 strcpy.
155 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
156 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
157 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
158 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
160 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
163 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
165 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
168 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
169 * time/tst-strptime.c (day_tests): Add testcase.
171 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
174 * manual/pattern.texi: Acknowledge that fnmatch can fail.
176 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
179 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
182 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
185 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
186 heap for large requests.
188 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
191 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
192 result if the result has no associated interface.
193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
194 interface for all 127.X.Y.Z addresses.
196 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
198 * locale/iso-639.def: Add Ligurian (lij)
200 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
203 * sunrpc/rpc_main.c: Document rpcgen -5.
205 2013-10-19 Michael Stahl <mstahl@redhat.com>
207 * elf/rtld.c (do_preload): Print the reason why preloading failed.
209 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
212 * posix/glob.c: Match only directories when trailing slash is present.
213 * posix/tst-gnuglob.c (my_opendir): Do not open files.
214 (main): Add testcase.
216 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
219 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
221 2013-10-18 Carlos O'Donell <carlos@redhat.com>
223 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
224 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
225 AUTH_DES and cindex for FIPS 140-2.
226 (DES Encryption): Add cindex FIPS 46-3.
228 * locale/locarchive.h (struct locarhandle): Add fname.
229 * locale/programs/localedef.c (main): Pass ARGV[remaining]
230 if an optional argument was specified to --list-archive,
232 * locale/programs/locarchive.c (show_archive_content): Take new
233 argument fname and pass it via ah.fname to open_archive.
234 * locale/programs/localedef.h: Update decl.
235 (open_archive): If AH->fname is non-null, open that file
236 rather than the default file name, and don't ignore ENOENT.
237 (create_archive): Set AH.fname to NULL.
238 (delete_locales_from_archive): Likewise.
239 (add_locales_to_archive): Likewise.
240 * locale/programs/locfile.c (write_all_categories): Likewise.
242 2013-10-18 Joseph Myers <joseph@codesourcery.com>
243 Aldy Hernandez <aldyh@redhat.com>
245 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
246 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
247 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
248 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
249 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
250 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
251 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
252 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
253 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
254 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
255 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
256 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
257 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
258 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
259 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
261 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
263 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
265 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
267 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
268 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
270 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
271 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
272 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
273 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
275 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
276 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
277 * sysdeps/powerpc/preconfigure: Likewise.
278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
280 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
281 Replace contents of file by #include of <fenv_libc.h>.
282 * sysdeps/powerpc/soft-fp/sfp-machine.h
283 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
285 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
286 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
287 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
288 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
289 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
290 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
292 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
293 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
294 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
295 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
296 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
298 Allow copysignl PLT reference to be missing.
300 2013-10-18 Richard Sandiford <richard@codesourcery.com>
301 Joseph Myers <joseph@codesourcery.com
304 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
306 (add_to_tablewc): Assert sequence of wide characters is nonempty.
308 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
310 * elf/tst-tls-dlinfo.c: Don't include tls.h.
311 * elf/tst-tls1.c: Likewise.
312 * elf/tst-tls10.h: Likewise.
313 * elf/tst-tls14.c: Likewise.
314 * elf/tst-tls2.c: Likewise.
315 * elf/tst-tls3.c: Likewise.
316 * elf/tst-tls4.c: Likewise.
317 * elf/tst-tls5.c: Likewise.
318 * elf/tst-tls6.c: Likewise.
319 * elf/tst-tls7.c: Likewise.
320 * elf/tst-tls8.c: Likewise.
321 * elf/tst-tls9.c: Likewise.
322 * elf/tst-tlsmod1.c: Likewise.
323 * elf/tst-tlsmod13.c: Likewise.
324 * elf/tst-tlsmod13a.c: Likewise.
325 * elf/tst-tlsmod14a.c: Likewise.
326 * elf/tst-tlsmod16a.c: Likewise.
327 * elf/tst-tlsmod16b.c: Likewise.
328 * elf/tst-tlsmod2.c: Likewise.
329 * elf/tst-tlsmod3.c: Likewise.
330 * elf/tst-tlsmod4.c: Likewise.
331 * elf/tst-tlsmod5.c: Likewise.
332 * elf/tst-tlsmod6.c: Likewise.
334 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
337 * malloc/malloc.c: remove checks for statistics.
339 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
342 * inet/inet_net.c (inet_network): Detect additional invalid strings.
343 * inet/tst-network.c: Add testcase.
345 2013-10-17 Andreas Schwab <schwab@suse.de>
348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
349 to determine canonical name.
351 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
353 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
354 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
356 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
358 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
359 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
360 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
361 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
362 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
363 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
364 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
365 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
366 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
367 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
368 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
369 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
370 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
371 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
372 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
373 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
374 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
375 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
376 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
377 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
378 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
379 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
380 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
381 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
382 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
383 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
385 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
386 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
387 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
388 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
389 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
390 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
391 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
392 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
393 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
394 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
395 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
396 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
397 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
398 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
399 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
400 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
401 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
402 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
403 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
404 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
405 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
406 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
407 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
408 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
409 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
410 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
412 2013-10-17 Joseph Myers <joseph@codesourcery.com>
415 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
416 make result into a quiet NaN.
418 2013-10-16 Joseph Myers <joseph@codesourcery.com>
420 * soft-fp/adddf3.c: Fix horizontal whitespace.
421 * soft-fp/addsf3.c: Likewise.
422 * soft-fp/addtf3.c: Likewise.
423 * soft-fp/divdf3.c: Likewise.
424 * soft-fp/divsf3.c: Likewise.
425 * soft-fp/divtf3.c: Likewise.
426 * soft-fp/double.h: Likewise.
427 * soft-fp/eqdf2.c: Likewise.
428 * soft-fp/eqsf2.c: Likewise.
429 * soft-fp/eqtf2.c: Likewise.
430 * soft-fp/extenddftf2.c: Likewise.
431 * soft-fp/extended.h: Likewise.
432 * soft-fp/extendsfdf2.c: Likewise.
433 * soft-fp/extendsftf2.c: Likewise.
434 * soft-fp/extendxftf2.c: Likewise.
435 * soft-fp/fixdfdi.c: Likewise.
436 * soft-fp/fixdfsi.c: Likewise.
437 * soft-fp/fixdfti.c: Likewise.
438 * soft-fp/fixsfdi.c: Likewise.
439 * soft-fp/fixsfsi.c: Likewise.
440 * soft-fp/fixsfti.c: Likewise.
441 * soft-fp/fixtfdi.c: Likewise.
442 * soft-fp/fixtfsi.c: Likewise.
443 * soft-fp/fixtfti.c: Likewise.
444 * soft-fp/fixunsdfdi.c: Likewise.
445 * soft-fp/fixunsdfsi.c: Likewise.
446 * soft-fp/fixunsdfti.c: Likewise.
447 * soft-fp/fixunssfdi.c: Likewise.
448 * soft-fp/fixunssfsi.c: Likewise.
449 * soft-fp/fixunssfti.c: Likewise.
450 * soft-fp/fixunstfdi.c: Likewise.
451 * soft-fp/fixunstfsi.c: Likewise.
452 * soft-fp/fixunstfti.c: Likewise.
453 * soft-fp/floatdidf.c: Likewise.
454 * soft-fp/floatdisf.c: Likewise.
455 * soft-fp/floatditf.c: Likewise.
456 * soft-fp/floatsidf.c: Likewise.
457 * soft-fp/floatsisf.c: Likewise.
458 * soft-fp/floatsitf.c: Likewise.
459 * soft-fp/floattidf.c: Likewise.
460 * soft-fp/floattisf.c: Likewise.
461 * soft-fp/floattitf.c: Likewise.
462 * soft-fp/floatundidf.c: Likewise.
463 * soft-fp/floatundisf.c: Likewise.
464 * soft-fp/floatunditf.c: Likewise.
465 * soft-fp/floatunsidf.c: Likewise.
466 * soft-fp/floatunsisf.c: Likewise.
467 * soft-fp/floatunsitf.c: Likewise.
468 * soft-fp/floatuntidf.c: Likewise.
469 * soft-fp/floatuntisf.c: Likewise.
470 * soft-fp/floatuntitf.c: Likewise.
471 * soft-fp/fmadf4.c: Likewise.
472 * soft-fp/fmasf4.c: Likewise.
473 * soft-fp/fmatf4.c: Likewise.
474 * soft-fp/gedf2.c: Likewise.
475 * soft-fp/gesf2.c: Likewise.
476 * soft-fp/getf2.c: Likewise.
477 * soft-fp/ledf2.c: Likewise.
478 * soft-fp/lesf2.c: Likewise.
479 * soft-fp/letf2.c: Likewise.
480 * soft-fp/muldf3.c: Likewise.
481 * soft-fp/mulsf3.c: Likewise.
482 * soft-fp/multf3.c: Likewise.
483 * soft-fp/negdf2.c: Likewise.
484 * soft-fp/negsf2.c: Likewise.
485 * soft-fp/negtf2.c: Likewise.
486 * soft-fp/op-1.h: Likewise.
487 * soft-fp/op-2.h: Likewise.
488 * soft-fp/op-4.h: Likewise.
489 * soft-fp/op-8.h: Likewise.
490 * soft-fp/op-common.h: Likewise.
491 * soft-fp/quad.h: Likewise.
492 * soft-fp/single.h: Likewise.
493 * soft-fp/soft-fp.h: Likewise.
494 * soft-fp/sqrtdf2.c: Likewise.
495 * soft-fp/sqrtsf2.c: Likewise.
496 * soft-fp/sqrttf2.c: Likewise.
497 * soft-fp/subdf3.c: Likewise.
498 * soft-fp/subsf3.c: Likewise.
499 * soft-fp/subtf3.c: Likewise.
500 * soft-fp/truncdfsf2.c: Likewise.
501 * soft-fp/trunctfdf2.c: Likewise.
502 * soft-fp/trunctfsf2.c: Likewise.
503 * soft-fp/trunctfxf2.c: Likewise.
504 * soft-fp/unorddf2.c: Likewise.
505 * soft-fp/unordsf2.c: Likewise.
506 * soft-fp/unordtf2.c: Likewise.
508 2013-10-15 Joseph Myers <joseph@codesourcery.com>
510 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
511 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
513 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
515 * elf/dl-libc.c: Clear initfini list after freeing.
517 2013-10-14 Joseph Myers <joseph@codesourcery.com>
519 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
520 * soft-fp/addsf3.c: Likewise.
521 * soft-fp/addtf3.c: Likewise.
522 * soft-fp/divdf3.c: Likewise.
523 * soft-fp/divsf3.c: Likewise.
524 * soft-fp/divtf3.c: Likewise.
525 * soft-fp/double.h: Likewise.
526 * soft-fp/eqdf2.c: Likewise.
527 * soft-fp/eqsf2.c: Likewise.
528 * soft-fp/eqtf2.c: Likewise.
529 * soft-fp/extenddftf2.c: Likewise.
530 * soft-fp/extended.h: Likewise.
531 * soft-fp/extendsfdf2.c: Likewise.
532 * soft-fp/extendsftf2.c: Likewise.
533 * soft-fp/extendxftf2.c: Likewise.
534 * soft-fp/fixdfdi.c: Likewise.
535 * soft-fp/fixdfsi.c: Likewise.
536 * soft-fp/fixdfti.c: Likewise.
537 * soft-fp/fixsfdi.c: Likewise.
538 * soft-fp/fixsfsi.c: Likewise.
539 * soft-fp/fixsfti.c: Likewise.
540 * soft-fp/fixtfdi.c: Likewise.
541 * soft-fp/fixtfsi.c: Likewise.
542 * soft-fp/fixtfti.c: Likewise.
543 * soft-fp/fixunsdfdi.c: Likewise.
544 * soft-fp/fixunsdfsi.c: Likewise.
545 * soft-fp/fixunsdfti.c: Likewise.
546 * soft-fp/fixunssfdi.c: Likewise.
547 * soft-fp/fixunssfsi.c: Likewise.
548 * soft-fp/fixunssfti.c: Likewise.
549 * soft-fp/fixunstfdi.c: Likewise.
550 * soft-fp/fixunstfsi.c: Likewise.
551 * soft-fp/fixunstfti.c: Likewise.
552 * soft-fp/floatdidf.c: Likewise.
553 * soft-fp/floatdisf.c: Likewise.
554 * soft-fp/floatditf.c: Likewise.
555 * soft-fp/floatsidf.c: Likewise.
556 * soft-fp/floatsisf.c: Likewise.
557 * soft-fp/floatsitf.c: Likewise.
558 * soft-fp/floattidf.c: Likewise.
559 * soft-fp/floattisf.c: Likewise.
560 * soft-fp/floattitf.c: Likewise.
561 * soft-fp/floatundidf.c: Likewise.
562 * soft-fp/floatundisf.c: Likewise.
563 * soft-fp/floatunsidf.c: Likewise.
564 * soft-fp/floatunsisf.c: Likewise.
565 * soft-fp/floatuntidf.c: Likewise.
566 * soft-fp/floatuntisf.c: Likewise.
567 * soft-fp/floatuntitf.c: Likewise.
568 * soft-fp/fmadf4.c: Likewise.
569 * soft-fp/fmasf4.c: Likewise.
570 * soft-fp/fmatf4.c: Likewise.
571 * soft-fp/gedf2.c: Likewise.
572 * soft-fp/gesf2.c: Likewise.
573 * soft-fp/getf2.c: Likewise.
574 * soft-fp/ledf2.c: Likewise.
575 * soft-fp/lesf2.c: Likewise.
576 * soft-fp/letf2.c: Likewise.
577 * soft-fp/muldf3.c: Likewise.
578 * soft-fp/mulsf3.c: Likewise.
579 * soft-fp/multf3.c: Likewise.
580 * soft-fp/negdf2.c: Likewise.
581 * soft-fp/negsf2.c: Likewise.
582 * soft-fp/negtf2.c: Likewise.
583 * soft-fp/op-1.h: Likewise.
584 * soft-fp/op-2.h: Likewise.
585 * soft-fp/op-4.h: Likewise.
586 * soft-fp/op-8.h: Likewise.
587 * soft-fp/op-common.h: Likewise.
588 * soft-fp/quad.h: Likewise.
589 * soft-fp/single.h: Likewise.
590 * soft-fp/soft-fp.h: Likewise.
591 * soft-fp/sqrtdf2.c: Likewise.
592 * soft-fp/sqrtsf2.c: Likewise.
593 * soft-fp/sqrttf2.c: Likewise.
594 * soft-fp/subdf3.c: Likewise.
595 * soft-fp/subsf3.c: Likewise.
596 * soft-fp/subtf3.c: Likewise.
597 * soft-fp/truncdfsf2.c: Likewise.
598 * soft-fp/trunctfdf2.c: Likewise.
599 * soft-fp/trunctfsf2.c: Likewise.
600 * soft-fp/trunctfxf2.c: Likewise.
601 * soft-fp/unorddf2.c: Likewise.
602 * soft-fp/unordsf2.c: Likewise.
603 * soft-fp/unordtf2.c: Likewise.
605 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
608 * misc/error.c (error_tail): Fix possible buffer overflow.
610 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
613 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
616 2013-10-14 P. J. McDermott <pj@pehjota.net>
619 * elf/ldd.bash.in (try_trace): New function. Delete previous code
620 testing pipefail option.
622 2013-10-12 Joseph Myers <joseph@codesourcery.com>
624 * soft-fp/double.h: Indent preprocessor directives inside #if.
625 * soft-fp/extended.h: Likewise.
626 * soft-fp/op-2.h: Likewise.
627 * soft-fp/op-4.h: Likewise.
628 * soft-fp/op-common.h: Likewise.
629 * soft-fp/quad.h: Likewise.
630 * soft-fp/single.h: Likewise.
631 * soft-fp/soft-fp.h: Likewise.
633 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
635 * iconv/iconv_prog.c: Fix typos.
636 * stdio-common/psiginfo-data.h: Likewise.
638 2013-10-12 Reuben Thomas <rrt@sc3d.org>
641 * locale/setlocale.c: Fix typo.
643 2013-10-12 Joseph Myers <joseph@codesourcery.com>
646 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
647 signaling NaN arguments.
648 * soft-fp/unordsf2.c (__unordsf2): Likewise.
649 * soft-fp/unordtf2.c (__unordtf2): Likewise.
652 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
654 * soft-fp/gesf2.c (__gesf2): Likewise.
655 * soft-fp/getf2.c (__getf2): Likewise.
656 * soft-fp/ledf2.c (__ledf2): Likewise.
657 * soft-fp/lesf2.c (__lesf2): Likewise.
658 * soft-fp/letf2.c (__letf2): Likewise.
660 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
661 * soft-fp/eqsf2.c (__eqsf2): Likewise.
662 * soft-fp/eqtf2.c (__eqtf2): Likewise.
663 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
664 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
665 * soft-fp/fixdfti.c (__fixdfti): Likewise.
666 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
667 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
668 * soft-fp/fixsfti.c (__fixsfti): Likewise.
669 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
670 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
671 * soft-fp/fixtfti.c (__fixtfti): Likewise.
672 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
673 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
674 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
675 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
676 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
677 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
678 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
679 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
680 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
681 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
682 * soft-fp/floatdisf.c (__floatdisf): Likewise.
683 * soft-fp/floatsisf.c (__floatsisf): Likewise.
684 * soft-fp/floattidf.c (__floattidf): Likewise.
685 * soft-fp/floattisf.c (__floattisf): Likewise.
686 * soft-fp/floattitf.c (__floattitf): Likewise.
687 * soft-fp/floatundidf.c (__floatundidf): Likewise.
688 * soft-fp/floatundisf.c (__floatundisf): Likewise.
689 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
690 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
691 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
692 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
693 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
694 * soft-fp/gesf2.c (__gesf2): Likewise.
695 * soft-fp/getf2.c (__getf2): Likewise.
696 * soft-fp/ledf2.c (__ledf2): Likewise.
697 * soft-fp/lesf2.c (__lesf2): Likewise.
698 * soft-fp/letf2.c (__letf2): Likewise.
700 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
701 Undefine and redefine.
702 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
703 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
704 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
705 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
706 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
707 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
708 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
709 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
710 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
711 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
712 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
713 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
714 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
715 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
716 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
719 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
720 without decrementing exponent if mantissa >= that for the
722 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
723 denominator, not >. Decrement exponent in < case instead of
724 incrementing in >= case.
725 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
726 without decrementing exponent if mantissa >= that for the
729 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
730 computing saturated result for unsigned overflow.
732 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
733 Jeff Law <law@redhat.com>
735 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
736 (atan2Mp): Add systemtap probe marker.
737 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
738 (__ieee754_log): Add systemtap probe marker.
739 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
740 (atanMp): Add systemtap probe marker.
741 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
742 (tanMp): Add systemtap probe marker.
743 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
744 (__slowexp): Add systemtap probe marker.
745 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
746 (__slowpow): Add systemtap probe marker.
747 * manual/probes.texi: Document probes.
749 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
752 * libio/fileops.c (_IO_new_file_write): Return count of bytes
754 (_IO_new_file_xsputn): Don't return EOF if nothing has been
756 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
757 written to buffer but not flushed.
758 * libio/iofwrite_u.c: Likewise.
759 * libio/iopadn.c: Return bytes returned even if EOF was
761 * libio/iowpadn.c: Likewise.
762 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
763 if _IO_padn does not write the whole buffer.
764 [!COMPILE_WPRINTF] (PAD): Likewise.
766 2013-10-10 David S. Miller <davem@davemloft.net>
768 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
771 2013-10-10 Joseph Myers <joseph@codesourcery.com>
773 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
774 instead of FSF address.
775 * soft-fp/fixdfti.c: Likewise.
776 * soft-fp/fixsfti.c: Likewise.
777 * soft-fp/fixtfti.c: Likewise.
778 * soft-fp/fixunsdfti.c: Likewise.
779 * soft-fp/fixunssfti.c: Likewise.
780 * soft-fp/fixunstfti.c: Likewise.
781 * soft-fp/floattidf.c: Likewise.
782 * soft-fp/floattisf.c: Likewise.
783 * soft-fp/floattitf.c: Likewise.
784 * soft-fp/floatuntidf.c: Likewise.
785 * soft-fp/floatuntisf.c: Likewise.
786 * soft-fp/floatuntitf.c: Likewise.
787 * soft-fp/trunctfxf2.c: Likewise.
789 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
790 * soft-fp/fixdfti.c: Likewise.
791 * soft-fp/fixsfti.c: Likewise.
792 * soft-fp/fixtfti.c: Likewise.
793 * soft-fp/fixunsdfti.c: Likewise.
794 * soft-fp/fixunssfti.c: Likewise.
795 * soft-fp/fixunstfti.c: Likewise.
796 * soft-fp/floattidf.c: Likewise.
797 * soft-fp/floattisf.c: Likewise.
798 * soft-fp/floattitf.c: Likewise.
799 * soft-fp/floatuntidf.c: Likewise.
800 * soft-fp/floatuntisf.c: Likewise.
801 * soft-fp/floatuntitf.c: Likewise.
802 * soft-fp/trunctfxf2.c: Likewise.
804 2013-10-10 David S. Miller <davem@davemloft.net>
806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
808 2013-10-10 Joseph Myers <joseph@codsourcery.com>
810 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
811 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
812 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
813 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
814 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
815 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
816 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
818 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
819 for NaNs before doing comparisons on argument.
820 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
823 2013-10-10 Will Newton <will.newton@linaro.org>
825 * malloc/hooks.c (memalign_check): Ensure the value of bytes
826 passed to _int_memalign does not overflow.
828 2013-10-10 Torvald Riegel <triegel@redhat.com>
830 * scripts/bench.pl: Add include-sources directive.
831 * benchtests/README: Update documentation.
833 2013-10-10 Joseph Myers <joseph@codesourcery.com>
835 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
836 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
837 instead of FP_INIT_ROUNDMODE.
838 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
839 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
842 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
843 copy class of input value.
844 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
845 not handle exceptions.
846 * soft-fp/negsf2.c (__negsf2): Likewise.
847 * soft-fp/negtf2.c (__negtf2): Likewise.
848 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
850 2013-10-09 Joseph Myers <joseph@codesourcery.com>
852 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
853 semicolon. From Linux kernel.
855 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
857 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
859 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
862 * manual/socket.texi: Added statement about buffer
863 for gethostbyname2_r.
865 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
867 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
868 Use .p2align directive instead, throughout.
869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
870 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
871 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
872 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
874 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
875 * sysdeps/x86_64/strchr.S: Likewise.
876 * sysdeps/x86_64/strrchr.S: Likewise.
878 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
880 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
882 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
884 * sysdeps/generic/math_private.h (__mpsin1): Remove
886 (__mpcos1): Likewise.
887 (__mpsin): New argument __range_reduce.
889 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
890 (slow): Use __mpsin and __mpcos.
903 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
904 range_reduce. Merge in __mpsin1.
907 (__mpcos1): Likewise.
909 2013-10-07 Joseph Myers <joseph@codesourcery.com>
911 * locale/loadlocale.c (_nl_intern_locale_data): Use
913 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
914 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
915 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
916 obstack data is appropriately aligned.
917 (obstack_int32_grow_fast): Likewise.
918 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
919 * locale/programs/locfile.c (add_locale_uint32): Likewise.
920 (add_locale_uint32_array): Likewise.
922 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
924 * benchtests/Makefile: Remove ARGLIST and RET variables.
925 ($(objpfx)bench-%.c): Pass only function name to the script.
926 * benchtests/README: Update documentation.
927 * benchtests/acos-inputs: Add new directives.
928 * benchtests/acosh-inputs: Likewise.
929 * benchtests/asin-inputs: Likewise.
930 * benchtests/asinh-inputs: Likewise.
931 * benchtests/atan-inputs: Likewise.
932 * benchtests/atanh-inputs: Likewise.
933 * benchtests/cos-inputs: Likewise.
934 * benchtests/cosh-inputs: Likewise.
935 * benchtests/exp-inputs: Likewise.
936 * benchtests/log-inputs: Likewise.
937 * benchtests/pow-inputs: Likewise.
938 * benchtests/rint-inputs: Likewise.
939 * benchtests/sin-inputs: Likewise.
940 * benchtests/sinh-inputs: Likewise.
941 * benchtests/tan-inputs: Likewise.
942 * benchtests/tanh-inputs: Likewise.
943 * scripts/bench.pl: Add support for new directives.
945 2013-10-07 Alan Modra <amodra@gmail.com>
947 * README: Fix careless merge.
949 2013-10-05 Alan Modra <amodra@gmail.com>
951 * NEWS: Mention powerpc64le support and bugs fixed.
952 * README: Both big-endian and little-endian powerpc64 supported.
954 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
956 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
957 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
958 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
959 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
961 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
963 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
966 2013-10-04 Joseph Myers <joseph@codesourcery.com>
968 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
969 Move -mhard-float appending from
970 ports/sysdeps/powerpc/powerpc32/Makefile.
971 [$(with-fp) = yes] (ASFLAGS): Likewise.
972 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
973 * sysdeps/powerpc/nofpu: Move directory from
974 ports/sysdeps/powerpc/nofpu.
975 * sysdeps/powerpc/soft-fp: Move directory from
976 ports/sysdeps/powerpc/soft-fp.
977 * sysdeps/powerpc/powerpc32/405: Move directory from
978 ports/sysdeps/powerpc/powerpc32/405.
979 * sysdeps/powerpc/powerpc32/440: Move directory from
980 ports/sysdeps/powerpc/powerpc32/440.
981 * sysdeps/powerpc/powerpc32/464: Move directory from
982 ports/sysdeps/powerpc/powerpc32/464.
983 * sysdeps/powerpc/powerpc32/476: Move directory from
984 ports/sysdeps/powerpc/powerpc32/476.
985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
986 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
988 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
990 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
992 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
994 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
995 * README: Update for powerpc-*-linux-gnu software floating point
998 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
999 case to powerpc/powerpc32*.
1000 * sysdeps/unix/sysv/linux/configure: Regenerated.
1002 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1003 (_FPU_MASK_OM): Define as 0x04.
1004 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1005 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1009 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1012 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1015 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1018 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1019 and setcontext_e500.
1021 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1023 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1025 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1027 * manual/threads.texi (Default Thread Attributes): Fix typo.
1029 2013-10-04 Will Newton <will.newton@linaro.org>
1031 * malloc/Makefile: Add tst-memalign.
1032 * malloc/tst-memalign.c: New file.
1034 * malloc/tst-posix_memalign.c: Add comments.
1035 (do_test): Add comments and call free on all potentially
1036 allocated pointers. Add space after cast.
1038 * malloc/tst-pvalloc.c: Add comments.
1039 (do_test): Add comments and call free on all potentially
1040 allocated pointers. Remove duplicate check for NULL pointer.
1041 Add space after cast.
1043 * malloc/tst-valloc.c: Add comments.
1044 (do_test): Add comments and call free on all potentially
1045 allocated pointers. Remove duplicate check for NULL pointer.
1046 Add space after cast.
1048 2013-10-04 Alan Modra <amodra@gmail.com>
1050 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1051 Use stdint types in rather than __attribute__((mode())).
1052 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1054 2013-10-04 Alan Modra <amodra@gmail.com>
1056 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1057 Correct handling of unaligned relocs for little-endian.
1058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1060 2013-10-04 Alan Modra <amodra@gmail.com>
1062 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1063 * configure: Regenerate.
1064 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1065 * shlib-versions: Likewise.
1067 2013-10-04 Alan Modra <amodra@gmail.com>
1069 * string/tester.c (test_memrchr): Increment reported test cycle.
1071 2013-10-04 Alan Modra <amodra@gmail.com>
1073 * string/test-memcpy.c (do_one_test): When reporting errors, print
1074 string address and don't overrun end of string.
1076 2013-10-04 Alan Modra <amodra@gmail.com>
1078 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1079 insrdi. Make better use of reg selection to speed exit slightly.
1080 Schedule entry path a little better. Remove useless "are we done"
1081 checks on entry to main loop. Handle wrapping around zero address.
1082 Correct main loop count. Handle single left-over word from main
1083 loop inline rather than by using loop_small. Remove extra word
1084 case in loop_small caused by wrong loop count. Add little-endian
1086 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1087 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1089 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1090 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1091 support. Avoid rlwimi.
1092 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1094 2013-10-04 Alan Modra <amodra@gmail.com>
1096 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1098 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1099 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1100 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1101 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1102 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1103 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1105 2013-10-04 Alan Modra <amodra@gmail.com>
1107 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1108 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1109 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1110 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1111 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1112 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1113 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1114 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1115 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1116 use of regs. Use power7 mtocrf. Tidy function tails.
1118 2013-10-04 Alan Modra <amodra@gmail.com>
1120 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1121 Formatting. Consistently use rXXX register defines or rN defines.
1122 Use early exit labels that avoid restoring unused non-volatile regs.
1123 Make cr field use more consistent with rWORDn compares. Rename
1124 regs used as shift registers for unaligned loop, using rN defines
1125 for short lifetime/multiple use regs.
1126 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1127 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1128 addi 1,1,64 to pop stack frame. Simplify return value code.
1129 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1131 2013-10-04 Alan Modra <amodra@gmail.com>
1133 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1134 support. Correct typos, formatting. Optimize tail. Use insrdi
1136 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1137 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1138 little-endian support. Correct typos.
1139 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1141 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1142 in loop and entry code to keep "and." results.
1143 (strchr): Add little-endian support. Comment. Move cntlzd
1145 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1147 2013-10-04 Alan Modra <amodra@gmail.com>
1149 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1150 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1151 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1152 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1154 2013-10-04 Alan Modra <amodra@gmail.com>
1156 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1157 (rTMP): Define as r11.
1158 (strcmp): Add little-endian support. Optimise tail.
1159 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1160 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1161 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1162 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1165 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1167 2013-10-04 Alan Modra <amodra@gmail.com>
1169 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1170 little-endian support. Remove unnecessary "are we done" tests.
1171 Handle "s" wrapping around zero and extremely large "size".
1172 Correct main loop count. Handle single left-over word from main
1173 loop inline rather than by using small_loop. Correct comments.
1174 Delete "zero" tail, use "end_max" instead.
1175 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1177 2013-10-04 Alan Modra <amodra@gmail.com>
1179 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1180 support. Don't branch over align.
1181 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1182 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1183 support. Rearrange tmp reg use to suit. Comment.
1184 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1186 2013-10-04 Alan Modra <amodra@gmail.com>
1188 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1190 2013-10-04 Alan Modra <amodra@gmail.com>
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1193 conditional form of branch and link when obtaining pc.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1196 2013-10-04 Alan Modra <amodra@gmail.com>
1198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1203 2013-10-04 Alan Modra <amodra@gmail.com>
1205 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1206 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1207 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1208 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1209 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1210 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1211 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1212 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1213 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1214 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1216 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1217 Alistair Popple <alistair@ozlabs.au.ibm.com>
1218 Alan Modra <amodra@gmail.com>
1221 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1222 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1223 _dl_hwcap access for little-endian.
1224 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1225 destroy vmx regs when saving unaligned.
1226 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1227 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1228 destroy vmx regs when saving unaligned.
1230 2013-10-04 Alan Modra <amodra@gmail.com>
1232 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1233 Don't use a union to pack hi/low value.
1235 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1237 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1239 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1240 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1241 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1242 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1243 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1245 2013-10-04 Alan Modra <amodra@gmail.com>
1247 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1248 constants to usual value for .cst8 section, and remove redundant
1250 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1251 constant for 0x1p52. Load little-endian words of double from
1252 correct stack offsets.
1254 2013-10-04 Alan Modra <amodra@gmail.com>
1256 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1257 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1258 words of double from correct stack offsets.
1259 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1260 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1261 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1262 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1263 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1264 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1265 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1266 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1267 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1268 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1269 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1270 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1271 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1272 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1273 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1274 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1275 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1277 2013-10-04 Alan Modra <amodra@gmail.com>
1279 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1280 64-bit int/double union.
1281 (_FPU_SETCW): Likewise.
1282 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1283 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1285 2013-10-04 Alan Modra <amodra@gmail.com>
1287 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1288 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1290 2013-10-04 Alan Modra <amodra@gmail.com>
1292 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1293 use vector int constants.
1294 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1296 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1298 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1299 array with long long.
1300 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1301 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1302 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1303 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1304 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1305 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1306 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1307 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1308 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1309 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1310 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1311 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1312 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1314 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1316 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1317 (__signbit): Likewise. Correct for little-endian.
1318 (__signbitl): Call __signbit.
1319 (lrint): Correct for little-endian.
1320 (lrintf): Call lrint.
1322 2013-10-04 Alan Modra <amodra@gmail.com>
1324 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1325 union 32-bit int array member with 64-bit int array.
1326 (t515, tm256): Double rather than long double.
1327 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1329 2013-10-04 Alan Modra <amodra@gmail.com>
1331 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1333 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1334 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1335 version of math_ldbl.h.
1337 2013-10-04 Alan Modra <amodra@gmail.com>
1339 [BZ #15734], [BZ #15735]
1340 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1341 all uses of ieee875 long double macros and unions. Simplify test
1342 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1343 ldbl_extract_mantissa value for ix,iy exponents. Properly
1344 normalize after ldbl_extract_mantissa, and don't add hidden bit
1345 already handled. Don't treat low word of ieee854 mantissa like
1346 low word of IBM long double and mask off bit when testing for
1348 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1349 all uses of ieee875 long double macros and unions. Simplify tests
1350 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1351 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1352 two1022, instead use their values. Recognise that tests for large
1353 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1354 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1355 Rewrite all uses of ieee875 long double macros and unions. Simplify
1356 test for 0.0L and nan. Correct negation.
1357 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1358 ieee875 long double macros and unions. Correct output for large
1359 magnitude x. Correct absolute value calculation.
1360 (__erfcl): Likewise.
1361 * math/libm-test.inc: Add tests for errors discovered in IBM long
1362 double versions of fmodl, remainderl, erfl and erfcl.
1364 2013-10-04 Alan Modra <amodra@gmail.com>
1366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1367 all uses of ieee854 long double macros and unions. Simplify tests
1368 for long doubles that are fully specified by the high double.
1369 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1371 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1372 Remove dead code too.
1373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1374 (__ieee754_ynl): Likewise.
1375 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1376 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1377 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1378 Remove dead code too.
1379 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1380 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1381 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1382 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1384 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1386 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1387 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1388 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1389 Comment on variable precision.
1390 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1391 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1393 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1394 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1395 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1396 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1397 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1399 2013-10-04 Alan Modra <amodra@gmail.com>
1401 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1402 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1403 all uses of ieee854 long double macros and unions.
1404 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1405 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1406 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1407 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1408 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1409 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1411 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1412 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1413 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1414 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1415 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1416 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1417 Simplify sign and nan test too.
1418 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1419 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1420 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1421 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1423 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1424 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1426 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1427 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1428 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1429 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1430 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1433 2013-10-04 Alan Modra <amodra@gmail.com>
1435 * stdio-common/printf_size.c (__printf_size): Don't use
1436 union ieee854_long_double in fpnum union.
1437 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1438 signbit macro to retrieve sign from long double.
1439 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1440 retrieve sign from long double.
1441 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1442 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1443 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1444 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1445 * math/test-misc.c (main): Don't use union ieee854_long_double.
1447 2013-10-04 Alan Modra <amodra@gmail.com>
1450 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1451 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1452 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1453 calculation. Remove unnecessary test for denormal exponent.
1454 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1455 Correct handling of denormals. Avoid undefined shift behaviour.
1456 Correct normalisation of low mantissa when low double is denormal.
1457 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1458 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1459 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1460 Correct normalisation of low mantissa. Test for overflow of high
1461 mantissa and normalise.
1462 (ldbl_nearbyint): Use more readable constant for two52.
1463 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1464 (__mpn_construct_long_double): Fix test for overflow of high
1465 mantissa and correct normalisation. Avoid undefined shift.
1467 2013-10-04 Alan Modra <amodra@gmail.com>
1469 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1470 (union ibm_extended_long_double): Define as an array of ieee754_double.
1471 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1472 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1473 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1474 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1475 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1476 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1477 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1478 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1479 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1480 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1481 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1483 2013-10-03 Joseph Myers <joseph@codesourcery.com>
1485 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1486 page size instead of calling getpagesize.
1488 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1489 (LOCFILE_ALIGN_MASK): Likewise.
1490 (LOCFILE_ALIGN_UP): Likewise.
1491 (LOCFILE_ALIGNED_P): Likewise.
1492 * locale/programs/ld-collate.c (collate_output): Use the new
1493 macros instead of __alignof__ (int32_t).
1494 * locale/weight.h (findidx): Likewise.
1496 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
1499 * manual/string.texi: Fix strncat and wcsncat.
1501 2013-10-03 Brooks Moses <bmoses@google.com>
1504 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1505 * Makerules: ...here, and adjust associated comments.
1507 2013-10-02 Will Newton <will.newton@linaro.org>
1509 * malloc/Makefile: Add tst-pvalloc.
1510 * malloc/tst-pvalloc.c: New file.
1512 2013-10-02 Will Newton <will.newton@linaro.org>
1514 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1515 improve test coverage.
1517 2013-10-02 Will Newton <will.newton@linaro.org>
1519 * malloc/Makefile: Add tst-posix_memalign.
1520 * malloc/tst-posix_memalign.c: New file.
1522 2013-10-01 Eric Blake <eblake@redhat.com>
1524 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1525 Use __THROWNL rather than __THROW on static functions.
1527 2013-09-30 Petr Machata <pmachata@redhat.com>
1529 * elf/elf.h (R_AARCH64_ABS16): New macro.
1530 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1531 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1532 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1533 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1534 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1535 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1536 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1537 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1538 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1539 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1540 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1541 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1542 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1543 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1544 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1545 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1546 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1547 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1548 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1549 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1550 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1551 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1552 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1553 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1554 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1555 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1556 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1557 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1558 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1559 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1560 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1561 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1562 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1563 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1564 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1565 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1566 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1567 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1568 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1569 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1570 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1571 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1572 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1573 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1574 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1575 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1576 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1577 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1578 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1579 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1580 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1581 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1582 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1583 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1584 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1585 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1586 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1587 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1588 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1589 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1590 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1591 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1592 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1593 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1594 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1595 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1596 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1597 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1598 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1599 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1600 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1601 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1602 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1603 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1604 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1605 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1606 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1607 (R_AARCH64_TLSDESC_LDR): Likewise.
1608 (R_AARCH64_TLSDESC_ADD): Likewise.
1609 (R_AARCH64_TLSDESC_CALL): Likewise.
1611 2013-09-30 Andreas Schwab <schwab@suse.de>
1614 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1615 the nss database lookup.
1616 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1619 2013-09-28 Mike Frysinger <vapier@gentoo.org>
1621 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1623 2013-09-28 P. J. McDermott <pj@pehjota.net>
1625 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1626 ${Bash-specific parameter/pattern/string} parameter expansion.
1627 * sysdeps/unix/make-syscalls.sh: Likewise.
1629 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1631 * sysdeps/sh/stackguard-macros.h: New file.
1633 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
1635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1636 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1637 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1638 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1639 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1640 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1642 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1644 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1645 Fix thread ID register.
1647 2013-09-25 Joseph Myers <joseph@codesourcery.com>
1649 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1650 [POSIX || UNIX98]: Require rather than permitting all symbols from
1652 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1653 element of struct sched_param.
1654 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1655 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1656 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1657 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1660 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1662 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1663 argument calculation.
1665 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1667 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1669 [POSIX] (pthread_attr_t): Do not require type.
1670 [POSIX] (pthread_cond_t): Likewise.
1671 [POSIX] (pthread_condattr_t): Likewise.
1672 [POSIX] (pthread_key_t): Likewise.
1673 [POSIX] (pthread_mutex_t): Likewise.
1674 [POSIX] (pthread_mutexattr_t): Likewise.
1675 [POSIX] (pthread_once_t): Likewise.
1676 [POSIX] (pthread_t): Likewise.
1677 [POSIX-based standards] (pthread_atfork): Expect function.
1679 2013-09-24 Joseph Myers <joseph@codesourcery.com>
1680 Richard Sandiford <richard@codesourcery.com>
1682 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1683 (swap_endianness_p): New extern variable.
1684 (set_big_endian): New inline function.
1685 (maybe_swap_uint32): Likewise.
1686 (maybe_swap_uint32_array): Likewise.
1687 (maybe_swap_uint32_obstack): Likewise.
1688 * locale/programs/locfile.c: Include <stdbool.h>.
1689 (swap_endianness_p): New variable.
1690 (add_locale_uint32): Call maybe_swap_uint32.
1691 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1692 (write_locale_data): Call maybe_swap_uint32_array.
1693 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1695 (obstack_int32_grow_fast): Likewise.
1696 (output_weightwc): Call maybe_swap_uint32_obstack.
1697 (collate_output): Likewise.
1698 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1699 (OPT_LITTLE_ENDIAN): Likewise.
1700 (options): Add --little-endian and --big-endian options.
1701 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1702 * locale/programs/locarchive.c: Include "locfile.h".
1706 (create_archive): Use the new macros to access fields of
1707 structures directly mapped from or written to locale archives.
1708 (oldlocrecentcmp): Likewise.
1709 (enlarge_archive): Likewise.
1710 (insert_name): Likewise.
1711 (add_alias): Likewise.
1712 (add_locale): Likewise.
1713 (delete_locales_from_archive): Likewise.
1714 (show_archive_content): Likewise.
1715 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1718 2013-09-24 Roland McGrath <roland@hack.frob.com>
1720 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1721 http://www.gnu.org/doc/freemanuals.texi.
1722 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1724 2013-09-24 Will Newton <will.newton@linaro.org>
1726 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1729 2013-09-23 Joseph Myers <joseph@codesourcery.com>
1731 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1734 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1736 * manual/threads.texi (POSIX Threads): Fix a typo.
1738 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1741 * string/tst-strcoll-overflow.c: New test case.
1742 * string/Makefile (xtests): Add tst-strcoll-overflow.
1743 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1744 cache if string sizes may cause integer overflow.
1747 * string/strcoll_l.c (coll_seq): New members rule, idx,
1748 save_idx and back_us.
1749 (get_next_seq_nocache): New function.
1750 (do_compare_nocache): New function.
1751 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1754 2013-09-23 Carlos O'Donell <carlos@redhat.com>
1757 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1758 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1759 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1762 * elf/Makefile (tests): Add tst-ptrguard1.
1763 (tests-static): Add tst-ptrguard1-static.
1764 (tst-ptrguard1-ARGS): Define.
1765 (tst-ptrguard1-static-ARGS): Define.
1766 * elf/tst-ptrguard1.c: New file.
1767 * elf/tst-ptrguard1-static.c: New file.
1768 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1769 * sysdeps/i386/stackguard-macros.h: Likewise.
1770 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1771 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1772 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1773 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1774 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1775 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1777 2013-09-23 Hector Marco <hecmargi@upv.es>
1778 Ismael Ripoll <iripoll@disca.upv.es>
1779 Carlos O'Donell <carlos@redhat.com>
1782 * sysdeps/generic/stackguard-macros.h: Define
1783 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1784 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1785 Define __pointer_chk_guard_local.
1786 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1787 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1789 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1792 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1794 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1796 * include/string.h (__ffs): Declare as hidden.
1797 * string/ffs.c (__ffs): Define as hidden.
1798 * sysdeps/i386/ffs.c (__ffs): Likewise.
1799 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1800 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1801 * sysdeps/s390/ffs.c (__ffs): Likewise.
1802 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1804 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
1806 * NEWS: Mention malloc probes.
1808 * malloc/arena.c (new_heap): New memory_heap_new probe.
1809 (grow_heap): New memory_heap_more probe.
1810 (shrink_heap): New memory_heap_less probe.
1811 (heap_trim): New memory_heap_free probe.
1812 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1813 (systrim): New memory_sbrk_less probe.
1814 * manual/probes.texi: Document them.
1816 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1817 * manual/probes.texi: Document it.
1819 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1820 (__libc_realloc): Add memory_realloc_retry probe.
1821 (__libc_memalign): Add memory_memalign_retry probe.
1822 (__libc_valloc): Add memory_valloc_retry probe.
1823 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1824 (__libc_calloc): Add memory_calloc_retry probe.
1825 * manual/probes.texi: Document them.
1827 * malloc/arena.c (get_free_list): Add probe
1828 memory_arena_reuse_free_list.
1829 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1830 and memory_arena_reuse.
1831 (arena_get2) [!PER_THREAD]: Likewise.
1832 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1833 memory_arena_reuse_realloc.
1834 * manual/probes.texi: Document them.
1836 * malloc/malloc.c (__libc_free): Add
1837 memory_mallopt_free_dyn_thresholds probe.
1838 (__libc_mallopt): Add multiple memory_mallopt probes.
1839 * manual/probes.texi: Document them.
1841 * malloc/malloc.c: Include stap-probe.h.
1842 (__libc_mallopt): Add memory_mallopt probe.
1843 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1844 * manual/probes.texi: New.
1845 * manual/Makefile (chapters): Add probes.
1846 * manual/threads.texi: Set next node.
1848 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
1851 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1852 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1853 Add `Chinese' to `nan' entry name.
1855 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1857 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1858 (POLYNOMIAL): Likewise.
1859 (TAYLOR_SINCOS): Likewise.
1860 (TAYLOR_SLOW): Likewise.
1861 (__sin): Use TAYLOR_SINCOS.
1863 (slow): Use TAYLOR_SLOW.
1868 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1870 * stdlib/strtod_l.c: Fix buffer overrun.
1872 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1874 * benchtests/Makefile (bench): Add sincos.
1875 * benchtests/bench-sincos.c: New file.
1877 * math/libm-test.inc (cos_test_data): New test inputs.
1878 (sin_test_data): Likewise.
1880 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1888 (bsloww1): Likewise.
1889 (bsloww2): Likewise.
1891 (csloww1): Likewise.
1892 (csloww2): Likewise.
1894 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1899 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1903 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1905 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1906 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1907 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1908 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1909 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1910 * elf/cache.c (print_entry): Handle the new cache flags.
1912 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1913 Aldy Hernandez <aldyh@redhat.com>
1915 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1916 Change condition to [_SOFT_FLOAT].
1917 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1918 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1919 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1929 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1932 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1935 2013-09-18 Joseph Myers <joseph@codesourcery.com>
1937 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1938 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1939 (__longjmp): Use LOAD_GP to load saved GPRs.
1940 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1941 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1942 (__sigsetjmp): Use SAVE_GP to save GPRs.
1944 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1945 Do not append -msoft-float.
1946 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1948 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1950 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1952 2013-09-17 Joseph Myers <joseph@codesourcery.com>
1955 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1956 (_FPU_GETCW): Use initial "__" on variable and field names but not
1957 on macro parameter name.
1958 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1959 parentheses around reference to macro parameter.
1961 2013-09-13 Richard Sandiford <richard@codesourcery.com>
1963 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1965 (ctype_startup): Use uint32_t in cast and sizeof for
1968 2013-09-11 Jia Liu <proljc@gmail.com>
1970 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1972 [__FreeBSD__]: Likewise.
1974 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
1976 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1977 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1978 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1979 (strchr): Remove __strchr_sse42 ifunc selection.
1980 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1981 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1983 2013-09-11 Will Newton <will.newton@linaro.org>
1985 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1986 parameter to RES. Remove hardcoded 1000 value.
1987 * benchtests/bench-skeleton.c (main): Pass RES parameter
1988 to TIMING_INIT and multiply result by 1000.
1990 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1994 2013-09-11 Andreas Schwab <schwab@suse.de>
1996 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1998 (O_TMPFILE) [__USE_GNU]: Define.
1999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2002 2013-09-11 Will Newton <will.newton@linaro.org>
2005 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2008 2013-09-11 Will Newton <will.newton@linaro.org>
2011 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2014 2013-09-11 Will Newton <will.newton@linaro.org>
2017 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2020 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2022 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2023 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2025 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2026 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2028 2013-09-10 Allan McRae <allan@archlinux.org>
2031 * manual/arith.texi (Parsing of Floats): Clarify
2035 * manual/install.texi (Running make install): Mention
2037 * INSTALL: Regenerated.
2039 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2041 * csu/init-first.c (_init): Remove the !SHARED condition around
2042 FPU control word initialization.
2043 * elf/dl-support.c (_dl_fpu_control): New variable.
2044 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2045 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2046 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2047 * math/test-fpucw-static.c: New file.
2048 * math/test-fpucw-ieee.c: New file.
2049 * math/test-fpucw-ieee-static.c: New file.
2050 * math/Makefile (tests): Add `test-fpucw-ieee' and
2052 (tests-static): New variable.
2053 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2055 [($(build-shared),yes)]
2056 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2058 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2061 2013-09-09 Allan McRae <allan@archlinux.org>
2064 * manual/string.texi (Collation Functions): Fix typo in
2066 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2069 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2072 * libio/memstream.c (open_memstream): Fix memory leak.
2073 * libio/wmemstream.c (open_wmemstream): Likewise.
2076 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2078 2013-09-09 Will Newton <will.newton@linaro.org>
2080 * malloc/Makefile: Add tst-realloc to tests.
2081 * malloc/tst-realloc.c: New file.
2083 2013-09-09 Allan McRae <allan@archlinux.org>
2086 * COPYING: Update from GNU website to fix FSF address.
2087 * COPYING.LIB: Likewise.
2089 2013-09-06 David S. Miller <davem@davemloft.net>
2091 * po/zh_TW.po: Update Chinese (traditional) translation from
2092 translation project.
2094 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2095 Joseph Myers <joseph@codesourcery.com>
2097 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2099 (obstack_chunk_alloc): New macro.
2100 (obstack_chunk_free): Likewise.
2101 (record_offset): New function.
2102 (init_locale_data): Likewise.
2103 (align_locale_data): Likewise.
2104 (add_locale_empty): Likewise.
2105 (add_locale_raw_data): Likewise.
2106 (add_locale_raw_obstack): Likewise.
2107 (add_locale_string): Likewise.
2108 (add_locale_wstring): Likewise.
2109 (add_locale_uint32): Likewise.
2110 (add_locale_uint32_array): Likewise.
2111 (add_locale_char): Likewise.
2112 (start_locale_structure): Likewise.
2113 (end_locale_structure): Likewise.
2114 (start_locale_prelude): Likewise.
2115 (end_locale_prelude): Likewise.
2116 (write_locale_data): Take locale_file structure rather than an
2118 * locale/programs/locfile.h: Include "obstack.h".
2119 (struct locale_file): Change to store locale file contents instead
2121 (init_locale_data): New prototype.
2122 (align_locale_data): Likewise.
2123 (add_locale_empty): Likewise.
2124 (add_locale_raw_data): Likewise.
2125 (add_locale_raw_obstack): Likewise.
2126 (add_locale_string): Likewise.
2127 (add_locale_wstring): Likewise.
2128 (add_locale_uint32): Likewise.
2129 (add_locale_uint32_array): Likewise.
2130 (add_locale_char): Likewise.
2131 (start_locale_structure): Likewise.
2132 (end_locale_structure): Likewise.
2133 (start_locale_prelude): Likewise.
2134 (end_locale_prelude): Likewise.
2135 (write_locale_data): Update prototype.
2136 * locale/programs/3level.h (struct TABLE): Remove result field.
2137 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2138 Use new locale_file interface.
2139 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2140 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2141 * locale/programs/ld-address.c (address_output): Use new
2142 locale_file interface.
2143 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2145 (collate_finish): Don't call collseq_table_finalize.
2146 (collate_output): Use new locale_file interface.
2147 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2149 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2150 (TABLE): Move defines earlier in file.
2151 (ELEMENT): Likewise.
2152 (DEFAULT): Likewise.
2153 (wctrans_table_add): Move macro and inline function earlier in
2155 (struct wctype_table): Move type earlier in file.
2156 (add_locale_wctype_table): New static prototype.
2157 (struct locale_ctype_t): Use logical types instead of struct iovec
2158 pointers for members.
2159 (ctype_output): Use new locale_file interface.
2160 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2161 new locale_file interface.
2162 (allocate_arrays): Update for use of new locale_file interface.
2163 * locale/programs/ld-identification.c (identification_output): Use
2164 new locale_file interface.
2165 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2166 * locale/programs/ld-messages.c (messages_output): Likewise.
2167 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2168 * locale/programs/ld-name.c (name_output): Likewise.
2169 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2170 * locale/programs/ld-paper.c (paper_output): Likewise.
2171 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2172 * locale/programs/ld-time.c (time_output): Likewise.
2174 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2176 * benchtests/Makefile: Add memrchr benchmark.
2177 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2178 benchmark as memrchr.
2179 * benchtests/bench-memrchr-ifunc.c: New file.
2180 * benchtests/bench-memrchr.c: New file.
2182 2013-09-06 Will Newton <will.newton@linaro.org>
2184 * benchtests/Makefile (string-bench): Add memcpy.
2186 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2187 Cong Wang <amwang@redhat.com>
2189 * sysdeps/unix/sysv/linux/bits/in.h
2190 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2191 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2192 before __USE_KERNEL_IPV6_DEFS uses.
2193 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2195 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2196 sockaddr_in6, or ipv6_mreq.
2198 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2200 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2201 memory access for final bytes in some large inputs.
2202 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2204 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2206 * string/test-memrchr.c: New file.
2207 * string/test-memrchr-ifunc.c: New file.
2208 * string/Makefile: Add new memrchr testcase.
2210 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2212 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2213 fanotify_init returns EPERM.
2215 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2217 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2219 (top level): Treat second token from macro or constant entries for
2220 allowed headers as allowed.
2221 * include/complex.h: Condition internal declarations on
2223 * include/fenv.h: Condition include of <stdbool.h> and internal
2224 declarations on [!_ISOMAC].
2226 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2229 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2231 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2233 * configure.in (--enable-versioning): Remove configure option.
2234 (libc_cv_asm_symver_directive): Remove configure test.
2235 (libc_cv_ld_version_script_option): Likewise.
2236 (VERSIONING): Remove variable and AC_SUBST.
2237 (DO_VERSIONING): Remove AC_DEFINE.
2238 * configure: Regenerated.
2239 * config.h.in (DO_VERSIONING): Remove macro.
2240 * Makerules [$(versioning) = yes]: Change conditionals to
2241 [$(build-shared) = yes].
2242 * config.make.in (versioning): Remove variable.
2243 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2244 [$(build-shared) = yes].
2245 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2246 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2247 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2248 [$(build-shared) = yes].
2249 * extra-lib.mk [$(versioning) = yes]: Likewise.
2250 * hurd/Makefile [$(versioning) = yes]: Likewise.
2251 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2253 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2255 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2256 [SHARED && !NO_HIDDEN].
2257 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2259 [SHARED && DO_VERSIONING]: Likewise..
2260 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2261 [$(build-shared) = yes].
2262 * manual/install.texi (--disable-versioning): Remove
2264 * INSTALL: Regenerated.
2265 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2267 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2268 [$(build-shared) = yes].
2269 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2270 * sysdeps/i386/i686/multiarch/strstr-c.c
2271 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2272 [SHARED && !NO_HIDDEN].
2273 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2274 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2275 * sysdeps/powerpc/powerpc32/dl-machine.c
2276 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2277 * sysdeps/powerpc/powerpc32/sysdep.h
2278 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2279 to [SHARED && PIC && !NO_HIDDEN].
2280 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2281 conditional to [SHARED].
2283 2013-09-04 Will Newton <will.newton@linaro.org>
2285 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2286 * benchtests/bench-string.h: Include bench-timing.h instead
2287 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2288 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2289 call to HP_TIMING_DIFF_INIT.
2290 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2291 instead of hp-timing.h macros.
2292 * benchtests/bench-memchr.c: Likewise.
2293 * benchtests/bench-memcmp.c: Likewise.
2294 * benchtests/bench-memcpy.c: Likewise.
2295 * benchtests/bench-memmem.c: Likewise.
2296 * benchtests/bench-memmove.c: Likewise.
2297 * benchtests/bench-memset.c: Likewise.
2298 * benchtests/bench-rawmemchr.c: Likewise.
2299 * benchtests/bench-strcasecmp.c: Likewise.
2300 * benchtests/bench-strcasestr.c: Likewise.
2301 * benchtests/bench-strcat.c: Likewise.
2302 * benchtests/bench-strchr.c: Likewise.
2303 * benchtests/bench-strcmp.c: Likewise.
2304 * benchtests/bench-strcpy.c: Likewise.
2305 * benchtests/bench-strcpy_chk.c: Likewise.
2306 * benchtests/bench-strlen.c: Likewise.
2307 * benchtests/bench-strncasecmp.c: Likewise.
2308 * benchtests/bench-strncat.c: Likewise.
2309 * benchtests/bench-strncmp.c: Likewise.
2310 * benchtests/bench-strncpy.c: Likewise.
2311 * benchtests/bench-strnlen.c: Likewise.
2312 * benchtests/bench-strpbrk.c: Likewise.
2313 * benchtests/bench-strrchr.c: Likewise.
2314 * benchtests/bench-strspn.c: Likewise.
2315 * benchtests/bench-strstr.c: Likewise.
2317 2013-09-04 Will Newton <will.newton@linaro.org>
2319 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2321 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2324 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2325 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2326 * math/libm-test.inc (lgamma_test_data): Add more tests.
2327 * sysdeps/i386/fpu/libm-test-ulps: Update.
2328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2330 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
2332 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2336 Add strcmp-sse2-unaligned
2337 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2339 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2341 * Versions.def (libc): Add GLIBC_2.19.
2343 2013-09-02 Mike Frysinger <vapier@gentoo.org>
2345 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2346 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2348 2013-09-02 Joseph Myers <joseph@codesourcery.com>
2351 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2352 intermediate calculations in recurrence.
2353 (__ieee754_ynf): Likewise.
2354 * math/libm-test.inc (jn_test_data): Do not allow spurious
2355 underflow exception. Add more tests.
2356 (yn_test_data): Add more tests.
2357 * sysdeps/i386/fpu/libm-test-ulps: Update.
2358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2360 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
2362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2364 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2366 * csu/init-first.c: Fix then/than typos.
2367 * locale/programs/ld-collate.c: Likewise.
2368 * locale/programs/linereader.h: Likewise.
2369 * manual/charset.texi: Likewise.
2370 * manual/filesys.texi: Likewise.
2371 * manual/stdio.texi: Likewise.
2372 * manual/string.texi: Likewise.
2373 * stdlib/fmtmsg.c: Likewise.
2374 * sysdeps/i386/stpncpy.S: Likewise.
2375 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2376 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2377 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2378 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2380 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2382 * elf/dl-open.c: Fix typos.
2383 * iconvdata/gbbig5.c: Likewise.
2384 * iconvdata/iso-2022-jp.c: Likewise.
2385 * iconv/gconv_int.h: Likewise.
2386 * iconv/loop.c: Likewise.
2387 * nis/rpcsvc/nis.h: Likewise.
2388 * resolv/ns_name.c: Likewise.
2389 * stdio-common/vfscanf.c: Likewise.
2390 * streams/stropts.h: Likewise.
2391 * sunrpc/rpc_thread.c: Likewise.
2392 * sysdeps/i386/strpbrk.S: Likewise.
2393 * sysdeps/ieee754/k_standard.c: Likewise.
2394 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2395 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2396 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2397 * sysdeps/mach/hurd/profil.c: Likewise.
2398 * sysdeps/s390/dl-procinfo.h: Likewise.
2399 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2400 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2401 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2402 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2403 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2405 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
2407 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2408 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2410 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2412 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2414 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2416 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2417 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2421 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2423 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2424 Roland McGrath <roland@hack.frob.com>
2426 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2427 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2429 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2431 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2432 __executable_start symbol instead of _start.
2434 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2436 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2437 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2439 * sysdeps/gnu/ldsodefs.h: ... this new file.
2441 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2442 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2443 instead of ELFOSABI_LINUX.
2445 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
2446 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2447 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2448 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2450 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2451 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2452 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2454 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2455 (ibm_extended_long_double): Add ieee_nan member.
2456 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2457 (do_test): New function.
2459 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2461 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2462 functions, renamed from truncdfsf_test, trunctfsf_test,
2464 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2466 (do_test): Run all these.
2468 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
2470 * argp/argp-help.c: Fix typos.
2471 * argp/argp-parse.c: Likewise.
2472 * debug/backtracesyms.c: Likewise.
2473 * elf/elf.h: Likewise.
2474 * malloc/malloc.c: Likewise.
2475 * nis/nis_print.c: Likewise.
2476 * resolv/res_comp.c: Likewise.
2477 * stdlib/stdlib.h: Likewise.
2478 * sunrpc/clnt_tcp.c: Likewise.
2479 * sunrpc/clnt_udp.c: Likewise.
2480 * sunrpc/clnt_unix.c: Likewise.
2481 * sysdeps/unix/bsd/ptsname.c: Likewise.
2482 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2483 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2490 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2492 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2494 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2497 2013-08-27 Mike Frysinger <vapier@gentoo.org>
2500 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2501 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2502 ($(objpfx)bug-dl-leaf): New rule.
2503 ($(objpfx)bug-dl-leaf.so): Likewise.
2504 ($(objpfx)bug-dl-leaf.out): Likewise.
2505 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2506 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2507 * dlfcn/bug-dl-leaf.c: New test.
2508 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2509 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2510 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2511 (dlclose): Likewise.
2512 (dlmopen): Likewise.
2514 2013-08-27 Roland McGrath <roland@hack.frob.com>
2516 * include/netdb.h [!_ISOMAC]:
2517 Don't include <tls.h>.
2518 (h_errno, __libc_h_errno): Move declaration and macros out of
2521 * include/resolv.h [_RESOLV_H_]:
2522 Don't include <tls.h>.
2523 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2524 * resolv/res_libc.c: Don't include <tls.h>.
2525 (_res): Use __attribute__ ((nocommon)) in place of
2526 __attribute__ ((section (".bss"))).
2528 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2529 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2531 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2533 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2534 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2536 * resolv/res_mkquery.c: Include <sys/time.h>.
2538 * inet/ifreq.c: Moved to ...
2539 * sysdeps/unix/ifreq.c: ... here.
2540 * inet/ifreq.c: New file, true stub version.
2542 * socket/sa_len.c: New file.
2543 * socket/Makefile (aux): Add it.
2544 * sysdeps/unix/sysv/linux/Makefile
2545 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2546 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2547 and #include <socket/sa_len.c>.
2548 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2549 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2551 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2552 * bits/socket.h: ... here.
2554 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2555 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2556 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2558 2013-08-27 Andreas Schwab <schwab@suse.de>
2561 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2562 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2563 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2564 * string/test-strcasecmp.c (test_main): Run tests in several
2566 * string/test-strncasecmp.c (test_main): Likewise.
2568 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2569 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2570 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2572 (__strncasecmp_ssse3) [PIC]: Likewise.
2574 2013-08-26 Roland McGrath <roland@hack.frob.com>
2576 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2578 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2579 instead of explicitly declaring xdecrypt.
2580 * nis/nss_nis/nis-publickey.c: Likewise.
2582 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2585 * nscd/aicache.c: Include res_hconf.h.
2586 (addhstaiX): Initialize res_hconf.
2588 2013-08-26 Andreas Schwab <schwab@suse.de>
2590 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2591 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2593 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2595 * nscd/aicache.c (addhstaiX): Fix indentation.
2597 2013-08-25 Mike Frysinger <vapier@gentoo.org>
2599 * configure.ac: Quote $build_pt_chown test.
2600 * configure: Regenerated.
2602 2013-08-23 Joseph Myers <joseph@codesourcery.com>
2605 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2606 * math/s_cexpf.c (__cexpf): Likewise.
2607 * math/s_cexpl.c (__cexpl): Likewise.
2608 * math/libm-test.inc (cexp_test_data): Correct expected return
2609 value for NaN + i0. Add another test.
2611 2013-08-22 David S. Miller <davem@davemloft.net>
2613 * po/ca.po: Update Catalan translation from translation project.
2614 * po/uk.po: Add Ukrainian translations from translation project.
2616 2013-08-21 Joseph Myers <joseph@codesourcery.com>
2619 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2620 is infinite, not alongside NaN test.
2621 * math/s_fdimf.c (__fdimf): Likewise.
2622 * math/s_fdiml.c (__fdiml): Likewise.
2623 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2626 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
2628 * argp/argp-help.c: Fix typos.
2629 * crypt/speeds.c: Likewise.
2630 * csu/check_fds.c: Likewise.
2631 * elf/dl-load.c: Likewise.
2632 * elf/dl-open.c: Likewise.
2633 * elf/reldep3.c: Likewise.
2634 * elf/reldep.c: Likewise.
2635 * elf/sprof.c: Likewise.
2636 * iconv/iconv_charmap.c: Likewise.
2637 * iconv/skeleton.c: Likewise.
2638 * iconv/strtab.c: Likewise.
2639 * io/lockf64.c: Likewise.
2640 * libio/libioP.h: Likewise.
2641 * resolv/gai_notify.c: Likewise.
2642 * resolv/ns_name.c: Likewise.
2643 * resolv/ns_samedomain.c: Likewise.
2644 * resolv/res_send.c: Likewise.
2645 * stdlib/random.c: Likewise.
2646 * sunrpc/rpc/xdr.h: Likewise.
2647 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2648 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2649 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2650 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2651 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2652 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2653 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2654 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2655 * sysdeps/mach/hurd/check_fds.c: Likewise.
2656 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2657 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2658 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2659 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2660 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2661 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2662 * sysdeps/pthread/aio_notify.c: Likewise.
2663 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2664 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2665 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2666 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2667 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2669 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2671 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2672 version if bit_Slow_SSE4_2 is set.
2673 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2674 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2676 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2679 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2680 trampoline stack frame information.
2681 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2682 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2683 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2684 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2685 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2686 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2687 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2688 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2690 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2691 interrupting a syscall and set with option SA_SIGINFO.
2693 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2696 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2697 argument is infinite.
2698 * math/s_cprojf.c (__cprojf): Likewise.
2699 * math/s_cprojl.c (__cprojl): Likewise.
2700 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2701 * math/libm-test.inc (cproj_test_data): Add more tests.
2703 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2705 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2706 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2707 size. Use __ffs to determine corresponding shift.
2709 2013-08-20 Joseph Myers <joseph@codesourcery.com>
2710 Roland McGrath <roland@hack.frob.com>
2712 * Makefile (INSTALL): Remove trailing blank lines from output of
2715 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2717 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2718 Align 32 bit compat elf_greg to 8 bytes.
2720 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2722 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2724 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2726 * string/strcoll_l.c (coll_seq): New structure.
2727 (get_next_seq_cached): New function.
2728 (get_next_seq): New function.
2729 (do_compare): New function.
2730 (STRCOLL): Use GNU style definition. Simplify implementation
2731 by using get_next_seq, get_next_seq_cached and do_compare.
2733 2013-08-16 Florian Weimer <fweimer@redhat.com>
2737 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2739 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2741 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2742 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2743 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2745 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2746 GETDENTS_64BIT_ALIGNED.
2747 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2748 * manual/filesys.texi (Reading/Closing Directory): Document
2749 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2751 * manual/conf.texi (Limits for Files): Add portability note to
2753 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2755 2013-08-13 Andreas Schwab <schwab@suse.de>
2758 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2760 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2761 LDBL_MAX_EXP >= 16384]: Add tests for it.
2763 2013-08-12 David S. Miller <davem@davemloft.net>
2765 * version.h (RELEASE): Set to "development".
2766 (VERSION): Set to "2.18.90".
2767 * NEWS: Add 2.19 section.
2769 2013-08-03 David S. Miller <davem@davemloft.net>
2771 * po/ko.po: Update Korean translation from translation project.
2773 2013-08-01 David S. Miller <davem@davemloft.net>
2775 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2776 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2779 2013-07-30 David S. Miller <davem@davemloft.net>
2781 * po/fr.po: Update French translation from translation project.
2783 2013-07-28 David S. Miller <davem@davemloft.net>
2785 * po/cs.po: Update Czech translation from translation project.
2787 * po/sv.po: Update Swedish translation from translation project.
2789 2013-07-27 David S. Miller <davem@davemloft.net>
2791 * po/eo.po: Update Esperanto translation from translation project.
2793 * po/vi.po: Update Vietnamese translation from translation project.
2795 * po/de.po: Update German translation from translation project.
2797 2013-07-26 David S. Miller <davem@davemloft.net>
2799 * po/bg.po: Update Bulgarian translation from translation project.
2801 * po/nl.po: Update Dutch translation from translation project.
2802 * po/pl.po: Update Polish translation from translation project.
2803 * po/ru.po: Update Russian translation from translation project.
2805 2013-07-24 David S. Miller <davem@davemloft.net>
2807 * po/libc.pot: Update.
2809 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2811 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2813 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2814 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2815 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2817 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2819 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2821 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2822 Andreas Schwab <schwab@suse.de>
2823 Roland McGrath <roland@hack.frob.com>
2824 Joseph Myers <joseph@codesourcery.com>
2825 Carlos O'Donell <carlos@redhat.com>
2828 * config.h.in: Define HAVE_PT_CHOWN.
2829 * config.make.in (build-pt-chown): New variable.
2830 * configure.in (--enable-pt_chown): New configure option.
2831 * configure: Regenerate.
2832 * login/Makefile: Include Makeconfig. Build pt_chown only if
2833 build-pt-chown is enabled.
2834 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2835 pt_chown to fix pty ownership.
2836 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2838 * manual/install.texi (Configuring and compiling): Mention
2839 --enable-pt_chown. Add @findex for grantpt.
2840 * INSTALL: Regenerate.
2842 2013-07-20 David S. Miller <davem@davemloft.net>
2844 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2845 difference between 32-bit and 64-bit.
2847 2013-07-15 Carlos O'Donell <carlos@redhat.com>
2850 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2851 Avoid system header dependency with -ffreestanding.
2852 ($(objpfx)bits/syscall%d): Likewise.
2854 2013-07-13 David S. Miller <davem@davemloft.net>
2856 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2857 underflows from atanl/atan2l due to bug 15319.
2858 (casinh_test_data): Likewise.
2860 2013-07-07 David S. Miller <davem@davemloft.net>
2862 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2864 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2866 * sysdeps/i386/fpu/libm-test-ulps: Update.
2867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2869 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2871 * configure.in (--enable-lock-elision): Fix message text.
2872 * INSTALL: Regenerate.
2873 * configure: Regenerate.
2875 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2879 2013-07-03 Andreas Jaeger <aj@suse.de>
2881 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2883 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2884 (ptrace_peeksiginfo_args): Add.
2885 (__ptrace_peeksiginfo_flags): Add.
2886 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2887 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2888 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2890 2013-07-03 Allan McRae <allan@archlinux.org>
2892 * sysdeps/i386/fpu/libm-test-ulps: Update.
2894 2013-07-02 David S. Miller <davem@davemloft.net>
2896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2898 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2902 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2904 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2907 2013-07-02 Andi Kleen <ak@linux.intel.com>
2909 * config.h.in (ENABLE_LOCK_ELISION): Add.
2910 * configure.in (--enable-lock-elision): Add option.
2911 * manual/install.texi: Document --enable lock elision.
2912 * configure: Regenerate
2913 * INSTALL: Regenerate.
2915 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2917 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2918 SSE4.2 strcasecmp for libc.a.
2919 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2921 2013-07-02 Joseph Myers <joseph@codesourcery.com>
2924 * soft-fp/op-common.h (_FP_FMA): New macro.
2925 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2926 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2927 (_FP_MUL_MEAT_1_imm): ... here.
2928 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2929 (_FP_MUL_MEAT_1_wide): ... here.
2930 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2931 (_FP_MUL_MEAT_1_hard): ... here.
2932 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2933 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2934 (_FP_MUL_MEAT_2_wide): ... here.
2935 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2936 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2937 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2938 (_FP_MUL_MEAT_2_gmp): ... here.
2939 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2940 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2941 (_FP_MUL_MEAT_4_wide): ... here.
2942 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2943 (_FP_MUL_MEAT_4_gmp): ... here.
2944 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2945 (_FP_WFRACBITS_DW_S): Likewise.
2946 (_FP_WFRACXBITS_DW_S): Likewise.
2947 (_FP_HIGHBIT_DW_S): Likewise.
2948 (FP_FMA_S): Likewise.
2949 (_FP_FRAC_HIGH_DW_S): Likewise.
2950 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2951 (_FP_WFRACBITS_DW_D): Likewise.
2952 (_FP_WFRACXBITS_DW_D): Likewise.
2953 (_FP_HIGHBIT_DW_D): Likewise.
2954 (FP_FMA_D): Likewise.
2955 (_FP_FRAC_HIGH_DW_D): Likewise.
2956 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2957 (_FP_WFRACBITS_DW_E): Likewise.
2958 (_FP_WFRACXBITS_DW_E): Likewise.
2959 (_FP_HIGHBIT_DW_E): Likewise.
2960 (FP_FMA_E): Likewise.
2961 (_FP_FRAC_HIGH_DW_E): Likewise.
2962 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2963 (_FP_WFRACBITS_DW_Q): Likewise.
2964 (_FP_WFRACXBITS_DW_Q): Likewise.
2965 (_FP_HIGHBIT_DW_Q): Likewise.
2966 (FP_FMA_Q): Likewise.
2967 (_FP_FRAC_HIGH_DW_Q): Likewise.
2968 * soft-fp/fmasf4.c: New file.
2969 * soft-fp/fmadf4.c: Likewise.
2970 * soft-fp/fmatf4.c: Likewise.
2972 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2975 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2977 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2979 (index_Slow_SSE4_2): Likewise.
2980 (index_Prefer_PMINUB_for_stringop): Likewise.
2981 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2982 bit_Slow_SSE4_2 is set.
2983 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2984 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2986 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2988 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2989 rtld_global._dl_hwcap2.
2990 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2992 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2993 POWER8 feature descriptions defined in _dl_hwcap2.
2994 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2995 string handling for POWER8 feature bits.
2996 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2997 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2998 _dl_powerpc_cap_flags.
2999 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3000 * sysdeps/powerpc/rtld-global-offsets.sym
3001 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3002 _dl_hwcap2 in the rtld_global_ro structure.
3004 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3006 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3007 hardware capabilities in support of AT_HWCAP2.
3008 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3009 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3011 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3012 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3013 explicitly the unknown a_type display mechanism is used.
3014 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3015 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3017 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3018 to macro prototype for AT_HWCAP2 support.
3019 * sysdeps/i386/dl-procinfo.h: Likewise.
3020 * sysdeps/s390/dl-procinfo.h: Likewise.
3021 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3022 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3023 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3024 return -1 for unknown a_type display fallback.
3025 * sysdeps/sparc/dl-procinfo.h: Likewise.
3026 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3027 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3029 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3031 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3032 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3034 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3037 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3038 mprotect making __stack_prot writable.
3040 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3041 Joseph Myers <joseph@codesourcery.com>
3043 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3044 as being properly aligned.
3046 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3048 * dlfcn/modstatic5.c: New file.
3049 * dlfcn/tststatic5.c: New file.
3050 * dlfcn/Makefile (tests): Add tststatic5.
3051 (tests-static): Likewise.
3052 (modules-names): Add modstatic5.
3053 (tststatic5-ENV): New variable.
3054 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3057 * elf/dl-support.c (_dl_main_map): New variable.
3058 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3059 (_dl_nns, _dl_load_adds): Set to 1.
3060 (_dl_initial_searchlist): Refer to _dl_main_map.
3061 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3062 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3063 call to _dl_get_origin.
3064 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3066 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3067 * dlfcn/modstatic3.c: New file.
3068 * dlfcn/tststatic3.c: New file.
3069 * dlfcn/tststatic4.c: New file.
3070 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3071 (tests-static): Likewise.
3072 (modules-names): Add modstatic3.
3073 (tststatic3-ENV, tststatic4-ENV): New variables.
3074 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3075 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3077 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3079 * configure.in (CC): Require GCC version 4.4 or later.
3080 * configure: Regenerated.
3081 * manual/install.texi (Tools for Compilation): Update GCC version
3083 * INSTALL: Regenerated.
3085 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3088 * string/test-memcmp.c (check2): New.
3089 (main): Call check2.
3091 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3093 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3096 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3098 (dl_open_worker) [!SHARED]: ... here.
3100 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3102 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3104 2013-06-25 Richard Henderson <rth@redhat.com>
3106 * locale/programs/locarchive.c: Include <libc-internal.h>
3108 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3110 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3111 trailing whitespace removed.
3113 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3116 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3117 * locale/programs/locarchive.c: Include libc-mmap.h.
3118 (prepare_address_space): Take two new outputs (the mmap base and len).
3119 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3121 (create_archive): Declare new mmap base and len values for
3122 prepare_address_space, and store the result in ah.
3123 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3124 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3125 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3126 Declare new mmap base and len values for
3127 prepare_address_space, and store the result in new_ah.
3128 (open_archive): Declare new mmap base and len values for
3129 prepare_address_space, and store the result in ah.
3130 (close_archive): If ah->mmap_base is not NULL, use that and
3131 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3132 * sysdeps/generic/libc-mmap.h: New file.
3134 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3136 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3137 (ALIGN_UP): Likewise.
3138 (PTR_ALIGN_DOWN): Likewise.
3139 (PTR_ALIGN_UP): Likewise.
3141 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3143 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3144 entry mapped to PPC_PLATFORM_POWER8.
3145 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3147 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3148 (_dl_string_platform): Add case for exporting platform position for
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3151 search path to sysdeps/powerpc/powerpc32/power8 directory.
3152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3153 search path to sysdeps/powerpc/powerpc64/power8 directory.
3154 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3156 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3159 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3161 * INSTALL: Regenerate.
3163 * nscd/connections.c (nscd_init): Fix comment.
3165 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3167 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3170 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3171 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3173 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3175 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3177 (DL_DST_REQ_STATIC): Remove macro.
3179 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3182 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3183 with a shift of 0 bits.
3185 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3187 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3190 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3193 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3195 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3197 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3198 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3199 accepts -fno-tree-loop-distribute-patterns.
3200 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3201 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3203 * string/memset.c (memset): Likewise.
3204 * string/test-memmove.c (simple_memmove): Disable loop transformation
3206 * string/test-memset.c (simple_memset): Likewise.
3207 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3208 * benchtests/bench-memset.c (simple_memset): Likewise.
3209 * configure: Regenerated.
3211 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3213 * math/test-misc.c (main): Ignore fesetround failure when failures
3214 of subsequent rounding tests would be ignored.
3217 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3218 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3219 * math/fegetenv.c (__fegetenv): Return 0.
3220 * math/fegetexcept.c (fegetexcept): Return 0.
3221 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3223 * math/feholdexcpt.c (feholdexcept): Return 0.
3224 * math/fesetenv.c (__fesetenv): Return 0.
3225 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3226 argument FE_TONEAREST.
3227 * math/feupdateenv.c (__feupdateenv): Return 0.
3228 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3230 2013-06-18 Roland McGrath <roland@hack.frob.com>
3232 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3233 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3234 ($(objpfx)rtld-%.os rules): Use them.
3236 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3238 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3241 2013-06-17 Roland McGrath <roland@hack.frob.com>
3243 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3244 length of target pattern, then descending length of dependency pattern.
3245 * configure.in (AWK): Require gawk 3.1.2 or newer.
3246 * manual/install.texi (Tools for Compilation): Say that we do.
3247 * configure: Regenerated.
3249 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3250 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3251 * scripts/sysd-rules.awk: ... this new script.
3252 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3253 than a glob-style pattern.
3255 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3257 * math/test-misc.c (main): Do not treat incorrectly rounded
3258 conversions as failure unless ROUNDING_TESTS passes.
3260 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3263 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3264 restore exception state around main square root computation, then
3265 check for inexactness explicitly.
3267 * math/libm-test.inc (fma_test_data): Add another test.
3269 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3271 * manual/threads.texi (Non-POSIX Extensions): New document
3272 node. Document pthread_getattr_default_np and
3273 pthread_setattr_default_np.
3275 * Versions.def (libpthread): Add GLIBC_2.18.
3276 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3285 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3296 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3299 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3301 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3302 H.J. Lu <hjl.tools@gmail.com>
3305 * sysdeps/x86_64/rtld-memset.c: Remove file.
3306 * sysdeps/x86_64/rtld-memset.S: New file.
3308 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3310 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3311 (test_in_one_mode): Take arguments for whether the rounding mode
3312 is supported for each floating-point type.
3313 (do_test): Pass new arguments to test_in_one_mode using
3316 2013-06-13 Roland McGrath <roland@hack.frob.com>
3318 * posix/tst-waitid.c (do_test): Distinguish different instances of
3319 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3320 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3321 before entering the kernel for waitpid.
3323 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3325 * NEWS: Fix note on clock function precision. Text by Roland
3328 2013-06-13 Roland McGrath <roland@hack.frob.com>
3330 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3331 it into place only when and if the sanity check passes.
3333 2013-06-13 Joseph Myers <joseph@codesourcery.com>
3335 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3336 output for whether conversion result is exact. Take argument
3337 indicating whether type is IBM long double.
3338 (round_for_all): Change need_exact field to ibm_ld.
3339 * stdlib/tst-strtod-round.c (struct exactness): New type.
3340 (struct test): Change bool ld_ok field to struct exactness exact.
3341 (TEST): Update all definitions for change to field.
3342 (tests): Regenerate array contents.
3343 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3344 field value. Check for IBM long double here.
3345 (do_test): Update calls to test_in_one_mode.
3347 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3350 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3351 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3353 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3356 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3357 generated by the compiler on loop optimizations.
3358 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3359 general definitions.
3361 2013-06-12 Joseph Myers <joseph@codesourcery.com>
3363 * math/bug-nextafter.c: Include <math-tests.h>.
3364 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3366 * math/bug-nexttoward.c: Include <math-tests.h>.
3367 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3369 * math/test-misc.c: Include <math-tests.h>.
3370 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3373 2013-06-12 Andreas Jaeger <aj@suse.de>
3375 * po/ia.po: Update Interlingua translation from translation
3378 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3380 * include/fenv.h: Include stdbool.h.
3381 (struct rm_ctx): New structure.
3382 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3384 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3385 (SET_RESTORE_ROUNDF): Likewise.
3386 (SET_RESTORE_ROUNDL): Likewise.
3387 (SET_RESTORE_ROUND_NOEX): Likewise.
3388 (SET_RESTORE_ROUND_NOEXF): Likewise.
3389 (SET_RESTORE_ROUND_NOEXL): Likewise.
3390 (SET_RESTORE_ROUND_53BIT): Likewise.
3391 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3392 (libc_feresetround_noexf_ctx): Likewise.
3393 (libc_feresetround_noexl_ctx): Likewise.
3394 (libc_feholdsetround_53bit_ctx): Likewise.
3395 (libc_feresetround_53bit_ctx): Likewise.
3396 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3397 (libc_feholdexcept_setround_sse_ctx): New function.
3398 (libc_fesetenv_sse_ctx): Likewise.
3399 (libc_feupdateenv_sse_ctx): Likewise.
3400 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3401 (libc_feholdexcept_setround_387_ctx): Likewise.
3402 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3403 (libc_feholdsetround_387_prec_ctx): Likewise.
3404 (libc_feholdsetround_387_ctx): Likewise.
3405 (libc_feholdsetround_387_53bit_ctx): Likewise.
3406 (libc_feholdsetround_sse_ctx): Likewise.
3407 (libc_feresetround_sse_ctx): Likewise.
3408 (libc_feresetround_387_ctx): Likewise.
3409 (libc_feupdateenv_387_ctx): Likewise.
3410 (libc_feholdexcept_setroundf_ctx): Define macro.
3411 (libc_fesetenvf_ctx): Likewise.
3412 (libc_feupdateenvf_ctx): Likewise.
3413 (libc_feholdsetroundf_ctx): Likewise.
3414 (libc_feresetroundf_ctx): Likewise.
3415 (libc_feholdexcept_setround_ctx): Likewise.
3416 (libc_fesetenv_ctx): Likewise.
3417 (libc_feupdateenv_ctx): Likewise.
3418 (libc_feholdsetround_ctx): Likewise.
3419 (libc_feresetround_ctx): Likewise.
3420 (libc_feholdexcept_setroundl_ctx): Likewise.
3421 (libc_feupdateenvl_ctx): Likewise.
3422 (libc_feholdsetroundl_ctx): Likewise.
3423 (libc_feresetroundl_ctx): Likewise.
3424 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3425 (libc_feresetround_53bit_ctx): Likewise.
3427 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3429 * locale/iso-639.def: Convert to UTF-8.
3431 2013-06-11 Joseph Myers <joseph@codesourcery.com>
3433 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3434 (EXCEPTION_TESTS_double): Likewise.
3435 (EXCEPTION_TESTS_long_double): Likewise.
3436 (EXCEPTION_TESTS): Likewise.
3437 * math/libm-test.inc (test_exceptions): Only test exceptions if
3438 EXCEPTION_TESTS (FLOAT).
3440 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3442 * benchtests/Makefile (string-bench): Add strcpy_chk and
3444 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3445 * benchtests/bench-stpcpy_chk.c: New file.
3446 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3447 * benchtests/bench-strcpy_chk.c: New file.
3448 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3450 (do_test): Likewise.
3452 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3454 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3455 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3456 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3457 with tabs where appropriate.
3458 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3460 [PPC_PLATFORM_PPC440]: Likewise.
3461 [PPC_PLATFORM_PPC464]: Likewise.
3462 [PPC_PLATFORM_PPC476]: Likewise.
3463 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3464 ppc464, and ppc476 platform strings merging from ports/
3467 2013-06-11 Andreas Schwab <schwab@suse.de>
3470 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3471 (from_ucs4_idx): Regenerate.
3472 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3473 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3474 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3475 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3476 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3477 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3478 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3479 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3480 from FROM_LOOP and TO_LOOP specific macros.
3481 (BODY): Handle combining characters.
3482 * iconvdata/BIG5HKSCS.irreversible: Update.
3483 * iconvdata/BIG5HKSCS.precomposed: New file.
3484 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3486 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3488 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3490 * include/sys/time.h: Fix indentation and add copyright header.
3492 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3493 (do_test): Likewise.
3494 * string/test-memchr.c (do_one_test): Likewise.
3495 (do_test): Likewise.
3496 * string/test-memcmp.c (do_one_test): Likewise.
3497 (do_test): Likewise.
3498 * string/test-memcpy.c (do_one_test): Likewise.
3499 (do_test): Likewise.
3500 * string/test-memmem.c (do_one_test): Likewise.
3501 (do_test): Likewise.
3502 (do_random_tests): Likewise.
3503 * string/test-memmove.c (do_one_test): Likewise.
3504 (do_test): Likewise.
3505 * string/test-memset.c (do_one_test): Likewise.
3506 (do_test): Likewise.
3507 * string/test-rawmemchr.c (do_one_test): Likewise.
3508 (do_test): Likewise.
3509 * string/test-strcasecmp.c (do_one_test): Likewise.
3510 (do_test): Likewise.
3511 * string/test-strcasestr.c (do_one_test): Likewise.
3512 (do_test): Likewise.
3513 * string/test-strcat.c (do_one_test): Likewise.
3514 (do_test): Likewise.
3515 * string/test-strchr.c (do_one_test): Likewise.
3516 (do_test): Likewise.
3517 * string/test-strcmp.c (do_one_test): Likewise.
3518 (do_test): Likewise.
3519 * string/test-strcpy.c (do_one_test): Likewise.
3520 (do_test): Likewise.
3521 * string/test-string.h: Likewise.
3522 (test_init): Likewise.
3523 * string/test-strlen.c (do_one_test): Likewise.
3524 (do_test): Likewise.
3525 * string/test-strncasecmp.c (do_one_test): Likewise.
3526 (do_test): Likewise.
3527 * string/test-strncat.c (do_one_test): Likewise.
3528 (do_test): Likewise.
3529 * string/test-strncmp.c (do_one_test): Likewise.
3530 (do_test_limit): Likewise.
3531 (do_test): Likewise.
3532 * string/test-strncpy.c (do_one_test): Likewise.
3533 (do_test): Likewise.
3534 * string/test-strnlen.c (do_one_test): Likewise.
3535 (do_test): Likewise.
3536 * string/test-strpbrk.c (do_one_test): Likewise.
3537 (do_test): Likewise.
3538 * string/test-strrchr.c (do_one_test): Likewise.
3539 (do_test): Likewise.
3540 * string/test-strspn.c (do_one_test): Likewise.
3541 (do_test): Likewise.
3542 * string/test-strstr.c (do_one_test): Likewise.
3543 (do_test): Likewise.
3545 * benchtests/Makefile (string-bench): Add string benchmarks.
3546 * benchtests/bench-bcopy-ifunc.c: New file.
3547 * benchtests/bench-bcopy.c: New file.
3548 * benchtests/bench-bzero-ifunc.c: New file.
3549 * benchtests/bench-bzero.c: New file.
3550 * benchtests/bench-memccpy-ifunc.c: New file.
3551 * benchtests/bench-memccpy.c: New file.
3552 * benchtests/bench-memchr-ifunc.c: New file.
3553 * benchtests/bench-memchr.c: New file.
3554 * benchtests/bench-memcmp-ifunc.c: New file.
3555 * benchtests/bench-memcmp.c: New file.
3556 * benchtests/bench-memmem-ifunc.c: New file.
3557 * benchtests/bench-memmem.c: New file.
3558 * benchtests/bench-memmove-ifunc.c: New file.
3559 * benchtests/bench-memmove.c: New file.
3560 * benchtests/bench-mempcpy-ifunc.c: New file.
3561 * benchtests/bench-mempcpy.c: New file.
3562 * benchtests/bench-memset-ifunc.c: New file.
3563 * benchtests/bench-memset.c: New file.
3564 * benchtests/bench-rawmemchr-ifunc.c: New file.
3565 * benchtests/bench-rawmemchr.c: New file.
3566 * benchtests/bench-stpcpy-ifunc.c: New file.
3567 * benchtests/bench-stpcpy.c: New file.
3568 * benchtests/bench-stpncpy-ifunc.c: New file.
3569 * benchtests/bench-stpncpy.c: New file.
3570 * benchtests/bench-strcasecmp-ifunc.c: New file.
3571 * benchtests/bench-strcasecmp.c: New file.
3572 * benchtests/bench-strcasestr-ifunc.c: New file.
3573 * benchtests/bench-strcasestr.c: New file.
3574 * benchtests/bench-strcat-ifunc.c: New file.
3575 * benchtests/bench-strcat.c: New file.
3576 * benchtests/bench-strchr-ifunc.c: New file.
3577 * benchtests/bench-strchr.c: New file.
3578 * benchtests/bench-strchrnul-ifunc.c: New file.
3579 * benchtests/bench-strchrnul.c: New file.
3580 * benchtests/bench-strcmp-ifunc.c: New file.
3581 * benchtests/bench-strcmp.c: New file.
3582 * benchtests/bench-strcpy-ifunc.c: New file.
3583 * benchtests/bench-strcpy.c: New file.
3584 * benchtests/bench-strcspn-ifunc.c: New file.
3585 * benchtests/bench-strcspn.c: New file.
3586 * benchtests/bench-strlen-ifunc.c: New file.
3587 * benchtests/bench-strlen.c: New file.
3588 * benchtests/bench-strncasecmp-ifunc.c: New file.
3589 * benchtests/bench-strncasecmp.c: New file.
3590 * benchtests/bench-strncat-ifunc.c: New file.
3591 * benchtests/bench-strncat.c: New file.
3592 * benchtests/bench-strncmp-ifunc.c: New file.
3593 * benchtests/bench-strncmp.c: New file.
3594 * benchtests/bench-strncpy-ifunc.c: New file.
3595 * benchtests/bench-strncpy.c: New file.
3596 * benchtests/bench-strnlen-ifunc.c: New file.
3597 * benchtests/bench-strnlen.c: New file.
3598 * benchtests/bench-strpbrk-ifunc.c: New file.
3599 * benchtests/bench-strpbrk.c: New file.
3600 * benchtests/bench-strrchr-ifunc.c: New file.
3601 * benchtests/bench-strrchr.c: New file.
3602 * benchtests/bench-strspn-ifunc.c: New file.
3603 * benchtests/bench-strspn.c: New file.
3604 * benchtests/bench-strstr-ifunc.c: New file.
3605 * benchtests/bench-strstr.c: New file.
3607 * benchtests/Makefile: Disable parallel execution of targets.
3608 (string-bench): Add memcpy.
3609 (benchset): New variable to store a list of benchmark sets.
3610 (bench-func): Renamed from bench.
3611 (bench-set): New target.
3612 (bench): Depend on bench-func and bench-set.
3613 * benchtests/README: Add section on benchmark sets.
3614 * benchtests/bench-memcpy-ifunc.c: New file.
3615 * benchtests/bench-memcpy.c: New file.
3616 * benchtests/bench-string.h: New file.
3618 2013-06-11 Andreas Schwab <schwab@suse.de>
3621 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3622 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3623 values in the triple.
3624 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3625 terminator in the group key.
3627 2013-06-11 Andreas Jaeger <aj@suse.de>
3629 * po/zh_TW.po: Update Chinese (traditional) translation from
3630 translation project.
3632 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3634 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3635 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3636 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3637 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3638 (clock_getcpuclockid): Likewise.
3639 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3640 Add weak_alias and libc_hidden_def.
3641 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3642 * rt/clock_gettime.c (clock_gettime): Rename to
3643 __clock_gettime. Add weak_alias and libc_hidden_def.
3644 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3645 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3646 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3647 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3648 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3650 * rt/clock_settime.c (clock_settime): Rename to
3651 __clock_settime. Add weak_alias and libc_hidden_def.
3652 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3654 2013-06-10 Joseph Myers <joseph@codesourcery.com>
3656 * mach/err_boot.sub: Remove trailing whitespace.
3657 * mach/err_ipc.sub: Likewise.
3658 * mach/err_mach.sub: Likewise.
3660 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3661 (ROUNDING_TESTS_double): Likewise.
3662 (ROUNDING_TESTS_long_double): Likewise.
3663 (ROUNDING_TESTS): Likewise.
3664 * math/libm-test.inc: Include <math-tests.h>.
3665 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3666 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3667 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3668 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3670 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3672 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3675 2013-06-08 Joseph Myers <joseph@codesourcery.com>
3677 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3678 otherwise empty TRANS lines.
3679 * sysdeps/gnu/errlist.c: Regenerated.
3681 * catgets/gencat.c (error_print): Use (void) in function
3683 * crypt/crypt_util.c (__init_des): Likewise.
3684 * crypt/speeds.c (Stop): Likewise.
3686 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3687 * inet/ruserpass.c (token): Likewise.
3688 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3689 * intl/localealias.c (extend_alias_table): Likewise.
3690 * intl/plural-exp.c (init_germanic_plural): Likewise.
3691 * libio/fcloseall.c (__fcloseall): Likewise.
3692 * libio/genops.c (_IO_flush_all): Likewise.
3693 (_IO_flush_all_linebuffered): Likewise.
3694 (_IO_cleanup): Likewise.
3695 (_IO_iter_begin): Likewise.
3696 (_IO_iter_end): Likewise.
3697 (_IO_list_lock): Likewise.
3698 (_IO_list_unlock): Likewise.
3699 (_IO_list_resetlock): Likewise.
3700 * libio/getchar.c (getchar): Likewise.
3701 * libio/getchar_u.c (getchar_unlocked): Likewise.
3702 * libio/getwchar.c (getwchar): Likewise.
3703 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3704 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3705 * login/getpt.c (__getpt): Likewise.
3706 * login/tst-utmp.c (main): Likewise.
3707 * malloc/hooks.c (__malloc_check_init): Likewise.
3708 * malloc/malloc.c (__malloc_stats): Likewise.
3709 * malloc/mtrace.c (tr_break): Likewise.
3711 (muntrace): Likewise.
3712 * misc/fstab.c (endfsent): Likewise.
3713 * misc/getclktck.c (__getclktck): Likewise.
3714 * misc/getdtsz.c (__getdtablesize): Likewise.
3715 * misc/gethostid.c (gethostid): Likewise.
3716 * misc/getpagesize.c (__getpagesize): Likewise.
3717 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3718 (__get_nprocs): Likewise.
3719 (__get_phys_pages): Likewise.
3720 (__get_avphys_pages): Likewise.
3721 * misc/getttyent.c (getttyent): Likewise.
3722 (setttyent): Likewise.
3723 (endttyent): Likewise.
3724 * misc/getusershell.c (getusershell): Likewise.
3725 (endusershell): Likewise.
3726 (setusershell): Likewise.
3727 (initshells): Likewise.
3728 * misc/hsearch.c (__hdestroy): Likewise.
3729 * misc/sync.c (sync): Likewise.
3730 * misc/syslog.c (closelog_internal): Likewise.
3731 (closelog): Likewise.
3732 * misc/ttyslot.c (ttyslot): Likewise.
3733 * misc/vhangup.c (vhangup): Likewise.
3734 * posix/fork.c (__fork): Likewise.
3735 * posix/getegid.c (__getegid): Likewise.
3736 * posix/geteuid.c (__geteuid): Likewise.
3737 * posix/getgid.c (__getgid): Likewise.
3738 * posix/getpid.c (__getpid): Likewise.
3739 * posix/getppid.c (__getppid): Likewise.
3740 * posix/getuid.c (__getuid): Likewise.
3741 * posix/pause.c (pause): Likewise.
3742 * posix/setpgrp.c (setpgrp): Likewise.
3743 * posix/setsid.c (__setsid): Likewise.
3744 * posix/test-vfork.c (noop): Likewise.
3745 * resolv/gethnamaddr.c (_endhtent): Likewise.
3746 (_gethtent): Likewise.
3747 (ht_endhostent): Likewise.
3748 (gethostent): Likewise.
3749 (dns_service): Likewise.
3750 * stdlib/drand48.c (drand48): Likewise.
3751 * stdlib/lrand48.c (lrand48): Likewise.
3752 * stdlib/mrand48.c (mrand48): Likewise.
3753 * stdlib/rand.c (rand): Likewise.
3754 * stdlib/random.c (__random): Likewise.
3755 * stdlib/setenv.c (clearenv): Likewise.
3756 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3757 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3758 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3759 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3760 (__get_nprocs): Likewise.
3761 (__get_phys_pages): Likewise.
3762 (__get_avphys_pages): Likewise.
3763 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3764 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3765 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3766 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3767 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3768 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3769 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3770 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3771 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3772 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3773 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3774 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3775 * sysdeps/posix/clock.c (clock): Likewise.
3776 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3777 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3778 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3779 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3780 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3781 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3782 (__get_nprocs_conf): Likewise.
3783 (__get_phys_pages): Likewise.
3784 (__get_avphys_pages): Likewise.
3785 * time/clock.c (clock): Likewise.
3786 * time/tzset.c (__tzname_max): Likewise.
3788 2013-06-07 Joseph Myers <joseph@codesourcery.com>
3790 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3791 (__bswap_32): Do not use "register".
3792 * crypt/crypt.c (_ufc_doit_r): Likewise.
3793 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3794 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3795 * gmon/gmon.c (__monstartup): Likewise.
3796 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3797 * hurd/hurdmalloc.c (more_memory): Likewise.
3800 (realloc): Likewise.
3801 (malloc_fork_prepare): Likewise.
3802 (malloc_fork_parent): Likewise.
3803 (malloc_fork_child): Likewise.
3804 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3805 (_svcauth_des): Likewise.
3806 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3807 * inet/inet_net.c (inet_network): Likewise.
3808 * inet/inet_netof.c (inet_netof): Likewise.
3809 * inet/rcmd.c (__validuser2_sa): Likewise.
3810 * io/fts.c (fts_open): Likewise.
3811 (fts_load): Likewise.
3812 (fts_close): Likewise.
3813 (fts_read): Likewise.
3814 (fts_children): Likewise.
3815 (fts_build): Likewise.
3816 (fts_stat): Likewise.
3817 (fts_sort): Likewise.
3818 (fts_alloc): Likewise.
3819 (fts_lfree): Likewise.
3820 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3821 (_IO_file_xsgetn): Likewise.
3822 (_IO_file_xsgetn_mmap): Likewise.
3823 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3824 (_IO_cookie_write): Likewise.
3825 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3826 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3827 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3828 * malloc/obstack.c (_obstack_begin): Likewise.
3829 (_obstack_begin_1): Likewise.
3830 (_obstack_newchunk): Likewise.
3831 (_obstack_allocated_p): Likewise.
3832 (obstack_free): Likewise.
3833 (_obstack_memory_used): Likewise.
3834 * misc/getttyent.c (getttynam): Likewise.
3835 (getttyent): Likewise.
3838 * misc/getusershell.c (initshells): Likewise.
3839 * misc/syslog.c (__vsyslog_chk): Likewise.
3840 * misc/ttyslot.c (ttyslot): Likewise.
3841 * nis/nis_hash.c (__nis_hash): Likewise.
3842 * posix/fnmatch_loop.c (FCT): Likewise.
3843 * posix/getconf.c (print_all): Likewise.
3845 * posix/getopt.c (exchange): Likewise.
3846 * posix/glob.c (globfree): Likewise.
3847 (prefix_array): Likewise.
3848 (__glob_pattern_type): Likewise.
3849 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3850 (NS_GET32): Likewise.
3851 (NS_PUT16): Likewise.
3852 (NS_PUT32): Likewise.
3853 * resolv/gethnamaddr.c (getanswer): Likewise.
3854 (gethostbyname2): Likewise.
3855 (gethostbyaddr): Likewise.
3856 (_gethtent): Likewise.
3857 (_gethtbyname2): Likewise.
3858 (_gethtbyaddr): Likewise.
3859 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3860 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3861 * resolv/res_init.c (__res_vinit): Likewise.
3862 (net_mask): Likewise.
3863 * resolv/res_mkquery.c (outchar): Likewise.
3865 * stdio-common/printf_fp.c (outchar): Likewise.
3867 * stdio-common/printf_fphex.c (outchar): Likewise.
3869 * stdio-common/printf_size.c (outchar): Likewise.
3871 * stdio-common/test_rdwr.c (main): Likewise.
3872 * stdio-common/tfformat.c (matches): Likewise.
3873 * stdio-common/vfprintf.c (outchar): Likewise.
3874 (printf_unknown): Likewise.
3875 (buffered_vfprintf): Likewise.
3876 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3877 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3878 (ReadFile): Likewise.
3879 * stdlib/qsort.c (SWAP): Likewise.
3880 (_quicksort): Likewise.
3881 * stdlib/setenv.c (__add_to_environ): Likewise.
3882 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3883 * stdlib/strtol_l.c (__strtol_l): Likewise.
3884 * stdlib/tst-strtod.c (main): Likewise.
3885 * stdlib/tst-strtol.c (main): Likewise.
3886 * stdlib/tst-strtoll.c (main): Likewise.
3887 * string/bits/string2.h (__strcmp_cc): Likewise.
3888 (__strcmp_cg): Likewise.
3889 (__strcspn_c1): Likewise.
3890 (__strcspn_c2): Likewise.
3891 (__strcspn_c3): Likewise.
3892 (__strspn_c1): Likewise.
3893 (__strspn_c2): Likewise.
3894 (__strspn_c3): Likewise.
3895 (__strsep_1c): Likewise.
3896 (__strsep_2c): Likewise.
3897 (__strsep_3c): Likewise.
3898 * string/memccpy.c (__memccpy): Likewise.
3899 * string/stpcpy.c (__stpcpy): Likewise.
3900 * string/strcmp.c (strcmp): Likewise.
3901 * string/strrchr.c (strrchr): Likewise.
3902 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3904 * sysdeps/mach/hurd/getcwd.c
3905 (_hurd_canonicalize_directory_name_internal): Likewise.
3906 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3907 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3908 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3909 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3910 Likewise, in both definitions.
3911 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3913 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3914 64] (__bswap_64): Likewise.
3915 * time/test_time.c (main): Likewise.
3916 * time/tzfile.c (__tzfile_read): Likewise.
3917 (__tzfile_compute): Likewise.
3918 * time/tzset.c (__tzset_parse_tz): Likewise.
3919 (tzset_internal): Likewise.
3920 (compute_change): Likewise.
3921 * wcsmbs/wcscat.c (__wcscat): Likewise.
3922 * wcsmbs/wcschr.c (wcschr): Likewise.
3923 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3924 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3925 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3926 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3927 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3928 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3929 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3930 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3931 * wcsmbs/wmemset.c (wmemset): Likewise.
3933 2013-06-06 Joseph Myers <joseph@codesourcery.com>
3935 * scripts/config.guess: Update to version 2013-05-16.
3936 * scripts/config.sub: Update to version 2013-04-24.
3937 * scripts/install-sh: Update to version 2011-11-20.07.
3938 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3939 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3941 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
3943 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3944 * elf/sln.c: Likewise.
3945 * hurd/hurd/ioctl.h: Likewise.
3946 * hurd/hurdmalloc.c: Likewise.
3947 * hurd/xattr.c: Likewise.
3948 * include/shlib-compat.h: Likewise.
3949 * inet/ruserpass.c: Likewise.
3950 * libio/iofgets_u.c: Likewise.
3951 * libio/iofgetws_u.c: Likewise.
3952 * locale/programs/ld-identification.c: Likewise.
3953 * locale/programs/ld-time.c: Likewise.
3954 * mach/msg-destroy.c: Likewise.
3955 * nss/nss_files/files-netgrp.c: Likewise.
3956 * resolv/res_data.c: Likewise.
3957 * soft-fp/op-1.h: Likewise.
3958 * soft-fp/op-2.h: Likewise.
3959 * soft-fp/op-4.h: Likewise.
3960 * soft-fp/op-common.h: Likewise.
3961 * stdio-common/printf_fphex.c: Likewise.
3962 * stdlib/strtod_l.c: Likewise.
3963 * sunrpc/rpc/clnt.h: Likewise.
3964 * sysdeps/generic/framestate.c: Likewise.
3965 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3966 * sysdeps/i386/bsd-setjmp.S: Likewise.
3967 * sysdeps/i386/__longjmp.S: Likewise.
3968 * sysdeps/i386/setjmp.S: Likewise.
3969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3970 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3971 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3972 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3975 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3976 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3979 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3985 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3987 * sysdeps/ieee754/support.c: Likewise.
3988 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3989 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3990 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3991 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3992 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3993 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3994 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3995 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3996 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3997 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3998 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3999 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4000 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4001 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4002 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4003 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4004 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4007 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4009 * posix/transbug.c: Remove executable mode.
4011 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4013 * crypt/speeds.c: Remove trailing whitespace.
4014 * dlfcn/default.c: Likewise.
4015 * elf/ifuncdep2.c: Likewise.
4016 * elf/ifuncmain1.c: Likewise.
4017 * elf/ifuncmain1vis.c: Likewise.
4018 * elf/testobj.h: Likewise.
4019 * elf/tst-stackguard1.c: Likewise.
4020 * gmon/sys/gmon.h: Likewise.
4021 * hurd/hurdmsg.c: Likewise.
4022 * hurd/new-fd.c: Likewise.
4023 * hurd/ports-get.c: Likewise.
4024 * iconvdata/ibm1008_420.c: Likewise.
4025 * inet/tst-getni1.c: Likewise.
4026 * inet/tst-getni2.c: Likewise.
4027 * libio/ioungetc.c: Likewise.
4028 * libio/wfiledoalloc.c: Likewise.
4029 * manual/libm-err-tab.pl: Likewise.
4030 * math/w_dremf.c: Likewise.
4031 * misc/ftruncate.c: Likewise.
4032 * posix/bug-glob2.c: Likewise.
4033 * posix/tst-pcre.c: Likewise.
4034 * posix/wait4.c: Likewise.
4035 * resolv/README: Likewise.
4036 * resolv/res_debug.h: Likewise.
4037 * resolv/tst-inet_ntop.c: Likewise.
4038 * setjmp/bug269-setjmp.c: Likewise.
4039 * soft-fp/extended.h: Likewise.
4040 * soft-fp/op-1.h: Likewise.
4041 * soft-fp/op-2.h: Likewise.
4042 * soft-fp/op-4.h: Likewise.
4043 * soft-fp/op-8.h: Likewise.
4044 * soft-fp/testit.c: Likewise.
4045 * stdio-common/bug16.c: Likewise.
4046 * stdlib/random.c: Likewise.
4047 * sunrpc/rpcsvc/rquota.x: Likewise.
4048 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4049 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4050 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4051 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4052 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4053 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4054 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4055 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4056 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4057 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4058 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4075 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4077 * sysdeps/ieee754/s_lib_version.c: Likewise.
4078 * sysdeps/mach/hurd/check_fds.c: Likewise.
4079 * sysdeps/mach/hurd/getsockname.c: Likewise.
4080 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4081 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4082 * sysdeps/powerpc/bits/link.h: Likewise.
4083 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4084 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4085 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4086 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4087 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4088 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4089 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4090 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4091 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4092 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4093 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4094 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4095 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4096 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4097 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4098 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4099 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4100 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4101 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4102 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4103 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4104 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4105 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4106 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4107 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4108 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4109 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4110 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4111 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4112 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4113 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4114 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4115 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4116 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4117 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4118 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4119 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4120 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4121 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4122 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4123 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4124 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4125 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4126 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4127 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4128 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4129 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4130 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4131 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4132 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4133 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4134 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4135 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4136 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4137 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4138 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4139 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4140 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4141 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4142 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4143 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4144 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4145 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4146 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4147 * sysdeps/powerpc/sysdep.h: Likewise.
4148 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4149 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4150 * sysdeps/sh/dl-trampoline.S: Likewise.
4151 * sysdeps/sh/memset.S: Likewise.
4152 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4153 * sysdeps/sh/strlen.S: Likewise.
4154 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4155 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4156 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4157 * sysdeps/sparc/sparc32/rem.S: Likewise.
4158 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4159 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4160 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4161 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4162 * sysdeps/sparc/sparc32/urem.S: Likewise.
4163 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4164 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4165 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4166 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4167 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4168 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4169 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4170 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4171 * sysdeps/unix/bsd/times.c: Likewise.
4172 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4173 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4177 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4178 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4179 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4180 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4181 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4182 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4183 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4184 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4185 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4186 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4187 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4188 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4189 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4190 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4191 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4192 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4193 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4194 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4195 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4196 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4197 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4198 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4199 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4200 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4201 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4202 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4203 * sysdeps/x86_64/strcspn.S: Likewise.
4205 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4207 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4208 generated file. Regenerate properly from gen-translit.pl.
4209 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4210 locale/C-translit.h.
4212 2013-06-05 Andreas Schwab <schwab@suse.de>
4215 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4216 week as 6 instead of -1.
4217 * time/tst-strptime.c (day_tests): Add test case.
4219 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4221 * sysdeps/generic/math_private.h
4222 (libc_feholdexcept_setround_53bit): Replace with
4223 libc_feholdsetround_53bit.
4224 (libc_feupdateenv_53bit): Replace with
4225 libc_feresetround_53bit.
4226 (SET_RESTORE_ROUND_53BIT): Adjust.
4228 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4230 * string/test-strchrnul.c: Add copyright header.
4232 * posix/tst-getaddrinfo4.c: Increase test timeout.
4234 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4237 * math/libm-test.inc (MAX_EXP): Remove
4239 (ulp): Use MIN_EXP - MANT_DIG.
4240 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4242 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4244 * po/be.po: Revert last change.
4245 * po/zh_CN.po: Likewise.
4246 * po/header.pot: Likewise.
4248 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4250 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4251 link-libc-deps to empty as target-specific variable.
4252 * Makerules (link-libc-args): New variable.
4253 (libc-for-link): Likewise.
4254 (link-libc-deps): Likewise.
4255 (lib%.so): Depend on $(link-libc-deps). Link with
4257 (build-module): Link with $(link-libc-args).
4258 (build-module-asneeded): Likewise.
4259 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4261 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4262 target-specific variable.
4263 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4264 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4265 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4267 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4269 ($(objpfx)libpcprofile.so): Likewise.
4270 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4272 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4273 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4274 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4276 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4277 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4278 * login/Makefile ($(objpfx)libutil.so): Likewise.
4279 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4280 * math/Makefile ($(objpfx)libm.so): Likewise.
4281 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4282 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4283 variable instead of depending directly on libc.
4284 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4285 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4287 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4289 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4290 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4291 ($(objpfx)libanl.so): Likewise.
4292 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4294 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4296 * sysdeps/i386/fpu/Makefile: Remove file.
4297 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4298 ($(objpfx)libm.so): Remove dependency on ld.so.
4300 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4303 * nis/yp_xdr.c (XDRMAXNAME): Define.
4304 (XDRMAXRECORD): Define.
4305 (xdr_domainname): Use XDRMAXNAME.
4306 (xdr_mapname): Likewise.
4307 (xdr_peername): Likewise.
4308 (xdr_keydat): Use XDRMAXRECORD.
4309 (xdr_valdat): Likewise.
4311 2013-05-30 Jeff Law <law@redhat.com>
4314 * manual/errno.texi (ESTALE): Update to account for more than
4315 just NFS file systems.
4316 * sysdeps/gnu/errlist.c: Regenerated.
4318 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4321 * elf/Makefile (tests): Add tst-null-argv.
4322 (modules-names): Add tst-null-argv-lib.
4323 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4324 (tst-null-argv-ENV): Set environment for tst-null-argv.
4325 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4326 (RTLD_PROGNAME): New macro.
4327 * elf/tst-null-argv.c: New test case.
4328 * elf/tst-null-argv-lib.c: Library for test case.
4329 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4330 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4331 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4332 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4333 * elf/dl-init.c (call_init): Likewise.
4334 (_dl_init): Likewise.
4335 * elf/dl-load.c (print_search_path): Likewise.
4336 (_dl_map_object): Likewise.
4337 * elf/dl-lookup.c (do_lookup_x): Likewise.
4338 (add_dependency): Likewise.
4339 (_dl_lookup_symbol_x): Likewise.
4340 (_dl_debug_bindings): Likewise.
4341 * elf/dl-open.c (_dl_show_scope): Likewise.
4342 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4343 * elf/dl-version.c (match_symbol): Likewise.
4344 (_dl_check_map_versions): Likewise.
4345 * elf/rtld.c (dl_main): Likewise.
4346 (print_unresolved): Use RTLD_PROGNAME.
4347 (print_missing_version): Likewise.
4348 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4349 (elf_machine_rela): Likewise.
4350 * sysdeps/powerpc/powerpc32/dl-machine.c
4351 (__process_machine_rela): Likewise.
4352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4354 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4356 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4358 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4359 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4361 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4365 2013-05-28 Carlos O'Donell <carlos@redhat.com>
4367 * po/be.po: Add descriptive title.
4368 * po/zh_CN.po: Likewise.
4369 * po/header.pot: Likewise.
4371 2013-05-28 Mike Frysinger <vapier@gentoo.org>
4373 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4375 (enlarge_archive): Likewise.
4377 2013-05-28 Ben North <ben@redfrontdoor.org>
4379 * manual/arith.texi (frexp): It is the magnitude of the return
4380 value which lies in [0.5, 1), not the return value itself.
4382 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4386 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4388 * stdio-common/bug26.c (main): Correct fscanf template.
4390 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4391 declare _dl_skip_args.
4393 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4396 * manual/platform.texi: Add missing @end deftypefun.
4398 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4401 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4402 bit of mantissa of 2^16382.
4403 * math/libm-test.inc (hypot_test_data): Add more tests.
4405 * math/libm-test.inc: Add drem and pow10 to list of tested
4407 (pow10_test): New function.
4408 (drem_test): Likewise.
4409 (drem_test_tonearest): Likewise.
4410 (drem_test_towardzero): Likewise.
4411 (drem_test_downward): Likewise.
4412 (drem_test_upward): Likewise.
4413 (main): Call the new functions.
4415 * math/libm-test.inc (finite_test_data): Remove.
4416 (finite_test): Run tests from isfinite_test_data.
4417 (gamma_test_data): Remove.
4418 (gamma_test): Run tests from lgamma_test_data.
4419 * sysdeps/i386/fpu/libm-test-ulps: Update.
4420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4422 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4424 * manual/platform.texi: Add PowerPC PPR function set documentation.
4425 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4428 2013-05-24 Carlos O'Donell <carlos@redhat.com>
4430 * math/libm-test.inc (MAX_EXP): Define.
4432 (ulp): New function.
4433 (check_float_internal): Use ULPDIFF.
4434 (cpow_test): Disable failing test.
4435 (check_ulp): Test ulp() implemetnation.
4436 (main): Call check_ulp before starting tests.
4438 2013-05-24 Joseph Myers <joseph@codesourcery.com>
4440 * math/gen-libm-test.pl (generate_testfile): Do not handle
4441 START_DATA and END_DATA.
4442 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4444 (acos_tonearest_test_data): Likewise.
4445 (acos_towardzero_test_data): Likewise.
4446 (acos_downward_test_data): Likewise.
4447 (acos_upward_test_data): Likewise.
4448 (acosh_test_data): Likewise.
4449 (asin_test_data): Likewise.
4450 (asin_tonearest_test_data): Likewise.
4451 (asin_towardzero_test_data): Likewise.
4452 (asin_downward_test_data): Likewise.
4453 (asin_upward_test_data): Likewise.
4454 (asinh_test_data): Likewise.
4455 (atan_test_data): Likewise.
4456 (atanh_test_data): Likewise.
4457 (atan2_test_data): Likewise.
4458 (cabs_test_data): Likewise.
4459 (cacos_test_data): Likewise.
4460 (cacosh_test_data): Likewise.
4461 (carg_test_data): Likewise.
4462 (casin_test_data): Likewise.
4463 (casinh_test_data): Likewise.
4464 (catan_test_data): Likewise.
4465 (catanh_test_data): Likewise.
4466 (cbrt_test_data): Likewise.
4467 (ccos_test_data): Likewise.
4468 (ccosh_test_data): Likewise.
4469 (ceil_test_data): Likewise.
4470 (cexp_test_data): Likewise.
4471 (cimag_test_data): Likewise.
4472 (clog_test_data): Likewise.
4473 (clog10_test_data): Likewise.
4474 (conj_test_data): Likewise.
4475 (copysign_test_data): Likewise.
4476 (cos_test_data): Likewise.
4477 (cos_tonearest_test_data): Likewise.
4478 (cos_towardzero_test_data): Likewise.
4479 (cos_downward_test_data): Likewise.
4480 (cos_upward_test_data): Likewise.
4481 (cosh_test_data): Likewise.
4482 (cosh_tonearest_test_data): Likewise.
4483 (cosh_towardzero_test_data): Likewise.
4484 (cosh_downward_test_data): Likewise.
4485 (cosh_upward_test_data): Likewise.
4486 (cpow_test_data): Likewise.
4487 (cproj_test_data): Likewise.
4488 (creal_test_data): Likewise.
4489 (csin_test_data): Likewise.
4490 (csinh_test_data): Likewise.
4491 (csqrt_test_data): Likewise.
4492 (ctan_test_data): Likewise.
4493 (ctan_tonearest_test_data): Likewise.
4494 (ctan_towardzero_test_data): Likewise.
4495 (ctan_downward_test_data): Likewise.
4496 (ctan_upward_test_data): Likewise.
4497 (ctanh_test_data): Likewise.
4498 (ctanh_tonearest_test_data): Likewise.
4499 (ctanh_towardzero_test_data): Likewise.
4500 (ctanh_downward_test_data): Likewise.
4501 (ctanh_upward_test_data): Likewise.
4502 (erf_test_data): Likewise.
4503 (erfc_test_data): Likewise.
4504 (exp_test_data): Likewise.
4505 (exp_tonearest_test_data): Likewise.
4506 (exp_towardzero_test_data): Likewise.
4507 (exp_downward_test_data): Likewise.
4508 (exp_upward_test_data): Likewise.
4509 (exp10_test_data): Likewise.
4510 (exp2_test_data): Likewise.
4511 (expm1_test_data): Likewise.
4512 (fabs_test_data): Likewise.
4513 (fdim_test_data): Likewise.
4514 (finite_test_data): Likewise.
4515 (floor_test_data): Likewise.
4516 (fma_test_data): Likewise.
4517 (fma_towardzero_test_data): Likewise.
4518 (fma_downward_test_data): Likewise.
4519 (fma_upward_test_data): Likewise.
4520 (fmax_test_data): Likewise.
4521 (fmin_test_data): Likewise.
4522 (fmod_test_data): Likewise.
4523 (fpclassify_test_data): Likewise.
4524 (frexp_test_data): Likewise.
4525 (gamma_test_data): Likewise.
4526 (hypot_test_data): Likewise.
4527 (ilogb_test_data): Likewise.
4528 (isfinite_test_data): Likewise.
4529 (isgreater_test_data): Likewise.
4530 (isgreaterequal_test_data): Likewise.
4531 (isinf_test_data): Likewise.
4532 (isless_test_data): Likewise.
4533 (islessequal_test_data): Likewise.
4534 (islessgreater_test_data): Likewise.
4535 (isnan_test_data): Likewise.
4536 (isnormal_test_data): Likewise.
4537 (issignaling_test_data): Likewise.
4538 (isunordered_test_data): Likewise.
4539 (j0_test_data): Likewise.
4540 (j1_test_data): Likewise.
4541 (jn_test_data): Likewise.
4542 (ldexp_test_data): Likewise.
4543 (lgamma_test_data): Likewise.
4544 (lrint_test_data): Likewise.
4545 (lrint_tonearest_test_data): Likewise.
4546 (lrint_towardzero_test_data): Likewise.
4547 (lrint_downward_test_data): Likewise.
4548 (lrint_upward_test_data): Likewise.
4549 (llrint_test_data): Likewise.
4550 (llrint_tonearest_test_data): Likewise.
4551 (llrint_towardzero_test_data): Likewise.
4552 (llrint_downward_test_data): Likewise.
4553 (llrint_upward_test_data): Likewise.
4554 (log_test_data): Likewise.
4555 (log10_test_data): Likewise.
4556 (log1p_test_data): Likewise.
4557 (log2_test_data): Likewise.
4558 (logb_test_data): Likewise.
4559 (logb_downward_test_data): Likewise.
4560 (lround_test_data): Likewise.
4561 (llround_test_data): Likewise.
4562 (modf_test_data): Likewise.
4563 (nearbyint_test_data): Likewise.
4564 (nextafter_test_data): Likewise.
4565 (nexttoward_test_data): Likewise.
4566 (pow_test_data): Likewise.
4567 (pow_tonearest_test_data): Likewise.
4568 (pow_towardzero_test_data): Likewise.
4569 (pow_downward_test_data): Likewise.
4570 (pow_upward_test_data): Likewise.
4571 (remainder_test_data): Likewise.
4572 (remainder_tonearest_test_data): Likewise.
4573 (remainder_towardzero_test_data): Likewise.
4574 (remainder_downward_test_data): Likewise.
4575 (remainder_upward_test_data): Likewise.
4576 (remquo_test_data): Likewise.
4577 (rint_test_data): Likewise.
4578 (rint_tonearest_test_data): Likewise.
4579 (rint_towardzero_test_data): Likewise.
4580 (rint_downward_test_data): Likewise.
4581 (rint_upward_test_data): Likewise.
4582 (round_test_data): Likewise.
4583 (scalb_test_data): Likewise.
4584 (scalbn_test_data): Likewise.
4585 (scalbln_test_data): Likewise.
4586 (signbit_test_data): Likewise.
4587 (sin_test_data): Likewise.
4588 (sin_tonearest_test_data): Likewise.
4589 (sin_towardzero_test_data): Likewise.
4590 (sin_downward_test_data): Likewise.
4591 (sin_upward_test_data): Likewise.
4592 (sincos_test_data): Likewise.
4593 (sinh_test_data): Likewise.
4594 (sinh_tonearest_test_data): Likewise.
4595 (sinh_towardzero_test_data): Likewise.
4596 (sinh_downward_test_data): Likewise.
4597 (sinh_upward_test_data): Likewise.
4598 (sqrt_test_data): Likewise.
4599 (tan_test_data): Likewise.
4600 (tan_tonearest_test_data): Likewise.
4601 (tan_towardzero_test_data): Likewise.
4602 (tan_downward_test_data): Likewise.
4603 (tan_upward_test_data): Likewise.
4604 (tanh_test_data): Likewise.
4605 (tgamma_test_data): Likewise.
4606 (trunc_test_data): Likewise.
4607 (y0_test_data): Likewise.
4608 (y1_test_data): Likewise.
4609 (yn_test_data): Likewise.
4610 (significand_test_data): Likewise.
4612 * math/gen-libm-test.pl (@functions): Remove variable.
4613 (generate_testfile): Don't handle START and END lines.
4614 * math/libm-test.inc (START): New macro.
4616 (END_COMPLEX): Likewise.
4617 (acos_test): Use END macro without arguments.
4618 (acos_test_tonearest): Likewise.
4619 (acos_test_towardzero): Likewise.
4620 (acos_test_downward): Likewise.
4621 (acos_test_upward): Likewise.
4622 (acosh_test): Likewise.
4623 (asin_test): Likewise.
4624 (asin_test_tonearest): Likewise.
4625 (asin_test_towardzero): Likewise.
4626 (asin_test_downward): Likewise.
4627 (asin_test_upward): Likewise.
4628 (asinh_test): Likewise.
4629 (atan_test): Likewise.
4630 (atanh_test): Likewise.
4631 (atan2_test): Likewise.
4632 (cabs_test): Likewise.
4633 (cacos_test): Use END_COMPLEX macro without arguments.
4634 (cacosh_test): Likewise.
4635 (carg_test): Use END macro without arguments.
4636 (casin_test): Use END_COMPLEX macro without arguments.
4637 (casinh_test): Likewise.
4638 (catan_test): Likewise.
4639 (catanh_test): Likewise.
4640 (cbrt_test): Use END macro without arguments.
4641 (ccos_test): Use END_COMPLEX macro without arguments.
4642 (ccosh_test): Likewise.
4643 (ceil_test): Use END macro without arguments.
4644 (cexp_test): Use END_COMPLEX macro without arguments.
4645 (cimag_test): Use END macro without arguments.
4646 (clog_test): Use END_COMPLEX macro without arguments.
4647 (clog10_test): Likewise.
4648 (conj_test): Likewise.
4649 (copysign_test): Use END macro without arguments.
4650 (cos_test): Likewise.
4651 (cos_test_tonearest): Likewise.
4652 (cos_test_towardzero): Likewise.
4653 (cos_test_downward): Likewise.
4654 (cos_test_upward): Likewise.
4655 (cosh_test): Likewise.
4656 (cosh_test_tonearest): Likewise.
4657 (cosh_test_towardzero): Likewise.
4658 (cosh_test_downward): Likewise.
4659 (cosh_test_upward): Likewise.
4660 (cpow_test): Use END_COMPLEX macro without arguments.
4661 (cproj_test): Likewise.
4662 (creal_test): Use END macro without arguments.
4663 (csin_test): Use END_COMPLEX macro without arguments.
4664 (csinh_test): Likewise.
4665 (csqrt_test): Likewise.
4666 (ctan_test): Likewise.
4667 (ctan_test_tonearest): Likewise.
4668 (ctan_test_towardzero): Likewise.
4669 (ctan_test_downward): Likewise.
4670 (ctan_test_upward): Likewise.
4671 (ctanh_test): Likewise.
4672 (ctanh_test_tonearest): Likewise.
4673 (ctanh_test_towardzero): Likewise.
4674 (ctanh_test_downward): Likewise.
4675 (ctanh_test_upward): Likewise.
4676 (erf_test): Use END macro without arguments.
4677 (erfc_test): Likewise.
4678 (exp_test): Likewise.
4679 (exp_test_tonearest): Likewise.
4680 (exp_test_towardzero): Likewise.
4681 (exp_test_downward): Likewise.
4682 (exp_test_upward): Likewise.
4683 (exp10_test): Likewise.
4684 (exp2_test): Likewise.
4685 (expm1_test): Likewise.
4686 (fabs_test): Likewise.
4687 (fdim_test): Likewise.
4688 (finite_test): Likewise.
4689 (floor_test): Likewise.
4690 (fma_test): Likewise.
4691 (fma_test_towardzero): Likewise.
4692 (fma_test_downward): Likewise.
4693 (fma_test_upward): Likewise.
4694 (fmax_test): Likewise.
4695 (fmin_test): Likewise.
4696 (fmod_test): Likewise.
4697 (fpclassify_test): Likewise.
4698 (frexp_test): Likewise.
4699 (gamma_test): Likewise.
4700 (hypot_test): Likewise.
4701 (ilogb_test): Likewise.
4702 (isfinite_test): Likewise.
4703 (isgreater_test): Likewise.
4704 (isgreaterequal_test): Likewise.
4705 (isinf_test): Likewise.
4706 (isless_test): Likewise.
4707 (islessequal_test): Likewise.
4708 (islessgreater_test): Likewise.
4709 (isnan_test): Likewise.
4710 (isnormal_test): Likewise.
4711 (issignaling_test): Likewise.
4712 (isunordered_test): Likewise.
4713 (j0_test): Likewise.
4714 (j1_test): Likewise.
4715 (jn_test): Likewise.
4716 (ldexp_test): Likewise.
4717 (lgamma_test): Likewise.
4718 (lrint_test): Likewise.
4719 (lrint_test_tonearest): Likewise.
4720 (lrint_test_towardzero): Likewise.
4721 (lrint_test_downward): Likewise.
4722 (lrint_test_upward): Likewise.
4723 (llrint_test): Likewise.
4724 (llrint_test_tonearest): Likewise.
4725 (llrint_test_towardzero): Likewise.
4726 (llrint_test_downward): Likewise.
4727 (llrint_test_upward): Likewise.
4728 (log_test): Likewise.
4729 (log10_test): Likewise.
4730 (log1p_test): Likewise.
4731 (log2_test): Likewise.
4732 (logb_test): Likewise.
4733 (logb_test_downward): Likewise.
4734 (lround_test): Likewise.
4735 (llround_test): Likewise.
4736 (modf_test): Likewise.
4737 (nearbyint_test): Likewise.
4738 (nextafter_test): Likewise.
4739 (nexttoward_test): Likewise.
4740 (pow_test): Likewise.
4741 (pow_test_tonearest): Likewise.
4742 (pow_test_towardzero): Likewise.
4743 (pow_test_downward): Likewise.
4744 (pow_test_upward): Likewise.
4745 (remainder_test): Likewise.
4746 (remainder_test_tonearest): Likewise.
4747 (remainder_test_towardzero): Likewise.
4748 (remainder_test_downward): Likewise.
4749 (remainder_test_upward): Likewise.
4750 (remquo_test): Likewise.
4751 (rint_test): Likewise.
4752 (rint_test_tonearest): Likewise.
4753 (rint_test_towardzero): Likewise.
4754 (rint_test_downward): Likewise.
4755 (rint_test_upward): Likewise.
4756 (round_test): Likewise.
4757 (scalb_test): Likewise.
4758 (scalbn_test): Likewise.
4759 (scalbln_test): Likewise.
4760 (signbit_test): Likewise.
4761 (sin_test): Likewise.
4762 (sin_test_tonearest): Likewise.
4763 (sin_test_towardzero): Likewise.
4764 (sin_test_downward): Likewise.
4765 (sin_test_upward): Likewise.
4766 (sincos_test): Likewise.
4767 (sinh_test): Likewise.
4768 (sinh_test_tonearest): Likewise.
4769 (sinh_test_towardzero): Likewise.
4770 (sinh_test_downward): Likewise.
4771 (sinh_test_upward): Likewise.
4772 (sqrt_test): Likewise.
4773 (tan_test): Likewise.
4774 (tan_test_tonearest): Likewise.
4775 (tan_test_towardzero): Likewise.
4776 (tan_test_downward): Likewise.
4777 (tan_test_upward): Likewise.
4778 (tanh_test): Likewise.
4779 (tgamma_test): Likewise.
4780 (trunc_test): Likewise.
4781 (y0_test): Likewise.
4782 (y1_test): Likewise.
4783 (yn_test): Likewise.
4784 (significand_test): Likewise.
4786 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
4789 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4791 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4794 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4795 __ppc_mdoio and __ppc_mdoom.
4796 * manual/platform.texi: Document new functions __ppc_yield,
4797 __ppc_mdoio and __ppc_mdoom.
4799 2013-05-22 Carlos O'Donell <carlos@redhat.com>
4801 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4802 (main): Mention "tls" pseudo-hwcap is legacy.
4803 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4805 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4807 * math/gen-libm-test.pl (parse_args): Output only string of
4808 arguments as text for test name, not full call or descriptions of
4809 tests for extra outputs.
4810 (generate_testfile): Do not pass function name to parse_args.
4811 Generate this_func variable from START.
4812 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4814 (struct test_ff_f_data): Likewise.
4815 (test_ff_f_data_nexttoward): Likewise.
4816 (struct test_fi_f_data): Likewise.
4817 (struct test_fl_f_data): Likewise.
4818 (struct test_if_f_data): Likewise.
4819 (struct test_fff_f_data): Likewise.
4820 (struct test_c_f_data): Likewise.
4821 (struct test_f_f1_data): Likewise. Remove field extra_name.
4822 (struct test_fF_f1_data): Likewise.
4823 (struct test_ffI_f1_data): Likewise.
4824 (struct test_c_c_data): Rename test_name field to arg_str.
4825 (struct test_cc_c_data): Likewise.
4826 (struct test_f_i_data): Likewise.
4827 (struct test_ff_i_data): Likewise.
4828 (struct test_f_l_data): Likewise.
4829 (struct test_f_L_data): Likewise.
4830 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4832 (COMMON_TEST_SETUP): New macro.
4833 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4834 (COMMON_TEST_CLEANUP): Likewise.
4835 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4836 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4838 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4839 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4841 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4842 (RUN_TEST_fff_f): Take argument string. Call new setup and
4844 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4845 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4847 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4848 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4850 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4851 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4853 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4854 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4856 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4857 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4859 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4860 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4862 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4863 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4865 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4866 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4868 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4869 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4871 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4872 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4874 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4875 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4877 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4878 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4880 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4881 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4883 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4884 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4886 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4887 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4889 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4891 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4893 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4894 to _sifields.sigfault.
4895 (si_addr_lsb): Define new macro.
4896 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4897 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4898 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4900 2013-05-03 Carlos O'Donell <carlos at redhat.com>
4903 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4905 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4907 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4910 2013-05-22 Joseph Myers <joseph@codesourcery.com>
4912 * math/gen-libm-test.pl (parse_args): Do not include expected
4913 result in test name.
4914 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4915 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4916 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4917 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4918 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4921 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4923 * benchtests/Makefile: Sort function entries.
4925 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4926 tanh, asinh, acosh, atanh.
4927 * benchtests/acos-inputs: New file.
4928 * benchtests/acosh-inputs: New file.
4929 * benchtests/asin-inputs: New file.
4930 * benchtests/asinh-inputs: New file.
4931 * benchtests/atanh-inputs: New file.
4932 * benchtests/cosh-inputs: New file.
4933 * benchtests/log-inputs: New file.
4934 * benchtests/sinh-inputs: New file.
4935 * benchtests/tanh-inputs: New file.
4937 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4940 * posix/tst-getaddrinfo4.c: New test.
4941 * posix/Makefile (tests): Add it.
4943 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4946 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4947 when no services were used.
4948 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4949 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4951 2013-05-21 Andreas Schwab <schwab@suse.de>
4954 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4955 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4957 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4958 redundant variable declarations and reallocation of buffer when
4959 parsing as IPv6 address. Always set NSS status when called from
4960 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4961 buffer too small. Correct computation of needed size.
4962 * nss/Makefile (tests): Add test-digits-dots.
4963 * nss/test-digits-dots.c: New test.
4965 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4967 * benchtests/Makefile: Remove instructions for adding
4969 * benchtests/README: New file to explain how to execute and
4970 enhance the benchmark tests.
4972 2013-05-21 Andreas Schwab <schwab@suse.de>
4975 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4976 * setjmp/tst-sigsetjmp.c: New test.
4978 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4980 * sysdeps/x86_64/memset.S (memset): New implementation.
4981 (__bzero): Likewise.
4982 (__memset_tail): New function.
4984 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
4986 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4987 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4988 __memcpy_sse2_unaligned ifunc selection.
4989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4990 Add memcpy-sse2-unaligned.S.
4991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4992 Add: __memcpy_sse2_unaligned.
4994 2013-05-19 Joseph Myers <joseph@codesourcery.com>
4997 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4998 math_force_eval before restoring floating-point envrionment.
4999 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5002 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5004 (__nearbyintl): Use math_force_eval before restoring
5005 floating-point environment.
5006 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5008 * math/gen-libm-test.pl (special_functions): Remove.
5009 (parse_args): Don't handle TEST_extra. Handle functions with no
5011 * math/libm-test.inc (struct test_sincos_data): Replace with
5012 struct test_fFF_11_data.
5013 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5014 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5015 (sincos_test_data): Change element type to struct
5016 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5017 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5018 RUN_TEST_LOOP_sincos.
5019 * math/README.libm-test: Don't mention special handling of
5020 individual functions.
5021 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5022 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5023 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5024 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5025 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5028 * math/gen-libm-test.pl (get_variable): Remove function.
5029 (parse_args): Don't show pointer parameters to call in test
5030 names. Use "extra output N" in test names for extra outputs
5031 rather than naming variables.
5033 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5036 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5037 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5038 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5040 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5042 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5045 * math/gen-libm-test.pl (@tests): Remove variable.
5047 (new_test): Remove function.
5048 (show_exceptions): New function.
5049 (special_functions): Use show_exceptions instead of new_test.
5050 (parse_args): Likewise.
5051 (generate_testfile): Pass only function name in generated call to
5052 print_max_error or print_complex_max_error.
5053 (get_ulps): Do not handle complex tests specially.
5054 (output_test): Rename to ...
5055 (get_all_ulps_for_test): ... this. Return a string rather than
5056 printing to a file. Require ulps to be present.
5057 (output_ulps): Generate arrays rather than #defines.
5058 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5059 (struct ulp_data): New type.
5060 (BUILD_COMPLEX_ULP): Remove macro.
5061 (compare_ulp_data): New function.
5062 (find_ulps): Likewise.
5063 (find_test_ulps): Likewise.
5064 (find_function_ulps): Likewise.
5065 (find_complex_function_ulps): Likewise.
5066 (print_max_error): Determine allowed ulps using
5068 (print_complex_max_error): Determine allowed ulps using
5069 find_complex_function_ulps.
5070 (check_float_internal): Determine max ulps using find_test_ulps.
5071 (check_float): Do not take max_ulp parameter. Update call to
5072 check_float_internal.
5073 (check_complex): Likewise.
5074 (check_int): Do not take max_ulp parameter.
5075 (check_long): Likewise.
5076 (check_bool): Likewise.
5077 (check_longlong): Likewise.
5078 (struct test_f_f_data): Remove max_ulp field.
5079 (struct test_ff_f_data): Likewise.
5080 (struct test_ff_f_data_nexttoward): Likewise.
5081 (struct test_fi_f_data): Likewise.
5082 (struct test_fl_f_data): Likewise.
5083 (struct test_if_f_data): Likewise.
5084 (struct test_fff_f_data): Likewise.
5085 (struct test_c_f_data): Likewise.
5086 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5087 (struct test_fF_f1_data): Likewise.
5088 (struct test_ffI_f1_data): Likewise.
5089 (struct test_c_c_data): Remove max_ulp field.
5090 (struct test_cc_c_data): Likewise.
5091 (struct test_f_i_data): Likewise.
5092 (struct test_ff_i_data): Likewise.
5093 (struct test_f_l_data): Likewise.
5094 (struct test_f_L_data): Likewise.
5095 (struct test_sincos_data): Likewise.
5096 (RUN_TEST_f_f): Do not handle ulps.
5097 (RUN_TEST_LOOP_f_f): Likewise.
5098 (RUN_TEST_2_f): Likewise.
5099 (RUN_TEST_LOOP_2_f): Likewise.
5100 (RUN_TEST_fff_f): Likewise.
5101 (RUN_TEST_LOOP_fff_f): Likewise.
5102 (RUN_TEST_c_f): Likewise.
5103 (RUN_TEST_LOOP_c_f): Likewise.
5104 (RUN_TEST_f_f1): Likewise.
5105 (RUN_TEST_LOOP_f_f1): Likewise.
5106 (RUN_TEST_fF_f1): Likewise.
5107 (RUN_TEST_LOOP_fF_f1): Likewise.
5108 (RUN_TEST_fI_f1): Likewise.
5109 (RUN_TEST_LOOP_fI_f1): Likewise.
5110 (RUN_TEST_ffI_f1): Likewise.
5111 (RUN_TEST_LOOP_ffI_f1): Likewise.
5112 (RUN_TEST_c_c): Likewise.
5113 (RUN_TEST_LOOP_c_c): Likewise.
5114 (RUN_TEST_cc_c): Likewise.
5115 (RUN_TEST_LOOP_cc_c): Likewise.
5116 (RUN_TEST_f_i): Likewise.
5117 (RUN_TEST_LOOP_f_i): Likewise.
5118 (RUN_TEST_f_i_tg): Likewise.
5119 (RUN_TEST_LOOP_f_i_tg): Likewise.
5120 (RUN_TEST_ff_i_tg): Likewise.
5121 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5122 (RUN_TEST_f_b): Likewise.
5123 (RUN_TEST_LOOP_f_b): Likewise.
5124 (RUN_TEST_f_b_tg): Likewise.
5125 (RUN_TEST_LOOP_f_b_tg): Likewise.
5126 (RUN_TEST_f_l): Likewise.
5127 (RUN_TEST_LOOP_f_l): Likewise.
5128 (RUN_TEST_f_L): Likewise.
5129 (RUN_TEST_LOOP_f_L): Likewise.
5130 (RUN_TEST_sincos): Likewise.
5131 (RUN_TEST_LOOP_sincos): Likewise.
5133 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5137 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5138 main case of finite arguments, set rounding mode to FE_TONEAREST
5139 and discard exceptions.
5140 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5142 (remainder_tonearest_test_data): New variable.
5143 (remainder_test_tonearest): New function.
5144 (remainder_towardzero_test_data): New variable.
5145 (remainder_test_towardzero): New function.
5146 (remainder_downward_test_data): New variable.
5147 (remainder_test_downward): New function.
5148 (remainder_upward_test_data): New variable.
5149 (remainder_test_upward): New function.
5150 (main): Call the new test functions.
5152 * math/libm-test.inc (struct test_f_f1_data): Remove field
5154 (struct test_fF_f1_data): Likewise.
5155 (struct test_ffI_f1_data): Likewise.
5156 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5157 based on value of EXTRA_EXPECTED.
5158 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5159 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5160 EXTRA_VAR based on value of EXTRA_EXPECTED.
5161 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5162 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5163 EXTRA_VAR based on value of EXTRA_EXPECTED.
5164 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5165 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5166 EXTRA_VAR based on value of EXTRA_EXPECTED.
5167 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5168 * math/gen-libm-test.pl (parse_args): Don't output initializers
5169 for extra output values.
5171 * math/libm-test.inc (check_int): Expect result to be exactly
5172 equal to expected value and do not handle ulps.
5173 (check_long): Likewise.
5174 (check_longlong): Likewise.
5176 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5178 (cimag_test_data): Likewise.
5179 (conj_test_data): Likewise.
5180 (copysign_test_data): Likewise.
5181 (cproj_test_data): Likewise.
5182 (creal_test_data): Likewise.
5183 (fabs_test_data): Likewise.
5184 (fdim_test_data): Likewise.
5185 (finite_test_data): Likewise.
5186 (floor_test_data): Likewise.
5187 (fmax_test_data): Likewise.
5188 (fmin_test_data): Likewise.
5189 (fmod_test_data): Likewise.
5190 (fpclassify_test_data): Likewise.
5191 (frexp_test_data): Likewise.
5192 (ilogb_test_data): Likewise.
5193 (isfinite_test_data): Likewise.
5194 (isgreater_test_data): Likewise.
5195 (isgreaterequal_test_data): Likewise.
5196 (isinf_test_data): Likewise.
5197 (isless_test_data): Likewise.
5198 (islessequal_test_data): Likewise.
5199 (islessgreater_test_data): Likewise.
5200 (isnan_test_data): Likewise.
5201 (isnormal_test_data): Likewise.
5202 (issignaling_test_data): Likewise.
5203 (isunordered_test_data): Likewise.
5204 (ldexp_test_data): Likewise.
5205 (lrint_test_data): Likewise.
5206 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5207 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5208 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5209 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5210 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5211 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5213 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5214 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5215 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5216 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5218 (lrint_downward_test_data): Test for "inexact" exceptions.
5219 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5220 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5221 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5223 (lrint_upward_test_data): Test for "inexact" exceptions.
5224 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5226 (llrint_test_data): Test for "inexact" exceptions.
5227 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5228 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5229 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5230 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5231 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5232 (llrint_downward_test_data): Test for "inexact" exceptions.
5233 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5234 (llrint_upward_test_data): Test for "inexact" exceptions.
5235 (logb_test_data): Likewise.
5236 (logb_downward_test_data): Likewise.
5237 (nextafter_test_data): Likewise.
5238 (nexttoward_test_data): Likewise.
5239 (remainder_test_data): Likewise.
5240 (remquo_test_data): Likewise.
5241 (scalbn_test_data): Likewise.
5242 (scalbln_test_data): Likewise.
5243 (signbit_test_data): Likewise.
5244 (sqrt_test_data): Likewise.
5245 (significand_test_data): Likewise.
5247 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5250 * benchtests/bench-modf.c (struct args): Mark arg0 as
5252 * scripts/bench.pl: Mark members of struct args as volatile.
5254 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5257 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5258 negative infinity on POWER6 or lower.
5259 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5261 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5264 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5265 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5266 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5267 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5268 (_FP_SETQNAN): New macro.
5269 (_FP_SETQNAN_SEMIRAW): Likewise.
5270 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5271 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5272 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5273 (FP_EXTEND): Use _FP_FRAC_SNANP.
5274 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5275 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5277 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5279 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5282 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5284 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5285 with DIVIDE_BY_ZERO_EXCEPTION.
5286 (gamma_test_data): Likewise.
5287 (lgamma_test_data): Likewise.
5288 (log_test_data): Likewise.
5289 (log10_test_data): Likewise.
5290 (log2_test_data): Likewise.
5291 (tgamma_test_data): Likewise.
5293 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5294 (acos_test_tonearest): Likewise.
5295 (acos_test_towardzero): Likewise.
5296 (acos_test_downward): Likewise.
5297 (acos_test_upward): Likewise.
5298 (acosh_test): Likewise.
5299 (asin_test): Likewise.
5300 (asin_test_tonearest): Likewise.
5301 (asin_test_towardzero): Likewise.
5302 (asin_test_downward): Likewise.
5303 (asin_test_upward): Likewise.
5304 (asinh_test): Likewise.
5305 (atan_test): Likewise.
5306 (atanh_test): Likewise.
5307 (atan2_test): Likewise.
5308 (cabs_test): Likewise.
5309 (cacos_test): Likewise.
5310 (cacosh_test): Likewise.
5311 (casin_test): Likewise.
5312 (casinh_test): Likewise.
5313 (catan_test): Likewise.
5314 (catanh_test): Likewise.
5315 (cbrt_test): Likewise.
5316 (ccos_test): Likewise.
5317 (ccosh_test): Likewise.
5318 (cexp_test): Likewise.
5319 (clog_test): Likewise.
5320 (clog10_test): Likewise.
5321 (cos_test): Likewise.
5322 (cos_test_tonearest): Likewise.
5323 (cos_test_towardzero): Likewise.
5324 (cos_test_downward): Likewise.
5325 (cos_test_upward): Likewise.
5326 (cosh_test): Likewise.
5327 (cosh_test_tonearest): Likewise.
5328 (cosh_test_towardzero): Likewise.
5329 (cosh_test_downward): Likewise.
5330 (cosh_test_upward): Likewise.
5331 (cpow_test): Likewise.
5332 (csin_test): Likewise.
5333 (csinh_test): Likewise.
5334 (csqrt_test): Likewise.
5335 (ctan_test): Likewise.
5336 (ctan_test_tonearest): Likewise.
5337 (ctan_test_towardzero): Likewise.
5338 (ctan_test_downward): Likewise.
5339 (ctan_test_upward): Likewise.
5340 (ctanh_test): Likewise.
5341 (ctanh_test_tonearest): Likewise.
5342 (ctanh_test_towardzero): Likewise.
5343 (ctanh_test_downward): Likewise.
5344 (ctanh_test_upward): Likewise.
5345 (erf_test): Likewise.
5346 (erfc_test): Likewise.
5347 (exp_test): Likewise.
5348 (exp_test_tonearest): Likewise.
5349 (exp_test_towardzero): Likewise.
5350 (exp_test_downward): Likewise.
5351 (exp_test_upward): Likewise.
5352 (exp10_test): Likewise.
5353 (exp2_test): Likewise.
5354 (expm1_test): Likewise.
5355 (fmod_test): Likewise.
5356 (gamma_test): Likewise.
5357 (hypot_test): Likewise.
5358 (j0_test): Likewise.
5359 (j1_test): Likewise.
5360 (jn_test): Likewise.
5361 (lgamma_test): Likewise.
5362 (log_test): Likewise.
5363 (log10_test): Likewise.
5364 (log1p_test): Likewise.
5365 (log2_test): Likewise.
5366 (logb_test_downward): Likewise.
5367 (pow_test): Likewise.
5368 (pow_test_tonearest): Likewise.
5369 (pow_test_towardzero): Likewise.
5370 (pow_test_downward): Likewise.
5371 (pow_test_upward): Likewise.
5372 (remainder_test): Likewise.
5373 (remquo_test): Likewise.
5374 (sin_test): Likewise.
5375 (sin_test_tonearest): Likewise.
5376 (sin_test_towardzero): Likewise.
5377 (sin_test_downward): Likewise.
5378 (sin_test_upward): Likewise.
5379 (sincos_test): Likewise.
5380 (sinh_test): Likewise.
5381 (sinh_test_tonearest): Likewise.
5382 (sinh_test_towardzero): Likewise.
5383 (sinh_test_downward): Likewise.
5384 (sinh_test_upward): Likewise.
5385 (sqrt_test): Likewise.
5386 (tan_test): Likewise.
5387 (tan_test_tonearest): Likewise.
5388 (tan_test_towardzero): Likewise.
5389 (tan_test_downward): Likewise.
5390 (tan_test_upward): Likewise.
5391 (tanh_test): Likewise.
5392 (tgamma_test): Likewise.
5393 (y0_test): Likewise.
5394 (y1_test): Likewise.
5395 (yn_test): Likewise.
5397 * math/gen-libm-test.pl (adjust_arg): Remove function.
5398 (special_function): Remove argument $in_func. Only handle
5399 generating output for tables of tests, not inside functions.
5400 (parse_args): Likewise.
5401 (generate_testfile): Remove variable $in_func. Update call to
5403 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5404 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5405 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5406 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5407 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5408 (MAX_VALUE_INIT): Rename macro to max_value.
5409 (MIN_VALUE_INIT): Rename macro to min_value.
5410 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5411 (plus_zero): Remove variable.
5412 (minus_zero): Likewise.
5413 (plus_infty): Likewise.
5414 (minus_infty): Likewise.
5415 (qnan_value): Likewise.
5416 (max_value): Likewise.
5417 (min_value): Likewise.
5418 (min_subnorm_value): Likewise.
5420 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5422 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5423 uint64_t or uint32_t usage.
5424 * crypt/sha256-block.c: Likewise.
5425 * crypt/sha256-crypt.c: Likewise.
5426 * crypt/sha256.c: Likewise.
5427 * crypt/sha512-block.c: Likewise.
5428 * crypt/sha512-crypt.c: Likewise.
5429 * crypt/sha512.c: Likewise.
5430 * debug/backtrace-tst.c: Likewise.
5431 * debug/pcprofiledump.c: Likewise.
5432 * elf/cache.c: Likewise.
5433 * elf/dl-cache.c: Likewise.
5434 * elf/dl-misc.c: Likewise.
5435 * elf/dl-profile.c: Likewise.
5436 * elf/dl-support.c: Likewise.
5437 * elf/ldconfig.c: Likewise.
5438 * elf/sprof.c: Likewise.
5439 * iconv/dummy-repertoire.c: Likewise.
5440 * iconv/iconv_charmap.c: Likewise.
5441 * iconv/skeleton.c: Likewise.
5442 * iconvdata/8bit-generic.c: Likewise.
5443 * iconvdata/cp737.h: Likewise.
5444 * iconvdata/cp775.h: Likewise.
5445 * iconvdata/ibm1008.h: Likewise.
5446 * iconvdata/ibm1025.h: Likewise.
5447 * iconvdata/ibm1046.h: Likewise.
5448 * iconvdata/ibm1097.h: Likewise.
5449 * iconvdata/ibm1112.h: Likewise.
5450 * iconvdata/ibm1122.h: Likewise.
5451 * iconvdata/ibm1123.h: Likewise.
5452 * iconvdata/ibm1124.h: Likewise.
5453 * iconvdata/ibm1129.h: Likewise.
5454 * iconvdata/ibm1130.h: Likewise.
5455 * iconvdata/ibm1132.h: Likewise.
5456 * iconvdata/ibm1133.h: Likewise.
5457 * iconvdata/ibm1137.h: Likewise.
5458 * iconvdata/ibm1140.h: Likewise.
5459 * iconvdata/ibm1141.h: Likewise.
5460 * iconvdata/ibm1142.h: Likewise.
5461 * iconvdata/ibm1143.h: Likewise.
5462 * iconvdata/ibm1144.h: Likewise.
5463 * iconvdata/ibm1145.h: Likewise.
5464 * iconvdata/ibm1146.h: Likewise.
5465 * iconvdata/ibm1147.h: Likewise.
5466 * iconvdata/ibm1148.h: Likewise.
5467 * iconvdata/ibm1149.h: Likewise.
5468 * iconvdata/ibm1153.h: Likewise.
5469 * iconvdata/ibm1154.h: Likewise.
5470 * iconvdata/ibm1155.h: Likewise.
5471 * iconvdata/ibm1156.h: Likewise.
5472 * iconvdata/ibm1157.h: Likewise.
5473 * iconvdata/ibm1158.h: Likewise.
5474 * iconvdata/ibm1160.h: Likewise.
5475 * iconvdata/ibm1161.h: Likewise.
5476 * iconvdata/ibm1162.h: Likewise.
5477 * iconvdata/ibm1163.h: Likewise.
5478 * iconvdata/ibm1164.h: Likewise.
5479 * iconvdata/ibm1166.h: Likewise.
5480 * iconvdata/ibm1167.h: Likewise.
5481 * iconvdata/ibm12712.h: Likewise.
5482 * iconvdata/ibm1390.h: Likewise.
5483 * iconvdata/ibm1399.h: Likewise.
5484 * iconvdata/ibm16804.h: Likewise.
5485 * iconvdata/ibm4517.h: Likewise.
5486 * iconvdata/ibm4899.h: Likewise.
5487 * iconvdata/ibm4909.h: Likewise.
5488 * iconvdata/ibm4971.h: Likewise.
5489 * iconvdata/ibm5347.h: Likewise.
5490 * iconvdata/ibm803.h: Likewise.
5491 * iconvdata/ibm856.h: Likewise.
5492 * iconvdata/ibm901.h: Likewise.
5493 * iconvdata/ibm902.h: Likewise.
5494 * iconvdata/ibm9030.h: Likewise.
5495 * iconvdata/ibm9066.h: Likewise.
5496 * iconvdata/ibm921.h: Likewise.
5497 * iconvdata/ibm922.h: Likewise.
5498 * iconvdata/ibm9448.h: Likewise.
5499 * iconvdata/isiri-3342.h: Likewise.
5500 * iconvdata/jis0201.h: Likewise.
5501 * include/link.h: Likewise.
5502 * include/netdb.h: Likewise.
5503 * inet/check_native.c: Likewise.
5504 * inet/check_pf.c: Likewise.
5505 * inet/getipv4sourcefilter.c: Likewise.
5506 * inet/getnameinfo.c: Likewise.
5507 * inet/getsourcefilter.c: Likewise.
5508 * inet/htonl.c: Likewise.
5509 * inet/setipv4sourcefilter.c: Likewise.
5510 * inet/setsourcefilter.c: Likewise.
5511 * inet/test-inet6_opt.c: Likewise.
5512 * inet/tst-network.c: Likewise.
5513 * locale/C-collate.c: Likewise.
5514 * locale/C-ctype.c: Likewise.
5515 * locale/C-time.c: Likewise.
5516 * locale/C-translit.h: Likewise.
5517 * locale/loadarchive.c: Likewise.
5518 * locale/programs/3level.h: Likewise.
5519 * locale/programs/charmap.c: Likewise.
5520 * locale/programs/charmap.h: Likewise.
5521 * locale/programs/ld-address.c: Likewise.
5522 * locale/programs/ld-collate.c: Likewise.
5523 * locale/programs/ld-ctype.c: Likewise.
5524 * locale/programs/ld-identification.c: Likewise.
5525 * locale/programs/ld-measurement.c: Likewise.
5526 * locale/programs/ld-messages.c: Likewise.
5527 * locale/programs/ld-monetary.c: Likewise.
5528 * locale/programs/ld-name.c: Likewise.
5529 * locale/programs/ld-numeric.c: Likewise.
5530 * locale/programs/ld-paper.c: Likewise.
5531 * locale/programs/ld-telephone.c: Likewise.
5532 * locale/programs/ld-time.c: Likewise.
5533 * locale/programs/linereader.c: Likewise.
5534 * locale/programs/locale.c: Likewise.
5535 * locale/programs/locarchive.c: Likewise.
5536 * locale/programs/locfile.h: Likewise.
5537 * locale/programs/repertoire.c: Likewise.
5538 * locale/programs/simple-hash.c: Likewise.
5539 * locale/programs/simple-hash.h: Likewise.
5540 * malloc/memusage.c: Likewise.
5541 * malloc/memusagestat.c: Likewise.
5542 * nis/nis_defaults.c: Likewise.
5543 * nis/nis_hash.c: Likewise.
5544 * nis/nis_print.c: Likewise.
5545 * nis/nis_xdr.c: Likewise.
5546 * nscd/connections.c: Likewise.
5547 * nscd/hstcache.c: Likewise.
5548 * nscd/nscd_gethst_r.c: Likewise.
5549 * nscd/nscd_getserv_r.c: Likewise.
5550 * nscd/nscd_helper.c: Likewise.
5551 * nscd/servicescache.c: Likewise.
5552 * nss/makedb.c: Likewise.
5553 * nss/nss_db/db-XXX.c: Likewise.
5554 * nss/nss_db/db-initgroups.c: Likewise.
5555 * nss/nss_db/db-netgrp.c: Likewise.
5556 * nss/nss_files/files-network.c: Likewise.
5557 * nss/nss_files/files-parse.c: Likewise.
5558 * posix/bug-regex5.c: Likewise.
5559 * posix/fnmatch_loop.c: Likewise.
5560 * posix/regcomp.c: Likewise.
5561 * posix/regexec.c: Likewise.
5562 * posix/tst-rfc3484-2.c: Likewise.
5563 * posix/tst-rfc3484-3.c: Likewise.
5564 * posix/tst-rfc3484.c: Likewise.
5565 * resolv/nss_dns/dns-canon.c: Likewise.
5566 * resolv/nss_dns/dns-network.c: Likewise.
5567 * resolv/res_init.c: Likewise.
5568 * resolv/res_mkquery.c: Likewise.
5569 * resolv/tst-aton.c: Likewise.
5570 * stdlib/cxa_atexit.c: Likewise.
5571 * stdlib/cxa_finalize.c: Likewise.
5572 * stdlib/gen-fpioconst.c: Likewise.
5573 * stdlib/strtol_l.c: Likewise.
5574 * string/tst-endian.c: Likewise.
5575 * sunrpc/auth_des.c: Likewise.
5576 * sunrpc/clnt_udp.c: Likewise.
5577 * sunrpc/rtime.c: Likewise.
5578 * sunrpc/svcauth_des.c: Likewise.
5579 * sunrpc/xdr.c: Likewise.
5580 * sunrpc/xdr_intXX_t.c: Likewise.
5581 * sunrpc/xdr_rec.c: Likewise.
5582 * sysdeps/generic/ldconfig.h: Likewise.
5583 * sysdeps/generic/ldsodefs.h: Likewise.
5584 * sysdeps/generic/memusage.h: Likewise.
5585 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5586 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5587 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5588 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5589 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5591 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5592 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5593 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5594 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5595 * sysdeps/posix/getaddrinfo.c: Likewise.
5596 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5597 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5598 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5599 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5600 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5601 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5602 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5603 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5604 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5605 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5606 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5607 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5608 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5609 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5610 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5611 * sysdeps/x86_64/dl-tls.h: Likewise.
5612 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5613 * time/alt_digit.c: Likewise.
5614 * time/era.c: Likewise.
5615 * wcsmbs/tst-c16c32-1.c: Likewise.
5617 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5619 * math/libm-test.inc (struct test_sincos_data): New type.
5620 (RUN_TEST_LOOP_sincos): New macro.
5621 (sincos_test_data): New variable.
5622 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5624 2013-05-16 Richard Henderson <rth@redhat.com>
5626 * math/atest-exp2.c (LIMB64): New macro.
5627 (CONSTSZ): New macro.
5628 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5630 (print_mpn_fp): ... to function scope.
5631 (read_mpn_hex): Remove.
5633 (exp2_mpn): Use mp_log2.
5634 (main): Use mp_exp1.
5636 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5638 * math/libm-test.inc: Remove comment about not testing "inexact"
5640 (INEXACT_EXCEPTION): New macro.
5641 (NO_INEXACT_EXCEPTION): Likewise.
5642 (INVALID_EXCEPTION_OK): Update value.
5643 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5644 (OVERFLOW_EXCEPTION_OK): Likewise.
5645 (UNDERFLOW_EXCEPTION_OK): Likewise.
5646 (IGNORE_ZERO_INF_SIGN): Likewise.
5647 (ERRNO_UNCHANGED): Likewise.
5648 (ERRNO_EDOM): Likewise.
5649 (ERRNO_ERANGE): Likewise.
5650 (test_exceptions): Handle testing "inexact" exceptions.
5651 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5652 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5653 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5654 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5656 (rint_towardzero_test_data): Likewise.
5657 (rint_downward_test_data): Likewise.
5658 (rint_upward_test_data): Likewise.
5660 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5661 with OVERFLOW_EXCEPTION.
5662 (exp10_test_data): Likewise.
5663 (exp2_test_data): Likewise.
5664 (expm1_test_data): Likewise.
5665 (lgamma_test_data): Likewise.
5666 (pow_test_data): Likewise.
5667 (tgamma_test_data): Likewise.
5668 (yn_test_data): Remove duplicate test of overflow.
5670 * math/libm-test.inc (struct test_cc_c_data): New type.
5671 (RUN_TEST_LOOP_cc_c): New macro.
5672 (cpow_test_data): New variable.
5673 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5675 * math/libm-test.inc (struct test_f_L_data): New type.
5676 (RUN_TEST_LOOP_f_L): New macro.
5677 (llrint_test_data): New variable.
5678 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5679 (llrint_tonearest_test_data): New variable.
5680 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5681 (llrint_towardzero_test_data): New variable.
5682 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5683 (llrint_downward_test_data): New variable.
5684 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5685 (llrint_upward_test_data): New variable.
5686 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5687 (llround_test_data): New variable.
5688 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5690 2013-05-13 Peter Collingbourne <pcc@google.com>
5692 * math/atest-exp2.c (get_log2): Remove const attribute.
5694 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5696 * math/libm-test.inc (struct test_f_l_data): New type.
5697 (RUN_TEST_LOOP_f_l): New macro.
5698 (lrint_test_data): New variable.
5699 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5700 (lrint_tonearest_test_data): New variable.
5701 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5702 (lrint_towardzero_test_data): New variable.
5703 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5704 (lrint_downward_test_data): New variable.
5705 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5706 (lrint_upward_test_data): New variable.
5707 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5708 (lround_test_data): New variable.
5709 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5711 2013-05-15 Peter Collingbourne <pcc@google.com>
5713 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5714 (EXTRACT_WORDS64) Use where appropriate.
5715 (INSERT_WORDS64) Likewise.
5717 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5718 constraints with x constraints.
5719 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5721 * malloc/obstack.c (_obstack_compat): Add initializer.
5723 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5725 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5726 si_trapno and add si_addr_lsb to _sifields.sigfault.
5727 (si_trapno): Remove macro.
5728 (si_addr_lsb): Define new macro.
5729 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5731 2013-05-15 Joseph Myers <joseph@codesourcery.com>
5733 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5734 instead of TEST_f_l.
5735 (llrint_test_tonearest): Likewise.
5736 (llrint_test_towardzero): Likewise.
5737 (llrint_test_downward): Likewise.
5738 (llrint_test_upward): Likewise.
5739 (llround_test): Likewise.
5741 * math/libm-test.inc (struct test_f_i_data): Add comment.
5742 (RUN_TEST_LOOP_f_b): New macro.
5743 (RUN_TEST_LOOP_f_b_tg): Likewise.
5744 (finite_test_data): New variable.
5745 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5746 (isfinite_test_data): New variable.
5747 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5748 (isinf_test_data): New variable.
5749 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5750 (isnan_test_data): New variable.
5751 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5752 (isnormal_test_data): New variable.
5753 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5754 (issignaling_test_data): New variable.
5755 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5756 (signbit_test_data): New variable.
5757 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5759 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5760 with INVALID_EXCEPTION.
5761 (acosh_test_data): Likewise.
5762 (asin_test_data): Likewise.
5763 (atanh_test_data): Likewise.
5764 (fmod_test_data): Likewise.
5765 (log_test_data): Likewise.
5766 (log10_test_data): Likewise.
5767 (log2_test_data): Likewise.
5768 (pow_test_data): Likewise.
5769 (sqrt_test_data): Likewise.
5770 (y0_test_data): Likewise.
5771 (y1_test_data): Likewise.
5772 (yn_test_data): Likewise.
5774 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5777 * math/libm-test.inc (struct test_ff_i_data): New type.
5778 (RUN_TEST_LOOP_ff_i_tg): New macro.
5779 (isgreater_test_data): New variable.
5780 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5781 (isgreaterequal_test_data): New variable.
5782 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5783 (isless_test_data): New variable.
5784 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5785 (islessequal_test_data): New variable.
5786 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5787 (islessgreater_test_data): New variable.
5788 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5789 (isunordered_test_data): New variable.
5790 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5792 2013-05-14 David S. Miller <davem@davemloft.net>
5794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5796 2013-05-14 Joseph Myers <joseph@codesourcery.com>
5798 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5800 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5802 (struct test_f_i_data): Change type of max_ulp to int.
5804 * math/libm-test.inc (test_ffI_f1_data): New type.
5805 (RUN_TEST_LOOP_ffI_f1): New macro.
5806 (remquo_test_data): New variable.
5807 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5809 * setjmp/tst-setjmp-fp.c: New file.
5810 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5811 (link-libm): New variable.
5812 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5814 * math/libm-test.inc (struct test_f_i_data): New type.
5815 (RUN_TEST_LOOP_f_i): New macro.
5816 (RUN_TEST_LOOP_f_i_tg): Likewise.
5817 (fpclassify_test_data): New variable.
5818 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5819 (ilogb_test_data): New variable.
5820 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5822 * math/libm-test.inc (scalbln_test): Correct function name in END
5825 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5826 (RUN_TEST_LOOP_fI_f1): New macro.
5827 (frexp_test_data): New variable.
5828 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5830 * math/libm-test.inc (struct test_fF_f1_data): New type.
5831 (RUN_TEST_LOOP_fF_f1): New macro.
5832 (modf_test_data): New variable.
5833 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5835 * math/libm-test.inc (struct test_f_f1_data): New type.
5836 (RUN_TEST_LOOP_f_f1): New macro.
5837 (gamma_test_data): New variable.
5838 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5839 (lgamma_test_data): New variable.
5840 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5842 2013-05-13 Carlos O'Donell <carlos@redhat.com>
5844 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5845 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5846 (main): Comment "tls" pseudo-hwcap.
5848 2013-05-13 Joseph Myers <joseph@codesourcery.com>
5850 * math/libm-test.inc (struct test_fl_f_data): New type.
5851 (RUN_TEST_LOOP_fl_f): New variable.
5852 (scalbln_test_data): New variable.
5853 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5855 * math/libm-test.inc (struct test_fi_f_data): New type.
5856 (RUN_TEST_LOOP_fi_f): New macro.
5857 (ldexp_test_data): New variable.
5858 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5859 (scalbn_test_data): New variable.
5860 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5862 * math/libm-test.inc (struct test_c_f_data): New type.
5863 (RUN_TEST_LOOP_c_f): New macro.
5864 (cabs_test_data): New variable.
5865 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5866 (carg_test_data): New variable.
5867 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5868 (cimag_test_data): New variable.
5869 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5870 (creal_test_data): New variable.
5871 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5873 * math/libm-test.inc (struct test_if_f_data): New type.
5874 (RUN_TEST_LOOP_if_f): New macro.
5875 (jn_test_data): New variable.
5876 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5877 (yn_test_data): New variable.
5878 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5880 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5882 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5884 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5885 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5887 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5889 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5890 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5891 (bench-deps): Add bench-timing.h.
5892 * benchtests-bench-skeleton.c: Include bench-timing.h.
5893 (main): Use TIMING_* macros instead of clock_gettime.
5894 * benchtests/bench-timing.h: New file.
5897 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5898 Renamed from _LIB_VERSION.
5899 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5901 2013-05-12 Joseph Myers <joseph@codesourcery.com>
5903 * math/libm-test.inc (struct test_fff_f_data): New type.
5904 (RUN_TEST_LOOP_fff_f): New macro.
5905 (fma_test_data): New variable.
5906 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5907 (fma_towardzero_test_data): New variable.
5908 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5909 (fma_downward_test_data): New variable.
5910 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5911 (fma_upward_test_data): New variable.
5912 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5914 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5915 (struct test_c_c_data): New type.
5916 (RUN_TEST_LOOP_c_c): New macro.
5917 (cacos_test_data): New variable.
5918 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5919 (cacosh_test_data): New variable.
5920 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5921 (casin_test_data): New variable.
5922 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5923 (casinh_test_data): New variable.
5924 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5925 (catan_test_data): New variable.
5926 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5927 (catanh_test_data): New variable.
5928 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5929 (ccos_test_data): New variable.
5930 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5931 (ccosh_test_data): New variable.
5932 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5933 (cexp_test_data): New variable.
5934 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5935 (clog_test_data): New variable.
5936 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5937 (clog10_test_data): New variable.
5938 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5939 (conj_test_data): New variable.
5940 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5941 (cproj_test_data): New variable.
5942 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5943 (csin_test_data): New variable.
5944 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5945 (csinh_test_data): New variable.
5946 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5947 (csqrt_test_data): New variable.
5948 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5949 (ctan_test_data): New variable.
5950 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5951 (ctan_tonearest_test_data): New variable.
5952 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5953 (ctan_towardzero_test_data): New variable.
5954 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5955 (ctan_downward_test_data): New variable.
5956 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5957 (ctan_upward_test_data): New variable.
5958 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5959 (ctanh_test_data): New variable.
5960 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5961 (ctanh_tonearest_test_data): New variable.
5962 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5963 (ctanh_towardzero_test_data): New variable.
5964 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5965 (ctanh_downward_test_data): New variable.
5966 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5967 (ctanh_upward_test_data): New variable.
5968 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5969 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5972 * math/libm-test.inc (struct test_ff_f_data): New type.
5973 (struct test_ff_f_data_nexttoward): Likewise.
5974 (RUN_TEST_LOOP_2_f): New macro.
5975 (RUN_TEST_LOOP_ff_f): Likewise.
5976 (atan2_test_data): New variable.
5977 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5978 (copysign_test_data): New variable.
5979 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5980 (fdim_test_data): New variable.
5981 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5982 (fmax_test_data): New variable.
5983 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5984 (fmin_test_data): New variable.
5985 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5986 (fmod_test_data): New variable.
5987 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5988 (hypot_test_data): New variable.
5989 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5990 (nextafter_test_data): New variable.
5991 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5992 (nexttoward_test_data): New variable.
5993 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5994 (pow_test_data): New variable.
5995 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5996 (pow_tonearest_test_data): New variable.
5997 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5998 (pow_towardzero_test_data): New variable.
5999 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6000 (pow_downward_test_data): New variable.
6001 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6002 (pow_upward_test_data): New variable.
6003 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6004 (remainder_test_data): New variable.
6005 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6006 (scalb_test_data): New variable.
6007 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6008 * sysdeps/i386/fpu/libm-test-ulps: Update.
6010 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6012 * math/libm-test.inc (fma_test): Use max_value instead of local
6014 (nextafter_test): Likewise.
6016 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6017 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6018 (acos_downward_test_data): New variable.
6019 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6020 (acos_upward_test_data): New variable.
6021 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6022 (acosh_test_data): New variable.
6023 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6024 (asin_test_data): New variable.
6025 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6026 (asin_tonearest_test_data): New variable.
6027 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6028 (asin_towardzero_test_data): New variable.
6029 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6030 (asin_downward_test_data): New variable.
6031 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6032 (asin_upward_test_data): New variable.
6033 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6034 (asinh_test_data): New variable.
6035 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6036 (atan_test_data): New variable.
6037 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6038 (atanh_test_data): New variable.
6039 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6040 (cbrt_test_data): New variable.
6041 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6042 (ceil_test_data): New variable.
6043 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6044 (cos_test_data): New variable.
6045 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6046 (cos_tonearest_test_data): New variable.
6047 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6048 (cos_towardzero_test_data): New variable.
6049 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6050 (cos_downward_test_data): New variable.
6051 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6052 (cos_upward_test_data): New variable.
6053 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6054 (cosh_test_data): New variable.
6055 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6056 (cosh_tonearest_test_data): New variable.
6057 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6058 (cosh_towardzero_test_data): New variable.
6059 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6060 (cosh_downward_test_data): New variable.
6061 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6062 (cosh_upward_test_data): New variable.
6063 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6064 (erf_test_data): New variable.
6065 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6066 (erfc_test_data): New variable.
6067 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6068 (exp_test_data): New variable.
6069 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6070 (exp_tonearest_test_data): New variable.
6071 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6072 (exp_towardzero_test_data): New variable.
6073 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6074 (exp_downward_test_data): New variable.
6075 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6076 (exp_upward_test_data): New variable.
6077 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6078 (exp10_test_data): New variable.
6079 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6080 (exp2_test_data): New variable.
6081 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6082 (expm1_test_data): New variable.
6083 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6084 (fabs_test_data): New variable.
6085 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6086 (floor_test_data): New variable.
6087 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6088 (j0_test_data): New variable.
6089 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6090 (j1_test_data): New variable.
6091 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6092 (log_test_data): New variable.
6093 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6094 (log10_test_data): New variable.
6095 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6096 (log1p_test_data): New variable.
6097 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6098 (log2_test_data): New variable.
6099 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6100 (logb_test_data): New variable.
6101 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6102 (logb_downward_test_data): New variable.
6103 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6104 (nearbyint_test_data): New variable.
6105 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6106 (rint_test_data): New variable.
6107 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6108 (rint_tonearest_test_data): New variable.
6109 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6110 (rint_towardzero_test_data): New variable.
6111 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6112 (rint_downward_test_data): New variable.
6113 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6114 (rint_upward_test_data): New variable.
6115 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6116 (round_test_data): New variable.
6117 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6118 (sin_test_data): New variable.
6119 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6120 (sin_tonearest_test_data): New variable.
6121 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6122 (sin_towardzero_test_data): New variable.
6123 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6124 (sin_downward_test_data): New variable.
6125 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6126 (sin_upward_test_data): New variable.
6127 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6128 (sinh_test_data): New variable.
6129 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6130 (sinh_tonearest_test_data): New variable.
6131 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6132 (sinh_towardzero_test_data): New variable.
6133 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6134 (sinh_downward_test_data): New variable.
6135 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6136 (sinh_upward_test_data): New variable.
6137 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6138 (sqrt_test_data): New variable.
6139 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6140 (tan_test_data): New variable.
6141 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6142 (tan_tonearest_test_data): New variable.
6143 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6144 (tan_towardzero_test_data): New variable.
6145 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6146 (tan_downward_test_data): New variable.
6147 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6148 (tan_upward_test_data): New variable.
6149 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6150 (tanh_test_data): New variable.
6151 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6152 (tgamma_test_data): New variable.
6153 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6154 (trunc_test_data): New variable.
6155 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6156 (y0_test_data): New variable.
6157 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6158 (y1_test_data): New variable.
6159 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6160 (significand_test_data): New variable.
6161 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6163 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6166 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6168 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6170 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6172 2013-05-10 Andreas Jaeger <aj@suse.de>
6175 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6176 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6178 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6180 * math/gen-libm-test.pl (adjust_arg): New function.
6181 (special_functions): Handle generating output in both functions
6183 (parse_args): Likewise.
6184 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6185 $in_func argument to parse_args.
6186 * math/libm-test.inc (struct test_f_f_data): New type.
6187 (IF_ROUND_INIT_): New macro.
6188 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6189 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6190 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6191 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6192 (ROUND_RESTORE_): Likewise.
6193 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6194 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6195 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6196 (ROUND_RESTORE_FE_UPWARD): Likewise.
6197 (RUN_TEST_LOOP_f_f): New macro.
6198 (acos_test_data): New variable.
6199 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6200 (acos_tonearest_test_data): New variable.
6201 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6203 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6205 * benchtests/bench-skeleton.c (startup): Fix coding style.
6207 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6210 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6211 negative infinity argument.
6212 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6213 negative infinity argument.
6214 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6215 negative infinity argument.
6216 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6219 2013-05-10 Florian Weimer <fweimer@redhat.com>
6221 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6222 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6223 * iconv/iconv_prog.c (main): Likewise.
6224 * locale/programs/charmap-dir.c (charmap_readdir)
6225 (fopen_uncompressed): Likewise.
6226 * locale/programs/locfile.c (siblings_uncached)
6227 (write_locale_data): Use lstat64 instead of lstat.
6228 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6231 2013-05-10 Andreas Jaeger <aj@suse.de>
6234 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6238 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6240 * elf/dl-close.c (_dl_close_worker): Add comments.
6242 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6245 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6247 (__ieee754_rem_pio2l): Update comments.
6250 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6252 (__ieee754_rem_pio2l): Update comments.
6254 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6255 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6257 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6260 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6261 (M_PI_34_LOG10El): Likewise.
6262 (M_PI2_LOG10El): Likewise.
6263 (M_PI4_LOG10El): Likewise.
6264 (M_PI_LOG10El): Likewise.
6266 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6270 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6272 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6273 (MINUS_ZERO_INIT): Likewise.
6274 (PLUS_INFTY_INIT): Likewise.
6275 (MINUS_INFTY_INIT): Likewise.
6276 (QNAN_VALUE_INIT): Likewise.
6277 (MAX_VALUE_INIT): Likewise.
6278 (MIN_VALUE_INIT): Likewise.
6279 (MIN_SUBNORM_VALUE_INIT): Likewise.
6280 (plus_zero): Initialize with PLUS_ZERO_INIT.
6281 (minus_zero): Initialize with MINUS_ZERO_INIT.
6282 (plus_infty): Initialize with PLUS_INFTY_INIT.
6283 (minus_infty): Initialize with MINUS_INFTY_INIT.
6284 (qnan_value): Initialize with QNAN_VALUE_INIT.
6285 (max_value): Initialize with MAX_VALUE_INIT.
6286 (min_value): Initialize with MIN_VALUE_INIT.
6287 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6289 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6290 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6291 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6292 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6294 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6295 (RUN_TEST_2_f): Likewise.
6296 (RUN_TEST_ff_f): Likewise.
6297 (RUN_TEST_fi_f): Likewise.
6298 (RUN_TEST_fl_f): Likewise.
6299 (RUN_TEST_fff_f): Likewise.
6300 (RUN_TEST_c_f): Likewise.
6301 (RUN_TEST_f_f1): Likewise.
6302 (RUN_TEST_fF_f1): Likewise.
6303 (RUN_TEST_fI_f1): Likewise.
6304 (RUN_TEST_ffI_f1): Likewise.
6305 (RUN_TEST_c_c): Likewise.
6306 (RUN_TEST_cc_c): Likewise.
6307 (RUN_TEST_f_i): Likewise.
6308 (RUN_TEST_f_i_tg): Likewise.
6309 (RUN_TEST_ff_i_tg): Likewise.
6310 (RUN_TEST_f_b): Likewise.
6311 (RUN_TEST_f_b_tg): Likewise.
6312 (RUN_TEST_f_l): Likewise.
6313 (RUN_TEST_f_L): Likewise.
6314 (RUN_TEST_sincos): Likewise.
6315 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6316 whether to show exceptions. Do not include ");\n" in return
6318 (special_functions): Output call to RUN_TEST_sincos instead of
6319 check_float calls. Update calls to new_test.
6320 (parse_args): Output call to single RUN_TEST_* macro instead of
6321 check_* calls and other assignments. Update calls to new_test.
6327 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6328 input to result for tgamma overflow.
6329 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6330 (gamma_coeff): New variable.
6331 (NCOEFF): New macro.
6332 (gamma_positive): New function.
6333 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6334 underflow here. Use gamma_positive instead of exp (lgamma) for
6336 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6337 (gamma_coeff): New variable.
6338 (NCOEFF): New macro.
6339 (gammaf_positive): New function.
6340 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6341 underflow here. Use gamma_positive instead of exp (lgamma) for
6343 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6344 (gamma_coeff): New variable.
6345 (NCOEFF): New macro.
6346 (gammal_positive): New function.
6347 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6348 underflow here. Use gamma_positive instead of exp (lgamma) for
6350 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6351 (gamma_coeff): New variable.
6352 (NCOEFF): New macro.
6353 (gammal_positive): New function.
6354 (__ieee754_gammal_r): Handle positive infinity, overflow and
6355 underflow here. Handle NaN the same as positive infinity. Remove
6356 check x < 0xffffffff for negative integers. Use gamma_positive
6357 instead of exp (lgamma) for other arguments.
6358 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6359 (gamma_coeff): New variable.
6360 (NCOEFF): New macro.
6361 (gammal_positive): New function.
6362 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6363 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6367 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6368 * sysdeps/generic/math_private.h (__gamma_productf): New
6370 (__gamma_product): Likewise.
6371 (__gamma_productl): Likewise.
6372 * math/Makefile (libm-calls): Add gamma_product.
6373 * math/libm-test.inc (tgamma_test): Add more tests.
6374 * sysdeps/i386/fpu/libm-test-ulps: Update.
6375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6377 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
6379 * benchtests/bench-skeleton.c (main): Preheat CPU.
6381 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6383 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6385 2013-05-07 Roland McGrath <roland@hack.frob.com>
6387 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6388 and _dl_skip_args_internal.
6390 2013-05-07 Carlos O'Donell <carlos@redhat.com>
6392 * manual/message.texi (Message Translation): Talk about users.
6393 Message to key mapping impacts design.
6395 2013-05-06 Roland McGrath <roland@hack.frob.com>
6397 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6399 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6401 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6402 * sysdeps/wordsize-64/glob64.c: ... here.
6404 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6405 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6408 * debug/getlogin_r_chk.c: Moved to ...
6409 * login/getlogin_r_chk.c: ... here.
6410 * debug/Makefile (routines): Move getlogin_r_chk to ...
6411 * login/Makefile (routines): ... here.
6412 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6413 * login/Versions (libc: GLIBC_2.4): ... here.
6415 * io/poll.c (__poll): Renamed from poll.
6416 Add libc_hidden_def.
6417 (poll): Define as weak alias.
6419 * debug/ptsname_r_chk.c: Moved to ...
6420 * login/ptsname_r_chk.c: ... here.
6421 * debug/Makefile (routines): Move ptsname_r_chk to ...
6422 * login/Makefile (routines): ... here.
6423 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6424 * login/Versions (libc: GLIBC_2.4): ... here.
6426 * posix/getlogin.c: Moved to ...
6427 * login/getlogin.c: ... here.
6428 * posix/getlogin_r.c: Moved to ...
6429 * login/getlogin_r.c: ... here.
6430 * posix/getlogin_r.c: Moved to ...
6431 * login/getlogin_r.c: ... here.
6432 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6433 * login/Makefile (routines): ... here.
6434 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6435 * login/Versions (libc: GLIBC_2.0): ... here.
6437 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6438 (setrlimit): Define as weak alias.
6440 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6441 Call __ names for open, ftruncate, and close.
6442 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6443 (truncate): Define as weak alias.
6445 2013-05-06 Joseph Myers <joseph@codesourcery.com>
6447 * math/gen-libm-test.pl (parse_args): Initialize x before each
6448 test of frexp, modf and remquo.
6450 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6453 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6457 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6459 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6461 2013-05-06 Roland McGrath <roland@hack.frob.com>
6463 * elf/dl-writev.h: New file.
6464 * elf/dl-misc.c: Include it.
6465 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6466 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6468 2013-05-04 Joseph Myers <joseph@codesourcery.com>
6470 * math/libm-test.inc (noXFails): Remove variable.
6471 (noXPasses): Likewise.
6472 (BUILD_COMPLEX_INT): Remove macro.
6473 (print_screen): Remove xfail argument.
6474 (print_screen_max_error): Likewise.
6475 (update_stats): Likewise.
6476 (print_max_error): Likewise. Update calls to other affected
6478 (print_complex_max_error): Likewise.
6479 (test_single_exception): Update calls to print_screen.
6480 (test_single_errno): Likewise.
6481 (check_float_internal): Remove xfail argument. Update calls to
6482 other affected functions.
6483 (check_float): Likewise.
6484 (check_complex): Likewise.
6485 (check_int): Likewise.
6486 (check_long): Likewise.
6487 (check_bool): Likewise.
6488 (check_longlong): Likewise.
6489 (main): Don't print noXFails and noXPasses.
6490 * math/gen-libm-test.pl (top level): Don't mention expected
6491 failure handling in comment.
6492 (new_test): Don't handle expected failures.
6493 (parse_args): Don't mention expected failure handling in comment.
6494 (generate_testfile): Don't handle expected failures.
6495 (parse_ulps): Likewise.
6496 (print_ulps_file): Likewise.
6497 (get_failure): Remove function.
6498 (output_test): Don't handle expected failures.
6499 * make/README.libm-test: Don't mention expected failure handling.
6501 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6502 (minus_zero): Likewise.
6503 (plus_infty): Likewise.
6504 (minus_infty): Likewise.
6505 (qnan_value): Likewise.
6506 (max_value): Likewise.
6507 (min_value): Likewise.
6508 (min_subnorm_value): Likewise.
6509 (initialize): Do not initialize those variables dynamically.
6511 2013-05-03 Roland McGrath <roland@hack.frob.com>
6513 * io/open.c (__open_2): Moved to ...
6514 * io/open_2.c: ... this new file.
6515 * io/open64.c (__open64_2): Moved to ...
6516 * io/open64_2.c: ... this new file.
6517 * io/openat.c (__openat_2): Moved to ...
6518 * io/openat_2.c: ... this new file.
6519 * io/openat64.c (__openat64_2): Moved to ...
6520 * io/openat64_2.c: ... this new file.
6521 * io/Makefile (routines): Add them.
6522 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6523 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6524 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6525 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6526 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6527 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6528 (__openat64): Add hidden_ver.
6529 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6530 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6532 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6533 Separately conditionalize setting of GLRO(dl_sysinfo) so
6534 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6535 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6537 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6539 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6540 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6542 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6543 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6544 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6545 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6546 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6548 2013-05-03 Joseph Myers <joseph@codesourcery.com>
6550 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6553 * math/libm-test.inc (hypot_test): Do not use
6554 IGNORE_ZERO_INF_SIGN.
6556 2013-05-03 Andreas Jaeger <aj@suse.de>
6558 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6560 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6561 (PF_MAX): Adjust for VSOCK change.
6563 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6567 2013-05-02 Carlos O'Donell <carlos@redhat.com>
6570 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6571 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6572 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6574 2013-05-02 David S. Miller <davem@davemloft.net>
6576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6578 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
6580 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6582 2013-05-01 Roland McGrath <roland@hack.frob.com>
6584 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6586 2013-05-01 Richard Smith <richard@metafoo.co.uk>
6589 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6590 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6591 Use __attribute__ ((__gnu_inline__)).
6592 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6593 Don't use __attribute__ ((__gnu_inline__)).
6595 2013-05-01 Joseph Myers <joseph@codesourcery.com>
6598 * math/s_catan.c (__catan): Handle small real or imaginary part of
6599 input specially to avoid spurious underflow.
6600 * math/s_catanf.c (__catanf): Likewise.
6601 * math/s_catanh.c (__catanh): Likewise.
6602 * math/s_catanhf.c (__catanhf): Likewise.
6603 * math/s_catanhl.c (__catanhl): Likewise.
6604 * math/s_catanl.c (__catanl): Likewise.
6605 * math/libm-test.inc (catan_test): Add more tests.
6606 (catanh_test): Likewise.
6607 * sysdeps/i386/fpu/libm-test-ulps: Update.
6608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6610 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6614 2013-04-30 Joseph Myers <joseph@codesourcery.com>
6617 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6618 accurately for denominator in atan2.
6619 * math/s_catanf.c (__catanf): Likewise.
6620 * math/s_catanh.c (__catanh): Likewise.
6621 * math/s_catanhf.c (__catanhf): Likewise.
6622 * math/s_catanhl.c (__catanhl): Likewise.
6623 * math/s_catanl.c (__catanl): Likewise.
6624 * math/libm-test.inc (catan_test): Add more tests.
6625 (catanh_test): Likewise.
6626 * sysdeps/i386/fpu/libm-test-ulps: Update.
6627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6629 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6631 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6633 * benchtests/Makefile (bench): Remove slow benchmarks.
6634 * benchtests/atan-inputs: Add slow benchmark inputs.
6635 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6636 (BENCH_FUNC): Accept variant offset.
6638 * benchtests/bench-skeleton.c (main): Run benchmark for each
6640 * benchtests/cos-inputs: Add slow benchmark inputs.
6641 * benchtests/exp-inputs: Likewise.
6642 * benchtests/pow-inputs: Likewise.
6643 * benchtests/sin-inputs: Likewise.
6644 * benchtests/slowatan-inputs: Remove.
6645 * benchtests/slowatan.c: Remove.
6646 * benchtests/slowcos-inputs: Remove.
6647 * benchtests/slowcos.c: Remove.
6648 * benchtests/slowexp-inputs: Remove.
6649 * benchtests/slowexp.c: Remove.
6650 * benchtests/slowpow-inputs: Remove.
6651 * benchtests/slowpow.c: Remove.
6652 * benchtests/slowsin-inputs: Remove.
6653 * benchtests/slowsin.c: Remove.
6654 * benchtests/slowtan-inputs: Remove.
6655 * benchtests/slowtan.c: Remove.
6656 * benchtests/tan-inputs: Add slow benchmark inputs.
6657 * scripts/bench.pl: Parse comments and directives.
6659 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6661 ($(objpfx)bench-%.c): Remove *-ITER.
6662 * benchtests/bench-modf.c: Remove definition of ITER.
6663 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6664 (main): Loop for DURATION seconds instead of fixed number of
6666 * scripts/bench.pl: Don't expect iterations in parameters.
6668 2013-04-29 Roland McGrath <roland@hack.frob.com>
6670 * io/fchdir.c (__fchdir): Renamed from fchdir.
6671 (fchdir): Define as weak alias.
6673 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6675 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6676 (ERRNO_EDOM): Likewise.
6677 (ERRNO_ERANGE): Likewise.
6678 (noErrnoTests): New variable.
6679 (init_max_error): Set errno to 0.
6680 (test_single_errno): New function.
6681 (test_errno): Likewise.
6682 (check_float_internal): Call test_errno. Set errno to 0.
6683 (check_complex): Refer to errno tests in comment.
6684 (check_int): Call test_errno. Set errno to 0.
6685 (check_long): Likewise.
6686 (check_bool): Likewise.
6687 (check_longlong): Likewise.
6688 (cos_test): Use ERRNO_* flags for errno tests instead of
6690 (expm1_test): Likewise.
6691 (fmod_test): Likewise.
6692 (ilogb_test): Likewise.
6693 (lgamma_test): Likewise.
6694 (pow_test): Likewise.
6695 (remainder_test): Likewise.
6696 (sin_test): Likewise.
6697 (tan_test): Likewise.
6698 (yn_test): Likewise.
6699 (initialize): Set errno to 0.
6700 (main): Print number of errno tests.
6701 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6703 2013-04-29 Andreas Jaeger <aj@suse.de>
6706 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6710 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6711 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6715 * stdlib/random.c (__initstate): Return NULL if
6719 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6720 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6723 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6727 2013-04-29 Joseph Myers <joseph@codesourcery.com>
6729 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6730 of individual tests.
6731 (casin_test): Likewise.
6732 (casinh_test): Likewise.
6734 2013-04-27 Joseph Myers <joseph@codesourcery.com>
6737 * math/s_catan.c (__catan): Handle arguments with large real or
6738 imaginary part separately without squaring.
6739 * math/s_catanf.c (__catanf): Likewise.
6740 * math/s_catanh.c (__catanh): Likewise.
6741 * math/s_catanhf.c (__catanhf): Likewise.
6742 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6744 (__catanhl): Handle arguments with large real or imaginary part
6745 separately without squaring.
6746 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6748 (__catanl): Handle arguments with large real or imaginary part
6749 separately without squaring.
6750 * math/libm-test.inc (catan_test): Add more tests.
6751 (catanh_test): Likewise.
6752 * sysdeps/i386/fpu/libm-test-ulps: Update.
6753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6755 2013-04-27 Andreas Jaeger <aj@suse.de>
6758 * stdlib/stdlib.h: Update guards for qecvt.
6759 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6762 2013-04-27 Allan McRae <allan@archlinux.org>
6764 * sysdeps/i386/fpu/libm-test-ulps: Update.
6766 2013-04-26 Joseph Myers <joseph@codesourcery.com>
6769 * math/s_catan.c: Include <float.h>.
6770 (__catan): Ensure underflow exception occurs for underflowed
6772 * math/s_catanf.c: Include <float.h>.
6773 (__catanf): Ensure underflow exception occurs for underflowed
6775 * math/s_catanh.c: Include <float.h>.
6776 (__catanh): Ensure underflow exception occurs for underflowed
6778 * math/s_catanhf.c: Include <float.h>.
6779 (__catanhf): Ensure underflow exception occurs for underflowed
6781 * math/s_catanhl.c: Include <float.h>.
6782 (__catanhl): Ensure underflow exception occurs for underflowed
6784 * math/s_catanl.c: Include <float.h>.
6785 (__catanl): Ensure underflow exception occurs for underflowed
6787 * math/libm-test.inc (catan_test): Add more tests.
6788 (catanh_test): Likewise.
6791 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6793 * math/s_ccoshf.c (__ccoshf): Likewise.
6794 * math/s_ccoshl.c (__ccoshl): Likewise.
6795 * math/s_csin.c (__csin): Likewise.
6796 * math/s_csinf.c (__csinf): Likewise.
6797 * math/s_csinh.c (__csinh): Likewise.
6798 * math/s_csinhf.c (__csinhf): Likewise.
6799 * math/s_csinhl.c (__csinhl): Likewise.
6800 * math/s_csinl.c (__csinl): Likewise.
6801 * math/libm-test.inc (ccos_test): Add more tests.
6802 (ccosh_test): Likewise.
6803 (csin_test): Likewise.
6804 (csinh_test): Likewise.
6806 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6808 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6809 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6810 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6811 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6812 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6813 powerpc/power5+/fpu folders.
6814 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6817 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6821 2013-04-25 Joseph Myers <joseph@codesourcery.com>
6823 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6824 additions to variable.
6825 [$(config-machine) = x86_64] (modules-names): Likewise.
6826 ($(objpfx)tst-audit3): Remove dependency.
6827 ($(objpfx)tst-audit3.out): Likewise.
6828 ($(objpfx)tst-audit4): Likewise.
6829 ($(objpfx)tst-audit4.out): Likewise.
6830 ($(objpfx)tst-audit5): Likewise.
6831 ($(objpfx)tst-audit5.out): Likewise.
6832 ($(objpfx)tst-audit6): Likewise.
6833 ($(objpfx)tst-audit6.out): Likewise.
6834 ($(objpfx)tst-audit7): Likewise.
6835 ($(objpfx)tst-audit7.out): Likewise.
6836 (tst-audit3-ENV): Remove variable.
6837 (tst-audit4-ENV): Likewise.
6838 (tst-audit5-ENV): Likewise.
6839 (tst-audit6-ENV): Likewise.
6840 (tst-audit7-ENV): Likewise.
6841 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6842 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6843 addition to variable.
6844 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6845 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6846 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6847 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6848 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6849 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6850 tst-audit3, tst-audit4 and tst-audit5.
6851 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6852 tst-audit6 and tst-audit7.
6853 [$(subdir) = elf] (modules-names): Add audit modules for those
6855 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6856 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6857 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6858 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6859 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6860 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6861 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6862 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6863 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6864 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6865 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6866 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6867 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6868 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6869 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6870 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6872 [$(subdir) = elf && $(config-cflags-avx) = yes]
6873 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6874 [$(subdir) = elf && $(config-cflags-avx) = yes]
6875 (CFLAGS-tst-auditmod4a.c): Likewise.
6876 [$(subdir) = elf && $(config-cflags-avx) = yes]
6877 (CFLAGS-tst-auditmod4b.c): Likewise.
6878 [$(subdir) = elf && $(config-cflags-avx) = yes]
6879 (CFLAGS-tst-auditmod6b.c): Likewise.
6880 [$(subdir) = elf && $(config-cflags-avx) = yes]
6881 (CFLAGS-tst-auditmod6c.c): Likewise.
6882 [$(subdir) = elf && $(config-cflags-avx) = yes]
6883 (CFLAGS-tst-auditmod7b.c): Likewise.
6884 * elf/tst-audit3.c: Move to ...
6885 * sysdeps/x86_64/tst-audit3.c: ... here.
6886 * elf/tst-audit4.c: Move to ...
6887 * sysdeps/x86_64/tst-audit4.c: ... here.
6888 * elf/tst-audit5.c: Move to ...
6889 * sysdeps/x86_64/tst-audit5.c: ... here.
6890 * elf/tst-audit6.c: Move to ...
6891 * sysdeps/x86_64/tst-audit6.c: ... here.
6892 * elf/tst-audit7.c: Move to ...
6893 * sysdeps/x86_64/tst-audit7.c: ... here.
6894 * elf/tst-auditmod3a.c: Move to ...
6895 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6896 * elf/tst-auditmod3b.c: Move to ...
6897 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6898 * elf/tst-auditmod4a.c: Move to ...
6899 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6900 * elf/tst-auditmod4b.c: Move to ...
6901 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6902 * elf/tst-auditmod5a.c: Move to ...
6903 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6904 * elf/tst-auditmod5b.c: Move to ...
6905 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6906 * elf/tst-auditmod6a.c: Move to ...
6907 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6908 * elf/tst-auditmod6b.c: Move to ...
6909 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6910 * elf/tst-auditmod6c.c: Move to ...
6911 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6912 * elf/tst-auditmod7a.c: Move to ...
6913 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6914 * elf/tst-auditmod7b.c: Move to ...
6915 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6917 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6920 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6921 define unconditionally.
6922 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6923 define unconditionally.
6924 (INT8_C, INT16_C, etc.): Likewise.
6926 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6928 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6929 __ehdr_start with hidden visibility.
6931 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6933 2013-04-24 Carlos O'Donell <carlos@redhat.com>
6935 * math/libm-test.inc (cos_test): Use accurate hex constants.
6936 (sincost_test): Likewise.
6938 2013-04-24 Joseph Myers <joseph@codesourcery.com>
6940 * math/libm-test.inc (catan_test): Add more tests.
6941 (catanh_test): Likewise.
6943 * math/s_catanf.c (__catanf): Use suffixed floating-point
6945 * math/s_catanhf.c (__catanhf): Likewise.
6946 * math/s_catanhl.c (__catanhl): Likewise.
6947 * math/s_catanl.c (__catanl): Likewise.
6950 * math/s_catan.c (__catan): Calculate imaginary part of result
6951 with log1p not log unless computing log of number close to 0.
6952 * math/s_catanf.c (__catanf): Likewise.
6953 * math/s_catanl.c (__catanl): Likewise.
6954 * math/s_catanh.c (__catanh): Calculate real part of result with
6955 log1p not log unless computing log of number close to 0.
6956 * math/s_catanhf.c (__catanhf): Likewise.
6957 * math/s_catanhl.c (__catanhl): Likewise.
6958 * math/libm-test.inc (catan_test): Add more tests.
6959 (catanh_test): Likewise.
6960 * sysdeps/i386/fpu/libm-test-ulps: Update.
6961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6963 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6965 * benchtests/Makefile: Mention files in which fast and slow
6966 paths of math functions are implemented.
6968 2013-04-23 Roland McGrath <roland@hack.frob.com>
6970 * sysdeps/posix/timespec_get.c: New file.
6972 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6974 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6976 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6978 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6979 powerpc/power5/fpu folders.
6980 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6981 * benchtests/Makefile: Add modf testcase.
6982 * benchtests/bench-modf.c: New file: Benchmark test for mo
6984 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6987 * time/Makefile (tests): Add tst-strptime-whitespace.
6988 * time/strptime_l.c (get_number): Use ISSPACE.
6989 (__strptime_internal): Likewise.
6990 * time/tst-strptime-whitespace.c: New test case.
6992 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6994 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6996 (_nss_files_init): Set it here.
6998 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7000 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7001 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7004 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7006 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7008 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7010 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7013 2013-04-21 David S. Miller <davem@davemloft.net>
7015 * po/ru.po: Update Russion translation from translation project.
7017 2013-04-17 Adam Conrad <adconrad@0c3.net>
7019 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7022 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7024 * configure.in: Remove i386 configure warning. Remove i386 case.
7025 * configure: Regenerate.
7026 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7027 Add example to error message.
7028 * sysdeps/i386/configure: Regenerate.
7030 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7032 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7034 * benchtests/cos-inputs: New file.
7035 * benchtests/slowcos-inputs: New file.
7036 * benchtests/slowcos.c: New file.
7037 * benchtests/slowtan-inputs: New file.
7038 * benchtests/slowtan.c: New file.
7039 * benchtests/tan-inputs: New file.
7041 2013-04-16 Roland McGrath <roland@hack.frob.com>
7043 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7046 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7048 * benchtests/Makefile: Include cppflags-iterator.mk to add
7049 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7051 * Makefile.in (bench-clean): New target.
7052 * benchtests/Makefile (bench-clean): Likewise.
7054 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7056 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7058 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7060 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7062 2013-04-15 Andreas Schwab <schwab@suse.de>
7064 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7065 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7066 * nscd/pwdcache.c (cache_addpw): Likewise.
7067 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7070 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7072 * benchtests/Makefile (bench): Write all output to
7073 bench-out.tmp together.
7075 2013-04-15 Andreas Schwab <schwab@suse.de>
7077 * nscd/nscd.c (main): Don't fork again after closing files.
7079 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7081 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7083 * benchtests/Rules (bench-deps): Collect dependencies into a
7084 single variable. Add Makefile to dependencies.
7085 ($(objpfx)bench-%.c): Depend on bench-deps.
7087 2013-04-12 Roland McGrath <roland@hack.frob.com>
7088 Xavier Roche <roche+kml2@exalead.com>
7091 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7092 just that it's a file descriptor.
7093 * manual/llio.texi (Synchronizing AIO Operations): Update description
7094 for EBADF error from aio_fsync.
7096 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7098 * Rules (bench): Move target definition...
7099 * benchtests/Makefile: ... here.
7101 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7103 * math/libm-test.inc (cos_test): Fix PI/2 test.
7104 (sincos_test): Likewise.
7105 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7106 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7108 2013-04-11 Andreas Schwab <schwab@suse.de>
7111 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7112 accept exponent character only when digits were seen.
7113 * stdio-common/Makefile (tests): Add bug26.
7114 * stdio-common/bug26.c: New file.
7117 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7120 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7122 * Makeconfig (rtld-prefix): Define built linker prefix.
7123 * Rules (run-bench): Use it.
7124 * math/Makefile (run-regen-ulps): Likewise.
7126 * Rules (bench): Remove eval.
7128 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7129 Roland McGrath <roland@hack.frob.com>
7130 Ondrej Bilka <neleai@seznam.cz>
7133 * time/getdate.c: Include ctype.h and alloca.h.
7134 (__getdate_r): Trim leading and trailing spaces of input.
7135 * time/tst-getdate.c (tests): Add tests with leading and
7138 2013-04-08 Roland McGrath <roland@hack.frob.com>
7141 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7142 when computing value.
7144 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7146 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7147 Use testrun.sh to run libm tests.
7150 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7152 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7155 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7157 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7159 * Makefile.in (regen-ulps): New target.
7160 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7161 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7162 [ifneq (no,$(PERL)] (regen-ulps): New target.
7163 [ifeq (no,$(PERL)] (regen-ulps): New target.
7164 * math/libm-test.inc (ulps_file_name): Define.
7165 (output_dir): New variable.
7166 (options): Add "output-dir" option.
7167 (parse_opt): Handle 'o' case.
7168 (main): If output_dir is non-NULL use it as a prefix
7170 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7172 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7175 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7176 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7177 fail configure if __sync_val_compare_and_swap is not inlined.
7178 * sysdeps/i386/configure: Regenerate.
7179 * configure.in: Build for i686 when configured for i386.
7180 * configure: Regenerate.
7181 * README: Remove i386 reference.
7183 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7185 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7186 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7188 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7190 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7191 (lmsnanval): New variables.
7192 (F): Add conversion tests.
7193 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7194 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7196 * stdio-common/tstdiomisc.c (F): Properly collect individual
7200 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7201 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7202 Instead, use input NaN values or generate a qNaN by arithmetic
7203 operation. Also fix bugs to comply with the standard.
7204 * math/libm-test.inc (remainder_test): Add more tests.
7207 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7209 input NaN values or generate a qNaN by arithmetic operation.
7211 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7214 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7217 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7220 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7222 * math/s_cexpf.c (__cexpf): Likewise.
7223 * math/s_cexpl.c (__cexpl): Likewise.
7224 * math/libm-test.inc (cexp_test): Add more tests.
7226 2013-04-03 Andreas Schwab <schwab@suse.de>
7229 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7230 order arrays from heap if bigger than alloca cutoff.
7232 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7234 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7235 (SNAN_TESTS_double): Refer to GCC PR56831.
7236 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7239 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7241 * Rules (bench): Move bench.out after the run is complete.
7243 * Rules (bench): Echo currently running benchmark.
7245 * benchtests/Makefile (bench): Add atan and slowatan.
7246 * benchtests/atan-inputs: New file.
7247 * benchtests/slowatan-inputs: New file.
7248 * benchtests/slowatan.c: New file.
7250 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7251 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7255 * sysdeps/unix/sysv/linux/kernel-features.h
7256 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7257 __ASSUME_XFS_RESTRICTED_CHOWN.
7258 * sysdeps/unix/sysv/linux/pathconf.c
7259 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7260 Save and restore errno.
7262 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7265 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7266 arguments using __kernel_casinh.
7267 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7268 arguments using __kernel_casinhf.
7269 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7270 arguments using __kernel_casinhl.
7271 * math/libm-test.inc (cacosh_test): Add more tests.
7272 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7275 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7277 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7280 * bench/Makefile (bench): Add sin and slowsin.
7281 * benchtests/sin-inputs: New file.
7282 * benchtests/slowsin-inputs: New file.
7283 * benchtests/slowsin.c: New file.
7285 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7286 (bench): Add slowexp and slowpow.
7287 (exp-ITER): Increase iterations.
7288 (pow-ITER): Likewise.
7289 * benchtests/exp-inputs: Change input.
7290 * benchtests/pow-inputs: Likewise.
7291 * benchtests/slowexp-inputs: New file.
7292 * benchtests/slowexp.c: New file.
7293 * benchtests/slowpow-inputs: New file.
7294 * benchtests/slowpow.c: New file.
7296 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7298 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7300 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7301 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7302 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7303 * benchtests/Makefile: Add rint benchtest.
7304 * benchtests/rint-inputs: Input for rint benchtest.
7306 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7308 * Versions.def (libm): Add GLIBC_2.18.
7309 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7310 hidden libm prototypes.
7311 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7312 * math/Makefile (libm-calls): Add s_issignaling.
7313 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7314 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7315 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7317 * math/math.h [__USE_GNU] (issignaling): New macro.
7318 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7319 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7320 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7321 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7322 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7324 * manual/arith.texi (issignaling): New section.
7325 * manual/libm-err-tab.pl (@all_functions): Update comment.
7326 * math/gen-libm-test.pl (parse_args): Apply special handling for
7328 * math/libm-test.inc (print_float, issignaling_test): New
7330 (check_float_internal): Add issignaling checks.
7331 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7333 * sysdeps/powerpc/math-tests.h: New file.
7334 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7336 * math/test-snan.c (TEST_FUNC): Likewise.
7338 2013-03-30 David S. Miller <davem@davemloft.net>
7340 * po/de.po: Update from translation team.
7342 2013-03-30 Joseph Myers <joseph@codesourcery.com>
7345 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7346 imaginary part less than 1.0 and real part less than 0.5
7348 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7349 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7350 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7351 (cacos_test): Add more tests.
7352 (casin_test): Likewise.
7353 (casinh_test): Likewise.
7354 * sysdeps/i386/fpu/libm-test-ulps: Update.
7355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7357 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7359 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7362 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7363 (__pow_mp): Replace ONE and MONE with their values.
7364 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7365 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7366 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7367 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7368 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7369 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7371 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7373 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7374 (__pow_mp): Replace ZERO and MZERO with their values.
7375 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7376 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7377 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7378 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7379 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7380 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7383 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7385 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7387 2013-03-28 Roland McGrath <roland@hack.frob.com>
7389 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7390 Declare with __attribute__ ((weak)).
7391 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7392 Call __call_tls_dtors only if it's not NULL.
7394 2013-03-28 Roland McGrath <roland@hack.frob.com>
7396 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7397 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7398 magic __ehdr_start linker symbol if it's defined.
7399 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7400 them up here if it was already done.
7402 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7403 (_dl_aux_init): Use const in cast when setting it.
7404 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7405 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7406 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7408 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7410 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7411 * csu/libc-tls.c: Nor here.
7412 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7414 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7415 (__libc_message): Never call vsyslog.
7417 2013-03-28 Alan Modra <amodra@gmail.com>
7419 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7421 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7424 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7427 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7431 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7434 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7435 Don't add gid passed as argument.
7437 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7439 2013-03-27 Joseph Myers <joseph@codesourcery.com>
7442 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7443 imaginary part between 1.0 and 1.5 and real part less than 0.5
7445 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7446 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7447 * math/libm-test.inc (cacos_test): Add more tests.
7448 (casin_test): Likewise.
7449 (casinh_test): Likewise.
7450 * sysdeps/i386/fpu/libm-test-ulps: Update.
7451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7453 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7455 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7459 (__dbl_mp): Likewise.
7460 (add_magnitudes): Likewise.
7461 (sub_magnitudes): Likewise.
7469 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7471 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7472 (__dubcos): Likewise.
7473 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7474 (__ieee754_acos): Likewise.
7475 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7476 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7478 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7479 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7481 (my_log2): Likewise.
7482 (checkint): Likewise.
7483 * sysdeps/ieee754/dbl-64/e_remainder.c
7484 (__ieee754_remainder): Likewise.
7485 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7486 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7488 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7490 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7491 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7492 MANTISSA_STORE_T to store computations on mantissa. Use
7493 macros for rounding and division.
7495 (__dbl_mp): Likewise.
7496 (add_magnitudes): Likewise.
7497 (sub_magnitudes): Likewise.
7500 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7501 powers of two in terms of TWOPOW macro.
7502 (mp_no): Make type of mantissa as MANTISSA_T.
7503 [!RADIXI]: Define RADIXI.
7504 [!TWO52]: Define TWO52.
7505 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7507 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7509 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7510 llroundl symbol when building for PPC32.
7512 2013-03-24 Mark H Weaver <mhw@netris.org>
7514 * manual/arith.texi (Normalization Functions): Fix prototypes for
7515 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7517 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7520 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7521 high value to check if expl overflow.
7522 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7523 to check for underflow and overflow.
7524 * math/libm-test.inc: Add exp test.
7526 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7529 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7532 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7534 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7537 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7539 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7540 wrap blocks consisting of several statements.
7542 * sysdeps/generic/math-tests.h: New file.
7543 * sysdeps/i386/fpu/math-tests.h: Likewise.
7544 * math/test-snan.c: Include it.
7545 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7547 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7550 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7551 (__ieee754_j0l): Do not improve calculations using cos of twice
7552 input for inputs above LDBL_MAX / 2.0L.
7553 (__ieee754_y0l): Likewise.
7554 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7555 (__ieee754_j1l): Do not improve calculations using cos of twice
7556 input for inputs above LDBL_MAX / 2.0L.
7557 (__ieee754_y1l): Likewise.
7558 * math/libm-test.inc (j0_test): Add another test.
7559 (j1_test): Likewise.
7560 (y0_test): Likewise.
7561 (y1_test): Likewise.
7562 * sysdeps/i386/fpu/libm-test-ulps: Update.
7564 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7566 * Rules ($(objpfx)bench-%.c): Include code from a C source
7569 2013-03-21 Joseph Myers <joseph@codesourcery.com>
7572 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7573 imaginary part 1.0 and real part less than 0.5 specially.
7574 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7575 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7576 * math/libm-test.inc (cacos_test): Add more tests.
7577 (casin_test): Likewise.
7578 (casinh_test): Likewise.
7579 * sysdeps/i386/fpu/libm-test-ulps: Update.
7580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7582 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7584 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7585 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7587 2013-03-20 Joseph Myers <joseph@codesourcery.com>
7589 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7590 * config.make.in (config-cflags-sse4): Remove variable.
7591 (config-cflags-avx): Likewise.
7592 (config-cflags-sse2avx): Likewise.
7593 (config-cflags-novzeroupper): Likewise.
7594 (config-asflags-i686): Likewise.
7595 (have-mfma4): Likewise.
7596 (have-as-vis3): Likewise.
7598 * configure.in (MIG): Do not AC_SUBST.
7599 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7600 (libc_cv_cc_sse4): Do not AC_SUBST.
7601 (libc_cv_cc_avx): Likewise.
7602 (libc_cv_cc_sse2avx): Likewise.
7603 (libc_cv_cc_novzeroupper): Likewise.
7604 (libc_cv_cc_fma4): Likewise.
7605 (libc_cv_as_i686): Likewise.
7606 (libc_cv_sparc_as_vis3): Likewise.
7607 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7609 (config-asflags-i686): Likewise.
7610 (config-cflags-avx): Likewise.
7611 (config-cflags-sse2avx): Likewise.
7612 (have-mfma4): Likewise.
7613 (config-cflags-novzeroupper): Likewise.
7614 * sysdeps/mach/configure.in (MIG): Likewise.
7615 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7616 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7618 (config-cflags-avx): Likewise.
7619 (config-cflags-sse2avx): Likewise.
7620 (have-mfma4): Likewise.
7621 (config-cflags-novzeroupper): Likewise.
7622 * configure: Regenerated.
7623 * sysdeps/i386/configure: Likewise.
7624 * sysdeps/mach/configure: Likewise.
7625 * sysdeps/sparc/configure: Likewise.
7626 * sysdeps/x86_64/configure: Likewise.
7628 2013-03-20 Roland McGrath <roland@hack.frob.com>
7631 * locale/programs/localedef.c (options): Put N_ translation marker
7632 on argument names, not just descriptions.
7634 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7636 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7638 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
7641 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7643 2013-03-19 Roland McGrath <roland@hack.frob.com>
7645 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7646 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7647 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7648 [!BEFORE_ABORT] (before_abort): New function.
7649 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7650 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7651 (writev_for_fatal): New function.
7652 (WRITEV_FOR_FATAL): New macro; call that.
7653 (backtrace_and_maps): New function.
7654 (BEFORE_ABORT): New macro; call that.
7655 (struct str_list): Type removed.
7656 (__libc_message, __libc_fatal): Functions removed.
7657 Include <sysdeps/posix/libc_fatal.c> instead.
7659 2013-03-19 Joseph Myers <joseph@codesourcery.com>
7661 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7663 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7666 2013-03-19 Andreas Schwab <schwab@suse.de>
7668 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7669 * sysdeps/gnu/configure: Regenerate.
7671 * configure.in: Substitute libc_cv_rtlddir.
7672 * configure: Regenerate.
7673 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7674 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7675 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7676 * elf/Makefile (install-others, CFLAGS-interp.c)
7677 (ldso_install, common-ldd-rewrite): Likewise.
7678 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7679 $(inst_slibdir)/$(rtld-installed-name).
7680 * scripts/rellns-sh: Add -p option.
7681 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7684 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7686 * manual/nptl.texi: Renamed to ...
7687 * manual/threads.texi: ... this.
7688 * manual/Makefile (chapters): Update.
7690 2013-03-18 Roland McGrath <roland@hack.frob.com>
7693 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7694 on argument names, not just descriptions.
7695 * malloc/memusagestat.c (options): Likewise.
7696 * nss/getent.c (options): Likewise.
7698 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
7701 * iconv/iconv_prog.c (options): Put N_ translation marker
7702 on argument names, not just descriptions.
7703 * iconv/iconvconfig.c (options): Likewise.
7705 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
7707 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7708 implementation which is faster on all x86_64 architectures.
7709 Tested on AMD, Intel Nehalem, SNB, IVB.
7710 * sysdeps/x86_64/strnlen.S: Likewise.
7712 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7713 Remove all multiarch strlen and strnlen versions.
7714 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7715 Remove strlen and strnlen related parts.
7717 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7719 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7721 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7722 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7723 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7724 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7725 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7726 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7728 2013-03-17 Carlos O'Donell <carlos@redhat.com>
7730 * manual/memory.texi (Malloc Tunable Parameters):
7731 Sort parameters alphabetically. Add comments for missing entries.
7733 2013-03-17 David S. Miller <davem@davemloft.net>
7735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7737 2013-03-16 Joseph Myers <joseph@codesourcery.com>
7740 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7741 for arguments at most half maximum finite value.
7742 * math/libm-test.inc (j0_test): Add more tests.
7743 (j1_test): Likewise.
7744 (y0_test): Likewise.
7745 (y1_test): Likewise.
7746 * sysdeps/i386/fpu/libm-test-ulps: Update.
7747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7750 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7751 1 / x and functions P and Q for arguments above 0x1p256L.
7752 (__ieee754_y0l): Likewise.
7753 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7754 (__ieee754_y1l): Likewise.
7755 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7756 (j1_test): Likewise.
7757 (y0_test): Likewise.
7758 (y1_test): Likewise.
7760 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7762 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7765 2013-03-15 Roland McGrath <roland@hack.frob.com>
7767 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7768 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7769 zero since it's initialized to EXEC_PAGESIZE.
7771 * sysdeps/unix/sysv/linux/ldsodefs.h
7772 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7773 * sysdeps/generic/ldsodefs.h: ... here.
7775 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7777 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7779 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7781 * math/test-snan.c: Renamed from
7782 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7783 * math/Makefile (tests): Add test-snan.
7784 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7787 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7788 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7790 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7791 __builtin_nan family of functions.
7792 * math/libm-test.inc (initialize): Initialize qnan_value with
7793 __builtin_nan family of functions.
7794 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7796 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7798 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7799 storage class. Initialize qNaN_var and sNaN_var with
7800 __builtin_nan and __builtin_nans families of functions,
7803 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7804 (sqrt_test): Remove duplicate test with qNaN input.
7805 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7806 (round_test, signbit_test, significand_test): Note missing +/-Inf
7807 as well as qNaN tests.
7809 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7810 qNaN_var. Fix a few strings, too.
7811 * math/libm-test.inc (nan_value): Rename to qnan_value.
7812 * math/gen-libm-test.pl (%beautify): Adjust to that.
7813 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7814 * math/test-misc.c (main): Likewise.
7815 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7816 to __qnan_bytes, and __qnan_union, respectively.
7817 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7819 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7820 and lqnanval, respectively.
7821 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7822 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7823 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7824 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7826 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7827 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7830 * math/test-misc.c (main): Fix copy'n'pastos.
7831 * misc/tst-efgcvt.c (special): Likewise.
7833 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7834 Remove declarations.
7836 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7838 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7839 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7840 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7841 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7843 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7845 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7846 macro to return vdso values correctly in IFUNC implementations.
7847 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7848 Optimization by using IFUNC.
7850 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7851 Richard Henderson <rth@redhat.com>
7852 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7854 * Makefile.in (bench): New target.
7855 * NEWS: Mention the benchmark framework.
7856 * Rules (bench): Likewise.
7857 (binaries-bench): Generate binaries for functions to
7859 * benchtests/Makefile: New makefile for benchmark tests.
7860 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7862 * benchtests/exp-inputs: New input file for EXP function.
7863 * benchtests/pow-inputs: New input file for POW function.
7864 * scripts/bench.pl: New script to generate source files for
7867 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7869 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7870 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7871 computations on mantissa. Use macros for rounding and
7874 (__dbl_mp): Likewise.
7875 (add_magnitudes): Likewise.
7876 (sub_magnitudes): Likewise.
7879 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7880 powers of two in terms of TWOPOW macro.
7881 (mp_no): Make type of mantissa as MANTISSA_T.
7882 [!RADIXI]: Define RADIXI.
7883 [!TWO52]: Define TWO52.
7884 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7886 * manual/nptl.texi (cindex): Modify threads to pthreads.
7888 2013-03-15 Joseph Myers <joseph@codesourcery.com>
7890 * sysdeps/x86_64/preconfigure: Regenerated.
7892 2013-03-14 Joseph Myers <joseph@codesourcery.com>
7895 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7897 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7898 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7900 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7901 * math/libm-test.inc (j0_test): Do not allow one spurious
7902 underflow exception.
7903 (y1_test): Likewise.
7905 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7907 * manual/Makefile (chapters): Add nptl.
7908 * manual/debug.texi (Debugging Support): Add link to Threads
7910 * manual/nptl.texi: New file.
7912 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7914 2013-03-14 Petr Baudis <pasky@ucw.cz>
7916 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7917 for non-NULL pointer before the memory validity test. Pointed
7918 out by Holger Brunck <holger.brunck@keymile.com>.
7920 2013-03-13 Andreas Schwab <schwab@suse.de>
7922 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7925 2013-03-13 Joseph Myers <joseph@codesourcery.com>
7927 * timezone/zic.c: Update from tzcode 2013b.
7929 2013-03-12 Carlos O'Donell <carlos@redhat.com>
7931 * manual/install.texi (Configuring and compiling):
7932 Mention i686 and i586.
7933 * INSTALL: Regenerate.
7935 2013-03-12 Roland McGrath <roland@hack.frob.com>
7937 * sysdeps/init_array/elf-init.c: New file.
7939 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7940 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7942 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7943 __gmon_start__ as global, but as static with a .preinit_array pointer.
7944 * sysdeps/init_array/gmon-start.c: New file. Use that.
7945 * sysdeps/init_array/crti.S: New file, empty except for comments.
7946 * sysdeps/init_array/crtn.S: Likewise.
7948 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
7950 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7953 Remove Prefer_SSE_for_memop.
7954 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7955 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7956 HAS_PREFER_SSE_FOR_MEMOP.
7957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7960 Remove bzero, memset ifunc support.
7961 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7962 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7963 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7964 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7966 2013-03-11 Andreas Schwab <schwab@suse.de>
7969 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7972 (GLIBC_2.16): Remove pthread_atfork.
7974 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7976 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7977 (ptestcases.h): Likewise.
7979 2013-03-08 Roland McGrath <roland@hack.frob.com>
7981 * Makeconfig ($(common-objpfx)config.status): Depend on
7982 sysdeps/*/preconfigure{,.in} too.
7984 2013-03-08 Joseph Myers <joseph@codesourcery.com>
7986 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7987 (__free_hook): Use void * instead of __malloc_ptr_t.
7988 (__malloc_hook): Likewise.
7989 (__realloc_hook): Likewise.
7990 (__memalign_hook): Likewise.
7991 (__after_morecore_hook): Likewise.
7992 * malloc/arena.c (save_malloc_hook): Likewise.
7993 (save_free_hook): Likewise.
7994 * malloc/hooks.c (malloc_hook_ini): Likewise.
7995 (realloc_hook_ini): Likewise.
7996 (memalign_hook_ini): Likewise.
7997 * malloc/malloc.c (malloc_hook_ini): Likewise.
7998 (realloc_hook_ini): Likewise.
7999 (memalign_hook_ini): Likewise.
8000 (__free_hook): Likewise.
8001 (__malloc_hook): Likewise.
8002 (__realloc_hook): Likewise.
8003 (__memalign_hook): Likewise.
8004 (__libc_malloc): Likewise.
8005 (__libc_free): Likewise.
8006 (__libc_realloc): Likewise.
8007 (__libc_memalign): Likewise.
8008 (__libc_valloc): Likewise.
8009 (__libc_pvalloc): Likewise.
8010 (__libc_calloc): Likewise.
8011 (__posix_memalign): Likewise.
8012 * malloc/morecore.c (__sbrk): Likewise.
8013 (__default_morecore): Likewise.
8015 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8017 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8018 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8021 * malloc/malloc.h (__malloc_size_t): Remove macro.
8022 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8024 (old_memalign_hook): Likewise.
8025 (old_realloc_hook): Likewise.
8026 (struct hdr): Likewise.
8028 (mallochook): Likewise.
8029 (memalignhook): Likewise.
8030 (reallochook): Likewise.
8031 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8032 (tr_old_realloc_hook): Likewise.
8033 (tr_old_memalign_hook): Likewise.
8034 (tr_mallochook): Likewise.
8035 (tr_reallochook): Likewise.
8036 (tr_memalignhook): Likewise.
8038 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8040 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8041 default_ldbl_pack and using as default implementation.
8042 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8044 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8045 redundant definition.
8046 (ldbl_insert_mantissa): Likewise.
8047 (ldbl_canonicalize): Likewise.
8048 (ldbl_nearbyint): Likewise.
8049 (ldbl_pack): Rename to ldbl_pack_ppc.
8050 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8051 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8052 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8054 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8057 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8058 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8059 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8061 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8062 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8063 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8065 2013-03-07 Andreas Jaeger <aj@suse.de>
8067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8070 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8072 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8073 Include mpa.h and declare __MPEXP.
8074 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8075 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8076 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8077 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8078 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8079 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8080 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8082 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8083 (__slowpow): Use long double EXPL and LOGL functions to
8085 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8086 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8087 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8088 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8089 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8090 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8093 intermediate variable to calculate exponent.
8095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8099 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8100 [!NO__SQR]: Define __sqr.
8101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8102 and NO__SQR. Remove all code except __mul and __sqr. Include
8103 sysdeps/ieee754/dbl-64/mpa.c.
8104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8107 * posix/Makefile (tests): Add tst-pathconf.
8108 * posix/tst-pathconf.c: New test case.
8109 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8111 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8113 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8115 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8117 2013-03-06 Andreas Jaeger <aj@suse.de>
8119 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8120 definition via __MAP_ANONYMOUS.
8122 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8123 it's not part of Linux headers.
8125 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8126 (MAP_HUGE_MASK): Define.
8128 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8130 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8131 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8133 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8134 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8136 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8137 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8139 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8141 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8142 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8143 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8144 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8145 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8146 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8148 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8151 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8152 Handle f2fs and efivarfs.
8154 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8157 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8158 (EFIVARFS_MAGIC): Add.
8159 (F2FS_LINK_MAX): Add.
8161 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8163 * stdio-common/vfprintf.c: Replace __builtin_expect with
8166 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8169 * sysdeps/generic/bp-sym.h: Remove file.
8170 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8171 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8172 <bp-sym.h> and <bp-asm.h>.
8173 (__longjmp): Don't use BP_SYM.
8174 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8176 (memcpy): Don't use BP_SYM.
8177 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8178 <bp-sym.h> and <bp-asm.h>.
8179 (memcpy): Don't use BP_SYM.
8180 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8182 (memcpy): Don't use BP_SYM.
8183 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8185 (memset): Don't use BP_SYM.
8186 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8187 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8188 (__bzero): Don't use BP_SYM.
8189 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8190 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8191 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8192 <bp-sym.h> and <bp-asm.h>.
8193 (memcmp): Don't use BP_SYM. Remove comment about bounded
8195 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8196 <bp-sym.h> and <bp-asm.h>.
8197 (memcpy): Don't use BP_SYM.
8198 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8199 <bp-sym.h> and <bp-asm.h>.
8200 (memset): Don't use BP_SYM.
8201 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8202 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8203 (__bzero): Don't use BP_SYM.
8204 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8205 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8206 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8207 <bp-sym.h> and <bp-asm.h>.
8208 (strncmp): Don't use BP_SYM. Remove comment about bounded
8210 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8211 <bp-sym.h> and <bp-asm.h>.
8212 (memcpy): Don't use BP_SYM.
8213 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8214 <bp-sym.h> and <bp-asm.h>.
8215 (memset): Don't use BP_SYM.
8216 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8217 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8218 (__bzero): Don't use BP_SYM.
8219 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8220 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8221 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8222 <bp-sym.h> and <bp-asm.h>.
8223 (__memchr): Don't use BP_SYM.
8224 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8225 <bp-sym.h> and <bp-asm.h>.
8226 (memcmp): Don't use BP_SYM. Remove comment about bounded
8228 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8229 <bp-sym.h> and <bp-asm.h>.
8230 (memcpy): Don't use BP_SYM.
8231 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8232 <bp-sym.h> and <bp-asm.h>.
8233 (__mempcpy): Don't use BP_SYM.
8234 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8235 <bp-sym.h> and <bp-asm.h>.
8236 (__memrchr): Don't use BP_SYM.
8237 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8238 <bp-sym.h> and <bp-asm.h>.
8239 (memset): Don't use BP_SYM.
8240 (__bzero): Likewise.
8241 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8242 <bp-sym.h> and <bp-asm.h>.
8243 (__rawmemchr): Don't use BP_SYM.
8244 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8245 <bp-sym.h> and <bp-asm.h>.
8246 (__STRCMP): Don't use BP_SYM.
8247 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8248 <bp-sym.h> and <bp-asm.h>.
8249 (strchr): Don't use BP_SYM.
8250 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8251 <bp-sym.h> and <bp-asm.h>.
8252 (__strchrnul): Don't use BP_SYM.
8253 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8254 <bp-sym.h> and <bp-asm.h>.
8255 (strlen): Don't use BP_SYM.
8256 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8257 <bp-sym.h> and <bp-asm.h>.
8258 (strncmp): Don't use BP_SYM. Remove comment about bounded
8260 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8261 <bp-sym.h> and <bp-asm.h>.
8262 (__strnlen): Don't use BP_SYM.
8263 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8264 <bp-sym.h> and <bp-asm.h>.
8265 (__GI__setjmp): Don't use BP_SYM.
8266 (_setjmp): Likewise.
8267 (__sigsetjmp): Likewise.
8268 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8269 (L(start_addresses)): Don't use BP_SYM.
8271 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8273 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8274 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8275 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8276 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8277 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8279 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8280 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8281 about bounded pointers.
8282 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8283 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8284 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8286 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8287 about bounded pointers. Remove GKM FIXME comments.
8288 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8289 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8291 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8292 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8293 Remove GKM FIXME comments.
8294 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8295 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8296 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8298 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8299 about bounded pointers. Remove GKM FIXME comment.
8300 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8302 (strncmp): Don't use BP_SYM. Remove comment about bounded
8304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8305 <bp-sym.h> and <bp-asm.h>.
8306 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8308 <bp-sym.h> and <bp-asm.h>.
8309 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8312 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8314 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8317 2013-03-05 David S. Miller <davem@davemloft.net>
8319 * po/es.po: Update from translation team.
8321 2013-03-05 Andreas Jaeger <aj@suse.de>
8323 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8324 <bits/mman-linux.h>.
8325 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8327 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8328 <bits/mman-linux.h> to end of file.
8329 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8331 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8332 <bits/mman-linux.h> to end of file.
8333 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8335 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8336 <bits/mman-linux.h> to end of file.
8338 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8339 (MCL_CURRENT, MCL_FUTURE): Define here.
8341 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8344 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8346 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8348 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8350 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8351 fourth parameter needed for rt_sigprocmask syscall.
8352 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8353 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8354 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8355 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8356 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8357 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8359 2013-03-04 Joseph Myers <joseph@codesourcery.com>
8362 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8363 comment about bounded pointers.
8364 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8365 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8367 2013-03-04 Andreas Jaeger <aj@suse.de>
8369 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8372 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8373 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8374 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8375 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8376 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8377 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8379 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8382 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8383 __ieee754_sqrl instead of __sqrl.
8385 2013-03-01 Joseph Myers <joseph@codesourcery.com>
8387 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8388 * sysdeps/powerpc/fpu_control.h: ... here.
8389 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8390 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8391 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8392 * sysdeps/powerpc/bits/mathinline.h: ... here.
8394 2013-03-01 Roland McGrath <roland@hack.frob.com>
8396 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8397 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8398 to just [NEED_DL_SYSINFO_DSO].
8399 * elf/dl-support.c: Likewise.
8400 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8401 * elf/rtld.c (dl_main): Likewise.
8402 * elf/setup-vdso.h (setup_vdso): Likewise.
8403 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8404 * sysdeps/unix/sysv/linux/dl-sysdep.c
8405 (_dl_discover_osversion): Likewise.
8407 2013-03-01 Carlos O'Donell <carlos@redhat.com>
8409 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8410 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8412 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8414 * NEWS: Mention libm performance improvements and non-x86 PI
8417 * csu/libc-start.c (__pthread_initialize_minimal): Change
8419 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8421 2013-02-28 Joseph Myers <joseph@codesourcery.com>
8424 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8425 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8426 <bp-sym.h> and <bp-asm.h>.
8427 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8428 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8430 (memcpy): Don't use BP_SYM.
8431 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8433 (__mpn_add_n): Don't use BP_SYM.
8434 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8435 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8437 (__mpn_addmul_1): Don't use BP_SYM.
8438 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8439 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8441 (_setjmp): Don't use BP_SYM.
8442 (__novmx_setjmp): Likewise.
8443 (__GI__setjmp): Likewise.
8444 (__vmx_setjmp): Likewise.
8445 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8447 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8448 (__bzero): Don't use BP_SYM.
8449 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8450 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8451 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8452 <bp-sym.h> and <bp-asm.h>.
8453 (memcpy): Don't use BP_SYM.
8454 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8455 <bp-sym.h> and <bp-asm.h>.
8456 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8457 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8458 <bp-sym.h> and <bp-asm.h>.
8459 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8460 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8462 (__mpn_lshift): Don't use BP_SYM.
8463 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8464 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8466 (memset): Don't use BP_SYM.
8467 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8468 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8469 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8471 (__mpn_mul_1): Don't use BP_SYM.
8472 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8473 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8474 <bp-sym.h> and <bp-asm.h>.
8475 (memcmp): Don't use BP_SYM.
8476 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8477 <bp-sym.h> and <bp-asm.h>.
8478 (memcpy): Don't use BP_SYM.
8479 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8480 <bp-sym.h> and <bp-asm.h>.
8481 (memset): Don't use BP_SYM.
8482 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8483 <bp-sym.h> and <bp-asm.h>.
8484 (strncmp): Don't use BP_SYM.
8485 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8486 <bp-sym.h> and <bp-asm.h>.
8487 (memcpy): Don't use BP_SYM.
8488 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8489 <bp-sym.h> and <bp-asm.h>.
8490 (memset): Don't use BP_SYM.
8491 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8492 <bp-sym.h> and <bp-asm.h>.
8493 (__memchr): Don't use BP_SYM.
8494 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8495 <bp-sym.h> and <bp-asm.h>.
8496 (memcmp): Don't use BP_SYM.
8497 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8498 <bp-sym.h> and <bp-asm.h>.
8499 (memcpy): Don't use BP_SYM.
8500 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8501 <bp-sym.h> and <bp-asm.h>.
8502 (__mempcpy): Don't use BP_SYM.
8503 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8504 <bp-sym.h> and <bp-asm.h>.
8505 (__memrchr): Don't use BP_SYM.
8506 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8507 <bp-sym.h> and <bp-asm.h>.
8508 (memset): Don't use BP_SYM.
8509 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8510 <bp-sym.h> and <bp-asm.h>.
8511 (__rawmemchr): Don't use BP_SYM.
8512 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8513 <bp-sym.h> and <bp-asm.h>.
8514 (__STRCMP): Don't use BP_SYM.
8515 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8516 <bp-sym.h> and <bp-asm.h>.
8517 (strchr): Don't use BP_SYM.
8518 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8519 <bp-sym.h> and <bp-asm.h>.
8520 (__strchrnul): Don't use BP_SYM.
8521 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8522 <bp-sym.h> and <bp-asm.h>.
8523 (strlen): Don't use BP_SYM.
8524 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8525 <bp-sym.h> and <bp-asm.h>.
8526 (strncmp): Don't use BP_SYM.
8527 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8528 <bp-sym.h> and <bp-asm.h>.
8529 (__strnlen): Don't use BP_SYM.
8530 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8532 (__mpn_rshift): Don't use BP_SYM.
8533 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8534 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8535 <bp-sym.h> and <bp-asm.h>.
8536 (__sigsetjmp): Don't use BP_SYM.
8537 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8538 (L(start_addresses)): Don't use BP_SYM.
8540 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8542 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8543 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8544 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8545 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8547 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8548 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8549 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8550 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8552 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8554 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8555 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8557 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8559 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8560 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8561 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8563 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8565 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8567 (strncmp): Don't use BP_SYM,
8568 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8570 (__mpn_sub_n): Don't use BP_SYM.
8571 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8572 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8574 (__mpn_submul_1): Don't use BP_SYM.
8575 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8577 <bp-sym.h> and <bp-asm.h>.
8578 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8580 <bp-sym.h> and <bp-asm.h>.
8581 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8584 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8587 Use ZK to minimize writes to Z.
8588 (sub_magnitudes): Simplify code a bit.
8589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8590 Use ZK to minimize writes to Z.
8591 (sub_magnitudes): Simplify code a bit.
8593 2013-02-27 Roland McGrath <roland@hack.frob.com>
8595 * csu/gmon-start.c: Add special exception to license text.
8597 2013-02-27 Richard Henderson <rth@redhat.com>
8599 * scripts/config.guess: Update from config.git.
8600 * scripts/config.sub: Likewise.
8602 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8604 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8606 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8608 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8610 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8612 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8614 2013-02-26 Roland McGrath <roland@hack.frob.com>
8616 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8617 [$(build-shared = yes].
8619 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8621 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8622 (__mul): Reduce iterations for calculating mantissa.
8624 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8626 (__mpranred): Likewise.
8629 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8630 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8632 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8634 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8635 Define __attribute__.
8637 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8639 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8641 * posix/regex_internal.h (__attribute): Remove.
8642 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8643 (re_string_context_at): Likewise.
8644 (bitset_not): Use __attribute__ and mark function as possibly
8646 (bitset_merge): Likewise.
8647 (bitset_mask): Likewise.
8648 (re_string_char_size_at): Likewise.
8649 (re_string_wchar_at): Likewise.
8650 (re_string_elem_size_at): Likewise.
8652 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8654 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8658 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8663 (__dbl_mp): Likewise.
8664 (add_magnitudes): Likewise.
8665 (sub_magnitudes): Likewise.
8669 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8672 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8675 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8678 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8679 up changes with default code.
8680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8683 2013-02-24 Allan McRae <allan@archlinux.org>
8685 * manual/socket.texi (The Internet Namespace): Order menu items
8686 to match that in the file.
8688 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8689 node listing of the info page menu.
8691 2013-02-21 Joseph Myers <joseph@codesourcery.com>
8694 * sysdeps/i386/bp-asm.h: Remove file.
8695 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8696 (PARMS): Do not use macros from bp-asm.h.
8700 (__mpn_add_n): Do not use BP_SYM
8701 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8703 (PARMS): Do not use macros from bp-asm.h.
8706 (__mpn_addmul_1): Do not use BP_SYM
8707 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8709 (PARMS): Do not use macros from bp-asm.h.
8711 (_setjmp): Likewise. Do not use BP_SYM.
8712 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8714 (PARMS): Do not use macros from bp-asm.h.
8716 (setjmp): Likewise. Do not use BP_SYM.
8717 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8719 (PARMS): Do not use macros from bp-asm.h.
8720 (__frexp): Do not use BP_SYM.
8722 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8724 (PARMS): Do not use macros from bp-asm.h.
8725 (__frexpf): Do not use BP_SYM.
8727 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8729 (PARMS): Do not use macros from bp-asm.h.
8730 (__frexpl): Do not use BP_SYM.
8732 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8734 (PARMS): Do not use macros from bp-asm.h.
8735 (__remquo): Do not use BP_SYM.
8737 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8739 (PARMS): Do not use macros from bp-asm.h.
8740 (__remquof): Do not use BP_SYM.
8741 (remquof): Likewise.
8742 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8744 (PARMS): Do not use macros from bp-asm.h.
8745 (__remquol): Do not use BP_SYM.
8746 (remquol): Likewise.
8747 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8749 (PARMS): Do not use macros from bp-asm.h.
8752 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8753 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8755 (PARMS): Do not use macros from bp-asm.h.
8756 (strlen): Do not use BP_SYM.
8757 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8759 (PARMS): Do not use macros from bp-asm.h.
8763 (__mpn_add_n): Do not use BP_SYM.
8764 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8766 (PARMS): Do not use macros from bp-asm.h.
8769 (__mpn_addmul_1): Do not use BP_SYM.
8770 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8773 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8775 (PARMS): Do not use macros from bp-asm.h.
8778 (__mpn_lshift): Do not use BP_SYM.
8779 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8781 (PARMS): Do not use macros from bp-asm.h.
8785 (memcpy): Likewise. Do not use BP_SYM.
8786 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8787 libc_hidden_def and weak_alias.
8788 (mempcpy): Do not use BP_SYM in weak_alias.
8789 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8791 (PARMS): Do not use macros from bp-asm.h.
8794 [!BZERO_P] (CHR): Likewise.
8795 (memset): Likewise. Do not use BP_SYM.
8796 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8798 (PARMS): Do not use macros from bp-asm.h.
8801 (__mpn_mul_1): Do not use BP_SYM.
8802 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8804 (PARMS): Do not use macros from bp-asm.h.
8807 (__mpn_rshift): Do not use BP_SYM.
8808 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8810 (PARMS): Do not use macros from bp-asm.h.
8813 (strchr): Likewise. Do not use BP_SYM.
8814 (index): Do not use BP_SYM in weak_alias.
8815 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8817 (PARMS): Do not use macros from bp-asm.h.
8820 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8821 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8823 (PARMS): Do not use macros from bp-asm.h.
8824 (strlen): Do not use BP_SYM.
8825 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8827 (PARMS): Do not use macros from bp-asm.h.
8831 (__mpn_sub_n): Do not use BP_SYM.
8832 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8834 (PARMS): Do not use macros from bp-asm.h.
8837 (__mpn_submul_1): Do not use BP_SYM.
8838 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8840 (PARMS): Do not use macros from bp-asm.h.
8844 (__mpn_add_n): Do not use BP_SYM.
8845 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8848 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8850 (PARMS): Do not use macros from bp-asm.h.
8853 (memcmp): Do not use BP_SYM.
8854 (bcmp): Do not use BP_SYM in weak_alias.
8855 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8857 (PARMS): Do not use macros from bp-asm.h.
8861 (memcpy): Likewise. Do not use BP_SYM.
8862 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8864 (PARMS): Do not use macros from bp-asm.h.
8868 (memmove): Likewise. Do not use BP_SYM.
8869 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8871 (PARMS): Do not use macros from bp-asm.h.
8875 (__mempcpy): Likewise. Do not use BP_SYM.
8876 (mempcpy): Do not use BP_SYM in weak_alias.
8877 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8879 (PARMS): Do not use macros from bp-asm.h.
8882 [!BZERO_P] (CHR): Likewise.
8883 (memset): Likewise. Do not use BP_SYM.
8884 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8886 (PARMS): Do not use macros from bp-asm.h.
8888 (strcmp): Do not use BP_SYM.
8889 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8891 (PARMS): Do not use macros from bp-asm.h.
8894 [USE_AS_STRTOK_R] (SAVE): Likewise.
8895 (FUNCTION): Likewise. Do not use BP_SYM.
8896 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8898 (strtok_r): Likewise.
8899 (__GI___strtok_r): Likewise.
8900 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8901 (PARMS): Do not use macros from bp-asm.h.
8904 (__mpn_lshift): Do not use BP_SYM.
8905 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8906 (PARMS): Do not use macros from bp-asm.h.
8909 (__memchr): Do not use BP_SYM.
8910 (memchr): Do not use BP_SYM in weak_alias.
8911 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8912 (PARMS): Do not use macros from bp-asm.h.
8915 (memcmp): Do not use BP_SYM.
8916 (bcmp): Do not use BP_SYM in weak_alias.
8917 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8918 (PARMS): Do not use macros from bp-asm.h.
8921 (__mpn_mul_1): Do not use BP_SYM.
8922 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8924 (PARMS): Do not use macros from bp-asm.h.
8927 (__rawmemchr): Do not use BP_SYM.
8928 (rawmemchr): Do not use BP_SYM in weak_alias.
8929 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8930 (PARMS): Do not use macros from bp-asm.h.
8933 (__mpn_rshift): Do not use BP_SYM.
8934 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8935 (PARMS): Do not use macros from bp-asm.h.
8937 (__sigsetjmp): Likewise. Do not use BP_SYM.
8938 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8939 (_start): Do not use BP_SYM.
8940 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8941 (PARMS): Do not use macros from bp-asm.h.
8944 (__stpcpy): Likewise. Do not use BP_SYM.
8945 (stpcpy): Do not use BP_SYM in weak_alias.
8946 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8948 (PARMS): Do not use macros from bp-asm.h.
8952 (__stpncpy): Likewise. Do not use BP_SYM.
8953 (stpncpy): Do not use BP_SYM in weak_alias.
8954 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8955 (PARMS): Do not use macros from bp-asm.h.
8958 (strchr): Likewise. Do not use BP_SYM.
8959 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8961 (PARMS): Do not use macros from bp-asm.h.
8964 (__strchrnul): Likewise. Do not use BP_SYM.
8965 (strchrnul): Do not use BP_SYM in weak_alias.
8966 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8968 (PARMS): Do not use macros from bp-asm.h.
8970 (strcspn): Do not use BP_SYM.
8971 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8973 (PARMS): Do not use macros from bp-asm.h.
8976 (strpbrk): Likewise. Do not use BP_SYM.
8977 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8979 (PARMS): Do not use macros from bp-asm.h.
8982 (strrchr): Likewise. Do not use BP_SYM.
8983 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8984 (PARMS): Do not use macros from bp-asm.h.
8986 (strspn): Do not use BP_SYM.
8987 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8988 (PARMS): Do not use macros from bp-asm.h.
8992 (FUNCTION): Likewise. Do not use BP_SYM.
8993 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8995 (strtok_r): Likewise.
8996 (__GI___strtok_r): Likewise.
8997 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8998 (PARMS): Do not use macros from bp-asm.h.
9002 (__mpn_sub_n): Do not use BP_SYM.
9003 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9005 (PARMS): Do not use macros from bp-asm.h.
9008 (__mpn_submul_1): Do not use BP_SYM.
9009 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9011 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9013 (PARMS): Do not use macros from bp-asm.h.
9018 (__clone): Do not use BP_SYM.
9019 (clone): Do not use BP_SYM in weak_alias.
9020 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9022 (PARMS): Do not use macros from bp-asm.h.
9024 (__mmap64): Do not use BP_SYM.
9025 (mmap64): Do not use BP_SYM in weak_alias.
9026 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9027 <bp-sym.h> and <bp-asm.h>.
9028 (PARMS): Do not use macros from bp-asm.h.
9029 (__posix_fadvise64_l64): Do not use BP_SYM.
9030 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9031 (PARMS): Do not use macros from bp-asm.h.
9033 (semtimedop): Do not use BP_SYM.
9034 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9037 2013-02-21 Allan McRae <allan@archlinux.org>
9039 * manual/message.texi (Charset conversion in gettext):
9040 Move @end statement to beginning of line.
9042 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9046 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9049 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9051 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9054 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9056 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9057 tail-call to the resolved function if pltexit isn't needed.
9059 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9062 or Y being zero as being unlikely.
9063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9066 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9068 * manual/nss.texi (System Databases and Name Service Switch):
9069 Remove frobnicate @pxref.
9071 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9073 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9074 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9076 2013-02-20 Petr Machata <pmachata@redhat.com>
9078 * elf/elf.h (R_ARM_TARGET1): New macro.
9079 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9080 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9081 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9082 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9083 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9084 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9085 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9086 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9087 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9088 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9089 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9090 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9091 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9092 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9093 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9094 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9095 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9096 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9097 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9098 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9099 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9100 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9101 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9102 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9103 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9104 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9105 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9106 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9107 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9108 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9109 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9110 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9111 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9112 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9113 (R_ARM_THM_GOT_BREL12): Likewise.
9114 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9115 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9116 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9117 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9118 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9119 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9120 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9121 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9122 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9124 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9126 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9127 __attribute_used__ to __attribute__ ((unused)).
9129 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9131 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9137 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9140 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9142 (ENTER): Remove both macro definitions.
9144 (CHECK_BOUNDS_LOW): Likewise.
9145 (CHECK_BOUNDS_HIGH): Likewise.
9146 (CHECK_BOUNDS_BOTH): Likewise.
9147 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9148 (RETURN_BOUNDED_POINTER): Likewise.
9149 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9150 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9151 (POP_ERRNO_LOCATION_RETURN): Likewise.
9152 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9153 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9154 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9156 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9157 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9158 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9159 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9160 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9161 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9162 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9163 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9164 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9165 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9166 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9167 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9168 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9169 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9171 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9172 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9174 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9175 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9176 * sysdeps/i386/i586/memset.S (memset): Likewise.
9177 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9178 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9179 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9181 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9182 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9183 Change uses of L(2) to L(out).
9184 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9185 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9186 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9187 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9188 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9190 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9191 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9193 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9194 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9195 (RETURN): Do not use macro LEAVE.
9196 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9197 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9198 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9199 * sysdeps/i386/i686/memset.S (memset): Likewise.
9200 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9201 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9202 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9203 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9205 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9206 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9207 L(1_2) and L(1_3) into L(1).
9208 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9209 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9210 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9211 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9212 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9213 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9214 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9215 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9216 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9218 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9219 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9220 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9221 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9222 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9223 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9224 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9225 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9226 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9227 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9228 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9229 * sysdeps/i386/strspn.S (strspn): Likewise.
9230 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9232 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9233 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9234 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9235 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9237 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9238 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9239 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9241 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9243 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9245 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9248 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9250 * math/atest-exp.c (exp_mpn): Remove ROUND.
9251 * math/atest-exp2.c (exp_mpn): Likewise.
9252 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9254 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9255 * stdlib/tst-tls-atexit-lib.c: Likewise.
9256 * stdlib/tst-tls-atexit.c: Likewise.
9258 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9260 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9261 and __attribute_alloc_size__.
9263 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9265 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9266 __attribute_alloc_size__.
9267 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9268 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9270 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9272 * include/programs/xmalloc.h: New file.
9273 * catgets/gencat.c: Include it.
9274 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9275 * elf/pldd.c: Likewise.
9276 * iconv/iconv_charmap.c: Likewise.
9277 * iconv/iconvconfig.c: Likewise.
9278 * iconv/strtab.c: Likewise.
9279 * locale/programs/locale.c: Likewise.
9280 * locale/programs/localedef.h: Likewise.
9281 * locale/programs/simple-hash.c: Likewise.
9282 * nscd/nscd.h: Likewise.
9283 * nss/makedb.c: Likewise.
9284 * sysdeps/generic/ldconfig.h: Likewise.
9286 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9288 * Versions.def: Add GLIBC_2.18.
9289 * include/link.h (struct link_map): New member l_tls_dtor_count.
9290 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9291 (__call_tls_dtors): Likewise.
9292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9293 __cxa_thread_atexit_impl.
9294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9310 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9311 (tests): Add test case tst-tls-atexit.
9312 (modules-names): Add shared library for tst-tls-atexit.
9313 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9314 (GLIBC_PRIVATE): Add __call_tls_dtors.
9315 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9317 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9318 * stdlib/tst-tls-atexit.c: New test case.
9319 * stdlib/tst-tls-atexit-lib.c: New test case.
9321 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9323 * elf/Versions (ld): Add _dl_find_dso_for_object.
9324 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9325 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9326 (dl_open_worker): Use _dl_find_dso_for_object.
9327 * elf/dl-sym.c (do_sym): Likewise.
9328 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9330 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9332 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9333 Syntactic changes only.
9334 (_dl_runtime_profile): Do a tail-call to the resolved function.
9336 2013-02-17 Joseph Myers <joseph@codesourcery.com>
9339 * sysdeps/x86_64/bp-asm.h: Remove file.
9340 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9341 <bp-sym.h> and <bp-asm.h>.
9342 (__clone): Do not use BP_SYM.
9343 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9344 <bp-sym.h> and <bp-asm.h>.
9345 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9346 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9348 (_setjmp): Do not use BP_SYM.
9349 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9351 (setjmp): Do not use BP_SYM.
9352 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9354 (mempcpy): Do not use BP_SYM in weak_alias.
9355 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9357 (strchr): Do not use BP_SYM.
9358 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9360 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9361 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9362 (_start): Do not use BP_SYM.
9363 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9365 (strcat): Do not use BP_SYM.
9366 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9368 (STRCMP): Do not use BP_SYM.
9369 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9371 (STRCPY): Do not use BP_SYM.
9372 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9374 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9376 (FUNCTION): Do not use BP_SYM.
9377 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9379 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9381 2013-02-17 Andreas Jaeger <aj@suse.de>
9383 * time/Versions: Sort entries.
9384 * string/Versions: Likewise.
9385 * resolv/Versions: Likewise.
9386 * posix/Versions: Likewise.
9387 * iconv/Versions: Likewise.
9388 * elf/Versions: Likewise.
9389 * wcsmbs/Versions: Likewise.
9391 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9393 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9394 loop termination condition.
9396 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9397 variable to calculate EZ.
9400 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9401 the lower precision input.
9403 2013-02-15 Joseph Myers <joseph@codesourcery.com>
9406 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9407 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9408 (run-via-rtld-prefix): Do not handle %-bp tests.
9409 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9410 (all-object-suffixes): Remove .ob.
9411 (bppfx): Remove variable.
9412 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9413 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9414 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9415 [$(build-bounded) = yes] (libtype.ob): Likewise.
9416 * Makerules (elide-routines.ob): Remove variable.
9417 (do-tests-clean): Do not handle *-bp.out.
9418 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9419 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9420 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9421 (tests): Do not include $(tests-bp.out).
9422 (xtests): Do not include $(xtests-bp.out).
9423 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9424 [$(build-bounded) = yes] ($(addprefix
9425 $(objpfx),$(binaries-bounded))): Remove rule.
9426 ($(objpfx)%-bp.out): Remove rule.
9427 * config.make.in (build-bounded): Remove variable.
9428 * crypt/Makefile [$(build-bounded) = yes]
9429 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9430 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9432 [$(build-bounded) = yes] (install-lib): Likewise.
9433 [$(build-bounded) = yes] (generated): Likewise.
9434 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9436 * intl/Makefile [$(build-bounded) = yes]
9437 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9438 * math/Makefile [$(build-bounded) = yes]
9439 ($(tests:%=$(objpfx)%-bp): Likewise.
9440 * misc/Makefile [$(build-bounded) = yes]
9441 ($(objpfx)tst-tsearch-bp): Likewise.
9442 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9443 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9445 * string/Makefile (o-objects.ob): Remove variable.
9446 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9447 (CFLAGS-.ob): Remove variable.
9448 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9449 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9450 both definitions of variable.
9451 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9452 (ASFLAGS-.ob): Remove variable.
9454 2013-02-14 Joseph Myers <joseph@codesourcery.com>
9457 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9458 Remove __BOUNDED_POINTERS__ from condition.
9459 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9460 * string/bits/string2.h [!__NO_STRING_INLINES &&
9461 !__BOUNDED_POINTERS__]: Likewise.
9462 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9464 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9465 Remove conditional code.
9466 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9467 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9468 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9472 * csu/libc-start.c: Do not include <bp-sym.h>.
9473 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9474 * elf/dl-open.c: Do not include <bp-sym.h>.
9475 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9476 * math/fegetenv.c: Do not include <bp-sym.h>.
9477 (fegetenv): Do not use BP_SYM in versioned symbols.
9478 * nptl/sysdeps/pthread/bits/libc-lockP.h
9479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9482 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9484 (__pthread_mutex_destroy): Likewise.
9485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9486 (__pthread_mutex_lock): Likewise.
9487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9488 (__pthread_mutex_trylock): Likewise.
9489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9490 (__pthread_mutex_unlock): Likewise.
9491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9492 (__pthread_mutexattr_init): Likewise.
9493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9494 (__pthread_mutexattr_destroy): Likewise.
9495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9496 (__pthread_mutexattr_settype): Likewise.
9497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9498 (__pthread_rwlock_init): Likewise.
9499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9500 (__pthread_rwlock_destroy): Likewise.
9501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9502 (__pthread_rwlock_rdlock): Likewise.
9503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9504 (__pthread_rwlock_tryrdlock): Likewise.
9505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9506 (__pthread_rwlock_wrlock): Likewise.
9507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9508 (__pthread_rwlock_trywrlock): Likewise.
9509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9510 (__pthread_rwlock_unlock): Likewise.
9511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9512 (__pthread_key_create): Likewise.
9513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9514 (__pthread_setspecific): Likewise.
9515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9516 (__pthread_getspecific): Likewise.
9517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9520 (_pthread_cleanup_push_defer): Likewise.
9521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9522 (_pthread_cleanup_pop_restore): Likewise.
9523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9524 (pthread_setcancelstate): Likewise.
9525 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9527 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9528 (memchr): Do not use BP_SYM in weak_alias.
9529 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9530 (fegetenv): Do not use BP_SYM in versioned symbols.
9531 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9532 (fesetenv): Do not use BP_SYM in versioned symbols.
9533 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9534 (feupdateenv): Do not use BP_SYM in versioned symbols.
9535 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9536 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9537 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9538 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9539 (open64): Do not use BP_SYM in weak_alias.
9540 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9541 (fegetenv): Do not use BP_SYM in versioned symbols.
9542 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9543 (fesetenv): Do not use BP_SYM in versioned symbols.
9544 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9545 (feupdateenv): Do not use BP_SYM in versioned symbols.
9546 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9547 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9548 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9549 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9550 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9551 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9552 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9554 (__libc_start_main): Do not use BP_SYM.
9556 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9559 redundant return line.
9563 (sub_magnitudes): Likewise.
9569 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9573 (sub_magnitudes): Likewise.
9580 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9582 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9583 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9586 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9587 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9588 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9589 of __mul for squares.
9590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9594 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9595 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9597 2013-02-13 Joseph Myers <joseph@codesourcery.com>
9600 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9602 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9603 prototype or function definition. Rename ubp_* variables and
9604 parameters. Remove argv definitions conditional on
9605 [__BOUNDED_POINTERS__].
9606 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9607 * elf/dl-runtime.c (_dl_fixup): Likewise.
9608 * include/set-hooks.h (RUN_HOOK): Likewise.
9609 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9611 * string/strcpy.c (strcpy): Do not use __unbounded.
9612 * sysdeps/generic/frame.h (struct layout): Likewise.
9613 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9614 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9615 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9616 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9617 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9618 (__backtrace): Likewise.
9619 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9621 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9622 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9623 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9625 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9626 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9627 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9628 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9629 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9630 Do not use __unbounded.
9631 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9632 Rename __unboundedrlimits parameter to rlimits in prototype.
9633 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9634 Do not use __unbounded.
9635 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9637 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9638 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9639 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9640 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9641 __ptrvalue or __unbounded.
9642 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9643 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9645 (__new_msgctl): Do not use __ptrvalue.
9646 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9648 (__libc_msgrcv): Do not use __ptrvalue.
9649 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9650 startup_info): Do not use __unbounded.
9651 (__libc_start_main): Likewise. Rename ubp_* variables and
9652 parameters. Remove argv definitions conditional on
9653 [__BOUNDED_POINTERS__].
9654 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9656 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9658 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9660 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9662 (__new_shmctl): Do not use __ptrvalue.
9663 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9664 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9666 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9667 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9668 (__libc_sigaction): Likewise.
9669 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9670 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9672 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9674 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
9676 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
9678 * string/mempcpy.c: Implement by calling memcpy.
9680 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9684 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9687 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9688 values in the mantissa.
9690 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9691 minimize writes to Z.
9692 (sub_magnitudes): Simplify code a bit.
9694 2013-02-12 Roland McGrath <roland@hack.frob.com>
9696 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9697 from the message. The linker prefixes all warnings with that already.
9699 2013-02-12 Andreas Schwab <schwab@suse.de>
9702 * posix/regexec.c (extend_buffers): Add parameter min_len.
9703 (check_matching): Pass minimum needed length.
9704 (clean_state_log_if_needed): Likewise.
9705 (get_subexp): Likewise.
9706 * posix/Makefile (tests): Add bug-regex34.
9707 (bug-regex34-ENV): Define.
9708 * posix/bug-regex34.c: New file.
9711 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9712 elements compare against the byte sequence of it, not its name.
9713 * posix/Makefile (tests): Add bug-regex35.
9714 (bug-regex35-ENV): Define.
9715 * posix/bug-regex35.c: New file.
9717 2013-02-11 Tom de Vries <tom@codesourcery.com>
9719 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9721 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9722 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9723 (CHECK_EOL): Add undef.
9725 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
9727 * bits/stdlib-bsearch.h: New file.
9728 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
9729 * stdlib/stdlib.h: Likewise.
9731 2013-02-11 Roland McGrath <roland@hack.frob.com>
9733 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9734 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9736 * manual/search.texi (Array Search Function): Add missing const in
9738 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9739 declaration to use rlim_t.
9740 (Basic Scheduling Functions): Remove erroneous const from
9741 sched_getparam prototype. Remove erroneous * from
9742 sched_get_priority_max and sched_get_priority_min prototypes.
9743 (Resource Usage): Fix summary @comment on vtimes to refer to
9744 sys/vtimes.h rather than vtimes.h.
9745 Add missing *s in vtimes prototype.
9746 (Limits on Resources): Fix ulimit prototype to return long int.
9747 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9748 prototypes to use long int rather than double.
9749 (BSD Random): Fix initstate and setstate to use char *, not void *.
9750 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9751 prototype to make second argument 'struct aiocb64 *const[]'.
9752 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9753 (Status of AIO Operations): Remove erroneous const in aio_return and
9754 aio_return64 prototypes.
9755 (Synchronizing I/O): Fix sync prototype to return void.
9756 * manual/startup.texi (Suboptions): Remove an erroneous const in
9757 getsubopt prototype.
9758 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9759 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9760 use size_t rather than int.
9761 (Scanning All Users): Likewise for getpwent_r.
9762 (Setting Groups): Add missing const to setgroups prototype.
9763 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9764 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9765 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9766 'const void *' rather than 'const char *'.
9767 (Host Address Functions): Likewise for inet_ntop.
9768 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9769 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9770 ssize_t for return value.
9771 (Sending Data): Likewise for send, sendto, sendmsg.
9772 (Socket Option Functions): Add a missing const in setsockopt prototype.
9773 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9774 use wchar_t for the argument.
9775 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9776 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9778 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9779 double/float/long double for second argument.
9780 Fix return types of significand, significandf, significandl.
9781 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9782 argument in fchmod prototype.
9783 (File Owner): Use uid_t and gid_t in fchown prototype.
9784 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9785 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9786 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9787 use 'const struct dirent **' as argument types to CMP function pointer
9789 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9790 (File Times): Fix summary magic @comment for struct utimbuf and utime
9791 to refer to utime.h, not time.h.
9792 * manual/string.texi (Argz Functions): Add missing const in
9793 argz_extract and argz_next prototypes.
9794 (Finding Tokens in a String): Likewise for basename.
9795 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9796 (Copying and Concatenation): Fix typo in wmemmove prototype.
9797 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9798 (Signal Stack): Remove erroneous const in sigstack prototype.
9799 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9801 (Simple Calendar Time): Likewise for stime.
9802 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9804 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9805 say sys/sysctl.h instead.
9806 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9807 and vsyslog prototypes.
9809 2013-02-11 Tom de Vries <tom@codesourcery.com>
9811 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9814 2013-02-11 Roland McGrath <roland@hack.frob.com>
9816 * misc/sys/mman.h: Fix typo in mremap comment.
9818 2013-02-08 Roland McGrath <roland@hack.frob.com>
9820 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9821 the '\0' terminator.
9823 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9826 * debug/segfault.c: Don't include <bp-checks.h>.
9827 * sysdeps/generic/bp-checks.h: Remove file.
9828 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9829 (__GETDENTS): Don't use CHECK_N.
9830 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9831 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9832 (__getgroups): Don't use CHECK_N.
9833 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9834 (setgroups): Don't use CHECK_N.
9835 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9836 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9837 (__libc_msgrcv): Don't use CHECK_N.
9838 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9839 (__libc_msgsnd): Don't use CHECK_N.
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9842 (__libc_pread): Don't use CHECK_N.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9844 include <bp-checks.h>.
9845 (__libc_pread64): Don't use CHECK_N.
9846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9847 include <bp-checks.h>.
9848 (__libc_pwrite): Don't use CHECK_N.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9850 include <bp-checks.h>.
9851 (__libc_pwrite64): Don't use CHECK_N.
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9854 (__libc_pread): Don't use CHECK_N.
9855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9856 include <bp-checks.h>.
9857 (__libc_pread64): Don't use CHECK_N.
9858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9859 include <bp-checks.h>.
9860 (__libc_pwrite): Don't use CHECK_N.
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9862 include <bp-checks.h>.
9863 (__libc_pwrite64): Don't use CHECK_N.
9864 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9865 (do_pread): Don't use CHECK_N.
9866 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9867 (do_pread64): Don't use CHECK_N.
9868 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9869 (do_pwrite): Don't use CHECK_N.
9870 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9871 (do_pwrite64): Don't use CHECK_N.
9872 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9873 (__libc_readv): Don't use CHECK_N.
9874 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9875 (semop): Don't use CHECK_N.
9876 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9878 (semtimedop): Don't use CHECK_N.
9879 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9880 (__libc_pread): Don't use CHECK_N.
9881 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9883 (__libc_pread64): Don't use CHECK_N.
9884 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9886 (__libc_pwrite): Don't use CHECK_N.
9887 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9889 (__libc_pwrite64): Don't use CHECK_N.
9890 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9892 (__libc_msgrcv): Don't use CHECK_N.
9893 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9894 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9895 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9896 (__libc_writev): Don't use CHECK_N.
9898 2013-02-08 Roland McGrath <roland@hack.frob.com>
9900 * string/strcpy.c: Removed unused variable.
9902 * Makeconfig (+sysdep-includes): Define with := rather than =.
9903 Use an existing include/ subdir of each sysdeps dir before it.
9905 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9907 * nscd/connection.c (register_traced_file): Comment function.
9908 [HAVE_INOTIFY] (union __inev): Define.
9909 [HAVE_INOTIFY] (inotify_check_files): New function.
9910 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9911 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9913 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9915 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9917 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9918 loaded if not already and that a failure is permanent.
9920 2013-02-08 Carlos O'Donell <carlos@redhat.com>
9923 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9924 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9926 2013-02-08 Joseph Myers <joseph@codesourcery.com>
9929 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9930 (CHECK_1_NULL_OK): Likewise.
9931 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9932 (__fxstat): Do not use CHECK_1.
9933 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9935 (___fxstat64): Do not use CHECK_1.
9936 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9938 (__fxstatat): Do not use CHECK_1.
9939 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9941 (__fxstatat64): Do not use CHECK_1.
9942 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9944 (__fxstat): Do not use CHECK_1.
9945 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9947 (__fxstatat): Do not use CHECK_1.
9948 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9950 (__getresgid): Do not use CHECK_1.
9951 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9953 (__getresuid): Do not use CHECK_1.
9954 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9956 (__lxstat): Do not use CHECK_1.
9957 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9959 (__old_msgctl): Do not use CHECK_1.
9960 (__new_msgctl): Likewise.
9961 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9963 (__new_setrlimit): Do not use CHECK_1.
9964 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9966 (__old_shmctl): Do not use CHECK_1.
9967 (__new_shmctl): Likewise.
9968 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9970 (__xstat): Do not use CHECK_1.
9971 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9972 (__lxstat): Do not use CHECK_1.
9973 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9975 (___lxstat64): Do not use CHECK_1.
9976 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9977 (__old_msgctl): Do not use CHECK_1.
9978 (__new_msgctl): Likewise.
9979 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9981 (__gettimeofday): Do not use CHECK_1.
9982 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9983 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9984 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9986 (__gettimeofday): Do not use CHECK_1.
9987 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9988 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9989 (__new_shmctl): Do not use CHECK_1.
9990 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9992 (do_sigtimedwait): Do not use CHECK_1.
9993 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9995 (do_sigwaitinfo): Do not use CHECK_1.
9996 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9998 (msgctl): Do not use CHECK_1.
9999 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10001 (shmctl): Do not use CHECK_1.
10002 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10003 (ustat): Do not use CHECK_1.
10004 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10006 (__fxstat): Do not use CHECK_1.
10007 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10009 (__fxstatat): Do not use CHECK_1.
10010 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10012 (__lxstat): Do not use CHECK_1.
10013 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10015 (__xstat): Do not use CHECK_1.
10016 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10017 (__xstat): Do not use CHECK_1.
10018 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10019 (___xstat64): Do not use CHECK_1.
10022 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10024 (CHECK_BOUNDS_HIGH): Likewise.
10025 * string/strcpy.c: Do not include <bp-checks.h>.
10026 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10028 2013-02-07 Roland McGrath <roland@hack.frob.com>
10030 * nscd/nscd-client.h (__nscd_drop_map_ref):
10031 Add __attribute__ ((unused)).
10032 * nis/nss-nisplus.h (niserr2nss): Likewise.
10034 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10035 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10037 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10038 Remove inline keyword.
10039 * include/rounding-mode.h (round_away): Likewise.
10040 * libio/wfileops.c (adjust_wide_data): Likewise.
10041 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10042 (__m128i_strloadu_tolower): Likewise.
10043 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10044 (__m128i_strloadu_tolower): Likewise.
10045 * time/mktime.c (ydhms_diff): Likewise.
10046 * locale/elem-hash.h (elem_hash): Likewise.
10047 * locale/setlocale.c (setdata): Likewise.
10048 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10049 (re_string_wchar_at): Likewise.
10050 (bitset_not, bitset_merge, bitset_mask): Likewise.
10051 [!(__GNUC__ > 3)] (inline): Remove macro.
10052 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10053 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10054 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10055 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10056 * string/memcmp.c (memcmp_bytes): Likewise.
10057 * locale/programs/locarchive.c (compute_hashval): Likewise.
10058 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10059 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10060 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10061 * nss/getent.c (print_rpc, print_protocols): Likewise.
10062 (print_passwd, print_group, print_aliases): Likewise.
10063 * nis/nss-nisplus.h (niserr2nss): Likewise.
10064 * nscd/connections.c (restart_p): Likewise.
10065 Change return type to bool.
10067 2013-02-05 Roland McGrath <roland@hack.frob.com>
10069 * Makeconfig (all-Depend-files): Add existing
10070 $(sorted-subdirs:=/Depend) files.
10071 (all-subdirs): Remove nss.
10072 * sysdeps/unix/inet/Subdirs: Add it here instead.
10073 * hesiod/Depend: New file.
10075 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10076 instead of calling alloca.
10078 * io/lseek.c (__lseek): Rename to __libc_lseek.
10079 Define __lseek as an alias.
10081 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10083 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10085 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10086 else clause and remove check for non-standard endianness.
10088 2013-02-04 David S. Miller <davem@davemloft.net>
10090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10092 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10095 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10096 (__ubp_memchr): Remove prototype.
10097 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10098 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10099 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10100 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10101 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10103 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10104 (__ubp_memchr): Likewise.
10105 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10106 (__ubp_memchr): Likewise.
10107 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10108 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10109 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10110 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10112 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10113 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10114 (__getcwd): Do not use CHECK_STRING.
10115 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10117 (__real_chown): Do not use CHECK_STRING.
10118 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10120 (fchownat): Do not use CHECK_STRING.
10121 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10123 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10125 (__lchown): Do not use CHECK_STRING.
10126 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10127 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10128 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10129 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10131 include <bp-checks.h>.
10132 (truncate64): Do not use CHECK_STRING.
10133 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10135 (__real_chown): Do not use CHECK_STRING.
10136 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10138 (__lchown): Do not use CHECK_STRING.
10139 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10141 (__chown): Do not use CHECK_STRING.
10142 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10144 (truncate64): Do not use CHECK_STRING.
10145 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10147 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10148 (__xmknod): Do not use CHECK_STRING.
10149 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10151 (__xmknodat): Do not use CHECK_STRING.
10152 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10153 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10155 2013-02-04 Andreas Schwab <schwab@suse.de>
10158 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10159 * include/netdb.h: Likewise for h_errno.
10160 * elf/tst-stackguard1.c: Include <tls.h>.
10162 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10164 * elf/link.h (struct link_map): Extend the l_addr comment.
10165 * include/link.h (struct link_map): Likewise.
10167 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10170 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10171 (BOUNDED_1): Remove macro.
10172 * debug/backtrace.c: Don't include <bp-checks.h>.
10173 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10174 (__backtrace): Likewise.
10175 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10177 (__backtrace): Don't use BOUNDED_1.
10178 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10180 (__backtrace): Don't use BOUNDED_1.
10181 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10182 (__backtrace): Don't use BOUNDED_1.
10183 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10184 (shmat): Don't use BOUNDED_N.
10186 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10189 * sysdeps/generic/bp-start.h: Remove file.
10190 * csu/libc-start.c: Don't include <bp-start.h>.
10191 (LIBC_START_MAIN): Set up __environ directly instead of using
10192 INIT_ARGV_and_ENVIRON.
10193 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10197 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10199 (CHECK_FCNTL): Likewise.
10200 (CHECK_N_PAGES): Likewise.
10203 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10205 (CHECK_SIGSET_NULL_OK): Likewise.
10206 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10208 (sigpending): Don't use CHECK_SIGSET.
10209 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10211 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10212 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10214 (do_sigsuspend): Don't use CHECK_SIGSET.
10215 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10217 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10218 (do_sigwait): Don't use CHECK_SIGSET.
10219 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10221 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10222 include <bp-checks.h>.
10223 (sigpending): Don't use CHECK_SIGSET.
10224 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10225 include <bp-checks.h>.
10226 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10227 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10229 (sigpending): Don't use CHECK_SIGSET.
10230 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10232 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10235 * sysdeps/generic/bp-semctl.h: Remove file.
10236 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10237 <bp-checks.h> and <bp-semctl.h>.
10238 (__old_semctl): Don't use CHECK_SEMCTL.
10239 (__new_semctl): Likewise.
10240 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10242 (__old_semctl): Don't use CHECK_SEMCTL.
10243 (__new_semctl): Likewise.
10244 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10245 <bp-checks.h> and <bp-semctl.h>.
10246 (__old_semctl): Don't use CHECK_SEMCTL.
10247 (__new_semctl): Likewise.
10248 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10249 <bp-checks.h> and <bp-semctl.h>.
10250 (semctl): Don't use CHECK_SEMCTL.
10253 * Makerules (elide-bp-thunks): Remove variable.
10254 (elide-routines.oS): Don't use $(elide-bp-thunks).
10255 (elide-routines.os): Likewise.
10256 (elide-routines.o): Likewise.
10257 (elide-routines.op): Likewise.
10258 (elide-routines.og): Likewise.
10259 (objects): Don't use $(bp-thunks).
10260 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10262 (common-generated): Do not add s-proto-bp.d.
10263 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10266 Do not generate makefile rules for bounded-pointer thunks.
10267 * sysdeps/generic/bp-thunks.h: Remove file.
10268 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10269 * sysdeps/unix/s-proto-bp.S: Likewise.
10272 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10273 parts of result separately when argument is not close to line from
10274 -i to i and one part of argument is small.
10275 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10276 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10277 * math/libm-test.inc (cacos_test): Add more tests.
10278 (casin_test): Likewise.
10279 (casinh_test): Likewise.
10280 * sysdeps/i386/fpu/libm-test-ulps: Update.
10281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10283 2013-01-31 David S. Miller <davem@davemloft.net>
10285 * po/de.po: Update from translation team.
10287 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10289 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10291 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10293 * configure.in (_AC_PROG_CC_C89): New definition.
10294 * configure: Regenerate.
10296 * configure.in (AC_PROG_CPP): New definition.
10297 * configure: Regenerate.
10299 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10301 * debug/tst-backtrace.h: New file.
10302 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10303 (ret): Remove variable.
10305 (FAIL): Remove macro.
10306 (NO_INLINE): Likewise.
10307 (fn1): Use match function instead of strstr.
10308 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10309 (ret): Remove variable.
10311 (FAIL): Remove macro.
10312 (NO_INLINE): Likewise.
10313 (fn): Use match function instead of strstr.
10314 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10315 (ret): Remove variable.
10317 (FAIL): Remove macro.
10318 (NO_INLINE): Likewise.
10319 (handle_signal): Use match function instead of strstr.
10320 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10321 (ret): Remove variable.
10323 (FAIL): Remove macro.
10324 (NO_INLINE): Likewise.
10325 (handle_signal): Use match function instead of strstr.
10327 2013-01-23 Roland McGrath <roland@hack.frob.com>
10329 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10331 2013-01-23 David S. Miller <davem@davemloft.net>
10333 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10334 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10335 argument of CAS if possible.
10336 * sysdeps/sparc/sparc64/bits/atomic.h
10337 (__arch_compare_and_exchange_val_32_acq): Likewise.
10338 (__arch_compare_and_exchange_val_64_acq): Likewise.
10340 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10342 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10343 * sysdeps/posix/ulimit.c: ... this.
10344 Include <limits.h>.
10345 * sysdeps/unix/bsd/ulimit.c: Remove file.
10347 2013-01-23 Adam Conrad <adconrad@0c3.net>
10349 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10350 (LDFLAGS-tst-array5): Likewise.
10352 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10355 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10356 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10357 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10358 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10360 2013-01-21 David S. Miller <davem@davemloft.net>
10362 * sysdeps/sparc/backtrace.c: New file.
10363 * sysdeps/sparc/sparc32/backtrace.h: New file.
10364 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10365 * sysdeps/sparc/sparc64/backtrace.h: New file.
10366 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10367 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10370 2013-01-21 Andreas Schwab <schwab@suse.de>
10373 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10376 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10382 2013-01-18 Joseph Myers <joseph@codesourcery.com>
10383 Mark Mitchell <mark@codesourcery.com>
10384 Tom de Vries <tom@codesourcery.com>
10385 Paul Pluzhnikov <ppluzhnikov@google.com>
10387 * debug/tst-backtrace2.c: New file.
10388 * debug/tst-backtrace3.c: Likewise.
10389 * debug/tst-backtrace4.c: Likewise.
10390 * debug/tst-backtrace5.c: Likewise.
10391 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10392 (CFLAGS-tst-backtrace3.c): Likewise.
10393 (CFLAGS-tst-backtrace4.c): Likewise.
10394 (CFLAGS-tst-backtrace5.c): Likewise.
10395 (LDFLAGS-tst-backtrace2): Likewise.
10396 (LDFLAGS-tst-backtrace3): Likewise.
10397 (LDFLAGS-tst-backtrace4): Likewise.
10398 (LDFLAGS-tst-backtrace5): Likewise.
10399 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10400 tst-backtrace4 and tst-backtrace5.
10402 2013-01-18 Anton Blanchard <anton@samba.org>
10403 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10405 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10406 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10407 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10408 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10410 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10411 "+r" and remove output regs list as redundant. Add explicit inline
10412 asm to specify register of return val to work around compiler codegen
10413 bug. Remove (int) cast on return value. Add return type parameter to
10414 use in macro so that this macro does not truncate return value for
10416 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10417 pass to INTERNAL_VSYSCALL_NCS.
10418 (INLINE_VSYSCALL): Add 'long int' as return type to
10419 INTERNAL_VSYSCALL_NCS macro invocation.
10420 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10421 INTERNAL_VSYSCALL_NCS macro invocation.
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10424 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10427 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10428 Fix application of SIMD FP exception mask.
10430 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10431 mp_no from a power of two.
10432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10433 __mpexp_twomm1. Use __pow_mp.
10435 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10438 2013-01-17 David S. Miller <davem@davemloft.net>
10440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10442 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10445 * include/complex.h: Condition contents on [!_COMPLEX_H].
10446 (__kernel_casinhf): New prototype.
10447 (__kernel_casinh): Likewise.
10448 (__kernel_casinhl): Likewise.
10449 * math/Makefile (libm_calls): Add k_casinh.
10450 * math/k_casinh.c: New file.
10451 * math/k_casinhf.c: Likewise.
10452 * math/k_casinhl.c: Likewise.
10453 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10454 finite nonzero arguments.
10455 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10456 finite nonzero arguments.
10457 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10458 finite nonzero arguments.
10459 * math/s_casinh.c: Do not include <float.h>.
10460 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10461 * math/s_casinhf.c: Do not include <float.h>.
10462 (__casinhf): Move code for finite nonzero arguments to
10464 * math/s_casinhl.c: Do not include <float.h>.
10465 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10467 (__casinhl): Move code for finite nonzero arguments to
10469 * math/libm-test.inc (cacos_test): Add more tests.
10470 * sysdeps/i386/fpu/libm-test-ulps: Update.
10471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10473 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10475 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10476 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10477 [!HAVE_MREMAP]: Remove [defined linux] case.
10478 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10480 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10482 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10484 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
10486 * elf/elf.h (R_386_SIZE32): New relocation.
10487 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10489 (elf_machine_rela): Likewise.
10490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10491 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10493 2013-01-17 Joseph Myers <joseph@codesourcery.com>
10495 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10496 (FP_FAST_FMA): Do not define.
10497 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10498 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10499 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10500 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10501 !_SOFT_FLOAT]: Likewise.
10502 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10503 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10505 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10506 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10507 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10508 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10509 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10510 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10513 2013-01-16 Andreas Schwab <schwab@suse.de>
10516 * include/stdlib.h (__mktemp): Add declaration.
10517 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10518 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10520 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10522 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10524 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10525 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10526 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10528 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10529 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10531 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10533 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10534 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10535 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10537 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10538 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10540 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10542 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10544 2013-01-15 David S. Miller <davem@davemloft.net>
10546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10547 trunc{,f} to libm-sysdep_routes.
10548 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10558 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10559 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10560 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10561 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10562 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10563 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10566 nearbyint{,f} to libm-sysdep_routes.
10567 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10578 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10580 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10581 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10583 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10584 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10585 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10587 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10588 libc_feholdexcept and libc_fesetenv.
10590 2013-01-15 Mike Frysinger <vapier@gentoo.org>
10592 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10594 2013-01-14 David S. Miller <davem@davemloft.net>
10596 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10597 (SPARC_ASM_VIS2_IFUNC): Likewise.
10598 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10600 use of 'siam' instruction.
10601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10629 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10630 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10634 routines to libm-sysdep_routines.
10635 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10638 fdim/fdimf to libm-sysdep_routines.
10639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10647 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10648 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10649 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10650 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10652 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10654 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10655 to optimize copies.
10657 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10661 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10662 local variable MPTWO.
10663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10666 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10668 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10671 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10673 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10675 2013-01-13 Mike Frysinger <vapier@gentoo.org>
10677 * manual/pattern.texi (glob_t): Document gl_flags.
10678 (glob64_t): Likewise.
10680 2013-01-11 David S. Miller <davem@davemloft.net>
10682 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10683 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10684 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
10685 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10686 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10687 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10688 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10689 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10690 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10691 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10692 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10693 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10694 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10696 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10697 sparc V9 rather than using V8 code.
10698 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10699 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10701 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10703 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10706 2013-01-11 Roland McGrath <roland@hack.frob.com>
10708 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10709 not in the main loop.
10710 * configure: Regenerated.
10712 2013-01-11 Joseph Myers <joseph@codesourcery.com>
10714 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10715 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10717 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10718 [!__GLIBC_HAVE_LONG_LONG] case.
10719 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10720 condition to just #else.
10721 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10722 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10723 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10724 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10726 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10727 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10728 #elif condition to just #else.
10729 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10730 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10731 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10732 #elif condition to just #else.
10734 2013-01-11 Steve Ellcey <sellcey@mips.com>
10736 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10737 (EF_MIPS_ARCH_64): Fix value.
10738 (EF_MIPS_ARCH_32R2): New.
10739 (EF_MIPS_ARCH_64R2): New.
10741 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10743 * Makeconfig (+link-pie-before-libc): New.
10744 (+link-pie-after-libc): Likewise.
10745 (+link-pie-tests): Likewise.
10746 (+link-pie): Rewritten.
10747 (link-before-libc): Remove $(config-LDFLAGS).
10748 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10749 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10750 (config-LDFLAGS): Renamed to ...
10751 (rtld-LDFLAGS): This.
10752 (rtld-tests-LDFLAGS): New macro.
10753 (link-libc-rpath-link): Likewise.
10754 (link-libc-tests-rpath-link): Likewise.
10755 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10756 (link-libc): Prepand $(link-libc-rpath-link).
10757 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10758 (test-program-prefix): New macro.
10759 (test-via-rtld-prefix): Likewise.
10760 (test-program-cmd): Likewise.
10761 (host-test-program-cmd): Likewise.
10762 * Makefile ($(common-objpfx)testrun.sh): Replace
10763 $(run-program-prefix) with $(test-program-prefix).
10764 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10766 ($(common-objpfx)shlib.lds): Likewise.
10767 (build-module-helper): Likewise.
10768 ($(common-objpfx)format.lds): Likewise.
10769 * Rules (binaries-pie-tests): New.
10770 (binaries-pie-notests): Likewise.
10771 (binaries-pie): Rewritten.
10772 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10773 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10774 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10775 (make-test-out): Replace $(host-built-program-cmd) with
10776 $(host-test-program-cmd).
10777 * config.make.in (build-hardcoded-path-in-tests): New variable.
10778 * configure.in (--enable-hardcoded-path-in-tests): New configure
10780 (hardcoded_path_in_tests): New AC_SUBST.
10781 * configure: Regenerated.
10782 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10783 $(built-program-cmd) with $(test-program-cmd).
10784 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10785 (test_program_cmd): This.
10786 * elf/Makefile ($(objpfx)order.out): Run test with
10787 $(test-program-prefix).
10788 ($(objpfx)order2.out): Likewise.
10789 ($(objpfx)tst-initorder.out): Likewise.
10790 ($(objpfx)tst-initorder2.out): Likewise.
10791 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10792 $(test-program-cmd).
10793 ($(objpfx)tst-array1-static.out): Likewise.
10794 ($(objpfx)tst-array2.out): Likewise.
10795 ($(objpfx)tst-array3.out): Likewise.
10796 ($(objpfx)tst-array4.out): Likewise.
10797 ($(objpfx)tst-array5.out): Likewise.
10798 ($(objpfx)tst-array5-static.out): Likewise.
10799 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10800 $(test-program-cmd).
10801 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10802 $(run-program-prefix) with $(test-program-prefix).
10803 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10804 (test_program_prefix): This.
10805 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10806 $(run-program-prefix) with $(test-program-prefix).
10807 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10808 (test_program_prefix): This.
10809 * iconvdata/tst-tables.sh: Likewise.
10810 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10811 $(run-program-prefix) with $(test-program-prefix).
10812 ($(objpfx)tst-translit.out): Likewise.
10813 ($(objpfx)tst-gettext2.out): Likewise.
10814 ($(objpfx)tst-gettext4.out): Likewise.
10815 ($(objpfx)tst-gettext6.out): Likewise.
10816 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10817 (test_program_prefix): This.
10818 * intl/tst-gettext2.sh: Likewise.
10819 * intl/tst-gettext4.sh Likewise.
10820 * intl/tst-gettext6.sh: Likewise.
10821 * intl/tst-translit.sh: Likewise.
10822 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10823 with $(test-program-cmd).
10824 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10825 $(run-program-prefix) with $(test-program-prefix).
10826 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10827 (test_program_prefix): This.
10828 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10829 $(run-program-prefix) with $(test-program-prefix).
10830 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10831 (test_program_prefix): This.
10832 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10833 * posix/Makefile ($(objpfx)globtest.out): Replace
10834 $(run-via-rtld-prefix) and $(test-wrapper) with
10835 $(test-program-prefix) and $(test-via-rtld-prefix).
10836 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10837 $(test-program-prefix).
10838 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10839 $(host-test-program-cmd).
10840 (tst-spawn-ARGS): Likewise.
10841 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10842 $(test-program-prefix).
10843 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10844 (test_via_rtld_prefix): This.
10845 (test_wrapper): Renamed to ...
10846 (test_program_prefix): This.
10847 (run_program_prefix): Replaced by test_program_prefix.
10848 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10849 (test_program_prefix): This.
10850 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10851 with $(host-test-program-cmd).
10852 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10853 $(run-program-prefix) with $(test-program-prefix).
10854 ($(objpfx)tst-printf.out): Likewise.
10855 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10856 $(test-program-cmd).
10857 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10858 (test_program_prefix): This.
10859 * stdio-common/tst-unbputc.sh: Likewise.
10860 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10861 $(run-program-prefix) with $(test-program-prefix).
10862 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10863 (test_program_prefix): This.
10864 * string/Makefile ($(objpfx)tst-svc.out): Replace
10865 $(built-program-cmd) with $(test-program-cmd).
10867 2013-01-11 Andreas Jaeger <aj@suse.de>
10870 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10871 value. Sync with Linux 3.7.
10873 2013-01-10 David S. Miller <davem@davemloft.net>
10875 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10876 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10877 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10879 2013-01-10 Roland McGrath <roland@hack.frob.com>
10881 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10883 * configure: Regenerated.
10885 2013-01-10 David S. Miller <davem@davemloft.net>
10887 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10888 sparc V9 rather than using V8 code.
10889 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10890 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10892 2013-01-10 Roland McGrath <roland@hack.frob.com>
10894 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10895 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10896 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10897 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10898 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10899 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10900 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10901 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10902 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10903 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10904 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10905 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10906 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10907 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10908 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10909 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10910 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10911 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10912 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10913 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10914 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10915 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10916 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10917 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10918 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10919 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10920 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10922 2013-01-10 David S. Miller <davem@davemloft.net>
10924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10926 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10928 * posix/Makefile (tests-static): New variable.
10929 (tests): Add $(tests-static).
10930 (tst-exec-static-ARGS): New variable.
10931 (tst-spawn-static-ARGS): Likewise.
10932 * posix/tst-exec-static.c: New file.
10933 * posix/tst-spawn-static.c: Likewise.
10934 * posix/tst-exec.c: Support run directly.
10935 * posix/tst-spawn.c: Likewise.
10937 2013-01-10 Joseph Myers <joseph@codesourcery.com>
10939 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10941 * math/bits/mathcalls.h (llrint): Likewise.
10942 (llround): Likewise.
10943 * stdlib/stdlib.h (struct drand48_data): Likewise.
10944 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10945 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10946 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10948 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10950 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10951 (elf_greg_t): Likewise.
10952 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10953 (__jmp_buf): Likewise.
10954 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10956 (llrint): Likewise, for all definitions.
10957 (llrintl): Likewise.
10959 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10960 Remove [__GNUC__] condition.
10961 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10962 condition to just [__USE_ISOC99].
10963 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10965 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10968 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10969 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10971 (_POSIX_V6_ILP32_OFF32): Likewise.
10972 (_XBS5_ILP32_OFF32): Likewise.
10973 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10974 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10976 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10978 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10980 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10981 doubles __mpexp_twomm1. Adjust usage.
10982 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10985 2013-01-10 Andreas Schwab <schwab@suse.de>
10988 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10989 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10991 2013-01-09 David S. Miller <davem@davemloft.net>
10994 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10995 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10996 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10997 TCP_FASTOPEN): Define.
10998 (tcp_repair_opt): New structure.
10999 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11001 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11002 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11003 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11004 (tcp_cookie_transactions): New structure.
11006 2013-01-09 Anton Blanchard <anton@samba.org>
11008 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11009 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11010 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11011 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11013 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11015 * include/features.h (__USE_ANSI): Remove.
11017 2013-01-09 Roland McGrath <roland@hack.frob.com>
11019 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11021 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11023 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11025 * sysdeps/s390/fpu/libm-test-ulps: Update.
11027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11029 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11033 (denorm): Likewise.
11034 (__mp_dbl): Likewise.
11035 (__dbl_mp): Likewise.
11036 (add_magnitudes): Likewise.
11037 (sub_magnitudes): Likewise.
11043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11047 (denorm): Likewise.
11048 (__mp_dbl): Likewise.
11049 (__dbl_mp): Likewise.
11050 (add_magnitudes): Likewise.
11051 (sub_magnitudes): Likewise.
11057 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11061 (denorm): Likewise.
11062 (__mp_dbl): Likewise.
11063 (__dbl_mp): Likewise.
11064 (add_magnitudes): Likewise.
11065 (sub_magnitudes): Likewise.
11072 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11074 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11075 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11076 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11077 2 && __USE_EXTERN_INLINES]: Likewise.
11079 2013-01-08 Andreas Jaeger <aj@suse.de>
11082 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11084 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11085 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11087 2013-01-07 Anton Blanchard <anton@samba.org>
11089 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11090 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11091 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11092 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11093 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11094 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11095 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11096 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11098 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11099 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11100 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11101 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11102 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11103 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11104 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11105 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11106 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11107 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11108 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11109 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11110 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11111 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11112 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11113 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11114 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11115 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11116 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11118 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11119 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11121 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11122 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11123 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11124 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11125 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11126 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11127 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11128 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11129 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11130 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11131 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11133 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11135 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11136 (__MALLOC_PMT): Likewise.
11137 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11138 [__GNUC__], only on [_LIBC].
11139 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11140 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11141 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11142 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11143 forward declaration.
11144 (realloc_hook_ini): Likewise.
11145 (memalign_hook_ini): Likewise.
11146 (__libc_memalign): Do not use __MALLOC_PMT in variable
11148 (__libc_valloc): Likewise.
11149 (__libc_pvalloc): Likewise.
11150 (__libc_calloc): Likewise.
11151 (__posix_memalign): Likewise.
11154 * math/s_casinh.c: Include <float.h>.
11155 (__casinh): Do not do computation with squaring and square root
11156 for large arguments.
11157 * math/s_casinhf.c: Include <float.h>.
11158 (__casinhf): Do not do computation with squaring and square root
11159 for large arguments.
11160 * math/s_casinhl.c: Include <float.h>.
11161 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11162 (__casinhl): Do not do computation with squaring and square root
11163 for large arguments.
11164 * math/libm-test.inc (casin_test): Add more tests.
11165 (casinh_test): Likewise.
11166 * sysdeps/i386/fpu/libm-test-ulps: Update.
11167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11169 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11171 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11172 (__x86_64_raw_data_cache_size): Likewise.
11173 (__x86_64_data_cache_size_half): Likewise.
11174 (__x86_64_raw_data_cache_size_half): Likewise.
11175 (__x86_64_shared_cache_size): Likewise.
11176 (__x86_64_raw_shared_cache_size): Likewise.
11177 (__x86_64_shared_cache_size_half): Likewise.
11178 (__x86_64_raw_shared_cache_size_half): Likewise.
11179 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11181 (__x86_data_cache_size): This.
11182 (__x86_64_raw_data_cache_size): Renamed to ...
11183 (__x86_raw_data_cache_size): This.
11184 (__x86_64_data_cache_size_half): Renamed to ...
11185 (__x86_data_cache_size_half): This.
11186 (__x86_64_raw_data_cache_size_half): Renamed to ...
11187 (__x86_raw_data_cache_size_half): This.
11188 (__x86_64_shared_cache_size): Renamed to ...
11189 (__x86_shared_cache_size): This.
11190 (__x86_64_raw_shared_cache_size): Renamed to ...
11191 (__x86_raw_shared_cache_size): This.
11192 (__x86_64_shared_cache_size_half): Renamed to ...
11193 (__x86_shared_cache_size_half): This.
11194 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11195 (__x86_raw_shared_cache_size_half): This.
11196 * sysdeps/x86_64/memcpy.S: Updated.
11197 * sysdeps/x86_64/memset.S: Likewise.
11198 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11199 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11200 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11202 2013-01-04 David S. Miller <davem@davemloft.net>
11204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11206 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11208 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11209 1 to avoid redefinition warning.
11210 (__USE_GNU): Don't define.
11211 (init_signaling_nan): Protoize.
11213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11215 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11217 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11218 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11219 (__cpymn): Likewise.
11220 (norm): Remove commented code.
11221 (denorm): Likewise.
11222 (__mp_dbl): Likewise.
11224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11225 (__cpymn): Likewise.
11226 (norm): Remove commented code.
11227 (denorm): Likewise.
11228 (__mp_dbl): Likewise.
11231 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11232 mp_no value for 1.0 and 2.0.
11233 (norm): Use RADIXI instead of radixi.d.
11234 (denorm): Likewise.
11235 (__mul): Use 0.0 instead of zero.d.
11236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11237 mp_no value for 1.0 and 2.0.
11238 (norm): Use RADIXI instead of radixi.d.
11239 (denorm): Likewise.
11240 (__mul): Use 0.0 instead of zero.d.
11242 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11245 * math/s_casinh.c (__casinh): Reduce finite argument to first
11246 quadrant then set signs of results at the end.
11247 * math/s_casinhf.c (__casinhf): Likewise.
11248 * math/s_casinhl.c (__casinhl): Likewise.
11249 * math/libm-test.inc (casin_test): Add more tests.
11250 (casinh_test): Likewise.
11251 * sysdeps/i386/fpu/libm-test-ulps: Update.
11252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11254 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11256 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11258 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11260 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11262 (denorm): Likewise.
11263 (__mp_dbl): Likewise.
11266 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11267 and adjust the header comment.
11269 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11270 variable name from declaration.
11272 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11275 Initialize COMMON_CPUID_INDEX_7 element.
11276 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11277 (CPUID_RTM): Likewise.
11278 (HAS_RTM): Likewise.
11279 (COMMON_CPUID_INDEX_7): New enum.
11281 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11284 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11285 size is zero, record memory as freed.
11287 2013-01-03 Andreas Jaeger <aj@suse.de>
11289 * po/ia.po: Add new Interlingua translation.
11291 2012-01-03 Allan McRae <allan@archlinux.org>
11293 * locale/programs/localedef.c: Fix description of '--posix' flag.
11295 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11297 * NEWS: Update dates in second copyright notice.
11298 * README: Update copyright dates in example.
11299 * manual/libc.texinfo: Update copyright dates.
11300 * scripts/test-installation.pl: Update copyright date in --version
11303 * hurd/ctty-input.c: Fix copyright notice formatting.
11304 * hurd/ctty-output.c: Likewise.
11305 * hurd/dtable.c: Likewise.
11306 * hurd/hurd-raise.c: Likewise.
11307 * hurd/hurdprio.c: Likewise.
11308 * hurd/msgportdemux.c: Likewise.
11309 * misc/sys/file.h: Likewise.
11310 * misc/sys/ioctl.h: Likewise.
11311 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11312 * sysdeps/mach/hurd/chdir.c: Likewise.
11313 * sysdeps/mach/hurd/fchdir.c: Likewise.
11314 * sysdeps/mach/hurd/rename.c: Likewise.
11315 * sysdeps/mach/hurd/rmdir.c: Likewise.
11316 * sysdeps/mach/hurd/seekdir.c: Likewise.
11317 * sysdeps/mach/hurd/setsid.c: Likewise.
11318 * sysdeps/posix/wait3.c: Likewise.
11320 * All files with FSF copyright notices: Update copyright dates
11321 using scripts/update-copyrights.
11322 * intl/plural.c: Regenerated.
11323 * locale/programs/charmap-kw.h: Likewise.
11324 * locale/programs/locfile-kw.h: Likewise.
11326 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11328 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11331 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11332 calculation loop and add branch prediction.
11334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11335 check access beyond bounds of m1np.
11337 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11339 (__inv): Remove local variable MPTWO to use the global
11341 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11342 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11344 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11345 MP3HALFS static const.
11347 2013-01-01 David S. Miller <davem@davemloft.net>
11349 * po/ca.po: Update from translation team.
11351 2013-01-01 Joseph Myers <joseph@codesourcery.com>
11353 * scripts/update-copyrights: New file.
11354 * Makeconfig: Reformat copyright notice.
11355 * ctype/ctype.h: Likewise.
11356 * debug/swprintf_chk.c: Likewise.
11357 * elf/dl-cache.c: Likewise.
11358 * elf/dl-debug.c: Likewise.
11359 * elf/dl-object.c: Likewise.
11360 * grp/initgroups.c: Likewise.
11361 * hurd/Makefile: Likewise.
11362 * hurd/hurd/signal.h: Likewise.
11363 * hurd/hurdfault.c: Likewise.
11364 * hurd/hurdioctl.c: Likewise.
11365 * hurd/hurdlookup.c: Likewise.
11366 * hurd/intr-msg.c: Likewise.
11367 * iconv/gconv_open.c: Likewise.
11368 * libio/swprintf.c: Likewise.
11369 * locale/lc-ctype.c: Likewise.
11370 * locale/nl_langinfo.c: Likewise.
11371 * mach/Machrules: Likewise.
11372 * mach/Makefile: Likewise.
11373 * malloc/obstack.h: Likewise.
11374 * manual/Makefile: Likewise.
11375 * manual/tsort.awk: Likewise.
11376 * misc/bits/stab.def: Likewise.
11377 * nis/nis_print_group_entry.c: Likewise.
11378 * nis/nis_table.c: Likewise.
11379 * nis/nss_compat/compat-pwd.c: Likewise.
11380 * nis/nss_compat/compat-spwd.c: Likewise.
11381 * po/Makefile: Likewise.
11382 * posix/fnmatch.c: Likewise.
11383 * posix/regex.h: Likewise.
11384 * resolv/Makefile: Likewise.
11385 * resolv/nss_dns/dns-network.c: Likewise.
11386 * resolv/res_hconf.c: Likewise.
11387 * scripts/gen-sorted.awk: Likewise.
11388 * soft-fp/soft-fp.h: Likewise.
11389 * stdio-common/printf.h: Likewise.
11390 * stdlib/monetary.h: Likewise.
11391 * stdlib/random.c: Likewise.
11392 * stdlib/random_r.c: Likewise.
11393 * sysdeps/generic/Makefile: Likewise.
11394 * sysdeps/gnu/Makefile: Likewise.
11395 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11396 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11397 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11399 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11402 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11403 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11405 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11406 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11407 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11408 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11409 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11410 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11411 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11412 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11413 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11415 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11416 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11417 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11418 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11419 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11420 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11421 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11422 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11423 * sysdeps/mach/hurd/errnos.awk: Likewise.
11424 * sysdeps/mach/hurd/fork.c: Likewise.
11425 * sysdeps/mach/hurd/getcwd.c: Likewise.
11426 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11427 * sysdeps/mach/hurd/mmap.c: Likewise.
11428 * sysdeps/mach/hurd/utimes.c: Likewise.
11429 * sysdeps/mach/hurd/xmknod.c: Likewise.
11430 * sysdeps/posix/profil.c: Likewise.
11431 * sysdeps/posix/readdir_r.c: Likewise.
11432 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11433 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11434 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11435 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11437 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11438 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11439 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11441 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11442 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11443 * sysdeps/pthread/lio_listio.c: Likewise.
11444 * sysdeps/sparc/dl-procinfo.h: Likewise.
11445 * sysdeps/unix/i386/sysdep.S: Likewise.
11446 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11447 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11448 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11449 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11451 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11452 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11453 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11454 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11455 * sysdeps/wordsize-32/divdi3.c: Likewise.
11456 * time/sys/time.h: Likewise.
11457 * wcsmbs/Makefile: Likewise.
11459 2013-01-01 David S. Miller <davem@davemloft.net>
11461 * po/fr.po: Update from translation team.
11463 * catgets/gencat.c: Update copyright year.
11464 * csu/version.c: Likewise.
11465 * debug/catchsegv.sh: Likewise.
11466 * debug/pcprofiledump.c: Likewise.
11467 * debug/xtrace.sh: Likewise.
11468 * elf/ldconfig.c: Likewise.
11469 * elf/ldd.bash.in: Likewise.
11470 * elf/pldd.c: Likewise.
11471 * elf/sotruss.ksh: Likewise.
11472 * elf/sprof.c: Likewise.
11473 * iconv/iconv_prog.c: Likewise.
11474 * iconv/iconvconfig.c: Likewise.
11475 * locale/programs/locale.c: Likewise.
11476 * locale/programs/localedef.c: Likewise.
11477 * login/programs/pt_chown.c: Likewise.
11478 * malloc/memusage.sh: Likewise.
11479 * malloc/memusagestat.c: Likewise.
11480 * malloc/mtrace.pl: Likewise.
11481 * nscd/nscd.c: Likewise.
11482 * nss/getent.c: Likewise.
11483 * nss/makedb.c: Likewise.
11484 * posix/getconf.c: Likewise.
11486 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11488 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11491 2012-12-30 Mike Frysinger <vapier@gentoo.org>
11493 * math/bits/mathcalls.h (modf): Use __nonnull.
11495 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11497 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11498 (split): Use macro CN instead of the bare value.
11499 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11502 instead of the bare value.
11503 (power1): Likewise.
11505 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11507 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11509 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11511 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11513 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11514 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11515 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11516 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11518 2012-12-28 Andreas Jaeger <aj@suse.de>
11520 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11521 values are from Linux 3.7.
11523 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11524 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11526 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11528 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
11531 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11533 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11534 variables with preprocessor constants.
11535 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11536 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11537 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11539 2012-12-27 Bruno Haible <bruno@clisp.org>
11542 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11545 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11547 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11548 and use variable directly.
11549 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11551 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11553 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11554 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11556 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11558 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11559 include directive. Remove local variable MPONE.
11560 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11561 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11562 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11564 2012-12-25 David S. Miller <davem@davemloft.net>
11566 * version.h (RELEASE): Set to "development".
11567 (VERSION): Set to "2.17.90".
11568 * NEWS: Add 2.18 section.
11570 2012-12-21 David S. Miller <davem@davemloft.net>
11572 * po/hr.po: Update from translation team.
11574 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11576 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11578 2012-12-19 Steve Ellcey <sellcey@mips.com>
11580 * NEWS: Mention new memcpy for MIPS.
11582 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11584 * manual/contrib.texi (Contributors): Spelling correction.
11586 2012-12-15 David S. Miller <davem@davemloft.net>
11588 * po/ru.po: Update from translation team.
11590 2012-12-13 David S. Miller <davem@davemloft.net>
11592 * NEWS: Mention IFUNC testsuite enhancements.
11594 * po/pl.po: Update from translation team.
11595 * po/bg.po: Likewise.
11597 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11598 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11600 2012-12-11 David S. Miller <davem@davemloft.net>
11602 * po/sv.po: Update from translation team.
11604 * po/vi.po: Update from translation team.
11606 * po/cs.po: Update from translation team.
11608 * po/de.po: Update from translation team.
11609 * po/eo.po: Likewise.
11610 * po/nl.po: Likewise.
11612 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11615 * manual/argp.texi (Argp Helper Functions): Move node to follow
11616 Argp Parsing State.
11619 * manual/conf.texi (Limits on File System Capacity): Mention if
11620 terminating null is included in the max size.
11622 2012-12-10 Andreas Jaeger <aj@suse.de>
11624 * po/cs.po: Update from translation team.
11626 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11628 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11629 void pointer and cast to uintptr_t.
11630 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11632 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11633 * sysdeps/s390/s390-64/memset.S: Likewise.
11635 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
11638 * menual/message.texi (Message Translation): Fix typos.
11639 (Helper programs for gettext): Likewise.
11641 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11644 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11647 2012-12-07 David S. Miller <davem@davemloft.net>
11649 * po/libc.pot: Update.
11651 2012-12-07 Richard Henderson <rth@redhat.com>
11654 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11655 normal/normal case to before the switch.
11656 (_FP_DIV): Likewise.
11658 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11659 Mike Frysinger <vapier@gentoo.org>
11661 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11662 check for __NR_fadvise64_64.
11664 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11666 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11667 0, not just to plain "0" as a statement.
11668 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11671 2012-12-06 Joseph Myers <joseph@codesourcery.com>
11673 * NEWS: Use sourceware.org in Bugzilla URL.
11675 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11678 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11680 * stdio-common/tst-put-error.c (do_test): Add newline to the
11681 padded test to ensure flush.
11683 2012-12-05 Jeff Law <law@redhat.com>
11685 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11687 2012-12-05 Joseph Myers <joseph@codesourcery.com>
11689 * README: Don't refer to ports add-on as distributed separately.
11690 Mention AArch64 in list of systems supported in the ports add-on.
11692 * LICENSES: Add more non-FSF copyright and license notices.
11694 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11697 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11699 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11700 10000 as width of padded output.
11702 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11704 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11706 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11707 variable LX with __attribute__ ((unused)).
11708 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11710 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11711 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11712 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11713 with __attribute__ ((unused)).
11715 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
11717 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11719 2012-12-04 Joseph Myers <joseph@codesourcery.com>
11721 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11722 (CFLAGS-nldbl-acos.c): New variable.
11723 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11724 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11725 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11726 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11727 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11728 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11729 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11730 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11731 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11732 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11733 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11734 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11735 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11736 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11737 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11738 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11739 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11740 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11741 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11742 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11743 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11744 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11745 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11746 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11747 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11748 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11749 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11750 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11751 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11752 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11753 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11754 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11755 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11756 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11757 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11758 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11759 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11760 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11761 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11762 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11763 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11764 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11765 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11766 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11767 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11768 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11769 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11770 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11771 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11772 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11773 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11774 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11775 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11776 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11777 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11778 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11779 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11780 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11781 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11782 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11783 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11784 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11785 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11786 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11787 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11788 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11789 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11790 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11791 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11792 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11793 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11794 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11795 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11796 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11797 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11798 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11799 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11800 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11801 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11802 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11803 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11804 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11805 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11806 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11807 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11808 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11809 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11810 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11811 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11812 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11813 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11814 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11815 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11816 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11817 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11818 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11819 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11822 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11826 whole low double instead of just low 47 bits when splitting values
11829 2012-12-03 Allan McRae <allan@archlinux.org>
11831 * manual/stdio.texi (Predefined Printf Handlers): Remove
11832 @hsep and @vsep usage.
11834 2012-12-03 Mike Frysinger <vapier@gentoo.org>
11836 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11837 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11839 2012-12-03 Jeff Law <law@redhat.com>
11841 * time/sys/time.h (settimeofday): Do not mark TV argument
11844 2012-12-01 Mike Frysinger <vapier@gentoo.org>
11846 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11847 when currently writing and seek to current position when not.
11848 * libio/Makefile (tests): Remove bug-fclose1.
11849 * libio/bug-fclose1.c: Delete.
11851 2012-12-01 Joseph Myers <joseph@codesourcery.com>
11853 * manual/arith.texi (feenableexcept): Fix typo.
11854 (fedisableexcept): Likewise.
11856 2012-11-30 Roland McGrath <roland@hack.frob.com>
11858 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11859 second, differently-typed declaration, rather than a cast.
11861 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11863 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11864 * include/rpc/svc.h: ... here.
11866 2012-11-30 Aurelien Jarno <aurel32@debian.org>
11869 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11870 depending n and resplen2 to catch cases where answer
11873 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11875 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11876 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11878 2012-11-29 Mike Frysinger <vapier@gentoo.org>
11880 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11882 2012-11-29 Roland McGrath <roland@hack.frob.com>
11884 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11886 2012-11-28 Jeff Law <law@redhat.com>
11889 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11890 dataset_temporary. Track alloca usage into alloca_used.
11891 If dataset is large allocate and release it via malloc/free.
11893 2012-06-04 Florian Weimer <fweimer@redhat.com>
11896 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11898 2012-11-28 David S. Miller <davem@davemloft.net>
11900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11902 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11905 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11906 of pi/2 rounded to nearest to 64 bits.
11907 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11908 nearest to 64 bits.
11909 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11912 2012-11-28 Jeff Law <law@redhat.com>
11913 Martin Osvald <mosvald@redhat.com>
11916 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11917 * sunrpc/svc.c: Include time.h.
11918 (__svc_accept_failed): New function.
11919 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11920 any reason other than EINTR, call __svc_accept_failed.
11921 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11922 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11924 2012-11-28 Andreas Schwab <schwab@suse.de>
11926 * scripts/abilist.awk: Also handle indirect functions in .opd
11929 2012-11-28 Joseph Myers <joseph@codesourcery.com>
11932 * sysdeps/x86/fpu/powl_helper.c: New file.
11933 * sysdeps/x86/fpu/Makefile: Likewise.
11934 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11936 (__ieee754_powl): Use __powl_helper for finite arguments except
11937 integer exponents below 8.
11938 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11940 (__ieee754_powl): Use __powl_helper for finite arguments except
11941 integer exponents below 8.
11942 * math/libm-test.inc (pow_test): Add more tests and enable some
11943 previously disabled tests.
11944 * sysdeps/i386/fpu/libm-test-ulps: Update.
11945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11947 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11948 Carlos O'Donell <carlos_odonell@mentor.com>
11950 * nss/makedb.c (is_prime): Assert that input is odd and greater
11951 than 4. Note that fact in a comment too.
11952 (next_prime): Add 4 to input.
11954 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11957 * libio/Makefile (tests): Add test case tst-fwrite-error.
11958 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11959 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11960 * libio/tst-fwrite-error.c: New test case.
11962 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11964 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11965 before casting to void *.
11966 * include/libc-internal.h (__pointer_type): New macro.
11967 (__integer_if_pointer_type_sub): Likewise.
11968 (__integer_if_pointer_type): Likewise.
11969 (cast_to_integer): Likewise.
11970 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11971 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11972 before casting to atomic64_t.
11973 (atomic_exchange_acq): Likewise.
11974 (__arch_exchange_and_add_body): Likewise.
11975 (__arch_add_body): Likewise.
11976 (atomic_add_negative): Likewise.
11977 (atomic_add_zero): Likewise.
11979 2012-11-26 Joseph Myers <joseph@codesourcery.com>
11981 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11982 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11983 (add_fdes): Likewise.
11984 (linear_search_fdes): Likewise.
11985 (binary_search_unencoded_fdes): Likewise.
11987 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11989 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11991 2012-11-24 Adam Conrad <adconrad@0c3.net>
11993 * configure.in: Autodetect C++ header directories.
11994 * configure: Regenerated.
11996 2012-11-23 Mike Frysinger <vapier@gentoo.org>
11998 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12000 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12004 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12006 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12007 LDBL_MANT_DIG == 106]: Disable some tests.
12008 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12010 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12014 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12015 input for small inputs. Return +/- pi/2 for large inputs.
12016 * math/libm-test.inc (atan_test): Add more tests.
12018 * sysdeps/generic/unwind-dw2-fde-glibc.c
12019 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12020 __attribute__ ((unused)).
12023 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12024 x * y if x and y are nonzero and z is zero.
12027 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12028 nonzero exponents with absolute value below 0x1p-117 to +/-
12032 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12033 up arguments below 2**-450, not just those below 2**-500.
12034 * math/libm-test.inc (hypot_test): Add another test.
12037 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12038 Return a+b for ratio over 2**120, not 2**60.
12039 * math/libm-test.inc (hypot_test): Add another test.
12041 * math/libm-test.inc (clog_test): Use
12042 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12043 (clog10_test): Likewise.
12046 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12048 2012-11-22 Andreas Schwab <schwab@suse.de>
12050 * sysdeps/i386/fpu/libm-test-ulps: Update.
12052 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12054 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12055 printf output with newline.
12057 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12060 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12061 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12062 -z nodlopen, -z initfirst and -z execstack support.
12063 * configure: Regenerated.
12065 * elf/elf.h (DF_1_NODIRECT): New macro.
12066 (DF_1_IGNMULDEF): Likewise.
12067 (DF_1_NOKSYMS): Likewise.
12068 (DF_1_NOHDR): Likewise.
12069 (DF_1_EDITED): Likewise.
12070 (DF_1_NORELOC): Likewise.
12071 (DF_1_SYMINTPOSE): Likewise.
12072 (DF_1_GLOBAUDIT): Likewise.
12073 (DF_1_SINGLETON): Likewise.
12074 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12075 DT_1_SUPPORTED_MASK bits.
12076 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12078 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12080 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12082 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12084 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12087 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12088 (sendmmsg): Move declarations...
12089 * socket/sys/socket.h: ... here.
12090 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12091 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12093 * socket/recvmmsg.c: ... this new file.
12094 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12095 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12096 definition of __sendmmsg hidden.
12097 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12098 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12099 Move ENOSYS stub into and include it from...
12100 * socket/sendmmsg.c: ... this new file.
12101 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12102 (sysdep_routines): Move recvmmsg and sendmmsg...
12103 * socket/Makefile (routines): ... here.
12104 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12105 (GLIBC_PRIVATE): Add __sendmmsg.
12106 * include/sys/socket.h (__sendmmsg): Add declarations.
12107 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12110 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12112 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12113 variable I1 with __attribute__ ((unused)).
12114 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12116 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12118 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12119 DUMMY variables with __attribute__ ((unused)).
12121 * bits/byteswap.h: Include <bits/types.h>.
12122 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12124 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12126 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12127 string_t. Do not manually set errno.
12128 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12129 length with __strnlen. Make sure to both set errno and return it on
12132 2012-11-19 David S. Miller <davem@davemloft.net>
12134 With help from Joseph Myers.
12135 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12136 very large arguments properly.
12137 * math/libm-test.inc (atan_test): New tests.
12138 (atan2_test): New tests.
12139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12142 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12145 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12148 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12149 [POSIX] (EADDRNOTAVAIL): Likewise.
12150 [POSIX] (EAFNOSUPPORT): Likewise.
12151 [POSIX] (EALREADY): Likewise.
12152 [POSIX] (ECONNABORTED): Likewise.
12153 [POSIX] (ECONNREFUSED): Likewise.
12154 [POSIX] (ECONNRESET): Likewise.
12155 [POSIX] (EDESTADDRREQ): Likewise.
12156 [POSIX] (EDQUOT): Likewise.
12157 [POSIX] (EHOSTUNREACH): Likewise.
12158 [POSIX] (EIDRM): Likewise.
12159 [POSIX] (EISCONN): Likewise.
12160 [POSIX] (ELOOP): Likewise.
12161 [POSIX] (EMULTIHOP): Likewise.
12162 [POSIX] (ENETDOWN): Likewise.
12163 [POSIX] (ENETUNREACH): Likewise.
12164 [POSIX] (ENOBUFS): Likewise.
12165 [POSIX] (ENODATA): Likewise.
12166 [POSIX] (ENOLINK): Likewise.
12167 [POSIX] (ENOMSG): Likewise.
12168 [POSIX] (ENOPROTOOPT): Likewise.
12169 [POSIX] (ENOSR): Likewise.
12170 [POSIX] (ENOSTR): Likewise.
12171 [POSIX] (ENOTCONN): Likewise.
12172 [POSIX] (ENOTSOCK): Likewise.
12173 [POSIX] (EOPNOTSUPP): Likewise.
12174 [POSIX] (EOVERFLOW): Likewise.
12175 [POSIX] (EPROTO): Likewise.
12176 [POSIX] (EPROTONOSUPPORT): Likewise.
12177 [POSIX] (EPROTOTYPE): Likewise.
12178 [POSIX] (ESTALE): Likewise.
12179 [POSIX] (ETIME): Likewise.
12180 [POSIX] (ETXTBSY): Likewise.
12181 [POSIX] (EWOULDBLOCK): Likewise.
12182 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12183 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12184 [POSIX] (SEEK_CUR): Likewise.
12185 [POSIX] (SEEK_END): Likewise.
12186 [POSIX || UNIX98] (mode_t): Do not require.
12187 [POSIX] (off_t): Likewise.
12188 [POSIX] (pid_t): Likewise.
12189 [POSIX] (sys/stat.h): Do not allow header.
12190 [POSIX] (unistd.h): Likewise.
12191 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12192 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12193 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12194 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12196 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12197 sigevent): Specify elements.
12198 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12200 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12201 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12203 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12204 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12205 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12206 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12207 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12208 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12209 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12210 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12211 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12212 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12213 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12214 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12215 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12216 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12218 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12220 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12222 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12224 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12225 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12226 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12227 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12228 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12229 Specify lower bound on value.
12230 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12231 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12232 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12233 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12234 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12235 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12236 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12237 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12239 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12241 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12242 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12243 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12244 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12245 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12246 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12247 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12248 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12249 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12250 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12251 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12252 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12253 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12254 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12255 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12256 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12258 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12260 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12261 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12262 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12263 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12264 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12265 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12267 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12268 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12269 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12270 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12271 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12272 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12273 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12275 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12276 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12277 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12278 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12279 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12280 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12281 specify as optional.
12282 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12283 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12284 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12285 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12286 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12287 [XPG3] (NL_LANGMAX): Likewise.
12288 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12289 [POSIX || XPG3] (NL_NMAX): Likewise.
12290 [POSIX || XPG3] (NL_SETMAX): Likewise.
12291 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12292 [XPG3] (NZERO): Likewise.
12293 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12294 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12295 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12296 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12297 (REG_ERANGE): Expect.
12298 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12300 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12301 Use (void) in prototype.
12302 [POSIX] (*_t): Allow.
12303 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12304 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12305 (WRDE_BADVAL): Expect.
12307 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12309 [XPG3 || XPG4] (O_RSYNC): Likewise.
12310 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12312 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12313 [XPG3 || XPG4] (sigqueue): Likewise.
12314 [XPG3 || XPG4] (sigtimedwait): Likewise.
12315 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12316 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12317 [XPG3 || XPG4] (vsnprintf): Likewise.
12318 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12320 [XPG3 || XPG4] (blksize_t): Likewise.
12321 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12323 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12324 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12325 [XPG3 || XPG4] (struct itimerspec): Likewise.
12326 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12327 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12328 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12329 [XPG3 || XPG4] (clockid_t): Likewise.
12330 [XPG3 || XPG4] (timer_t): Likewise.
12331 [XPG3 || XPG4] (clock_getres): Likewise.
12332 [XPG3 || XPG4] (clock_gettime): Likewise.
12333 [XPG3 || XPG4] (clock_settime): Likewise.
12334 [XPG3 || XPG4] (nanosleep): Likewise.
12335 [XPG3 || XPG4] (timer_create): Likewise.
12336 [XPG3 || XPG4] (timer_delete): Likewise.
12337 [XPG3 || XPG4] (timer_gettime): Likewise.
12338 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12339 [XPG3 || XPG4] (timer_settime): Likewise.
12340 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12341 [XPG3 || XPG4] (getlogin_r): Likewise.
12342 [XPG3 || XPG4] (pread): Likewise.
12343 [XPG3 || XPG4] (pthread_atfork): Likewise.
12344 [XPG3 || XPG4] (pwrite): Likewise.
12347 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12350 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12352 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12353 finalizing MALLSTREAM.
12355 * sysdeps/mach/hurd/syncfs.c: New file.
12357 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12360 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12361 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12362 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12363 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12364 (_nss_dns_gethostbyname4_r): Likewise.
12365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12366 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12368 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12371 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12373 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12375 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12376 * elf/cache.c (print_entry): Print ",AArch64" for
12379 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12380 * elf/cache.c (print_entry): Print ",hard-float" for
12383 2012-11-18 David S. Miller <davem@davemloft.net>
12385 With help from Joseph Myers.
12386 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12388 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12390 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12391 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12393 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12394 * math/libm-test.inc (y0_test): New tests.
12395 (y1_test): New tests.
12396 * sysdeps/i386/fpu/libm-test-ulps: Update.
12397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12400 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12402 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12404 * configure: Regenerated.
12406 2012-11-17 David S. Miller <davem@davemloft.net>
12409 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12410 nonzero exponents with absolute value below 0x1p-128 to +/-
12413 2012-11-17 Joseph Myers <joseph@codesourcery.com>
12415 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12417 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12419 * posix/getconf-speclist.c: New file.
12420 * posix/posix-envs.def: Likewise.
12421 * posix/confstr.c (START_ENV_GROUP): New macro.
12422 (END_ENV_GROUP): Likewise.
12423 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12424 (KNOWN_PRESENT_ENV_STRING): Likewise.
12425 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12426 (UNKNOWN_ENVIRONMENT): Likewise.
12427 (confstr): Include posix-envs.def instead of handling
12428 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12429 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12430 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12431 (END_ENV_GROUP): Likewise.
12432 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12433 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12434 (UNKNOWN_ENVIRONMENT): Likewise.
12435 (__sysconf): Include posix-envs.def instead of handling associated
12436 cases directly here.
12437 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12438 preprocessing getconf-speclist.c rather than running getconf or
12439 generating empty file.
12441 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12443 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12445 2012-11-16 Andrej Lajovic <natrij@gmail.com>
12448 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12450 2012-11-16 David S. Miller <davem@davemloft.net>
12452 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12453 smaller than LDBL_EPSILON/2.0L, just return xm1.
12455 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12457 * elf/tst-array1.c (init): Set constructor priority to 1000.
12458 (fini): Set destructor priority to 1000.
12459 * elf/tst-array2dep.c: Likewise.
12461 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12464 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12465 (_IO_new_file_xsputn): Also return EOF if none of the input
12466 data was written when overflow failed.
12467 * libio/iopadn.c (_IO_padn): Likewise.
12468 * libio/iowpadn.c (_IO_wpadn): Likewise.
12469 * stdio-common/tst-put-error.c: Add copyright notice.
12470 (do_test): Add case for printing padded string.
12471 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12472 _IO_padn returned error.
12473 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12474 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12477 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12479 * libio/libioP.h: Add comment note that the references to C++
12480 bits are now obsolete.
12482 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12484 * math/libm-test.inc (check_complex): Use asprintf.
12486 2012-11-14 Joseph Myers <joseph@codesourcery.com>
12488 * debug/pcprofiledump.c (print_version): Update copyright year.
12489 * malloc/memusagestat.c (print_version): Likewise.
12491 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12494 * elf/Makefile (tests): Add tst-audit8.
12495 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12496 ($(objpfx)tst-audit8.out): New target.
12497 (tst-audit8-ENV): New variable.
12498 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12499 audit if l_reloc_result is NULL.
12500 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12501 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12502 * elf/tst-audit8.c: New file.
12504 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12506 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12507 * misc/Makefile (CFLAGS-select.c): Define.
12508 * posix/Makefile (CFLAGS-pause.c): Define.
12510 2012-11-13 David S. Miller <davem@davemloft.net>
12512 * crypt/Makefile: Move test targets after toplevel Rules
12513 inclusion. Grab any necessary sysdep routines when linking.
12514 * crypt/md5.c (md5_process_block): Remove define, we will always
12515 name it __md5_process_block.
12516 (md5_finish_ctx): Update md5_process_block call.
12517 (md5_stream): Likewise.
12518 (md5_process_bytes): Likewise.
12519 (md5_process_block): Rename to __md5_process_block and move to ...
12520 * crypt/md5-block.c: ... here.
12521 * crypt/sha256.c (sha256_process_block): Move to ...
12522 * crypt/sha256-block.c: ... here.
12523 * crypt/sha512.c (sha512_process_block): Move to ...
12524 * crypt/sha512-block.c: ... here.
12525 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12527 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12528 * sysdeps/sparc/sparc64/multiarch/Makefile
12529 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12531 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12532 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12534 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12535 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12536 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12537 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12538 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12539 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12540 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12541 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12542 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12544 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12545 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12547 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12549 2012-11-13 Joseph Myers <joseph@codesourcery.com>
12551 * timezone/tzselect.ksh: Update from tzcode git revision
12552 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12553 * timezone/zdump.c: Likewise.
12554 * timezone/zic.c: Likewise.
12555 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12556 in TZVERSION setting, not $(PKGVERSION).
12557 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12558 REPORT_BUGS_TO settings.
12561 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12564 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12566 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12567 detection to immediately after _FP_ROUND().
12568 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12571 2012-11-11 David S. Miller <davem@davemloft.net>
12573 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12575 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12576 __close rather than their public counterparts.
12578 2012-11-10 Joseph Myers <joseph@codesourcery.com>
12580 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12582 [UNIX98] (sem_timedwait): Do not expect.
12583 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12584 [XPG4 || UNIX98] (sockatmark): Do not expect.
12585 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12586 (clock_getcpuclockid): Do not expect.
12587 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12588 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12590 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12591 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12592 [UNIX98] (vwscanf): Likewise.
12593 [UNIX98] (vswscanf): Likewise.
12595 2012-11-09 Joseph Myers <joseph@codesourcery.com>
12597 * timezone/version.h: Remove file.
12598 * timezone/README: Do not refer to version.h.
12599 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12600 $(objpfx)version.h.
12601 ($(objpfx)zdump.o): Likewise.
12602 ($(objpfx)version.h): New target.
12604 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12606 * timezone/README: Don't mention modification to tzselect.ksh.
12607 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12608 work on unmodified tzselect.ksh. Substitute version numbers in
12611 * Makefile (format-me): Remove.
12612 (INSTALL): Adjust indentation. Use commands directly instead of
12613 using $(format-me).
12615 * aclocal.m4 (ACX_PKGVERSION): New macro.
12616 (ACX_BUGURL): Likewise.
12617 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12618 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12619 (REPORT_BUGS_TO): Likewise.
12620 * configure: Regenerated.
12621 * config.h.in (PKGVERSION): New macro.
12622 (REPORT_BUGS_TO): Likewise.
12623 * config.make.in (PKGVERSION): New variable.
12624 (PKGVERSION_TEXI): Likewise.
12625 (REPORT_BUGS_TO): Likewise.
12626 (REPORT_BUGS_TEXI): Likewise.
12627 * Makefile (format-me): Use -I$(common-objpfx)manual.
12628 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12629 ($(common-objpfx)manual/%): New target.
12630 (manual/%): Remove target.
12631 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12632 (print_version): Use PKGVERSION.
12633 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12634 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12635 and REPORT_BUGS_TO.
12636 ($(objpfx)xtrace): Likewise.
12637 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12638 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12639 (print_version): Use PKGVERSION.
12640 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12641 (do_version): Use PKGVERSION.
12642 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12644 (common-ldd-rewrite): Likewise.
12645 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12646 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12647 (print_version): Use PKGVERSION.
12648 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12649 * elf/pldd.c (argp_program_bug_address): Remove variable.
12650 (more_help): New function.
12651 (argp): Use more_help.
12652 (print_version): Use PKGVERSION.
12653 * elf/sln.c (main): Use PKGVERSION.
12654 (usage): Use REPORT_BUGS_TO.
12655 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12656 (top level): Use PKGVERSION.
12657 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12658 (print_version): Use PKGVERSION.
12659 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12660 (print_version): Use PKGVERSION.
12661 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12662 (print_version): Use PKGVERSION.
12663 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12664 (print_version): Use PKGVERSION.
12665 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12666 (print_version): Use PKGVERSION.
12667 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12668 (print_version): Use PKGVERSION.
12669 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12671 ($(objpfx)memusage): Likewise.
12672 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12673 (do_version): Use PKGVERSION.
12674 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12675 (print_version): Use PKGVERSION.
12676 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12677 ($PKGVERSION): New variable.
12678 ($REPORT_BUGS_TO): Likewise.
12679 (usage): Use $REPORT_BUGS_TO.
12680 (top level): Use $PKGVERSION.
12681 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12682 ($(objpfx)pkgvers.texi): New rule.
12683 ($(objpfx)stamp-pkgvers): Likewise.
12684 * manual/install.texi: Include pkgvers.texi.
12685 (--with-pkgversion): Document new configure option.
12686 (--with-bugurl): Likewise.
12687 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12688 than necessarily for this particular distribution. Use
12689 REPORT_BUGS_TO for where to report bugs.
12690 * INSTALL: Regenerated.
12691 * manual/libc.texinfo: Include pkgvers.texi.
12692 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12693 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12694 (print_version): Use PKGVERSION.
12695 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12696 (print_version): Use PKGVERSION.
12697 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12698 (print_version): Use PKGVERSION.
12699 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12700 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12702 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12703 (print_version): Use PKGVERSION.
12704 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12705 (print_version): Use PKGVERSION.
12706 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12709 * timezone/checktab.awk: Update from tzcode 2012i.
12710 * timezone/ialloc.c: Likewise.
12711 * timezone/private.h: Likewise.
12712 * timezone/scheck.c: Likewise.
12713 * timezone/tzfile.h: Likewise.
12714 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12715 (TZVERSION): Hardcode tzcode version number.
12716 * timezone/zdump.c: Update from tzcode 2012i.
12717 * timezone/zic.c: Likewise.
12718 * timezone/version.h: New file.
12719 * timezone/README: Describe version.h. Update upstream location.
12722 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12723 (mktemp): Enable declaration.
12724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12725 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12727 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12729 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12731 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12733 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12735 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12737 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12741 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12742 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12743 for copies of such integer values.
12744 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12745 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12747 2012-11-09 Andreas Jaeger <aj@suse.de>
12749 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12750 definitions and declarations that are provided by
12751 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12753 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12755 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
12756 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12757 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12760 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12762 * elf/elf.h: Update comment before AArch64 relocations.
12764 2012-11-07 David S. Miller <davem@davemloft.net>
12766 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12767 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12768 (__start_context): Declare.
12769 (__makecontext_ret): Delete.
12770 (__makecontext): Hook up __start_context instead of
12772 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12773 (sysdep_routines): Add __start_context when in stdlib.
12775 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12777 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12778 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12779 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12781 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12782 (READELF): New variable. Use it instead of hardcoded "readelf".
12784 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12786 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12787 * sysdeps/x86/Makefile: Here.
12788 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12789 * sysdeps/x86/tst-xmmymm.sh: This.
12791 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12793 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12795 [UNIX98] (pthread_barrier_t): Do not expect.
12796 [UNIX98] (pthread_barrierattr_t): Likewise.
12797 [UNIX98] (pthread_spinlock_t): Likewise.
12798 [UNIX98] (pthread_barrier_destroy): Likewise.
12799 [UNIX98] (pthread_barrier_init): Likewise.
12800 [UNIX98] (pthread_barrier_wait): Likewise.
12801 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12802 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12803 [UNIX98] (pthread_barrierattr_init): Likewise.
12804 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12805 [UNIX98] (pthread_getcpuclockid): Likewise.
12806 [UNIX98] (pthread_mutex_timedlock): Likewise.
12807 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12808 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12809 [UNIX98] (pthread_sigmask): Likewise.
12810 [UNIX98] (pthread_spin_destroy): Likewise.
12811 [UNIX98] (pthread_spin_init): Likewise.
12812 [UNIX98] (pthread_spin_lock): Likewise.
12813 [UNIX98] (pthread_spin_trylock): Likewise.
12814 [UNIX98] (pthread_spin_unlock): Likewise.
12815 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12817 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12818 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12819 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12820 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12821 [XPG3 || XPG4] (pthread_key_t): Likewise.
12822 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12823 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12824 [XPG3 || XPG4] (pthread_once_t): Likewise.
12825 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12826 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12827 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12828 [XPG3 || XPG4] (pthread_t): Likewise.
12830 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12832 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12834 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12835 Change function return type to int.
12837 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12838 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12839 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12840 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12841 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12842 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12843 [!POSIX] (posix_madvise): Likewise.
12844 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12846 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12847 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12848 (mode_t): Likewise.
12849 (posix_mem_offset): Likewise.
12850 (posix_typed_mem_get_info): Likewise.
12851 (posix_typed_mem_open): Likewise.
12853 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12854 Change condition to [XOPEN2K8].
12856 * conform/conformtest.pl: Preprocess allow-header data with -x c
12857 instead of from stdin.
12858 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12859 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12860 [C99-based standards] (cerfc): Likewise.
12861 [C99-based standards] (cexp2): Likewise.
12862 [C99-based standards] (cexpm1): Likewise.
12863 [C99-based standards] (clog10): Likewise.
12864 [C99-based standards] (clog1p): Likewise.
12865 [C99-based standards] (clog2): Likewise.
12866 [C99-based standards] (clgamma): Likewise.
12867 [C99-based standards] (ctgamma): Likewise.
12868 [C99-based standards] (cerff): Likewise.
12869 [C99-based standards] (cerfcf): Likewise.
12870 [C99-based standards] (cexp2f): Likewise.
12871 [C99-based standards] (cexpm1f): Likewise.
12872 [C99-based standards] (clog10f): Likewise.
12873 [C99-based standards] (clog1pf): Likewise.
12874 [C99-based standards] (clog2f): Likewise.
12875 [C99-based standards] (clgammaf): Likewise.
12876 [C99-based standards] (ctgammaf): Likewise.
12877 [C99-based standards] (cerfl): Likewise.
12878 [C99-based standards] (cerfcl): Likewise.
12879 [C99-based standards] (cexp2l): Likewise.
12880 [C99-based standards] (cexpm1l): Likewise.
12881 [C99-based standards] (clog10l): Likewise.
12882 [C99-based standards] (clog1pl): Likewise.
12883 [C99-based standards] (clog2l): Likewise.
12884 [C99-based standards] (clgammal): Likewise.
12885 [C99-based standards] (ctgammal): Likewise.
12886 * conform/data/inttypes.h-data [C99-based standards]: Include
12887 stdint.h-data. Remove all expectations for stdint.h contents.
12888 [C99-based standards] (PRI*): Do not allow.
12889 [C99-based standards] (SCN*): Likewise.
12890 [C99-based standards] (*_t): Likewise.
12891 [C99-based-standards] (PRId8): Expect macro.
12892 [C99-based-standards] (PRIi8): Likewise.
12893 [C99-based-standards] (PRIo8): Likewise.
12894 [C99-based-standards] (PRIu8): Likewise.
12895 [C99-based-standards] (PRIx8): Likewise.
12896 [C99-based-standards] (PRIX8): Likewise.
12897 [C99-based-standards] (SCNd8): Likewise.
12898 [C99-based-standards] (SCNi8): Likewise.
12899 [C99-based-standards] (SCNo8): Likewise.
12900 [C99-based-standards] (SCNu8): Likewise.
12901 [C99-based-standards] (SCNx8): Likewise.
12902 [C99-based-standards] (PRIdLEAST8): Likewise.
12903 [C99-based-standards] (PRIiLEAST8): Likewise.
12904 [C99-based-standards] (PRIoLEAST8): Likewise.
12905 [C99-based-standards] (PRIuLEAST8): Likewise.
12906 [C99-based-standards] (PRIxLEAST8): Likewise.
12907 [C99-based-standards] (PRIXLEAST8): Likewise.
12908 [C99-based-standards] (SCNdLEAST8): Likewise.
12909 [C99-based-standards] (SCNiLEAST8): Likewise.
12910 [C99-based-standards] (SCNoLEAST8): Likewise.
12911 [C99-based-standards] (SCNuLEAST8): Likewise.
12912 [C99-based-standards] (SCNxLEAST8): Likewise.
12913 [C99-based-standards] (PRIdFAST8): Likewise.
12914 [C99-based-standards] (PRIiFAST8): Likewise.
12915 [C99-based-standards] (PRIoFAST8): Likewise.
12916 [C99-based-standards] (PRIuFAST8): Likewise.
12917 [C99-based-standards] (PRIxFAST8): Likewise.
12918 [C99-based-standards] (PRIXFAST8): Likewise.
12919 [C99-based-standards] (SCNdFAST8): Likewise.
12920 [C99-based-standards] (SCNiFAST8): Likewise.
12921 [C99-based-standards] (SCNoFAST8): Likewise.
12922 [C99-based-standards] (SCNuFAST8): Likewise.
12923 [C99-based-standards] (SCNxFAST8): Likewise.
12924 [C99-based-standards] (PRId16): Likewise.
12925 [C99-based-standards] (PRIi16): Likewise.
12926 [C99-based-standards] (PRIo16): Likewise.
12927 [C99-based-standards] (PRIu16): Likewise.
12928 [C99-based-standards] (PRIx16): Likewise.
12929 [C99-based-standards] (PRIX16): Likewise.
12930 [C99-based-standards] (SCNd16): Likewise.
12931 [C99-based-standards] (SCNi16): Likewise.
12932 [C99-based-standards] (SCNo16): Likewise.
12933 [C99-based-standards] (SCNu16): Likewise.
12934 [C99-based-standards] (SCNx16): Likewise.
12935 [C99-based-standards] (PRIdLEAST16): Likewise.
12936 [C99-based-standards] (PRIiLEAST16): Likewise.
12937 [C99-based-standards] (PRIoLEAST16): Likewise.
12938 [C99-based-standards] (PRIuLEAST16): Likewise.
12939 [C99-based-standards] (PRIxLEAST16): Likewise.
12940 [C99-based-standards] (PRIXLEAST16): Likewise.
12941 [C99-based-standards] (SCNdLEAST16): Likewise.
12942 [C99-based-standards] (SCNiLEAST16): Likewise.
12943 [C99-based-standards] (SCNoLEAST16): Likewise.
12944 [C99-based-standards] (SCNuLEAST16): Likewise.
12945 [C99-based-standards] (SCNxLEAST16): Likewise.
12946 [C99-based-standards] (PRIdFAST16): Likewise.
12947 [C99-based-standards] (PRIiFAST16): Likewise.
12948 [C99-based-standards] (PRIoFAST16): Likewise.
12949 [C99-based-standards] (PRIuFAST16): Likewise.
12950 [C99-based-standards] (PRIxFAST16): Likewise.
12951 [C99-based-standards] (PRIXFAST16): Likewise.
12952 [C99-based-standards] (SCNdFAST16): Likewise.
12953 [C99-based-standards] (SCNiFAST16): Likewise.
12954 [C99-based-standards] (SCNoFAST16): Likewise.
12955 [C99-based-standards] (SCNuFAST16): Likewise.
12956 [C99-based-standards] (SCNxFAST16): Likewise.
12957 [C99-based-standards] (PRId32): Likewise.
12958 [C99-based-standards] (PRIi32): Likewise.
12959 [C99-based-standards] (PRIo32): Likewise.
12960 [C99-based-standards] (PRIu32): Likewise.
12961 [C99-based-standards] (PRIx32): Likewise.
12962 [C99-based-standards] (PRIX32): Likewise.
12963 [C99-based-standards] (SCNd32): Likewise.
12964 [C99-based-standards] (SCNi32): Likewise.
12965 [C99-based-standards] (SCNo32): Likewise.
12966 [C99-based-standards] (SCNu32): Likewise.
12967 [C99-based-standards] (SCNx32): Likewise.
12968 [C99-based-standards] (PRIdLEAST32): Likewise.
12969 [C99-based-standards] (PRIiLEAST32): Likewise.
12970 [C99-based-standards] (PRIoLEAST32): Likewise.
12971 [C99-based-standards] (PRIuLEAST32): Likewise.
12972 [C99-based-standards] (PRIxLEAST32): Likewise.
12973 [C99-based-standards] (PRIXLEAST32): Likewise.
12974 [C99-based-standards] (SCNdLEAST32): Likewise.
12975 [C99-based-standards] (SCNiLEAST32): Likewise.
12976 [C99-based-standards] (SCNoLEAST32): Likewise.
12977 [C99-based-standards] (SCNuLEAST32): Likewise.
12978 [C99-based-standards] (SCNxLEAST32): Likewise.
12979 [C99-based-standards] (PRIdFAST32): Likewise.
12980 [C99-based-standards] (PRIiFAST32): Likewise.
12981 [C99-based-standards] (PRIoFAST32): Likewise.
12982 [C99-based-standards] (PRIuFAST32): Likewise.
12983 [C99-based-standards] (PRIxFAST32): Likewise.
12984 [C99-based-standards] (PRIXFAST32): Likewise.
12985 [C99-based-standards] (SCNdFAST32): Likewise.
12986 [C99-based-standards] (SCNiFAST32): Likewise.
12987 [C99-based-standards] (SCNoFAST32): Likewise.
12988 [C99-based-standards] (SCNuFAST32): Likewise.
12989 [C99-based-standards] (SCNxFAST32): Likewise.
12990 [C99-based-standards] (PRId64): Likewise.
12991 [C99-based-standards] (PRIi64): Likewise.
12992 [C99-based-standards] (PRIo64): Likewise.
12993 [C99-based-standards] (PRIu64): Likewise.
12994 [C99-based-standards] (PRIx64): Likewise.
12995 [C99-based-standards] (PRIX64): Likewise.
12996 [C99-based-standards] (SCNd64): Likewise.
12997 [C99-based-standards] (SCNi64): Likewise.
12998 [C99-based-standards] (SCNo64): Likewise.
12999 [C99-based-standards] (SCNu64): Likewise.
13000 [C99-based-standards] (SCNx64): Likewise.
13001 [C99-based-standards] (PRIdLEAST64): Likewise.
13002 [C99-based-standards] (PRIiLEAST64): Likewise.
13003 [C99-based-standards] (PRIoLEAST64): Likewise.
13004 [C99-based-standards] (PRIuLEAST64): Likewise.
13005 [C99-based-standards] (PRIxLEAST64): Likewise.
13006 [C99-based-standards] (PRIXLEAST64): Likewise.
13007 [C99-based-standards] (SCNdLEAST64): Likewise.
13008 [C99-based-standards] (SCNiLEAST64): Likewise.
13009 [C99-based-standards] (SCNoLEAST64): Likewise.
13010 [C99-based-standards] (SCNuLEAST64): Likewise.
13011 [C99-based-standards] (SCNxLEAST64): Likewise.
13012 [C99-based-standards] (PRIdFAST64): Likewise.
13013 [C99-based-standards] (PRIiFAST64): Likewise.
13014 [C99-based-standards] (PRIoFAST64): Likewise.
13015 [C99-based-standards] (PRIuFAST64): Likewise.
13016 [C99-based-standards] (PRIxFAST64): Likewise.
13017 [C99-based-standards] (PRIXFAST64): Likewise.
13018 [C99-based-standards] (SCNdFAST64): Likewise.
13019 [C99-based-standards] (SCNiFAST64): Likewise.
13020 [C99-based-standards] (SCNoFAST64): Likewise.
13021 [C99-based-standards] (SCNuFAST64): Likewise.
13022 [C99-based-standards] (SCNxFAST64): Likewise.
13023 [C99-based-standards] (PRIdMAX): Likewise.
13024 [C99-based-standards] (PRIiMAX): Likewise.
13025 [C99-based-standards] (PRIoMAX): Likewise.
13026 [C99-based-standards] (PRIuMAX): Likewise.
13027 [C99-based-standards] (PRIxMAX): Likewise.
13028 [C99-based-standards] (PRIXMAX): Likewise.
13029 [C99-based-standards] (SCNdMAX): Likewise.
13030 [C99-based-standards] (SCNiMAX): Likewise.
13031 [C99-based-standards] (SCNoMAX): Likewise.
13032 [C99-based-standards] (SCNuMAX): Likewise.
13033 [C99-based-standards] (SCNxMAX): Likewise.
13034 [C99-based-standards] (PRIdPTR): Likewise.
13035 [C99-based-standards] (PRIiPTR): Likewise.
13036 [C99-based-standards] (PRIoPTR): Likewise.
13037 [C99-based-standards] (PRIuPTR): Likewise.
13038 [C99-based-standards] (PRIxPTR): Likewise.
13039 [C99-based-standards] (PRIXPTR): Likewise.
13040 [C99-based-standards] (SCNdPTR): Likewise.
13041 [C99-based-standards] (SCNiPTR): Likewise.
13042 [C99-based-standards] (SCNoPTR): Likewise.
13043 [C99-based-standards] (SCNuPTR): Likewise.
13044 [C99-based-standards] (SCNxPTR): Likewise.
13045 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13047 * conform/data/stdint.h-data: Update comments to clarify
13049 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13051 [C99-based standards] (INT8_MAX): Likewise.
13052 [C99-based standards] (INT16_MIN): Likewise.
13053 [C99-based standards] (INT16_MAX): Likewise.
13054 [C99-based standards] (INT32_MIN): Likewise.
13055 [C99-based standards] (INT32_MAX): Likewise.
13056 [C99-based standards] (INT64_MIN): Likewise.
13057 [C99-based standards] (INT64_MAX): Likewise.
13058 [C99-based standards] (UINT8_MAX): Likewise.
13059 [C99-based standards] (UINT16_MAX): Likewise.
13060 [C99-based standards] (UINT32_MAX): Likewise.
13061 [C99-based standards] (UINT64_MAX): Likewise.
13062 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13063 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13064 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13065 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13066 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13067 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13068 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13069 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13070 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13071 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13072 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13073 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13074 [C99-based standards] (INT_FAST8_MIN): Likewise.
13075 [C99-based standards] (INT_FAST8_MAX): Likewise.
13076 [C99-based standards] (INT_FAST16_MIN): Likewise.
13077 [C99-based standards] (INT_FAST16_MAX): Likewise.
13078 [C99-based standards] (INT_FAST32_MIN): Likewise.
13079 [C99-based standards] (INT_FAST32_MAX): Likewise.
13080 [C99-based standards] (INT_FAST64_MIN): Likewise.
13081 [C99-based standards] (INT_FAST64_MAX): Likewise.
13082 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13083 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13084 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13085 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13086 [C99-based standards] (INTPTR_MIN): Likewise.
13087 [C99-based standards] (INTPTR_MAX): Likewise.
13088 [C99-based standards] (UINTPTR_MAX): Likewise.
13089 [C99-based standards] (INTMAX_MIN): Likewise.
13090 [C99-based standards] (INTMAX_MAX): Likewise.
13091 [C99-based standards] (UINTMAX_MAX): Likewise.
13092 [C99-based standards] (PTRDIFF_MIN): Likewise.
13093 [C99-based standards] (PTRDIFF_MAX): Likewise.
13094 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13095 [C99-based standards] (SIZE_MAX): Likewise.
13096 [C99-based standards] (WCHAR_MAX): Likewise.
13097 [C99-based standards] (WINT_MAX): Likewise.
13098 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13099 constraint on value.
13100 [C99-based standards] (WCHAR_MIN): Likewise.
13101 [C99-based standards] (WINT_MIN): Likewise.
13102 [C99-based standards] (*_t): Allow.
13103 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13104 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13105 Include math.h-data and complex.h-data. Remove all expectations
13106 of math.h and complex.h contents.
13107 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13109 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13110 (struct tm): Expect tag.
13111 [C99-based-standards] (wcstof): Expect function.
13112 [C99-based-standards] (wcstold): Likewise.
13113 [C99-based-standards] (wcstoll): Likewise.
13114 [C99-based-standards] (wcstoull): Likewise.
13115 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13116 macro-int-constant. Specify type.
13117 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13118 constraint on value.
13119 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13121 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13123 [ISO C standards]: Do not allow headers.
13124 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13125 wcs[abcdefghijklmnopqrstuvwxyz]*.
13126 [ISO C standards] (*_t): Do not allow.
13127 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13129 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13130 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13132 [ISO C standards]: Do not allow headers.
13133 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13134 is[abcdefghijklmnopqrstuvwxyz]*.
13135 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13136 to[abcdefghijklmnopqrstuvwxyz]*.
13137 [ISO C standards] (*_t): Do not allow.
13138 * conform/data/stdalign.h-data: New file.
13139 * conform/data/stdbool.h-data: Likewise.
13140 * conform/data/stdnoreturn.h-data: Likewise.
13142 2012-11-07 Roland McGrath <roland@hack.frob.com>
13145 * manual/filesys.texi (Directory Entries): Typo fix.
13146 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13148 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13150 * elf/elf.h (EM_AARCH64): New macro.
13151 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13152 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13153 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13154 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13155 (R_AARCH64_TLSDESC): Likewise.
13156 (NT_ARM_TLS): Likewise.
13157 (NT_ARM_HW_BREAK): Likewise.
13158 (NT_ARM_HW_WATCH): Likewise.
13160 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13163 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13164 (__ieee754_powl): Saturate nonzero exponents with absolute value
13165 below 0x1p-79 to +/- 0x1p-79.
13166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13167 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13168 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13169 nonzero exponents with absolute value below 0x1p-32 to +/-
13171 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13172 (__ieee754_powl): Saturate nonzero exponents with absolute value
13173 below 0x1p-79 to +/- 0x1p-79.
13174 * math/libm-test.inc (pow_test): Add more tests.
13176 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13178 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13179 _dl_s390_cap_flags with kernel. Increase string length.
13180 (_dl_s390_platforms): Add z196 and zEC12.
13182 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13184 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13185 Change XOPEN21K to XOPEN2K.
13187 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13189 * string/memmove.c: Use memcpy when possible.
13191 2012-11-06 Andreas Jaeger <aj@suse.de>
13193 * po/eo.po: Update from translation team.
13195 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13199 exponent and small x and y exponents, scale x or y up. Increase
13200 by 2 the exponent used in scaling up.
13201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13202 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13203 * math/libm-test.inc (fma_test): Add more tests.
13204 (fma_test_towardzero): Likewise.
13205 (fma_test_downward): Likewise.
13206 (fma_test_upward): Likewise.
13208 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13211 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13215 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13216 namespace for names of struct fields.
13217 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13219 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13220 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13222 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13225 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13227 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13229 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13233 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13236 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13240 definitely overflow as x * y not x * y + z.
13241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13242 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13243 * math/libm-test.inc (fma_test): Add more tests.
13244 (fma_test_towardzero): Likewise.
13245 (fma_test_downward): Likewise.
13246 (fma_test_upward): Likewise.
13248 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13252 * include/stub-tag.h: Remove file.
13253 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13255 * manual/maint.texi (Porting): Don't reference it.
13256 * Makerules ($(objpfx)stubs): Likewise.
13257 * dirent/closedir.c: Don't include <stub-tag.h>.
13258 * dirent/dirfd.c: Likewise.
13259 * dirent/fdopendir.c: Likewise.
13260 * dirent/getdents.c: Likewise.
13261 * dirent/getdents64.c: Likewise.
13262 * dirent/opendir.c: Likewise.
13263 * dirent/readdir.c: Likewise.
13264 * dirent/readdir64.c: Likewise.
13265 * dirent/readdir64_r.c: Likewise.
13266 * dirent/readdir_r.c: Likewise.
13267 * dirent/rewinddir.c: Likewise.
13268 * dirent/seekdir.c: Likewise.
13269 * dirent/telldir.c: Likewise.
13270 * gmon/profil.c: Likewise.
13271 * grp/setgroups.c: Likewise.
13272 * inet/if_index.c: Likewise.
13273 * io/access.c: Likewise.
13274 * io/chdir.c: Likewise.
13275 * io/chmod.c: Likewise.
13276 * io/chown.c: Likewise.
13277 * io/close.c: Likewise.
13278 * io/dup.c: Likewise.
13279 * io/dup2.c: Likewise.
13280 * io/dup3.c: Likewise.
13281 * io/euidaccess.c: Likewise.
13282 * io/faccessat.c: Likewise.
13283 * io/fchdir.c: Likewise.
13284 * io/fchmod.c: Likewise.
13285 * io/fchmodat.c: Likewise.
13286 * io/fchown.c: Likewise.
13287 * io/fchownat.c: Likewise.
13288 * io/fcntl.c: Likewise.
13289 * io/flock.c: Likewise.
13290 * io/fstatfs.c: Likewise.
13291 * io/fstatfs64.c: Likewise.
13292 * io/fstatvfs.c: Likewise.
13293 * io/fstatvfs64.c: Likewise.
13294 * io/futimens.c: Likewise.
13295 * io/fxstat.c: Likewise.
13296 * io/fxstat64.c: Likewise.
13297 * io/fxstatat.c: Likewise.
13298 * io/fxstatat64.c: Likewise.
13299 * io/getcwd.c: Likewise.
13300 * io/isatty.c: Likewise.
13301 * io/lchmod.c: Likewise.
13302 * io/lchown.c: Likewise.
13303 * io/link.c: Likewise.
13304 * io/linkat.c: Likewise.
13305 * io/lseek.c: Likewise.
13306 * io/lseek64.c: Likewise.
13307 * io/lxstat64.c: Likewise.
13308 * io/mkdir.c: Likewise.
13309 * io/mkdirat.c: Likewise.
13310 * io/mkfifo.c: Likewise.
13311 * io/mkfifoat.c: Likewise.
13312 * io/open.c: Likewise.
13313 * io/open64.c: Likewise.
13314 * io/openat.c: Likewise.
13315 * io/openat64.c: Likewise.
13316 * io/pipe.c: Likewise.
13317 * io/pipe2.c: Likewise.
13318 * io/poll.c: Likewise.
13319 * io/posix_fadvise.c: Likewise.
13320 * io/posix_fadvise64.c: Likewise.
13321 * io/posix_fallocate.c: Likewise.
13322 * io/posix_fallocate64.c: Likewise.
13323 * io/read.c: Likewise.
13324 * io/readlink.c: Likewise.
13325 * io/readlinkat.c: Likewise.
13326 * io/rmdir.c: Likewise.
13327 * io/sendfile.c: Likewise.
13328 * io/sendfile64.c: Likewise.
13329 * io/statfs.c: Likewise.
13330 * io/statfs64.c: Likewise.
13331 * io/statvfs.c: Likewise.
13332 * io/statvfs64.c: Likewise.
13333 * io/symlink.c: Likewise.
13334 * io/symlinkat.c: Likewise.
13335 * io/ttyname.c: Likewise.
13336 * io/ttyname_r.c: Likewise.
13337 * io/umask.c: Likewise.
13338 * io/unlink.c: Likewise.
13339 * io/unlinkat.c: Likewise.
13340 * io/utime.c: Likewise.
13341 * io/utimensat.c: Likewise.
13342 * io/write.c: Likewise.
13343 * io/xmknod.c: Likewise.
13344 * io/xmknodat.c: Likewise.
13345 * io/xstat.c: Likewise.
13346 * io/xstat64.c: Likewise.
13347 * login/getpt.c: Likewise.
13348 * login/grantpt.c: Likewise.
13349 * login/unlockpt.c: Likewise.
13350 * math/e_acoshl.c: Likewise.
13351 * math/e_acosl.c: Likewise.
13352 * math/e_asinl.c: Likewise.
13353 * math/e_atan2l.c: Likewise.
13354 * math/e_atanhl.c: Likewise.
13355 * math/e_coshl.c: Likewise.
13356 * math/e_expl.c: Likewise.
13357 * math/e_fmodl.c: Likewise.
13358 * math/e_gammal_r.c: Likewise.
13359 * math/e_hypotl.c: Likewise.
13360 * math/e_j0l.c: Likewise.
13361 * math/e_j1l.c: Likewise.
13362 * math/e_jnl.c: Likewise.
13363 * math/e_lgammal_r.c: Likewise.
13364 * math/e_log10l.c: Likewise.
13365 * math/e_log2l.c: Likewise.
13366 * math/e_logl.c: Likewise.
13367 * math/e_powl.c: Likewise.
13368 * math/e_rem_pio2l.c: Likewise.
13369 * math/e_sinhl.c: Likewise.
13370 * math/e_sqrtl.c: Likewise.
13371 * math/fclrexcpt.c: Likewise.
13372 * math/fedisblxcpt.c: Likewise.
13373 * math/feenablxcpt.c: Likewise.
13374 * math/fegetenv.c: Likewise.
13375 * math/fegetexcept.c: Likewise.
13376 * math/fegetround.c: Likewise.
13377 * math/feholdexcpt.c: Likewise.
13378 * math/fesetenv.c: Likewise.
13379 * math/fesetround.c: Likewise.
13380 * math/feupdateenv.c: Likewise.
13381 * math/fgetexcptflg.c: Likewise.
13382 * math/fraiseexcpt.c: Likewise.
13383 * math/fsetexcptflg.c: Likewise.
13384 * math/ftestexcept.c: Likewise.
13385 * math/k_cosl.c: Likewise.
13386 * math/k_rem_pio2l.c: Likewise.
13387 * math/k_sinl.c: Likewise.
13388 * math/k_tanl.c: Likewise.
13389 * math/s_asinhl.c: Likewise.
13390 * math/s_atanl.c: Likewise.
13391 * math/s_cbrtl.c: Likewise.
13392 * math/s_erfl.c: Likewise.
13393 * math/s_expm1l.c: Likewise.
13394 * math/s_log1pl.c: Likewise.
13395 * math/s_tanhl.c: Likewise.
13396 * misc/acct.c: Likewise.
13397 * misc/brk.c: Likewise.
13398 * misc/chflags.c: Likewise.
13399 * misc/chroot.c: Likewise.
13400 * misc/fchflags.c: Likewise.
13401 * misc/fgetxattr.c: Likewise.
13402 * misc/flistxattr.c: Likewise.
13403 * misc/fremovexattr.c: Likewise.
13404 * misc/fsetxattr.c: Likewise.
13405 * misc/fsync.c: Likewise.
13406 * misc/ftruncate.c: Likewise.
13407 * misc/futimes.c: Likewise.
13408 * misc/futimesat.c: Likewise.
13409 * misc/getdomain.c: Likewise.
13410 * misc/getdtsz.c: Likewise.
13411 * misc/gethostid.c: Likewise.
13412 * misc/gethostname.c: Likewise.
13413 * misc/getloadavg.c: Likewise.
13414 * misc/getpagesize.c: Likewise.
13415 * misc/getsysstats.c: Likewise.
13416 * misc/getxattr.c: Likewise.
13417 * misc/gtty.c: Likewise.
13418 * misc/ioctl.c: Likewise.
13419 * misc/lgetxattr.c: Likewise.
13420 * misc/listxattr.c: Likewise.
13421 * misc/llistxattr.c: Likewise.
13422 * misc/lremovexattr.c: Likewise.
13423 * misc/lsetxattr.c: Likewise.
13424 * misc/lutimes.c: Likewise.
13425 * misc/madvise.c: Likewise.
13426 * misc/mincore.c: Likewise.
13427 * misc/mlock.c: Likewise.
13428 * misc/mlockall.c: Likewise.
13429 * misc/mmap.c: Likewise.
13430 * misc/mprotect.c: Likewise.
13431 * misc/msync.c: Likewise.
13432 * misc/munlock.c: Likewise.
13433 * misc/munlockall.c: Likewise.
13434 * misc/munmap.c: Likewise.
13435 * misc/preadv.c: Likewise.
13436 * misc/preadv64.c: Likewise.
13437 * misc/ptrace.c: Likewise.
13438 * misc/pwritev.c: Likewise.
13439 * misc/pwritev64.c: Likewise.
13440 * misc/readv.c: Likewise.
13441 * misc/reboot.c: Likewise.
13442 * misc/remap_file_pages.c: Likewise.
13443 * misc/removexattr.c: Likewise.
13444 * misc/revoke.c: Likewise.
13445 * misc/select.c: Likewise.
13446 * misc/setdomain.c: Likewise.
13447 * misc/setegid.c: Likewise.
13448 * misc/seteuid.c: Likewise.
13449 * misc/sethostid.c: Likewise.
13450 * misc/sethostname.c: Likewise.
13451 * misc/setregid.c: Likewise.
13452 * misc/setreuid.c: Likewise.
13453 * misc/setxattr.c: Likewise.
13454 * misc/sstk.c: Likewise.
13455 * misc/stty.c: Likewise.
13456 * misc/swapoff.c: Likewise.
13457 * misc/swapon.c: Likewise.
13458 * misc/sync.c: Likewise.
13459 * misc/syncfs.c: Likewise.
13460 * misc/syscall.c: Likewise.
13461 * misc/truncate.c: Likewise.
13462 * misc/ualarm.c: Likewise.
13463 * misc/usleep.c: Likewise.
13464 * misc/ustat.c: Likewise.
13465 * misc/utimes.c: Likewise.
13466 * misc/vhangup.c: Likewise.
13467 * misc/writev.c: Likewise.
13468 * posix/_exit.c: Likewise.
13469 * posix/alarm.c: Likewise.
13470 * posix/execve.c: Likewise.
13471 * posix/fexecve.c: Likewise.
13472 * posix/fork.c: Likewise.
13473 * posix/fpathconf.c: Likewise.
13474 * posix/getaddrinfo.c: Likewise.
13475 * posix/getegid.c: Likewise.
13476 * posix/geteuid.c: Likewise.
13477 * posix/getgid.c: Likewise.
13478 * posix/getgroups.c: Likewise.
13479 * posix/getlogin.c: Likewise.
13480 * posix/getlogin_r.c: Likewise.
13481 * posix/getpgid.c: Likewise.
13482 * posix/getpid.c: Likewise.
13483 * posix/getppid.c: Likewise.
13484 * posix/getresgid.c: Likewise.
13485 * posix/getresuid.c: Likewise.
13486 * posix/getsid.c: Likewise.
13487 * posix/getuid.c: Likewise.
13488 * posix/glob64.c: Likewise.
13489 * posix/nanosleep.c: Likewise.
13490 * posix/pathconf.c: Likewise.
13491 * posix/pause.c: Likewise.
13492 * posix/posix_madvise.c: Likewise.
13493 * posix/pread.c: Likewise.
13494 * posix/pread64.c: Likewise.
13495 * posix/pwrite.c: Likewise.
13496 * posix/pwrite64.c: Likewise.
13497 * posix/sched_getaffinity.c: Likewise.
13498 * posix/sched_getp.c: Likewise.
13499 * posix/sched_gets.c: Likewise.
13500 * posix/sched_primax.c: Likewise.
13501 * posix/sched_primin.c: Likewise.
13502 * posix/sched_rr_gi.c: Likewise.
13503 * posix/sched_setaffinity.c: Likewise.
13504 * posix/sched_setp.c: Likewise.
13505 * posix/sched_sets.c: Likewise.
13506 * posix/sched_yield.c: Likewise.
13507 * posix/setgid.c: Likewise.
13508 * posix/setlogin.c: Likewise.
13509 * posix/setpgid.c: Likewise.
13510 * posix/setresgid.c: Likewise.
13511 * posix/setresuid.c: Likewise.
13512 * posix/setsid.c: Likewise.
13513 * posix/setuid.c: Likewise.
13514 * posix/sleep.c: Likewise.
13515 * posix/spawni.c: Likewise.
13516 * posix/sysconf.c: Likewise.
13517 * posix/times.c: Likewise.
13518 * posix/wait.c: Likewise.
13519 * posix/wait3.c: Likewise.
13520 * posix/wait4.c: Likewise.
13521 * posix/waitpid.c: Likewise.
13522 * resolv/gai_sigqueue.c: Likewise.
13523 * resource/getpriority.c: Likewise.
13524 * resource/getrlimit.c: Likewise.
13525 * resource/getrusage.c: Likewise.
13526 * resource/nice.c: Likewise.
13527 * resource/setpriority.c: Likewise.
13528 * resource/setrlimit.c: Likewise.
13529 * resource/ulimit.c: Likewise.
13530 * rt/aio_cancel.c: Likewise.
13531 * rt/aio_fsync.c: Likewise.
13532 * rt/aio_read.c: Likewise.
13533 * rt/aio_sigqueue.c: Likewise.
13534 * rt/aio_suspend.c: Likewise.
13535 * rt/aio_write.c: Likewise.
13536 * rt/clock_getres.c: Likewise.
13537 * rt/clock_gettime.c: Likewise.
13538 * rt/clock_nanosleep.c: Likewise.
13539 * rt/clock_settime.c: Likewise.
13540 * rt/lio_listio.c: Likewise.
13541 * rt/mq_close.c: Likewise.
13542 * rt/mq_getattr.c: Likewise.
13543 * rt/mq_notify.c: Likewise.
13544 * rt/mq_open.c: Likewise.
13545 * rt/mq_receive.c: Likewise.
13546 * rt/mq_send.c: Likewise.
13547 * rt/mq_setattr.c: Likewise.
13548 * rt/mq_timedreceive.c: Likewise.
13549 * rt/mq_timedsend.c: Likewise.
13550 * rt/mq_unlink.c: Likewise.
13551 * rt/shm_open.c: Likewise.
13552 * rt/shm_unlink.c: Likewise.
13553 * rt/timer_create.c: Likewise.
13554 * rt/timer_delete.c: Likewise.
13555 * rt/timer_getoverr.c: Likewise.
13556 * rt/timer_gettime.c: Likewise.
13557 * rt/timer_settime.c: Likewise.
13558 * setjmp/__longjmp.c: Likewise.
13559 * setjmp/setjmp.c: Likewise.
13560 * signal/kill.c: Likewise.
13561 * signal/killpg.c: Likewise.
13562 * signal/raise.c: Likewise.
13563 * signal/sigaction.c: Likewise.
13564 * signal/sigaltstack.c: Likewise.
13565 * signal/sigblock.c: Likewise.
13566 * signal/sigignore.c: Likewise.
13567 * signal/sigintr.c: Likewise.
13568 * signal/signal.c: Likewise.
13569 * signal/sigpause.c: Likewise.
13570 * signal/sigpending.c: Likewise.
13571 * signal/sigqueue.c: Likewise.
13572 * signal/sigreturn.c: Likewise.
13573 * signal/sigset.c: Likewise.
13574 * signal/sigsetmask.c: Likewise.
13575 * signal/sigstack.c: Likewise.
13576 * signal/sigsuspend.c: Likewise.
13577 * signal/sigtimedwait.c: Likewise.
13578 * signal/sigvec.c: Likewise.
13579 * signal/sigwait.c: Likewise.
13580 * signal/sigwaitinfo.c: Likewise.
13581 * signal/sysv_signal.c: Likewise.
13582 * socket/accept.c: Likewise.
13583 * socket/accept4.c: Likewise.
13584 * socket/bind.c: Likewise.
13585 * socket/connect.c: Likewise.
13586 * socket/getpeername.c: Likewise.
13587 * socket/getsockname.c: Likewise.
13588 * socket/getsockopt.c: Likewise.
13589 * socket/isfdtype.c: Likewise.
13590 * socket/listen.c: Likewise.
13591 * socket/recv.c: Likewise.
13592 * socket/recvfrom.c: Likewise.
13593 * socket/recvmsg.c: Likewise.
13594 * socket/send.c: Likewise.
13595 * socket/sendmsg.c: Likewise.
13596 * socket/sendto.c: Likewise.
13597 * socket/setsockopt.c: Likewise.
13598 * socket/shutdown.c: Likewise.
13599 * socket/sockatmark.c: Likewise.
13600 * socket/socket.c: Likewise.
13601 * socket/socketpair.c: Likewise.
13602 * stdio-common/ctermid.c: Likewise.
13603 * stdio-common/cuserid.c: Likewise.
13604 * stdio-common/remove.c: Likewise.
13605 * stdio-common/rename.c: Likewise.
13606 * stdio-common/renameat.c: Likewise.
13607 * stdio-common/tempname.c: Likewise.
13608 * stdlib/getcontext.c: Likewise.
13609 * stdlib/makecontext.c: Likewise.
13610 * stdlib/setcontext.c: Likewise.
13611 * stdlib/swapcontext.c: Likewise.
13612 * stdlib/system.c: Likewise.
13613 * streams/fattach.c: Likewise.
13614 * streams/fdetach.c: Likewise.
13615 * streams/getmsg.c: Likewise.
13616 * streams/getpmsg.c: Likewise.
13617 * streams/putmsg.c: Likewise.
13618 * streams/putpmsg.c: Likewise.
13619 * sysdeps/unix/bsd/getpt.c: Likewise.
13620 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13621 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13622 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13625 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13626 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13627 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13628 * sysvipc/msgctl.c: Likewise.
13629 * sysvipc/msgget.c: Likewise.
13630 * sysvipc/msgrcv.c: Likewise.
13631 * sysvipc/msgsnd.c: Likewise.
13632 * sysvipc/semctl.c: Likewise.
13633 * sysvipc/semget.c: Likewise.
13634 * sysvipc/semop.c: Likewise.
13635 * sysvipc/semtimedop.c: Likewise.
13636 * sysvipc/shmat.c: Likewise.
13637 * sysvipc/shmctl.c: Likewise.
13638 * sysvipc/shmdt.c: Likewise.
13639 * sysvipc/shmget.c: Likewise.
13640 * termios/tcdrain.c: Likewise.
13641 * termios/tcflow.c: Likewise.
13642 * termios/tcflush.c: Likewise.
13643 * termios/tcgetattr.c: Likewise.
13644 * termios/tcgetpgrp.c: Likewise.
13645 * termios/tcsendbrk.c: Likewise.
13646 * termios/tcsetattr.c: Likewise.
13647 * termios/tcsetpgrp.c: Likewise.
13648 * time/adjtime.c: Likewise.
13649 * time/clock.c: Likewise.
13650 * time/getitimer.c: Likewise.
13651 * time/gettimeofday.c: Likewise.
13652 * time/setitimer.c: Likewise.
13653 * time/settimeofday.c: Likewise.
13654 * time/stime.c: Likewise.
13655 * time/time.c: Likewise.
13657 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
13659 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13662 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13664 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13666 2012-11-03 Joseph Myers <joseph@codesourcery.com>
13669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13670 FE_TONEAREST before applying Dekker multiplication and Knuth
13671 addition. Clear inexact exceptions and check for exact zero
13672 results afterwards.
13673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13674 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13675 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13676 * math/libm-test.inc (fma_test): Add more tests.
13677 (fma_test_towardzero): Likewise.
13678 (fma_test_downward): Likewise.
13679 (fma_test_upward): Likewise.
13680 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13682 (libc_fesetround): New macro.
13683 (libc_fesetroundf): Likewise.
13684 (libc_fesetroundl): Likewise.
13685 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13687 (libc_fesetround_387): Likewise.
13688 (libc_fesetroundf): New macro.
13689 (libc_fesetround): Likewise.
13690 (libc_fesetroundl): Likewise.
13691 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13693 (libc_fesetroundf): New macro.
13694 (libc_fesetround): Likewise.
13695 (libc_fesetroundl): Likewise.
13696 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13697 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13698 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13700 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13701 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13703 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13704 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13706 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13710 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13711 integer constant usable in #if and use that to give value to enum
13713 (FE_DIVBYZERO): Likewise.
13714 (FE_UNDERFLOW): Likewise.
13715 (FE_OVERFLOW): Likewise.
13716 (FE_INVALID): Likewise.
13717 (FE_INVALID_SNAN): Likewise.
13718 (FE_INVALID_ISI): Likewise.
13719 (FE_INVALID_IDI): Likewise.
13720 (FE_INVALID_ZDZ): Likewise.
13721 (FE_INVALID_IMZ): Likewise.
13722 (FE_INVALID_COMPARE): Likewise.
13723 (FE_INVALID_SOFTWARE): Likewise.
13724 (FE_INVALID_SQRT): Likewise.
13725 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13726 (FE_TONEAREST): Likewise.
13727 (FE_TOWARDZERO): Likewise.
13728 (FE_UPWARD): Likewise.
13729 (FE_DOWNWARD): Likewise.
13730 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13731 (FE_DIVBYZERO): Likewise.
13732 (FE_OVERFLOW): Likewise.
13733 (FE_UNDERFLOW): Likewise.
13734 (FE_INEXACT): Likewise.
13735 (FE_TONEAREST): Likewise.
13736 (FE_DOWNWARD): Likewise.
13737 (FE_UPWARD): Likewise.
13738 (FE_TOWARDZERO): Likewise.
13739 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13740 (FE_UNDERFLOW): Likewise.
13741 (FE_OVERFLOW): Likewise.
13742 (FE_DIVBYZERO): Likewise.
13743 (FE_INVALID): Likewise.
13744 (FE_TONEAREST): Likewise.
13745 (FE_TOWARDZERO): Likewise.
13746 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13747 (FE_OVERFLOW): Likewise.
13748 (FE_UNDERFLOW): Likewise.
13749 (FE_DIVBYZERO): Likewise.
13750 (FE_INEXACT): Likewise.
13751 (FE_TONEAREST): Likewise.
13752 (FE_TOWARDZERO): Likewise.
13753 (FE_UPWARD): Likewise.
13754 (FE_DOWNWARD): Likewise.
13755 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13756 (FE_DIVBYZERO): Likewise.
13757 (FE_OVERFLOW): Likewise.
13758 (FE_UNDERFLOW): Likewise.
13759 (FE_INEXACT): Likewise.
13760 (FE_TONEAREST): Likewise.
13761 (FE_DOWNWARD): Likewise.
13762 (FE_UPWARD): Likewise.
13763 (FE_TOWARDZERO): Likewise.
13765 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13767 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13769 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13771 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13772 commands. Quote $PWD.
13773 (blacklist_exports): Don't use remove_newlines. Replace "declare
13775 (remove_newlines): Remove.
13777 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13779 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13780 * stdlib/stdlib.h (atof): Moved to ...
13781 * include/bits/stdlib-float.h: Here. New file.
13782 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13783 * stdlib/bits/stdlib-float.h: New file.
13784 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13786 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13789 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13791 * conform/conformtest.pl (@headers): Add fenv.h.
13792 * conform/data/fenv.h-data: New file.
13793 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13794 include of <math/fenv.h>.
13796 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13797 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13798 && !UNIX98]. Enables tests for XOPEN2K8.
13799 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13800 POSIX2008]: Likewise.
13802 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13803 (struct rusage): Do not expect type or its members.
13806 * math/math.h (FP_NAN): Define macro to integer constant usable in
13807 #if and use that to give value to enum constant.
13808 (FP_INFINITE): Likewise.
13809 (FP_ZERO): Likewise.
13810 (FP_SUBNORMAL): Likewise.
13811 (FP_NORMAL): Likewise.
13813 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13815 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13816 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13819 2012-11-02 Roland McGrath <roland@hack.frob.com>
13821 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13822 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13823 autoconf-time if not.
13824 * configure.in: Remove AC_PREREQ.
13826 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13828 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13829 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13830 of the internal implementation.
13832 2012-11-02 Joseph Myers <joseph@codesourcery.com>
13834 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13835 except include of <misc/sys/syslog.h>.
13837 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13840 function returns with a NULL context exit with zero.
13842 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13844 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13846 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13848 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13849 (run_program_cmd): This.
13850 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13851 (tst_langinfo): New variable. Use it.
13853 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13855 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13856 floating point opcodes.
13858 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13860 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13863 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13865 * sysdeps/mach/hurd/powerpc: Remove directory.
13866 * sysdeps/mach/powerpc: Likewise.
13868 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13870 * scripts/check-local-headers.sh: Ignore c++ headers.
13872 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13874 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13875 __libc_cleanup_region_start argument.
13877 2012-11-01 Joseph Myers <joseph@codesourcery.com>
13881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13882 x * y using scaling, not as x * y + z.
13883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13884 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13885 * math/libm-test.inc (fma_test): Add more tests.
13886 (fma_test_towardzero): Likewise.
13887 (fma_test_downward): Likewise.
13888 (fma_test_upward): Likewise.
13890 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13892 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13894 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13896 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13899 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13901 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13903 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13910 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13913 Fix the order of the list for glibc 2.17.
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13917 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13921 2012-10-31 Joseph Myers <joseph@codesourcery.com>
13924 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13925 for low part of x being zero before using __atanl (y).
13926 * math/libm-test.inc (atan2_test): Add another test.
13928 * manual/install.texi (Configuring and compiling): Document
13929 general use of test-wrapper and test-wrapper-env.
13930 * INSTALL: Regenerated.
13932 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13933 (__fma): Do not extract and scale down low bits on after-rounding
13934 systems when result rounded to normal precision would have normal
13936 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13937 (__fmal): Do not extract and scale down low bits on after-rounding
13938 systems when result rounded to normal precision would have normal
13940 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13941 (__fmal): Do not extract and scale down low bits on after-rounding
13942 systems when result rounded to normal precision would have normal
13944 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13946 (fma_test): Add more tests.
13947 (fma_test_towardzero): Likewise.
13948 (fma_test_downward): Likewise.
13949 (fma_test_upward): Likewise.
13951 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13953 * sysdeps/i386/tininess.h: Renamed to ...
13954 * sysdeps/x86/tininess.h: This.
13955 * sysdeps/x86_64/tininess.h: Removed.
13957 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13959 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13960 input. Use $(build-program-cmd).
13961 ($(objpfx)tst-array1-static.out): Likewise.
13962 ($(objpfx)tst-array2.out): Likewise.
13963 ($(objpfx)tst-array3.out): Likewise.
13964 ($(objpfx)tst-array4.out): Likewise.
13965 ($(objpfx)tst-array5.out): Likewise.
13966 ($(objpfx)tst-array5-static.out): Likewise.
13968 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13970 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13973 * nss/nsswitch.h (nss_interface_function): Provide new
13974 macro for use with NSS functions.
13975 * grp/initgroups.c: Use new macro.
13976 * nss/getXXbyYY.c: Likewise.
13977 * nss/getXXbyYY_r.c: Likewise.
13978 * nss/getXXent.c: Likewise.
13979 * nss/getXXent_r.c: Likewise.
13980 * sysdeps/posix/getaddrinfo.c: Likewise.
13982 2012-10-30 Andreas Jaeger <aj@suse.de>
13984 * po/ru.po: Update Russion translation from translation project.
13986 2012-10-30 Joseph Myers <joseph@codesourcery.com>
13990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13991 result and shift together with sticky bit instead of replicating
13992 round-to-nearest rounding.
13993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13994 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13995 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13996 missing underflow exceptions.
13997 (fma_test_towardzero): Add more tests.
13998 (fma_test_downward): Likewise.
13999 (fma_test_upward): Likewise.
14002 * sysdeps/generic/tininess.h: New file.
14003 * sysdeps/i386/tininess.h: Likewise.
14004 * sysdeps/sh/tininess.h: Likewise.
14005 * sysdeps/x86_64/tininess.h: Likewise.
14006 * stdlib/tst-strtod-underflow.c: Likewise.
14007 * stdlib/tst-tininess.c: Likewise.
14008 * stdlib/strtod_l.c: Include <tininess.h>.
14009 (round_and_return): Do not set errno for exact underflow cases.
14010 Force an underflow exception when setting errno for underflow.
14011 Determine underflow based on rounding to normal precision if
14012 TININESS_AFTER_ROUNDING.
14013 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14014 ERANGE for exact underflow cases.
14015 * stdlib/Makefile (tests): Add tst-tininess and
14016 tst-strtod-underflow.
14017 ($(objpfx)tst-tininess): Use $(link-libm).
14018 ($(objpfx)tst-strtod-underflow): Likewise.
14020 2012-10-30 Andreas Jaeger <aj@suse.de>
14023 * elf/Makefile (tests): Remove conditional for have-initfini-array
14024 since this is now always required and the variable does not exist
14026 (tests-static): Likewise.
14027 (modules-names): Likewise.
14029 * po/eo.po: Add Esperanto translation from translation project.
14031 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14032 merged with constructor/destructor.
14033 (init_array): Likewise.
14034 * elf/tst-array2dep.c (fini_array): Likewise.
14035 (init_array): Likewise.
14037 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14039 * manual/message.texi: Delete @cartouche tags.
14041 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14043 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14045 * sysdeps/mach/hurd/fsync.c: Likewise.
14047 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14048 [_POSIX_REALTIME_SIGNALS]: Change condition to
14049 [_POSIX_REALTIME_SIGNALS > 0].
14051 2012-10-27 Andreas Jaeger <aj@suse.de>
14053 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14054 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14055 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14056 [__WORDSIZE != 64]: Likewise.
14058 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14060 * iconvdata/tst-table.sh: Remove ${SHELL}.
14061 * iconvdata/tst-tables.sh: Likewise.
14063 2012-10-25 David S. Miller <davem@davemloft.net>
14065 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14066 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14071 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14072 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14073 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14076 2012-10-25 Roland McGrath <roland@hack.frob.com>
14078 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14079 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14082 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14083 Jim Blandy <jimb@codesourcery.com>
14085 * scripts/cross-test-ssh.sh: New file.
14086 * manual/install.texi (Configuring and compiling): Document use of
14088 * INSTALL: Regenerated.
14090 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14092 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14095 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14097 * Makeconfig (run-program-prefix): Fix comment.
14099 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14100 Jim Blandy <jimb@codesourcery.com>
14102 * Makeconfig (test-wrapper): New variable,
14103 (test-wrapper-env): Likewise.
14104 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14105 (run-built-tests): Define to yes.
14106 (run-program-prefix): Use $(test-wrapper).
14107 (built-program-cmd): Likewise.
14108 * Rules (make-test-out): Use $(test-wrapper-env) and
14109 $(host-built-program-cmd).
14110 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14111 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14113 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14114 $(test-wrapper-env) to tst-rtld-load-self.sh.
14115 ($(objpfx)order2.out): Use $(test-wrapper).
14116 ($(objpfx)tst-initorder.out): Likewise.
14117 ($(objpfx)tst-initorder2.out): Likewise.
14118 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14119 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14120 (test_wrapper_env): New variable. Use it to run ld.so.
14121 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14122 Use it to run ld.so.
14123 (test_wrapper_env): Likewise.
14124 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14125 $(test-wrapper) to run-iconv-test.sh.
14126 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14127 (ICONV): Use $test_wrapper.
14128 * posix/Makefile ($(objpfx)globtest.out): Pass
14129 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14130 globtest.sh, not $(run-program-prefix).
14131 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14132 (test_wrapper): Likewise.
14133 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14134 set together with run_via_rtld_prefix.
14135 (run_program_prefix): Define in terms of test_wrapper and
14136 run_via_rtld_prefix.
14138 2012-10-24 Roland McGrath <roland@hack.frob.com>
14140 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14141 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14145 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14146 Declare __clock_getres, __clock_gettime, __clock_settime,
14147 __clock_nanosleep, and __clock_getcpuclockid.
14148 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14149 Remove librt_hidden_def (clock_gettime).
14150 * sysdeps/unix/clock_gettime.c: Likewise.
14151 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14152 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14153 * rt/clock_getres.c: Define __clock_getres as an alias.
14154 * sysdeps/posix/clock_getres.c: Likewise.
14155 * rt/clock_settime.c: Define __clock_settime as an alias.
14156 * sysdeps/unix/clock_settime.c: Likewise.
14157 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14158 * sysdeps/unix/clock_nanosleep.c: Likewise.
14159 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14160 * rt/clock-compat.c: New file.
14161 * rt/Makefile (librt-routines): Add clock-compat and move
14162 $(clock-routines) to ...
14163 (routines): ... here, new variable.
14164 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14165 Don't add get_clockfreq here.
14166 * rt/Versions (libc: GLIBC_2.17): New version set.
14167 Add clock_* symbols here.
14168 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14169 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14170 (GLIBC_2.17): Add clock_* symbols.
14171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14182 * NEWS: Mention the move.
14184 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14185 Use __open, __read, __close rather than their public counterparts.
14186 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14187 (__get_clockfreq_via_cpuinfo): Likewise.
14188 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14189 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14191 * config.h.in (HAVE_IFUNC): New #undef.
14192 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14194 * configure: Regenerated.
14196 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14198 * configure.in: Move READELF check to start of file.
14199 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14200 libc_cv_asm_gnu_indirect_function in the process.
14201 * configure: Regenerated.
14203 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14205 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14206 send the output to /dev/null.
14207 (libc_cv_cc_with_libunwind): Likewise.
14208 (libc_cv_as_noexecstack): Likewise.
14209 * configure: Regenerate.
14211 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14213 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14215 * posix/globtest.sh (TMPDIR): Do not set.
14216 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14217 (testout): Likewise.
14219 2012-10-24 Andreas Jaeger <aj@suse.de>
14221 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14222 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14223 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14224 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14225 posix_fadvise64, posix_fallocate64.
14227 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14228 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14229 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14231 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14233 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14235 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14236 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14237 <bits/fcntl-linux.h>.
14238 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14241 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14242 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14243 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14244 [__WORDSIZE != 64]: Likewise.
14246 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14248 * Makeconfig (run-built-tests): New variable.
14249 * Rules [$(cross-compiling) = yes]: Change condition to
14250 [$(run-built-tests) = no].
14251 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14252 to [$(run-built-tests) = yes].
14253 * elf/Makefile [$(cross-compiling) = no]: Likewise
14254 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14255 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14256 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14257 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14258 * io/Makefile [$(cross-compiling) = no]: Likewise.
14259 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14260 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14261 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14262 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14263 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14264 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14265 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14266 * string/Makefile [$(cross-compiling) = no]: Likewise.
14268 * posix/Makefile ($(objpfx)globtest.out): Pass
14269 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14270 $(rtld-installed-name).
14271 * posix/globtest.sh (elf_objpfx): Remove variable.
14272 (rtld_installed_name): Likewise.
14273 (library_path): Likewise.
14274 (run_program_prefix): New variable. Use for running globtest
14277 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14278 Joseph Myers <joseph@codesourcery.com>
14280 * Makeconfig (host-built-program-cmd): New variable.
14281 * elf/Makefile (tst-stackguard1-ARGS): Use
14282 $(host-built-program-cmd).
14283 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14284 (tst-spawn-ARGS): Likewise.
14285 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14287 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14288 Jim Blandy <jimb@codesourcery.com>
14290 * Makeconfig (run-via-rtld-prefix): New variable.
14291 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14292 (built-program-cmd): Likewise.
14294 2012-10-22 Andreas Jaeger <aj@suse.de>
14296 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14297 __O_RSYNC if it exists, otherwise to O_SYNC.
14299 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14300 Joseph Myers <joseph@codesourcery.com>
14302 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14304 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14306 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14309 2012-10-22 Andreas Jaeger <aj@suse.de>
14311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14313 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14316 bits/fcntl-linux.h.
14318 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14319 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14321 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14323 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14326 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14327 Joseph Myers <joseph@codesourcery.com>
14329 * config.make.in (NM): New variable.
14331 2012-10-21 Andreas Jaeger <aj@suse.de>
14333 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14334 definitions and declarations that are provided by
14335 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14337 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14340 * elf/Makefile (tests-static): Add tst-leaks1-static.
14341 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14342 ($(objpfx)tst-leaks1-static): New rule.
14343 ($(objpfx)tst-leaks1-static-mem): Likewise.
14344 (tst-leaks1-static-ENV): New macro.
14345 * elf/dl-open.c (dl_open_worker): Check the main application
14346 only if SHARED is defined.
14347 * elf/tst-leaks1-static.c: New file.
14349 2012-10-20 Andreas Jaeger <aj@suse.de>
14351 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14352 generic values for Linux.
14353 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14354 and declarations that are provided by <bits/fcntl-linux.h> and
14355 include <bits/fcntl-linux.h>.
14356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14359 2012-10-20 Roland McGrath <roland@hack.frob.com>
14361 * io/fcntl.h: Move include of <bits/types.h> to the top and
14362 include it unconditionally.
14364 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14366 * wcsmbs/Makefile (tests-ifunc): New variable.
14367 (tests): Add $(tests-ifunc).
14368 * wcsmbs/test-wcschr-ifunc.c: New file.
14369 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14370 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14371 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14372 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14373 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14375 * string/Makefile (tests-ifunc): New variable.
14376 (tests): Add $(tests-ifunc).
14377 * string/test-memccpy.c (TEST_NAME): New macro.
14378 * string/test-memchr.c (TEST_NAME): Likewise.
14379 * string/test-memcmp.c (TEST_NAME): Likewise.
14380 * string/test-memcpy.c (TEST_NAME): Likewise.
14381 * string/test-memmem.c (TEST_NAME): Likewise.
14382 * string/test-memmove.c (TEST_NAME): Likewise.
14383 * string/test-memset.c (TEST_NAME): Likewise.
14384 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14385 * string/test-stpcpy.c (TEST_NAME): Likewise.
14386 * string/test-stpncpy.c (TEST_NAME): Likewise.
14387 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14388 * string/test-strcasestr.c (TEST_NAME): Likewise.
14389 * string/test-strcat.c (TEST_NAME): Likewise.
14390 * string/test-strchr.c (TEST_NAME): Likewise.
14391 * string/test-strcmp.c(TEST_NAME): Likewise.
14392 * string/test-strcpy.c (TEST_NAME): Likewise.
14393 * string/test-strcspn.c (TEST_NAME): Likewise.
14394 * string/test-strlen.c (TEST_NAME): Likewise.
14395 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14396 * string/test-strncmp.c (TEST_NAME): Likewise.
14397 * string/test-strncpy.c (TEST_NAME): Likewise.
14398 * string/test-strnlen.c (TEST_NAME): Likewise.
14399 * string/test-strpbrk.c (TEST_NAME): Likewise.
14400 * string/test-strrchr.c (TEST_NAME): Likewise.
14401 * string/test-strspn.c (TEST_NAME): Likewise.
14402 * string/test-strstr.c (TEST_NAME): Likewise.
14403 * string/test-bcopy-ifunc.c: New file.
14404 * string/test-bzero-ifunc.c: Likewise.
14405 * string/test-memccpy-ifunc.c: Likewise.
14406 * string/test-memchr-ifunc.c: Likewise.
14407 * string/test-memcmp-ifunc.c: Likewise.
14408 * string/test-memcpy-ifunc.c: Likewise.
14409 * string/test-memmem-ifunc.c: Likewise.
14410 * string/test-memmove-ifunc.c: Likewise.
14411 * string/test-mempcpy-ifunc.c: Likewise.
14412 * string/test-memset-ifunc.c: Likewise.
14413 * string/test-rawmemchr-ifunc.c: Likewise.
14414 * string/test-stpcpy-ifunc.c: Likewise.
14415 * string/test-stpncpy-ifunc.c: Likewise.
14416 * string/test-strcasecmp-ifunc.c: Likewise.
14417 * string/test-strcasestr-ifunc.c: Likewise.
14418 * string/test-strcat-ifunc.c: Likewise.
14419 * string/test-strchr-ifunc.c: Likewise.
14420 * string/test-strchrnul-ifunc.c: Likewise.
14421 * string/test-strcmp-ifunc.c: Likewise.
14422 * string/test-strcpy-ifunc.c: Likewise.
14423 * string/test-strcspn-ifunc.c: Likewise.
14424 * string/test-strlen-ifunc.c: Likewise.
14425 * string/test-strncasecmp-ifunc.c: Likewise.
14426 * string/test-strncat-ifunc.c: Likewise.
14427 * string/test-strncmp-ifunc.c: Likewise.
14428 * string/test-strncpy-ifunc.c: Likewise.
14429 * string/test-strnlen-ifunc.c: Likewise.
14430 * string/test-strpbrk-ifunc.c: Likewise.
14431 * string/test-strrchr-ifunc.c: Likewise.
14432 * string/test-strspn-ifunc.c: Likewise.
14433 * string/test-strstr-ifunc.c: Likewise.
14435 * debug/Makefile (tests-ifunc): New variable.
14436 (tests): Add $(tests-ifunc).
14437 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14438 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14439 * debug/test-stpcpy_chk-ifunc.c: New file.
14440 * debug/test-strcpy_chk-ifunc.c: Likewise.
14442 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14445 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14446 header is not read in.
14448 2012-10-19 Joseph Myers <joseph@codesourcery.com>
14450 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14451 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14452 directly. Pass built executable to script as
14453 $(built-program-cmd).
14454 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14455 $testprogram without using LD_LIBRARY_PATH and $ldso.
14457 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14458 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14459 $(rtld-installed-name).
14460 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14461 (rtld_installed_name): Likewise.
14462 (library_path): Likewise.
14463 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14464 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14465 $(run-program-prefix) to tst-tables.sh.
14466 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14467 it to run tst-table-from and tst-table-to.
14468 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14469 Pass it to tst-table.sh.
14470 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14471 $(run-program-prefix) to tst-gettext.sh.
14472 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14474 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14476 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14477 to run tst-gettext.
14478 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14479 to run tst-gettext2.
14480 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14481 to run tst-translit.
14482 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14483 $(run-program-prefix) to tst-mtrace.sh.
14484 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14486 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14487 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14488 $(rtld-installed-name).
14489 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14490 (rtld_installed_name): Likewise.
14491 (run_program_prefix): New variable. Use it to run wordexp-test.
14493 * Makeconfig (ARCH): Remove all definitions.
14494 (machine): Likewise.
14495 [ARCH]: Remove conditional code.
14496 [!objdir]: Give error.
14497 [!objdir] (objpfx): Remove.
14498 [!objdir] (common-objpfx): Likewise.
14499 [!objdir] (common-objdir): Likewise.
14500 * configure.in (config_makefile): Remove. Hardcode Makefile in
14501 AC_CONFIG_FILES call.
14502 * configure: Regenerated.
14505 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14507 (testout): Likewise.
14509 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14510 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14511 $(rtld-installed-name).
14512 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14513 (rtld_installed_name): Likwise.
14514 (runit): Remove function.
14515 (run_getconf): New variable, Use it for running getconf binary.
14517 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14520 * string/test-memmem.c (check_result): New function.
14521 (do_one_test): Use it.
14522 (check1): New function.
14523 (test_main): Use it.
14525 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14527 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14529 2012-10-18 Joseph Myers <joseph@codesourcery.com>
14531 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14532 (_G_LSEEK64): Likewise.
14533 (_G_MMAP64): Likewise.
14534 (_G_FSTAT64): Likewise.
14535 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14536 (_G_LSEEK64): Likewise.
14537 (_G_MMAP64): Likewise.
14538 (_G_FSTAT64): Likewise.
14539 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14540 unconditional. Call __mmap64 directly.
14541 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14542 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14543 __lseek64 directly.
14544 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14545 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14547 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14548 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14549 __lseek64 directly.
14550 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14551 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14552 __lseek64 directly.
14553 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14554 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14555 __lseek64 directly.
14556 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14557 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14558 __fxstat64 directly.
14559 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14560 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14562 (freopen64) [!_G_OPEN64]: Remove conditional code.
14563 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14565 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14566 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14568 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14569 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14571 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14572 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14574 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14575 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14577 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14578 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14580 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14581 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14583 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14585 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14588 * manual/memory.texi (Malloc Tunable Parameters): Add note
14589 about free list pointers overwriting some perturb bytes.
14590 Wording suggested by Roland McGrath.
14592 2012-10-17 Joseph Myers <joseph@codesourcery.com>
14594 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14595 (lgamma_test): Likewise.
14596 (tgamma_test): Likewise.
14598 2012-10-16 Florian Weimer <fweimer@redhat.com>
14601 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14602 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14604 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14606 * NEWS: Mention BZ #14716.
14607 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14608 when removing AVAILABLE1_USES_J macro.
14610 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14612 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14613 (__bswap_64): __uint64_t for unsigned 64-bit int.
14615 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14617 * include/string.h (memmem): Declare libc hidden alias.
14618 * string/memmem.c (memmem): Define libc hidden alias.
14619 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14620 __read, __close instead of open, read, close.
14622 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14624 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14625 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14627 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14628 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14629 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14631 (__rawmemchr_sse2): Likewise.
14632 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14633 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14634 (__strchr_sse2): Likewise.
14635 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14636 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14637 (__strcasecmp_sse2): Likewise.
14638 (__strncasecmp_sse2): Likewise.
14639 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14640 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14641 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14642 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14643 (__strrchr_sse2): Likewise.
14644 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14646 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14647 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14648 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14649 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14650 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14651 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14652 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14653 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14654 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14655 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14656 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14657 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14658 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14659 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14660 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14661 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14662 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14663 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14664 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14665 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14666 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14667 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14668 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14669 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14670 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14671 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14672 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14673 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14674 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14675 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14677 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14679 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14680 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14681 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14682 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14684 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14686 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14687 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14688 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14689 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14691 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14692 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14693 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14694 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14695 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14696 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14697 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14698 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14699 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14700 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14701 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14702 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14703 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14704 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14705 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14706 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14707 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14708 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14709 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14710 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14711 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14712 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14713 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14714 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14715 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14716 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14717 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14718 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14719 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14720 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14721 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14722 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14723 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14724 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14725 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14726 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14727 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14728 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14729 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14730 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14731 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14733 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14734 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14735 * include/ifunc-impl-list.h: New file.
14736 * misc/ifunc-impl-list.c: Likewise.
14737 * misc/Makefile (routines): Add ifunc-impl-list.
14738 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14739 * string/test-string.h: Include <ifunc-impl-list.h>.
14740 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14741 impl_array): New variables.
14742 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14744 (test_init): Call __libc_ifunc_impl_list to initialize
14745 func_list if TEST_IFUNC and TEST_NAME are defined.
14747 * string/Makefile (strop-tests): Add bcopy and bzero.
14748 * string/test-bcopy.c: New file.
14749 * string/test-bzero.c: Likewise.
14750 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14752 * string/test-memset.c: Support bzero test if TEST_BZERO is
14754 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14756 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14758 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14761 2012-10-10 Joseph Myers <joseph@codesourcery.com>
14763 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14764 * configure: Regenerated.
14766 * Makeconfig (+link-static-before-libc): Don't include
14767 $(link-static-libc).
14769 * libio/libio.h (_IO_pos_t): Remove.
14771 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14773 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14776 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14778 * crypt/crypt-entry.c: Include fips-private.h.
14779 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14780 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14781 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14782 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14784 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
14786 * crypt/crypt-private.h: Include stdbool.h.
14787 (_ufc_setup_salt_r): Return bool.
14788 * crypt/crypt-entry.c: Include errno.h.
14789 (__crypt_r): Return NULL with EINVAL for bad salt.
14790 * crypt/crypt_util.c (bad_for_salt): New.
14791 (_ufc_setup_salt_r): Check that salt is long enough and within
14792 the specified alphabet.
14793 * crypt/badsalttest.c: New file.
14794 * crypt/Makefile (tests): Add it.
14795 ($(objpfx)badsalttest): New.
14797 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14799 * NEWS: Add entry for BZ #14602.
14801 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14803 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14805 * math/libm-test.inc: Update comment listing what functions and
14807 (isgreater_test): New function.
14808 (isgreaterequal_test): Likewise.
14809 (isless_test): Likewise.
14810 (islessequal_test): Likewise.
14811 (islessgreater_test): Likewise.
14812 (isunordered_test): Likewise.
14813 (main): Call the new functions.
14815 2012-10-09 Roland McGrath <roland@hack.frob.com>
14817 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14818 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14819 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14820 * sysdeps/i386/configure: Regenerated.
14821 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14822 * sysdeps/mach/configure: Regenerated.
14823 * sysdeps/mach/hurd/configure: Regenerated.
14824 * sysdeps/powerpc/configure: Regenerated.
14825 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14826 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14827 * sysdeps/s390/s390-32/configure: Regenerated.
14828 * sysdeps/s390/s390-64/configure: Regenerated.
14829 * sysdeps/sh/configure: Regenerated.
14830 * sysdeps/sparc/configure: Regenerated.
14831 * sysdeps/unix/sysv/linux/configure: Regenerated.
14832 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14833 * sysdeps/x86_64/configure: Regenerated.
14835 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14836 defined. Don't check if MAP is NULL.
14838 2012-10-09 Joseph Myers <joseph@codesourcery.com>
14840 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14841 (_G_stat64): Likewise.
14842 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14843 (_G_stat64): Likewise.
14844 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14845 instead of struct _G_stat64.
14846 * libio/fileops.c (mmap_remap_check): Likewise.
14847 (decide_maybe_mmap): Likewise.
14848 (_IO_new_file_seekoff): Likewise.
14849 (_IO_file_stat): Likewise.
14850 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14852 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14853 instead of struct _G_stat64.
14854 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14856 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14859 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14861 (CHECK_EOL): New macro.
14862 (two_way_short_needle): Check beginning of haystack for EOL. Use
14864 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14865 Replace with CHECK_EOL.
14866 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14867 Replace with CHECK_EOL.
14869 2012-10-08 Joseph Myers <joseph@codesourcery.com>
14871 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14873 * math/libm-test.inc: Update comment listing what functions and
14875 (finite_test): New function.
14876 (isinf_test): Likewise.
14877 (isnan_test): Likewise.
14878 (fpclassify_test): Test subnormal input.
14879 (isfinite_test): Likewise.
14880 (isnormal_test): Likewise.
14881 (main): Call the new functions.
14883 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14886 * Makerules (%.dynsym): Force C locale when running
14887 $(OBJDUMP) --dynamic-syms.
14889 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14891 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14894 2012-10-06 David S. Miller <davem@davemloft.net>
14896 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14897 upper 32-bits of the length value in %o2 since we use branch-on-register
14898 tests which consider the entire 64-bit register.
14900 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14902 * string/test-strstr.c (check2): Add a test for page boundary.
14904 2012-10-05 David S. Miller <davem@davemloft.net>
14906 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14907 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14909 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14911 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14912 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14913 and bzero when HWCAP_SPARC_CRYPTO is present.
14915 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14918 * string/test-strstr.c (check2): New function.
14919 (test_main): Call check2.
14921 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14923 * string/bug-strcasestr1.c (do_test): Moved to ...
14924 * string/test-strcasestr.c (check1): Here. New function.
14925 (do_one_test): Break out result checking code into ...
14926 (check_result): This. New function.
14927 (do_one_test): Call check_result.
14928 (test_main): Call check1.
14929 * string/bug-strchr1.c (do_test): Moved to ...
14930 * string/test-strchr.c (check1): Here. New function.
14931 (do_one_test): Break out result checking code into ...
14932 (check_result): This. New function.
14933 (do_one_test): Call check_result.
14934 (test_main): Call check1.
14935 * string/bug-strstr1.c (main): Moved to ...
14936 * string/test-strstr.c (check1): Here. New function.
14937 (do_one_test): Break out result checking code into ...
14938 (check_result): This. New function.
14939 (do_one_test): Call check_result.
14940 (test_main): Call check1.
14941 * string/bug-strcasestr1.c: Removed.
14942 * string/bug-strchr1.c: Likewise.
14943 * string/bug-strstr1.c: Likewise.
14945 * elf/Makefile (dl-routines): Add hwcaps.
14946 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14947 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14948 (_dl_important_hwcaps): Moved to ...
14949 * elf/dl-hwcaps.c: Here. New file.
14950 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14953 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14954 if IS_IN_rtld isn't defined.
14956 * elf/dl-support.c (_dl_sysinfo_map): New.
14957 Include "get-dynamic-info.h" and "setup-vdso.h".
14958 (_dl_non_dynamic_init): Call setup_vdso.
14959 * elf/dynamic-link.h: Don't include <assert.h>.
14960 (elf_get_dynamic_info): Moved to ...
14961 * elf/get-dynamic-info.h: Here. New file.
14962 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14963 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14964 * elf/setup-vdso.h: Here. New file.
14965 * elf/rtld.c: Include "setup-vdso.h".
14966 (dl_main): Call setup_vdso.
14968 2012-10-05 Joseph Myers <joseph@codesourcery.com>
14970 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14971 creal in comment listing functions tested. List finite, isinf,
14972 isnan, isless, islessequal, isgreater, isgreaterequal,
14973 islessgreater, isunordered, lgamma_r and pow10 as functions and
14974 macros not tested. Mention which functions not tested are aliases
14975 for other functions. Fix typo. Note that signs of NaNs are not
14978 * scripts/config.guess: Update from config.git.
14979 * scripts/config.sub: Likewise.
14981 2012-10-04 Roland McGrath <roland@hack.frob.com>
14983 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14984 * misc/madvise.c (madvise): Renamed to __madvise.
14985 Make madvise a weak alias.
14986 * include/sys/mman.h: Declare __madvise.
14987 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14988 * sysdeps/unix/syscalls.list
14989 (madvise): Make __madvise the strong name, and madvise a weak alias.
14990 * sysdeps/unix/sysv/linux/syscalls.list
14991 (madvise, mmap): Remove redundant entries.
14992 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14993 * malloc/malloc.c (mtrim): Likewise.
14994 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14996 2012-10-03 Roland McGrath <roland@hack.frob.com>
14998 * sysdeps/mach/hurd/dl-cache.c: File removed.
14999 * config.h.in (USE_LDCONFIG): New #undef.
15000 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15001 * configure: Regenerated.
15002 * elf/Makefile (dl-routines): Add dl-cache only under
15003 [$(use-ldconfig) = yes].
15004 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15005 cache on [USE_LDCONFIG].
15006 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15008 * elf/rtld.c (dl_main): Likewise.
15010 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15012 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15013 _SC_LEVEL4_CACHE_LINESIZE.
15015 2012-10-03 Roland McGrath <roland@hack.frob.com>
15017 * sysdeps/unix/bsd/confstr.h: File removed.
15019 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15021 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15024 2012-10-02 Roland McGrath <roland@hack.frob.com>
15026 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15027 Make 'mapoff' field ElfW(Off) rather than off_t.
15029 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15031 * nscd/Makefile: Remove nscd-cflags and all its users.
15032 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15033 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15036 * malloc.c (malloc_printerr): Clarify error message.
15038 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15042 Set bit_FMA_Usable if FMA is supported.
15043 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15045 (bit_FMA4_Usable): Updated.
15046 (index_FMA_Usable): New macro.
15047 (CPUID_FMA): Likewise
15048 (HAS_FMA): Defined with bit_FMA_Usable.
15050 2012-10-01 Roland McGrath <roland@hack.frob.com>
15052 * bits/types.h (__swblk_t): Type removed.
15053 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15054 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15055 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15056 (__SWBLK_T_TYPE): Likewise.
15057 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15058 (__SWBLK_T_TYPE): Likewise.
15059 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15060 (__SWBLK_T_TYPE): Likewise.
15061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15062 (__SWBLK_T_TYPE): Likewise.
15064 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15065 Honza Horak <hhorak@redhat.com>
15067 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15068 (xdr_mapname): Use YPMAXMAP as maxsize.
15069 (xdr_peername): Use YPMAXPEER as maxsize.
15070 (xdr_keydat): Use YPAXRECORD as maxsize.
15071 (xdr_valdat): Use YPMAXRECORD as maxsize.
15073 2012-10-01 Roland McGrath <roland@hack.frob.com>
15075 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15077 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15078 * csu/init-first.c: ... here.
15079 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15080 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15081 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15082 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15083 * sysdeps/i386/init-first.c: File removed.
15084 * sysdeps/sh/init-first.c: File removed.
15086 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15090 if x * y might underflow to zero and z is zero.
15091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15092 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15093 * math/libm-test.inc (min_subnorm_value): New variable.
15094 (fma_test): Add more tests.
15095 (fma_test_towardzero): Likewise.
15096 (fma_test_downward): Likewise
15097 (fma_test_upward): Likewise.
15098 (initialize): Set min_subnorm_value.
15100 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15105 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15106 mode for addition resulting in exact zero.
15107 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15110 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15111 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15112 * math/libm-test.inc (fma_test): Add more tests.
15113 (fma_test_towardzero): New function.
15114 (fma_test_downward): Likewise.
15115 (fma_test_upward): Likewise.
15116 (main): Call the new functions.
15118 2012-09-28 David S. Miller <davem@davemloft.net>
15120 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15122 2012-09-28 Roland McGrath <roland@hack.frob.com>
15124 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15125 instead of SIGALRM.
15127 * sysdeps/gnu/_G_config.h: Moved to ...
15128 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15129 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15130 * sysdeps/generic/_G_config.h: ... here.
15132 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15134 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15136 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15137 Conditionalize target on [libnss_test1.so-version].
15139 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15141 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15142 (elfobjdir): Move out of conditionals.
15144 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15145 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15146 (__nss_lookup_function): Conditionalize label remove_from_tree on
15147 [!DO_STATIC_NSS || SHARED], matching its only use.
15149 2012-09-28 David S. Miller <davem@davemloft.net>
15151 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15152 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15154 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15156 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15158 when HWCAP_SPARC_CRYPTO is present.
15160 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15162 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15164 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15167 * stdio-common/vfprintf.c (process_string_arg): Revert
15170 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15172 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15174 * stdio-common/tst-sprintf.c: Include <locale.h>
15175 (main): Test sprintf's handling of incomplete multibyte
15178 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15180 * elf/dl-runtime.c (VERSYMIDX): Removed.
15181 * elf/dl-version.c (VERSYMIDX): Likewise.
15182 * elf/do-rel.h (VERSYMIDX): Likewise.
15183 (VALIDX): Likewise.
15184 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15185 * elf/rtld.c (VALIDX): Likewise.
15186 (ADDRIDX): Likewise.
15187 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15188 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15189 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15190 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15191 (VALIDX): Likewise.
15192 (ADDRIDX): Likewise.
15194 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15196 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15198 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15201 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15203 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15204 addresses are in the same scope as 192.0.2/24.
15205 * posix/gai.conf: Document new scope table defaults.
15207 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15210 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15211 for ftell. Compute offsets from write pointers instead.
15212 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15214 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15217 * libio/Makefile (tests): New test case tst-fseek.
15218 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15219 combination works in wide mode.
15220 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15221 state when the external buffer state changes.
15223 2012-09-27 David S. Miller <davem@davemloft.net>
15226 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15227 pass reloc->r_addend in as the 'high' argument to
15228 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15232 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15234 * rt/tst-aio2.c: Include <pthread.h>.
15235 * rt/tst-aio3.c: Likewise.
15237 2012-09-27 Steve Ellcey <sellcey@mips.com>
15239 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15241 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15243 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15244 contents on [SHARED].
15246 2012-09-26 Marek Polacek <polacek@redhat.com>
15250 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15251 for C++ and GCC <4.3 as well as for non GCC compilers.
15253 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15257 2012-09-25 Roland McGrath <roland@hack.frob.com>
15259 * Makefile.in (all, install): Declare with .PHONY.
15260 Reported by Michael Hope <michael.hope@linaro.org>.
15262 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15264 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15265 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15267 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15269 (sydep_routines): Add the new and the internal functions.
15270 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15271 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15273 (GLIBC_2.17): Add the new function.
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15275 (GLIBC_2.17): Likewise.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15277 (GLIBC_2.17): Likewise.
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15279 (GLIBC_2.17): Likewise.
15280 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15282 2012-09-25 Alan Modra <amodra@gmail.com>
15284 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15285 Add release barrier before setting once_control to say
15286 initialisation is done. Add hints on lwarx. Use macro in
15288 (clear_once_control): Add release barrier.
15290 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15293 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15295 * math/s_clog10.c (__clog10): Likewise.
15296 * math/s_clog10f.c (__clog10f): Likewise.
15297 * math/s_clog10l.c (__clog10l): Likewise.
15298 * math/s_clogf.c (__clogf): Likewise.
15299 * math/s_clogl.c (__clogl): Likewise.
15300 * math/Makefile (libm-calls): Add x2y2m1.
15301 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15302 (__x2y2m1): Likewise.
15303 (__x2y2m1l): Likewise.
15304 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15305 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15306 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15307 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15308 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15309 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15310 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15315 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15316 int as type of variable DEPTH.
15317 (glob): Use size_t instead of int as type of variables NEWCOUNT
15320 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15322 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15323 Add s_sincosf-sse2.
15324 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15325 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15326 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15327 macros for using routine as __sincosf_ia32.
15328 Use macro for function declaration and weak_alias.
15329 * sysdeps/i386/fpu/libm-test-ulps: Update.
15331 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15334 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
15335 subnormal argument.
15336 * math/s_cexpf.c (__cexpf): Likewise.
15337 * math/s_csinf.c (__csinf): Likewise.
15338 * math/s_csinhf.c (__csinhf): Likewise.
15339 * math/s_ctanf.c (__ctanf): Likewise.
15340 * math/s_ctanhf.c (__ctanhf): Likewise.
15341 * math/s_ccosh.c (__ccoshf): Likewise.
15342 * math/s_cexp.c (__cexpl): Likewise.
15343 * math/s_csin.c (__csin): Likewise.
15344 * math/s_csinh.c (__csinh): Likewise.
15345 * math/s_ctan.c (__ctan): Likewise.
15346 * math/s_ctanh.c (ctanh): Likewise.
15347 * math/s_ccoshl.c (__ccoshl): Likewise.
15348 * math/s_cexpl.c (__cexpl): Likewise.
15349 * math/s_csinl.c (__csinl): Likewise.
15350 * math/s_csinhl.c (__csinhl): Likewise.
15351 * math/s_ctanl.c (__ctanl): Likewise.
15352 * math/s_ctanhl.c (__ctanhl): Likewise.
15354 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15356 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15357 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15358 (_IO_off_t): Define to __off_t, not _G_off_t.
15359 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15360 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15361 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15362 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15363 type of __dummy and __dummy2 fields.
15364 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15365 (_G_ssize_t): Likewise.
15366 (_G_off_t): Likewise.
15367 (_G_pid_t): Likewise.
15368 (_G_uid_t): Likewise.
15369 (_G_wchar_t): Likewise.
15370 (_G_wint_t): Likewise.
15371 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15372 (_G_ssize_t): Likewise.
15373 (_G_off_t): Likewise.
15374 (_G_pid_t): Likewise.
15375 (_G_uid_t): Likewise.
15376 (_G_wchar_t): Likewise.
15377 (_G_wint_t): Likewise.
15378 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15379 (_G_ssize_t): Likewise.
15380 (_G_off_t): Likewise.
15381 (_G_pid_t): Likewise.
15382 (_G_uid_t): Likewise.
15383 (_G_wchar_t): Likewise.
15384 (_G_wint_t): Likewise.
15386 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15388 * malloc/arena.c: Include malloc-sysdep.h.
15389 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15390 is sufficient to shrink the heap or an unmap is needed.
15391 * sysdeps/generic/malloc-sysdep.h: New file. Define
15392 new function check_may_shrink_heap.
15393 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15394 new function check_may_shrink_heap.
15396 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15398 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15401 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15403 * catgets/test-gencat.sh: Add "set -e".
15404 * elf/tst-pathopt.sh: Likewise.
15405 * grp/tst_fgetgrent.sh: Likewise.
15406 * iconvdata/run-iconv-test.sh: Likewise.
15407 * intl/tst-gettext.sh: Likewise.
15408 * intl/tst-gettext2.sh: Likewise.
15409 * intl/tst-gettext4.sh: Likewise.
15410 * intl/tst-gettext6.sh: Likewise.
15411 * intl/tst-translit.sh: Likewise.
15412 * io/ftwtest-sh: Likewise.
15413 * libio/test-freopen.sh: Likewise.
15414 * malloc/tst-mtrace.sh: Likewise.
15415 * posix/globtest.sh: Likewise.
15416 * posix/tst-getconf.sh: Likewise.
15417 * posix/wordexp-tst.sh: Likewise.
15418 * stdio-common/tst-printf.sh: Likewise.
15419 * stdio-common/tst-unbputc.sh: Likewise.
15420 * stdlib/tst-fmtmsg.sh: Likewise.
15421 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15422 * catgets/Makefile: Do not specify -e option when running
15423 testsuite shell scripts.
15424 * elf/Makefile: Likewise.
15425 * grp/Makefile: Likewise.
15426 * iconvdata/Makefile: Likewise.
15427 * intl/Makefile: Likewise.
15428 * io/Makefile: Likewise.
15429 * libio/Makefile: Likewise.
15430 * malloc/Makefile: Likewise.
15431 * posix/Makefile: Likewise.
15432 * stdio-common/Makefile: Likewise.
15433 * stdlib/Makefile: Likewise.
15434 * sysdeps/x86_64/Makefile: Likewise.
15436 * io/ftwtest-sh: Add copyright header.
15437 * posix/globtest.sh: Likewise.
15438 * posix/tst-getconf.sh: Likewise.
15439 * posix/wordexp-tst.sh: Likewise.
15440 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15442 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15445 * Makeconfig (+link): Defined as $(+link-static) if
15446 $(build-shared) isn't yes.
15447 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15449 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15451 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15454 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15455 new chunk size with MALLOC_ALIGN_MASK.
15457 2012-09-24 Joseph Myers <joseph@codesourcery.com>
15460 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15462 (__printf_fphex): Determine rounding using get_rounding_mode and
15464 * stdio-common/tst-printf-round.c (struct hex_test): New
15466 (hex_tests): New variable.
15467 (test_hex_in_one_mode): New function.
15468 (do_test): Also run tests for hex float output.
15470 2012-09-21 Joseph Myers <joseph@codesourcery.com>
15472 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15473 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15474 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15475 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15476 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15477 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15478 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15479 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15481 2012-09-20 Joseph Myers <joseph@codesourcery.com>
15483 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15484 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15485 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15486 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15488 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15491 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15493 * elf/tst-rtld-load-self.sh: New test.
15494 * elf/Makefile: Run it.
15496 2012-09-18 Joseph Myers <joseph@codesourcery.com>
15498 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15499 (tst-writev-ENV): Remove.
15500 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15502 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15504 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15506 2012-09-17 Joseph Myers <joseph@codesourcery.com>
15508 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15510 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15512 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15513 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15514 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15517 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15520 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15521 * config.make.in (have-cpp-asm-debuginfo): Removed.
15522 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15523 * configure: Regenerated.
15525 2012-09-14 Joseph Myers <joseph@codesourcery.com>
15528 * stdio-common/printf_fp.c: Include <stdbool.h> and
15530 (___printf_fp): Determine rounding using get_rounding_mode and
15532 * stdio-common/tst-printf-round.c: New file.
15533 * stdio-common/Makefile (tests): Add tst-printf-round.
15534 (link-libm): New variable.
15535 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15537 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15540 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15541 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15543 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15546 2012-09-13 Joseph Myers <joseph@codesourcery.com>
15548 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15549 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15550 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15551 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15553 2012-09-12 Joseph Myers <joseph@codesourcery.com>
15556 * include/rounding-mode.h: New file.
15557 * sysdeps/generic/get-rounding-mode.h: Likewise.
15558 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15559 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15560 (MAX_VALUE): New macro.
15561 (MIN_VALUE): Likewise.
15562 (overflow_value): New function.
15563 (underflow_value): Likewise.
15564 (round_and_return): Use overflow_value and underflow_value to
15565 determine return values in overflow and underflow cases. Use
15566 round_away to determine rounding depending on rounding mode.
15567 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15568 determine return values in overflow and underflow cases.
15569 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15570 (struct test_results): New structure.
15571 (struct test): Use struct test_results to store expected results
15572 for all rounding modes.
15573 (TEST): Include expected results for all rounding modes.
15574 (test_in_one_mode): New function.
15575 (do_test): Use test_in_one_mode to compute and check results.
15576 Check results for all rounding modes.
15577 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15580 2012-12-09 Allan McRae <allan@archlinux.org>
15582 * sysdeps/i386/fpu/libm-test-ulps: Update
15584 2012-09-11 Joseph Myers <joseph@codesourcery.com>
15586 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15587 (_G_int32_t): Likewise.
15588 (_G_uint16_t): Likewise.
15589 (_G_uint32_t): Likewise.
15590 (_G_HAVE_BOOL): Likewise.
15591 (_G_HAVE_ATEXIT): Likewise.
15592 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15593 (_G_HAVE_IO_FILE_OPEN): Likewise.
15594 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15595 (_G_int32_t): Likewise.
15596 (_G_uint16_t): Likewise.
15597 (_G_uint32_t): Likewise.
15598 (_G_HAVE_BOOL): Likewise.
15599 (_G_HAVE_ATEXIT): Likewise.
15600 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15601 (_G_HAVE_IO_FILE_OPEN): Likewise.
15602 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15603 (_G_int32_t): Likewise.
15604 (_G_uint16_t): Likewise.
15605 (_G_uint32_t): Likewise.
15606 (_G_HAVE_BOOL): Likewise.
15607 (_G_HAVE_ATEXIT): Likewise.
15608 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15609 (_G_HAVE_IO_FILE_OPEN): Likewise.
15611 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15613 * csu/libc-tls.c: Update copyright years.
15615 2012-09-10 Joseph Myers <joseph@codesourcery.com>
15617 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15618 [!_G_USING_THUNKS]: Remove conditional code.
15619 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15620 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15622 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15623 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15624 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15625 (_G_VTABLE_LABEL_PREFIX): Likewise.
15626 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15627 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15628 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15629 (_G_VTABLE_LABEL_PREFIX): Likewise.
15630 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15631 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15632 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15633 (_G_VTABLE_LABEL_PREFIX): Likewise.
15634 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15636 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15638 * libio/Makefile: Include ../Makeconfig before tests.
15639 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15640 only if $(build-shared) is yes.
15642 * iconv/gconv_db.c: Update copyright years.
15644 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15646 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15647 unwind info if defined PIC. Fix special cases description.
15648 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15650 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15652 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15654 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15656 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15658 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15661 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15662 (LDLIBS-tst-chk4): This.
15663 (LDFLAGS-tst-chk5): Renamed to ...
15664 (LDLIBS-tst-chk5): This.
15665 (LDFLAGS-tst-chk6): Renamed to ...
15666 (LDLIBS-tst-chk6): This.
15667 (LDFLAGS-tst-lfschk4): Renamed to ...
15668 (LDLIBS-tst-lfschk4): This.
15669 (LDFLAGS-tst-lfschk5): Renamed to ...
15670 (LDLIBS-tst-lfschk5): This.
15671 (LDFLAGS-tst-lfschk6): Renamed to ...
15672 (LDLIBS-tst-lfschk6): This.
15674 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15675 on $(common-objpfx)soversions.mk.
15677 2012-09-07 Joseph Myers <joseph@codesourcery.com>
15680 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15683 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15685 * malloc/arena.c (arena_get_retry): New function that gets
15686 another arena for the caller to try its request on.
15687 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15688 current arena cannot fulfill the request.
15689 (__libc_memalign): Likewise.
15690 (__libc_memalign): Likewise.
15691 (__libc_pvalloc): Likewise.
15692 (__libc_calloc): Likewise.
15694 2012-09-05 John Tobey <john.tobey@gmail.com>
15697 * manual/arith.texi (Operations on Complex): Fix description
15698 of carg branch cut.
15700 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15703 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15707 * manual/memory.texi (Memory): Make order of menu items match
15710 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15712 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15713 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15714 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15716 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15718 * csu/libc-tls.c (static_dtv): Renamed to ...
15719 (_dl_static_dtv): This. Make it global.
15720 (_dl_initial_dtv): Removed.
15721 (__libc_setup_tls): Updated.
15722 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15723 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15726 2012-09-06 Petr Machata <pmachata@redhat.com>
15728 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15729 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15730 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15731 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15733 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15736 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15737 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15740 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15743 * Makeconfig (link-static-before-libc): Replace $(+prector)
15745 (link-static-after-libc): Replace $(+postctor) with
15747 (link-bounded): Replace $(+prector)/$(+postctor) with
15748 $(+prectorT)/$(+postctorT).
15749 (+prectorT): New macro.
15750 (+postctorT): Likewise.
15752 2012-09-06 Joseph Myers <joseph@codesourcery.com>
15754 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15755 (round_str): Handle values above the maximum for IBM long double
15757 * stdlib/tst-strtod-round.c (tests): Regenerated.
15759 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15761 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15763 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15764 zarch_nohighgprs around the zarch optimized routines.
15765 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15766 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15767 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15770 2012-09-05 David S. Miller <davem@davemloft.net>
15772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15774 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15775 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15776 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15777 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15780 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15782 * malloc/arena.c: Fold copyright years.
15783 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15785 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15787 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15789 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15791 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15793 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15795 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15796 change internal state upon failure.
15798 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
15800 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15801 * malloc/memusage.c (mmap): Likewise.
15802 (mmap64, mremap): Likewise. Adjust name in comment.
15804 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15806 * libio/fileops.c: Fix typos in comments.
15807 * libio/oldfileops.c: Likewise.
15808 * libio/wfileops.c: Likewise.
15810 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15813 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15814 (tst-malloc-usable-ENV): Set environment for test case.
15815 * malloc/hooks.c (malloc_check_get_size): New function to get
15817 * malloc/malloc.c (musable): Use malloc_check_get_size.
15818 * malloc/tst-malloc-usable.c: New test case.
15820 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15822 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15824 2012-09-05 Allan McRae <allan@archlinux.org>
15827 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15828 determine header location.
15829 * configure: Regenerated.
15831 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15833 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15835 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
15836 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15838 (test): Regenerate.
15840 2012-09-04 David S. Miller <davem@davemloft.net>
15842 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15843 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15844 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15846 2012-09-04 Florian Weimer <fweimer@redhat.com>
15848 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15851 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15853 2012-09-04 Joseph Myers <joseph@codesourcery.com>
15856 * libio/iogetdelim.c: Include <limits.h>.
15857 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15858 + len + 1 would overflow.
15860 2012-09-03 Andreas Jaeger <aj@suse.de>
15862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15863 * sysdeps/i386/fpu/libm-test-ulps: Update.
15865 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15867 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15868 Add s_sinf-sse2, s_conf-sse2.
15870 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15871 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15872 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15873 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15875 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15876 for using routine as __sinf_ia32.
15877 Use macro for function declaration and weak_alias.
15878 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15879 for using routine as __cosf_ia32.
15880 Use macro for function declaration and weak_alias.
15882 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15883 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15885 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15886 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15889 * math/libm-test.inc (cos_test): Add more test cases.
15890 (sin_test): Likewise.
15891 (sincos_test): Likewise.
15893 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15895 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15896 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15898 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15900 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15903 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15904 first element of the GOT.
15905 (elf_machine_load_address): Return the difference between
15906 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15908 2012-09-01 Allan McRae <allan@archlinux.org>
15911 * configure.in (AWK): Require gawk version 3.0 or later.
15912 * configure: Regenerated.
15914 2012-09-01 Joseph Myers <joseph@codesourcery.com>
15916 * sysdeps/unix/sysv/linux/kernel-features.h
15917 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15918 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15919 [__NR_clock_getres]: Make code unconditional.
15920 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15921 (clock_getcpuclockid): Remove code left unreachable by removal of
15923 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15924 code unconditional.
15925 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15926 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15927 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15928 Make code unconditional.
15929 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15930 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15931 * sysdeps/unix/sysv/linux/clock_settime.c
15932 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15934 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15935 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15937 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15940 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15941 scripts/test-installation.pl.
15943 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15944 and $ld_so_version if it is set.
15946 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15949 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15950 failure if reading from procfs failed.
15951 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15953 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15955 * sysdeps/unix/sysv/linux/kernel-features.h
15956 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15957 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15958 Remove conditional code.
15959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15960 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15961 Remove conditional code.
15962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15963 * sysdeps/unix/sysv/linux/i386/fxstat.c
15964 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15966 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15967 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15969 * sysdeps/unix/sysv/linux/i386/lxstat.c
15970 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15971 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15972 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15973 Remove conditional code.
15974 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15975 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15976 Remove conditional code.
15977 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15978 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15979 <kernel-features.h>.
15980 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15982 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15983 Remove conditional code.
15984 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15985 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15986 Remove conditional.
15988 2012-08-27 Mike Frysinger <vapier@gentoo.org>
15991 * NEWS: Add fixed bug number.
15993 2012-08-27 Joseph Myers <joseph@codesourcery.com>
15996 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15997 underflowing exponent in case of negative sign.
15998 * stdlib/tst-strtod-round-data: Add more tests.
15999 * stdlib/tst-strtod-round.c (tests): Regenerated.
16002 * stdlib/strtod_l.c (NDIG): Remove.
16003 (HEXNDIG): Likewise.
16004 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16005 smallest representable value.
16006 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16007 lie within an exact representation of 1/2 ulp of the result.
16008 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16010 (TENS_P9_IDX): Define unconditionally.
16011 (TENS_P9_SIZE): Likewise.
16012 (TENS_P10_IDX): Likewise.
16013 (TENS_P10_SIZE): Likewise.
16014 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16015 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16016 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16017 entries for 10^2^13 and 10^2^14.
16018 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16019 (TENS_P13_IDX): Define.
16020 (TENS_P13_SIZE): Likewise.
16021 (TENS_P14_IDX): Likewise.
16022 (TENS_P14_SIZE): Likewise.
16023 (_fpioconst_pow10): Change array size to
16024 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16026 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16027 1024]: Add entries for 10^2^13 and 10^2^14.
16028 [LAST_POW10 > _LAST_POW10]: Remove #error.
16029 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16030 (_fpioconst_pow10): Change array size to
16031 FPIOCONST_POW10_ARRAY_SIZE.
16032 * stdlib/gen-fpioconst.c: New file.
16033 * stdlib/gen-tst-strtod-round.c: Likewise.
16034 * stdlib/tst-strtod-round-data: Likewise.
16035 * stdlib/tst-strtod-round.c: Likewise.
16036 * stdlib/Makefile (tests): Add tst-strtod-round.
16039 * stdlib/strtod_l.c: Include <stdint.h>.
16040 (NDEBUG): Do not define.
16041 (round_and_return): Change EXPONENT parameter to type intmax_t.
16042 Rearrange calculations to avoid internal overflow possibilities.
16043 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16044 Rearrange calculations to avoid internal overflow possibilities.
16045 Assert that number fits inside MPNSIZE limbs.
16046 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16047 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16048 calculations and add assertions to avoid internal overflow
16049 possibilities. Add casts to avoid signed/unsigned operations.
16050 * stdlib/tst-strtod-overflow.c: New file.
16051 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16053 2012-08-25 Marek Polacek <polacek@redhat.com>
16055 * time/time.h: Fix some typos in comments.
16057 2012-08-23 Roland McGrath <roland@hack.frob.com>
16059 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16060 * posix/tst-rfc3484-2.c: Likewise.
16061 * posix/tst-rfc3484-3.c: Likewise.
16063 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16065 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16066 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16068 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16070 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16071 #include of fxstatat64.c.
16073 2012-08-22 Roland McGrath <roland@hack.frob.com>
16075 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16076 * shadow/getspent_r.c: Likewise.
16077 * shadow/getspnam.c: Likewise.
16078 * shadow/getspnam_r.c: Likewise.
16079 * gshadow/getsgent.c: Likewise.
16080 * gshadow/getsgent_r.c: Likewise.
16081 * gshadow/getsgnam.c: Likewise.
16082 * gshadow/getsgnam_r.c: Likewise.
16083 * inet/getnetbyad.c: Likewise.
16084 * inet/getnetbyad_r.c: Likewise.
16085 * inet/getnetbynm.c: Likewise.
16086 * inet/getnetbynm_r.c: Likewise.
16087 * inet/getnetent.c: Likewise.
16088 * inet/getnetent_r.c: Likewise.
16089 * inet/getproto.c: Likewise.
16090 * inet/getproto_r.c: Likewise.
16091 * inet/getprtent.c: Likewise.
16092 * inet/getprtent_r.c: Likewise.
16093 * inet/getprtname.c: Likewise.
16094 * inet/getprtname_r.c: Likewise.
16095 * inet/getrpcbyname.c: Likewise.
16096 * inet/getrpcbyname_r.c: Likewise.
16097 * inet/getrpcbynumber.c: Likewise.
16098 * inet/getrpcbynumber_r.c: Likewise.
16099 * inet/getrpcent.c: Likewise.
16100 * inet/getrpcent_r.c: Likewise.
16101 * inet/getaliasent.c: Likewise.
16102 * inet/getaliasent_r.c: Likewise.
16103 * inet/getaliasname.c: Likewise.
16104 * inet/getaliasname_r.c: Likewise.
16105 * nscd/getgrgid_r.c: Likewise.
16106 * nscd/getgrnam_r.c: Likewise.
16107 * nscd/gethstbyad_r.c: Likewise.
16108 * nscd/gethstbynm3_r.c: Likewise.
16109 * nscd/getpwnam_r.c: Likewise.
16110 * nscd/getpwuid_r.c: Likewise.
16111 * nscd/getsrvbynm_r.c: Likewise.
16112 * nscd/getsrvbypt_r.c: Likewise.
16113 * nscd/gai.c: Likewise.
16115 * configure.in (build_nscd): New substituted variable, set
16116 by --disable-build-nscd and defaults to $use_nscd.
16117 * configure: Regenerated.
16118 * config.make.in (build-nscd): New substituted variable.
16119 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16120 Change conditional to require [$(build-nscd) = yes] as well.
16121 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16124 * configure.in (use_nscd): New substituted variable, set by
16125 --disable-nscd. If enabled, define USE_NSCD.
16126 * configure: Regenerated.
16127 * config.h.in: Add USE_NSCD.
16128 * config.make.in (use-nscd): New substituted variable.
16129 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16130 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16131 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16132 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16133 (CFLAGS-getgrnam_r.c): Likewise.
16134 (CFLAGS-initgroups.c): Likewise.
16135 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16136 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16138 * inet/getnetgrent_r.c
16139 (nscd_setnetgrent): New function, broken out of ...
16140 (setnetgrent): ... here. Call it.
16141 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16142 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16143 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16144 * nscd/Makefile (routines, aux): Move definitions after include of
16145 Makeconfig. Conditionalize on [$(use-nscd) != no].
16146 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16147 Conditionalize on [USE_NSCD].
16148 (is_nscd, nscd_init_cb): Likewise.
16149 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16150 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16151 * nss/nss_db/db-init.c: Likewise.
16152 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16154 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16155 (make_request): Use it.
16156 (cache_valid_p): New function.
16157 (__check_pf): Use it.
16158 * NEWS: Add item for --disable-nscd.
16160 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16162 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16163 to support sed >= 4.2.1-20-ga9bf076.
16164 * configure: Regenerated.
16166 2012-08-22 Roland McGrath <roland@hack.frob.com>
16168 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16169 Conditionalize whole body on [IREL].
16171 2012-08-22 Jeff Law <law@redhat.com>
16174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16175 if the family is PF_UNSPEC.
16177 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16179 * Makerules (lib-version): Rename from V.
16180 (install-lib-nosubdir): Change V to lib-version.
16182 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16185 * powerpc32/power6/wcschr.c: New file.
16186 * powerpc32/power6/wcscpy.c: New file.
16187 * powerpc32/power6/wcsrchr.c: New file.
16188 * powerpc64/power6/wcschr.c: New file.
16189 * powerpc64/power6/wcscpy.c: New file.
16190 * powerpc64/power6/wcsrchr.c: New file.
16192 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16194 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16195 (two_way_short_needle): Use it.
16196 * string/strstr.c (AVAILABLE1_USES_J): Define.
16197 * string/strcasestr.c: Likewise.
16199 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16201 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16204 * NEWS: Add an entry.
16205 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16206 define their defaults.
16207 (two_way_short_needle): Detect end-of-string on-the-fly.
16208 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16209 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16210 * string/bug-strcasestr1.c: New test.
16211 * string/Makefile: Run it.
16213 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16216 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16217 the first character.
16219 2012-08-21 Roland McGrath <roland@hack.frob.com>
16221 * csu/elf-init.c (__libc_csu_irel): Function removed.
16222 * csu/libc-start.c (apply_irel): New function.
16223 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16225 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16227 * sysdeps/unix/sysv/linux/kernel-features.h
16228 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16229 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16230 <kernel-features.h>.
16231 [__NR_fadvise64_64]: Make code unconditional.
16232 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16233 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16234 !__NR_fadvise64_64)]: Likewise.
16235 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16236 !__NR_fadvise64_64))]: Likewise.
16237 [__NR_fadvise64]: Make code unconditional.
16238 [!__NR_fadvise64]: Remove conditional code.
16239 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16240 <kernel-features.h>.
16241 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16243 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16246 not include <kernel-features.h>.
16247 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16249 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16251 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16252 include <kernel-features.h>.
16253 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16255 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16258 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16260 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16261 slight instruction rearrangements per scrollpipe analysis.
16262 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16264 2012-08-20 Roland McGrath <roland@hack.frob.com>
16266 * manual/syslog.texi (syslog; vsyslog, closelog):
16267 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16268 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16270 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16271 DSOCAPS to match condition on defining it.
16273 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16275 * sysdeps/unix/sysv/linux/kernel-features.h
16276 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16278 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16279 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16281 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16282 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16284 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16285 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16287 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16288 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16290 * sysdeps/unix/sysv/linux/kernel-features.h
16291 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16292 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16294 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16295 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16296 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16297 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16298 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16299 Make code unconditional.
16300 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16301 (__mmap64) [!__NR_mmap2]: Likewise.
16302 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16303 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16304 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16305 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16306 [__NR_mmap2]: Make code unconditional.
16307 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16308 (__mmap64) [!__NR_mmap2]: Likewise.
16310 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16312 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16314 2012-08-18 Andreas Jaeger <aj@suse.de>
16316 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16318 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16320 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16321 * include/unistd.h (__have_sock_cloexec): Likewise.
16322 (__have_pipe2): Likewise.
16323 (__have_dup3): Likewise.
16325 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16328 * include/unistd.h (__have_pipe2): Change define into an extern int.
16329 (__have_dup3): Likewise.
16330 * socket/have_sock_cloexec.c: Include fcntl.h.
16331 (__have_pipe2): New variable.
16332 (__have_dup3): Likewise.
16334 2012-08-17 Mike Frysinger <vapier@gentoo.org>
16336 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16338 2012-08-17 Marek Polacek <polacek@redhat.com>
16340 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16341 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16343 2012-08-17 Roland McGrath <roland@hack.frob.com>
16345 * configure.in: Add AC_SUBST for sysheaders.
16346 * configure: Regenerated.
16347 * config.make.in (sysheaders): New substituted variable.
16349 * sysdeps/unix/mkfifo.c: Moved ...
16350 * sysdeps/posix/mkfifo.c: ... here.
16351 * sysdeps/unix/mkfifoat.c: Moved ...
16352 * sysdeps/posix/mkfifoat.c: ... here.
16354 * sysdeps/unix/utime.c: Moved ...
16355 * sysdeps/posix/utime.c: ... here.
16357 * sysdeps/unix/time.c: Moved ...
16358 * sysdeps/posix/time.c: ... here.
16359 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16360 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
16362 * sysdeps/unix/nice.c: Moved ...
16363 * sysdeps/posix/nice.c: ... here.
16365 * sysdeps/unix/alarm.c: Moved ...
16366 * sysdeps/posix/alarm.c: ... here.
16368 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16370 2012-08-17 Jeff Law <law@redhat.com>
16372 * intl/Makefile (codeset_mo): New variable.
16373 ($(codeset_mo)): New target.
16374 (tst-codeset.out): Depend on that. Remove explicit rule.
16375 (tst-gettext3.out, tst-gettext5.out): Likewise.
16376 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16377 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16378 * intl/tst-codeset.sh: Remove.
16379 * intl/tst-gettext3.sh: Likewise.
16380 * intl/tst-gettext5.sh: Likewise.
16382 2012-08-17 Roland McGrath <roland@hack.frob.com>
16384 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16385 * sysdeps/unix/syscalls.list: ... here.
16387 * sysdeps/posix/getaddrinfo.c
16388 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16389 (gaiconf_init, gaiconf_reload): Use them.
16390 [!_STATBUF_ST_NSEC]
16391 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16392 Define using time_t rather than struct timespec.
16394 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16395 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16397 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16399 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16400 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16403 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16404 __libc_cleanup_push argument.
16406 * bits/param.h: New file.
16407 * misc/sys/param.h: New file.
16408 * include/sys/param.h: New file.
16409 * misc/Makefile (headers): Add bits/param.h.
16410 * sysdeps/generic/sys/param.h: File removed.
16411 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16412 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16413 * sysdeps/mach/hurd/bits/param.h: New file.
16414 * sysdeps/mach/hurd/sys/param.h: File removed.
16416 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16419 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16421 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16422 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16425 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16426 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16427 rather than -D_IO_MTSAFE_IO conditionally.
16428 * stdio-common/Makefile (CPPFLAGS): Likewise.
16429 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16430 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16431 Use $(libio-mtsafe).
16432 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16433 of -D_IO_MTSAFE_IO.
16434 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16435 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16436 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16437 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16438 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16439 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16440 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16441 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16442 (CFLAGS-fread_u_chk.c): Likewise.
16443 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16444 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16445 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16446 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16447 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16448 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16449 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16450 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16451 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16453 * libio/Makefile: Test [$(libc-reentrant) = yes]
16454 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16457 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16458 * sysdeps/pthread/configure: File removed.
16459 * sysdeps/pthread/Makeconfig: New file.
16460 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16461 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16463 2012-08-16 Gary Benson <gbenson@redhat.com>
16465 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16466 unmapping the first object in a namespace.
16468 2012-08-16 Roland McGrath <roland@hack.frob.com>
16470 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16471 (__internal_setnetgrent): ... this. Add internal_function to
16472 definition. Add libc_hidden_def.
16473 (setnetgrent): Update caller.
16474 (internal_endnetgrent): Renamed to ...
16475 (__internal_endnetgrent): ... this. Add internal_function to
16476 definition. Add libc_hidden_def.
16477 (endnetgrent): Update caller.
16478 (internal_getnetgrent_r): Renamed to ...
16479 (__internal_getnetgrent_r): ... this. Add internal_function to
16480 definition. Add libc_hidden_def.
16481 (__getnetgrent_r): Update caller.
16482 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16484 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16486 * stdlib/longlong.h: Update from GCC.
16488 2012-08-16 Roland McGrath <roland@hack.frob.com>
16490 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16491 on _QL, which is set by umul_ppmm but never used.
16492 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16493 variables, which are set by GMP macros but never used.
16494 * stdio-common/_itowa.c (_itowa): Likewise.
16495 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16496 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16498 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16500 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16501 struct La_sh_regs is not constant.
16502 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16503 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16504 and struct La_sparc64_regs are not constant.
16506 2012-08-16 Joseph Myers <joseph@codesourcery.com>
16508 * sysdeps/unix/sysv/linux/kernel-features.h
16509 (__ASSUME_POSIX_TIMERS): Remove.
16510 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16511 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16512 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16513 Make code unconditional.
16514 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16515 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16516 Make code unconditional.
16517 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16518 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16519 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16520 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16521 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16522 Make code unconditional.
16523 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16524 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16525 (__libc_missing_posix_timers): Remove.
16527 2012-08-15 Roland McGrath <roland@hack.frob.com>
16529 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16530 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16532 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16534 * elf/dl-sym.c: Include <stdlib.h>.
16536 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16537 constants, which avoids warnings in 32-bit builds.
16539 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16540 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16542 * misc/lseek.c: File moved to ...
16543 * io/lseek.c: ... here.
16545 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16547 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16548 shifting LEN more than 31 bits at once.
16550 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16553 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16554 segmentation fault for a case of two empty input strings.
16555 * string/test-strncasecmp.c (check1): Renamed to...
16556 (bz12205): ...this.
16557 (bz14195): Add new testcase for two empty input strings and N > 0.
16558 (test_main): Call new testcase, adapt for renamed function.
16560 2012-08-15 Andreas Jaeger <aj@suse.de>
16563 * crypt/md5test2.c: New test, based on test supplied by Serge
16564 Belyshev <belyshev@depni.sinp.msu.ru>.
16565 * crypt/Makefile (xtests): Add md5test-giant..
16566 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16568 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16571 * crypt/md5.c (md5_process_block): Don't assume the buffer
16572 length is less than 2**32.
16573 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16574 length is less than 2**64.
16576 2012-08-15 Roland McGrath <roland@hack.frob.com>
16578 * string/str-two-way.h: Include <sys/param.h>.
16579 (MAX): Macro removed.
16581 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16582 Move #define and #undef of memmove to just before and after
16583 including <string.h>.
16585 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16586 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16587 and after including <string.h>. Move declarations of
16588 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16589 to before #include "string/memmove.c".
16591 * include/dirent.h: Declare __getdirentries.
16593 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16594 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16596 2012-08-14 Mike Frysinger <vapier@gentoo.org>
16598 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16599 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16600 * sysdeps/i386/configure: Regenerated.
16601 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16602 STABS_CURRENT_FILE, and STABS_FUN.
16603 (END): Remove call to STABS_FUN_END.
16604 (STABS_CURRENT_FILE1): Delete.
16605 (STABS_CURRENT_FILE): Likewise.
16606 (STABS_FUN): Likewise.
16607 (STABS_FUN_END): Likewise.
16608 (STABS_FUN2): Likewise.
16609 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16610 * sysdeps/x86_64/configure: Regenerated.
16612 2012-08-14 Roland McGrath <roland@hack.frob.com>
16614 * elf/dl-open.c: Include <atomic.h>.
16615 * elf/dl-lookup.c: Likewise.
16617 2012-08-14 Joseph Myers <joseph@codesourcery.com>
16619 * sysdeps/unix/sysv/linux/kernel-features.h
16620 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16621 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16623 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16625 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16626 condition on __ASSUME_CLONE_THREAD_FLAGS.
16628 2012-08-14 Andreas Jaeger <aj@suse.de>
16630 * sysdeps/i386/fpu/libm-test-ulps: Update.
16632 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16634 * include/atomic.h (atomic_exchange_and_add): Split into ...
16635 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16638 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16640 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16642 2012-08-13 Jeff Law <law@redhat.com>
16644 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16645 null byte in the output string.
16647 2012-08-10 Joseph Myers <joseph@codesourcery.com>
16649 * sysdeps/unix/sysv/linux/kernel-features.h
16650 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16651 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16652 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16653 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16654 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16655 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16656 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16658 2012-08-09 Jeff Law <law@redhat.com>
16661 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16662 When avoid_arena is set, don't retry in the that arena. Pick the
16663 next one, whatever it might be.
16664 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16665 (arena_lock): Pass in new parameter to arena_get2.
16666 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16668 (__libc_malloc): Unify retrying after main arena failure with
16669 __libc_memalign version.
16670 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16672 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16675 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16676 to __redirect_strstr.
16677 (__strstr_sse42): Use typeof __redirect_strstr.
16678 (__strstr_ia32): Likewise.
16679 (__libc_strstr): New prototype.
16680 (strstr): Renamed to ...
16681 (__libc_strstr): This.
16682 (strstr): New strong alias of __libc_strstr.
16683 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16684 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16687 (__libc_time): New prototype.
16688 (time_ifunc): Replace time with __libc_time.
16689 (time): New strong alias and hidden definition of __libc_time.
16690 (__GI_time): Remove strong alias.
16691 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16692 Include <stddef.h>.
16693 (memmove): Redefined to __redirect_memmove.
16694 (__memmove_sse2): Use typeof __redirect_memmove.
16695 (__memmove_ssse3): Likewise.
16696 (__memmove_ssse3_back): Likewise.
16697 (__libc_memmove): New prototype.
16698 (memmove): Renamed to ...
16699 (__libc_memmove): This.
16700 (memmove): New strong alias of __libc_memmove.
16702 2012-08-08 Mark Salter <msalter@redhat.com>
16705 (R_MN10300_TLS_GD): Define.
16706 (R_MN10300_TLS_LD): Likewise.
16707 (R_MN10300_TLS_LDO): Likewise.
16708 (R_MN10300_TLS_GOTIE): Likewise.
16709 (R_MN10300_TLS_IE): Likewise.
16710 (R_MN10300_TLS_LE): Likewise.
16711 (R_MN10300_TLS_DTPMOD): Likewise.
16712 (R_MN10300_TLS_DTPOFF): Likewise.
16713 (R_MN10300_TLS_TPOFF): Likewise.
16714 (R_MN10300_SYM_DIFF): Likewise.
16715 (R_MN10300_ALIGN): Likewise.
16716 (R_MN10300_NUM): Update.
16718 2012-08-08 Joseph Myers <joseph@codesourcery.com>
16720 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16723 2012-08-08 Roland McGrath <roland@hack.frob.com>
16725 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16727 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16728 sysdeps/unix -> sysdeps/posix move.
16729 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16731 2012-08-07 Allan McRae <allan@archlinux.org>
16734 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16735 (SUNOS_CPP): Likewise.
16736 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16738 (open_input): Call CPP using execvp.
16740 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16742 * sysdeps/unix/sysv/linux/kernel-features.h
16743 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16744 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16745 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16746 (__ASSUME_WAITID_SYSCALL): Likewise.
16747 * sysdeps/unix/sysv/linux/dl-execstack.c
16748 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16749 code unconditional.
16750 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16752 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16753 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16754 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16756 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16758 [__ASSUME_WAITID_SYSCALL]: Likewise.
16759 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16761 2012-08-07 Roland McGrath <roland@hack.frob.com>
16763 * sysdeps/unix/closedir.c: Renamed to ...
16764 * sysdeps/posix/closedir.c: ... here.
16765 * sysdeps/unix/dirfd.c: Renamed to ...
16766 * sysdeps/posix/dirfd.c: ... here.
16767 * sysdeps/unix/dirstream.h: Renamed to ...
16768 * sysdeps/posix/dirstream.h: ... here.
16769 * sysdeps/unix/fdopendir.c: Renamed to ...
16770 * sysdeps/posix/fdopendir.c: ... here.
16771 * sysdeps/unix/opendir.c: Renamed to ...
16772 * sysdeps/posix/opendir.c: ... here.
16773 * sysdeps/unix/readdir.c: Renamed to ...
16774 * sysdeps/posix/readdir.c: ... here.
16775 * sysdeps/unix/readdir_r.c: Renamed to ...
16776 * sysdeps/posix/readdir_r.c: ... here.
16777 * sysdeps/unix/rewinddir.c: Renamed to ...
16778 * sysdeps/posix/rewinddir.c: ... here.
16779 * sysdeps/unix/seekdir.c: Renamed to ...
16780 * sysdeps/posix/seekdir.c: ... here.
16781 * sysdeps/unix/telldir.c: Renamed to ...
16782 * sysdeps/posix/telldir.c: ... here.
16783 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16784 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16785 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16786 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16788 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16789 * bits/fcntl.h: ... here.
16791 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16793 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16794 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16795 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16796 (struct flock): Move l_start, l_len to the beginning.
16797 Use __pid_t for l_pid.
16798 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16799 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16800 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16801 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16802 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16803 [__USE_LARGEFILE64] (struct flock64): New type.
16804 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16806 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16807 * bits/dirent.h: ... here.
16809 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16810 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16812 2012-08-07 Joseph Myers <joseph@codesourcery.com>
16814 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16815 Change from 2.6.0 to 2.6.16.
16816 * sysdeps/unix/sysv/linux/configure: Regenerated.
16817 * sysdeps/unix/sysv/linux/kernel-features.h
16818 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16819 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16821 (__ASSUME_UTIMES): Likewise.
16822 (__ASSUME_CLONE_STOPPED): Remove.
16823 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16824 architectures, not kernel version.
16825 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16826 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16827 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16828 (__ASSUME_WAITID_SYSCALL): Likewise.
16829 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16830 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16831 * README: State 2.6.16 as minimum Linux kernel version. Do not
16832 refer to older versions.
16834 2012-08-06 Roland McGrath <roland@hack.frob.com>
16836 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16837 Define alphasort64 as an alias.
16838 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16839 Define versionsort64 as an alias.
16840 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16841 Define scandir64 as an alias.
16842 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16843 Define scandirat64 as an alias.
16844 * dirent/alphasort64.c (alphasort64):
16845 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16846 * dirent/versionsort64.c: Likewise.
16847 * dirent/scandir64.c: Likewise.
16848 * dirent/scandirat64.c: Likewise.
16849 * sysdeps/wordsize-64/alphasort.c: File removed.
16850 * sysdeps/wordsize-64/alphasort64.c: File removed.
16851 * sysdeps/wordsize-64/scandir.c: File removed.
16852 * sysdeps/wordsize-64/scandir64.c: File removed.
16853 * sysdeps/wordsize-64/scandirat.c: File removed.
16854 * sysdeps/wordsize-64/scandirat64.c: File removed.
16855 * sysdeps/wordsize-64/versionsort.c: File removed.
16856 * sysdeps/wordsize-64/versionsort64.c: File removed.
16857 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16858 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16859 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16860 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16861 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16862 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16863 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16864 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16866 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16868 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16869 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16870 [defined __arch64__ || defined __sparcv9]
16871 (__INO_T_MATCHES_INO64_T): New macro.
16872 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16873 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16874 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16875 * sysdeps/unix/sysv/linux/bits/dirent.h
16876 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16877 (_DIRENT_MATCHES_DIRENT64): New macro.
16879 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16880 Define lockf64 as an alias.
16881 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16882 Define fseeko64 as an alias.
16883 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16884 Define ftello64 as an alias.
16885 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16886 Define _IO_fgetpos64 and fgetpos64 as aliases.
16887 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16888 Define _IO_fsetpos64 and fsetpos64 as aliases.
16889 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16890 Conditionalize body on this.
16891 * libio/fseeko64.c: Likewise.
16892 * libio/ftello64.c: Likewise.
16893 * libio/iofgetpos64.c: Likewise.
16894 * libio/iofsetpos64.c: Likewise.
16895 * sysdeps/wordsize-64/lockf.c: File removed.
16896 * sysdeps/wordsize-64/lockf64.c: File removed.
16897 * sysdeps/wordsize-64/fseeko.c: File removed.
16898 * sysdeps/wordsize-64/fseeko64.c: File removed.
16899 * sysdeps/wordsize-64/ftello.c: File removed.
16900 * sysdeps/wordsize-64/ftello64.c: File removed.
16901 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16902 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16903 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16904 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16905 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16906 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16907 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16908 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16909 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16910 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16911 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16912 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16913 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16914 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16916 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16917 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16918 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16919 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16920 [defined __arch64__ || defined __sparcv9]
16921 (__OFF_T_MATCHES_OFF64_T): New macro.
16922 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16923 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16924 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16925 (__OFF_T_MATCHES_OFF64_T): New macro.
16927 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16929 * stdlib/secure-getenv.c (__secure_getenv): Replace
16930 GLIBC_2_16 with GLIBC_2_17.
16932 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16934 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16935 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16937 2012-08-03 David S. Miller <davem@davemloft.net>
16939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16941 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16943 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16945 (__ASSUME_CORRECT_SI_PID): Likewise.
16946 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16947 (__ASSUME_TMPFS_NAME): Likewise.
16948 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16949 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16950 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16951 (HAVE_AUX_SECURE): Make definition unconditional.
16952 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16953 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16955 2012-08-03 Roland McGrath <roland@hack.frob.com>
16957 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16958 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16959 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16960 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16961 __eloop_threshold instead of SYMLOOP_MAX.
16963 * sysdeps/generic/eloop-threshold.h: New file.
16964 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16966 * elf/chroot_canon.c (chroot_canon): Likewise.
16968 2012-08-03 Joseph Myers <joseph@codesourcery.com>
16971 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16972 Change to 2.6.0 everywhere.
16973 * sysdeps/unix/sysv/linux/configure: Regenerated.
16974 * sysdeps/unix/sysv/linux/kernel-features.h
16975 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16976 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16978 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16979 (__ASSUME_FUTEX_REQUEUE): Remove.
16980 (__ASSUME_STATFS64): Define unconditionally.
16981 (__ASSUME_AT_SECURE): Likewise.
16982 (__ASSUME_CORRECT_SI_PID): Likewise.
16983 (__ASSUME_TGKILL): Define without depending on kernel version for
16985 (__ASSUME_UTIMES): Likewise.
16986 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16988 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16989 (__ASSUME_TMPFS_NAME): Likewise.
16990 * README: Update reference to Linux kernel versions.
16992 2012-08-02 Marek Polacek <polacek@redhat.com>
16995 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16996 libc_cv_asm_type_prefix with %.
16997 * configure: Regenerated.
16998 * include/libc-symbols.h: Remove comment about
16999 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17000 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17001 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17002 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17003 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17004 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17005 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17006 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17007 * elf/tst-unique2mod1.c: Likewise.
17008 * elf/tst-unique1mod2.c: Likewise.
17009 * elf/tst-unique1mod1.c: Likewise.
17010 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17011 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17012 Replace ASM_TYPE_DIRECTIVE with .type.
17013 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17014 * sysdeps/i386/sysdep.h: Likewise.
17015 * sysdeps/x86_64/sysdep.h: Likewise.
17016 * sysdeps/sh/sysdep.h: Likewise.
17017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17018 Do not define ASM_TYPE_DIRECTIVE.
17019 * sysdeps/powerpc/sysdep.h: Likewise.
17020 * sysdeps/powerpc/powerpc32/sysdep.h:
17021 Replace ASM_TYPE_DIRECTIVE with .type.
17022 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17023 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17024 * sysdeps/i386/fpu/e_powf.S: Likewise.
17025 * sysdeps/i386/fpu/e_expl.S: Likewise.
17026 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17027 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17028 * sysdeps/i386/fpu/e_pow.S: Likewise.
17029 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17030 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17031 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17032 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17033 * sysdeps/i386/fpu/e_log2.S: Likewise.
17034 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17035 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17036 * sysdeps/i386/fpu/e_powl.S: Likewise.
17037 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17038 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17039 * sysdeps/i386/fpu/e_logl.S: Likewise.
17040 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17041 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17042 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17043 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17044 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17045 * sysdeps/i386/fpu/e_log.S: Likewise.
17046 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17047 * sysdeps/i386/fpu/e_logf.S: Likewise.
17048 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17049 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17050 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17051 * sysdeps/i386/fpu/e_log10.S: Likewise.
17052 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17053 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17054 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17055 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17056 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17057 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17058 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17059 * sysdeps/i386/i686/strtok.S: Likewise.
17060 * sysdeps/i386/i386-mcount.S: Likewise.
17061 * sysdeps/i386/strtok.S: Likewise.
17062 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17063 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17064 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17065 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17066 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17067 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17068 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17069 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17070 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17071 * sysdeps/x86_64/_mcount.S: Likewise.
17072 * sysdeps/x86_64/strtok.S: Likewise.
17073 * sysdeps/sh/_mcount.S: Likewise.
17075 2012-08-01 Roland McGrath <roland@hack.frob.com>
17077 * libio/iofopen.c: Include <fcntl.h>.
17078 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17079 (_IO_fopen64, fopen64): Define as aliases.
17080 * libio/iofopen64.c: Include <fcntl.h>.
17081 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17082 Conditionalize body on this.
17083 * sysdeps/wordsize-64/iofopen.c: File removed.
17084 * sysdeps/wordsize-64/iofopen64.c: File removed.
17086 2012-08-01 Marek Polacek <polacek@redhat.com>
17088 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17089 Use dlfcn directly instead of a variable.
17090 (binfmt-subdir): Do not define.
17093 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17096 Remove all definitions.
17097 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17098 <kernel-features.h>.
17099 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17100 (miss_F_GETOWN_EX): Remove all definitions.
17101 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17103 [!__ASSUME_FCNTL64]: Remove conditional code.
17104 [__ASSUME_FCNTL64]: Make code unconditional.
17105 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17106 <kernel-features.h>.
17107 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17108 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17109 (lockf64) [__NR_fcntl64]: Make code unconditional.
17110 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17112 * sysdeps/unix/sysv/linux/kernel-features.h
17113 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17114 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17115 Make code unconditional.
17116 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17117 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17119 [__NR_vfork]: Make code unconditional.
17120 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17121 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17123 [__NR_vfork]: Make code unconditional.
17124 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17125 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17127 2012-08-01 Roland McGrath <roland@hack.frob.com>
17129 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17130 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17132 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17133 Define mkstemp64 as an alias.
17134 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17135 Define mkstemps64 as an alias.
17136 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17137 Define mkostemp64 as an alias.
17138 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17139 Define mkostemps64 as an alias.
17140 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17141 Conditionalize body on this.
17142 * misc/mkostemp64.c: Likewise.
17143 * misc/mkostemps64.c: Likewise.
17144 * misc/mkstemps64.c: Likewise.
17145 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17146 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17147 * sysdeps/wordsize-64/mkostemp.c: File removed.
17148 * sysdeps/wordsize-64/mkstemp.c: File removed.
17149 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17150 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17151 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17152 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17155 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17156 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17157 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17158 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17160 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17161 compat_symbol macros from <shlib-compat.h> rather than the underlying
17162 default_symbol_version and symbol_version macros, so that DEFAULT
17163 lines in shlib-versions are respected.
17164 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17166 2012-08-01 Florian Weimer <fweimer@redhat.com>
17168 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17169 Declare with warn_unused_result.
17170 (setgid, setregid, setegid, setresgid): Likewise.
17171 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17173 * WUR-REPORT: Remove set*id functions.
17175 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17177 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17179 2012-07-31 Roland McGrath <roland@hack.frob.com>
17182 * include/sys/socket.h (__libc_accept, __libc_accept4):
17183 Add attribute_hidden.
17184 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17186 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17188 * inet/getnetgrent_r.c (setup): Likewise.
17190 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17192 2012-07-31 David S. Miller <davem@davemloft.net>
17194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17196 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17199 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17200 value between 1.0 and 2.0 and smaller part has absolute value less
17202 * math/s_clog10.c (__clog10): Likewise.
17203 * math/s_clog10f.c (__clog10f): Likewise.
17204 * math/s_clog10l.c (__clog10l): Likewise.
17205 * math/s_clogf.c (__clogf): Likewise.
17206 * math/s_clogl.c (__clogl): Likewise.
17207 * math/libm-test.inc (clog_test): Add more tests.
17208 (clog10_test): Likewise.
17209 * sysdeps/i386/fpu/libm-test-ulps: Update.
17210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17212 2012-07-31 Florian Weimer <fweimer@redhat.com>
17214 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17215 Exit with zero in case no suitable GID is found, and write a
17216 message to standard error.
17218 2012-07-30 Roland McGrath <roland@hack.frob.com>
17220 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17222 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17223 (MAXPATHLEN): Removed.
17224 (NOGROUP, NODEV): New macros.
17225 (setbit, clrbit, isset, isclr): New macros.
17226 (howmany, roundup, powerof2): New macros.
17227 (DEV_BSIZE): New macro.
17229 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17230 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17232 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17233 definition on [!__NO_LONG_DOUBLE_MATH].
17235 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17236 PTR_MANGLE and PTR_DEMANGLE.
17238 * socket/accept4.c (accept4): Rename to __libc_accept4.
17239 Define accept4 as a weak alias.
17241 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17242 on [_DIRENT_HAVE_D_TYPE].
17243 * io/ftw.c (ftw_dir): Likewise.
17245 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17247 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17249 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17250 Use the BSD numbers rather than the arbitrary ones we had.
17251 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17252 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17253 (SIGXCPU, SIGXFSZ): New macros.
17256 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17257 initializer on [_LIBC_REENTRANT].
17259 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17260 definitions inside [_POSIX_MAPPED_FILES].
17262 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17264 * dirent/opendir.c: Include <fcntl.h>.
17266 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17267 (__libc_getspecific): Likewise.
17268 (__libc_key_create): Likewise.
17270 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17271 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17272 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17273 (tmpfile64): Define as alias.
17274 * sysdeps/wordsize-64/tmpfile.c: File removed.
17275 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17276 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17277 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17279 * stdio-common/vfscanf.c: Include <stdbool.h>.
17280 * nss/makedb.c: Likewise.
17281 * stdio-common/_i18n_number.h: Likewise.
17282 * argp/argp-help.c: Likewise.
17283 * posix/wordexp.c: Likewise.
17284 * sysdeps/posix/spawni.c: Likewise.
17285 * nss/nss_files/files-initgroups.c: Likewise.
17286 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17287 * nss/nss_files/files-initgroups.c: Likewise.
17288 * nss/nss_db/db-netgrp.c: Likewise.
17289 * nss/nss_db/db-initgroups.c: Likewise.
17290 * io/fchmodat.c: Include <sys/stat.h>.
17292 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17293 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17295 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17298 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17299 Add multiple inclusion protection.
17301 2012-07-27 David S. Miller <davem@davemloft.net>
17303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17305 2012-07-27 Gary Benson <gbenson@redhat.com>
17308 * elf/rtld.c: Include <stap-probe.h>.
17309 (dl_main): Added static probes "init_start" and "init_complete".
17310 * elf/dl-load.c: Include <stap-probe.h>.
17311 (lose): Take new parameter "nsid".
17312 Added static probe "map_failed".
17313 (_dl_map_object_from_fd): Pass namespace id to lose.
17314 Added static probe "map_start".
17315 (open_verify): Pass namespace id to lose.
17316 * elf/dl-open.c: Include <stap-probe.h>.
17317 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17318 and "reloc_complete".
17319 * elf/dl-close.c: Include <stap-probe.h>.
17320 (_dl_close_worker): Added static probes "unmap_start" and
17322 * elf/rtld-debugger-interface.txt: New file documenting the above.
17324 2012-07-26 Roland McGrath <roland@hack.frob.com>
17326 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17327 rather than a string variable.
17328 * sunrpc/rpc_main.c (h_output): Likewise.
17329 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17331 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17333 * inet/check_native.c: New file.
17335 2012-07-26 Joseph Myers <joseph@codesourcery.com>
17338 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17339 if larger part has absolute value 1.0.
17340 * math/s_clog10.c (__clog10): Likewise.
17341 * math/s_clog10f.c (__clog10f): Likewise.
17342 * math/s_clog10l.c (__clog10l): Likewise.
17343 * math/s_clogf.c (__clogf): Likewise.
17344 * math/s_clogl.c (__clogl): Likewise.
17345 * math/libm-test.inc (clog_test): Add more tests.
17346 (clog10_test): Likewise.
17347 * sysdeps/i386/fpu/libm-test-ulps: Update.
17348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17350 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17351 (pltexit): Likewise.
17352 (La_regs): Likewise.
17353 (La_retval): Likewise.
17354 (int_retval): Likewise.
17355 Update #error for removed macros to refer only to definitions in
17357 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17359 (pltexit): Likewise.
17360 (La_regs): Likewise.
17361 (La_retval): Likewise.
17362 (int_retval): Likewise.
17363 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17365 (pltexit): Likewise.
17366 (La_regs): Likewise.
17367 (La_retval): Likewise.
17368 (int_retval): Likewise.
17369 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17371 (pltexit): Likewise.
17372 (La_regs): Likewise.
17373 (La_retval): Likewise.
17374 (int_retval): Likewise.
17375 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17377 (pltexit): Likewise.
17378 (La_regs): Likewise.
17379 (La_retval): Likewise.
17380 (int_retval): Likewise.
17381 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17383 (pltexit): Likewise.
17384 (La_regs): Likewise.
17385 (La_retval): Likewise.
17386 (int_retval): Likewise.
17387 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17389 (pltexit): Likewise.
17390 (La_regs): Likewise.
17391 (La_retval): Likewise.
17392 (int_retval): Likewise.
17393 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17394 macro definitions in tst-audit.h.
17395 * sysdeps/i386/tst-audit.h: New file.
17396 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17397 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17398 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17399 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17400 * sysdeps/sh/tst-audit.h: Likewise.
17401 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17402 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17403 * sysdeps/x86_64/tst-audit.h: Likewise.
17405 2012-07-26 Andreas Jaeger <aj@suse.de>
17407 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17410 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17411 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17412 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17414 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17415 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17416 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17418 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17421 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17423 (si_call_addr, si_syscall, si_arch): Define new macro.
17424 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17426 (si_call_addr, si_syscall, si_arch): Define new marcro.
17427 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17429 (si_call_addr, si_syscall, si_arch): Define new macro.
17430 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17432 (si_call_addr, si_syscall, si_arch): Define new macro.
17434 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17437 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17438 Change to 2.4.21 where previously 2.4.1.
17439 * sysdeps/unix/sysv/linux/configure: Regenerated.
17440 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17441 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17442 Linux kernel version.
17443 (__ASSUME_STD_AUXV): Remove.
17444 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17446 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17447 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17448 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17449 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17450 (__ASSUME_NETLINK_SUPPORT): Likewise.
17451 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17452 (__no_netlink_support): Remove conditional definition.
17453 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17455 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17456 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17457 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17458 (if_nameindex_ioctl): Remove.
17459 (if_nameindex_netlink): Do not handle __no_netlink_support.
17460 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17462 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17463 Remove conditional code.
17464 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17466 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17468 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17469 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17470 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17472 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17473 [!__ASSUME_STD_AUXV]: Remove conditional code.
17474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17475 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17476 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17478 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17479 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17481 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17483 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17484 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17486 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17488 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17491 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17494 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17495 code unconditional.
17496 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17498 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17500 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17503 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17505 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17508 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17509 code unconditional.
17510 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17512 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17514 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17517 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17518 code unconditional.
17519 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17521 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17523 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17526 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17528 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17529 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17530 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17531 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17532 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17533 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17534 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17535 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17536 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17537 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17538 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17539 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17540 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17541 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17542 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17543 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17544 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17545 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17546 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17548 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17549 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17550 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17552 2012-07-25 Florian Weimer <fweimer@redhat.com>
17554 * Versions.def: Add GLIBC_2.17.
17555 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17556 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17557 Introduce __libc_secure_getenv.
17558 * stdlib/Versions (2.17): Add secure_getenv
17559 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17560 * stdlib/secure-getenv.c: Rename __secure_getenv to
17561 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17562 symbol __secure_getenv for GLIBC_2.0.
17563 * stdlib/tst-secure-getenv.c: New.
17564 * stdlib/Makefile (tests): Add testcase.
17565 * manual/startup.texi (Environment Access): Document
17567 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17568 __libc_secure_getenv.
17569 * inet/ruserpass.c (ruserpass): Likewise.
17570 * malloc/mtrace.c (mtrace): Likewise.
17571 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
17572 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17573 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17574 * sysdeps/posix/tempname.c: Likewise. Evaluate
17575 HAVE_SECURE_GETENV.
17576 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
17577 __secure_getenv to __libc_secure_getenv.
17578 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
17579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17585 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17591 2012-07-25 Joseph Myers <joseph@codesourcery.com>
17593 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17594 (struct La_i86_retval): Likewise.
17595 (struct La_x86_64_regs): Likewise.
17596 (struct La_x86_64_retval): Likewise.
17597 (struct La_x32_regs): Likewise.
17598 (struct La_x32_retval): Likewise.
17599 (struct La_ppc32_regs): Likewise.
17600 (struct La_ppc32_retval): Likewise.
17601 (struct La_ppc64_regs): Likewise.
17602 (struct La_ppc64_retval): Likewise.
17603 (struct La_sh_regs): Likewise.
17604 (struct La_sh_retval): Likewise.
17605 (struct La_s390_32_regs): Likewise.
17606 (struct La_s390_32_retval): Likewise.
17607 (struct La_s390_64_regs): Likewise.
17608 (struct La_s390_64_retval): Likewise.
17609 (struct La_sparc32_regs): Likewise.
17610 (struct La_sparc32_retval): Likewise.
17611 (struct La_sparc64_regs): Likewise.
17612 (struct La_sparc64_retval): Likewise.
17613 (struct audit_ifaces): Remove architecture-specific pltenter and
17615 * sysdeps/i386/ldsodefs.h: New file.
17616 * sysdeps/powerpc/ldsodefs.h: Likewise.
17617 * sysdeps/s390/ldsodefs.h: Likewise.
17618 * sysdeps/sh/ldsodefs.h: Likewise.
17619 * sysdeps/sparc/ldsodefs.h: Likewise.
17620 * sysdeps/x86_64/ldsodefs.h: Likewise.
17622 2012-07-25 Marek Polacek <polacek@redhat.com>
17625 * math/libm-test.inc (yn_test): Add another test.
17626 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17627 to ERANGE when the result is +-Inf.
17628 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17629 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17630 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17631 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17633 2012-07-24 Joseph Myers <joseph@codesourcery.com>
17635 * conform/data/time.h-data (NULL): Use macro-constant. Require
17637 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17639 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17641 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17643 * configure.in <sysdeps resolving>: Correct printing
17645 * configure: Regenerate.
17647 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17649 * math/w_ilogb.c: Include <limits.h>.
17650 * math/w_ilogbl.c: Likewise.
17652 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17654 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17655 va_copy. Document allowing for unavailable va_copy only as
17656 pre-C99 compatibility.
17657 * manual/string.texi (Copying and Concatenation): Use va_copy
17658 instead of __va_copy in concat example.
17660 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17662 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17663 (__sendto): Use create_address_port. Initialize APORT and deallocate
17666 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17667 with O_NOLINK passed to __file_name_lookup.
17669 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17670 with O_NOLINK passed to __file_name_lookup.
17672 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17673 negative N or less than NGIDS.
17675 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17676 type to string_t. Set ERANGE as errno and return it if NAME is not big
17677 enough. Use memcpy instead of strncpy.
17679 2012-07-20 Joseph Myers <joseph@codesourcery.com>
17681 * elf/Makefile (check-data): Remove.
17682 (localplt.data): New vpath directive.
17683 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17684 instead of $(check-data).
17685 * scripts/data/localplt-generic.data: Move to ...
17686 * sysdeps/generic/localplt.data: ... here.
17687 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17688 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17689 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17692 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17695 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17698 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17701 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17704 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17708 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17710 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17711 PPC32 and PPC64 files.
17712 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17713 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17715 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17717 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17718 __makecontext_ret to ...
17719 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17720 ... here and call exit if uc_link is NULL. New file.
17721 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17722 __makecontext_ret.S.
17723 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17724 __makecontext_ret to ...
17725 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17726 ... here and call exit if uc_link is NULL. New file.
17727 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17728 __makecontext_ret.S.
17730 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17732 * elf/elf.h (R_390_IRELATIVE): New definition.
17733 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17734 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17735 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17736 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17737 (elf_machine_lazy_rel): Likewise.
17738 * sysdeps/s390/dl-irel.h: New file.
17739 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17740 * sysdeps/s390/s390-64/memset.S: New asm code.
17741 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17742 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17743 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17744 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17745 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17746 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17747 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17748 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17749 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17750 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17751 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17752 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17753 * sysdeps/s390/s390-32/memset.S: New asm code.
17754 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17756 2012-07-17 Marek Polacek <polacek@redhat.com>
17759 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17760 * sysdeps/s390/s390-64/configure.in: Likewise.
17761 * sysdeps/sparc/configure.in: Likewise.
17762 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17763 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17764 * sysdeps/i386/configure.in: Likewise.
17765 * sysdeps/x86_64/configure.in: Likewise.
17766 * sysdeps/sh/configure.in: Likewise.
17767 * sysdeps/s390/s390-32/configure: Regenerated.
17768 * sysdeps/s390/s390-64/configure: Likewise.
17769 * sysdeps/x86_64/configure: Likewise.
17770 * sysdeps/sh/configure: Likewise.
17771 * sysdeps/powerpc/powerpc64/configure: Likewise.
17772 * sysdeps/powerpc/powerpc32/configure: Likewise.
17773 * sysdeps/sparc/configure: Likwise.
17774 * sysdeps/i386/configure: Likewise.
17776 * elf/dl-open.c: Comment fixes.
17778 2012-07-17 Joseph Myers <joseph@codesourcery.com>
17780 * Makefile [CXX] (check-data): Remove.
17781 [CXX] (c++-types.data): New vpath directive.
17782 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17783 vpath. Do not allow for C++ type data being missing.
17784 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17785 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17786 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17787 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17788 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17789 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17790 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17793 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17796 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17799 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17802 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17805 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17808 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17811 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17814 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17815 definitions to architecture-specific files.
17816 (TLS_IE): Likewise.
17817 (TLS_LD): Likewise.
17818 (TLS_GD): Likewise.
17819 * sysdeps/i386/tls-macros.h: New file.
17820 * sysdeps/powerpc/tls-macros.h: Likewise.
17821 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17822 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17823 * sysdeps/sh/tls-macros.h: Likewise.
17824 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17825 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17826 * sysdeps/x86_64/tls-macros.h: Likewise.
17828 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17830 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17831 zero value for regular exit case.
17833 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17834 (__start_context): Preserve zero value for regular exit case.
17836 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17837 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17839 * manual/setjmp.texi (setcontext): Clarify normal process
17840 termination when uc_link is the null pointer.
17841 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17844 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17846 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17847 preprocessor. Test for each exception mask separately.
17849 2012-07-16 Andreas Jaeger <aj@suse.de>
17851 * po/ru.po: Update from translation team.
17853 2012-07-15 Joseph Myers <joseph@codesourcery.com>
17855 * conform/data/string.h-data (NULL): Use macro-constant. Require
17857 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17858 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17859 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17860 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17863 2012-07-13 Andreas Jaeger <aj@suse.de>
17865 * po/fr.po: Update from translation team.
17867 2012-07-12 Marek Polacek <polacek@redhat.com>
17870 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17871 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17874 2012-07-12 Joseph Myers <joseph@codesourcery.com>
17877 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17878 Change to 2.4.1 where previously 2.4.0.
17879 * sysdeps/unix/sysv/linux/configure: Regenerated.
17880 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17881 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17883 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17884 (__ASSUME_AT_CLKTCK): Remove.
17885 (__ASSUME_AT_PAGESIZE): Likewise.
17886 (__ASSUME_AT_XID): Likewise.
17887 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17888 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17889 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17891 (HAVE_AUX_PAGESIZE): Likewise.
17892 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17893 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17894 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17896 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17900 the temporary buffer used to invoke __gethostbyname2_r,
17901 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17902 host_data / struct gaih_addrtuple.
17903 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17904 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17905 header file nss/nsswitch.h.
17906 * nss/nsswitch.h (global scope): Add definition of implementation
17907 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17908 resolv/nss_dns/dns-host.c).
17910 2012-07-11 Andreas Jaeger <aj@suse.de>
17912 * po/fr.po: Update from translation team.
17914 * po/sv.po: Update from translation team
17915 * po/fr.po: Another update from translation team.
17917 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17919 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17920 for subnormals or multiply small sinh result by itself.
17921 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17924 2012-07-11 David S. Miller <davem@davemloft.net>
17926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17928 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17931 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17932 (INTERNAL_MARK): Shift it here.
17934 2012-07-10 Marek Polacek <polacek@redhat.com>
17937 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17938 libc_cv_asm_global_directive with .globl.
17939 * configure: Regenerated.
17940 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17942 * sysdeps/i386/configure: Regenerated.
17943 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17945 * sysdeps/x86_64/configure: Regenerated.
17946 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17947 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17948 * elf/tst-unique2mod2.c: Likewise.
17949 * elf/tst-unique2mod1.c: Likewise.
17950 * elf/tst-unique1mod2.c: Likewise.
17951 * elf/tst-unique1mod1.c: Likewise.
17952 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17953 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17954 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17955 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17956 * sysdeps/mach/sysdep.h: Likewise.
17957 * sysdeps/i386/sysdep.h: Likewise.
17958 * sysdeps/i386/i386-mcount.S: Likewise.
17959 * sysdeps/x86_64/_mcount.S: Likewise.
17960 * sysdeps/x86_64/sysdep.h: Likewise.
17961 * sysdeps/sh/_mcount.S: Likewise.
17962 * sysdeps/sh/sysdep.h: Likewise.
17963 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17964 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17965 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17966 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17967 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17968 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17969 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17970 * locale/localeinfo.h: Likewise.
17971 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17972 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17974 2012-07-09 Roland McGrath <roland@hack.frob.com>
17977 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17979 * manual/message.texi (The Uniforum approach): Likewise.
17980 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17981 (glibc iconv Implementation): Likewise.
17983 2012-07-09 Joseph Myers <joseph@codesourcery.com>
17986 * math/s_clog.c (__clog): Avoid scaling a value down where that
17987 could result in underflow.
17988 * math/s_clog10.c (__clog10): Likewise.
17989 * math/s_clog10f.c (__clog10f): Likewise.
17990 * math/s_clog10l.c (__clog10l): Likewise.
17991 * math/s_clogf.c (__clogf): Likewise.
17992 * math/s_clogl.c (__clogl): Likewise.
17993 * math/libm-test.inc (clog_test): Add more tests.
17994 (clog10_test): Likewise.
17995 * sysdeps/i386/fpu/libm-test-ulps: Update.
17996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17998 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18001 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18002 by 7 not 8 to examine high bit of fractional part.
18005 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18006 for call to __mcount_internal.
18007 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18008 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18009 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18011 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18014 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18015 approximation for values within 0x1p-13f of an odd multiple of
18017 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18018 exception. Add more tests.
18019 * sysdeps/i386/fpu/libm-test-ulps: Update.
18022 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18023 inputs and return -1 for them. Do not check for +Inf in case not
18024 reachable for +Inf.
18025 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18026 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18027 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18028 and return -1 for them. Do not check for +Inf in case not
18029 reachable for +Inf.
18030 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18032 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18033 and return -1 for them. Do not check for +Inf in case not
18034 reachable for +Inf.
18035 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18036 spurious underflow.
18037 * sysdeps/i386/fpu/libm-test-ulps: Update.
18038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18040 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18042 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18044 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18048 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18049 could result in spurious underflow. Scale down values above
18050 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18051 * math/s_csqrtf.c (__csqrtf): Likewise.
18052 * math/s_csqrtl.c (__csqrtl): Likewise.
18053 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18054 spurious underflow.
18055 * sysdeps/i386/fpu/libm-test-ulps: Update.
18056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18058 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18060 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18062 * catgets/xopen-msg.awk: New file.
18063 * catgets/xopen-msg.sed: Removed.
18065 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18067 * intl/po2test.awk: New file.
18068 * intl/po2test.sed: Removed.
18070 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18073 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18074 or multiply small sinh result by itself.
18075 * math/s_ctanf.c (__ctanf): Likewise.
18076 * math/s_ctanh.c (__ctanh): Likewise.
18077 * math/s_ctanhf.c (__ctanhf): Likewise.
18078 * math/s_ctanhl.c (__ctanhl): Likewise.
18079 * math/s_ctanl.c (__ctanl): Likewise.
18080 * math/libm-test.inc (ctan_test_tonearest): New function.
18081 (ctan_test_towardzero): Likewise.
18082 (ctan_test_downward): Likewise.
18083 (ctan_test_upward): Likewise.
18084 (ctanh_test_tonearest): Likewise.
18085 (ctanh_test_towardzero): Likewise.
18086 (ctanh_test_downward): Likewise.
18087 (ctanh_test_upward): Likewise.
18088 (main): Call these new functions.
18089 * sysdeps/i386/fpu/libm-test-ulps: Update.
18090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18092 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18094 * .gitignore: Delete /ports entry.
18096 2012-07-03 Andreas Jaeger <aj@suse.de>
18098 * po/bg.po: Update from translation team.
18099 * po/cs.po: Likewise.
18100 * po/de.po: Likewise.
18101 * po/hr.po: Likewise.
18102 * po/nl.pl: Likewise.
18103 * po/pl.po: Likewise.
18104 * po/vi.po: Likewise.
18106 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18108 * Makeconfig [!+link] (+link-before-libc): New variable.
18109 [!+link] (+link-after-libc): Likewise.
18110 [!+link] (+link-tests): Likewise.
18111 [!+link] (+link): Define in terms of $(+link-before-libc) and
18112 $(+link-after-libc).
18113 [!+link-static] (+link-static-before-libc): New variable.
18114 [!+link-static] (+link-static-after-libc): Likewise.
18115 [!+link-static] (+link-static-tests): Likewise.
18116 [!+link-static] (+link-static): Define in terms of
18117 $(+link-static-before-libc) and $(+link-static-after-libc).
18118 [build-shared] (link-libc-before-gnulib): New variable.
18119 [build-shared] (link-libc-tests): Likewise.
18120 [build-shared] (link-libc): Define in terms of
18121 $(link-libc-before-gnulib).
18122 [!build-shared] (link-libc-tests): New variable.
18123 (link-libc-static-tests): New variable.
18124 [!gnulib] (gnulib-arch): New variable.
18125 [!gnulib] (gnulib-tests): Likewise.
18126 [!gnulib] (static-gnulib-arch): Likewise.
18127 [!gnulib] (static-gnulib-tests): Likewise.
18128 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18129 Define with "=" instead of ":=".
18130 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18131 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18132 * Rules (binaries-all-notests): New variable.
18133 (binaries-all-tests): Likewise.
18134 (binaries-static-notests): Likewise.
18135 (binaries-static-tests): Likewise.
18136 (binaries-all): Define using $(binaries-all-notests) and
18137 $(binaries-all-tests).
18138 (binaries-static): Define using $(binaries-static-notests) and
18139 $(binaries-static-tests).
18140 (binaries-shared-tests): New variable.
18141 (binaries-shared-notests): Likewise.
18142 (binaries-shared): Remove variable.
18143 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18144 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18145 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18146 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18147 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18148 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18149 * elf/Makefile (sln-modules): New variable.
18150 (extra-objs): Add $(sln-modules:=.o).
18151 (ldconfig-modules): Add static-stubs.
18152 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18153 * elf/static-stubs.c: New file.
18156 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18157 by 7 not 8 to examine high bit of fractional part. Use volatile
18158 variables when splitting into final array of floats if
18159 __FLT_EVAL_METHOD__ != 0.
18160 * math/libm-test.inc (cos_test): Add another test.
18161 (sin_test): Likewise.
18162 * sysdeps/i386/fpu/libm-test-ulps: Update.
18165 * math/libm-test.inc (cosh_test): Add more tests.
18167 * version.h (RELEASE): Set to "development".
18168 (VERSION): Set to "2.16.90".
18170 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18172 * NEWS: Update copyright. Remove last-updated date.
18173 Mention math library bug fixes and timezone data changes.
18174 * README: Mention GNU/Hurd, x32, and HPPA support status.
18176 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18178 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18180 2012-06-27 Andreas Jaeger <aj@suse.de>
18182 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18184 2012-06-25 Andreas Jaeger <aj@suse.de>
18186 * sysdeps/s390/fpu/libm-test-ulps: Update.
18188 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18189 Thomas Schwinge <thomas@codesourcery.com>
18191 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18192 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18196 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18198 * sysdeps/mach/start.c: Remove file.
18199 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18200 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18201 * sysdeps/sh/init-first.c: Likewise.
18203 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18204 registers for frame unwinding purposes, add CFI directives.
18205 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18206 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18207 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18210 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18211 __fortify_fail returning.
18212 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18214 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18215 sysdeps/sh/____longjmp_chk.S.
18216 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18217 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18218 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18219 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18221 * sysdeps/sh/abort-instr.h: New file.
18222 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18223 process in case exit returns.
18225 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18226 initialize the GOT register before use.
18228 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18229 calculation of ARGC > 4.
18231 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18232 meaningful names to some local labels.
18234 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18235 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18237 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18238 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18239 (__arch_compare_and_exchange_val_16_acq): Likewise.
18240 (__arch_compare_and_exchange_val_32_acq): Likewise.
18241 (atomic_exchange_and_add): Fix gUSA sequence.
18242 (atomic_add): Likewise.
18243 (atomic_add_negative): Likewise.
18244 (atomic_add_zero): Likewise.
18245 (atomic_bit_test_set): Likewise.
18247 2012-06-22 Andreas Schwab <schwab@redhat.com>
18250 * include/link.h (struct link_map): Add l_free_initfini.
18251 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18253 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18254 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18255 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18258 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18260 * configure.in: Use AC_LANG_SOURCE.
18261 * configure: Regenerate.
18263 2012-06-22 Roland McGrath <roland@hack.frob.com>
18265 * configure.in (libc_cv_localstatedir): New substituted variable.
18266 * configure: Regenerated.
18267 * config.make.in (localstatedir): New variable, substituted from
18268 libc_cv_localstatedir.
18269 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18270 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18271 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18272 * sysdeps/gnu/configure: Regenerated.
18274 2012-06-21 Jeff Law <law@redhat.com>
18277 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18278 free. Simplify list management for _LIBC case.
18280 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18283 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18284 Clear sign bit of 64-bit integer value before comparing against
18287 * sysdeps/mach/configure: Regenerated.
18289 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18292 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18294 2012-06-21 Jeff Law <law@redhat.com>
18297 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18298 uint16_t for elements in the "seen" array to avoid char overflows.
18299 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18300 * elf/dl-open.c (dl_open_worker): Likewise.
18302 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18304 * scripts/list-sources.sh: Scan PORTS for translations.
18305 * po/libc.pot: Regenerated.
18307 2012-06-21 Andreas Jaeger <aj@suse.de>
18310 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18312 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18313 * bits/byteswap-16.h (__bswap_16): Likewise.
18314 * bits/byteswap.h (__bswap_constant_16): Likewise.
18316 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18319 * sysdeps/i386/fpu_control.h: Removed.
18320 * sysdeps/x86_64/fpu_control.h: Moved to ...
18321 * sysdeps/x86/fpu_control.h: Here.
18323 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18324 (_FPU_SETCW): Likewise.
18326 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18329 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18330 * sysdeps/x86/fpu/bits/mathinline.h: This.
18331 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18335 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18336 functions if __x86_64__ is defined.
18338 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18340 * string/endian.h: Add !__ASSEMBLER__ condition for including
18341 conversion interfaces.
18343 2012-06-15 Joseph Myers <joseph@codesourcery.com>
18346 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18347 of ABS(x) in calculating zero to negative powers other than odd
18349 * math/libm-test.inc (pow_test): Add more tests.
18351 2012-06-15 Andreas Jaeger <aj@suse.de>
18353 * manual/contrib.texi (Contributors): Update entry of Liubov
18354 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18357 2012-06-15 Cyril Hrubis <metan@ucw.cz>
18359 * string/string.h: Add __wur to GNU version of strerror_r.
18361 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18364 * string/Makefile (tests): Add tst-strtok_r.
18365 * string/tst-strtok_r.c: New file.
18366 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18367 RAX_LP/RDX_LP on SAVE_PTR.
18369 2012-06-14 Roland McGrath <roland@hack.frob.com>
18371 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18373 2012-06-14 Joseph Myers <joseph@codesourcery.com>
18375 * libm_test.inc (csqrt_test): Allow more spurious underflow
18377 (j0_test): Likewise.
18378 (j1_test): Likewise.
18379 (y0_test): Likewise.
18380 (y1_test): Likewise.
18382 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18384 * po/Makefile (libc.pot): Use UTF-8 charset.
18386 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18389 Suppress sign-conversion warning from FD_SET.
18390 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18391 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18392 not unsigned long int.
18393 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18395 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18399 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18400 __extern_always_inline instead of __extern_inline.
18401 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18402 (__signbit): Likewise.
18403 (__signbitl): Support C++ namespace.
18404 (lrintf): New inline function.
18406 (llrintf): Likewise.
18407 (llrint): Likewise.
18417 (floorf): Likewise.
18418 (nearbyint): Likewise.
18419 (nearbyintf): Likewise.
18421 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18423 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18424 non-default versions.
18426 2012-06-11 Roland McGrath <roland@hack.frob.com>
18429 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18431 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18433 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18434 (FE_UPWARD, FE_DOWNWARD): Don't define.
18435 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18436 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18438 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18440 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18441 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18443 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18445 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18447 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18448 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18450 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18453 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18454 * sysdeps/i386/fpu/Implies: New file.
18455 * sysdeps/x86_64/fpu/Implies: Likewise.
18456 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18457 * sysdeps/x86/fpu/bits/fenv.h: This.
18459 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18462 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18465 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18466 character 0xffff that matches the last element of the
18469 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18471 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18474 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18476 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18477 values higher than 25.6283.
18479 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18481 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18482 subnormal exponent extraction and add some __builtin_expect.
18483 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18484 Fix for subnormal mantissa calculation.
18486 2012-06-04 Mike Frysinger <vapier@gentoo.org>
18488 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18489 cpu2 is -1 and errno is not ENOSYS.
18491 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18494 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18495 * sysdeps/x86/bits/string.h: This.
18496 * sysdeps/x86_64/bits/string.h: Removed.
18498 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18499 if not compiling for x86-64, but compiling for >= i486.
18501 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18502 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18504 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18505 New macro from Linux kernel 3.4.0.
18506 (FP_XSTATE_MAGIC2): Likewise.
18507 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18508 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18509 (struct _fpx_sw_bytes): New struct.
18510 (struct _xsave_hdr): Likewise.
18511 (struct _ymmh_state): Likewise.
18512 (struct _xstate): Likewise.
18514 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18515 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18516 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18517 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18518 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18519 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18521 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18522 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18523 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18524 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18525 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18526 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18528 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18531 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18532 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18533 (sysdep_headers): Include sys/platform/ppc.h.
18534 * sysdeps/powerpc/test-gettimebase.c: Test for
18535 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18536 * manual/Makefile (appendices): Include platform.texi.
18537 * manual/contrib.texi (Contributors): Update @node pointers.
18538 * manual/maint.texi (Maintenance): Likewise.
18539 (Platform): New node.
18540 * manual/platform.texi: New file. Document the new features.
18542 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18543 Jakub Jelinek <jakub@redhat.com>
18546 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18547 where __builtin_expect is unavailable.
18549 2012-06-03 David S. Miller <davem@davemloft.net>
18551 * stdlib/longlong.h: Updated from GCC.
18553 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18556 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18557 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18560 (GLIBC_2.16): Likewise.
18562 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18564 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18566 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18569 (default-abi): New variable.
18570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18571 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18573 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18575 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18577 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18580 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18581 definition. Document in comment.
18583 2012-06-01 David S. Miller <davem@davemloft.net>
18585 * stdlib/longlong.h: Updated from GCC.
18587 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18590 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18591 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18592 sys/debugreg.h sys/io.h here.
18593 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18594 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18596 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18597 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18598 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18599 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18600 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18601 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18603 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18604 Define only if __x86_64__ is defined.
18606 2012-06-01 Joseph Myers <joseph@codesourcery.com>
18609 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18610 Use int64_t for variable i.
18611 * math/libm-test.inc (fmod_test): Add more tests.
18613 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18614 z computation is not scheduled after fetestexcept.
18615 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18616 Use math_force_eval instead of asm to ensure calculation scheduled
18617 before exception test.
18618 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18619 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18621 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18624 computation is not scheduled after fetestexcept.
18626 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18629 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18630 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18632 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18634 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18635 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18637 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18640 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18642 (__WCHAR_MIN): Support __WORDSIZE == 64.
18643 (__WCHAR_MAX): Likewise.
18645 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18646 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18649 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18650 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18653 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18654 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18656 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18657 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18659 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18660 Defined to 1 if __x86_64__ isn't defined.
18661 (_STAT_VER_LINUX_OLD): New.
18662 (st_atime): Remove duplicate.
18663 (st_mtime): Likewise.
18664 (st_ctime): Likewise.
18666 2012-05-31 David S. Miller <davem@davemloft.net>
18668 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18671 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18673 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18677 * elf/dl-reloc.c: Include <_itoa.h>.
18678 (_dl_reloc_bad_type): Remove use of INTUSE.
18679 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18680 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18681 * stdio-common/psiginfo.c (psiginfo): Likewise.
18682 * stdio-common/psignal.c (psignal): Likewise.
18683 * string/strsignal.c (strsignal): Likewise.
18684 * include/signal.h (_sys_siglist): Declare hidden proto.
18685 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18686 INTVARDEF with libc_hidden_data_def.
18687 * stdio-common/itoa-udigits.c: Likewise.
18688 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18689 (_itoa_lower_digits_internal): Remove declaration.
18690 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18691 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18692 (_sys_sigabbrev_internal): Remove aliases.
18693 (_sys_siglist): Define hidden alias.
18695 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18700 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18703 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18704 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18706 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18707 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18708 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18709 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18710 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18711 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18713 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18714 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18715 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18717 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18725 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18726 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18727 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18729 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18730 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18731 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18732 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18733 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18734 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18736 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18737 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18739 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18740 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18743 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18744 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18746 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18747 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18749 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18751 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18752 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18753 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18755 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18757 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18759 2012-05-31 Joseph Myers <joseph@codesourcery.com>
18761 * math/math.h (M_El): Use two more decimal places.
18762 (M_LOG2El): Likewise.
18763 (M_LOG10El): Likewise.
18764 (M_LN2l): Likewise.
18765 (M_LN10l): Likewise.
18767 (M_PI_2l): Likewise.
18768 (M_PI_4l): Likewise.
18769 (M_1_PIl): Likewise.
18770 (M_2_PIl): Likewise.
18771 (M_2_SQRTPIl): Likewise.
18772 (M_SQRT2l): Likewise.
18773 (M_SQRT1_2l): Likewise.
18775 2012-05-31 David S. Miller <davem@davemloft.net>
18777 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18778 values between float registers.
18779 * sysdeps/sparc/sparc64/memset.S: Likewise.
18780 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18782 2012-05-31 Mike Frysinger <vapier@gentoo.org>
18784 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18785 -D_FORTIFY_SOURCE=1.
18786 (CPPFLAGS-tst-longjmp_chk.c): Define.
18787 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18788 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18789 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18790 CFLAGS-tst-wchar-h.c.
18792 2012-05-31 Marek Polacek <polacek@redhat.com>
18795 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18796 __endmntent_internal): Remove declaration.
18797 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18798 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18799 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18801 2012-05-30 David S. Miller <davem@davemloft.net>
18803 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18804 (___Q_simulate_exceptions): Use real FP ops rather than writing
18806 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18809 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18812 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18813 * sysdeps/x86/bits/xtitypes.h: This.
18815 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18816 * sysdeps/x86/bits/wordsize.h: This.
18818 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18819 * sysdeps/x86/bits/huge_vall.h: This.
18821 * sysdeps/i386/bits/select.h: Removed.
18822 * sysdeps/x86_64/bits/select.h: Renamed to ...
18823 * sysdeps/x86/bits/select.h: This.
18825 * sysdeps/i386/bits/setjmp.h: Removed.
18826 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18827 * sysdeps/x86/bits/setjmp.h: This.
18829 * sysdeps/i386/bits/mathdef.h: Removed.
18830 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18831 * sysdeps/x86/bits/mathdef.h: This.
18833 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18836 * include/sys/socket.h (__connect_internal)
18837 (__libc_sa_len_internal): Remove declaration.
18838 (__connect, __libc_sa_len): Declare hidden_proto.
18839 (SA_LEN): Remove use of INTUSE.
18840 * socket/connect.c: Add libc_hidden_def.
18841 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18842 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18843 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18845 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18846 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18847 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18848 of adding _internal alias.
18850 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18853 * sysdeps/i386/bits/link.h: Removed.
18854 * sysdeps/i386/bits/linkmap.h: Likewise.
18855 * sysdeps/x86_64/bits/link.h: Renamed to ...
18856 * sysdeps/x86/bits/link.h: This.
18857 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18858 * sysdeps/x86/bits/linkmap.h: This.
18860 * sysdeps/i386/bits/endian.h: Removed.
18861 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18862 * sysdeps/x86/bits/endian.h: This.
18864 * sysdeps/i386/bits/byteswap.h: Removed.
18865 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18866 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18867 * sysdeps/x86/bits/byteswap.h: This.
18868 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18869 * sysdeps/x86/bits/byteswap-16.h: This.
18870 * sysdeps/i386/Implies: Add x86.
18871 * sysdeps/x86_64/Implies: Likewise.
18873 2012-05-30 David S. Miller <davem@davemloft.net>
18875 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18876 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18877 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18878 (FP_TRAPPING_EXCEPTIONS): Define.
18879 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18880 (FP_TRAPPING_EXCEPTIONS): Define.
18881 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18882 subnormals only when inexact has been signalled or underflow
18883 exceptions are enabled.
18884 (_FP_PACK_CANONICAL): Likewise.
18886 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18889 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18890 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18892 2012-05-30 Richard Henderson <rth@twiddle.net>
18894 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18895 with #ifndef NOT_IN_libc.
18897 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18898 marked to avoid plt entry.
18900 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18903 * Makeconfig (default-abi): New macro.
18904 (abi-includes): Likewise.
18905 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18906 $(abi-$(default-abi)-lib-soname) for soname if defined.
18907 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18909 * Makefile (installed-stubs): Likewise.
18910 * include/stubs-biarch.h: Removed.
18911 * scripts/lib-names.awk: Only handle one library at a time.
18912 * scripts/soversions.awk: Remove WORDSIZE support.
18913 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18915 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18917 (syscall-list-default-condition): Likewise.
18918 (syscall-list-default-condition): Likewise.
18919 (syscall-list-includes): Likewise.
18920 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18921 syscall-list-* with abi-*. Handle undefined abi-variants.
18922 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18923 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18924 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18925 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18926 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18927 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18929 (syscall-list-32-options): Likewise.
18930 (syscall-list-32-condition): Likewise.
18931 (syscall-list-64-options): Likewise.
18932 (syscall-list-64-condition): Likewise.
18933 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18935 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18938 (abi-64-ld-soname): New macro.
18939 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18940 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18943 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18944 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18946 2012-05-30 Joseph Myers <joseph@codesourcery.com>
18948 * sysdeps/unix/sysv/linux/kernel-features.h
18949 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18950 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18951 include <kernel-features.h>.
18952 [!__NR_ftruncate64]: Remove conditional code.
18953 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18954 [__NR_ftruncate64]: Make code unconditional.
18955 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18956 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18957 include <kernel-features.h>.
18958 [!__NR_ftruncate64]: Remove conditional code.
18959 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18960 [__NR_ftruncate64]: Make code unconditional.
18961 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18963 include <kernel-features.h>.
18964 [!__NR_ftruncate64]: Remove conditional code.
18965 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18966 [__NR_ftruncate64]: Make code unconditional.
18967 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18969 include <kernel-features.h>.
18970 [!__NR_ftruncate64]: Remove conditional code.
18971 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18972 [__NR_ftruncate64]: Make code unconditional.
18973 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18975 * configure.in (libc_cv_fpie): Weaken to a compile test using
18976 LIBC_TRY_CC_OPTION.
18977 * configure: Regenerated.
18979 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18989 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18994 2012-05-27 David S. Miller <davem@davemloft.net>
18996 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18998 (__Q_simulate_exceptions): Return void. Change to simulate
18999 exceptions by writing into the %fsr.
19000 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19001 (__Qp_handle_exceptions): Likewise.
19003 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19004 __Qp_handle_exceptions.
19005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19006 __Qp_handle_exceptions.
19007 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19008 as unused and give dummy FP_RND_NEAREST initializer.
19009 (FP_INHIBIT_RESULTS): Define.
19010 (___Q_simulate_exceptions): Update declaration.
19011 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19013 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19014 as unused and give dummy FP_RND_NEAREST initializer.
19015 (__Qp_handle_exceptions): Update declaration.
19016 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19019 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19021 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19022 the temporary FPU control word.
19023 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19024 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19025 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19026 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19027 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19028 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19029 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19030 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19031 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19032 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19033 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19035 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19037 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19040 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19042 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19043 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19044 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19045 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19047 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19048 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19051 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19053 * po/h.po: Update from translation team.
19055 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19057 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19059 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19060 handling of denormals.
19061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19062 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19063 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19064 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19065 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19066 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19070 2012-05-26 Marek Polacek <polacek@redhat.com>
19073 * math/libm-test.inc (fma_test): Don't always expect underflow
19076 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19079 * elf/tst-execstack.c: Include stackinfo.h.
19080 (do_test): Adjust test case to ensure that pthread_getattr_np
19081 behaviour remains the same after marking stack executable.
19083 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19085 * sysdeps/unix/sysv/linux/kernel-features.h
19086 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19087 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19089 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19090 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19091 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19093 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19094 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19096 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19098 * configure.in: Define the default includes to being none.
19099 * configure: Regenerated.
19101 2012-05-25 Roland McGrath <roland@hack.frob.com>
19103 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19104 * sysdeps/x86_64/setjmp.S: Likewise.
19105 * sysdeps/i386/bsd-setjmp.S: Likewise.
19106 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19107 * sysdeps/i386/setjmp.S: Likewise.
19108 * sysdeps/i386/__longjmp.S: Likewise.
19109 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19110 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19112 * include/stap-probe.h: New file.
19113 * configure.in: Handle --enable-systemtap.
19114 * configure: Regenerated.
19115 * config.h.in (USE_STAP_PROBE): New #undef.
19116 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19117 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19118 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19120 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19123 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19124 to 2.4.0 where earlier.
19125 * sysdeps/unix/sysv/linux/configure: Regenerated.
19126 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19127 <kernel-features.h>.
19128 [__ASSUME_32BITUIDS]: Make code unconditional.
19129 [!__ASSUME_32BITUIDS]: Remove conditional code.
19130 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19131 <kernel-features.h>.
19132 [__ASSUME_32BITUIDS]: Make code unconditional.
19133 [!__ASSUME_32BITUIDS]: Remove conditional code.
19134 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19135 [__ASSUME_32BITUIDS]: Make code unconditional.
19136 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19137 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19138 <kernel-features.h>.
19139 [__ASSUME_32BITUIDS]: Make code unconditional.
19140 [!__ASSUME_32BITUIDS]: Remove conditional code.
19141 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19142 <kernel-features.h>.
19143 [__ASSUME_32BITUIDS]: Make code unconditional.
19144 [!__ASSUME_32BITUIDS]: Remove conditional code.
19145 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19146 <kernel-features.h>.
19147 [__ASSUME_32BITUIDS]: Make code unconditional.
19148 [!__ASSUME_32BITUIDS]: Remove conditional code.
19149 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19150 <kernel-features.h>.
19151 [__ASSUME_32BITUIDS]: Make code unconditional.
19152 [!__ASSUME_32BITUIDS]: Remove conditional code.
19153 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19154 <kernel-features.h>.
19155 [__ASSUME_32BITUIDS]: Make code unconditional.
19156 [!__ASSUME_32BITUIDS]: Remove conditional code.
19157 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19158 <kernel-features.h>.
19159 [__ASSUME_32BITUIDS]: Make code unconditional.
19160 [!__ASSUME_32BITUIDS]: Remove conditional code.
19161 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19162 <kernel-features.h>.
19163 [__ASSUME_32BITUIDS]: Make code unconditional.
19164 [!__ASSUME_32BITUIDS]: Remove conditional code.
19165 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19166 <kernel-features.h>.
19167 [__ASSUME_32BITUIDS]: Make code unconditional.
19168 [!__ASSUME_32BITUIDS]: Remove conditional code.
19169 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19170 <kernel-features.h>.
19171 [__ASSUME_32BITUIDS]: Make code unconditional.
19172 [!__ASSUME_32BITUIDS]: Remove conditional code.
19173 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19174 <kernel-features.h>.
19175 [__ASSUME_32BITUIDS]: Make code unconditional.
19176 [!__ASSUME_32BITUIDS]: Remove conditional code.
19177 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19178 <kernel-features.h>.
19179 [__NR_setresgid] (__setresgid): Do not declare.
19180 [__ASSUME_32BITUIDS]: Make code unconditional.
19181 [!__ASSUME_32BITUIDS]: Remove conditional code.
19182 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19183 <kernel-features.h>.
19184 [__NR_setresuid] (__setresuid): Do not declare.
19185 [__ASSUME_32BITUIDS]: Make code unconditional.
19186 [!__ASSUME_32BITUIDS]: Remove conditional code.
19187 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.c: Do not include
19220 <kernel-features.h>.
19221 [__ASSUME_32BITUIDS]: Make code unconditional.
19222 [!__ASSUME_32BITUIDS]: Remove conditional code.
19223 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19224 <kernel-features.h>.
19225 [__ASSUME_32BITUIDS]: Make code unconditional.
19226 [!__ASSUME_32BITUIDS]: Remove conditional code.
19227 * sysdeps/unix/sysv/linux/kernel-features.h
19228 (__ASSUME_SETRESUID_SYSCALL): Remove.
19229 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19230 (__ASSUME_32BITUIDS): Likewise.
19231 (__ASSUME_LDT_WORKS): Likewise.
19232 (__ASSUME_O_DIRECTORY): Likewise.
19233 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19234 architecture but not kernel version.
19235 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19236 (__ASSUME_MMAP2_SYSCALL): Likewise.
19237 (__ASSUME_STAT64_SYSCALL): Likewise.
19238 (__ASSUME_IPC64): Likewise.
19239 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19240 <kernel-features.h>.
19241 [__ASSUME_32BITUIDS]: Make code unconditional.
19242 [!__ASSUME_32BITUIDS]: Remove conditional code.
19243 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19244 <kernel-features.h>.
19245 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19246 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19247 132096]: Remove conditional code.
19248 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19249 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
19258 <kernel-features.h>.
19259 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19261 (__setresgid): Do not declare.
19262 [__ASSUME_32BITUIDS]: Make code unconditional.
19263 [!__ASSUME_32BITUIDS]: Remove conditional code.
19264 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19265 <kernel-features.h>.
19266 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19268 (__setresuid): Do not declare.
19269 [__ASSUME_32BITUIDS]: Make code unconditional.
19270 [!__ASSUME_32BITUIDS]: Remove conditional code.
19271 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19272 <kernel-features.h>.
19273 [__ASSUME_32BITUIDS]: Make code unconditional.
19274 [!__ASSUME_32BITUIDS]: Remove conditional code.
19275 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19276 <kernel-features.h>.
19277 [__ASSUME_32BITUIDS]: Make code unconditional.
19278 [!__ASSUME_32BITUIDS]: Remove conditional code.
19280 2012-05-25 Richard Henderson <rth@twiddle.net>
19282 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19283 dl_hwcap to ifunc resolver.
19284 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19286 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19287 dl_hwcap to ifunc resolver.
19288 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19290 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19293 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19294 for |x| <= 2**-26, not 2**-57.
19295 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19298 2012-05-24 Jeff Law <law@redhat.com>
19300 * stdio-common/Makefile (tests): Add bug25.
19301 * stdio-common/bug25.c: New test.
19303 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19306 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19307 multiple of MALLOC_ALIGNMENT in size.
19308 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19310 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19312 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19314 (FILENAME_MAX): Use macro-int-constant.
19315 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19316 (_IOFBF): Use macro-int-constant.
19317 (_IOLBF): Likewise.
19318 (_IONBF): Likewise.
19319 (SEEK_CUR): Likewise.
19320 (SEEK_END): Likewise.
19321 (SEEK_SET): Likewise.
19322 (TMP_MAX): Likewise.
19323 (EOF): Use macro-int-constant. Require < 0.
19324 (NULL): Use macro-constant. Require == 0.
19325 (stdin): Require type to be FILE *.
19326 (stdout): Likewise.
19327 (stderr): Likewise.
19328 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19329 macro-int-constant.
19330 (EXIT_SUCCESS): Likewise.
19331 (NULL): Use macro-constant. Require == 0.
19332 (RAND_MAX): Use macro-int-constant.
19333 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19334 [C99-based standards] (strtof): Require function.
19335 [C99-based standards] (strtold): Likewise.
19336 [C99-based standards] (strtoll): Likewise.
19337 [C99-based standards] (strtoull): Likewise.
19338 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19339 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19340 [ISO || ISO99 || ISO11] (math.h): Likewise.
19341 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19342 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19343 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19345 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19348 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19349 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19350 * intl/dgettext.c (DCGETTEXT): Likewise.
19351 * intl/gettext.c (DCGETTEXT): Likewise.
19352 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19353 * posix/regex_internal.h (gettext): Likewise.
19354 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19355 Remove declaration.
19356 * include/argz.h (__argz_count_internal)
19357 (__argz_stringify_internal): Remove declaration.
19358 (__argz_count, __argz_stringify): Declare hidden proto.
19359 * intl/dcgettext.c: Remove use of INTDEF.
19360 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19361 * string/argz-stringify.c: Likewise.
19362 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19363 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19364 Declare hidden proto.
19365 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19366 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19367 Declare hidden proto.
19368 * include/stdio.h (__asprintf_internal): Don't declare.
19369 (__asprintf): Don't define as macro. Declare hidden proto.
19370 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19371 (__fsetlocking): Declare hidden proto.
19372 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19373 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19375 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19376 (_IO_setlinebuf): Remove use of INTUSE.
19377 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19378 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19379 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19380 Remove declaration.
19381 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19382 (_IO_do_flush): Remove use of INTUSE.
19383 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19384 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19385 (_IO_adjust_column, _IO_least_wmarker)
19386 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19387 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19388 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19389 (_IO_default_doallocate, _IO_wdefault_doallocate)
19390 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19391 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19392 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19393 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19394 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19395 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19396 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19397 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19398 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19399 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19400 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19401 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19402 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19404 (_IO_flush_all_internal, _IO_adjust_column_internal)
19405 (_IO_default_uflow_internal, _IO_default_finish_internal)
19406 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19407 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19408 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19409 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19410 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19411 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19412 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19413 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19414 (_IO_file_close_internal, _IO_file_close_it_internal)
19415 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19416 (_IO_file_init_internal, _IO_file_attach_internal)
19417 (_IO_file_fopen_internal, _IO_file_read_internal)
19418 (_IO_file_sync_internal, _IO_file_seek_internal)
19419 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19420 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19421 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19422 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19423 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19424 (_IO_list_all_internal, _IO_link_in_internal)
19425 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19426 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19427 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19428 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19429 (_IO_do_write_internal, _IO_padn_internal)
19430 (_IO_getline_info_internal, _IO_getline_internal)
19431 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19432 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19433 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19434 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19435 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19436 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19437 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19438 with libc_hidden_ver, remove use of INTUSE.
19439 * libio/genops.c: Likewise.
19440 * libio/freopen.c: Likewise.
19441 * libio/freopen64.c: Likewise.
19442 * libio/iofclose.c: Likewise.
19443 * libio/iofdopen.c: Likewise.
19444 * libio/iofflush.c: Likewise.
19445 * libio/iofflush_u.c: Likewise.
19446 * libio/iofgets.c: Likewise.
19447 * libio/iofgets_u.c: Likewise.
19448 * libio/iofopen.c: Likewise.
19449 * libio/iofopncook.c: Likewise.
19450 * libio/iofread.c: Likewise.
19451 * libio/iofread_u.c: Likewise.
19452 * libio/ioftell.c: Likewise.
19453 * libio/iofwrite.c: Likewise.
19454 * libio/iogetline.c: Likewise.
19455 * libio/iogets.c: Likewise.
19456 * libio/iogetwline.c: Likewise.
19457 * libio/iopadn.c: Likewise.
19458 * libio/iopopen.c: Likewise.
19459 * libio/ioseekoff.c: Likewise.
19460 * libio/ioseekpos.c: Likewise.
19461 * libio/iosetbuffer.c: Likewise.
19462 * libio/iosetvbuf.c: Likewise.
19463 * libio/ioungetc.c: Likewise.
19464 * libio/ioungetwc.c: Likewise.
19465 * libio/iovdprintf.c: Likewise.
19466 * libio/iovsprintf.c: Likewise.
19467 * libio/iovsscanf.c: Likewise.
19468 * libio/memstream.c: Likewise.
19469 * libio/obprintf.c: Likewise.
19470 * libio/oldfileops.c: Likewise.
19471 * libio/oldiofclose.c: Likewise.
19472 * libio/oldiofdopen.c: Likewise.
19473 * libio/oldiofopen.c: Likewise.
19474 * libio/oldiopopen.c: Likewise.
19475 * libio/oldstdfiles.c: Likewise.
19476 * libio/putc.c: Likewise.
19477 * libio/setbuf.c: Likewise.
19478 * libio/setlinebuf.c: Likewise.
19479 * libio/stdfiles.c: Likewise.
19480 * libio/strops.c: Likewise.
19481 * libio/vasprintf.c: Likewise.
19482 * libio/vscanf.c: Likewise.
19483 * libio/vsnprintf.c: Likewise.
19484 * libio/vswprintf.c: Likewise.
19485 * libio/wfiledoalloc.c: Likewise.
19486 * libio/wfileops.c: Likewise.
19487 * libio/wgenops.c: Likewise.
19488 * libio/wmemstream.c: Likewise.
19489 * libio/wstrops.c: Likewise.
19490 * libio/__fpurge.c: Likewise.
19491 * libio/__fsetlocking.c: Likewise.
19492 * assert/assert.c: Likewise.
19493 * debug/fgets_chk.c: Likewise.
19494 * debug/fgets_u_chk.c: Likewise.
19495 * debug/fread_chk.c: Likewise.
19496 * debug/fread_u_chk.c: Likewise.
19497 * debug/gets_chk.c: Likewise.
19498 * debug/obprintf_chk.c: Likewise.
19499 * debug/vasprintf_chk.c: Likewise.
19500 * debug/vdprintf_chk.c: Likewise.
19501 * debug/vsnprintf_chk.c: Likewise.
19502 * debug/vsprintf_chk.c: Likewise.
19503 * malloc/mtrace.c: Likewise.
19504 * misc/error.c: Likewise.
19505 * misc/syslog.c: Likewise.
19506 * stdio-common/asprintf.c: Likewise.
19507 * stdio-common/fxprintf.c: Likewise.
19508 * stdio-common/getw.c: Likewise.
19509 * stdio-common/isoc99_fscanf.c: Likewise.
19510 * stdio-common/isoc99_scanf.c: Likewise.
19511 * stdio-common/isoc99_vfscanf.c: Likewise.
19512 * stdio-common/isoc99_vscanf.c: Likewise.
19513 * stdio-common/isoc99_vsscanf.c: Likewise.
19514 * stdio-common/printf-prs.c: Likewise.
19515 * stdio-common/printf_fp.c: Likewise.
19516 * stdio-common/printf_fphex.c: Likewise.
19517 * stdio-common/printf_size.c: Likewise.
19518 * stdio-common/putw.c: Likewise.
19519 * stdio-common/scanf.c: Likewise.
19520 * stdio-common/sprintf.c: Likewise.
19521 * stdio-common/tmpfile.c: Likewise.
19522 * stdio-common/vfprintf.c: Likewise.
19523 * stdio-common/vfscanf.c: Likewise.
19524 * stdlib/strfmon_l.c: Likewise.
19525 * sunrpc/openchild.c: Likewise.
19526 * sunrpc/xdr_stdio.c: Likewise.
19527 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19528 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19530 2012-05-24 Roland McGrath <roland@hack.frob.com>
19532 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19534 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19535 in the third column, to generate for the shared library an IFUNC
19536 that uses _dl_vdso_vsym.
19537 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19538 * Makeconfig (object-suffixes-noshared): New variable.
19540 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19541 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19542 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19543 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19546 * include/sys/time.h (__gettimeofday): Remove macro.
19547 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19548 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19550 (__gettimeofday): Add libc_hidden_def.
19551 (gettimeofday): Add libc_hidden_weak.
19552 * sysdeps/mach/gettimeofday.c: Likewise.
19553 * sysdeps/posix/gettimeofday.c: Likewise.
19554 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19555 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19557 (__gettimeofday_internal): Remove strong_alias.
19558 (__gettimeofday): Add libc_hidden_def.
19559 (gettimeofday): Add libc_hidden_weak.
19560 * sysdeps/unix/syscalls.list (gettimeofday):
19561 Remove __gettimeofday_internal alias.
19563 2012-05-24 Daniel Jacobowitz <drow@false.org>
19564 H.J. Lu <hongjiu.lu@intel.com>
19567 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19568 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19569 (largebin_index_32_big): New.
19570 (largebin_index): Use it for 16-byte alignment.
19571 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19572 correction with front_misalign.
19574 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19602 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19603 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19605 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19609 * math/libm-test.inc (exp_test): Add test from bug 14036.
19610 (pow_test): Add test from bug 10846.
19612 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19614 (special_function): Do not include flags in test name.
19615 (parse_args): Likewise.
19616 * sysdeps/i386/fpu/libm-test-ulps: Update.
19617 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19618 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19619 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19622 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19624 * math/libm-test.inc ("Philosophy"): Update comment about
19626 (UNDERFLOW_EXCEPTION): New macro.
19627 (UNDERFLOW_EXCEPTION_OK): Likewise.
19628 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19629 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19630 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19631 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19632 (INVALID_EXCEPTION_OK): Update value.
19633 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19634 (OVERFLOW_EXCEPTION_OK): Likewise.
19635 (IGNORE_ZERO_INF_SIGN): Likewise.
19636 (test_exceptions): Handle underflow exceptions.
19637 (acos_test): Update for underflow exception expectations.
19638 (cexp_test): Likewise.
19639 (clog_test): Likewise.
19640 (clog10_test): Likewise.
19641 (csqrt_test): Likewise.
19642 (ctan_test): Likewise.
19643 (ctanh_test): Likewise.
19644 (exp_test): Likewise.
19645 (exp10_test): Likewise.
19646 (exp2_test): Likewise.
19647 (expm1_test): Likewise.
19648 (fma_test): Likewise.
19649 (j0_test): Likewise.
19650 (jn_test): Likewise.
19651 (nexttoward_test): Likewise.
19652 (pow_test): Likewise.
19653 (scalbn_test): Likewise.
19654 (scalbln_test): Likewise.
19655 (tan_test): Likewise.
19656 (y1_test): Likewise.
19657 * sysdeps/i386/fpu/libm-test-ulps: Update.
19658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19660 2012-05-23 David S. Miller <davem@davemloft.net>
19662 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19663 (__libc_sigaction): Remove unused local variables.
19665 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19667 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19669 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19671 mktime: avoid signed integer overflow
19672 * time/mktime.c (__mktime_internal): Do not mishandle the case
19673 where diff == INT_MIN.
19675 mktime: simplify computation of average
19676 * time/mktime.c (ranged_convert): Use new time_t_avg function
19677 instead of rolling our own (probably-slower) code.
19679 mktime: do not assume signed right shift propagates sign bit
19680 * time/mktime.c (isdst_differ): New static function.
19681 (__mktime_internal): No need to normalize tm_isdst now.
19682 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19685 mktime: merge another wrapv change from gnulib
19686 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19687 from some compilers.
19689 mktime: remove incorrect attempt at unusual arithmetics
19690 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19691 The code didn't really work on such machines anyway.
19692 (TYPE_MINIMUM): Assume two's complement.
19693 (twos_complement_arithmetic): Verify that long_int and time_t
19694 are two's complement (or unsigned, in the latter case).
19696 mktime: check signed shifts on long_int and time_t, too
19697 * time/mktime.c (SHR): Check that shifts work as desired
19698 on the types long_int and time_t too, as SHR is used on
19701 mktime: do not assume 'long' is wide enough
19702 * time/mktime.c (verify): Move decl up.
19703 (long_int): New type.
19704 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19705 to remove assumption in the code that 'long' is wide enough to
19706 store year values. This assumption is not true on x32 and on
19707 some non-glibc platforms.
19709 mktime: merge wrapv change from gnulib
19710 * time/mktime.c (WRAPV): New macro.
19711 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19712 (guess_time_tm, __mktime_internal): Do not assume that signed
19713 integer overflow wraps around; modern compilers generate code
19714 where this assumption is no longer valid.
19716 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19718 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19719 Replace "jmp L(pseudo_end)" with "ret".
19720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19723 2012-05-23 Andreas Jaeger <aj@suse.de>
19725 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19726 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19728 2012-05-23 Andreas Jaeger <aj@suse.de>
19729 Maximilian Attems <max@stro.at>
19731 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19734 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19736 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19737 code so that pseudo_end is just ret and the stack pointer is
19738 correct also for static library in error case.
19740 2012-05-23 Joseph Myers <joseph@codesourcery.com>
19742 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19743 move to syscalls.list.
19744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19749 * manual/install.texi (Running make install): Do not mention Linux
19750 kernel version for which pt_chown is not needed.
19751 (Linux): Do not mention problems with nscd with 2.0 kernels.
19752 * INSTALL: Regenerated.
19754 2012-05-23 Andreas Jaeger <aj@suse.de>
19756 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19757 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19759 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19760 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19761 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19762 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19763 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19764 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19765 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19766 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19767 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19768 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19769 * sysdeps/unix/sysv/linux/bits/in.h
19770 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19772 2012-05-22 Roland McGrath <roland@hack.frob.com>
19774 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19775 (PREPARE_VERSION): Just use assert instead, it will be elided
19776 under [NDEBUG] anyway.
19778 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19780 * sysdeps/unix/sysv/linux/Makefile: Include
19781 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
19782 (sysdep_routines): Remove sysctl.
19783 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19784 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19785 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19786 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19787 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19789 2012-05-22 Andreas Jaeger <aj@suse.de>
19791 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19792 that pseudo_end is just ret and the stack pointer is correct also
19793 for static library in error case.
19795 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19798 * nss/nsswitch.c (defconfig_entries): New variable.
19799 (__nss_database_lookup): Don't leak defconfig entries.
19800 (nss_parse_service_list): Don't leak on error paths.
19801 (free_database_entries): New function.
19802 (free_defconfig): New function.
19803 (free_mem): Move common code to free_database_entries.
19805 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19807 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19809 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19811 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19812 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19815 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19816 (INTERNAL_SYSCALL_TYPES): Likewise.
19817 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19818 (LOAD_REGS_TYPES_[1-6]): Likewise.
19819 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19820 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19822 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19824 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19825 copysignl for GLIBC_2_0.
19826 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19827 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19829 logbl for GLIBC_2_0.
19830 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19831 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19833 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19835 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19836 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19838 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19841 * time/mktime.c: Update copyright years.
19843 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19845 mktime: merge comment-quoting-style change from gnulib
19846 * time/mktime.c: Quote 'like this' in comments.
19847 The GNU coding standards suggest that we no longer quote `like this',
19848 as "`" and "'" are typically rendered asymmetrically nowadays.
19849 The typical gnulib style is to quote 'like this' when quoting
19850 code, and "like this" when quoting English.
19852 * time/mktime.c (compile-command): Add "-I.".
19854 mktime: merge mktime-internal.h change from gnulib
19855 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19857 mktime: merge time_r change from gnulib
19858 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19860 mktime: merge DEBUG change from gnulib
19861 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19862 case system <time.h> has a #define.
19864 mktime: merge <sys/types.h> change from gnulib
19865 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19866 since <time.t> is now guaranteed to define time_t.
19868 mktime: merge HAVE_CONFIG_H change from gnulib
19869 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19871 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19876 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19878 (struct rusage): Use anonymous union to pad each field to
19881 2012-05-21 David S. Miller <davem@davemloft.net>
19883 * Makefules (o-iterator): Remove .s cases.
19884 (compile-command.s): Delete.
19885 (COMPILE.s): Delete.
19886 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19888 2012-05-21 Joseph Myers <joseph@codesourcery.com>
19890 * configure.in (libc_cv_predef_stack_protector): Only consider
19891 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19892 * configure: Regenerated.
19894 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19897 New macro. Use R*LP on int and pointer.
19898 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
19899 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19900 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
19901 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19903 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19904 [__WORDSIZE_TIME64_COMPAT32] instead of
19905 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19906 (struct utmp): Likewise.
19907 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19908 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19910 (__WORDSIZE_TIME64_COMPAT32): This.
19911 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19912 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19913 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19914 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19915 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19916 (__WORDSIZE_TIME64_COMPAT32): New macro.
19918 2012-05-21 Andreas Jaeger <aj@suse.de>
19920 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19921 only if [SHARED]. Add prototype for __wcschr_ia32.
19923 2012-05-21 Roland McGrath <roland@hack.frob.com>
19925 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19926 of %rbp unmolested in the jmp_buf while mangling the low bits.
19927 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19928 unmolested high bits of %rbp while demangling the low bits.
19929 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19931 2012-05-21 Andreas Jaeger <aj@suse.de>
19933 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19934 * sunrpc/svc_simple.c: Use it for registerrpc.
19935 * sunrpc/xcrypt.c: Use it for passwd2des.
19937 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19939 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19941 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19942 Don't define if [__SYSCALL_WORDSIZE != 32].
19943 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19946 2012-05-21 Bruno Haible <bruno@clisp.org>
19947 Andreas Jaeger <aj@suse.de>
19949 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19950 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19951 inptr and inend for must_buffer_ch.
19952 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19953 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19954 * stdio-common/Makefile (tests): Remove bug15.
19955 (bug15-ENV): Remove macro.
19956 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19959 2012-05-19 Andreas Jaeger <aj@suse.de>
19960 Roland McGrath <roland@hack.frob.com>
19962 * manual/contrib.texi: Completely rewritten. It contains now an
19963 alphabetical list of contributors and their contributions.
19965 2012-05-21 Richard Henderson <rth@twiddle.net>
19967 * misc/getauxval.c (__getauxval): Use unsigned long int.
19968 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19969 (getauxval): Use unsigned long int.
19971 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19973 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19975 2012-05-21 Roland McGrath <roland@hack.frob.com>
19977 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19978 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19979 __alignof__ (long double).
19981 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19985 2012-05-20 Richard Henderson <rth@twiddle.net>
19987 * misc/getauxval.c: New file.
19988 * misc/sys/auxv.h: New file.
19989 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19990 (routines): Add getauxval.
19991 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19992 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19993 * elf/dl-sysdep.c (_dl_auxv): Remove.
19994 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19995 * elf/dl-support.c (_dl_auxv): New variable.
19996 (_dl_aux_init): Initialize it.
19997 * manual/startup.texi (Auxiliary Vector): New node.
19998 * sysdeps/generic/bits/hwcap.h: New file.
19999 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20000 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20001 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20002 * sysdeps/sparc/sysdep.h: ... here. Include it.
20003 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20004 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20010 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20016 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20020 2012-05-19 David S. Miller <davem@davemloft.net>
20022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20024 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20027 * math/s_ccosh.c: Include <float.h>
20028 (__ccosh): Avoid internal overflow calculating sinh and cosh
20029 values before multiplying by sin and cos values.
20030 * math/s_ccoshf.c: Likewise.
20031 * math/s_ccoshl.c: Likewise.
20032 * math/s_csin.c: Likewise.
20033 * math/s_csinf.c: Likewise.
20034 * math/s_csinl.c: Likewise.
20035 * math/s_csinh.c: Likewise.
20036 * math/s_csinhf.c: Likewise.
20037 * math/s_csinhl.c: Likewise.
20038 * math/libm-test.inc (ccos_test): Add more tests.
20039 (ccosh_test): Likewise.
20040 (csin_test): Likewise.
20041 (csinh_test): Likewise.
20042 * sysdeps/i386/fpu/libm-test-ulps: Update.
20043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20045 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20047 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20048 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20050 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20052 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20054 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20055 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20056 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20057 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20058 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20059 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20060 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20061 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20062 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20063 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20064 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20065 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20066 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20067 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20068 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20069 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20070 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20071 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20072 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20073 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20074 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20075 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20076 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20077 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20078 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20079 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20080 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20081 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20082 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20083 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20084 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20086 2012-05-18 Andreas Jaeger <aj@suse.de>
20088 * csu/.gitignore: Delete.
20090 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20092 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20093 (timex): Use __syscall_slong_t.
20095 2012-05-18 Andreas Jaeger <aj@suse.de>
20096 Carlos O'Donell <carlos_odonell@mentor.com>
20098 * manual/install.texi (Configuring and compiling): Update
20099 description about files modified in the source directory.
20100 * INSTALL: Regenerated.
20102 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20104 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20105 value. Use "or" to set return value to -1.
20106 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20107 negate return value.
20109 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20111 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20112 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20113 failure if the compiler has Graphite support disabled.
20114 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20116 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20117 CFLAGS-memmove.c): Likewise.
20118 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20121 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20123 * sysdeps/x86_64/x32/_itoa.h: New file.
20125 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20126 getdents system call only if kernel and user dirents have the
20127 same d_ino and d_off.
20129 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20130 LLONG_MAX != LONG_MAX.
20131 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20132 (_fitoa_word): Likewise.
20134 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20136 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20137 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20138 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20140 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20141 include <bits/wordsize.h>. Check __x86_64__ instead of
20143 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20144 if __x86_64__ is defined. Use anonymous union on fpstate.
20146 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20149 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20151 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20152 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20153 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20154 Refer to _rtld_local_ro instead of _rtld_global_ro.
20155 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20157 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20159 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20161 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20162 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20163 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20165 * sysdeps/powerpc/powerpc32/dl-machine.c
20166 (__elf_machine_runtime_setup) [PROF]: Don't reference
20169 2012-05-18 Andreas Jaeger <aj@suse.de>
20171 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20172 function only available for GCCs before 3.4 since GCC 3.4
20173 introduced a builtin.
20175 (llrintf): Likewise.
20176 (llrint): Likewise.
20183 (nearbyint): Likewise.
20184 (nearbyintf): Likewise.
20188 (floorf): Likewise.
20190 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20192 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20193 on both fields and cast pointer to __syscall_ulong_t.
20195 * bits/types.h (__fsword_t): New type.
20196 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20197 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20198 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20199 (__FSWORD_T_TYPE): Likewise.
20200 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20201 (__FSWORD_T_TYPE): Likewise.
20202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20203 (__FSWORD_T_TYPE): Likewise.
20204 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20205 (__FSWORD_T_TYPE): Likewise.
20206 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20207 __SWORD_TYPE with __fsword_t.
20208 (statfs64): Likewise.
20210 2012-05-17 David S. Miller <davem@davemloft.net>
20212 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20214 2012-05-17 Andreas Jaeger <aj@suse.de>
20216 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20219 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20221 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20223 2012-05-17 Andreas Jaeger <aj@suse.de>
20225 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20228 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20230 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20232 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20234 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20235 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20237 2012-05-17 Andreas Jaeger <aj@suse.de>
20238 Carlos O'Donell <carlos_odonell@mentor.com>
20241 * sysdeps/x86_64/multiarch/init-arch.h
20242 (bit_YMM_Usable): Rename to...
20243 (bit_AVX_Usable): ... this.
20244 (bit_FMA4_Usable): New macro.
20245 (bit_XMM_state): New macro.
20246 (bit_YMM_state): New macro.
20247 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20248 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20249 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20250 (CPUID_OSXSAVE): New macro.
20251 (CPUID_AVX): New macro.
20252 (CPUID_FMA4): New macro.
20253 (index_YMM_Usable): Rename to...
20254 (index_AVX_Usable): ... this.
20255 (HAS_AVX): Use HAS_ARCH_FEATURE.
20256 (HAS_FMA4): Likewise.
20257 (HAS_YMM_USABLE): Remove.
20258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20259 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20261 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20262 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20263 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20264 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20265 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20267 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20269 * math/libm-test.c: Support platforms without multiple rounding modes.
20270 * math/bug-nextafter.c: Support platforms without FP exceptions.
20271 * math/bug-nexttoward.c: Likewise.
20272 * math/test-fenv.c: Likewise.
20273 * math/test-misc.c: Likewise.
20274 * stdlib/bug-getcontext.c: Likewise.
20276 2012-05-17 Andreas Jaeger <aj@suse.de>
20278 * manual/examples/search.c (critter_cmp): Change signature to
20280 * manual/string.texi (Collation Functions): Likewise.
20282 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20284 * bits/types.h: Fold copyright years.
20285 * bits/typesizes.h: Likewise.
20286 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20287 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20288 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20289 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20290 * time/time.h: Likewise.
20292 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20295 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20296 in instead of returning them. Return void.
20297 (__libc_mallinfo): Accumulate over all arenas.
20298 (__malloc_stats): Adjust for change in int_mallinfo interface.
20300 2012-05-16 Roland McGrath <roland@hack.frob.com>
20303 * configure.in (NM): Add AC_CHECK_TOOL for it.
20304 (libc_extra_cflags): New substituted variable.
20305 Check for -fstack-protector being used implicitly.
20306 * configure: Regenerated.
20307 * config.make.in (config-extra-cflags): New variable,
20308 gets @libc_extra_cflags@.
20309 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20312 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20313 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20314 * configure: Regenerated.
20315 * config.make.in (CPPUNDEFS): New substituted variable.
20316 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20317 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20318 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20320 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20322 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20323 (mq_attr): Use __syscall_slong_t.
20325 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20327 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20328 Check __x86_64__ instead of __WORDSIZE.
20329 (_STAT_VER_LINUX): Likewise.
20330 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20331 __syscall_ulong_t and __syscall_slong_t.
20332 (stat64): Likewise.
20334 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20336 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20338 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20340 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20342 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20344 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20347 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20348 include <bits/wordsize.h>. Check __x86_64__ instead of
20350 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20352 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20354 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20355 include <bits/wordsize.h>. Check __x86_64__ instead of
20357 (user_regs_struct): Use "__extension__ unsigned long long"
20358 instead of "unsigned long" if __x86_64__ is defined.
20359 (user): Likewise. Pad after pointer field if __ILP32__ is
20362 2012-05-16 Joseph Myers <joseph@codesourcery.com>
20364 * configure.in (makeinfo): Require version 4.5 or later. Allow
20366 * configure: Regenerated.
20367 * manual/install.texi (texinfo): Increase version requirement to
20369 * INSTALL: Regenerated.
20371 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20373 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20375 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20377 * sysdeps/x86_64/x32/ffs.c: New file.
20379 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20381 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20382 defined. Use __syscall_ulong_t.
20383 (shminfo): Use __syscall_ulong_t.
20384 (shm_info): Likewise.
20386 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20389 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20391 (msgqnum_t): Use __syscall_ulong_t.
20392 (msglen_t): Likewise.
20393 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20396 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20397 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20399 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20401 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20402 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20404 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20407 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20408 include <bits/wordsize.h>. Check __x86_64__ instead of
20411 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20412 "unsigned long long int" if __x86_64__ is defined.
20413 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20415 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20416 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20417 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20419 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20421 (GET_PC): Cast to uintptr_t first.
20422 (GET_FRAME): Likewise.
20423 (GET_STACK): Likewise.
20425 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20426 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20427 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20428 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20429 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20430 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20431 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20432 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20433 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20434 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20435 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20436 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20437 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20438 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20439 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20440 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20441 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20442 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20443 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20444 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20445 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20446 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20447 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20448 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20449 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20450 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20451 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20452 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20453 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20455 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20457 * Makerules (+depfiles): Also collect depfiles from .oS in
20459 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20460 .oS, $(libnldbl-routines)).
20462 * Makerules (native-compile-mkdep-flags): Define.
20463 * sunrpc/Makefile (extra-objs): Add $(addprefix
20464 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20465 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20466 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20467 calling $(make-target-directory).
20469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20471 * bits/types.h (__snseconds_t): Removed.
20472 * time/time.h (struct timespec): Replace __snseconds_t with
20474 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20475 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20477 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20478 (__SNSECONDS_T_TYPE): Likewise.
20479 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20480 (__SNSECONDS_T_TYPE): Likewise.
20481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20482 (__SNSECONDS_T_TYPE): Likewise.
20484 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20486 * sysdeps/mach/hurd/bits/typesizes.h
20487 (__SYSCALL_SLONG_TYPE): New macro.
20488 (__SYSCALL_ULONG_TYPE): Likewise.
20490 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20492 * bits/types.h (__syscall_slong_t): New type.
20493 (__syscall_ulong_t): Likewise.
20495 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20496 (__SYSCALL_ULONG_TYPE): Likewise.
20497 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20498 (__SYSCALL_SLONG_TYPE): Likewise.
20499 (__SYSCALL_ULONG_TYPE): Likewise.
20500 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20501 (__SYSCALL_SLONG_TYPE): Likewise.
20502 (__SYSCALL_ULONG_TYPE): Likewise.
20503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20504 (__SYSCALL_SLONG_TYPE): Likewise.
20505 (__SYSCALL_ULONG_TYPE): Likewise.
20507 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20509 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20510 Add sigaltstack-offsets.sym.
20511 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20512 <sigaltstack-offsets.h>.
20513 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20514 longjmp_msg pointer.
20515 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20516 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20518 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20520 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20522 * elf/stackguard-macros.h: Remove file.
20523 * sysdeps/generic/stackguard-macros.h: New file.
20524 * sysdeps/i386/stackguard-macros.h: Likewise.
20525 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20526 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20527 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20528 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20529 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20530 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20531 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20532 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20533 <elf/stackguard-macros.h>.
20536 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20537 __aligned__ in attribute.
20538 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20539 (gregset_t): Likewise.
20541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20543 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20544 * sysdeps/x86_64/64/Implies-after: Here. New file.
20545 * sysdeps/x86_64/x32/Implies-after: New file.
20547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20549 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20550 and access return value for _dl_profile_fixup. Use R10_LP to
20553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20555 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20557 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20559 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20560 * sysdeps/x86_64/x32/sysdep.h: New file.
20562 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20564 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20565 * sysdeps/x86_64/setjmp.S: Likewise.
20567 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20569 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20570 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20571 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20572 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20573 remove unused global constant.
20575 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20577 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20578 include of <not-cancel.h>.
20580 2012-05-15 Roland McGrath <roland@hack.frob.com>
20582 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20584 2012-05-15 Jeff Law <law@redhat.com>
20585 Andreas Jaeger <aj@suse.de>
20588 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20590 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20591 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20592 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20593 code changing __hst_map_handle.map.
20595 2012-05-15 Roland McGrath <roland@hack.frob.com>
20597 * configure.in (sysnames): Look for Implies-before and Implies-after
20599 * configure: Regenerated.
20601 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20603 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20604 8-byte data alignment with LP_SIZE alignment.
20606 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20608 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20611 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20613 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20617 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20618 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20619 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20621 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20625 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20626 (stackinfo_sub_sp): Likewise.
20628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20630 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20635 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20640 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20643 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20645 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20649 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20650 into R11_LP and load __x86_64_shared_cache_size_half into
20653 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20655 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20658 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20660 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20662 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20666 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20667 powerpc32/power7/fpu/s_logb.c via #include.
20668 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20669 powerpc32/power7/fpu/s_logbf.c via #include.
20670 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20671 powerpc32/power7/fpu/s_logbl.c via #include.
20673 2012-05-15 Joseph Myers <joseph@codesourcery.com>
20675 * README.libm: Remove file.
20677 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20679 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20680 count for x32. Use R*_LP and omit operand-size suffix.
20682 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20684 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20685 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20686 * sysdeps/x86_64/x32/shlib-versions: New file.
20688 2012-05-14 Roland McGrath <roland@hack.frob.com>
20690 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20691 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20692 Use _dl_fatal_printf instead.
20694 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20696 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20697 set if not set by the user. Do not allow for being unset.
20698 * sysdeps/unix/sysv/linux/configure: Regenerated.
20700 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20702 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20703 the `q' suffix from lea and replace .quad with ASM_ADDR.
20705 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20708 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20710 (PTR_DEMANGLE): Likewise.
20712 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20714 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20716 (ASM_ADDR): Likewise.
20717 (RAX_LP): Likewise.
20718 (RBP_LP): Likewise.
20719 (RBX_LP): Likewise.
20720 (RCX_LP): Likewise.
20721 (RDI_LP): Likewise.
20722 (RSI_LP): Likewise.
20723 (RSP_LP): Likewise.
20726 (R10_LP): Likewise.
20727 (R10_LP): Likewise.
20728 (R11_LP): Likewise.
20729 (R12_LP): Likewise.
20730 (R13_LP): Likewise.
20731 (R14_LP): Likewise.
20732 (R15_LP): Likewise.
20734 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20736 * sysdeps/x86_64/x32/dl-machine.h: New file.
20738 2012-05-14 Andreas Jaeger <aj@suse.de>
20740 * manual/Makefile (subdir): Remove export of subdir.
20741 (all): Remove target.
20742 (.PHONY): Remove all from list.
20743 (mkinstalldirs): Remove.
20744 (.PHONY): Remove installdirs from list.
20745 ($(inst_infodir)/libc.info): Use make-target-directory.
20746 (installdirs): Remove.
20747 (subdir_%): Remove.
20748 (glibc-targets): Remove.
20751 ($(objpfx)stubs ../po/manual.pot): Remove.
20752 ($(objpfx)stamp%): Remove.
20753 (make-target-directory): Remove.
20754 (subdir_install): Remove.
20755 (routines): Remove.
20762 * manual/.gitignore: Remove, it's not needed anymore.
20763 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20765 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20767 (texis): Renamed to $(objpfx)texis.
20768 (texis-path): New, contains path to generated files.
20769 (chapters.%): Use texis-path for complete path, add extra argument
20771 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20772 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20773 (summary,texi, stamp-summary): Use complete path of
20774 files. Generate files in build dir.
20775 (dir-add.texi): Build in build dir.
20776 (libm-err.texi,stamp-libm-err): Likewise.
20777 (version.texi, stamp-version): Likewise.
20778 (.%c.texi): Likewise.
20779 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20780 (mostlyclean): Remove target.
20781 (realclean): Remove target.
20782 (generated): Add new variable with contents from mostlyclean and
20783 realclean, remove entries duplicated in common-mostlyclean, add
20784 stamp-libm-err and stamp-version.
20785 (generated-dirs): Add libc directory.
20786 ($(inst_infodir)/libc.info): Install files from build dir.
20788 * manual/install.texi (Configuring and compiling): Adjust since
20789 the info files are not part of the tar ball anymore.
20791 2012-05-14 Andreas Jaeger <aj@suse.de>
20793 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20796 2012-05-14 Joseph Myers <joseph@codesourcery.com>
20799 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20800 to 2.2.0 where earlier.
20801 * sysdeps/unix/sysv/linux/configure: Regenerated.
20802 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20803 Remove conditional code.
20804 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20805 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20806 Remove conditional code.
20807 [!__NR_lchown]: Likewise.
20808 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20809 [__NR_lchown]: Likewise.
20810 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20811 comment referencing __ASSUME_LCHOWN_SYSCALL.
20812 * sysdeps/unix/sysv/linux/i386/sigaction.c
20813 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20814 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20815 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20816 Remove conditional code.
20817 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20818 (__protocol_available): Remove #if 0 code.
20819 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20821 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20822 * sysdeps/unix/sysv/linux/kernel-features.h
20823 (__ASSUME_GETCWD_SYSCALL): Don't define.
20824 (__ASSUME_REALTIME_SIGNALS): Likewise.
20825 (__ASSUME_PREAD_SYSCALL): Likewise.
20826 (__ASSUME_PWRITE_SYSCALL): Likewise.
20827 (__ASSUME_POLL_SYSCALL): Likewise.
20828 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20829 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20831 (__ASSUME_SIOCGIFNAME): Don't define.
20832 (__ASSUME_MSG_NOSIGNAL): Likewise.
20833 (__ASSUME_SENDFILE): Define unconditionally.
20834 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20835 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20837 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20838 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20839 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20840 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20841 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20842 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20843 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20845 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20848 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20851 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20852 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20854 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20857 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20860 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20863 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20864 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20866 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20867 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20868 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20869 Remove conditional code.
20870 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20871 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20872 Remove conditional code.
20873 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20874 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20875 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20876 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20877 Remove conditional code.
20878 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20879 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20880 Remove conditional code.
20881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20882 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20883 Remove conditional code.
20884 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20885 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20886 Remove conditional code.
20887 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20888 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20889 Remove conditional code.
20890 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20891 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20892 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20894 * sysdeps/unix/sysv/linux/sigaction.c
20895 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20896 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20897 * sysdeps/unix/sysv/linux/sigpending.c
20898 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20899 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20900 * sysdeps/unix/sysv/linux/sigprocmask.c
20901 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20902 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20903 * sysdeps/unix/sysv/linux/sigsuspend.c
20904 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20905 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20906 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20907 (__libc_missing_rt_sigs): Remove.
20908 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20909 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20910 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20911 Remove conditional code.
20912 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20913 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20915 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20916 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20917 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20918 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20920 2012-05-14 Andreas Jaeger <aj@suse.de>
20922 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20923 it's not used in glibc.
20924 (__coshm1): Likewise.
20925 (__acosh1p): Likewise.
20928 * manual/string.texi (Copying and Concatenation): Add missing
20929 variable in concat example.
20930 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20932 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20935 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20936 __builtin_clzl with __builtin_clzll.
20938 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20941 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20944 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20946 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20947 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20948 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20949 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20951 2012-05-14 Mike Frysinger <vapier@gentoo.org>
20953 * NEWS: Update ia64 info.
20955 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20957 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20960 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20962 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20963 * sysdeps/unix/syscalls.list (dup3): Likewise.
20964 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20965 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20967 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20969 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20970 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20972 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20974 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20976 (TLS_IE): Use mov/add instead of movq/addq to load thread
20978 (TLS_GD_PREFIX): New.
20981 2012-05-11 David S. Miller <davem@davemloft.net>
20983 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20984 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20985 (_FPU_SETCW): Likewise.
20987 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20989 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20990 is 32-byte aligned.
20992 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20995 * iconvdata/gb18030.c: Update tables.
20996 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20997 characters specially.
20998 (BODY for TO_LOOP): Add encoding of missing ranges.
21000 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21003 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21004 * sysdeps/mach/hurd/dup3.c: Likewise.
21005 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21006 * sysdeps/powerpc/memmove.c:: Likewise.
21008 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21010 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21011 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21013 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21015 * elf/elf.h (R_X86_64_RELATIVE64): New.
21016 (R_X86_64_NUM): Updated.
21017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21018 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21019 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21020 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21021 tst-quad1pie tst-quad2pie
21022 (modules-names): Add tst-quadmod1 tst-quadmod2.
21023 ($(objpfx)tst-quad1): New dependency.
21024 ($(objpfx)tst-quad2): Likewise.
21025 ($(objpfx)tst-quad1pie): Likewise.
21026 ($(objpfx)tst-quad2pie): Likewise.
21027 * sysdeps/x86_64/tst-quad1.c: New file.
21028 * sysdeps/x86_64/tst-quad1pie.c: New file.
21029 * sysdeps/x86_64/tst-quad2.c: Likewise.
21030 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21031 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21032 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21033 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21034 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21036 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21038 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21039 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21040 * streams/stropts.h (t_scalar_t): Define type.
21042 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21043 (_PATH_PRESERVE): Set to "/var/lib".
21044 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21046 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21049 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21050 if __dir_mkfile succeeded.
21052 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21053 checking for _hurd_dtablesize. Unlock it right after having
21054 finished _hurd_dtable allocation.
21056 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21058 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21059 * sysdeps/mach/hurd/configure: Regenerated.
21060 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21061 special-casing to...
21062 * sysdeps/gnu/configure.in: ... this new file.
21063 * sysdeps/unix/sysv/linux/configure: Regenerated.
21064 * sysdeps/gnu/configure: New generated file.
21066 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21067 for Linux: use nsec instead of usec, as well as:
21068 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21069 members of type struct timespec.
21070 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21072 (struct stat64): Likewise.
21073 (_STATBUF_ST_NSEC): New macro.
21074 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21076 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21077 __strtoul_internal rather than strtoul.
21079 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21081 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21084 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21086 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21087 which preserves existing values.
21088 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21090 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21092 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21093 TIMEOUT values. Return EINVAL for NFDS values either negative or
21094 greater than FD_SETSIZE.
21096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21098 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21099 allocated, call __vm_protect to finish enabling the existing space, and
21100 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21101 allocate the remainder.
21103 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21105 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21106 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21108 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21110 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21111 sysdeps/mach/hurd/readlink.c.
21113 * posix/tst-sysconf.c (posix_options): Only use
21114 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21115 _POSIX_SYNCHRONIZED_IO when they are defined
21116 * sysdeps/mach/hurd/bits/posix_opt.h:
21117 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21118 (_XOPEN_REALTIME): Undefine macro.
21119 (_XOPEN_REALTIME_THREADS): Undefine macro.
21120 (_XOPEN_SHM): Undefine macro.
21121 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21123 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21125 (_POSIX_ASYNC_IO): Undefine macro.
21126 (_POSIX_PRIORITIZED_IO): Undefine macro.
21127 (_POSIX_SPIN_LOCKS): Define macro to -1.
21129 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21130 SA_NODEFER, SA_RESETHAND.
21131 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21132 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21135 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21137 * elf/Makefile (pldd-modules): Define unconditionally.
21139 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21141 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21143 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21145 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21146 Return ENOENT when name is empty.
21147 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21149 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21151 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21153 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21157 Fix mlock in all cases except non-readable pages.
21158 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21159 instead of VM_PROT_ALL as parameter to __vm_wire function.
21161 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21162 (__mkdir): When path is `/', just fail with EEXIST.
21163 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21165 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21167 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21168 <sys/uio.h> (for writev).
21169 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21170 and <sys/param.h> (for MIN).
21172 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21174 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21175 REQUESTED_TIME. Properly set the remaining time and return EINTR
21178 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21180 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21181 Depend on against $(link-rpcuserlibs).
21183 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21185 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21186 (__libc_stack_end): Do not use attribute_relro.
21187 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21188 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21189 to libthread-provided value.
21190 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21193 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21196 * bits/libc-lock.h (__libc_once_get): New macro.
21197 * sysdeps/mach/bits/libc-lock.h: Likewise.
21198 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21199 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21200 instead of using implementation details.
21202 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21203 * libio/freopen.c: Likewise.
21204 * libio/freopen64.c: Likewise.
21205 * misc/syslog.c: Likewise.
21206 * nscd/connections.c: Likewise.
21207 * nscd/netgroupcache.c: Likewise.
21208 * sysdeps/posix/getcwd.c: Likewise.
21210 2012-05-10 Roland McGrath <roland@hack.frob.com>
21212 * math/w_ilogbf.c: Add #include <limits.h>.
21214 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21216 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21217 path instead of returning without unlocking.
21219 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21220 immediate-write ioctls.
21221 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21223 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21225 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21226 __builtin_frame_address instead of making assumptions about the
21227 location of the return address relative to DATA. Force early load of
21228 the return address.
21229 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21230 __builtin_frame_address.
21233 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21234 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21235 implement dup3 and do some further code clean-ups.
21236 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21237 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21239 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21241 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21243 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21244 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21245 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21246 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21247 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21250 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21251 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21252 when handler == SIG_ERR, not when handler != SIG_ERR.
21254 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21256 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21257 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21260 accept4 for GNU Hurd.
21261 * include/sys/socket.h (__libc_accept4): New prototype.
21262 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21263 to implement __libc_accept4.
21264 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21266 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21268 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21269 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21270 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21271 signal-defines.sym.
21273 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21275 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21277 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21279 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21280 assertion on O_CLOEXEC flag.
21281 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21282 * hurd/intern-fd.c: Likewise.
21283 * hurd/port2fd.c: Likewise.
21285 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21288 * bits/in.h (IPV6_PKTINFO): Define new macro.
21289 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21291 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21296 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21297 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21298 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21299 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21300 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21301 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21302 * math/libm-test.inc (logb_test) : Additional logb tests.
21304 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21305 Andreas Jaeger <aj@suse.de>
21307 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21308 * configure: Regenerated.
21309 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21310 * config.make.in (link-obsolete-rpc): New substituted variable.
21311 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21312 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21313 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21314 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21315 so that libc.a contains the symbols.
21316 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21317 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21318 * sunrpc/auth_none.c: Likewise.
21319 * sunrpc/auth_unix.c: Likewise.
21320 * sunrpc/authdes_prot.c: Likewise.
21321 * sunrpc/authuxprot.c: Likewise.
21322 * sunrpc/clnt_gen.c: Likewise.
21323 * sunrpc/clnt_perr.c: Likewise.
21324 * sunrpc/clnt_raw.c: Likewise.
21325 * sunrpc/clnt_simp.c: Likewise.
21326 * sunrpc/clnt_tcp.c: Likewise.
21327 * sunrpc/clnt_udp.c: Likewise.
21328 * sunrpc/clnt_unix.c: Likewise.
21329 * sunrpc/des_crypt.c: Likewise.
21330 * sunrpc/des_soft.c: Likewise.
21331 * sunrpc/get_myaddr.c: Likewise.
21332 * sunrpc/key_call.c: Likewise.
21333 * sunrpc/key_prot.c: Likewise.
21334 * sunrpc/netname.c: Likewise.
21335 * sunrpc/pm_getmaps.c: Likewise.
21336 * sunrpc/pm_getport.c: Likewise.
21337 * sunrpc/pmap_clnt.c: Likewise.
21338 * sunrpc/pmap_prot.c: Likewise.
21339 * sunrpc/pmap_prot2.c: Likewise.
21340 * sunrpc/pmap_rmt.c: Likewise.
21341 * sunrpc/publickey.c: Likewise.
21342 * sunrpc/rpc_cmsg.c: Likewise.
21343 * sunrpc/rpc_common.c: Likewise.
21344 * sunrpc/rpc_dtable.c: Likewise.
21345 * sunrpc/rpc_prot.c: Likewise.
21346 * sunrpc/rpc_thread.c: Likewise.
21347 * sunrpc/rtime.c: Likewise.
21348 * sunrpc/svc.c: Likewise.
21349 * sunrpc/svc_auth.c: Likewise.
21350 * sunrpc/svc_raw.c: Likewise.
21351 * sunrpc/svc_run.c: Likewise.
21352 * sunrpc/svc_tcp.c: Likewise.
21353 * sunrpc/svc_udp.c: Likewise.
21354 * sunrpc/svc_unix.c: Likewise.
21355 * sunrpc/svcauth_des.c: Likewise.
21356 * sunrpc/xcrypt.c: Likewise.
21357 * sunrpc/xdr.c: Likewise.
21358 * sunrpc/xdr_array.c: Likewise.
21359 * sunrpc/xdr_float.c: Likewise.
21360 * sunrpc/xdr_intXX_t.c: Likewise.
21361 * sunrpc/xdr_mem.c: Likewise.
21362 * sunrpc/xdr_rec.c: Likewise.
21363 * sunrpc/xdr_ref.c: Likewise.
21364 * sunrpc/xdr_sizeof.c: Likewise.
21365 * sunrpc/xdr_stdio.c: Likewise.
21367 2012-05-10 Roland McGrath <roland@hack.frob.com>
21369 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21370 change. Update copyright years.
21372 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21374 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21376 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21377 Joseph Myers <joseph@codesourcery.com>
21378 Paul Pluzhnikov <ppluzhnikov@google.com>
21381 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21383 [cross-compiling] (extra-libs): Likewise.
21384 [cross-compiling] (extra-libs-others): Likewise.
21385 [cross-compiling] (librpcsvc-routines): Likewise.
21386 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21387 [cross-compiling] (omit-deps): Likewise.
21388 (sunrpc-CPPFLAGS): New variable.
21389 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21390 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21391 (cross-rpcgen-objs): New variable.
21392 (extra-objs): Append $(cross-rpcgen-objs).
21393 ($(cross-rpcgen-objs)): New rule.
21394 ($(objpfx)cross-rpcgen): Likewise.
21395 (rpcgen-cmd): Define to use $(built-program-file). Expand
21397 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21398 ($(objpfx)x%.stmp): Likewise.
21399 * sunrpc/proto.h [IS_IN_build] (_): Define.
21400 [IS_IN_build] (_libc_intl_domainname): Likewise.
21402 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21404 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21405 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21406 and R_X86_64_TPOFF64.
21408 2012-05-10 Joseph Myers <joseph@codesourcery.com>
21410 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21411 sysdeps/unix/sysv/syscalls.list.
21414 * sysdeps/unix/sysv/syscalls.list: Remove file.
21416 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21419 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21420 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21421 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21422 (__LC_IDENTIFICATION): Make these macros useful in #if
21423 expressions, as required by C99.
21425 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21427 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21428 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21431 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21433 * stdlib/longlong.h: Updated from GCC.
21435 2012-05-09 Andreas Jaeger <aj@suse.de>
21437 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21438 default is first entry.
21439 (run_mode): Set type.
21440 (main): Remove informal message about syslog.
21441 (options): Fix typo.
21444 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
21447 (llrintf): Likewise.
21448 (llrint): Likewise.
21451 (nearbyint): Likewise.
21452 (nearbyintf): Likewise.
21454 2012-05-09 Andreas Jaeger <aj@suse.de>
21455 Pedro Alves <palves@redhat.com>
21457 * nscd/nscd.c (run_mode): Use enum.
21458 (main): Cleanup coding style issue.
21460 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
21461 Andreas Jaeger <aj@suse.de>
21463 * nscd/nscd.c (go_background): Replaced with...
21464 (run_mode): ... this.
21465 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
21466 (options): Add -F --foreground.
21467 (main): Implement it.
21468 (parse_opt): Parse it.
21470 2012-05-09 Andreas Jaeger <aj@suse.de>
21473 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21474 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21475 -Wconversion warning.
21476 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21479 2012-05-09 Joseph Myers <joseph@codesourcery.com>
21481 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21483 (LC_ALL): Use macro-int-constant.
21484 (LC_COLLATE): Likewise.
21485 (LC_CTYPE): Likewise.
21486 (LC_MESSAGES): Likewise.
21487 (LC_MONETARY): Likewise.
21488 (LC_NUMERIC): Likewise.
21489 (LC_TIME): Likewise.
21490 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21491 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21493 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21495 [C99-based standards] (float_t): Expect type.
21496 [C99-based standards] (double_t): Expect type.
21497 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21499 [C99-based standards] (HUGE_VALL): Likewise.
21500 [C99-based standards] (INFINITY): Likewise.
21501 [C99-based standards] (NAN): Likewise.
21502 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21503 [C99-based standards] (FP_NAN): Likewise.
21504 [C99-based standards] (FP_NORMAL): Likewise.
21505 [C99-based standards] (FP_SUBNORMAL): Likewise.
21506 [C99-based standards] (FP_ZERO): Likewise.
21507 [C99-based standards] (FP_FAST_FMA): Use
21508 optional-macro-int-constant. Specify type. Require == 1.
21509 [C99-based standards] (FP_FAST_FMAF): Likewise.
21510 [C99-based standards] (FP_FAST_FMAL): Likewise.
21511 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21512 [C99-based standards] (FP_ILOGBNAN): Likewise.
21513 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21515 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21516 [C99-based standards] (math_errhandling): Specify type.
21517 [ISO99 || ISO11] (signgam): Do not allow.
21518 [non-C99-based standards] (copysignf): Do not allow.
21519 [non-C99-based standards] (exp2f): Likewise.
21520 [non-C99-based standards] (log2f): Likewise.
21521 [non-C99-based standards] (modff): Allow.
21522 [non-C99-based standards] (erff): Do not allow.
21523 [non-C99-based standards] (erfcf): Likewise.
21524 [non-C99-based standards] (gammaf): Likewise.
21525 [non-C99-based standards] (hypotf): Likewise.
21526 [non-C99-based standards] (j0f): Likewise.
21527 [non-C99-based standards] (j1f): Likewise.
21528 [non-C99-based standards] (jnf): Likewise.
21529 [non-C99-based standards] (lgammaf): Likewise.
21530 [non-C99-based standards] (tgammaf): Likewise.
21531 [non-C99-based standards] (y0f): Likewise.
21532 [non-C99-based standards] (y1f): Likewise.
21533 [non-C99-based standards] (ynf): Likewise.
21534 [non-C99-based standards] (isnanf): Likewise.
21535 [non-C99-based standards] (acoshf): Likewise.
21536 [non-C99-based standards] (asinhf): Likewise.
21537 [non-C99-based standards] (atanhf): Likewise.
21538 [non-C99-based standards] (cbrtf): Likewise.
21539 [non-C99-based standards] (expm1f): Likewise.
21540 [non-C99-based standards] (ilogbf): Likewise.
21541 [non-C99-based standards] (log1pf): Likewise.
21542 [non-C99-based standards] (logbf): Likewise.
21543 [non-C99-based standards] (nextafterf): Likewise.
21544 [non-C99-based standards] (remainderf): Likewise.
21545 [non-C99-based standards] (rintf): Likewise.
21546 [non-C99-based standards] (scalbf): Likewise.
21547 [non-C99-based standards] (copysignl): Likewise.
21548 [non-C99-based standards] (exp2l): Likewise.
21549 [non-C99-based standards] (log2l): Likewise.
21550 [non-C99-based standards] (modfl): Allow.
21551 [non-C99-based standards] (erfl): Do not allow.
21552 [non-C99-based standards] (erfcl): Likewise.
21553 [non-C99-based standards] (gammal): Likewise.
21554 [non-C99-based standards] (hypotl): Likewise.
21555 [non-C99-based standards] (j0l): Likewise.
21556 [non-C99-based standards] (j1l): Likewise.
21557 [non-C99-based standards] (jnl): Likewise.
21558 [non-C99-based standards] (lgammal): Likewise.
21559 [non-C99-based standards] (tgammal): Likewise.
21560 [non-C99-based standards] (y0l): Likewise.
21561 [non-C99-based standards] (y1l): Likewise.
21562 [non-C99-based standards] (ynl): Likewise.
21563 [non-C99-based standards] (isnanl): Likewise.
21564 [non-C99-based standards] (acoshl): Likewise.
21565 [non-C99-based standards] (asinhl): Likewise.
21566 [non-C99-based standards] (atanhl): Likewise.
21567 [non-C99-based standards] (cbrtl): Likewise.
21568 [non-C99-based standards] (expm1l): Likewise.
21569 [non-C99-based standards] (ilogbl): Likewise.
21570 [non-C99-based standards] (log1pl): Likewise.
21571 [non-C99-based standards] (logbl): Likewise.
21572 [non-C99-based standards] (nextafterl): Likewise.
21573 [non-C99-based standards] (remainderl): Likewise.
21574 [non-C99-based standards] (rintl): Likewise.
21575 [non-C99-based standards] (scalbl): Likewise.
21576 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21577 [non-C99-based standards] (FP_*): Do not allow.
21578 [C99-based standards] (FP_*): Change to
21579 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21580 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21582 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21583 (SIG_ERR): Likewise.
21584 [X/Open-based standards] (SIG_HOLD): Likewise.
21585 (SIG_IGN): Likewise.
21586 (SIGABRT): Use macro-int-constant. Specify type. Require
21588 (SIGFPE): Likewise.
21589 (SIGILL): Likewise.
21590 (SIGINT): Likewise.
21591 (SIGSEGV): Likewise.
21592 (SIGTER): Likewise.
21593 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21594 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21595 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21596 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21597 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21598 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21599 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21600 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21601 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21602 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21603 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21604 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21605 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21606 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21607 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21608 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21609 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21610 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21611 [X/Open-based standards] (SIGTRAP): Likewise.
21612 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21613 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21614 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21615 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21616 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21619 2012-05-08 Ian Wienand <ianw@vmware.com>
21622 * time/tzset.c (__tzset_parse_tz): Update default rules for
21623 daylight time changes in the Energy Policy Act of 2005.
21625 2012-05-09 Andreas Jaeger <aj@suse.de>
21628 * elf/ldconfig.c (parse_conf): Change string to make clear that
21629 ldconfig only issued a warning if ld.so.conf does not exist.
21631 2012-05-08 David S. Miller <davem@davemloft.net>
21633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21634 movxtod instead of popping the value on the stack.
21636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21638 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21640 * config.h.in: Add HAVE_ARM_PCS_VFP.
21642 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
21645 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21646 checking but the checks are disabled for any reason.
21648 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21650 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21651 and ELF64_R_TYPE with ELFW(R_TYPE).
21653 2012-05-08 Joseph Myers <joseph@codesourcery.com>
21655 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21656 (ulimit): Likewise.
21658 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21659 (settimeofday): Likewise.
21661 2012-05-08 Mike Frysinger <vapier@gentoo.org>
21663 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21664 a struct th_u2 inside the union, and move tu_block/tu_code into
21665 a new th_u3 union of tu_block/tu_code inside of that. Move
21666 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21667 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21668 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21669 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21670 (th_stuff): Change to th_u1.tu_stuff.
21672 (th_msg): Change to th_u1.th_u2.tu_data.
21674 2012-05-07 David S. Miller <davem@davemloft.net>
21676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21679 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21680 (SETUP_PIC_REG): Use it.
21681 (SETUP_PIC_REG_LEAF): Use it.
21683 2012-05-07 Joseph Myers <joseph@codesourcery.com>
21687 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21689 (EXPL_FINITE): Likewise.
21690 (FLDLOG): Likewise.
21691 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21692 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21694 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21696 (EXPL_FINITE): Likewise.
21697 (FLDLOG): Likewise.
21698 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21699 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21701 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21702 test of -max_value argument for long double.
21703 * sysdeps/i386/fpu/libm-test-ulps: Update.
21704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21706 2012-05-06 David S. Miller <davem@davemloft.net>
21708 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21709 quad soft-float symbols whose references which are compiler
21711 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21713 2012-05-06 Joseph Myers <joseph@codesourcery.com>
21717 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21719 (EXPL_FINITE): Likewise.
21720 (FLDLOG): Likewise.
21723 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21724 Adjust comments for base varying.
21725 (__expl_finite): Change alias to EXPL_FINITE.
21726 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21728 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21729 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21731 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21732 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21734 (EXPL_FINITE): Likewise.
21735 (FLDLOG): Likewise.
21738 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21739 Adjust comments for base varying.
21740 (__expl_finite): Change alias to EXPL_FINITE.
21741 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21746 * math/libm-test.inc (check_float_internal): Correct ulp
21747 calculation for subnormal expected results.
21749 2012-05-06 Andreas Jaeger <aj@suse.de>
21751 * Makeconfig (+math-flags): New, set to -frounding-math.
21752 (+cflags): Add +math-flags so that all of glibc gets compiled with
21755 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21757 2012-05-05 Joseph Myers <joseph@codesourcery.com>
21759 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21765 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21766 (__ieee754_expl): Allow for and saturate large arguments.
21767 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21768 (u_threshold): Likewise.
21769 (__exp): Call __ieee754_exp before checking for overflow and
21771 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21772 (u_threshold): Likewise.
21773 (__expf): Call __ieee754_expf before checking for overflow and
21775 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21776 (u_threshold): Likewise.
21777 (__expl): Call __ieee754_expl before checking for overflow and
21779 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21780 (__ieee754_expl): Allow for and saturate large arguments.
21781 * math/libm-test.inc (exp_test): Add another test. Do not allow
21782 missing overflow exception on overflow.
21783 (expm1_test): Do not allow missing overflow exception on overflow.
21785 * sysdeps/i386/fpu/e_expl.c: Move to ...
21786 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21787 rather than using inline asm.
21788 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21789 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21790 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21792 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21795 (signal): Likewise.
21799 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21801 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21802 sysdeps/unix/common/syscalls.list.
21803 (fchmod): Likewise.
21804 (fchown): Likewise.
21805 (ftruncate): Likewise.
21806 (getrusage): Likewise.
21807 (gettimeofday): Likewise.
21808 (setpgid): Likewise.
21809 (setregid): Likewise.
21810 (setreuid): Likewise.
21811 (sigaction): Likewise.
21812 (truncate): Likewise.
21813 (vhangup): Likewise.
21814 * sysdeps/unix/common/syscalls.list: Remove file.
21815 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21816 * sysdeps/unix/sysv/linux/Implies: Likewise.
21818 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21820 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21822 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21826 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21829 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21832 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21835 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21838 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21841 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21844 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21848 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21852 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21855 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21859 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21863 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21865 * sysdeps/unix/common/bits/dirent.h: Remove file.
21866 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21868 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21869 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21870 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21871 * sysdeps/unix/bsd/isatty.c: Likewise.
21872 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21873 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21874 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21876 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21879 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21880 long double comparison inaccuracies.
21881 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21884 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21886 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21887 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21889 2012-05-04 Joseph Myers <joseph@codesourcery.com>
21892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21893 nonzero digits before rounding a hex value.
21894 * stdlib/tst-strtod.c (tests): Add another test.
21896 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21898 * sysdeps/s390/fpu/libm-test-ulps: Update.
21900 2012-05-03 Andreas Jaeger <aj@suse.de>
21902 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21903 does not get optimized out.
21904 (malloc_opt_barrier): New.
21906 2012-05-03 Andreas Jaeger <aj@suse.de>
21907 Roland McGrath <roland@hack.frob.com>
21909 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
21910 intermediate file deletion.
21911 (generated): Add .symlist files.
21913 2012-05-03 Joseph Myers <joseph@codesourcery.com>
21916 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21917 Redirect under this condition.
21918 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21919 [__USE_GNU] (__dprintf_chk): Not under this condition.
21920 [__USE_GNU] (__vdprintf_chk): Likewise.
21921 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21922 under this condition.
21923 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21924 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21925 [__USE_XOPEN2K8] (vdprintf): Likewise.
21926 [__USE_GNU] (__dprintf_chk): Not under this condition.
21927 [__USE_GNU] (__vdprintf_chk): Likewise.
21928 [__USE_GNU] (dprintf): Likewise.
21929 [__USE_GNU] (vdprintf): Likewise.
21931 2012-05-03 Roland McGrath <roland@hack.frob.com>
21933 * elf/Makefile (common-generated): Set this instead of generated for
21934 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21935 $(all-built-dso)-derived lists.
21937 2012-05-03 Andreas Jaeger <aj@suse.de>
21939 * sysdeps/i386/fpu/libm-test-ulps: Update.
21942 * FAQ.in: Likewise.
21943 * scripts/gen-FAQ.pl: Likewise.
21944 * manual/install.texi (Installation): Point to online location of
21946 * Makefile (files-for-dist): Remove FAQ.
21949 2012-05-02 Allan McRae <allan@archlinux.org>
21951 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21952 (LDFLAGS-reldepmod5.so): Likewise.
21953 (LDFLAGS-reldep6mod1.so): Likewise.
21954 (LDFLAGS-reldep6mod4.so): Likewise.
21955 (LDFLAGS-reldep8mod3.so): Likewise.
21956 (LDFLAGS-unload4mod1.so): Likewise.
21957 (LDFLAGS-unload4mod2.so): Likewise.
21958 (LDFLAGS-tst-initorder): Likewise.
21959 (LDFLAGS-tst-initordera2.so): Likewise.
21960 (LDFLAGS-tst-initordera3.so): Likewise.
21961 (LDFLAGS-tst-initordera4.so): Likewise.
21962 (LDFLAGS-tst-initorderb2.so): Likewise.
21963 (LDFLAGS-noload): Likewise.
21964 (LDFLAGS-next): Likewise.
21965 (LDFLAGS-order2mod1.so): Likewise.
21966 (LDFLAGS-order2mod2.so): Likewise.
21967 (LDFLAGS-tst-initorder2): Likewise.
21968 (LDFLAGS-tst-initorder2a.so): Likewise.
21969 (LDFLAGS-tst-initorder2b.so): Likewise.
21970 (LDFLAGS-tst-initorder2c.so): Likewise.
21971 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21973 2012-05-02 David S. Miller <davem@davemloft.net>
21975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21977 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21980 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21982 2012-05-02 Andreas Jaeger <aj@suse.de>
21984 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21985 since we manipulate rounding mode.
21986 (CPPFLAGS-test-idouble.c): Likewise.
21987 (CPPFLAGS-test-ifloat.c): Likewise.
21988 (CFLAGS-test-ldouble.c): Likewise.
21989 (CFLAGS-test-double.c): Likewise.
21990 (CFLAGS-test-float.c): Likewise.
21991 (CFLAGS-test-misc.c): Likewise.
21992 (CFLAGS-test-test-fenv.c): Likewise.
21994 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21998 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21999 comparisons to determine direction to adjust input.
22001 2012-05-01 Roland McGrath <roland@hack.frob.com>
22003 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22004 output to the target.
22006 * scripts/localplt.awk: New file.
22007 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22008 (check-localplt-CFLAGS): Variable removed.
22009 ($(all-built-dso:=.jmprel)): New static pattern rule.
22010 (generated): Add those targets.
22011 (localplt-built-dso): New variable.
22012 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22014 * elf/check-localplt.c: File removed.
22016 * scripts/check-execstack.awk: New file.
22017 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22018 (check-execstack-CFLAGS): Variable removed.
22019 ($(objpfx)check-execstack.h): Target removed.
22020 ($(objpfx)execstack-default): New target.
22021 (generated): Add that instead of check-execstack.h.
22022 ($(all-built-dso:=.phdr)): New static pattern rule.
22023 (generated): Add those targets.
22024 * elf/check-execstack.c: File removed.
22026 * scripts/check-textrel.awk: New file.
22027 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22028 (check-textrel-CFLAGS): Variable removed.
22029 (all-built-dso): Use := to define.o
22030 ($(all-built-dso:=.dyn)): New static pattern rule.
22031 (generated): Add those targets.
22032 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22033 * config.make.in (READELF): New substituted variable.
22034 * elf/check-textrel.c: File removed.
22036 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22038 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22040 * conform/data/ctype.h-data [C99-based standards] (isblank):
22042 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22043 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22044 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22045 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22046 Specify type. Require positive value.
22047 (EILSEQ): Likewise.
22048 (ERANGE): Likewise.
22049 [ISO || POSIX] (EILSEQ): Do not expect.
22050 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22051 Specify type. Require positive value.
22052 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22053 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22054 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22055 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22056 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22057 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22058 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22059 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22060 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22061 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22062 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22063 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22064 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22065 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22066 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22067 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22068 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22069 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22070 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22071 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22072 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22073 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22074 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22075 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22076 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22077 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22078 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22079 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22080 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22081 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22082 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22083 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22084 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22085 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22086 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22087 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22088 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22089 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22090 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22091 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22092 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22093 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22094 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22095 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22096 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22097 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22098 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22099 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22100 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22101 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22102 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22103 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22104 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22105 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22106 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22107 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22108 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22109 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22110 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22111 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22112 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22113 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22114 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22115 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22116 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22117 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22118 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22119 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22120 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22121 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22122 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22123 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22124 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22125 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22126 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22127 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22128 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22130 (FLT_ROUNDS): Expect as macro, not constant.
22131 (FLT_MANT_DIG): Use macro-int-constant.
22132 (DBL_MANT_DIG): Likewise.
22133 (LDBL_MANT_DIG): Likewise.
22134 (FLT_DIG): Likewise.
22135 (DBL_DIG): Likewise.
22136 (LDBL_DIG): Likewise.
22137 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22138 (DBL_MIN_EXP): Likewise.
22139 (LDBL_MIN_EXP): Likewise.
22140 (FLT_MAX_EXP): Use macro-int-constant.
22141 (DBL_MAX_EXP): Likewise.
22142 (LDBL_MAX_EXP): Likewise.
22143 (FLT_MAX_10_EXP): Likewise.
22144 (DBL_MAX_10_EXP): Likewise.
22145 (LDBL_MAX_10_EXP): Likewise.
22146 (FLT_MAX): Use macro-constant.
22147 (DBL_MAX): Likewise.
22148 (LDBL_MAX): Likewise.
22149 (FLT_EPSILON): Use macro-constant. Give upper bound.
22150 (DBL_EPSILON): Likewise.
22151 (LDBL_EPSILON): Likewise.
22152 (FLT_MIN): Likewise.
22153 (DBL_MIN): Likewise.
22154 (LDBL_MIN): Likewise.
22155 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22156 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22157 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22158 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22159 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22160 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22161 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22162 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22163 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22164 [ISO11] (FLT_TRUE_MIN): Likewise.
22165 [ISO11] (LDBL_TRUE_MIN): Likewise.
22166 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22167 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22168 (SCHAR_MIN): Use macro-int-constant. Specify type.
22169 (SCHAR_MAX): Likewise.
22170 (UCHAR_MAX): Likewise.
22171 (CHAR_MIN): Likewise.
22172 (CHAR_MAX): Likewise.
22173 (MB_LEN_MAX): Use macro-int-constant.
22174 (SHRT_MIN): Use macro-int-constant. Specify type.
22175 (SHRT_MAX): Likewise.
22176 (USHRT_MAX): Likewise.
22177 (INT_MAX): Likewise.
22178 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22180 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22182 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22184 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22185 bound negative. Suffix upper bound with "L".
22186 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22188 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22190 [C99-based standards] (LLONG_MAX): Likewise.
22191 [C99-based standards] (ULLONG_MAX): Likewise.
22192 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22194 [ISO11] (max_align_t): Require type.
22195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22197 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22198 from $CFLAGS, without defining away __attribute__ calls.
22199 (checknamespace): Use $CFLAGS_namespace.
22201 * conform/conformtest.pl (@keywords): Only include C99 keywords
22202 for standards based on C99 or C11.
22204 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22206 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22209 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22210 usability of symbols in #if.
22212 * conform/conformtest.pl: If macro or constant types start
22213 "promoted:", expect the symbol to be of the following type
22214 promoted by the integer promotions.
22216 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22217 in one place. Also handle "macro-constant".
22219 * conform/conformtest.pl: Only accept expected macro values with
22220 "==". Parse all "macro" lines in one place.
22221 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22223 * conform/conformtest.pl: Handle braced types on "constant" lines
22224 instead of handling "typed-constant".
22225 * conform/data/signal.h-data: Use "constant" instead of
22228 * conform/conformtest.pl: Handle "optional-" at start of lines in
22229 one place rather than duplicating several cases. Handle each
22230 format of "macro" line with initial "optional-".
22232 * conform/conformtest.pl: Only accept expected constant or
22233 optional-constant values with "==". Parse all "constant" lines in
22234 one place. Parse all "optional-constant" lines in one place.
22235 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22236 * conform/data/fmtmsg.h-data: Likewise.
22237 * conform/data/netinet/in.h-data: Likewise.
22238 * conform/data/tar.h-data: Likewise.
22239 * conform/data/limits.h-data: Use "==" form on "constant" and
22240 "optional-constant" lines.
22242 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22243 Use -std=c99 for XOPEN2K.
22244 (@knownproblems): Remove.
22245 (newtoken): Don't check %isknown.
22247 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22248 Do not expect macro.
22249 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22250 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22251 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22252 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22253 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22254 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22255 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22256 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22257 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22258 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22259 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22260 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22261 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22262 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22263 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22264 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22265 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22266 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22267 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22268 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22269 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22270 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22271 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22272 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22273 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22274 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22275 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22276 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22277 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22278 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22279 [XPG3] (acosh): Likewise.
22280 [XPG3] (asinh): Likewise.
22281 [XPG3] (atanh): Likewise.
22282 [XPG3] (cbrt): Likewise.
22283 [XPG3] (expm1): Likewise.
22284 [XPG3] (ilogb): Likewise.
22285 [XPG3] (log1p): Likewise.
22286 [XPG3] (logb): Likewise.
22287 [XPG3] (nextafter): Likewise.
22288 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22289 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22290 [XPG3] (remainder): Likewise.
22291 [XPG3] (rint): Likewise.
22292 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22293 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22294 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22295 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22296 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22297 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22298 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22299 [UNIX98 || XOPEN2K] (scalb): Expect.
22300 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22301 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22302 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22303 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22304 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22305 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22306 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22307 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22308 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22309 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22310 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22311 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22312 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22313 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22314 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22315 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22316 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22317 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22318 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22319 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22320 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22321 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22322 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22323 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22324 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22325 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22326 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22327 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22328 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22329 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22330 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22331 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22332 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22333 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22334 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22335 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22336 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22337 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22338 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22339 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22340 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22341 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22342 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22343 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22344 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22345 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22346 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22347 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22348 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22349 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22350 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22351 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22352 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22353 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22354 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22355 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22356 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22357 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22358 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22359 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22360 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22361 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22362 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22363 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22364 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22365 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22366 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22367 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22368 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22369 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22370 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22371 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22372 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22373 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22374 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22375 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22376 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22377 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22378 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22379 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22380 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22381 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22382 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22383 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22384 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22385 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22386 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22387 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22388 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22389 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22390 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22391 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22392 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22393 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22394 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22395 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22396 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22397 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22398 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22399 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22400 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22401 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22402 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22403 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22404 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22405 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22406 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22407 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22408 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22409 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22410 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22411 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22412 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22413 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22414 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22415 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22416 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22417 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22418 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22419 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22420 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22421 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22422 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22423 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22424 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22425 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22426 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22427 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22428 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22429 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22430 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22431 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22432 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22433 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22434 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22435 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22436 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22438 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22439 _XOPEN_SOURCE_EXTENDED for XPG4.
22441 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22443 * Makeconfig (localtime): Remove variable.
22444 (inst_localtime-file): Likewise.
22446 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22467 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22471 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22472 comparisons to determine direction to adjust input.
22473 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22474 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22475 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22477 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22479 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22481 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22482 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22484 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22486 * math/libm-test.inc (nexttoward_test): Add more tests.
22488 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22491 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22492 in version GLIBC_2.1, not GLIBC_2.0.
22493 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22496 2012-04-30 Joseph Myers <joseph@codesourcery.com>
22499 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22501 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22502 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22503 * math/libm-test.inc (acos_test): Add more tests.
22504 (asin_test): Likewise.
22505 * sysdeps/i386/fpu/libm-test-ulps: Update.
22506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22509 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22511 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22512 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22513 * math/libm-test.inc (acos_test_tonearest): New function.
22514 (acos_test_towardzero): Likewise.
22515 (acos_test_downward): Likewise.
22516 (acos_test_upward): Likewise.
22517 (asin_test_tonearest): Likewise.
22518 (asin_test_towardzero): Likewise.
22519 (asin_test_downward): Likewise.
22520 (asin_test_upward): Likewise.
22521 (main): Call the new functions.
22522 * sysdeps/i386/fpu/libm-test-ulps: Update.
22523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22527 * math/e_exp10.c: Include <float.h>.
22528 (__ieee754_exp10): Handle underflow here rather than multiplying
22529 large negative argument by M_LN10.
22530 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22532 * math/e_exp10l.c: Include <float.h>.
22533 (__ieee754_exp10l): Handle underflow here rather than multiplying
22534 large negative argument by M_LN10l.
22535 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22536 spurious overflow exception on underflow.
22538 2012-04-29 Marek Polacek <polacek@redhat.com>
22540 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22541 (__fortify_function): New macro.
22542 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22543 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22544 __extern_always_inline.
22545 * libio/bits/stdio2.h: Likewise.
22546 * libio/bits/stdio.h: Likewise.
22547 * string/string.h: Likewise.
22548 * string/bits/string3.h: Likewise.
22549 * include/stdio.h: Likewise.
22550 * stdlib/bits/stdlib.h: Likewise.
22551 * stdlib/stdlib.h: Likewise.
22552 * rt/bits/mqueue2.h: Likewise.
22553 * rt/mqueue.h: Likewise.
22554 * posix/bits/unistd.h: Likewise.
22555 * posix/unistd.h: Likewise.
22556 * io/bits/poll2.h: Likewise.
22557 * io/bits/fcntl2.h: Likewise.
22558 * io/fcntl.h: Likewise.
22559 * io/sys/poll.h: Likewise.
22560 * misc/bits/syslog.h: Likewise.
22561 * misc/bits/syslog-ldbl.h: Likewise.
22562 * misc/sys/syslog.h: Likewise.
22563 * socket/bits/socket2.h: Likewise.
22564 * socket/sys/socket.h: Likewise.
22565 * debug/tst-chk1.c: Likewise.
22566 * wcsmbs/bits/wchar2.h: Likewise.
22567 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22568 * wcsmbs/wchar.h: Likewise.
22570 2012-04-29 Andreas Jaeger <aj@suse.de>
22572 * Makerules (tests): Remove enable-check-abi protection.
22573 (check-abi-warn): Remove.
22574 (check-abi-%): Remove check-abi-warn usage.
22576 * configure.in: Remove check-abi configure option.
22577 * configure: Regenerated.
22578 * config.make.in (enable-check-abi): Remove.
22580 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22583 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22584 double functions to double *_finite functions.
22587 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22588 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22590 * stdio-common/Makefile (tests): Add tst-sprintf3.
22591 * stdio-common/tst-sprintf3.c: New file.
22593 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22594 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22596 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22598 * conform/conformtest.pl: Remove duplicate typed-constant
22601 2012-04-28 David S. Miller <davem@davemloft.net>
22603 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22604 (check-abi-%): Remove AWK script prerequisite and explicit
22606 (check-abi): Rewrite to just diff the symlist with the abilist.
22607 (config-tls, config-abi-config): Delete, no longer used.
22608 (update-abi-%): Remove AWK script and explicit abilist directory.
22609 (update-abi): Rewrite to simply compare and conditionally copy the
22610 symlist and the sysdep abilist file. Remove update-abi-config
22612 * abilist/ld.abilist: Remove.
22613 * abilist/libBrokenLocale.abilist: Remove.
22614 * abilist/libanl.abilist: Remove.
22615 * abilist/libcrypt.abilist: Remove.
22616 * abilist/libdl.abilist: Remove.
22617 * abilist/librt.abilist: Remove.
22618 * abilist/libthread_db.abilist: Remove.
22619 * abilist/libutil.abilist: Remove.
22620 * scripts/extract-abilist.awk: Remove.
22621 * scripts/merge-abilist.awk: Remove.
22622 * sysdeps/generic/libcidn.abilist: New file.
22623 * sysdeps/generic/libnss_compat.abilist: New file.
22624 * sysdeps/generic/libnss_db.abilist: New file.
22625 * sysdeps/generic/libnss_dns.abilist: New file.
22626 * sysdeps/generic/libnss_files.abilist: New file.
22627 * sysdeps/generic/libnss_hesiod.abilist: New file.
22628 * sysdeps/generic/libnss_nis.abilist: New file.
22629 * sysdeps/generic/libnss_nisplus.abilist: New file.
22630 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22631 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22632 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22634 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22635 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22636 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22637 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22638 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22639 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22640 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22641 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22642 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22644 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22645 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22646 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22647 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22649 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22650 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22651 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22652 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22653 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22654 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22656 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22657 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22658 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22660 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22763 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22764 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22765 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22767 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22768 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22769 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22770 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22771 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22772 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22773 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22774 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22775 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22776 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22828 2012-04-28 Joseph Myers <joseph@codesourcery.com>
22830 * conform/conformtest.pl: Fix typo in handling typed-constant from
22833 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22835 * README: Cut down references to pre-2.6 Linux kernels and
22836 Linuxthreads. Update lists of configurations in libc and ports
22837 and sort alphabetically. Say "or newer" with Linux kernel version
22840 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22842 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22845 * math/libm-test.inc (logb_test_downward): New test to expose
22846 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22849 2012-04-27 Joseph Myers <joseph@codesourcery.com>
22852 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22854 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22855 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22857 2012-04-26 Joseph Myers <joseph@codesourcery.com>
22859 * sysdeps/unix/i386/brk.S: Remove file.
22860 * sysdeps/unix/i386/dl-brk.S: Likewise.
22861 * sysdeps/unix/i386/pipe.S: Likewise.
22862 * sysdeps/unix/i386/sigreturn.S: Likewise.
22863 * sysdeps/unix/i386/syscall.S: Likewise.
22864 * sysdeps/unix/i386/vfork.S: Likewise.
22865 * sysdeps/unix/i386/wait.S: Likewise.
22867 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22868 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22870 * configure.in (arm*-none*): Do not allow without
22871 --enable-hacker-mode.
22872 (netbsd*): Remove case setting base_os.
22873 (386bsd*): Likewise.
22874 (freebsd*): Likewise.
22877 (sunos*): Likewise.
22878 (ultrix*): Likewise.
22879 (newsos*): Likewise.
22880 (dynix*): Likewise.
22886 (minix*): Likewise.
22887 (irix4*): Likewise.
22888 (irix6*): Likewise.
22889 (solaris[2-9]*): Likewise.
22891 * configure: Regenerated.
22893 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22896 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22897 overflow or cancellation in calculating denominator.
22898 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22899 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22900 down expression to avoid unexpected rounding in newer GCCs.
22901 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22903 2012-04-26 David S. Miller <davem@davemloft.net>
22905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22906 long-double compat symbols.
22907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22921 2012-04-25 David S. Miller <davem@davemloft.net>
22923 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22924 HWCAP_* values only after the memory barriers have been defined.
22925 (atomic_full_barrier): Define.
22926 (atomic_read_barrier): Define.
22927 (atomic_write_barrier): Define.
22929 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22931 * shlib-versions: Add libgcc_s version information.
22932 * sysdeps/generic/libgcc_s.h: Remove.
22933 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22935 * sysdeps/gnu/unwind-resume.c: Likewise.
22936 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22938 2012-04-25 David S. Miller <davem@davemloft.net>
22940 * sysdeps/unix/sparc/brk.S: Delete.
22941 * sysdeps/unix/sparc/dl-brk.S: Delete.
22942 * sysdeps/unix/sparc/pipe.S: Delete.
22943 * sysdeps/unix/sparc/sysdep.S: Delete.
22944 * sysdeps/unix/sparc/sysdep.h: Delete.
22945 * sysdeps/unix/sparc/vfork.S: Delete.
22946 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22947 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22948 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22949 ret_ERRVAL, r0, r1, MOVE): Define.
22950 (JUMPTARGET): Remove.
22951 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22952 sysdeps/unix/sparc/sysdep.h
22953 (ENTRY, END): Remove.
22954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22956 2012-04-25 Joseph Myers <joseph@codesourcery.com>
22958 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22959 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22962 * timezone/README: Update upstream location and email address for
22964 * timezone/zdump.c: Update from tzcode 2012b.
22965 * timezone/zic.c: Likewise.
22967 * configure.in (libc_cv_as_needed): Remove test.
22968 * configure: Regenerated.
22969 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22970 conditional definition.
22971 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22972 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22973 * config.make.in (have-as-needed): Remove variable.
22975 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22976 Paul Pluzhnikov <ppluzhnikov@google.com>
22978 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22981 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22983 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22984 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22985 * sysdeps/sh/strlen.S: Likewise.
22987 2012-04-24 Joseph Myers <joseph@codesourcery.com>
22989 * sysdeps/unix/fork.S: Remove file.
22990 * sysdeps/unix/i386/fork.S: Likewise.
22991 * sysdeps/unix/sparc/fork.S: Likewise.
22993 * sysdeps/unix/system.c: Remove file.
22994 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22996 * sysdeps/unix/getegid.S: Remove file.
22997 * sysdeps/unix/geteuid.S: Likewise.
22999 2012-04-24 Roland McGrath <roland@hack.frob.com>
23001 * scripts/check-localplt.awk: New file.
23002 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23004 * scripts/data/localplt-generic.data: Add a comment.
23006 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23007 NODE when __dir_mkfile failed.
23008 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23009 Reported by Ludovic Courtès <ludo@gnu.org>.
23011 2012-04-24 Andreas Jaeger <aj@suse.de>
23013 * Makerules (common-clean): Also remove gen-as-const-headers
23016 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23018 * Makerules (native-compile): Do not change working directory for
23019 build. Use $(OUTPUT_OPTION) in command.
23020 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23022 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23025 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23026 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23027 * math/libm-test.inc (floor_test): Add more tests.
23028 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23030 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23032 * sysdeps/unix/getdents.c: Remove file.
23033 * sysdeps/unix/sysv/getdents.c: Likewise.
23034 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23036 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23037 sysdeps/unix/mman/syscalls.list.
23039 (mprotect): Likewise.
23041 (munmap): Likewise.
23042 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23043 * sysdeps/unix/mman/syscalls.list: Remove.
23044 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23046 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23047 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23048 * configure: Regenerated.
23049 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23050 $(libgcc_s_suffix).
23051 * config.make.in (libgcc_s_suffix): Remove variable.
23053 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23055 * sysdeps/unix/sysv/gethostname.c: Move to ...
23056 * sysdeps/posix/gethostname.c: ... here.
23058 * sysdeps/unix/execve.S: Remove file.
23060 * sysdeps/unix/_exit.S: Remove file.
23062 2012-04-23 Andreas Jaeger <aj@suse.de>
23065 * manual/Makefile: Remove make dist support, there's no
23066 need for a stand-alone documentation tar ball.
23067 (TEXI2DVI): Define always, it's not in Makeconfig.
23070 (edition): Removed.
23071 (glibc-doc-$(edition).tar): Removed
23075 (ETAGS): Remove, it's in Makeconfig.
23076 (move-if-change): Remove, it's in Makeconfig.
23078 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23081 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23082 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23083 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23084 (strtod_l, strtof_l, strtold_l): Remove __wur.
23085 It is not necessarily an error to ignore strtol's return value.
23086 One can reliably look at the stored endptr to decide whether
23087 the number had valid syntax.
23089 2012-04-21 Andreas Jaeger <aj@suse.de>
23092 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23094 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23096 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23097 * sysdeps/unix/sysv/Versions: Remove file.
23099 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23104 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23107 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23108 version from __vm86.
23110 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23112 * sysdeps/unix/common/lxstat.c: Remove file.
23113 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23115 * sysdeps/unix/sysv/Makefile: Remove file.
23117 * sysdeps/unix/sysv/direct.h: Remove file.
23119 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23120 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23121 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23122 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23123 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23124 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23125 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23127 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23129 * sysdeps/unix/xmknod.c: Remove file.
23130 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23132 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23134 * sysdeps/unix/sysv/i386/time.S: Remove file.
23136 * sysdeps/unix/fxstat.c: Remove file.
23137 * sysdeps/unix/xstat.c: Likewise.
23138 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23140 * sysdeps/unix/sysv/sigaction.c: Remove file.
23142 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23143 (sysdep_headers): Remove variable.
23144 [termio.h not in sysdep_headers] (generated): Likewise.
23145 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23146 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23147 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23148 * sysdeps/unix/sysv/tcflow.c: Likewise.
23149 * sysdeps/unix/sysv/tcflush.c: Likewise.
23150 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23151 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23152 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23153 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23154 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23156 * sysdeps/unix/siglist.c: Remove file.
23158 * sysdeps/unix/getppid.S: Remove file.
23160 * sysdeps/unix/mkdir.c: Remove file.
23161 * sysdeps/unix/rmdir.c: Likewise.
23163 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23165 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23167 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23168 errlist-compat value.
23170 2012-04-18 David S. Miller <davem@davemloft.net>
23172 * sysdeps/generic/memcopy.h (reg_char): Delete.
23173 * debug/strcat_chk.c: Use char, not reg_char.
23174 * debug/strcpy_chk.c: Likewise.
23175 * debug/strncat_chk.c: Likewise.
23176 * debug/strncpy_chk.c: Likewise.
23177 * string/memchr.c: Likewise.
23178 * string/memrchr.c: Likewise.
23179 * string/rawmemchr.c: Likewise.
23180 * string/strcat.c: Likewise.
23181 * string/strchr.c: Likewise.
23182 * string/strchrnul.c: Likewise.
23183 * string/strcmp.c: Likewise.
23184 * string/strcpy.c: Likewise.
23185 * string/strncat.c: Likewise.
23186 * string/strncmp.c: Likewise.
23187 * string/strncpy.c: Likewise.
23189 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23191 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23192 __builtin_memcopy is called when src and dest ranges are known to not
23195 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23197 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23198 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23199 fwd_align_merge macro call.
23200 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23201 bwd_align_merge macro call.
23202 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23204 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23206 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23207 bwd_align_merge macros.
23208 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23209 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23210 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23212 2012-04-18 David S. Miller <davem@davemloft.net>
23214 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23216 2012-04-18 Andreas Jaeger <aj@suse.de>
23219 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23220 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23221 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23223 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23224 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23225 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23227 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23228 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23229 Adjust for changed ldbl-128 files.
23231 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23232 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23233 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23235 2012-04-17 David S. Miller <davem@davemloft.net>
23237 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23239 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23241 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23242 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23243 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23244 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23245 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23246 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23248 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23251 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23252 * math/libm-test.inc: Add ilogb errno and exception tests.
23253 * math/w_ilogb.c: New file: ilogb wrapper.
23254 * math/w_ilogbf.c: New file: ilogbf wrapper.
23255 * math/w_ilogbl.c: New file: ilogbl wrapper.
23256 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23257 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23258 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23259 exception being thrown with 0.0 as argument.
23260 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23261 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23262 exception being thrown with 0.0 as argument.
23263 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23264 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23265 exception being thrown with 0.0 as argument.
23266 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23267 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23268 exception being thrown with 0.0 as argument.
23269 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23270 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23271 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23272 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23273 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23274 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23275 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23276 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23277 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23279 2012-04-17 Petr Baudis <pasky@ucw.cz>
23281 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23284 2012-04-16 Marek Polacek <polacek@redhat.com>
23286 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23288 2012-04-16 Marek Polacek <polacek@redhat.com>
23290 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23291 operands of fdivp instruction.
23293 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23295 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23296 * elf/tst-auditmod3b.c: Likewise.
23297 * elf/tst-auditmod4b.c: Likewise.
23298 * elf/tst-auditmod5b.c: Likewise.
23299 * elf/tst-auditmod6b.c: Likewise.
23300 * elf/tst-auditmod6c.c: Likewise.
23301 * elf/tst-auditmod7b.c: Likewise.
23302 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23303 * sysdeps/x86_64/preconfigure.in: Likewise.
23304 * sysdeps/x86_64/preconfigure: Regenerated.
23306 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23308 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23311 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23313 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23314 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23316 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23319 * locale/iso-639.def: Fix gl language name. Spotted by
23322 2012-04-12 Roland McGrath <roland@hack.frob.com>
23325 * libio/libio.h (__io_write_fn): Update comment.
23327 2012-04-12 Petr Baudis <pasky@ucw.cz>
23330 * stdio.texi (Hook Functions): The user provided writer function
23331 is not allowed to return -1.
23333 2012-04-11 David S. Miller <davem@davemloft.net>
23335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23337 2012-04-11 Mike Frysinger <vapier@gentoo.org>
23339 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23340 Add a leading slash to rtkaio.
23342 2012-04-11 Jim Meyering <meyering@redhat.com>
23345 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23346 It is not necessarily an error to ignore fwrite's return
23347 value. One can reliably use ferror to test for errors after
23350 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23352 * bits/types.h (__snseconds_t): New type.
23353 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23355 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23356 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23357 (__SNSECONDS_T_TYPE): Likewise.
23358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23359 (__SNSECONDS_T_TYPE): Likewise.
23360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23361 (__SNSECONDS_T_TYPE): Likewise.
23363 2012-04-10 Andreas Jaeger <aj@suse.de>
23366 * manual/time.texi (Processor Time): Return type of times is
23367 elapsed real time since an arbitrary point in the past.
23368 (CPU Time): Move CLK_TCK from here...
23369 (Processor Time): ...to here. Correct description.
23370 * manual/conf.texi (Constants for Sysconf): Correct description of
23373 2012-04-10 David S. Miller <davem@davemloft.net>
23376 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23377 where the is a gap between DT_REL(A) and DT_JMPREL.
23379 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23381 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23382 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23383 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23385 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23387 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23388 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23389 (dl_main): Handle --inhibit-cache.
23390 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23392 * elf/dl-load.c (_dl_map_object): Use it.
23393 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23395 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23398 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23399 (__ieee754_powl): Saturate large exponents rather than testing for
23400 overflow of y*log2(x).
23401 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23402 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23406 * math/s_ctan.c: Include <float.h>.
23407 (__ctan): Avoid internal overflow or cancellation in calculating
23409 * math/s_ctanf.c: Likewise.
23410 * math/s_ctanl.c: Likewise.
23411 * math/s_ctanh.c: Likewise.
23412 * math/s_ctanhf.c: Likewise.
23413 * math/s_ctanhl.c: Likewise.
23414 * math/libm-test.inc (ctan_test): Add more tests.
23415 (ctanh_test): Likewise.
23416 * sysdeps/i386/fpu/libm-test-ulps: Update.
23417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23419 2012-04-09 Andreas Jaeger <aj@suse.de>
23422 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23423 is an optional BSD extension.
23426 * manual/stdio.texi (Opening Streams): Document additional fopen
23429 2012-04-09 Roland McGrath <roland@hack.frob.com>
23431 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23432 %eax without telling the compiler.
23434 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23437 * manual/install.texi: Use sourceware.org.
23439 2012-04-09 Joseph Myers <joseph@codesourcery.com>
23442 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23443 (__ieee754_pow): Generate overflow and underflow using huge*huge
23444 and tiny*tiny rather than just returning constant infinity or zero
23445 for large exponents.
23446 * math/libm-test.inc (pow_test): Require overflow exceptions for
23447 applicable cases of large exponents.
23450 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23451 (__ieee754_pow): Use iterative multiplication algorithm only for
23452 integer exponents with absolute value below 1024. Check for odd
23453 integer exponents when using algorithm for real exponents.
23454 * math/libm-test.inc (pow_test): Add more tests.
23455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23457 2012-04-08 Joseph Myers <joseph@codesourcery.com>
23460 * math/libm-test.inc (exp_test): Do not allow overflow exception
23463 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23466 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23467 instead of __kernel_standard_f.
23469 2012-04-08 Mike Frysinger <vapier@gentoo.org>
23471 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23472 * sysdeps/x86_64/memset_chk.S: Likewise.
23474 2012-04-08 Andreas Jaeger <aj@suse.de>
23477 * manual/startup.texi (Environment Access): Describe return value
23478 for putenv and setenv.
23481 * manual/filesys.texi (Directory Entries): Add description for
23485 * manual/filesys.texi (Directory Entries): Clarify that it's file
23486 system not operating system in the description of DT_UNKNOWN.
23489 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23491 2012-04-08 Stephen Compall <s11@member.fsf.org>
23494 * manual/llio.texi (Opening and Closing Files): Add cross
23495 reference to explain mode argument.
23497 2012-04-07 Mike Frysinger <vapier@gentoo.org>
23499 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23500 * sysdeps/x86_64/memset_chk.S: Likewise.
23502 2012-04-07 David S. Miller <davem@davemloft.net>
23504 * elf/elf.h (R_SPARC_WDISP10): Define.
23505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23508 R_SPARC_SIZE64 and R_SPARC_H34.
23510 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23512 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23513 conditions and remove no longer applicable assertion.
23515 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23517 * bits/byteswap.h: Include <features.h>.
23518 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23519 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23521 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23523 * bits/byteswap.h (__bswap_16): Removed.
23524 Include <bits/byteswap-16.h> to get __bswap_16.
23525 * sysdeps/i386/bits/byteswap.h: Likewise.
23526 * sysdeps/s390/bits/byteswap.h: Likewise.
23527 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23528 * bits/byteswap-16.h: New file.
23529 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23530 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23531 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23532 * string/Makefile (headers): Add bits/byteswap-16.h.
23534 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23537 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23539 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23540 * nss/tst-nss-static.c: New.
23542 2012-04-06 Robert Millan <rmh@gnu.org>
23545 * manual/llio.texi (File Position Primitive): lseek
23546 refers to WHENCE when it really means OFFSET.
23548 2012-04-06 Andreas Jaeger <aj@suse.de>
23550 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23551 strncmp declarations.
23553 * abilist/libc.abilist: Add __poll and __ppoll.
23555 2012-04-05 David S. Miller <davem@davemloft.net>
23557 * scripts/check-local-headers.sh: Accept a host triplet in the
23558 path matched by the exclude regexp.
23560 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23562 * sysdeps/powerpc/powerpc32/dl-machine.h
23563 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23564 * sysdeps/s390/s390-32/dl-machine.h
23565 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23566 * sysdeps/sparc/sparc32/dl-machine.h
23567 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23568 * sysdeps/sparc/sparc64/dl-machine.h
23569 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23571 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23573 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
23574 undefined symbol errors.
23576 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
23579 2012-04-05 Michael Matz <matz@suse.de>
23582 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23584 2012-04-05 Andreas Jaeger <aj@suse.de>
23587 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23590 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23592 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23593 which ROUND is no valid rounding mode.
23595 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23597 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23599 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23601 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23603 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23604 an exception using FPU order intentionally.
23606 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23608 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23609 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23610 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23611 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23613 2012-04-05 Simon Josefsson <simon@josefsson.org>
23616 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23617 EINVAL when BUFLEN is too smal.
23619 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23622 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23623 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23625 2012-04-03 Andreas Jaeger <aj@suse.de>
23628 * manual/setjmp.texi (System V contexts): Fix sentence.
23631 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23632 New macro for this case.
23633 [!__GNUC__] (__bswap_64): New inline function for this case.
23634 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23635 * bits/byteswap.h: Likewise.
23636 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23637 ull, guard with __GLIBC_HAVE_LONG_LONG.
23639 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23640 __GLIBC_HAVE_LONG_LONG.
23642 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23643 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23645 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23648 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23649 inptr and inend, rather than using last_ch.
23651 2012-04-02 David S. Miller <davem@davemloft.net>
23653 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23654 * stdio-common/printf-parse.h (read_int): Change return type to
23655 'int', return -1 on INT_MAX overflow.
23656 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23657 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23658 overflows INT_MAX. Check for overflow of in-format-string precision
23659 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23660 SIZE_MAX not INT_MAX for integer overflow test.
23661 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23662 skip the construct in the format string but do not record anything.
23663 * stdio-common/bug22.c: Adjust to test both width/prevision
23664 INT_MAX overflow as well as total length INT_MAX overflow. Check
23665 explicitly for proper errno values.
23667 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23669 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23671 * string/test-strcmp.c [! WIDE]: Likewise.
23672 * time/tst-mktime2.c: Likewise for INT_MAX.
23673 * string/test-string.h: #include <sys/param.h> for MIN.
23675 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23676 * sysdeps/i386/init-first.c (init): Likewise.
23677 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23678 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23679 * sysdeps/sh/init-first.c (init): Likewise.
23681 2012-04-01 Ulrich Drepper <drepper@gmail.com>
23683 * po/ru.po: Update from translation team.
23684 * po/vi.po: Likewise.
23686 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23688 * resolv/nss_dns/dns-host.c: Merge copyright years.
23690 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23692 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23693 Optimize memcpy with prefetch if
23694 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23695 src, dst pointers have unequal 16 byte alignments.
23697 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23700 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23701 from a CNAME entry and return the minimum ttl for the query.
23702 (gaih_getanswer_slice): Likewise.
23704 2012-03-30 Jeff Law <law@redhat.com>
23706 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23708 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23709 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23711 * resolv/nss_dns/dns-host.c: Update copyright year.
23713 2012-03-30 Ulrich Drepper <drepper@gmail.com>
23715 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
23716 requests to save a system call. Fix check that all bytes are sent.
23718 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23719 comments for sendmmsg.
23721 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23724 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23725 with only 1 character between 0x0041 and 0x01b0.
23726 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23727 * wcsmbs/tst-mbsnrtowcs.c: New file.
23729 2012-03-29 David S. Miller <davem@davemloft.net>
23731 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23732 small copies by hand.
23734 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23737 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23738 _nss_compat_initgroups_dyn): Fall back to malloc/free
23739 for large group memberships.
23741 2012-03-28 David S. Miller <davem@davemloft.net>
23743 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23744 that branches into memcpy.
23745 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23746 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23747 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23748 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23751 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23752 implementation too.
23753 * sysdeps/sparc/mempcpy.S: New file.
23755 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23756 the IFUNC routine in the libc case.
23757 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23759 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23760 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23761 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23762 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23763 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23764 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23765 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23766 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23768 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23769 loop to 256 bytes instead of 64 bytes and fix test signedness.
23771 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23772 * sysdeps/sparc/sparc32/Makefile: rather than here...
23773 * sysdeps/sparc/sparc64/Makefile: and here.
23775 2012-03-28 Ulrich Drepper <drepper@gmail.com>
23777 * malloc/mallocbug.c: Avoid warnings about unused variables.
23779 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23782 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23783 in the right place. Discard and retry query if response is
23784 larger than input buffer size.
23786 2012-03-28 Joseph Myers <joseph@codesourcery.com>
23791 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23792 x for large integer exponent.
23793 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23794 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23795 sign of result as needed afterwards.
23796 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23797 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23798 result for underflowing pow the same as for overflow.
23799 (__kernel_standard_l): Handle powl overflow and underflow here
23800 rather than calling __kernel_standard.
23801 * math/libm-test.inc (pow_test): Add more tests.
23816 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23817 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23818 (__kernel_standard_l): New function.
23819 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23821 * math/w_acosl.c (__acosl): Likewise.
23822 * math/w_asinl.c (__asinl): Likewise.
23823 * math/w_atan2l.c (__atan2l): Likewise.
23824 * math/w_atanhl.c (__atanhl): Likewise.
23825 * math/w_coshl.c (__coshl): Likewise.
23826 * math/w_exp10l.c (__exp10l): Likewise.
23827 * math/w_exp2l.c (__exp2l): Likewise.
23828 * math/w_fmodl.c (__fmodl): Likewise.
23829 * math/w_hypotl.c (__hypotl): Likewise.
23830 * math/w_j0l.c (__j0l, __y0l): Likewise.
23831 * math/w_j1l.c (__j1l, __y1l): Likewise.
23832 * math/w_jnl.c (__jnl, __ynl): Likewise.
23833 * math/w_lgammal.c (__lgammal): Likewise.
23834 * math/w_log10l.c (__log10l): Likewise.
23835 * math/w_log2l.c (__log2l): Likewise.
23836 * math/w_logl.c (__logl): Likewise.
23837 * math/w_powl.c (__powl): Likewise.
23838 * math/w_remainderl.c (__remainderl): Likewise.
23839 * math/w_scalbl.c (sysv_scalbl): Likewise.
23840 * math/w_sinhl.c (__sinhl): Likewise.
23841 * math/w_sqrtl.c (__sqrtl): Likewise.
23842 * math/w_tgammal.c (__tgammal): Likewise.
23843 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23844 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23845 * math/libm-test.inc (acos_test): Add more tests.
23846 (acosh_test): Likewise.
23847 (asin_test): Likewise.
23848 (atanh_test): Likewise.
23849 (exp_test): Likewise.
23850 (exp10_test): Likewise.
23851 (exp2_test): Likewise.
23852 (expm1_test): Likewise.
23853 (lgamma_test): Likewise.
23854 (log_test): Likewise.
23855 (log10_test): Likewise.
23856 (log1p_test): Likewise.
23857 (log2_test): Likewise.
23858 (pow_test): Do not allow some spurious overflow exceptions.
23859 (sqrt_test): Add more tests.
23860 (tgamma_test): Likewise.
23861 (y0_test): Likewise.
23862 (y1_test): Likewise.
23863 (yn_test): Likewise.
23865 2012-03-27 Anton Blanchard <anton@samba.org>
23867 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23869 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23870 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23871 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23873 2012-03-27 David S. Miller <davem@davemloft.net>
23875 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23877 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23878 have-as-vis3 check.
23880 2012-03-27 Andreas Jaeger <aj@suse.de>
23882 * sysdeps/x86_64/elf/configure.in: Moved to ...
23883 * sysdeps/x86_64/configure.in: ... here.
23884 * sysdeps/x86_64/elf/start.S: Moved to ...
23885 * sysdeps/x86_64/start.S: ... here.
23886 * sysdeps/x86_64/elf/configure: Delete.
23888 * sysdeps/x86_64/configure.in: Merge contents from
23889 sysdeps/i386/configure.in (without i686 check).
23891 * sysdeps/i386/elf/Versions: Merge into ...
23892 * sysdeps/i386/Versions: ... this.
23893 * sysdeps/i386/elf/Versions: Delete file.
23894 * sysdeps/i386/elf/start.S: Moved to ...
23895 * sysdeps/i386/start.S: ...here.
23896 * sysdeps/i386/elf/configure.in: Merge into...
23897 * sysdeps/i386/configure.in: ...here.
23898 * sysdeps/i386/elf/configure.in: Delete file.
23899 * sysdeps/i386/elf/configure: Delete file.
23901 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23902 * debug/backtracesyms.c: ... here.
23903 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23904 * debug/backtracesymsfd.c: ... here.
23905 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23906 * sysdeps/generic/ifunc-sel.h: ... here.
23908 * sysdeps/unix/i386/start.c: Delete file.
23909 * sysdeps/unix/sparc/start.c: Delete file.
23910 * sysdeps/unix/start.c: Delete file.
23912 * sysdeps/sh/elf/configure.in: Moved to ...
23913 * sysdeps/sh/configure.in: ... here.
23914 * sysdeps/sh/elf/start.S: Moved to ...
23915 * sysdeps/sh/start.S: ... here.
23916 * sysdeps/sh/elf/configure: Delete file.
23918 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23919 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23920 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23921 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23922 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23923 * sysdeps/powerpc/powerpc64/start.S: here.
23924 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23925 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23926 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23927 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23928 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23930 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23931 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23932 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23933 * sysdeps/powerpc/powerpc32/start.S: ... here.
23934 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23935 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23936 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23938 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23939 * sysdeps/powerpc/ifunc-sel.h: ... here.
23940 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23941 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23943 * sysdeps/sparc/elf/configure.in: Moved to ...
23944 * sysdeps/sparc/configure.in: ... here.
23945 * sysdeps/sparc/elf/configure: Delete file.
23946 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23947 * sysdeps/sparc/sparc32/start.S: ... here.
23948 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23949 * sysdeps/sparc/sparc64/start.S: ... here.
23950 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23951 * sysdeps/sparc/sparc32/Makefile: ... this.
23952 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23953 * sysdeps/sparc/sparc64/Makefile: ... this.
23955 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23956 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23957 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23958 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23959 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23960 * sysdeps/s390/s390-32/setjmp.S: ... here.
23961 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23962 * sysdeps/s390/s390-32/configure.in: ... here.
23963 * sysdeps/s390/s390-32/elf/configure: Delete file.
23964 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23965 * sysdeps/s390/s390-32/start.S: ... here.
23967 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23968 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23969 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23970 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23971 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23972 * sysdeps/s390/s390-64/setjmp.S: ... here.
23973 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23974 * sysdeps/s390/s390-64/configure.in: ... here
23975 * sysdeps/s390/s390-64/elf/configure: Delete file.
23976 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23977 * sysdeps/s390/s390-64/start.S: ... here.
23978 * sysdeps/s390/s390-64/elf/configure: Delete.
23980 * configure.in: Remove support for elf directories in sysdeps.
23982 * configure: Regenerated.
23983 * sysdeps/i386/configure: Regenerated.
23984 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23985 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23986 * sysdeps/s390/s390-32/configure: Regenerated.
23987 * sysdeps/s390/s390-64/configure: Regenerated.
23988 * sysdeps/sh/configure: Regenerated.
23989 * sysdeps/sparc/configure: Regenerated.
23990 * sysdeps/x86_64/configure: Regenerated.
23992 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23996 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23997 denormal result into account.
23999 2012-03-25 Roland McGrath <roland@hack.frob.com>
24001 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24002 Reported by Allan McRae <allan@archlinux.org>.
24004 2012-03-23 Jeff Law <law@redhat.com>
24006 * nss/getnssent.c (__nss_getent): Fix typo.
24008 2012-03-23 David S. Miller <davem@davemloft.net>
24010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24012 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24014 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24015 to pad to uint64_t for each field.
24016 (dl_tls_index): Replace unsigned long with uint64_t.
24018 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24019 Paul Pluzhnikov <ppluzhnikov@google.com>
24022 * grp/Makefile (otherlibs): Don't set it.
24023 * inet/Makefile (otherlibs): Likewise.
24024 * login/Makefile (otherlibs): Likewise.
24025 * nscd/Makefile (otherlibs): Likewise.
24026 * posix/Makefile (otherlibs): Likewise.
24027 * pwd/Makefile (otherlibs): Likewise.
24028 * rt/Makefile (otherlibs): Likewise.
24029 * sunrpc/Makefile (otherlibs): Likewise.
24030 * nss/Makefile (otherlibs): Likewise.
24031 Add libnss_files to routines and static-only-routines.
24032 ($(objpfx)getent): Remove rule.
24033 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24034 static-only-routines.
24036 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24039 * math/s_cexp.c: Include <float.h>.
24040 (__cexp): Handle exp result overflowing not necessarily
24041 overflowing both real and imaginary parts of result.
24042 * math/s_cexpf.c: Likewise.
24043 * math/s_cexpl.c: Likewise.
24044 * math/libm-test.inc (cexp_test): Add more tests.
24045 * sysdeps/i386/fpu/libm-test-ulps: Update.
24046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24048 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24050 * include/link.h (ELFW): New macro.
24051 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24052 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24054 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24056 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24059 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24061 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24063 (struct La_x32_retval): Likewise.
24065 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24067 * sysdeps/x86_64/preconfigure.in: New file.
24068 * sysdeps/x86_64/preconfigure: New generated file.
24070 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24073 * math/e_exp2l.c: Include <float.h>.
24074 (__ieee754_exp2l): Handle overflow and underflow cases
24075 separately. Only pass fractional part of argument to
24077 * math/libm-test.inc (exp2_test): Add more tests.
24079 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24080 negating x to take absolute value.
24081 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24083 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24084 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24086 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24087 computing low part if x was negated.
24088 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24090 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24092 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24093 la_x32_gnu_pltexit.
24094 (pltexit): Cast int_retval to ptrdiff_t.
24095 * elf/tst-auditmod3b.c: Likewise.
24096 * elf/tst-auditmod4b.c: Likewise.
24097 * elf/tst-auditmod5b.c: Likewise.
24098 * elf/tst-auditmod6b.c: Likewise.
24099 * elf/tst-auditmod6c.c: Likewise.
24100 * elf/tst-auditmod7b.c: Likewise.
24102 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24103 and x32_gnu_pltexit.
24105 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24106 __ELF_NATIVE_CLASS.
24107 (La_x32_regs): New macro.
24108 (La_x32_retval): Likewise.
24109 (la_x32_gnu_pltenter): New function prototype.
24110 (la_x32_gnu_pltexit): Likewise.
24112 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24114 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24119 * configure.in (libc_cv_cc_nofma): Check for option to disable
24120 generation of FMA instructions.
24121 * configure: Regenerate.
24122 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24123 * sysdeps/ieee754/dbl-64/Makefile: New file.
24124 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24125 Remove brandred-fma4.
24126 (CFLAGS-brandred-fma4.c): Remove.
24127 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24128 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24130 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24133 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24135 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24136 LLONG_MAX != LONG_MAX.
24137 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24138 (_fitoa_word): Likewise.
24139 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24140 LLONG_MAX != LONG_MAX.
24141 * stdio-common/_itowa.h: Include <_itoa.h>.
24142 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24143 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24144 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24145 only if not defined.
24146 (_ITOA_WORD_TYPE): Likewise.
24147 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24148 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24150 2012-03-21 David S. Miller <davem@davemloft.net>
24152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24154 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24156 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24157 of x86_64 when setting libc_cv_slibdir, libdir and
24159 * sysdeps/unix/sysv/linux/configure: Regenerated.
24161 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24163 * manual/lang.texi (Old Varargs): Remove section.
24164 (How Variadic): Update menu.
24165 (va_start): Do not mention varargs.h.
24167 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24168 Joseph Myers <joseph@codesourcery.com>
24170 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24172 * configure: Regenerated.
24174 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24176 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24177 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24180 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24183 * Makefile (files-for-dist): Remove NOTES.
24184 (NOTES): Remove rule.
24185 * README: Don't refer to NOTES.
24186 * manual/creature.texi: Don't include macros.texi.
24187 * manual/intro.texi (creature.texi): Remove comment referring to
24190 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24191 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24192 * configure: Regenerated.
24193 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24194 LIBC_TRY_CC_OPTION.
24195 (libc_cv_as_i686): Likewise.
24196 (libc_cv_cc_avx): Likewise.
24197 (libc_cv_cc_sse2avx): Likewise.
24198 (libc_cv_cc_fma4): Likewise.
24199 (libc_cv_cc_novzeroupper): Likewise.
24200 * sysdeps/i386/configure: Regenerated.
24203 * sysdeps/i386/fpu/s_cexp.S: Remove.
24204 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24205 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24206 * math/libm-test.inc (cexp_test): Add more tests.
24207 * sysdeps/i386/fpu/libm-test-ulps: Update.
24208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24210 2012-03-21 Allan McRae <allan@archlinux.org>
24212 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24214 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24217 * math/w_exp2.c: Do not include <float.h>.
24218 (o_threshold, u_threshold): Remove.
24219 (__exp2): Calculate result before checking finiteness and calling
24221 * math/w_exp2f.c: Likewise.
24222 * math/w_exp2l.c: Likewise.
24223 * math/libm-test.inc (exp2_test): Require overflow exception for
24227 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24228 range of signed 64-bit integers before using fistpll. Remove
24229 checks for whether integers fit in mantissa bits.
24230 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24231 the range of signed 32-bit integers before using fistpl. Remove
24232 checks for whether integers fit in mantissa bits.
24233 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24234 (__ieee754_powl): Test for y outside the range of signed 64-bit
24235 integers before using fistpll. Reduce 64-bit values to 63-bit
24237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24238 divide-by-zero is raised for zero to large negative powers.
24239 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24240 (__ieee754_powl): Test for y outside the range of signed 64-bit
24241 integers before using fistpll. Reduce 64-bit values to 63-bit
24243 * math/libm-test.inc (pow_test): Add more tests.
24245 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24247 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24248 <stdio-common/_itoa.h>.
24249 * debug/segfault.c: Likewise.
24250 * elf/dl-cache.c: Likewise.
24251 * elf/dl-minimal.c: Likewise.
24252 * elf/dl-misc.c: Likewise.
24253 * elf/dl-sysdep.c: Likewise.
24254 * elf/dl-version.c: Likewise.
24255 * elf/rtld.c: Likewise.
24256 * hurd/hurdsock.c: Likewise.
24257 * hurd/lookup-retry.c: Likewise.
24258 * malloc/malloc.c: Likewise.
24259 * malloc/mtrace.c: Likewise.
24260 * nscd/nscd_getgr_r.c: Likewise.
24261 * nscd/nscd_getpw_r.c: Likewise.
24262 * nscd/nscd_getserv_r.c: Likewise.
24263 * posix/getopt_init.c: Likewise.
24264 * posix/wordexp.c: Likewise.
24265 * stdio-common/_itoa.c: Likewise.
24266 * stdio-common/printf_fphex.c: Likewise.
24267 * stdio-common/vfprintf.c: Likewise.
24268 * string/_strerror.c: Likewise.
24269 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24270 * sysdeps/i386/i686/hp-timing.h: Likewise.
24271 * sysdeps/mach/_strerror.c: Likewise.
24272 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24273 * sysdeps/mach/hurd/sethostid.c: Likewise.
24274 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24275 * sysdeps/mach/xpg-strerror.c: Likewise.
24276 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24277 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24278 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24279 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24280 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24281 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24282 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24283 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24284 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24285 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24286 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24287 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24288 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24289 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24290 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24291 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24292 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24293 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24294 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24295 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24296 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24298 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24300 * stdio-common/_itoa.h: Moved to ...
24301 * sysdeps/generic/_itoa.h: Here.
24303 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24305 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24306 instead of "_itoa.h" and "_itowa.h".
24307 * stdio-common/vfprintf.: Likewise.
24309 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24311 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24313 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24314 (__signbit): Likwise.
24315 (llrintf): Likwise.
24318 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24320 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24323 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24325 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24326 OVERFLOW_EXCEPTION_OK.
24327 * math/libm-test.inc ("Philosophy"): Update comment about
24329 (OVERFLOW_EXCEPTION): Define.
24330 (OVERFLOW_EXCEPTION_OK): Likewise.
24331 (INVALID_EXCEPTION_OK): Renumber.
24332 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24333 (IGNORE_ZERO_INF_SIGN): Likewise.
24334 (test_exceptions): Handle FE_OVERFLOW.
24335 (exp10_test): Expect overflow exceptions.
24336 (exp2_test): Likewise.
24337 (expm1_test): Likewise.
24338 (nextafter_test): Likewise.
24339 (pow_test): Likewise.
24340 (scalbn_test): Likewise.
24341 (scalbln_test): Likewise.
24343 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24345 * sysdeps/x86_64/bits/atomic.h
24346 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24348 (atomic_exchange_acq): Likewise.
24349 (__arch_exchange_and_add_body): Likewise.
24350 (__arch_add_body): Likewise.
24351 (atomic_add_negative): Likewise.
24352 (atomic_add_zero): Likewise.
24354 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24356 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
24357 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24359 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24361 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24362 Check __x86_64__ instead of __WORDSIZE.
24364 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24366 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24368 2012-03-19 David S. Miller <davem@davemloft.net>
24370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24372 * sysdeps/sparc/fpu/fenv_private.h: New file.
24373 * sysdeps/sparc/fpu/math_private.h: Use it.
24374 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24376 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24377 (libc_feholdexcept_setroundl): Remove.
24378 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24380 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24381 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24383 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24385 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24386 int64_t instead of long int.
24387 (INSERT_WORDS64): Likwise.
24389 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24391 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24392 _Unwind_GetCFA return to _Unwind_Ptr first.
24394 2012-03-19 Joseph Myers <joseph@codesourcery.com>
24397 * math/s_clog.c: Include <float.h>.
24398 (__clog): Scale large or subnormal inputs.
24399 * math/s_clogf.c: Likewise.
24400 * math/s_clogl.c: Likewise.
24401 * math/s_clog10.c: Include <float.h>.
24402 (M_LOG10_2): Define.
24403 (__clog10): Scale large or subnormal inputs.
24404 * math/s_clog10f.c: Likewise.
24405 * math/s_clog10l.c: Likewise.
24406 * math/libm-test.inc (clog_test): Add more tests.
24407 (clog10_test): Likewise.
24408 * sysdeps/i386/fpu/libm-test-ulps: Update.
24409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24412 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24414 * math/libm-test.inc (atan2_test): Add another test.
24416 * Makerules (common-objdir-compile): Remove.
24417 * sysdeps/unix/Makefile (config-generated): Do not add
24418 $(unix-generated) to variable.
24419 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24420 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24422 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24424 [generic bits/local_lim.h] (before-compile): Do not append to
24426 [generic bits/local_lim.h] (common-generated): Likewise.
24427 [generic sys/param.h] (before-compile): Do not append to variable.
24428 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24429 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24430 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24431 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24433 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24434 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24435 [generic sys/param.h] ($(addprefix
24436 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24437 [generic sys/param.h] (common-generated): Do not append to
24439 [generic sys/param.h] (sysdep_headers): Likewise.
24440 [generic bits/errno.h] (before-compile): Do not append to
24442 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24444 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24445 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24446 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24447 [generic bits/errno.h] (common-generated): Do not append to
24449 [generic bits/ioctls.h] (before-compile): Do not append to
24451 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24453 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24454 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24455 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24457 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24458 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24459 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24460 [generic bits/ioctls.h] (common-generated): Do not append to
24462 [generic sys/syscall.h] (syscall.h): Remove variable.
24463 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24465 [generic sys/syscall.h] (before-compile): Do not append to
24467 [generic sys/syscall.h] (common-generated): Likewise.
24468 * sysdeps/unix/errnos-tmpl.c: Remove file.
24469 * sysdeps/unix/errnos.awk: Likewise.
24470 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24471 * sysdeps/unix/ioctls.awk: Likewise.
24472 * sysdeps/unix/mk-local_lim.c: Likewise.
24473 * sysdeps/unix/snarf-ioctls: Likewise.
24475 2012-03-19 Richard Henderson <rth@twiddle.net>
24477 * sysdeps/i386/fpu/fenv_private.h: New file.
24478 * sysdeps/i386/fpu/math_private.h: Use it.
24479 (math_opt_barrier, math_force_eval): Remove.
24480 (libc_feholdexcept_setround_53bit): Remove.
24481 (libc_feupdateenv_53bit): Remove.
24482 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24483 (math_opt_barrier, math_force_eval): Remove.
24484 (libc_feholdexcept): Remove.
24485 (libc_feholdexcept_setround): Remove.
24486 (libc_fetestexcept, libc_fesetenv): Remove.
24487 (libc_feupdateenv_test): Remove.
24488 (libc_feupdateenv, libc_feholdsetround): Remove.
24489 (libc_feresetround): Remove.
24491 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24492 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24494 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24495 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24496 (libc_feupdateenv_testl): New.
24497 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24498 (libc_feupdateenv_testf): New.
24499 (libc_feupdateenv): Use libc_feupdateenv_test.
24500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24501 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24503 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24504 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24505 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24506 (libc_feresetround_noex): New.
24507 (libc_feresetround_noexf): New.
24508 (libc_feresetround_noexl): New.
24509 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24510 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24511 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24512 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24514 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24517 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24518 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24519 SET_RESTORE_ROUND_NOEX.
24520 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24521 SET_RESTORE_ROUND_NOEXF.
24522 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24523 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24524 (libc_feholdsetroundf): New.
24525 (libc_feresetround, libc_feresetroundf): New.
24527 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24528 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24529 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24531 * sysdeps/generic/math_private.h: Include <fenv.h>.
24532 (default_libc_feholdexcept): New.
24533 (default_libc_feholdexcept_setround): New.
24534 (default_libc_fesetenv, default_libc_feupdateenv): New.
24535 (libc_feholdexcept): Only define if undefined.
24536 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24537 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24538 (libc_feholdexcept_setroundl): Likewise.
24539 (libc_feholdexcept_setround_53bit): Likewise.
24540 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24541 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24542 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24543 (libc_feupdateenv_53bit): Likewise.
24544 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24545 (libc_feholdexcept): Convert from macro to inline function.
24546 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24547 (libc_fesetenv, libc_feupdateenv): Likewise.
24549 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24550 not previously defined.
24551 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24552 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24553 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24554 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24555 * sysdeps/ieee754/flt-32/math_private.h: New file.
24556 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24557 math_private.h below SET_FLOAT_WORD.
24558 (__isnan, __isinf_ns, __finite): Remove.
24559 (__isnanf, __isinf_nsf, __finitef): Remove.
24561 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24565 2012-03-17 David S. Miller <davem@davemloft.net>
24568 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24571 2012-03-16 David S. Miller <davem@davemloft.net>
24573 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24577 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24579 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24580 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24581 sysdep_routines when subdir is sysvipc.
24582 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24583 __getshmlba helper.
24585 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24587 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24589 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24592 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24594 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24595 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24596 (__lround): Renamed to ...
24597 (__llround): This. Replace long int with long long int.
24598 Define lround functions as aliases of llround functions.
24599 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24601 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24603 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24604 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24605 adresses to uintptr_t. Replace "long int" and "unsigned long
24606 int" with "greg_t" on va_arg.
24608 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24610 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24611 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24613 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24614 Move e_machine check before EI_CLASS check. Handle x32
24615 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24616 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24617 SKIP_EM_IA_64 and include
24618 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24620 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24621 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24622 (add_system_dir): New macro.
24624 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24625 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24627 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24638 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24640 * math/w_j0f.c (j0f): Likewise.
24642 * math/w_j0l.c (__j0l): Likewise.
24644 * math/w_j1.c (j1): Likewise.
24646 * math/w_j1f.c (j1f): Likewise.
24648 * math/w_j1l.c (__j1l): Likewise.
24650 * math/w_jn.c (jn): Likewise.
24652 * math/w_jnf.c (jnf): Likewise.
24654 * math/w_jnl.c (__jnl): Likewise.
24656 * math/libm-test.inc (j0_test): Add more tests.
24657 (j1_test): Likewise.
24658 (jn_test): Likewise. Add trailing semicolon to existing test.
24659 (y0_test): Likewise.
24660 (y1_test): Likewise.
24661 * sysdeps/i386/fpu/libm-test-ulps: Update.
24662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24666 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24667 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24668 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24669 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24670 (__tanl): Set errno for infinite argument.
24671 * sysdeps/i386/fpu/mptan.c: Remove.
24672 * sysdeps/i386/fpu/s_tan.S: Likewise.
24673 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24674 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24675 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24676 * math/libm-test.inc (tan_test): Add more tests and enable more
24677 tests for double and long double.
24678 * sysdeps/i386/fpu/libm-test-ulps: Update.
24679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24681 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24683 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24684 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24686 2012-03-16 Roland McGrath <roland@hack.frob.com>
24688 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24689 * configure.in: Use it for both main tree and add-ons.
24690 * configure: Regenerated.
24692 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24694 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24696 2012-03-16 Joseph Myers <joseph@codesourcery.com>
24698 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24702 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24703 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24705 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24706 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24708 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24710 != 0 for prec == 2.
24711 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24712 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24713 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24714 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24715 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24716 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24717 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24718 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24719 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24720 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24721 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24722 * math/libm-test.inc (cos_test): Add more tests and enable more
24723 tests for long double.
24724 (sin_test): Likewise.
24725 (sincos_test): Likewise.
24726 * sysdeps/i386/fpu/libm-test-ulps: Update.
24727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24729 2012-03-16 David S. Miller <davem@davemloft.net>
24731 * sysdeps/sparc/fpu/math_private.h: New file.
24733 2012-03-15 David S. Miller <davem@davemloft.net>
24735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
24738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24742 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24749 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24750 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24752 * sysdeps/sparc/sparc-ifunc.h: New file.
24753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
24769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24791 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24793 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24794 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24795 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24796 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24798 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24800 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24804 2012-03-15 Andreas Jaeger <aj@suse.de>
24807 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24808 ieee754/flt-32 implementation for sin, cos and sincos.
24809 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24810 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24811 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24812 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24813 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24814 ieee754/flt-32 implementation for tan.
24816 * math/libm-test.inc (cos_test): Enable some large input tests for
24818 (sin_test): Likewise.
24819 (sincos_test): Likewise.
24820 (tan_test): Add tests for large input.
24822 * sysdeps/i386/fpu/libm-test-ulps: Update.
24824 2012-03-15 Andreas Jaeger <aj@suse.de>
24827 * math/libm-test.inc (cos_test): Add more test cases.
24828 (sin_test): Likewise.
24829 (sincos_test): Likewise.
24831 2012-03-15 Andreas Jaeger <aj@suse.de>
24834 * math/libm-test.inc (cos_test): Add a test case for large input
24836 (sin_test): Likewise.
24837 (sincos_test): Likewise.
24839 2012-03-15 Andreas Jaeger <aj@suse.de>,
24840 Joseph Myers <joseph@codesourcery.com>
24843 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
24844 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24845 * sysdeps/i386/fpu/branred.c: Likewise.
24846 * sysdeps/i386/fpu/dosincos.c: Likewise.
24847 * sysdeps/i386/fpu/mpa.c: Likewise.
24848 * sysdeps/i386/fpu/s_cos.S: Likewise.
24849 * sysdeps/i386/fpu/s_sin.S: Likewise.
24850 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24851 * sysdeps/i386/fpu/sincos32.c: Likewise.
24853 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24855 (libc_feupdateenv_53bit): Define.
24856 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24858 (libc_feupdateenv_53bit): Define.
24860 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24861 53 bit (without extend i386 double precision).
24863 * math/libm-test.inc (sincos_test): Add tests for large input.
24867 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24869 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24873 2012-03-15 David S. Miller <davem@davemloft.net>
24875 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24876 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24877 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24878 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
24890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
24893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
24896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
24899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24902 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24903 fmin/fmax sysdep routines.
24904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24906 2012-03-14 David S. Miller <davem@davemloft.net>
24908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24909 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24912 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24913 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24914 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24915 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24917 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24929 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24930 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24931 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24932 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24933 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24934 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
24936 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
24941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
24944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
24947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
24950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
24953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
24968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
24971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
24974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
24977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24980 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24985 * sysdeps/sparc/configure.in: New file.
24986 * sysdeps/sparc/configure: Generate.
24987 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24988 * configure: Regenerate.
24989 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24990 * config.make.in (have-as-vis3): New.
24991 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24992 available use -Av9d instead of -Av9a.
24993 * sysdeps/sparc/sparc64/Makefile: Likewise.
24994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
24995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25004 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25005 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25006 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25007 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25009 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25010 fzeros/fnegs to load 0x80000000 into a float register instead of
25012 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25014 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25018 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25019 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25020 ($(inst_includedir)/bits/syscall.h): Remove rule.
25021 ($(objpfx)bits/syscall.d): Include instead of
25022 $(objpfx)syscall-list.d.
25023 (generated): Change syscall-list.h and syscall-list.d to
25024 bits/syscall.h and bits/syscall.d.
25026 2012-03-14 Roland McGrath <roland@hack.frob.com>
25029 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25031 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25034 * math/s_csqrt.c: Include <float.h>.
25035 (__csqrt): Scale large or subnormal inputs.
25036 * math/s_csqrtf.c: Likewise.
25037 * math/s_csqrtl.c: Likewise.
25038 * math/libm-test.inc (csqrt_test): Add more tests.
25039 * sysdeps/i386/fpu/libm-test-ulps: Update.
25040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25043 * math/libm-test.inc (hypot_test): Add more tests.
25045 2012-03-13 David S. Miller <davem@davemloft.net>
25048 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25049 double-precision for the calculation instead of scaling.
25051 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25053 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25054 manipulate bits before adding and subtracting TWO52[sx].
25055 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25056 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25058 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25060 2012-03-13 David S. Miller <davem@davemloft.net>
25062 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25063 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25064 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25065 rtld-global-offsets.h
25066 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25068 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25071 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25073 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25074 'err' in the ifdef scope in which it is actually used.
25076 * nss/nss_db/db-init.c: Include string.h
25078 2012-03-12 David S. Miller <davem@davemloft.net>
25080 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25081 masking out of the most significant byte of random value used.
25082 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25083 Fix coding style in previous change.
25085 * sysdeps/unix/sysv/linux/kernel-features.h
25086 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25087 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25089 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25092 2012-03-11 David S. Miller <davem@davemloft.net>
25094 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25095 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25096 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25097 for 'resultvar' otherwise things get truncated on 64-bit.
25099 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25100 Fix masking out of the most significant byte of random value used.
25102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25104 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25108 2012-03-09 David S. Miller <davem@davemloft.net>
25110 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25111 variables with appropriate CPP guards.
25112 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25113 frame pointer, not the stack pointer. Correct layout comments. Fix test
25114 on resulting framesize and the management of the outregs buffer for pltexit.
25115 Preserve floating point return values across _dl_call_pltexit call.
25116 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25117 framesize and the management of the outregs buffer for pltexit.
25118 Preserve floating point return values across _dl_call_pltexit
25120 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25121 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25122 (print_exit): Fix format string for return register value.
25124 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25126 * sunrpc/Makefile (others): Add rpcgen.
25127 ($(objpfx)rpcgen): Remove special build rule and dependency on
25129 * sunrpc/rpcgen.c: New file.
25131 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25134 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25135 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25136 * sysdeps/i386/crti.S: Likewise.
25137 * sysdeps/i386/crtn.S: Likewise.
25138 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25139 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25140 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25141 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25142 * sysdeps/sh/crti.S: Likewise.
25143 * sysdeps/sh/crtn.S: Likewise.
25144 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25147 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25149 * locale/programs/locfile-kw.gperf: Likewise.
25150 * locale/programs/charmap-kw.h: Regenerated.
25151 * locale/programs/locfile-kw.h: Likewise.
25154 * intl/plural.y: Replace FSF snail mail address with URL.
25155 * intl/plural.c: Regenerated.
25157 2012-03-09 Richard Henderson <rth@twiddle.net>
25159 * include/math_private.h: Remove file.
25160 * math/math_private.h: Move file ...
25161 * sysdeps/generic/math_private.h: ... here.
25163 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25164 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25165 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25167 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25168 and <math_private.h>.
25169 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25170 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25171 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25172 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25173 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25174 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25175 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25176 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25177 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25178 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25180 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25181 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25182 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25183 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25184 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25185 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25186 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25187 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25188 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25189 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25190 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25191 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25193 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25194 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25195 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25196 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25197 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25198 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25199 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25200 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25201 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25202 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25203 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25204 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25205 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25206 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25207 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25208 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25209 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25210 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25211 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25212 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25213 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25214 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25215 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25216 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25217 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25218 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25219 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25220 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25221 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25222 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25223 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25224 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25225 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25226 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25227 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25228 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25229 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25230 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25232 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25233 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25234 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25235 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25236 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25237 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25238 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25239 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25240 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25241 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25242 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25243 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25247 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25248 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25249 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25250 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25251 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25252 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25253 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25255 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25256 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25257 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25258 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25259 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25260 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25261 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25262 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25263 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25264 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25265 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25266 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25267 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25268 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25269 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25270 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25271 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25272 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25273 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25274 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25275 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25276 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25277 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25278 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25279 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25280 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25281 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25282 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25283 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25284 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25285 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25286 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25287 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25288 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25289 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25290 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25291 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25292 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25293 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25294 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25295 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25296 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25297 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25298 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25299 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25300 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25301 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25302 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25303 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25304 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25305 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25306 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25307 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25308 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25309 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25310 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25311 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25312 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25313 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25314 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25315 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25316 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25317 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25318 * sysdeps/ieee754/k_standard.c: Likewise.
25319 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25320 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25321 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25322 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25323 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25324 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25325 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25326 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25327 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25328 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25329 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25330 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25331 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25332 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25333 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25334 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25335 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25336 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25337 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25338 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25339 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25340 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25341 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25342 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25343 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25344 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25345 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25346 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25347 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25348 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25349 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25350 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25351 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25352 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25353 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25354 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25355 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25356 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25357 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25358 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25359 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25360 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25361 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25362 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25363 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25364 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25365 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25366 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25367 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25368 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25373 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25378 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25381 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25385 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25387 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25388 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25401 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25429 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25430 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25432 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25433 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25434 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25435 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25437 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25438 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25439 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25441 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25443 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25444 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25446 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25447 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25451 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25456 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25457 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25459 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25460 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25461 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25462 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25463 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25464 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25465 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25466 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25467 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25468 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25469 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25470 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25471 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25472 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25473 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25474 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25475 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25476 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25477 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25478 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25479 * sysdeps/ieee754/s_lib_version.c: Likewise.
25480 * sysdeps/ieee754/s_matherr.c: Likewise.
25481 * sysdeps/ieee754/s_signgam.c: Likewise.
25482 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25483 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25484 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25485 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25486 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25487 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25488 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25489 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25490 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25491 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25492 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25493 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25494 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25495 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25496 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25497 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25498 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25499 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25500 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25502 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25504 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25506 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25507 * sunrpc/rpc_main.c: Likewise.
25508 * sunrpc/rpc_svcout.c: Likewise.
25510 2012-03-09 David S. Miller <davem@davemloft.net>
25512 * include/math_private.h: New file.
25514 2012-03-09 Joseph Myers <joseph@codesourcery.com>
25516 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25517 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25518 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25519 from <bits/socket_type.h>.
25520 (enum __socket_type): Don't define here.
25521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25523 bits/socket_type.h.
25526 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25527 checking __USE_GNU.
25529 * Makerules ($(inst_includedir)/%.h): New rule.
25530 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25531 (install-others): Remove variable setting.
25532 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25534 2012-03-08 Richard Henderson <rth@twiddle.net>
25536 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25537 from macro to inline function; merge with the
25538 !__LIBC_INTERNAL_MATH_INLINES version.
25539 (__ieee754_sqrtf): Likewise.
25541 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25542 to inline function.
25543 (__rintf, __floor, __floorf): Likewise.
25545 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25546 macro to inline function.
25547 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25549 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25550 not <math/math_private.h>.
25552 2012-03-08 David S. Miller <davem@davemloft.net>
25554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25556 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25558 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25560 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25562 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25563 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25565 2012-03-08 Ulrich Drepper <drepper@gmail.com>
25567 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25568 be defined individually, they must be defined as a block. Define
25569 S for printing a string instead of hidint the different by using a
25570 macro for adding the 'l'.
25571 * stdio-common/tst-fphex-wide.c: Adjust.
25573 2012-03-07 Marek Polacek <polacek@redhat.com>
25575 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25577 2012-03-08 Marek Polacek <polacek@redhat.com>
25580 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25581 * stdio-common/tst-fphex.c: Define a few macros to make the
25582 test reusable. Use them.
25583 * stdio-common/tst-fphex-wide.c: New file.
25585 2012-03-08 Joseph Myers <joseph@codesourcery.com>
25588 * manual/macros.texi (gnusystems): New macro.
25589 (nongnusystems): Likewise.
25590 (gnulinuxhurdsystems): Likewise.
25591 (gnuhurdsystems): Likewise..
25592 (gnulinuxsystems): Likewise.
25593 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25594 variants of the GNU system, not "GNU system".
25595 * manual/conf.texi: Likewise.
25596 * manual/errno.texi: Likewise. Update example of errno macro
25598 * manual/filesys.texi: Likewise.
25599 (getumask): Document as specific to GNU/Hurd.
25600 * manual/install.texi: Likewise. Reword some references to
25602 * manual/intro.texi: Likewise.
25603 * manual/io.texi: Likewise.
25604 (File Name Portability): Detail which constraints are inapplicable
25605 to all GNU systems and which are only inapplicable to GNU/Hurd.
25606 * manual/job.texi: Likewise.
25607 * manual/llio.texi: Likewise.
25608 (O_NOCTTY): Document as present on GNU/Linux.
25609 * manual/maint.texi: Likewise.
25610 * manual/memory.texi: Likewise.
25611 * manual/pattern.texi: Likewise.
25612 * manual/pipe.texi: Likewise.
25613 * manual/process.texi: Likewise.
25614 * manual/resource.texi: Likewise.
25615 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25617 * manual/setjmp.texi: Likewise.
25618 * manual/signal.texi: Likewise.
25619 * manual/startup.texi: Likewise.
25620 * manual/stdio.texi: Likewise.
25621 * manual/terminal.texi: Likewise.
25622 (ONLCR): Document as POSIX.
25623 (OXTABS): Document availability on GNU/Linux as XTABS.
25624 (ONOEOT): Document availability separately from other bits.
25625 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25626 * manual/time.texi: Likewise.
25627 * manual/users.texi: Likewise.
25628 * INSTALL: Regenerated.
25629 * sysdeps/gnu/errlist.c: Regenerated.
25631 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25632 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25633 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25635 * configure: Regenerated.
25637 2012-03-07 Joseph Myers <joseph@codesourcery.com>
25639 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25640 default includes instead of AC_HEADER_CHECK.
25641 * sysdeps/i386/configure: Regenerated.
25644 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25645 * math/s_cacoshf.c (__cacoshf): Likewise.
25646 * math/s_cacoshl.c (__cacoshl): Likewise.
25647 * math/s_casinh.c (__casinh): Set signs of result from argument.
25648 * math/s_casinhf.c (__casinhf): Likewise.
25649 * math/s_casinhl.c (__casinhl): Likewise.
25650 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25651 (casinh_test): Add more tests.
25652 * sysdeps/i386/fpu/libm-test-ulps: Update.
25653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25655 2012-03-07 Ulrich Drepper <drepper@gmail.com>
25657 * po/zh_TW.po: Update from translation team.
25659 * login/Makefile (distribute): Remove variable.
25660 * catgets/Makefile: Likewise.
25661 * mach/Makefile: Likewise.
25662 * malloc/Makefile: Likewise.
25663 * misc/Makefile: Likewise.
25664 * iconv/Makefile: Likewise.
25665 * nscd/Makefile: Likewise.
25666 * hurd/Makefile: Likewise.
25667 * manual/Makefile: Likewise.
25668 * locale/Makefile: Likewise.
25669 * intl/Makefile: Likewise.
25670 * conform/Makefile: Likewise.
25671 * nss/Makefile: Likewise.
25672 * time/Makefile: Likewise.
25673 * soft-fp/Makefile: Likewise.
25674 * dirent/Makefile: Likewise.
25675 * gmon/Makefile: Likewise.
25676 * po/Makefile: Likewise.
25677 * rt/Makefile: Likewise.
25678 * socket/Makefile: Likewise.
25679 * math/Makefile: Likewise.
25680 * signal/Makefile: Likewise.
25681 * debug/Makefile: Likewise.
25682 * elf/Makefile: Likewise.
25683 * timezone/Makefile: Likewise.
25684 * stdlib/Makefile: Likewise.
25685 * iconvdata/Makefile: Likewise.
25686 * sunrpc/Makefile: Likewise.
25687 * io/Makefile: Likewise.
25688 * argp/Makefile: Likewise.
25689 * inet/Makefile: Likewise.
25690 * hesiod/Makefile: Likewise.
25691 * grp/Makefile: Likewise.
25692 * csu/Makefile: Likewise.
25693 * wctype/Makefile: Likewise.
25694 * crypt/Makefile: Likewise.
25695 * libio/Makefile: Likewise.
25696 * string/Makefile: Likewise.
25697 * nis/Makefile: Likewise.
25698 * resolv/Makefile: Likewise.
25699 * stdio-common/Makefile: Likewise.
25700 * wcsmbs/Makefile: Likewise.
25701 * dlfcn/Makefile: Likewise.
25702 * posix/Makefile: Likewise.
25705 * timezone/Makefile: Don't install timezone files, just the programs
25708 2012-03-06 Ulrich Drepper <drepper@gmail.com>
25710 * nss/databases.def: Add missing gshadow entry.
25712 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25714 2012-03-06 Marek Polacek <polacek@redhat.com>
25717 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25718 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25719 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25720 * stdio-common/tst-long-dbl-fphex.c: New file.
25722 2012-03-06 David S. Miller <davem@davemloft.net>
25724 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25725 (set_obp_int): New function.
25726 (get_obp_int): New function.
25727 (__get_clockfreq_via_dev_openprom): Likewise.
25728 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25729 Avoid unused variable warnings on 'val' and use builtin_expect.
25730 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25732 (INLINE_CLONE_SYSCALL): Likewise.
25734 2012-03-05 David S. Miller <davem@davemloft.net>
25736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25738 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25742 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25743 only for |x| >= 40.
25744 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25746 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
25748 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25749 Replace gettimeofday with __vdso_gettimeofday.
25751 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25752 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25753 __vdso_clock_gettime and __vdso_getcpu.
25755 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25756 time with __vdso_time.
25758 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25760 * manual/lang.texi (size_t): Note types to which size_t may be
25761 equivalent with the GNU C Library, but do not describe when
25762 differences between them are significant.
25764 2012-03-05 Andreas Jaeger <aj@suse.de>
25766 * sysdeps/i386/fpu/libm-test-ulps: Update.
25768 2012-03-05 Joseph Myers <joseph@codesourcery.com>
25771 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25772 (__ieee754_pow): Save and restore rounding mode and use
25773 round-to-nearest for main computations.
25774 * math/libm-test.inc (pow_test_tonearest): New function.
25775 (pow_test_towardzero): Likewise.
25776 (pow_test_downward): Likewise.
25777 (pow_test_upward): Likewise.
25778 (main): Call the new functions.
25779 * sysdeps/i386/fpu/libm-test-ulps: Update.
25780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25783 * math/libm-test.inc (cosh_test_tonearest): New function.
25784 (cosh_test_towardzero): Likewise.
25785 (cosh_test_downward): Likewise.
25786 (cosh_test_upward): Likewise.
25787 (sinh_test_tonearest): Likewise.
25788 (sinh_test_towardzero): Likewise.
25789 (sinh_test_downward): Likewise.
25790 (sinh_test_upward): Likewise.
25791 (main): Call the new functions.
25792 * sysdeps/i386/fpu/libm-test-ulps: Update.
25793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25795 2012-03-05 Tom de Vries <tom@codesourcery.com>
25797 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25798 default stack guard is set in last bytes.
25799 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25801 2012-03-05 Kees Cook <keescook@chromium.org>
25803 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
25806 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25807 possibly allocate from heap instead of stack.
25808 * stdio-common/bug-vfprintf-nargs.c: New file.
25809 * stdio-common/Makefile (tests): Add nargs overflow test.
25811 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25815 2012-03-03 Marek Polacek <polacek@redhat.com>
25817 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25818 * math/math_private.h: Likewise.
25819 * stdlib/tst-strtod.c: Likewise.
25820 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25821 * sysdeps/x86_64/bits/atomic.h: Likewise.
25823 2012-03-02 David S. Miller <davem@davemloft.net>
25825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25829 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25830 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25831 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25832 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25834 2012-03-02 Roland McGrath <roland@hack.frob.com>
25837 * manual/examples/README: New file, says the example source files
25838 can be used under GPL>=2.
25839 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25840 line containing just "*/".
25841 * manual/examples/add.c: Add copyright header (GPL>=2).
25842 * manual/examples/argp-ex1.c: Likewise.
25843 * manual/examples/argp-ex2.c: Likewise.
25844 * manual/examples/argp-ex3.c: Likewise.
25845 * manual/examples/argp-ex4.c: Likewise.
25846 * manual/examples/atexit.c: Likewise.
25847 * manual/examples/db.c: Likewise.
25848 * manual/examples/dir.c: Likewise.
25849 * manual/examples/dir2.c: Likewise.
25850 * manual/examples/execinfo.c: Likewise.
25851 * manual/examples/filecli.c: Likewise.
25852 * manual/examples/filesrv.c: Likewise.
25853 * manual/examples/fmtmsgexpl.c: Likewise.
25854 * manual/examples/genpass.c: Likewise.
25855 * manual/examples/inetcli.c: Likewise.
25856 * manual/examples/inetsrv.c: Likewise.
25857 * manual/examples/isockad.c: Likewise.
25858 * manual/examples/longopt.c: Likewise.
25859 * manual/examples/memopen.c: Likewise.
25860 * manual/examples/memstrm.c: Likewise.
25861 * manual/examples/mkfsock.c: Likewise.
25862 * manual/examples/mkisock.c: Likewise.
25863 * manual/examples/mygetpass.c: Likewise.
25864 * manual/examples/pipe.c: Likewise.
25865 * manual/examples/popen.c: Likewise.
25866 * manual/examples/rprintf.c: Likewise.
25867 * manual/examples/search.c: Likewise.
25868 * manual/examples/select.c: Likewise.
25869 * manual/examples/setjmp.c: Likewise.
25870 * manual/examples/sigh1.c: Likewise.
25871 * manual/examples/sigusr.c: Likewise.
25872 * manual/examples/stpcpy.c: Likewise.
25873 * manual/examples/strdupa.c: Likewise.
25874 * manual/examples/strftim.c: Likewise.
25875 * manual/examples/strncat.c: Likewise.
25876 * manual/examples/subopt.c: Likewise.
25877 * manual/examples/swapcontext.c: Likewise.
25878 * manual/examples/termios.c: Likewise.
25879 * manual/examples/testopt.c: Likewise.
25880 * manual/examples/testpass.c: Likewise.
25881 * manual/examples/timeval_subtract.c: Likewise.
25884 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25886 * manual/timeval_subtract.c.texi: ... here, new file.
25888 2012-03-02 David S. Miller <davem@davemloft.net>
25890 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25892 2012-03-02 Joseph Myers <joseph@codesourcery.com>
25895 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25896 (__sin): Save and restore rounding mode and use round-to-nearest
25897 for all computations.
25898 (__cos): Save and restore rounding mode and use round-to-nearest
25899 for all computations.
25900 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25902 (tan): Save and restore rounding mode and use round-to-nearest for
25904 * math/libm-test.inc (cos_test_tonearest): New function.
25905 (cos_test_towardzero): Likewise.
25906 (cos_test_downward): Likewise.
25907 (cos_test_upward): Likewise.
25908 (sin_test_tonearest): Likewise.
25909 (sin_test_towardzero): Likewise.
25910 (sin_test_downward): Likewise.
25911 (sin_test_upward): Likewise.
25912 (tan_test_tonearest): Likewise.
25913 (tan_test_towardzero): Likewise.
25914 (tan_test_downward): Likewise.
25915 (tan_test_upward): Likewise.
25916 (main): Call the new functions.
25917 * sysdeps/i386/fpu/libm-test-ulps: Update.
25918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25921 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25922 small n, then large n, before computing and testing k+n.
25923 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25924 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25926 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25928 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25929 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25930 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25931 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25932 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25933 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25934 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25935 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25936 * math/libm-test.inc (scalbn_test): Add more tests.
25937 (scalbln_test): Likewise.
25939 * manual/filesys.texi (mode_t): Describe constraints on size and
25940 signedness, not exact equivalence to a particular type.
25942 (ino64_t): Likewise.
25944 (nlink_t): Likewise.
25945 (blkcnt_t): Likewise.
25946 (blkcnt64_t): Likewise.
25947 * manual/llio.texi (off_t): Likewise.
25950 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25951 (__ieee754_exp): Save and restore rounding mode and use
25952 round-to-nearest for all computations.
25953 * math/libm-test.inc (exp_test_tonearest): New function.
25954 (exp_test_towardzero): Likewise.
25955 (exp_test_downward): Likewise.
25956 (exp_test_upward): Likewise.
25957 (main): Call the new functions.
25958 * sysdeps/i386/fpu/libm-test-ulps: Update.
25959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25961 2012-03-01 Chris Demetriou <cgd@google.com>
25963 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25964 have predictable order.
25966 2012-03-01 David S. Miller <davem@davemloft.net>
25968 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25970 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25971 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25972 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25973 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25975 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25976 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25977 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25979 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25980 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25981 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25982 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25983 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25987 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25988 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25989 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25991 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25992 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25993 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25994 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25995 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25996 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25997 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25998 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25999 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26000 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26001 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26002 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26004 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26005 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26007 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26008 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26009 * sysdeps/sparc/elf/configure: Regenerated.
26011 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26013 * configure.in (AS, LD): Require binutils 2.20 or later.
26014 * configure: Regenerated.
26015 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26016 as required minimum version.
26017 * INSTALL: Regenerated.
26021 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26022 before squaring exponent.
26023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26024 bottom long double and 27 bits of top long double before squaring
26026 * math/libm-test.inc (erfc_test): Add more tests.
26027 * sysdeps/i386/fpu/libm-test-ulps: Update.
26028 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26031 2012-03-01 Kai Tietz <ktietz@redhat.com>
26033 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26034 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26035 containing bit-fields.
26036 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26037 * soft-fp/single.h (_FP_UNION_S): Likewise.
26038 * soft-fp/double.h (_FP_UNION_D): Likewise.
26040 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26043 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26044 not include ../strcmp.S.
26045 [USE_AS_STRNCASECMP_L]: Likewise.
26046 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26047 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26048 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26049 (__strncasecmp_l_ia32): Define as alias to
26050 __strncasecmp_l_nonascii.
26053 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26054 * sysdeps/i386/fpu/libm-test-ulps: Update.
26055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26057 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26060 2012-02-29 Jeff Law <law@redhat.com>
26062 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26063 out of bounds read.
26065 2012-02-29 Marek Polacek <polacek@redhat.com>
26068 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26069 * elf/Makefile: Add rules to run tst-unused-dep.out.
26071 2012-02-28 David S. Miller <davem@davemloft.net>
26073 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26074 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26075 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26076 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26077 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26078 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26080 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26082 * math/libm-test.inc (llround_test): Move one test from
26083 lround_test. Use TEST_f_L in moved test.
26084 (lround_test): Move misplaced test to llround_test. Add testcase
26087 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26089 * sysdeps/x86_64/fpu/e_expf.S: New file.
26090 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26092 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26095 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26096 of remain_len that may cause incomplete multi-byte character and
26098 * posix/bug-regex33.c: New file.
26099 * posix/Makefile (tests): Add bug-regex33.
26101 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26103 * manual/macros.texi: New file.
26104 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26105 * manual/libc.texinfo: Include macros.texi.
26106 * manual/creatute.texi: Likewise.
26107 * manual/install.texi: Likewise.
26108 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26109 @glibcadj{} in references to the GNU C Library.
26110 * manual/charset.texi: Likewise.
26111 * manual/conf.texi: Likewise.
26112 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26113 when not using those macros.
26114 * manual/creature.texi: Likewise.
26115 * manual/crypt.texi: Likewise.
26116 * manual/errno.texi: Likewise.
26117 * manual/filesys.texi: Likewise.
26118 * manual/header.texi: Likewise.
26119 * manual/install.texi: Likewise.
26120 * manual/intro.texi: Likewise.
26121 * manual/io.texi: Likewise.
26122 * manual/job.texi: Likewise.
26123 * manual/lang.texi: Likewise.
26124 * manual/libc.texiinfo: Likewise.
26125 * manual/llio.texi: Likewise.
26126 * manual/locale.texi: Likewise.
26127 * manual/maint.texi: Likewise.
26128 * manual/math.texi: Likewise.
26129 * manual/memory.texi: Likewise.
26130 * manual/message.texi: Likewise.
26131 * manual/nss.texi: Likewise.
26132 * manual/pattern.texi: Likewise.
26133 * manual/process.texi: Likewise.
26134 * manual/resource.texi: Likewise.
26135 * manual/search.texi: Likewise.
26136 * manual/setjmp.texi: Likewise.
26137 * manual/signal.texi: Likewise.
26138 * manual/socket.texi: Likewise.
26139 * manual/startup.texi: Likewise.
26140 * manual/stdio.texi: Likewise.
26141 * manual/string.texi: Likewise.
26142 * manual/sysinfo.texi: Likewise.
26143 * manual/syslog.texi: Likewise.
26144 * manual/terminal.texi: Likewise.
26145 * manual/time.texi: Likewise.
26146 * manual/users.texi: Likewise.
26147 * INSTALL: Regenerated.
26148 * NOTES: Regenerated.
26149 * sysdeps/gnu/errlist.c: Regenerated.
26151 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26153 * include/dirent.h: Include <dirstream.h> before
26156 2012-02-28 David S. Miller <davem@davemloft.net>
26158 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26159 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26160 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26161 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26163 2012-02-27 David S. Miller <davem@davemloft.net>
26165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26167 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26168 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26171 frame pointer instead of stack pointer relative arg slot.
26172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26173 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26174 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26176 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26179 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26181 2012-02-27 David S. Miller <davem@davemloft.net>
26183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26187 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26188 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26189 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26190 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26192 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26194 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26195 later. Allow versions 5-9.
26196 * configure: Regenerated.
26197 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26198 required minimum version and 4.6 as recommended version. Do not
26199 mention bugs in GCC 2.7 and 2.8.
26200 * INSTALL: Regenerated.
26202 2012-02-27 David S. Miller <davem@davemloft.net>
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26208 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26209 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26210 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26211 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26214 manipulate bits before adding and subtracting TWO112[sx].
26215 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26217 2012-02-27 Roland McGrath <roland@hack.frob.com>
26220 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26221 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26222 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26223 being in POSIX, because they are in 1003.1-2008.
26225 * rt/tst-aio.c: Include <fcntl.h>.
26226 * rt/tst-aio7.c: Likewise.
26227 * rt/tst-aio64.c: Likewise.
26229 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26231 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26233 * manual/install.texi (--with-headers): Describe headers as
26234 interface headers, not private headers.
26235 (Specific advice for GNU/Linux systems): Describe use of headers
26236 from "make headers_install", not private headers from older
26238 * INSTALL: Regenerated.
26239 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26241 * sysdeps/unix/sysv/linux/configure: Regenerated.
26243 * manual/llio.texi (fclean): Remove documentation.
26245 * manual/Makefile (libc-texi-generated): New variable. Include
26247 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26248 $(libc-texi-generated), not duplicated list of files.
26249 (version.texi, stamp-version): New rules.
26250 (realclean): Remove $(libc-texi-generated), not individual files
26251 from that list. Do not remove dir-add.texinfo.
26252 * manual/libc.texinfo: Comment out uses of edition numbers and
26253 references to printed manual. Remove last-updated dates.
26254 (EDITION): Comment out.
26256 (VERSION, UPDATED): Remove.
26257 (version.texi): Include.
26259 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26261 * sysdeps/posix/spawni.c: Include <signal.h>.
26262 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26263 * sysdeps/pthread/aio_fsync.c: Likewise.
26265 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26267 * conform/Makefile (tests): Run only when not cross-compiling and
26268 when fast-check is not defined.
26270 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26271 * conform/data/limits.h-data: Fixes for POSIX2008.
26272 * conform/run-conformtest.sh: Run all tests.
26273 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26275 * include/bits/dlfcn.h: Likewise.
26276 * include/langinfo.h: Likewise.
26277 * include/monetary.h: Likewise.
26278 * include/sys/poll.h: Likewise.
26280 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26282 * posix/spawn.h: Define __need_sigset_t.
26283 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26284 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26285 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26286 to get sigevent_t only.
26287 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26288 only for __USE_GNU.
26289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26290 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26291 process_vm_writev only for __USE_GNU.
26292 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26294 * conform/Makefile: For now ignore errors from run-conformtest.
26295 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26296 POSIX to avoid namespace pollution. Don't prepend headers.
26297 * conform/data/aio.h-data: Fixes for POSIX testing.
26298 * conform/data/fcntl.h-data: Likewise.
26299 * conform/data/glob.h-data: Likewise.
26300 * conform/data/grp.h-data: Likewise.
26301 * conform/data/pthread.h-data: Likewise.
26302 * conform/data/pwd.h-data: Likewise.
26303 * conform/data/signal.h-data: Likewise.
26304 * conform/data/spawn.h-data: Likewise.
26305 * conform/data/stdio.h-data: Likewise.
26306 * conform/data/stdlib.h-data: Likewise.
26307 * conform/data/stropts.h-data: Likewise.
26308 * conform/data/sys/mman.h-data: Likewise.
26309 * conform/data/sys/stat.h-data: Likewise.
26310 * conform/data/sys/types.h-data: Likewise.
26311 * conform/data/sys/wait.h-data: Likewise.
26312 * conform/data/time.h-data: Likewise.
26313 * conform/data/unistd.h-data: Likewise.
26314 * conform/data/utime.h-data: Likewise.
26316 * io/sys/stat.h: fchmod was always in POSIX.
26317 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26318 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26319 * rt/aio.h: Define __need_timespec before including <time.h>.
26320 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26321 struct. Add forward declaration of pthread_attr_t and use it in
26323 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26324 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26325 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26326 always remove CLK_TCK definition.
26328 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26330 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26332 2012-02-25 Ulrich Drepper <drepper@gmail.com>
26334 * conform/run-conformtest.sh: New file.
26335 * conform/Makefile: Run run-conformtest for tests.
26336 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26339 * conform/data/uchar.h-data: New file.
26340 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26341 * conform/data/arpa/inet.h-data: Likewise.
26342 * conform/data/assert.h-data: Likewise.
26343 * conform/data/complex.h-data: Likewise.
26344 * conform/data/cpio.h-data: Likewise.
26345 * conform/data/ctype.h-data: Likewise.
26346 * conform/data/dirent.h-data: Likewise.
26347 * conform/data/dlfcn.h-data: Likewise.
26348 * conform/data/errno.h-data: Likewise.
26349 * conform/data/fcntl.h-data: Likewise.
26350 * conform/data/float.h-data: Likewise.
26351 * conform/data/fmtmsg.h-data: Likewise.
26352 * conform/data/fnmatch.h-data: Likewise.
26353 * conform/data/ftw.h-data: Likewise.
26354 * conform/data/glob.h-data: Likewise.
26355 * conform/data/grp.h-data: Likewise.
26356 * conform/data/iconv.h-data: Likewise.
26357 * conform/data/inttypes.h-data: Likewise.
26358 * conform/data/langinfo.h-data: Likewise.
26359 * conform/data/libgen.h-data: Likewise.
26360 * conform/data/limits.h-data: Likewise.
26361 * conform/data/locale.h-data: Likewise.
26362 * conform/data/math.h-data: Likewise.
26363 * conform/data/monetary.h-data: Likewise.
26364 * conform/data/mqueue.h-data: Likewise.
26365 * conform/data/ndbm.h-data: Likewise.
26366 * conform/data/net/if.h-data: Likewise.
26367 * conform/data/netdb.h-data: Likewise.
26368 * conform/data/netinet/in.h-data: Likewise.
26369 * conform/data/nl_types.h-data: Likewise.
26370 * conform/data/poll.h-data: Likewise.
26371 * conform/data/pthread.h-data: Likewise.
26372 * conform/data/pwd.h-data: Likewise.
26373 * conform/data/regex.h-data: Likewise.
26374 * conform/data/sched.h-data: Likewise.
26375 * conform/data/search.h-data: Likewise.
26376 * conform/data/semaphore.h-data: Likewise.
26377 * conform/data/setjmp.h-data: Likewise.
26378 * conform/data/signal.h-data: Likewise.
26379 * conform/data/spawn.h-data: Likewise.
26380 * conform/data/stdarg.h-data: Likewise.
26381 * conform/data/stdio.h-data: Likewise.
26382 * conform/data/stdlib.h-data: Likewise.
26383 * conform/data/string.h-data: Likewise.
26384 * conform/data/strings.h-data: Likewise.
26385 * conform/data/stropts.h-data: Likewise.
26386 * conform/data/sys/ipc.h-data: Likewise.
26387 * conform/data/sys/mman.h-data: Likewise.
26388 * conform/data/sys/msg.h-data: Likewise.
26389 * conform/data/sys/resource.h-data: Likewise.
26390 * conform/data/sys/select.h-data: Likewise.
26391 * conform/data/sys/sem.h-data: Likewise.
26392 * conform/data/sys/shm.h-data: Likewise.
26393 * conform/data/sys/socket.h-data: Likewise.
26394 * conform/data/sys/stat.h-data: Likewise.
26395 * conform/data/sys/statvfs.h-data: Likewise.
26396 * conform/data/sys/time.h-data: Likewise.
26397 * conform/data/sys/timeb.h-data: Likewise.
26398 * conform/data/sys/times.h-data: Likewise.
26399 * conform/data/sys/types.h-data: Likewise.
26400 * conform/data/sys/uio.h-data: Likewise.
26401 * conform/data/sys/un.h-data: Likewise.
26402 * conform/data/sys/utsname.h-data: Likewise.
26403 * conform/data/sys/wait.h-data: Likewise.
26404 * conform/data/syslog.h-data: Likewise.
26405 * conform/data/tar.h-data: Likewise.
26406 * conform/data/termios.h-data: Likewise.
26407 * conform/data/utime.h-data: Likewise.
26408 * conform/data/utmpx.h-data: Likewise.
26409 * conform/data/varargs.h-data: Likewise.
26410 * conform/data/wchar.h-data: Likewise.
26411 * conform/data/wctype.h-data: Likewise.
26412 * conform/data/wordexp.h-data: Likewise.
26414 * include/stropts.h: New file.
26415 * include/uchar.h: New file.
26416 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26417 * include/assert.h: Likewise.
26418 * include/ctype.h: Likewise.
26419 * include/dirent.h: Likewise.
26420 * include/dlfcn.h: Likewise.
26421 * include/fcntl.h: Likewise.
26422 * include/fnmatch.h: Likewise.
26423 * include/glob.h: Likewise.
26424 * include/grp.h: Likewise.
26425 * include/libio.h: Likewise.
26426 * include/locale.h: Likewise.
26427 * include/math.h: Likewise.
26428 * include/net/if.h: Likewise.
26429 * include/netdb.h: Likewise.
26430 * include/netinet/in.h: Likewise.
26431 * include/pthread.h: Likewise.
26432 * include/pwd.h: Likewise.
26433 * include/regex.h: Likewise.
26434 * include/sched.h: Likewise.
26435 * include/search.h: Likewise.
26436 * include/setjmp.h: Likewise.
26437 * include/signal.h: Likewise.
26438 * include/stdio.h: Likewise.
26439 * include/stdlib.h: Likewise.
26440 * include/string.h: Likewise.
26441 * include/sys/cdefs.h: Likewise.
26442 * include/sys/mman.h: Likewise.
26443 * include/sys/msg.h: Likewise.
26444 * include/sys/resource.h: Likewise.
26445 * include/sys/select.h: Likewise.
26446 * include/sys/socket.h: Likewise.
26447 * include/sys/stat.h: Likewise.
26448 * include/sys/statvfs.h: Likewise.
26449 * include/sys/time.h: Likewise.
26450 * include/sys/times.h: Likewise.
26451 * include/sys/uio.h: Likewise.
26452 * include/sys/utsname.h: Likewise.
26453 * include/sys/wait.h: Likewise.
26454 * include/termios.h: Likewise.
26455 * include/time.h: Likewise.
26456 * include/ulimit.h: Likewise.
26457 * include/unistd.h: Likewise.
26458 * include/utime.h: Likewise.
26459 * include/wchar.h: Likewise.
26460 * include/wctype.h: Likewise.
26461 * include/wordexp.h: Likewise.
26463 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26465 * time/time.h: TIME_UTC must be a macro.
26466 Make timespec_get available for ISO C11 only as well.
26468 2012-02-24 Ulrich Drepper <drepper@gmail.com>
26470 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26471 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26473 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26475 * configure.in: Use -o not -a in test for unsupported multi-arch.
26477 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26479 * manual/texinfo.tex: Update to version 2012-01-19.16.
26481 2012-02-24 Joseph Myers <joseph@codesourcery.com>
26483 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26485 2012-02-24 Roland McGrath <roland@hack.frob.com>
26488 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26489 * manual/fdl-1.3.texi: New file.
26490 * manual/fdl-1.1.texi: File removed.
26493 * manual/libc.texinfo (FDL_VERSION): New @set.
26494 Use it for mention of FDL in cover text.
26495 (Documentation License): Use it in @include file name.
26497 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26498 Roland McGrath <roland@hack.frob.com>
26501 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26502 not LONG_LONG_MAX and LONG_LONG_MIN.
26503 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26504 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26506 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26508 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26512 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26513 manipulate bits before adding and subtracting TWO23[sx].
26514 * math/libm-test.inc (nearbyint_test): Add more tests.
26516 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26519 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26520 bits before adding and subtracting TWO23[sx].
26521 * math/libm-test.inc (rint_test): Add more tests.
26522 (rint_test_tonearest): Likewise.
26523 (rint_test_towardzero): Likewise.
26524 (rint_test_downward): Likewise.
26525 (rint_test_upward: Likewise.
26527 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26530 * include/stdc-predef.h: New file. Extracted from features.h.
26531 * include/features.h: Include stdc-predef.h.
26532 * Makefile (headers): Add stdc-predef.h.
26533 * CONFORMANCE (Compiler limitations): Update.
26535 2012-02-22 Joseph Myers <joseph@codesourcery.com>
26537 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26539 2012-02-21 David S. Miller <davem@davemloft.net>
26541 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26542 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26544 2012-02-20 David S. Miller <davem@davemloft.net>
26546 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26547 using a normal save/restore sequence, rather than allocating a
26548 dummy stack frame just to store a frame pointer and restore.
26549 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26551 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26553 * manual/install.texi: Fix stray word in line-wrapped comment.
26555 2012-02-20 David S. Miller <davem@davemloft.net>
26557 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26558 both binutils and gcc support GOTDATA.
26560 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26561 "rd %pc" in the PIC register setup sequences.
26563 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26564 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26565 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26566 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26567 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26569 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26570 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26571 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26572 (SYSCALL_ERROR_HANDLER): Likewise.
26573 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26574 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26575 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26576 (SYSCALL_ERROR_HANDLER): Likewise.
26578 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26579 (HAVE_GCC_GOTDATA): New.
26580 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26581 relocation support in both binutils and gcc.
26582 * sysdeps/sparc/elf/configure: Regenerate.
26584 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26585 * sysdeps/sparc/sparc32/elf/configure: Delete.
26586 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26587 * sysdeps/sparc/sparc64/elf/configure: Delete.
26588 * sysdeps/sparc/elf/configure.in: New file.
26589 * sysdeps/sparc/elf/configure: Generate.
26591 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26592 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26593 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26594 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26595 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26597 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26599 * manual/install.texi: Do not mention specific glibc version
26601 * manual/libc.texinfo (VERSION, UPDATED): Update.
26602 (@copying): Use @copyright{} and range of years.
26604 2012-02-21 Joseph Myers <joseph@codesourcery.com>
26607 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26608 [crti.S not in sysdirs] (generated): Do not append.
26609 [crti.S not in sysdirs] (omit-deps): Likewise.
26610 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26611 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26612 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26613 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26614 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26616 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26617 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26618 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26619 * csu/defs.awk: Remove file.
26620 * sysdeps/generic/initfini.c: Likewise.
26621 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26623 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26626 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26628 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26629 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26630 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26631 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26632 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26633 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26635 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26636 (__EPOLL_PACKED): Define to empty if not defined by
26638 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26642 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26644 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26645 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26646 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26647 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26649 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26653 2012-02-20 Joseph Myers <joseph@codesourcery.com>
26655 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26657 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26658 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26659 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26662 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26664 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26665 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26667 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26669 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26670 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26672 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26674 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26677 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26679 * math/w_acos.c: Use non-signaling floating-point comparisons.
26680 * math/w_acosf.c: Likewise.
26681 * math/w_acosh.c: Likewise.
26682 * math/w_acoshf.c: Likewise.
26683 * math/w_acoshl.c: Likewise.
26684 * math/w_acosl.c: Likewise.
26685 * math/w_asin.c: Likewise.
26686 * math/w_asinf.c: Likewise.
26687 * math/w_asinl.c: Likewise.
26688 * math/w_atanh.c: Likewise.
26689 * math/w_atanhf.c: Likewise.
26690 * math/w_atanhl.c: Likewise.
26691 * math/w_exp2.c: Likewise.
26692 * math/w_exp2f.c: Likewise.
26693 * math/w_exp2l.c: Likewise.
26694 * math/w_j0.c: Likewise.
26695 * math/w_j0f.c: Likewise.
26696 * math/w_j0l.c: Likewise.
26697 * math/w_j1.c: Likewise.
26698 * math/w_j1f.c: Likewise.
26699 * math/w_j1l.c: Likewise.
26700 * math/w_jn.c: Likewise.
26701 * math/w_jnf.c: Likewise.
26702 * math/w_log.c: Likewise.
26703 * math/w_log10.c: Likewise.
26704 * math/w_log10f.c: Likewise.
26705 * math/w_log10l.c: Likewise.
26706 * math/w_log2.c: Likewise.
26707 * math/w_log2f.c: Likewise.
26708 * math/w_log2l.c: Likewise.
26709 * math/w_logf.c: Likewise.
26710 * math/w_logl.c: Likewise.
26711 * math/w_sqrt.c: Likewise.
26712 * math/w_sqrtf.c: Likewise.
26713 * math/w_sqrtl.c: Likewise.
26714 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26715 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26716 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26717 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26718 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26720 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26723 * manual/string.texi (strnlen): Use correct parameter name in
26724 equivalent expression.
26726 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26729 * manual/users.texi (seteuid): Consistently use neweuid for
26732 2012-02-19 Joseph Myers <joseph@codesourcery.com>
26735 * manual/nss.texi (Services in the NSS configuration): Correct
26736 list of services in example configuration file.
26738 2012-02-19 Nick Bowler <nbowler@draconx.ca>
26741 * manual/arith.texi: Remove statements about negative zero
26742 behaving identically to zero.
26744 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26747 * manual/install.texi: Do not document upgrading from libc5.
26749 2012-02-18 Joseph Myers <joseph@codesourcery.com>
26752 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26754 2012-02-18 David S. Miller <davem@davemloft.net>
26756 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26757 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26758 %o7 across the call.
26759 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26761 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26762 SETUP_PIC_REG_LEAF.
26763 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26764 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26765 * sysdeps/sparc/crtn.S: Likewise.
26767 2012-02-17 Ulrich Drepper <drepper@gmail.com>
26769 * aout/Makefile: Remove.
26771 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26774 * manual/examples/argp-ex1.c (main): Format definition in GNU
26776 * manual/examples/argp-ex2.c (main): Likewise.
26777 * manual/examples/argp-ex3.c (main): Likewise.
26778 * manual/examples/argp-ex4.c (main): Likewise.
26779 * manual/examples/longopt.c (main): Use new-style prototype
26781 * manual/examples/strncat.c (main): Specify return type and use
26782 (void) for arguments.
26783 * manual/examples/subopt.c (main): Use char **argv argument.
26785 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26788 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26791 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26794 * manual/string.texi (strchr): Change when strchrnul is
26797 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26800 * manual/locale.texi (setlocale): Document LOCPATH.
26802 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26805 * manual/process.texi (execle): Move @dots{} before last argument.
26807 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
26810 * manual/charset.texi (Generic Charset Conversion): Fix typo
26811 (LC_TYPE -> LC_CTYPE).
26813 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26816 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26817 (scalbnf): Likewise.
26818 (scalbnl): Likewise.
26819 (scalbln): Likewise.
26820 (scalblnf): Likewise.
26821 (scalblnl): Likewise.
26822 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26823 (vwarnx): Likewise.
26826 * manual/filesys.texi (telldir): Use braces around return type.
26827 * manual/llio.texi (mmap): Add space after comma.
26828 (mmap64): Likewise.
26829 * manual/math.texi (jn): Use @var{} on parameter names.
26835 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26837 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26839 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26840 (sched_get_priority_max): Likewise.
26841 * manual/signal.texi (sigvec): Add space after comma.
26842 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26844 (if_indextoname): Likewise.
26845 (if_freenameindex): Likewise.
26846 (sendto): Use ',' instead of '.' in prototype.
26847 * manual/startup.texi (syscall): Use @dots{} instead of literal
26849 * manual/stdio.texi (__fpending): Separate initial words of
26850 paragraph from @deftypefun line.
26851 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26853 (vsyslog): Use @var{} on parameter names.
26854 * manual/terminal.texi (stty): Use @var{} on parameter names.
26855 * manual/users.texi (getutmp): Use @var{} on parameter names.
26856 (getutmpx): Likewise.
26858 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26861 * manual/stdio.texi (fopen): Fix typos in description of
26864 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26867 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26868 get clock_id definition.
26870 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
26873 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26874 (madvise): Cast every argument to void on its own.
26876 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26879 * manual/startup.texi (Exit Status): Fix typo.
26881 2012-02-17 Joseph Myers <joseph@codesourcery.com>
26884 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26885 * manual/examples/argp-ex2.c: Likewise.
26886 * manual/examples/argp-ex3.c: Likewise.
26888 2012-02-16 Richard Henderson <rth@redhat.com>
26890 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26891 * sysdeps/s390/s390-32/initfini.c: Remove.
26892 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26893 * sysdeps/s390/s390-64/initfini.c: Remove.
26895 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26897 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26898 compiler output for sysdeps/generic/initfini.c.
26899 * sysdeps/sh/elf/initfini.c: Remove file.
26901 2012-02-16 David S. Miller <davem@davemloft.net>
26904 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26906 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26907 * sysdeps/sparc/crti.S: New file.
26908 * sysdeps/sparc/crtn.S: New file.
26909 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26910 * sysdeps/sparc/sparc64/Makefile: Likewise.
26912 2012-02-15 Mike Frysinger <vapier@gentoo.org>
26915 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26917 2012-02-15 Roland McGrath <roland@hack.frob.com>
26920 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26922 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26923 (write, read, close): Likewise.
26924 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26926 2012-02-15 Joseph Myers <joseph@codesourcery.com>
26928 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26929 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26930 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26931 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26933 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26937 2012-02-14 Marek Polacek <polacek@redhat.com>
26939 * sysdeps/x86_64/crti.S: New file.
26940 * sysdeps/x86_64/crtn.S: New file.
26941 * sysdeps/x86_64/elf/initfini.c: Remove file.
26943 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26945 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26946 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26947 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26948 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26950 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26954 2012-02-13 Joseph Myers <joseph@codesourcery.com>
26956 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26957 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26958 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26959 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26961 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26965 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26967 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26968 __feraiseexcept instead of feraiseexcept.
26970 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26971 nanosleep invocations.
26972 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26973 strings, and add error checking for a nanosleep invocations.
26975 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26977 Replace FSF snail mail address with URLs, as per GNU coding standards.
26978 Most of the snail mail addresses were wrong anyway, and omitting
26979 them makes the source code easier to maintain. Almost all of the
26980 changes are to license notices and to locale LC_IDENTIFICATION
26981 addresses, except for this one:
26982 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26983 not its snail mail address.
26985 2012-02-09 Richard Henderson <rth@twiddle.net>
26987 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26988 of kernel-features.h.
26990 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26992 2012-02-08 Marek Polacek <polacek@redhat.com>
26994 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26995 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26996 * sysdeps/gnu/_G_config.h: Likewise.
26997 * sysdeps/generic/_G_config.h: Likewise.
26999 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27001 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27005 * sysdeps/powerpc/powerpc32/crti.S: New file.
27006 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27007 * sysdeps/powerpc/powerpc64/crti.S: New file.
27008 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27010 * Makeconfig (have-initfini): Don't set.
27011 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27012 * configure.in (nopic_initfini): Don't substitute.
27013 * config.h.in (HAVE_INITFINI): Don't #undef.
27014 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27015 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27017 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27019 Support crti.S and crtn.S provided directly by architectures.
27020 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27021 [crti.S in sysdirs] (omit-deps): Likewise.
27022 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27023 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27024 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27025 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27026 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27027 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27028 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27029 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27030 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27031 compiler output for sysdeps/generic/initfini.c.
27032 * sysdeps/i386/elf/Makefile: Remove file.
27033 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27035 2012-02-07 Marek Polacek <polacek@redhat.com>
27037 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27038 * sysdeps/gnu/_G_config.h: Likewise.
27039 * sysdeps/mach/hurd/_G_config.h: Likewise.
27041 2012-02-07 Marek Polacek <polacek@redhat.com>
27043 * math/Makefile (tests): Add tst-CMPLX2.
27044 * math/tst-CMPLX2.c: New file.
27046 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27048 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27050 * math/libm-test.inc (jn_test): Add missing L suffix.
27052 2012-02-06 Marek Polacek <polacek@redhat.com>
27054 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27055 * sysdeps/i386/fpu/e_powf.S: Likewise.
27056 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27057 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27058 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27059 * sysdeps/i386/fpu/e_pow.S: Likewise.
27060 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27061 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27062 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27063 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27064 * sysdeps/i386/fpu/e_log2.S: Likewise.
27065 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27066 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27067 * sysdeps/i386/fpu/e_powl.S: Likewise.
27068 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27069 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27070 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27071 * sysdeps/i386/fpu/e_logl.S: Likewise.
27072 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27073 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27074 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27075 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27076 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27077 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27078 * sysdeps/i386/fpu/e_log.S: Likewise.
27079 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27080 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27081 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27082 * sysdeps/i386/fpu/e_logf.S: Likewise.
27083 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27084 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27085 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27086 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27087 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27088 * sysdeps/i386/fpu/e_log10.S: Likewise.
27089 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27090 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27091 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27092 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27093 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27094 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27095 * sysdeps/i386/asm-syntax.h: Likewise.
27096 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27097 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27098 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27099 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27100 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27101 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27102 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27103 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27104 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27105 * sysdeps/powerpc/sysdep.h: Likewise.
27106 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27107 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27109 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27112 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27114 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27116 * sysdeps/i386/sysdep.h: Include <features.h>.
27117 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27120 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27122 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27124 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27127 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27129 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27130 (SETUP_PIC_REG): Use GET_PC_THUNK.
27131 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27134 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27136 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27137 for non-PIC compilation.
27138 (SETUP_PIC_REG): Add .p2align directive.
27139 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27140 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27141 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27142 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27143 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27144 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27145 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27146 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27147 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27148 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27149 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27150 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27151 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27152 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27153 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27154 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27155 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27156 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27157 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27158 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27159 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27160 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27161 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27162 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27163 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27165 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27166 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27167 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27168 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27169 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27170 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27171 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27172 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27173 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27174 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27175 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27176 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27177 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27178 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27179 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27181 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27183 * math/tst-CMPLX.c: Include <stdio.h>.
27185 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27187 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27189 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27190 * sysdeps/sparc/bits/mathdef.h: Likewise.
27192 2012-01-31 Marek Polacek <polacek@redhat.com>
27194 * libio/libio.h: Don't define _PARAMS.
27195 * locale/programs/config.h: Don't define PARAMS.
27196 * stdlib/strtol_l.c: Likewise.
27197 (__strtol_l): Remove PARAMS from the prototype.
27199 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27201 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27202 names. Just use the correct names. Remove unnecessary wrapper
27204 * malloc/arena.c: Likewise.
27205 * malloc/hooks.c: Likewise.
27207 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27208 ARENA_TEST says not to. Simplify test for creation of a new arena.
27209 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27211 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27213 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27215 (update_get_addr): New function.
27216 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27217 GET_ADDR_MODULE parameter.
27219 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27221 * crypt/cert.c: Remove __STDC__ conditionals.
27222 * crypt/crypt-entry.c: Likewise.
27223 * crypt/crypt_util.c: Likewise.
27224 * libio/filedoalloc.c: Likewise.
27225 * libio/fileops.c: Likewise.
27226 * libio/genops.c: Likewise.
27227 * libio/iofclose.c: Likewise.
27228 * libio/iofdopen.c: Likewise.
27229 * libio/iofopen.c: Likewise.
27230 * libio/iofopen64.c: Likewise.
27231 * libio/iogetdelim.c: Likewise.
27232 * libio/iopopen.c: Likewise.
27233 * libio/obprintf.c: Likewise.
27234 * libio/oldfileops.c: Likewise.
27235 * libio/oldiofclose.c: Likewise.
27236 * libio/oldiofdopen.c: Likewise.
27237 * libio/oldiofopen.c: Likewise.
27238 * libio/oldiopopen.c: Likewise.
27239 * libio/wfiledoalloc.c: Likewise.
27240 * libio/wgenops.c: Likewise.
27241 * locale/programs/xmalloc.c: Likewise.
27242 * misc/syslog.c: Likewise.
27243 * stdio-common/xbug.c: Likewise.
27244 * string/memchr.c: Likewise.
27245 * string/memcmp.c: Likewise.
27246 * string/memrchr.c: Likewise.
27247 * string/rawmemchr.c: Likewise.
27248 * sysdeps/posix/getcwd.c: Likewise.
27249 * time/strftime_l.c: Likewise.
27251 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27253 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27254 * config.make.in (config-cflags-sse2avx): Define.
27255 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27258 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27260 * scripts/config.guess: Update from upstream config git repository.
27261 * scripts/config.sub: Likewise.
27263 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27265 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27267 (R_TILEPRO_*, R_TILEGX_*): New macros.
27269 * scripts/firstversions.awk: Fix bug in version range handling.
27271 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27273 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27275 * include/sys/epoll.h: New file.
27276 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27279 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27281 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27282 Avoid unnecessary __WORDSIZE == 64 test.
27283 (fmaxf): Use VEX format if possible.
27288 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27289 * math/math_private.h: Remove libc_fegetround* and
27291 * sysdeps/i386/configure.in: Check for -msse2avx.
27292 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27293 also if SSE2AVX is defined.
27294 Remove libc_fegetround* and libc_fesetround*.
27295 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27296 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27297 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27299 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27300 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27301 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27303 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27305 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27307 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27309 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27311 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27313 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27316 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27318 * Makeconfig (libm): Define.
27319 * elf/Makefile: Add rules to build and run tst-relsort1.
27320 * elf/tst-relsort1.c: New file.
27321 * elf/tst-relsort1mod1.c: New file.
27322 * elf/tst-relsort1mod2.c: New file.
27324 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27326 * math/s_ldexp.c: Remove __STDC__ conditionals.
27327 * math/s_ldexpf.c: Likewise.
27328 * math/s_ldexpl.c: Likewise.
27329 * math/s_nextafter.c: Likewise.
27330 * math/s_nexttowardf.c: Likewise.
27331 * math/s_significand.c: Likewise.
27332 * math/s_significandf.c: Likewise.
27333 * math/s_significandl.c: Likewise.
27334 * math/w_jnl.c: Likewise.
27335 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27336 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27337 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27338 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27339 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27340 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27341 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27342 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27343 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27344 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27345 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27346 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27347 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27348 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27349 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27350 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27351 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27352 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27354 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27355 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27356 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27357 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27358 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27359 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27360 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27361 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27362 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27363 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27364 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27365 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27366 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27367 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27368 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27369 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27370 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27371 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27372 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27373 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27374 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27375 * sysdeps/ieee754/k_standard.c: Likewise.
27376 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27377 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27378 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27379 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27380 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27381 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27382 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27384 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27385 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27386 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27387 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27388 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27389 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27390 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27391 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27392 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27393 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27394 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27395 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27396 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27397 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27398 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27399 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27400 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27401 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27402 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27403 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27405 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27406 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27407 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27408 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27409 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27411 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27412 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27413 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27414 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27415 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27416 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27417 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27418 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27419 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27420 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27421 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27422 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27423 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27424 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27425 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27426 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27427 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27428 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27429 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27430 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27431 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27432 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27433 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27434 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27435 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27436 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27437 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27438 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27439 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27440 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27441 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27442 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27443 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27444 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27445 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27446 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27447 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27448 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27449 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27450 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27451 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27452 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27453 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27454 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27455 * sysdeps/ieee754/s_matherr.c: Likewise.
27456 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27457 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27461 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27463 * crypt/md5.h: Remove __STDC__ conditionals.
27464 * libio/libioP.h: Likewise.
27465 * locale/programs/config.h: Likewise.
27466 * sysdeps/generic/sysdep.h: Likewise.
27467 * sysdeps/i386/asm-syntax.h: Likewise.
27468 * sysdeps/s390/asm-syntax.h: Likewise.
27469 * sysdeps/unix/sysdep.h: Likewise.
27470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27473 2012-01-26 Joseph Myers <joseph@codesourcery.com>
27475 * libio/libio.h: Remove __STDC__ conditionals.
27476 * malloc/obstack.h: Likewise.
27477 * math/complex.h: Likewise.
27478 * math/math.h: Likewise.
27479 * sysdeps/generic/_G_config.h: Likewise.
27480 * sysdeps/gnu/_G_config.h: Likewise.
27481 * sysdeps/mach/hurd/_G_config.h: Likewise.
27482 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27483 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27484 * sysdeps/sparc/bits/mathdef.h: Likewise.
27486 2012-01-26 Ulrich Drepper <drepper@gmail.com>
27489 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
27490 Clean up HAS_* macros.
27491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
27492 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27494 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27496 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27497 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27498 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27499 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27500 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27502 2012-01-25 Joseph Myers <joseph@codesourcery.com>
27504 * elf/tst-unique3.cc (gets): Remove declaration.
27505 * elf/tst-unique3lib.cc (gets): Likewise.
27506 * elf/tst-unique3lib2.cc (gets): Likewise.
27507 * elf/tst-unique4.cc (gets): Likewise.
27509 2012-01-24 Ulrich Drepper <drepper@gmail.com>
27511 * include/stdio.h: Add C++ protection. Add gets declarations and
27513 * debug/tst-chk1.c: Don't declare gets here.
27514 * stdio-common/tst-gets.c: Likewise.
27516 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27518 * posix/glob: Remove directory.
27520 2012-01-24 Joseph Myers <joseph@codesourcery.com>
27522 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27524 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27526 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27527 of the non-standard EPFNOSUPPORT.
27529 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27531 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27532 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27533 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27535 2012-01-21 Ulrich Drepper <drepper@gmail.com>
27537 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27539 2012-01-20 Ulrich Drepper <drepper@gmail.com>
27541 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27543 * nscd/grpcache.c (cache_addgr): Likewise.
27544 * nscd/hstcache.c (cache_addhst): Likewise.
27545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27546 * nscd/pwdcache.c (cache_addpw): Likewise.
27547 * nscd/servicescache.c (cache_addserv): Likewise.
27549 2012-01-16 Ulrich Drepper <drepper@gmail.com>
27551 * malloc/malloc.c: Various cleanups.
27552 * malloc/hooks.c: Likewise.
27554 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27555 * stdlib/bug-fmtmsg1.c: New file.
27557 * stdlib/fmtmsg.c (init): Add missing unlock.
27558 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27560 2012-01-12 Marek Polacek <polacek@redhat.com>
27562 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27565 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27567 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27568 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27569 macro to ensure uniqueness of label name.
27570 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27571 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27573 2012-01-11 Ulrich Drepper <drepper@gmail.com>
27575 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27577 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27578 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27579 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27582 2012-01-10 Ulrich Drepper <drepper@gmail.com>
27584 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27586 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27587 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27588 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27590 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27592 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
27593 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27594 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27595 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
27597 * math/bits/math-finite.h: Add ldexp support.
27599 2012-01-10 Marek Polacek <polacek@redhat.com>
27601 * locale/programs/localedef.h (show_archive_content): Add noreturn
27604 2012-01-09 Ulrich Drepper <drepper@gmail.com>
27606 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27608 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27610 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27612 * io/Makefile (headers): Add bits/poll2.h.
27614 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27617 typo #include statement.
27619 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27621 * include/sys/cdefs.h: Define __attribute_alloc_size.
27622 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27623 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27624 * elf/pldd.c: Likewise.
27625 * iconv/iconv_charmap.c: Likewise.
27626 * iconv/iconvconfig.c: Likewise.
27627 * iconv/strtab.c: Likewise.
27628 * locale/programs/locale.c: Likewise.
27629 * locale/programs/localedef.h: Likewise.
27630 * locale/programs/simple-hash.c: Likewise.
27631 * nscd/nscd.h: Likewise.
27632 * nss/makedb.c: Likewise.
27633 * sysdeps/generic/ldconfig.h: Likewise.
27634 * locale/programs/localedef.c: Remove xmalloc prototype.
27635 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27637 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27639 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27642 2012-01-08 Ulrich Drepper <drepper@gmail.com>
27644 * math/Makefile (tests): Add tst-CMPLX.
27645 * math/tst-CMPLX.c: New file.
27647 * math/complex.h (CMPLXL): Fix typo.
27649 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27650 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27652 * debug/tst-chk1.c: Add poll and ppoll tests.
27653 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27654 * include/sys/poll.h: Add hidden proto for ppoll.
27655 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27656 * sysdeps/mach/hurd/ppoll.c: Likewise.
27657 * io/ppoll.c: Likewise.
27658 * debug/poll_chk.c: New file.
27659 * debug/ppoll_chk.c: New file.
27660 * include/bits/poll2.h: New file.
27661 * io/bits/poll2.h: New file.
27664 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27666 * configure.in: static is always set to yes. Remove.
27667 * config.make.in: Don't set build-static.
27668 * Makeconfig: Remove use of build-static.
27669 * dlfcn/Makefile: Likewise.
27670 * elf/Makefile: Likewise.
27671 * math/Makefile: Likewise.
27672 * misc/Makefile: Likewise.
27673 * nptl/Makefile: Likewise.
27674 * sysdeps/mach/hurd/Makefile: Likewise.
27676 * configure.in: PWD_P is not used anymore.
27677 * config.make.in: Remove PWD_P entry.
27679 * configure.in: Remove last remnants of RANLIB.
27680 No need to check for signed size_t anymore.
27681 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27683 Remove __builtin_expect test because we require at least gcc 3.4.
27684 * aclocal.m4: Likewise.
27686 * wcsmbs/mbrtoc16.c: Implement using towc function.
27687 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27688 * wcsmbs/wcsmbsload.c: Likewise.
27689 * iconv/gconv_simple.c: Likewise.
27690 * iconv/gconv_int.h: Likewise.
27691 * iconv/gconv_builtin.h: Likewise.
27692 * iconv/iconv_prog.c: Remove CHAR16 handling.
27694 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27696 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27698 * configure.in: Remove --with-elf and --enable-bounded options.
27699 Dont set base_machine for ia64. More non-ELF conditions removed.
27700 Remove testing and setting of leading underscore information.
27701 * config.make.in (build-bounded): Set to no.
27702 * config.h.in: Remove NO_UNDERSCORES entry.
27703 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27705 * csu/start.c: Remove !NO_UNDERSCORE code.
27706 * locale/localeinfo.h: Likewise.
27707 * sysdeps/generic/machine-gmon.h: Likewise.
27708 * sysdeps/generic/sysdep.h: Likewise.
27709 * sysdeps/i386/sysdep.h: Likewise.
27710 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27711 * sysdeps/mach/sysdep.h: Likewise.
27712 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27713 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27714 * sysdeps/sh/sysdep.h: Likewise.
27715 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27716 * sysdeps/unix/i386/sysdep.S: Likewise.
27717 * sysdeps/unix/sparc/start.c: Likewise.
27718 * sysdeps/unix/sparc/sysdep.S: Likewise.
27719 * sysdeps/unix/sparc/sysdep.h: Likewise.
27720 * sysdeps/unix/start.c: Likewise.
27721 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27722 * sysdeps/x86_64/sysdep.h: Likewise.
27724 2012-01-07 Ulrich Drepper <drepper@gmail.com>
27727 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27729 * argp/argp-fmtstream.h: Use const instead __const.
27730 * argp/argp.h: Likewise.
27731 * assert/assert.h: Likewise.
27732 * bits/fenv.h: Likewise.
27733 * bits/sched.h: Likewise.
27734 * bits/sigset.h: Likewise.
27735 * bits/sigthread.h: Likewise.
27736 * catgets/nl_types.h: Likewise.
27737 * conform/data/pthread.h-data: Likewise.
27738 * crypt/crypt-private.h: Likewise.
27739 * crypt/crypt.h: Likewise.
27740 * crypt/crypt_util.c: Likewise.
27741 * ctype/ctype.h: Likewise.
27742 * debug/execinfo.h: Likewise.
27743 * debug/mbsnrtowcs_chk.c: Likewise.
27744 * debug/mbsrtowcs_chk.c: Likewise.
27745 * debug/wcsnrtombs_chk.c: Likewise.
27746 * debug/wcsrtombs_chk.c: Likewise.
27747 * debug/wcstombs_chk.c: Likewise.
27748 * dirent/dirent.h: Likewise.
27749 * dlfcn/dlfcn.h: Likewise.
27750 * elf/neededtest4.c: Likewise.
27751 * grp/grp.h: Likewise.
27752 * gshadow/gshadow.h: Likewise.
27753 * iconv/gconv.h: Likewise.
27754 * iconv/gconv_int.h: Likewise.
27755 * iconv/gconv_simple.c: Likewise.
27756 * iconv/iconv.h: Likewise.
27757 * iconv/loop.c: Likewise.
27758 * iconv/skeleton.c: Likewise.
27759 * include/aio.h: Likewise.
27760 * include/aliases.h: Likewise.
27761 * include/argz.h: Likewise.
27762 * include/arpa/inet.h: Likewise.
27763 * include/assert.h: Likewise.
27764 * include/dirent.h: Likewise.
27765 * include/dlfcn.h: Likewise.
27766 * include/execinfo.h: Likewise.
27767 * include/fcntl.h: Likewise.
27768 * include/fenv.h: Likewise.
27769 * include/glob.h: Likewise.
27770 * include/grp.h: Likewise.
27771 * include/libintl.h: Likewise.
27772 * include/mntent.h: Likewise.
27773 * include/netdb.h: Likewise.
27774 * include/pwd.h: Likewise.
27775 * include/rpc/netdb.h: Likewise.
27776 * include/sched.h: Likewise.
27777 * include/search.h: Likewise.
27778 * include/shadow.h: Likewise.
27779 * include/signal.h: Likewise.
27780 * include/stdio.h: Likewise.
27781 * include/stdlib.h: Likewise.
27782 * include/string.h: Likewise.
27783 * include/sys/socket.h: Likewise.
27784 * include/sys/stat.h: Likewise.
27785 * include/sys/statfs.h: Likewise.
27786 * include/sys/statvfs.h: Likewise.
27787 * include/sys/syslog.h: Likewise.
27788 * include/sys/time.h: Likewise.
27789 * include/sys/uio.h: Likewise.
27790 * include/time.h: Likewise.
27791 * include/unistd.h: Likewise.
27792 * include/utmp.h: Likewise.
27793 * include/wchar.h: Likewise.
27794 * include/wctype.h: Likewise.
27795 * inet/aliases.h: Likewise.
27796 * inet/arpa/inet.h: Likewise.
27797 * inet/netinet/ether.h: Likewise.
27798 * inet/netinet/in.h: Likewise.
27799 * intl/libintl.h: Likewise.
27800 * io/bits/fcntl2.h: Likewise.
27801 * io/fcntl.h: Likewise.
27802 * io/ftw.h: Likewise.
27803 * io/sys/poll.h: Likewise.
27804 * io/sys/stat.h: Likewise.
27805 * io/sys/statfs.h: Likewise.
27806 * io/sys/statvfs.h: Likewise.
27807 * io/utime.h: Likewise.
27808 * libio/bits/stdio.h: Likewise.
27809 * libio/bits/stdio2.h: Likewise.
27810 * libio/libio.h: Likewise.
27811 * libio/libioP.h: Likewise.
27812 * libio/stdio.h: Likewise.
27813 * locale/lc-ctype.c: Likewise.
27814 * locale/locale.h: Likewise.
27815 * login/utmp.h: Likewise.
27816 * malloc/arena.c: Likewise.
27817 * malloc/malloc.c: Likewise.
27818 * malloc/malloc.h: Likewise.
27819 * malloc/mcheck.c: Likewise.
27820 * malloc/mtrace.c: Likewise.
27821 * math/bits/mathcalls.h: Likewise.
27822 * math/fenv.h: Likewise.
27823 * math/math_private.h: Likewise.
27824 * misc/bits/error.h: Likewise.
27825 * misc/bits/syslog.h: Likewise.
27826 * misc/err.h: Likewise.
27827 * misc/error.h: Likewise.
27828 * misc/fstab.h: Likewise.
27829 * misc/mntent.h: Likewise.
27830 * misc/regexp.h: Likewise.
27831 * misc/search.h: Likewise.
27832 * misc/sgtty.h: Likewise.
27833 * misc/sys/mman.h: Likewise.
27834 * misc/sys/syslog.h: Likewise.
27835 * misc/sys/uio.h: Likewise.
27836 * misc/sys/xattr.h: Likewise.
27837 * misc/ttyent.h: Likewise.
27838 * nis/rpcsvc/ypclnt.h: Likewise.
27839 * nss/nss.h: Likewise.
27840 * posix/bits/unistd.h: Likewise.
27841 * posix/fnmatch.h: Likewise.
27842 * posix/glob.h: Likewise.
27843 * posix/sched.h: Likewise.
27844 * posix/spawn.h: Likewise.
27845 * posix/sys/wait.h: Likewise.
27846 * posix/unistd.h: Likewise.
27847 * posix/wordexp.h: Likewise.
27848 * pwd/pwd.h: Likewise.
27849 * resolv/netdb.h: Likewise.
27850 * resource/sys/resource.h: Likewise.
27851 * rt/aio.h: Likewise.
27852 * rt/bits/mqueue2.h: Likewise.
27853 * rt/mqueue.h: Likewise.
27854 * shadow/shadow.h: Likewise.
27855 * signal/signal.h: Likewise.
27856 * socket/send.c: Likewise.
27857 * socket/sendto.c: Likewise.
27858 * socket/sys/socket.h: Likewise.
27859 * stdio-common/printf.h: Likewise.
27860 * stdlib/bits/stdlib.h: Likewise.
27861 * stdlib/fmtmsg.h: Likewise.
27862 * stdlib/monetary.h: Likewise.
27863 * stdlib/stdlib.h: Likewise.
27864 * stdlib/ucontext.h: Likewise.
27865 * streams/stropts.h: Likewise.
27866 * string/argz.h: Likewise.
27867 * string/bits/string2.h: Likewise.
27868 * string/string.h: Likewise.
27869 * string/strings.h: Likewise.
27870 * sunrpc/rpc/auth.h: Likewise.
27871 * sunrpc/rpc/auth_des.h: Likewise.
27872 * sunrpc/rpc/clnt.h: Likewise.
27873 * sunrpc/rpc/netdb.h: Likewise.
27874 * sunrpc/rpc/pmap_clnt.h: Likewise.
27875 * sunrpc/rpc/xdr.h: Likewise.
27876 * sysdeps/generic/inttypes.h: Likewise.
27877 * sysdeps/generic/net/if.h: Likewise.
27878 * sysdeps/generic/sys/swap.h: Likewise.
27879 * sysdeps/gnu/net/if.h: Likewise.
27880 * sysdeps/gnu/utmpx.h: Likewise.
27881 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27882 * sysdeps/i386/i486/bits/string.h: Likewise.
27883 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27884 * sysdeps/s390/bits/string.h: Likewise.
27885 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27886 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27887 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27888 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27889 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27890 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27891 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27892 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27893 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27894 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27895 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27896 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27897 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27898 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27899 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27900 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27901 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27902 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27903 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27904 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27905 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27906 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27907 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27908 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27909 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27910 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27911 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27912 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27913 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27914 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27915 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27916 * sysvipc/sys/ipc.h: Likewise.
27917 * sysvipc/sys/msg.h: Likewise.
27918 * sysvipc/sys/sem.h: Likewise.
27919 * sysvipc/sys/shm.h: Likewise.
27920 * termios/termios.h: Likewise.
27921 * time/sys/time.h: Likewise.
27922 * time/time.h: Likewise.
27923 * wcsmbs/bits/wchar2.h: Likewise.
27924 * wcsmbs/uchar.h: Likewise.
27925 * wcsmbs/wchar.h: Likewise.
27926 * wctype/wctype.h: Likewise.
27929 * Makeconfig: Remove all but ELF support including AIX support.
27930 * Makerules: Likewise.
27931 * config.h.in: Likewise.
27932 * config.make.in: Likewise.
27933 * configure: Likewise.
27934 * configure.in: Likewise.
27935 * csu/Makefile: Likewise.
27936 * csu/version.c: Likewise.
27937 * debug/Makefile: Likewise.
27938 * dlfcn/Makefile: Likewise.
27939 * elf/Makefile: Likewise.
27940 * extra-lib.mk: Likewise.
27941 * iconv/Makefile: Likewise.
27942 * include/libc-symbols.h: Likewise.
27943 * include/shlib-compat.h: Likewise.
27944 * resolv/Makefile: Likewise.
27945 * resolv/res_libc.c: Likewise.
27946 * rt/Makefile: Likewise.
27947 * sysdeps/i386/asm-syntax.h: Likewise.
27948 * sysdeps/i386/sysdep.h: Likewise.
27949 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27950 * sysdeps/mach/sysdep.h: Likewise.
27951 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27952 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27953 * sysdeps/s390/asm-syntax.h: Likewise.
27954 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27955 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27956 * sysdeps/sh/sysdep.h: Likewise.
27957 * sysdeps/unix/sparc/sysdep.h: Likewise.
27958 * sysdeps/wordsize-32/divdi3.c: Likewise.
27959 * sysdeps/x86_64/sysdep.h: Likewise.
27961 * argp/Versions: Remove _argp_unlock_xxx.
27964 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27965 * abilist/libBrokenLocale.abilist: Likewise.
27966 * abilist/libanl.abilist: Likewise.
27967 * abilist/libc.abilist: Likewise.
27968 * abilist/libcrypt.abilist: Likewise.
27969 * abilist/libdl.abilist: Likewise.
27970 * abilist/libm.abilist: Likewise.
27971 * abilist/libnsl.abilist: Likewise.
27972 * abilist/libpthread.abilist: Likewise.
27973 * abilist/libresolv.abilist: Likewise.
27974 * abilist/librt.abilist: Likewise.
27975 * abilist/libthread_db.abilist: Likewise.
27976 * abilist/libutil.abilist: Likewise.
27977 * abilist/libnss_db.abilist: New file.
27979 * scripts/abilist.awk: Add support for indirect functions.
27981 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27983 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27985 * shlib-versions: Remove entries for ports architectures.
27987 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27989 * elf/stackguard-macros.h: Remove support for IA-64.
27990 * elf/tst-auditmod1.c: Likewise.
27991 * sysdeps/generic/ldsodefs.h: Likewise.
27993 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27994 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27998 * configure.in: Remove --enable-omitfp support.
28000 * config.make.in: Likewise.
28001 * Makeconfig: Likewise.
28002 * manual/install.texi: Likewise.
28004 In case anyone cares, the IA-64 architecture could move to ports.
28005 * sysdeps/ia64/*: Removed.
28006 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28007 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28010 * configure.in: Remove entries for unsupported architectures.
28013 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28014 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28016 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28017 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28018 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28019 fall back to using wcrtomb.
28020 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28021 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28023 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28024 * wcsmbs/tst-c16c32-1.c: New file.
28026 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28029 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28031 * elf/tst-unique3.cc: Add explicit declaration of gets.
28032 * elf/tst-unique3lib.cc: Likewise.
28033 * elf/tst-unique3lib2.cc: Likewise.
28034 * elf/tst-unique4.cc: Likewise.
28036 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28038 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28041 * assert/assert.h (static_assert): Don't define for C++.
28042 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28043 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28045 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28047 * iconv/loop.c (single loop): Fix assertion in storing of
28050 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28052 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28054 * posix/getconf.c: Update copyright year.
28055 * nss/getent.c: Likewise.
28056 * nss/makedb.c: Likewise.
28057 * iconv/iconvconfig.c: Likewise.
28058 * iconv/iconv_prog.c: Likewise.
28059 * elf/ldconfig.c: Likewise.
28060 * elf/pldd.c: Likewise.
28061 * elf/sotruss.ksh: Likewise.
28062 * catgets/gencat.c: Likewise.
28063 * csu/version.c: Likewise.
28064 * elf/ldd.bash.in: Likewise.
28065 * elf/sprof.c (print_version): Likewise.
28066 * locale/programs/locale.c: Likewise.
28067 * locale/programs/localedef.c: Likewise.
28068 * login/programs/pt_chown.c: Likewise.
28069 * nscd/nscd.c (print_version): Likewise.
28070 * debug/xtrace.sh: Likewise.
28071 * malloc/memusage.sh: Likewise.
28072 * malloc/mtrace.pl: Likewise.
28073 * debug/catchsegv.sh: Likewise.
28075 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28077 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28080 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28083 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28084 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28086 * iconv/gconv_int.h: Likewise.
28087 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28088 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28089 from libc for GLIBC_2.16.
28090 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28091 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28092 * wcsmbs/uchar.h: Really define mbstate_t.
28093 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28094 * wcsmbs/c16rtomb.c: New file.
28095 * wcsmbs/mbrtoc16.c: New file.
28096 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28097 for C/POSIX locale.
28098 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28099 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28101 * wcsmbs/wchar.h: Add missing __restrict.
28103 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28106 * time/Makefile (routines): Add timespec_get.
28107 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28108 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28109 timespec for ISO C11.
28110 * time/timespec_get.c: New file.
28111 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28112 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28115 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28116 * stdlib/stdlib.h: Declare aligned_alloc.
28117 * Versions.def: Add GLIBC_2.16 for libc.
28118 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28121 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28124 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28128 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28131 * assert/assert.h (static_assert): Define.
28133 * version.h: Update for 2.16 development version.
28136 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28139 * version.h (RELEASE): Bump for 2.15 release.
28140 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28142 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28143 Patch by Marek Polacek <mpolacek@redhat.com>.
28145 * bits/byteswap.h: Protect long long constants with __extension__.
28146 * sysdeps/i386/bits/byteswap.h: Likewise.
28147 * sysdeps/ia64/bits/byteswap.h: Likewise.
28148 * sysdeps/s390/bits/byteswap.h: Likewise.
28149 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28151 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28154 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28155 destination buffer.
28156 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28158 2011-12-23 Marek Polacek <polacek@redhat.com>
28160 * elf/dl-addr.c (determine_info): Add inline keyword.
28161 * elf/tst-auditmod4b.c (check_avx): Likewise.
28162 * elf/tst-auditmod6b.c (check_avx): Likewise.
28163 * elf/tst-auditmod6c.c (check_avx): Likewise.
28164 * elf/tst-auditmod7b.c (check_avx): Likewise.
28166 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28168 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28171 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28174 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28175 processing for last bytes.
28177 2011-08-06 Bruno Haible <bruno@clisp.org>
28180 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28181 U+0385, not to U+1FEE.
28184 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28185 entry for U+00A5 U+0301.
28187 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28190 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28191 buffer for the output is too small.
28193 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28197 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28198 SSE flags if possible.
28200 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28203 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28204 processing for last bytes.
28206 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28208 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28209 (syscall-list-default-options, syscall-list-default-condition)
28210 (syscall-list-includes): Define.
28211 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28212 list of ABIs and options and #if conditions for each ABI. Do not
28213 handle common syscalls between ABIs specially.
28214 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28216 (syscall-list-variants, syscall-list-32bit-options)
28217 (syscall-list-32bit-condition, syscall-list-64bit-options)
28218 (syscall-list-64bit-condition): Define.
28219 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28220 (syscall-list-variants, syscall-list-32bit-options)
28221 (syscall-list-32bit-condition, syscall-list-64bit-options)
28222 (syscall-list-64bit-condition): Define.
28223 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28225 (syscall-list-variants, syscall-list-32bit-options)
28226 (syscall-list-32bit-condition, syscall-list-64bit-options)
28227 (syscall-list-64bit-condition): Define.
28228 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28230 (syscall-list-variants, syscall-list-32bit-options)
28231 (syscall-list-32bit-condition, syscall-list-64bit-options)
28232 (syscall-list-64bit-condition): Define.
28234 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28236 * locale/iso-639.def: Add brx entry.
28239 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28240 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28242 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28243 __feraiseexcept_renamed.
28245 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28248 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28249 EPOLLET with unsigned values.
28250 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28251 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28253 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28254 to large cancellation.
28255 * math/s_cacoshf.c: Likewise.
28256 * math/s_cacoshl.c: Likewise.
28258 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28262 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28263 * math/s_cacoshf.c: Likewise.
28264 * math/s_cacoshl.c: Likewise.
28266 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28269 * iconv/gconv.h: Define __GCONV_SWAP.
28270 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28271 * iconvdata/utf-16.c: Likewise.
28272 * iconvdata/utf-32.c: Likewise.
28274 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28277 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28278 numerator after shifting it by one limb.
28280 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28282 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28283 under [__USE_EXTERN_INLINES].
28285 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28288 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28290 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28292 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28293 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28295 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28296 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28297 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28298 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28299 for strncasecmp/strncasecmp_l compilation.
28300 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28301 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28303 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28306 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28309 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28312 * time/tzfile.c (__tzfile_read): Check values from file header.
28314 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28316 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28317 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28318 * powerpc/powerpc32/dl-start.S: Likewise.
28319 * powerpc/powerpc32/elf/start.S: Likewise.
28320 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28321 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28322 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28323 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28324 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28325 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28326 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28327 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28328 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28329 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28330 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28331 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28332 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28333 * powerpc/powerpc32/memset.S: Likewise.
28334 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28335 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28336 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28337 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28338 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28339 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28340 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28341 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28342 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28343 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28344 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28345 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28346 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28348 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28350 * math/libm-test.inc: Added more nearbyint tests.
28351 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28352 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28353 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28354 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28356 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28358 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28361 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28363 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28364 Add wcscpy-ssse3 wcscpy-c.
28365 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28366 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28367 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28368 * sysdeps/x86_64/wcschr.S: New file.
28369 * sysdeps/x86_64/wcsrchr.S: New file.
28370 * string/test-strcmp.c: Remove checking of wcscmp function for
28372 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28373 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28374 wcsrchr-sse2 wcsrchr-c.
28375 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28376 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28377 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28378 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28379 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28380 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28381 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28382 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28383 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28384 * wcsmbc/wcschr.c (WCSCHR): New macro.
28386 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28388 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28389 * wcsmbs/test-wcsrchr.c: New file.
28390 * string/test-strrchr.c: Add wcsrchr support.
28392 * wcsmbs/test-wcscpy.c: New file.
28393 * string/test-strcpy.c: Add wcscpy support.
28396 2011-12-10 Ulrich Drepper <drepper@gmail.com>
28398 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28401 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28404 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28406 2011-12-04 Ulrich Drepper <drepper@gmail.com>
28408 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
28409 Minor optimizations.
28411 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28412 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28413 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28415 2011-12-03 Ulrich Drepper <drepper@gmail.com>
28417 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28418 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28419 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28420 for gcc to avoid warnings.
28421 * inet/Makefile (tests): Add tst-checks.
28422 * inet/tst-checks.c: New file.
28424 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28427 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28430 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28431 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28433 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28435 2011-12-02 Ulrich Drepper <drepper@gmail.com>
28437 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28440 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28442 2011-11-29 Joseph Myers <joseph@codesourcery.com>
28444 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28445 conditional on GCC version.
28446 (__arch_compare_and_exchange_val_8_acq)
28447 (__arch_compare_and_exchange_val_16_acq)
28448 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28449 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28450 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28452 2011-12-02 Joseph Myers <joseph@codesourcery.com>
28454 * sysdeps/sh/backtrace.c: New file.
28456 2011-12-02 Andreas Schwab <schwab@redhat.com>
28458 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28461 2011-12-01 Andreas Schwab <schwab@redhat.com>
28463 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28464 falling back to utime.
28466 2011-11-30 Andreas Schwab <schwab@redhat.com>
28468 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28469 expectations for float.
28471 2011-11-29 Andreas Schwab <schwab@redhat.com>
28473 * locale/weight.h (findidx): Add parameter len.
28474 * locale/weightwc.h (findidx): Likewise.
28475 * posix/fnmatch_loop.c (FCT): Adjust caller.
28476 * posix/regcomp.c (build_equiv_class): Likewise.
28477 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28478 * posix/regexec.c (check_node_accept_bytes): Likewise.
28479 * string/strcoll_l.c (STRCOLL): Likewise.
28480 * string/strxfrm_l.c (STRXFRM): Likewise.
28482 2011-11-17 Ulrich Drepper <drepper@gmail.com>
28484 * Makefile.in: Remove CVSOPT handling.
28485 * configure.in: Remove use of AC_REVISION.
28486 * iconvdata/Makefile (distribute): No need to filter out CVS.
28487 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28490 2011-11-16 Andreas Schwab <schwab@redhat.com>
28492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28493 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28494 [USE_AS_STRNCASECMP_L]: Likewise.
28495 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28496 NO_TLS_DIRECT_SEG_REFS.
28497 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28498 Fix argument offsets for non-PIC.
28499 [USE_AS_STRNCASECMP_L]: Likewise.
28500 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28501 NO_TLS_DIRECT_SEG_REFS.
28503 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28505 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
28507 * locale/loadlocale.c (_nl_load_locale): Likewise.
28509 2011-11-15 Andreas Schwab <schwab@redhat.com>
28511 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28512 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28513 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28514 (SYSCALL_GETTIME): Set errno on error.
28516 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28517 count references to noai6ai_cached.
28519 2011-11-15 Ulrich Drepper <drepper@gmail.com>
28521 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28523 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28524 FD_CLOEXEC for /proc/self/maps.
28526 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28527 FD_CLOEXEC for /proc/meminfo.
28529 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28532 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28533 FD_CLOEXEC for given file.
28535 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28537 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28538 FD_CLOEXEC for /etc/hosts.
28539 (_gethtent): Likewise.
28541 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28543 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28544 cancellation and set FD_CLOEXEC for /etc/netgroup.
28546 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28547 reading /etc/publickey.
28549 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28550 allow cancellation when reading /etc/group.
28552 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28554 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28556 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28557 when using data file.
28559 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28561 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28562 (write_nis_obj): Use "c" and "e" in fopen.
28564 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28566 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28568 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28570 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28572 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28575 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28577 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28579 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28581 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28582 file parsing and set FD_CLOEXEC.
28584 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28586 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28588 2011-11-14 Andreas Schwab <schwab@redhat.com>
28590 * malloc/arena.c (arena_get2): Don't call reused_arena when
28591 _int_new_arena failed.
28593 2011-11-14 Ulrich Drepper <drepper@gmail.com>
28595 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28596 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28597 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28598 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28599 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28600 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28601 to compile strcasecmp and strncasecmp.
28602 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28603 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28605 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28607 2011-11-13 Ulrich Drepper <drepper@gmail.com>
28609 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28610 locale-defines.sym to gen-as-const-headers.
28611 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28612 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28614 to compile strcasecmp and strncasecmp.
28615 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28616 strcasecmp_l and strncasecmp_l.
28617 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28618 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28619 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28620 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28621 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28622 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28623 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28624 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28625 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28626 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28627 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28629 2011-11-12 Ulrich Drepper <drepper@gmail.com>
28631 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28632 result of SYSDEP_GETTIME_CPU to retval.
28633 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28634 parameter list to macro. Remove trailing semicolon. Adjust users.
28636 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28639 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28641 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28643 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28644 from unused variable.
28646 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28648 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28651 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28654 * sunrpc/rpc_prot.c (rejected): Fix case value.
28656 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28657 unsigned long long int to avoid warnings in shift.
28659 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28661 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28664 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28665 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28666 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28668 * nis/nis_table.c (nis_list): Use variable of correct type for
28669 result of __follow_path call.
28671 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28673 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28674 of math functions ceil, trunc, floor, round, and sqrt, when
28675 avaliable on the platform.
28676 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28678 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28679 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28680 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28682 2011-10-30 Marek Polacek <mpolacek@redhat.com>
28684 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28685 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28687 2011-11-11 Roland McGrath <roland@hack.frob.com>
28689 * include/unistd.h: Fix __readlink return type.
28690 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28692 2011-11-11 Ulrich Drepper <drepper@gmail.com>
28694 * stdlib/ucontext.h: Undo last change for makecontext.
28696 2011-11-11 Andreas Schwab <schwab@redhat.com>
28698 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28700 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28701 * setjmp/setjmp.h: Mark functions as non-leaf.
28702 * setjmp/bits/setjmp2.h: Likewise.
28703 * stdlib/ucontext.h: Likewise.
28705 2011-11-10 Andreas Schwab <schwab@redhat.com>
28707 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28708 (reused_arena): Don't check arena limit.
28709 (arena_get2): Atomically check arena limit.
28711 2011-11-08 Ulrich Drepper <drepper@gmail.com>
28713 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28714 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28716 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28719 2011-11-07 Andreas Schwab <schwab@redhat.com>
28721 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28722 handler when locking.
28724 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28725 Fix size of allocated buffer.
28727 2011-11-04 Andreas Schwab <schwab@redhat.com>
28730 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28731 declarations for long double functions.
28732 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28734 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28736 2011-11-03 Andreas Schwab <schwab@redhat.com>
28738 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28741 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28744 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28746 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28748 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28750 * include/alloca.h (stackinfo_alloca_round): Define.
28751 (extend_alloca): Use it.
28752 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28753 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28756 * scripts/check-local-headers.sh: Ignore libaudit.h.
28758 * nscd/Makefile (extra-objs): Make recursively expanded.
28760 2011-11-01 Ulrich Drepper <drepper@gmail.com>
28762 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28763 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28765 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28766 * posix/tst-rfc3484-2.c: Likewise.
28767 * posix/tst-rfc3484-3.c: Likewise.
28769 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28771 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28773 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28774 process_vm_writev from libc using GLIBC_2.15 version.
28776 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28778 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28780 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28783 2011-10-31 Ulrich Drepper <drepper@gmail.com>
28786 * nss/getent.c (initgroups_keys): Show error message in case no group
28789 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28790 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28791 __bump_nl_timestamp.
28792 * nscd/connections (nscd_init): When host database is served open
28793 netlink socket and request notification about configuration changes.
28794 (main_loop_poll): Track netlink file descriptor and bump timestamp
28795 in case data becomes available.
28796 (main_loop_epoll): Likewise.
28797 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28798 (database_pers_head): Add extra_data fileds.
28799 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28800 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28801 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28803 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28804 in6ai data, call __free_in6ai.
28805 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28806 Add -DHAVE_NETLINK.
28807 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28808 interface information. Reuse previous data if netlink timestamp
28810 (__bump_nl_timestamp): New function.
28811 (__free_in6ai): New function.
28813 2011-10-30 Ulrich Drepper <drepper@gmail.com>
28815 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28816 close_not_cancel_no_status here.
28817 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28819 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28822 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28825 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
28826 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28827 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28829 2011-07-03 Andreas Jaeger <aj@suse.de>
28832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28833 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28834 * math/libm-test.inc (sin_test): Add test case.
28836 2011-10-29 Ulrich Drepper <drepper@gmail.com>
28839 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28840 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28842 * elf/chroot_canon.c (chroot_canon): Cleanups.
28844 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28847 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28848 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28850 * string/test-strchr.c: Make usable for strchrnul testing.
28851 * string/test-strchrnul.c: New file.
28852 * string/Makefile (strop-tests): Add strchrnul.
28854 * po/it.po: Update from translation team.
28855 * po/es.po: Likewise.
28857 2011-10-28 Ulrich Drepper <drepper@gmail.com>
28859 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28860 the three constants needed as parameters. Drop the others.
28861 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28862 __m128i_strloadu_tolower.
28863 Create and initialize variable zero and use it in all the places
28864 where _mm_setzero_si128 was used.
28866 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28867 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28868 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28869 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28871 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28872 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28873 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28874 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28875 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28876 __mpranred, __mptan.
28877 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28878 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28879 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28880 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28881 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28882 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28883 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28884 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28885 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28887 2011-10-28 Andreas Schwab <schwab@redhat.com>
28889 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28890 redefine if SHARED.
28891 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28894 wide char related routines to wcsmbs subdir.
28896 2011-10-27 Andreas Schwab <schwab@redhat.com>
28899 * misc/sys/cdefs.h (__THROWNL): Define.
28900 * posix/unistd.h: Use __THREADNL instead of __THREAD
28901 for memory synchronization functions.
28903 2011-10-26 Roland McGrath <roland@hack.frob.com>
28906 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28908 * manual/stdio.texi (Obstack Streams): Node removed.
28910 2011-10-26 Andreas Schwab <schwab@redhat.com>
28912 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28913 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28914 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28916 * math/math_private.h (math_force_eval): Allow non-addressable
28918 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28920 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28922 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28923 file is not needed.
28925 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28926 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28927 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28928 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28929 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28930 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28931 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28932 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28934 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28935 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28936 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28937 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28938 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28939 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28940 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28941 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28942 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28943 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28944 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28945 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28946 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28947 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28948 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28949 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28950 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28951 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28952 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28954 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28955 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28957 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28958 place. Use VEX encoding when compiling for AVX.
28960 2011-10-25 Andreas Schwab <schwab@redhat.com>
28962 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28963 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28965 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28967 2011-10-25 Ulrich Drepper <drepper@gmail.com>
28969 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
28970 useless if() expression.
28971 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28972 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28973 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28974 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28975 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28976 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28977 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28978 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28979 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28980 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28981 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28982 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28983 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28984 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28985 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28986 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28987 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28989 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28991 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28993 2011-10-25 Andreas Schwab <schwab@redhat.com>
28995 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28997 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28999 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29001 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29002 .text section. Avoid duplicate constants.
29003 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29004 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29005 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29006 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29007 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29013 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29015 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29018 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29020 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29025 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29026 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29027 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29028 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29029 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29030 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29031 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29032 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29033 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29034 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29035 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29036 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29037 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29038 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29039 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29040 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29041 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29042 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29043 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29044 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29045 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29046 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29047 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29049 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29051 * sysdeps/x86_64/dla.h: Move to ...
29052 * sysdeps/x86_64/fpu/dla.h: ...here.
29053 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29054 situations. Use __builtin_fma only for gcc 4.6 and up.
29056 * config.make.in: Add have-mfma4 entry.
29057 * configure.in: Substitute libc_cv_cc_fma4.
29058 * math/Makefile (dbl-only-routines): Add sincostab.
29059 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29060 Use __sincostab not sincos.
29061 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29063 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29066 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29068 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29069 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29070 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29071 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29073 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29074 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29076 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29077 define aliases when function name is a macro.
29078 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29079 sysdeps/ieee754/dbl-64/sincos.tbl.
29080 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29081 fma4-enabled routines.
29082 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29083 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29084 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29085 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29086 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29087 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29088 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29089 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29090 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29091 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29092 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29093 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29094 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29095 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29096 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29097 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29098 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29099 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29100 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29101 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29102 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29103 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29104 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29105 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29106 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29107 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29108 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29109 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29110 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29111 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29113 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29115 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29116 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29124 2011-10-24 Andreas Schwab <schwab@redhat.com>
29126 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29128 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29130 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29132 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29134 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29136 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29137 Remove unused variable magic_bits.
29138 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29140 * string/strnlen.c: Define and use STRNLEN macro.
29141 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29142 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29143 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29144 * wcsmbs/wcslen.c: Define and use WCSLEN.
29145 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29146 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29147 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29148 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29149 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29150 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29151 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29153 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29155 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29156 strnlen-sse2-no-bsf.
29157 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29159 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29160 Add strnlen support.
29161 (USE_AS_STRNLEN): New macro.
29162 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29163 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29164 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29165 * sysdeps/x86_64/wcslen.S: New file.
29167 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29169 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29170 XMM-moves are used for copying on small sizes.
29172 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29174 * wcsmbs/Makefile (strop-tests): Add wcschr.
29175 * wcsmbs/test-wcschr.c: New file.
29176 * string/test-strchr.c: Update.
29177 Add wcschr support.
29180 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29182 * wcsmbs/Makefile (strop-tests): Add wcslen.
29183 * wcsmbs/test-wcslen.c: New file.
29184 * string/test-strlen.c: Update.
29185 Add wcslen support.
29188 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29190 * po/it.po: Update from translation team.
29192 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29194 * sysdeps/x86_64/wcscmp.S: Update.
29195 Fix wrong comparison semantics.
29196 wcscmp shall use signed comparison not unsigned.
29197 Don't use substraction to avoid overflow bug.
29198 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29199 * wcsmbc/wcscmp.c: Likewise.
29200 * string/test-strcmp.c: Likewise.
29201 Add new tests to check cases with negative values.
29203 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29205 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29206 * sysdeps/x86_64/dla.h: ...here. New file.
29207 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29208 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29212 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29213 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29214 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29215 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29217 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29219 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29220 __ynl_finite aliases.
29222 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29226 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29228 [DLA_FMA] (EMULV): Use DLA_FMA.
29229 [DLA_FMA] (MUL12): Use EMULV.
29230 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29231 that are not needed.
29232 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29233 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29240 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29242 * math/s_nan.c: Undef __nan.
29243 * math/s_nanf.c: Undef __nanf.
29244 * math/s_nanl.c: Undef __nanl.
29245 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29248 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29250 * math/s_catan.c: Add branch predictions.
29251 * math/s_catanf.c: Likewise.
29252 * math/s_catanh.c: Likewise.
29253 * math/s_catanhf.c: Likewise.
29254 * math/s_catanhl.c: Likewise.
29255 * math/s_catanl.c: Likewise.
29256 * math/s_cexp.c: Likewise.
29257 * math/s_cexpf.c: Likewise.
29258 * math/s_cexpl.c: Likewise.
29259 * math/s_clog.c: Likewise.
29260 * math/s_clog10.c: Likewise.
29261 * math/s_clog10f.c: Likewise.
29262 * math/s_clog10l.c: Likewise.
29263 * math/s_clogf.c: Likewise.
29264 * math/s_clogl.c: Likewise.
29265 * math/s_csqrt.c: Likewise.
29266 * math/s_csqrtf.c: Likewise.
29267 * math/s_csqrtl.c: Likewise.
29268 * math/s_ctanf.c: Likewise.
29269 * math/s_ctanh.c: Likewise.
29270 * math/s_ctanhf.c: Likewise.
29271 * math/s_ctanhl.c: Likewise.
29272 * math/s_ctanl.c: Likewise.
29274 * math/math_private.h: Define __nan, __nanf, __nanl.
29275 * math/s_cacosh.c: Include <math_private.h>.
29276 * math/s_cacoshl.c: Likewise.
29277 * math/s_casinh.c: Likewise.
29278 * math/s_casinhf.c: Likewise.
29279 * math/s_casinhl.c: Likewise.
29280 * math/s_ccos.c: Rely entire on ccosh.
29281 * math/s_ccosf.c: Rely entire on ccoshf.
29282 * math/s_ccosl.c: Rely entirely on ccoshl.
29283 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29284 Remove tests for FE_INVALID.
29285 * math/s_ccoshf.c: Likewise.
29286 * math/s_ccoshl.c: Likewise.
29287 * math/s_csin.c: Likewise.
29288 * math/s_csinf.c: Likewise.
29289 * math/s_csinh.c Likewise.
29290 * math/s_csinhf.c: Likewise.
29291 * math/s_csinhl.c: Likewise.
29292 * math/s_csinl.c: Likewise.
29293 * math/s_ctan.c: Likewise.
29294 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29295 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29296 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29298 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29301 compilation problems.
29303 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29306 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29308 * sysdeps/i386/configure.in: Test for -mfma4 option.
29309 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29310 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29311 COMMON_CPUID_INDEX_80000001.
29312 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29313 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29314 use it if FMA3 is not supported.
29315 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29317 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29318 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29320 2011-10-20 Andreas Schwab <schwab@redhat.com>
29323 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29324 it would create a cycle with a link time dependency.
29326 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29328 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29330 * string/Makefile (strop-tests): Add rawmemchr.
29331 * string/test-rawmemchr.c: New file.
29333 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29334 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29335 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29336 when compiling str{,n}casecmp and when AVX is available. Hook up
29337 new optimized code in initializers.
29339 2011-10-19 Andreas Schwab <schwab@redhat.com>
29341 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29342 __feraiseexcept instead of feraiseexcept.
29344 2011-10-18 Ulrich Drepper <drepper@gmail.com>
29346 * math/math_private.h: Define defaults for libc_fetestexcept and
29348 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29349 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29350 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29351 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29352 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29353 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29354 libc_fetestexcept and libc_feupdateenv.
29356 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29357 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29358 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29359 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29360 libc_feholdexcept_setround.
29362 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29363 Add s_nearbyint-c and s_nearbyintf-c.
29364 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29365 nearbyintf inlines.
29366 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29367 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29368 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29369 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29371 * math/math_private.h: Define defaults for libc_fegetround,
29372 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29373 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29374 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29375 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29376 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29377 standard functions.
29378 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29379 Remove comments and hacks for old compiler versions.
29380 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29381 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29382 libc_feholdexceptl.
29384 2011-10-18 Andreas Schwab <schwab@redhat.com>
29386 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
29387 (__feraiseexcept_renamed): Add __NTH.
29388 (feraiseexcept): Add __NTH. Rename local variables to fix
29389 namespace violations.
29391 2011-10-17 Ulrich Drepper <drepper@gmail.com>
29393 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29395 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29397 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29398 recently added interfaces.
29399 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29401 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29402 about macro parameter expansion.
29404 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29405 __NO_MATH_INLINES is defined. Cleanups.
29407 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29408 and __floorf is target has SSE4.1.
29409 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29410 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29411 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29412 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29414 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29416 (floorf): Likewise.
29418 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29420 2011-10-17 Andreas Schwab <schwab@redhat.com>
29422 * misc/sys/cdefs.h: Fix last change.
29424 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29427 2011-10-16 Ulrich Drepper <drepper@gmail.com>
29429 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29431 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29432 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29433 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29434 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29435 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29436 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29437 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29438 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29439 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29440 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29441 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29442 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29443 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29444 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29445 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29446 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29447 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29448 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29449 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29450 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29451 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29452 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29454 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29455 ceil, ceilf, floor, floorf.
29457 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29458 Perform IRELATIVE relocations last.
29460 * elf/do-rel.h: Add another parameter nrelative, replacing the
29461 local variable with the same name. Change name of the function
29462 to end in Rel or Rela (uppercase).
29463 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29464 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29465 elf_dynamic_do_##reloc function.
29467 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29469 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29470 is sufficient, at least on modern CPUs.
29472 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29474 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29475 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29477 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29479 * math/bits/math-finite.h: Add entries for exp.
29480 * math/e_expl.c: Add __*_finite alias.
29481 * sysdeps/i386/fpu/e_exp.S: Likewise.
29482 * sysdeps/i386/fpu/e_expf.S: Likewise.
29483 * sysdeps/i386/fpu/e_expl.c: Likewise.
29484 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29485 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29486 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29487 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29488 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29489 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29490 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29492 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29493 is sufficient, at least on modern CPUs.
29495 * ctype/ctype-info.c (__ctype_init): Define.
29496 * include/ctype.h (__ctype_init): Declare.
29497 (__ctype_b_loc): The variable is always initialized.
29498 (__ctype_toupper_loc): Likewise.
29499 (__ctype_tolower_loc): Likewise.
29500 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29501 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29503 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29505 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29507 * configure.in: Also look in $cxxmachine/include for C++ system
29510 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29512 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29513 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29514 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29515 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29516 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29517 (USE_AS_WMEMCMP): New macro.
29519 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29520 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29521 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29522 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29524 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29525 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29526 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29527 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29528 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29529 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29530 (USE_AS_WMEMCMP): New macro.
29531 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29532 * sysdeps/string/test-memcmp.c: Update.
29533 Fix simple_wmemcmp.
29535 * wcsmbs/wmemcmp.c: Update.
29536 (WMEMCMP): New macro.
29539 2011-10-12 Andreas Jaeger <aj@suse.de>
29542 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29544 2011-10-15 Ulrich Drepper <drepper@gmail.com>
29546 * libio/iofwide.c (do_length): Avoid warning.
29548 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29550 2011-10-14 Ulrich Drepper <drepper@gmail.com>
29552 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29554 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29555 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29556 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29557 * sysdeps/i386/i686/fpu/e_log.S: New file.
29558 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29559 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29561 * ctype/ctype.h: Add support for inlined isXXX functions when
29562 compiling C++ code.
29564 2011-10-14 Andreas Schwab <schwab@redhat.com>
29566 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29568 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29570 2011-10-13 Roland McGrath <roland@hack.frob.com>
29573 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29575 2011-10-13 Andreas Schwab <schwab@redhat.com>
29577 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29578 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29581 * sysdeps/x86_64/memrchr.S: Check for zero size.
29583 * string/stratcliff.c: Add memrchr tests.
29585 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29587 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29588 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29589 rawmemchr-sse2 rawmemchr-sse2-bsf.
29590 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29591 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29592 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29593 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29594 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29595 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29596 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29597 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29598 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29599 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29600 * string/memrchr.c (MEMRCHR): New macro.
29602 2011-10-12 Ulrich Drepper <drepper@gmail.com>
29604 Add integration with gcc's -ffinite-math-only and optimize wrapper
29606 * Versions.def: Define GLIBC_2.15 version for libm.
29607 * math/Makefile (headers): Add bits/math-finite.h.
29608 * math/bits/math-finite.h: New file.
29609 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29610 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29611 * math/e_acoshl.c: Add __*_finite alias.
29612 * math/e_acosl.c: Likewise.
29613 * math/e_asinl.c: Likewise.
29614 * math/e_atan2l.c: Likewise.
29615 * math/e_atanhl.c: Likewise.
29616 * math/e_coshl.c: Likewise.
29617 * math/e_exp10.c: Likewise.
29618 * math/e_exp10f.c: Likewise.
29619 * math/e_exp10l.c: Likewise.
29620 * math/e_exp2l.c: Likewise.
29621 * math/e_fmodl.c: Likewise.
29622 * math/e_gammal_r.c: Likewise.
29623 * math/e_hypotl.c: Likewise.
29624 * math/e_j0l.c: Likewise.
29625 * math/e_j1l.c: Likewise.
29626 * math/e_jnl.c: Likewise.
29627 * math/e_lgammal_r.c: Likewise.
29628 * math/e_log10l.c: Likewise.
29629 * math/e_log2l.c: Likewise.
29630 * math/e_logl.c: Likewise.
29631 * math/e_powl.c: Likewise.
29632 * math/e_sinhl.c: Likewise.
29633 * math/e_sqrtl.c: Likewise.
29634 * math/e_scalb.c: Completely rewritten and optimized.
29635 * math/e_scalbf.c: Likewise.
29636 * math/e_scalbl.c: Likewise.
29637 * math/w_acos.c: Likewise.
29638 * math/w_acosf.c: Likewise.
29639 * math/w_acosl.c: Likewise.
29640 * math/w_acosh.c: Likewise.
29641 * math/w_acoshf.c: Likewise.
29642 * math/w_acoshl.c: Likewise.
29643 * math/w_asin.c: Likewise.
29644 * math/w_asinf.c: Likewise.
29645 * math/w_asinl.c: Likewise.
29646 * math/w_atan2.c: Likewise.
29647 * math/w_atan2f.c: Likewise.
29648 * math/w_atan2l.c: Likewise.
29649 * math/w_atanh.c: Likewise.
29650 * math/w_atanhf.c: Likewise.
29651 * math/w_atanhl.c: Likewise.
29652 * math/w_exp10.c: Likewise.
29653 * math/w_exp10f.c: Likewise.
29654 * math/w_exp10l.c: Likewise.
29655 * math/w_fmod.c: Likewise.
29656 * math/w_fmodf.c: Likewise.
29657 * math/w_fmodl.c: Likewise.
29658 * math/w_j0.c: Likewise.
29659 * math/w_j0f.c: Likewise.
29660 * math/w_j0l.c: Likewise.
29661 * math/w_j1.c: Likewise.
29662 * math/w_j1f.c: Likewise.
29663 * math/w_j1l.c: Likewise.
29664 * math/w_jn.c: Likewise.
29665 * math/w_jnf.c: Likewise.
29666 * math/w_log.c: Likewise.
29667 * math/w_logf.c: Likewise.
29668 * math/w_logl.c: Likewise.
29669 * math/w_log10.c: Likewise.
29670 * math/w_log10f.c: Likewise.
29671 * math/w_log10l.c: Likewise.
29672 * math/w_log2.c: Likewise.
29673 * math/w_log2f.c: Likewise.
29674 * math/w_log2l.c: Likewise.
29675 * math/w_pow.c: Likewise.
29676 * math/w_powf.c: Likewise.
29677 * math/w_powl.c: Likewise.
29678 * math/w_remainder.c: Likewise.
29679 * math/w_remainderf.c: Likewise.
29680 * math/w_remainderl.c: Likewise.
29681 * math/w_scalb.c: Likewise.
29682 * math/w_scalbf.c: Likewise.
29683 * math/w_scalbl.c: Likewise.
29684 * math/w_sqrt.c: Likewise.
29685 * math/w_sqrtf.c: Likewise.
29686 * math/w_sqrtl.c: Likewise.
29687 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29688 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29690 * math/math_private.h: Declare __kernel_standard_f.
29691 * math/w_cosh.c: Remove cruft and optimize a bit.
29692 * math/w_coshf.c: Likewise.
29693 * math/w_coshl.c: Likewise.
29694 * math/w_exp2.c: Likewise.
29695 * math/w_exp2f.c: Likewise.
29696 * math/w_exp2l.c: Likewise.
29697 * math/w_hypot.c: Likewise.
29698 * math/w_hypotf.c: Likewise.
29699 * math/w_hypotl.c: Likewise.
29700 * math/w_lgamma.c: Likewise.
29701 * math/w_lgamma_r.c: Likewise.
29702 * math/w_lgammaf.c: Likewise.
29703 * math/w_lgammaf_r.c: Likewise.
29704 * math/w_lgammal.c: Likewise.
29705 * math/w_lgammal_r.c: Likewise.
29706 * math/w_sinh.c: Likewise.
29707 * math/w_sinhf.c: Likewise.
29708 * math/w_sinhl.c: Likewise.
29709 * math/w_tgamma.c: Likewise.
29710 * math/w_tgammaf.c: Likewise.
29711 * math/w_tgammal.c: Likewise.
29712 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29713 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29714 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29715 Minor optimizations. Pretty printing. Remove cruft.
29716 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29717 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29718 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29720 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29721 * sysdeps/i386/fpu/e_asin.S: Likewise.
29722 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29723 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29724 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29725 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29726 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29727 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29728 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29729 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29730 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29731 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29732 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29733 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29734 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29735 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29736 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29737 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29738 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29739 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29740 * sysdeps/i386/fpu/e_log.S: Likewise.
29741 * sysdeps/i386/fpu/e_log10.S: Likewise.
29742 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29743 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29744 * sysdeps/i386/fpu/e_log2.S: Likewise.
29745 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29746 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29747 * sysdeps/i386/fpu/e_logf.S: Likewise.
29748 * sysdeps/i386/fpu/e_logl.S: Likewise.
29749 * sysdeps/i386/fpu/e_pow.S: Likewise.
29750 * sysdeps/i386/fpu/e_powf.S: Likewise.
29751 * sysdeps/i386/fpu/e_powl.S: Likewise.
29752 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29753 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29754 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29755 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29756 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29757 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29758 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29759 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29760 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29761 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29762 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29764 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29765 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29766 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29767 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29768 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29769 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29770 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29771 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29772 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29773 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29774 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29775 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29777 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29778 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29779 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29780 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29781 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29782 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29783 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29784 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29785 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29786 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29787 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29788 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29789 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29790 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29791 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29792 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29793 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29794 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29795 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29796 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29797 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29798 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29799 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29800 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29801 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29802 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29803 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29804 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29805 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29806 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29807 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29808 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29809 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29810 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29811 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29812 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29813 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29814 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29815 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29816 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29817 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29818 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29819 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29820 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29821 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29822 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29823 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29824 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29825 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29826 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29827 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29828 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29829 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29830 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29831 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29832 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29833 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29834 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29835 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29836 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29837 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29838 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29839 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29840 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29841 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29842 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29843 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29844 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29845 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29846 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29847 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29848 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29849 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29850 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29851 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29852 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29853 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29854 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29855 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29856 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29857 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29858 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29859 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29860 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29861 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29862 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29863 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29864 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29865 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29866 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29867 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29868 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29869 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29870 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29871 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29872 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29873 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29874 (__isnanf): Likewise.
29875 (__isinf_ns): Likewise.
29876 (__isinf_nsf): Likewise.
29877 (__finite): Likewise.
29878 (__finitef): Likewise.
29879 (__ieee754_sqrt): Define as macro.
29880 (__ieee754_sqrtf): Define as macro.
29881 (__ieee754_sqrtl): Define as macro.
29882 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29884 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29885 __FINITE_MATH_ONLY__ consistent.
29886 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29888 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29890 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29893 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29895 2011-10-09 Ulrich Drepper <drepper@gmail.com>
29897 * po/ja.po: Update from translation team.
29899 2011-10-08 Roland McGrath <roland@hack.frob.com>
29901 * locale/programs/locarchive.c (prepare_address_space): New function.
29902 (create_archive, enlarge_archive, open_archive): Use it.
29904 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29905 inside [SHARED], where it is used.
29907 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29909 * nss/getent.c (netgroup_keys): Remove unused variable.
29910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29912 2011-10-08 Ulrich Drepper <drepper@gmail.com>
29914 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29915 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29917 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29918 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29919 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29920 * math/Makefile (libm-calls): Add s_isinf_ns.
29921 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29922 * math/multc3.c: Likewise.
29923 * math/s_casin.c: Likewise.
29924 * math/s_casinf.c: Likewise.
29925 * math/s_casinl.c: Likewise.
29926 * math/s_ccos.c: Likewise.
29927 * math/s_ccosf.c: Likewise.
29928 * math/s_ccosl.c: Likewise.
29929 * math/s_ctan.c: Likewise.
29930 * math/s_ctanf.c: Likewise.
29931 * math/s_ctanh.c: Likewise.
29932 * math/s_ctanhf.c: Likewise.
29933 * math/s_ctanhl.c: Likewise.
29934 * math/s_ctanl.c: Likewise.
29935 * math/w_fmod.c: Likewise.
29936 * math/w_fmodf.c: Likewise.
29937 * math/w_fmodl.c: Likewise.
29938 * math/w_remainder.c: Likewise.
29939 * math/w_remainderf.c: Likewise.
29940 * math/w_remainderl.c: Likewise.
29941 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29942 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29943 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29944 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29945 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29946 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29947 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29948 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29950 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29952 * stdio-common/printf_fphex.c: Likewise.
29953 * stdio-common/printf_size.c: Likewise.
29955 * math/e_exp10.c: Include math_private.h using <...> not "...".
29956 * math/e_exp10f.c: Likewise.
29957 * math/e_exp10l.c: Likewise.
29958 * math/e_exp2l.c: Likewise.
29959 * math/e_j0l.c: Likewise.
29960 * math/e_j1l.c: Likewise.
29961 * math/e_jnl.c: Likewise.
29962 * math/e_lgammal_r.c: Likewise.
29963 * math/e_rem_pio2l.c: Likewise.
29964 * math/e_scalb.c: Likewise.
29965 * math/e_scalbf.c: Likewise.
29966 * math/e_scalbl.c: Likewise.
29967 * math/k_cosl.c: Likewise.
29968 * math/k_sinl.c: Likewise.
29969 * math/k_tanl.c: Likewise.
29970 * math/s_cacoshf.c: Likewise.
29971 * math/s_catan.c: Likewise.
29972 * math/s_catanf.c: Likewise.
29973 * math/s_catanh.c: Likewise.
29974 * math/s_catanhf.c: Likewise.
29975 * math/s_catanhl.c: Likewise.
29976 * math/s_catanl.c: Likewise.
29977 * math/s_ccosh.c: Likewise.
29978 * math/s_ccoshf.c: Likewise.
29979 * math/s_ccoshl.c: Likewise.
29980 * math/s_cexp.c: Likewise.
29981 * math/s_cexpf.c: Likewise.
29982 * math/s_cexpl.c: Likewise.
29983 * math/s_clog.c: Likewise.
29984 * math/s_clog10.c: Likewise.
29985 * math/s_clog10f.c: Likewise.
29986 * math/s_clog10l.c: Likewise.
29987 * math/s_clogf.c: Likewise.
29988 * math/s_clogl.c: Likewise.
29989 * math/s_csin.c: Likewise.
29990 * math/s_csinf.c: Likewise.
29991 * math/s_csinh.c: Likewise.
29992 * math/s_csinhf.c: Likewise.
29993 * math/s_csinhl.c: Likewise.
29994 * math/s_csinl.c: Likewise.
29995 * math/s_csqrt.c: Likewise.
29996 * math/s_csqrtf.c: Likewise.
29997 * math/s_csqrtl.c: Likewise.
29998 * math/s_ctan.c: Likewise.
29999 * math/s_ctanf.c: Likewise.
30000 * math/s_ctanh.c: Likewise.
30001 * math/s_ctanhf.c: Likewise.
30002 * math/s_ctanhl.c: Likewise.
30003 * math/s_ctanl.c: Likewise.
30004 * math/s_ldexp.c: Likewise.
30005 * math/s_ldexpf.c: Likewise.
30006 * math/s_ldexpl.c: Likewise.
30007 * math/s_significand.c: Likewise.
30008 * math/s_significandf.c: Likewise.
30009 * math/s_significandl.c: Likewise.
30010 * math/w_acos.c: Likewise.
30011 * math/w_acosf.c: Likewise.
30012 * math/w_acosh.c: Likewise.
30013 * math/w_acoshf.c: Likewise.
30014 * math/w_acoshl.c: Likewise.
30015 * math/w_acosl.c: Likewise.
30016 * math/w_asin.c: Likewise.
30017 * math/w_asinf.c: Likewise.
30018 * math/w_asinl.c: Likewise.
30019 * math/w_atan2.c: Likewise.
30020 * math/w_atan2f.c: Likewise.
30021 * math/w_atan2l.c: Likewise.
30022 * math/w_atanh.c: Likewise.
30023 * math/w_atanhf.c: Likewise.
30024 * math/w_atanhl.c: Likewise.
30025 * math/w_cosh.c: Likewise.
30026 * math/w_coshf.c: Likewise.
30027 * math/w_coshl.c: Likewise.
30028 * math/w_dremf.c: Likewise.
30029 * math/w_exp10.c: Likewise.
30030 * math/w_exp10f.c: Likewise.
30031 * math/w_exp10l.c: Likewise.
30032 * math/w_exp2.c: Likewise.
30033 * math/w_exp2f.c: Likewise.
30034 * math/w_fmod.c: Likewise.
30035 * math/w_fmodf.c: Likewise.
30036 * math/w_fmodl.c: Likewise.
30037 * math/w_hypot.c: Likewise.
30038 * math/w_hypotf.c: Likewise.
30039 * math/w_hypotl.c: Likewise.
30040 * math/w_j0.c: Likewise.
30041 * math/w_j0f.c: Likewise.
30042 * math/w_j0l.c: Likewise.
30043 * math/w_j1.c: Likewise.
30044 * math/w_j1f.c: Likewise.
30045 * math/w_j1l.c: Likewise.
30046 * math/w_jn.c: Likewise.
30047 * math/w_jnf.c: Likewise.
30048 * math/w_jnl.c: Likewise.
30049 * math/w_lgamma.c: Likewise.
30050 * math/w_lgamma_r.c: Likewise.
30051 * math/w_lgammaf.c: Likewise.
30052 * math/w_lgammaf_r.c: Likewise.
30053 * math/w_lgammal.c: Likewise.
30054 * math/w_lgammal_r.c: Likewise.
30055 * math/w_log.c: Likewise.
30056 * math/w_log10.c: Likewise.
30057 * math/w_log10f.c: Likewise.
30058 * math/w_log10l.c: Likewise.
30059 * math/w_log2.c: Likewise.
30060 * math/w_log2f.c: Likewise.
30061 * math/w_log2l.c: Likewise.
30062 * math/w_logf.c: Likewise.
30063 * math/w_logl.c: Likewise.
30064 * math/w_pow.c: Likewise.
30065 * math/w_powf.c: Likewise.
30066 * math/w_powl.c: Likewise.
30067 * math/w_remainder.c: Likewise.
30068 * math/w_remainderf.c: Likewise.
30069 * math/w_remainderl.c: Likewise.
30070 * math/w_scalb.c: Likewise.
30071 * math/w_scalbf.c: Likewise.
30072 * math/w_scalbl.c: Likewise.
30073 * math/w_sinh.c: Likewise.
30074 * math/w_sinhf.c: Likewise.
30075 * math/w_sinhl.c: Likewise.
30076 * math/w_sqrt.c: Likewise.
30077 * math/w_sqrtf.c: Likewise.
30078 * math/w_sqrtl.c: Likewise.
30079 * math/w_tgamma.c: Likewise.
30080 * math/w_tgammaf.c: Likewise.
30081 * math/w_tgammal.c: Likewise.
30083 * po/ja.po: Update from translation team.
30085 2011-09-29 Andreas Jaeger <aj@suse.de>
30088 * sunrpc/netname.c (netname2host): Fix logic.
30092 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30094 * math/w_remainder.c (__remainder): Likewise.
30095 * math/w_remainderf.c (__remainderf): Likewise.
30096 * math/libm-test.inc (remainder_test): Add test cases.
30098 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30100 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30103 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30105 * string/test-memcmp.c: Avoid unncessary #defines.
30106 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30108 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30110 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30111 Use new sse2 version for core i3 - i7 as it's faster
30112 than sse42 version.
30113 (bit_Prefer_PMINUB_for_stringop): New.
30114 * sysdeps/x86_64/rawmemchr.S: Update.
30115 Replace with faster SSE2 version.
30116 * sysdeps/x86_64/memrchr.S: New file.
30117 * sysdeps/x86_64/memchr.S: Update.
30118 Replace with faster SSE2 version.
30120 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30122 * elf/dl-load.c (lose): Add cast to avoid warning.
30124 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30126 * po/ca.po: Update from translation team.
30128 * inet/getnetgrent_r.c: Hook up nscd.
30129 * nscd/Makefile (routines): Add nscd_netgroup.
30130 (nscd-modules): Add netgroupcache.
30131 (CFLAGS-netgroupcache.c): Define.
30132 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30133 (cache_search): Add const to second parameter.
30134 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30136 (dbs): Add netgrdb entry.
30137 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30138 (verify_persistent_db): Handle netgrdb.
30139 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30140 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30142 (netgroup_response_header): Define.
30143 (innetgroup_response_header): Define.
30144 (datahead): Add netgroup_response_header and innetgroup_response_header
30146 * nscd/nscd.conf: Add entries for netgroup cache.
30147 * nscd/nscd.h (dbtype): Add netgrdb.
30148 (_PATH_NSCD_NETGROUP_DB): Define.
30149 (netgroup_iov_disabled): Declare.
30150 (xmalloc, xcalloc, xrealloc): Move declarations here.
30151 (cache_search): Adjust prototype.
30152 Add netgroup-related prototypes.
30153 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30154 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30155 (__nscd_innetgr): Declare.
30156 * nscd/selinux.c (perms): Use access_vector_t as element type and
30157 add netgroup-related initializers.
30158 * nscd/netgroupcache.c: New file.
30159 * nscd/nscd_netgroup.c: New file.
30160 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30161 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30162 For four parameters use innetgr.
30163 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30164 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30165 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30166 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30168 * nscd/connections.c (register_traced_file): Don't register file
30169 for disabled databases.
30171 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30173 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30175 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30176 from tree and freeing node.
30178 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30180 * nss/nsswitch.c (__nss_database_lookup): Handle
30181 nss_parse_service_list out of memory case.
30183 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30185 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30186 out of memory case.
30188 2011-10-04 Andreas Schwab <schwab@redhat.com>
30190 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30191 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30193 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30194 elf_machine_rela, elf_machine_lazy_rel.
30195 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30196 (ELF_DYNAMIC_DO_REL): Likewise.
30197 (ELF_DYNAMIC_DO_RELA): Likewise.
30198 (ELF_DYNAMIC_RELOCATE): Likewise.
30199 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30200 to ELF_DYNAMIC_DO_REL.
30201 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30202 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30203 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30205 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30206 skip_ifunc, don't call ifunc function if non-zero.
30207 (elf_machine_rela): Likewise.
30208 (elf_machine_lazy_rel): Likewise.
30209 (elf_machine_lazy_rela): Likewise.
30210 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30211 (elf_machine_lazy_rel): Likewise.
30212 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30214 (elf_machine_lazy_rel): Likewise.
30215 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30217 (elf_machine_lazy_rel): Likewise.
30218 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30219 (elf_machine_lazy_rel): Likewise.
30220 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30221 (elf_machine_lazy_rel): Likewise.
30222 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30223 (elf_machine_lazy_rel): Likewise.
30224 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30225 (elf_machine_lazy_rel): Likewise.
30226 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30227 (elf_machine_lazy_rel): Likewise.
30228 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30229 (elf_machine_lazy_rel): Likewise.
30231 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30233 * nss/nss_files/files-init.c (_nss_files_init): Use static
30234 initialization for all the *_traced_file variables.
30236 2011-09-28 Andreas Schwab <schwab@redhat.com>
30238 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30240 2011-09-27 Roland McGrath <roland@hack.frob.com>
30243 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30245 2011-09-27 Andreas Schwab <schwab@redhat.com>
30247 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30248 Reread the line before reparsing it.
30250 2011-09-26 Andreas Schwab <schwab@redhat.com>
30252 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30254 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30255 Maxim Kuvyrkov <maxim@codesourcery.com>
30256 Joseph Myers <joseph@codesourcery.com>
30258 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30259 if needed for __stack_chk_guard.
30261 2011-09-19 Roland McGrath <roland@hack.frob.com>
30263 * sysdeps/posix/spawni.c (script_execute): Always define it.
30264 It will be optimized away if unused.
30265 (maybe_script_execute): New function.
30266 (__spawni): Call it.
30268 * Makerules: Don't include tls.make.
30269 (config-tls): Always set to thread.
30270 * tls.make.c: File removed.
30272 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30274 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30275 * config.make.in (CPPFLAGS-config): New substituted variable.
30277 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30279 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30282 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30283 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30285 2011-09-15 Roland McGrath <roland@hack.frob.com>
30287 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30288 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30289 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30290 (CALL_FAIL): Likewise.
30291 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30292 (CALL_FAIL): Macro removed.
30293 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30295 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30297 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30298 for __FINITE_MATH_ONLY__ == 1.
30300 2011-09-15 Andreas Schwab <schwab@redhat.com>
30302 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30303 __ieee754_sqrt instead of sqrt.
30304 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30305 __ieee754_sqrtf instead of sqrtf.
30306 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30307 __floorf instead of floorf.
30308 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30309 __floorf, __truncf instead of floorf, truncf.
30311 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30313 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30315 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30316 __extern_always_inline.
30317 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30320 2011-09-14 Andreas Schwab <schwab@redhat.com>
30322 * elf/rtld.c (dl_main): Also relocate in dependency order when
30323 doing symbol dependency testing.
30325 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30327 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30328 Always define `refsym'.
30330 2011-09-13 Andreas Schwab <schwab@redhat.com>
30332 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30333 (__FD_ELT): Renamed from __FDELT.
30334 * misc/bits/select2.h (__FD_ELT): Likewise.
30335 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30336 __FD_MASK instead of __FDELT, __FDMASK.
30337 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30339 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30342 * elf/Makefile (gen-ldd): Fix pattern.
30344 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30345 (init_tls): Likewise.
30347 2011-09-12 Ulrich Drepper <drepper@gmail.com>
30349 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30351 2011-09-12 Andreas Schwab <schwab@redhat.com>
30353 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30354 `struct cmsghdr *' instead of `void *'.
30355 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30358 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30360 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30362 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30363 ldd_rewrite_script.
30365 2011-09-11 Ulrich Drepper <drepper@gmail.com>
30367 * configure.in: Remove --with-tls option.
30368 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30369 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30370 out in case it is missing.
30371 * sysdeps/ia64/elf/configure.in: Likewise.
30372 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30373 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30374 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30375 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30376 * sysdeps/sh/elf/configure.in: Likewise.
30377 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30378 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30379 * sysdeps/x86_64/elf/configure.in: Likewise.
30380 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30381 * sysdeps/mach/hurd/tls.h: Likewise.
30384 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30387 * configure.in: Fix use of AC_INIT.
30389 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30391 2011-09-10 Ulrich Drepper <drepper@gmail.com>
30393 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30395 * malloc/hooks.c: Likewise.
30398 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30399 variables statically.
30400 (narenas): Initialize.
30401 (list_lock): Initialize.
30402 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30403 initializtion of main_arena and list_lock. Small cleanups.
30404 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30405 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30406 Add initializers to main_arena and mp_.
30407 (malloc_state): Remove pagesize member. Change all users to use
30410 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30411 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30412 is always initialized.
30414 * malloc/malloc.c: Removed unused configurations and dead code.
30415 * malloc/arena.c: Likewise.
30416 * malloc/hooks.c: Likewise.
30417 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
30419 * include/tls.h: Removed. USE___THREAD must always be defined.
30420 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30421 * elf/dl-libc.c: Likewise.
30422 * elf/dl-tsd.c: Likewise.
30423 * include/errno.h: Likewise.
30424 * include/netdb.h: Likewise.
30425 * include/resolv.h: Likewise.
30426 * inet/herrno-loc.c: Likewise.
30427 * inet/herrno.c: Likewise.
30428 * malloc/arena.c: Likewise.
30429 * malloc/hooks.c: Likewise.
30430 * malloc/malloc.c: Likewise.
30431 * resolv/res-state.c: Likewise.
30432 * resolv/res_libc.c: Likewise.
30433 * sysdeps/i386/dl-machine.h: Likewise.
30434 * sysdeps/ia64/dl-machine.h: Likewise.
30435 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30436 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30437 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30438 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30439 * sysdeps/sh/dl-machine.h: Likewise.
30440 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30441 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30442 * sysdeps/unix/i386/sysdep.S: Likewise.
30443 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30444 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30445 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30446 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30447 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30448 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30449 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30450 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30453 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30454 * sysdeps/x86_64/dl-machine.h: Likewise.
30455 * tls.make.c: Likewise.
30457 * configure.in: Remove --with-__thread option. Make tests for
30458 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30459 tls_model attribute fail if no support is available. Remove
30461 * Makeconfig: Adjust for dropped configure option. All features are
30463 * Makerules: Likewise.
30464 * Versions.def: Likewise.
30465 * argp/argp-fmtstream.c: Likewise.
30466 * argp/argp-fmtstream.h: Likewise.
30467 * argp/argp-help.c: Likewise.
30468 * assert/assert.c: Likewise.
30469 * config.h.in: Likewise.
30470 * config.make.in: Likewise.
30471 * configure: Likewise.
30472 * configure.in: Likewise.
30473 * csu/Versions: Likewise.
30474 * csu/init.c: Likewise.
30475 * elf/tst-audit2.c: Likewise.
30476 * elf/tst-tls10.c: Likewise.
30477 * elf/tst-tls10.h: Likewise.
30478 * elf/tst-tls11.c: Likewise.
30479 * elf/tst-tls12.c: Likewise.
30480 * elf/tst-tls14.c: Likewise.
30481 * elf/tst-tlsmod11.c: Likewise.
30482 * elf/tst-tlsmod12.c: Likewise.
30483 * elf/tst-tlsmod13.c: Likewise.
30484 * elf/tst-tlsmod13a.c: Likewise.
30485 * elf/tst-tlsmod14a.c: Likewise.
30486 * elf/tst-tlsmod15b.c: Likewise.
30487 * elf/tst-tlsmod16a.c: Likewise.
30488 * elf/tst-tlsmod16b.c: Likewise.
30489 * elf/tst-tlsmod7.c: Likewise.
30490 * elf/tst-tlsmod8.c: Likewise.
30491 * elf/tst-tlsmod9.c: Likewise.
30492 * gmon/gmon.c: Likewise.
30493 * grp/fgetgrent_r.c: Likewise.
30494 * grp/putgrent.c: Likewise.
30495 * hurd/fopenport.c: Likewise.
30496 * include/libc-symbols.h: Likewise.
30497 * include/tls.h: Likewise.
30498 * intl/gettextP.h: Likewise.
30499 * intl/loadinfo.h: Likewise.
30500 * locale/global-locale.c: Likewise.
30501 * locale/localeinfo.h: Likewise.
30502 * mach/devstream.c: Likewise.
30503 * malloc/arena.c: Likewise.
30504 * malloc/set-freeres.c: Likewise.
30505 * misc/err.c: Likewise.
30506 * misc/getttyent.c: Likewise.
30507 * misc/mntent_r.c: Likewise.
30508 * posix/getopt.c: Likewise.
30509 * posix/wordexp.c: Likewise.
30510 * pwd/fgetpwent_r.c: Likewise.
30511 * resolv/Versions: Likewise.
30512 * resolv/res_hconf.c: Likewise.
30513 * shadow/fgetspent_r.c: Likewise.
30514 * shadow/putspent.c: Likewise.
30515 * stdio-common/printf_fphex.c: Likewise.
30516 * stdio-common/tmpfile.c: Likewise.
30517 * stdlib/abort.c: Likewise.
30518 * stdlib/fmtmsg.c: Likewise.
30519 * sunrpc/auth_unix.c: Likewise.
30520 * sunrpc/clnt_perr.c: Likewise.
30521 * sunrpc/clnt_tcp.c: Likewise.
30522 * sunrpc/clnt_udp.c: Likewise.
30523 * sunrpc/clnt_unix.c: Likewise.
30524 * sunrpc/openchild.c: Likewise.
30525 * sunrpc/svc_simple.c: Likewise.
30526 * sunrpc/svc_tcp.c: Likewise.
30527 * sunrpc/svc_udp.c: Likewise.
30528 * sunrpc/svc_unix.c: Likewise.
30529 * sunrpc/xdr.c: Likewise.
30530 * sunrpc/xdr_array.c: Likewise.
30531 * sunrpc/xdr_rec.c: Likewise.
30532 * sunrpc/xdr_ref.c: Likewise.
30533 * sunrpc/xdr_stdio.c: Likewise.
30535 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30537 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30539 2011-07-03 Andreas Jaeger <aj@suse.de>
30541 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30542 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30543 regenerate with gen-libm-tests.pl.
30545 2010-05-12 Petr Baudis <pasky@suse.cz>
30548 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30549 around j0() zero points by switching to j1().
30550 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30551 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30553 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30555 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30557 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30559 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
30561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30562 Patch in part by Pavel Roskin <proski@gnu.org>.
30565 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30567 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30568 Free memory block if necessary.
30571 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30572 be NULL. Don't lock in this case.
30574 2011-09-09 Roland McGrath <roland@hack.frob.com>
30576 * elf/elf.h (ELFOSABI_GNU): New macro.
30577 (ELFOSABI_LINUX): Define to that.
30579 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30581 * string/strncat.c (strncat): Undef the symbol in case it has been
30582 defined in bits/string.h.
30584 2011-09-09 Ulrich Drepper <drepper@gmail.com>
30586 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30588 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
30591 2011-08-17 Andreas Jaeger <aj@suse.de>
30593 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30595 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30596 Ian Lance Taylor <iant@google.com>
30598 * math/libm-test.inc (lround_test): New testcase.
30599 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30601 2011-09-08 Ulrich Drepper <drepper@gmail.com>
30603 * Makefile: Remove support for automatic cvs check-ins.
30604 * Makerules: Likewise.
30605 * config.make.in: Likewise.
30606 * configure.in: Likewise.
30607 * intl/Makefile: Likewise.
30608 * locale/Makefile: Likewise.
30609 * po/Makefile: Likewise.
30610 * posix/Makefile: Likewise.
30611 * sysdeps/gnu/Makefile: Likewise.
30612 * sysdeps/mach/hurd/Makefile: Likewise.
30613 * sysdeps/sparc/sparc32/Makefile: Likewise.
30616 * posix/Makefile (bug-regex32-ENV): Define.
30617 Patch by John Stanley <jpsinthemix@verizon.net>.
30619 * misc/Makefile (headers): Add bits/select2.h.
30620 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30621 * misc/bits/select2.h: New file.
30622 * include/bits/select2.h: New file.
30623 * debug/Makefile (routines): Add fdelt_chk.
30624 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30625 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30627 * debug/fdelt_chk.c: New file.
30629 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30630 * wcsmbs/test-wmemcmp.c: Likewise.
30631 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
30632 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
30634 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30636 * string/Makefile (strop-tests): Add memcmp.
30637 * string/test-wmemcmp.c: New file.
30638 * string/test-memcmp.c: Add wmemcmp support.
30640 2011-09-08 Roland McGrath <roland@hack.frob.com>
30643 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30646 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30647 garbage value in a __mach_port_mod_refs call in the cases of the
30648 task-self and thread-self ports.
30650 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30652 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30654 2011-09-08 Andreas Schwab <schwab@redhat.com>
30656 * elf/dl-load.c (lose): Check for non-null L.
30658 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30660 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30662 * elf/dl-libc.c (dlerror_run): Pass back error code from
30666 * elf/dl-load.c (lose): Free l_origin if it is valid.
30668 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30670 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30671 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30672 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30674 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30675 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30677 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30679 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30680 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30681 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30682 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30683 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30684 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30685 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30686 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30687 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30688 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30690 2011-08-15 Alan Modra <amodra@gmail.com>
30693 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30694 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30695 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30696 ppc_mcount to static-only-routines.
30697 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30699 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30700 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30702 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30704 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30705 for finite and infinity parameters.
30707 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30709 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30710 and add nop instructions for throughput optimization.
30711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30713 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30715 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30716 aligned copy for power7 with vector-scalar instructions.
30717 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30719 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30724 2011-09-07 Andreas Schwab <schwab@redhat.com>
30727 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30730 2011-09-07 Ulrich Drepper <drepper@gmail.com>
30732 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30733 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30734 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30735 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30738 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30740 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30741 Forgot to demangle the pointer.
30743 * sysdeps/i386/sysdep.h: Define atom_text_section.
30744 * sysdeps/x86_64/sysdep.h: Likewise.
30745 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30746 section with atom_text_section.
30747 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30748 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30749 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30750 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30751 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30753 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30754 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30755 already be defined. Change to take two parameters and don't assign
30756 result to variable. Adjust all users.
30757 Define INTERNAL_GETTIME if not already defined.
30758 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30761 HAVE_CLOCK_GETTIME_VSYSCALL.
30762 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30764 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30765 gettimeofday vsyscall, just use time.
30767 2011-09-06 Andreas Schwab <schwab@redhat.com>
30769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30772 2011-09-06 Ulrich Drepper <drepper@gmail.com>
30774 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30776 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30778 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30779 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30780 syscall if possible.
30782 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30784 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30785 e_ident. Don't pass to find_mapsXX.
30786 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30788 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30791 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30792 * sysdeps/x86_64/multiarch/strchr.S: Update.
30793 Check bit_slow_BSF bit.
30794 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30795 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30796 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30798 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30801 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30803 (tryshell): Define.
30804 (__spawni): Change last parameter to be flag. Test
30805 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30806 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30807 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30808 * posix/spawni.c: Likewise.
30809 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30810 * posix/spawnp.c: Likewise. Change normal version to use
30811 SPAWN_XFLAGS_USE_PATH.
30812 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30813 SPAWN_XFLAGS_TRY_SHELL.
30816 * posix/glob.h: Remove gcc 1.x support.
30819 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30821 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30824 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30826 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30827 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30828 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30829 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30830 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30831 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30833 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30835 * sysdeps/x86_64/wcscmp.S: New file.
30837 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30838 wcscmp-c wcscmp-sse2
30839 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30840 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30841 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30842 * wcsmbs/wcscmp.c: Allow renaming.
30844 2011-09-05 David S. Miller <davem@davemloft.net>
30846 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30847 stack slot, rather than the struct return pointer slot.
30848 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30849 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30851 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30853 2011-09-05 Ulrich Drepper <drepper@gmail.com>
30855 * po/ja.po: Update from translation team.
30858 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30859 kernel in 64-bit binaries.
30861 2011-09-01 David S. Miller <davem@davemloft.net>
30863 * elf/elf.h (HWCAP_SPARC_*): Move to..
30864 * sysdeps/sparc/sysdep.h: this new file and add new values.
30865 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30866 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30867 _DL_HWCAP_COUNT to 24.
30868 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30870 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30871 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30872 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30873 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30874 instead of magic constants.
30875 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30877 2011-08-31 David S. Miller <davem@davemloft.net>
30879 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30881 Reimplement to do errno handling inline.
30882 (SYSCALL_ERROR_HANDLER): New macro.
30883 (__SYSCALL_STRING): Do not do errno handling in asm.
30884 (__CLONE_SYSCALL_STRING): Delete.
30885 (__INTERNAL_SYSCALL_STRING): Delete.
30886 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30887 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30888 (PSEUDO): Reimplement to do errno handling inline.
30889 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30890 (SYSCALL_ERROR_HANDLER): New macro.
30891 (__SYSCALL_STRING): Do not do errno handling in asm.
30892 (__CLONE_SYSCALL_STRING): Delete.
30893 (__INTERNAL_SYSCALL_STRING): Delete.
30894 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30895 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30897 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30898 (inline_syscall*): Add 'err' argument.
30899 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30900 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30901 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30902 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30904 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30905 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30907 2011-08-30 Andreas Schwab <schwab@redhat.com>
30909 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30911 2011-08-29 Jiri Olsa <jolsa@redhat.com>
30913 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30916 2011-08-24 David S. Miller <davem@davemloft.net>
30918 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30920 2011-08-24 Andreas Schwab <schwab@redhat.com>
30922 * elf/Makefile: Add rules to build and run unload8 test.
30923 * elf/unload8.c: New file.
30924 * elf/unload8mod1.c: New file.
30925 * elf/unload8mod1x.c: New file.
30926 * elf/unload8mod2.c: New file.
30927 * elf/unload8mod3.c: New file.
30929 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30932 2011-08-23 David S. Miller <davem@davemloft.net>
30934 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30935 subtract stack bias.
30936 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30937 %sp not %fp in calculations.
30938 (_JMPBUF_UNWINDS_ADJ): Likewise.
30940 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30941 (aio_suspend): Call it to force an exception region around the
30942 AIO_MISC_WAIT() invocation.
30944 2011-08-23 Andreas Schwab <schwab@redhat.com>
30946 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30949 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30951 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30953 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30954 and <dl-machine.h>.
30955 (Elf64_FuncDesc): Remove.
30957 2011-08-22 David S. Miller <davem@davemloft.net>
30959 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30960 sigaltstack check, add missing cfi directives.
30961 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30962 missing cfi directives, and sigaltstack handling.
30964 2011-08-16 Andreas Schwab <schwab@redhat.com>
30967 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30968 object is seen twice.
30969 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30971 * elf/Makefile (distribute): Add tst-initorder2.c.
30972 (tests): Add tst-initorder2.
30973 (modules-names): Add tst-initorder2a tst-initorder2b
30974 tst-initorder2c tst-initorder2d. Add rules to build them.
30975 ($(objpfx)tst-initorder2.out): New rule.
30976 * elf/tst-initorder2.c: New file.
30977 * elf/tst-initorder2.exp: New file.
30979 2011-08-22 Andreas Schwab <schwab@redhat.com>
30981 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30983 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30984 dependencies back to end of function.
30986 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30987 $(elfobjdir)/ld.so.
30989 2011-08-21 Ulrich Drepper <drepper@gmail.com>
30991 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30992 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30993 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30994 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30995 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30996 of __vdso_gettimeofday.
30997 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30998 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31000 (_libc_vdso_platform_setup): Remove initialization of
31001 __vdso_gettimeofday and __vdso_time.
31003 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31005 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31006 and fgetc_unlocked.
31007 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31010 * elf/dl-open.c (add_to_global): Report additions to the global scope
31011 for LD_DEBUG=scopes.
31012 (dl_open_worker): Also print scope of newly loaded dependencies.
31013 (_dl_show_scope): Indicate if there is no scope.
31016 * stdio-common/Makefile (tests): Add bug24.
31017 * stdio-common/bug24.c: New file.
31019 2011-08-19 Andreas Jaeger <aj@suse.de>
31022 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31023 non-existant file when using close-on-exec mode.
31025 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31028 the very first instruction.
31030 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31031 the CFI state in the end.
31032 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31033 inclusion of dl-trampoline.h.
31034 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31036 2011-08-19 Andreas Schwab <schwab@redhat.com>
31038 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31039 expectations for long double.
31041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31042 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31044 2011-08-14 David S. Miller <davem@davemloft.net>
31046 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31047 artificual limit depends upon the system page size.
31049 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31051 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31052 * resolv/Makefile: Define CFLAGS-libresolv.
31054 2011-08-17 Andreas Schwab <schwab@redhat.com>
31056 * nss/makedb.c (compute_tables): Make variables used in nested
31059 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31061 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31062 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31063 if buffer was too small.
31065 * elf/pldd.c (main): Attach to all threads in the process.
31066 Rewrite /proc handling to use *at functions.
31068 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31070 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31071 specifies first scope to show.
31072 (dl_open_worker): Update callers. Move printing scope of new
31073 object to before the relocation.
31074 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31075 * sysdeps/generic/ldsodefs.h: Update declaration.
31077 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31078 string for the scope number.
31080 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31082 * nscd/servicescache.c (cache_addserv): Make sure written is always
31085 2011-08-14 Roland McGrath <roland@hack.frob.com>
31087 * sysdeps/i386/i486/bits/atomic.h
31088 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31089 statement expression, so as to suppress "set but not used" warning.
31090 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31092 * string/strncat.c (STRNCAT): Use prototype definition.
31094 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31095 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31097 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31098 (localedef-modules): Add localedef.
31099 (locale-modules): Add locale.
31101 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31102 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31103 to avoid a warning.
31105 2011-08-14 David S. Miller <davem@davemloft.net>
31107 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31108 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31110 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31112 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31113 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31114 * elf/rtld.c (dl_main): Set l_name of vDSO.
31115 Call _dl_show_scope when DL_DEBUG_SCOPES.
31116 (process_dl_debug): Recognize scopes flag and also set it for all.
31117 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31118 Declare _dl_show_scope.
31120 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31121 (do_dlopen): Pass caller_dlopen to dl_open.
31122 (__libc_dlopen_mode): Initialize caller_dlopen.
31124 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31125 of libc. Make tolower call locale-independent. Optimize a bit by
31126 using isdigit instead of isalnum.
31127 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31129 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31131 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31132 was a dependency or dynamically loaded.
31134 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31136 * intl/l10nflist.c: Allow architecture-specific pop function.
31137 * sysdeps/x86_64/l10nflist.c: New file.
31139 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31142 2011-08-10 Andreas Schwab <schwab@redhat.com>
31144 * include/dirent.h: Add libc_hidden_proto for scandirat and
31145 scandirat64. Don't declare __scandirat64.
31146 * dirent/scandirat.c: Add libc_hidden_def.
31147 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31148 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31150 2011-08-10 David S. Miller <davem@davemloft.net>
31152 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31154 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31155 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31156 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31158 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31160 * Versions.def [libc]: Add GLIBC_2.15.
31161 * dirent/Makefile (routines): Add scandirat and scandirat64.
31162 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31164 * dirent/dirent.h: Declare scandirat and scandirat64.
31165 * dirent/scandirat.c: New file.
31166 * dirent/scandirat64.c: New file.
31167 * sysdeps/wordsize-64/scandirat.c: New file.
31168 * sysdeps/wordsize-64/scandirat64.c: New file.
31169 * dirent/opendir.c: Define opendirat.
31170 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31172 * dirent/scandir64.c: Adjust for scandir.c change.
31173 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31174 __scandirat64, and __scandir_cancel_handler.
31175 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31176 additional parameter and use openat instead of open (outside of ld.so).
31177 Add new __opendir as wrapper around __opendirat.
31178 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31179 here without requiring old scandirat implementation.
31181 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31183 * dirent/scandir.c (cancel_handler): Renamed to
31184 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31185 defined. Adjust users.
31186 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31187 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31189 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31191 * string/test-string.h (IMPL): Use __STRING to expand name and then
31194 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31197 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31199 * string/Makefile: Update.
31200 (strop-tests): Append strncat.
31201 * string/test-wcscmp.c: New file.
31202 New comprehensive test for wcscmp.
31203 * string/test-strcmp.c: Update.
31204 (WIDE): New define.
31206 2011-07-22 Andreas Schwab <schwab@redhat.com>
31208 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31211 2011-07-26 Andreas Schwab <schwab@redhat.com>
31213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31214 encoding to ACE if AI_IDN.
31216 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31218 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31219 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31221 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31223 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31224 Fix overflow bug in strncat.
31225 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31227 * string/test-strncat.c: Update.
31228 Add new tests for checking overflow bugs.
31230 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31232 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31233 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31234 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31235 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31236 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31237 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31238 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31239 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31240 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31242 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31243 (USE_AS_STRCAT): Define.
31244 Add strcat and strncat support.
31245 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31247 2011-07-25 Andreas Schwab <schwab@redhat.com>
31249 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31250 __n bigger than INT_MAX+1.
31251 (__strncmp_g): Likewise.
31253 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31255 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31256 * libio/stido.h: Likewise.
31258 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31260 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31263 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31264 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31265 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31266 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31267 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31270 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31273 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31275 (_dl_x86_64_save_sse): Likewise.
31277 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31279 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31281 (_dl_x86_64_save_sse): Likewise.
31283 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31285 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31287 2011-07-21 Andreas Schwab <schwab@redhat.com>
31289 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31291 (_dl_x86_64_save_sse): Use correct AVX check.
31293 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31295 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31296 bug in strncpy/strncat.
31297 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31299 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31301 * string/tester.c (test_strcat): Add tests for different alignments
31302 of source and destination.
31303 (test_strncat): Likewise.
31305 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31308 * posix/glob.c (glob): Check passed in values before using them in
31309 expressions to avoid some overflows.
31310 (glob_in_dir): Likewise.
31313 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31314 check for AVX enablement so that we don't crash with old kernels and
31316 * elf/tst-audit4.c: Add same checks here.
31317 * elf/tst-audit6.c: Likewise.
31319 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31321 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31323 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31325 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31327 * po/cs.po: Update from translation team.
31328 * po/bg.po: Likewise.
31330 2011-07-12 Marek Polacek <mpolacek@redhat.com>
31332 * misc/sys/cdefs.h: Add support for const attribute.
31333 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31334 to gnu_dev_{major,minor,makedev} functions.
31336 2011-07-20 Marek Polacek <mpolacek@redhat.com>
31338 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31340 2011-07-20 Andreas Schwab <schwab@redhat.com>
31342 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31345 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31347 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31348 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31349 register in order to avoid conflicts with the soft frame pointer
31350 being held in r11 when necessary.
31351 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31352 (INTERNAL_VSYSCALL_NCS): Likewise.
31354 2011-07-14 Marek Polacek <mpolacek@redhat.com>
31356 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31357 * elf/dl-fini.c (_dl_fini): Adjust caller.
31358 * elf/dl-close.c (_dl_close_worker): Likewise.
31359 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31361 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31363 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31364 "aux_cache->nlibs < 0".
31366 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31367 in the reload-count case.
31369 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31372 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31373 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31374 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31375 * sysdeps/x86_64/multiarch/strcat.S: New file.
31376 * sysdeps/x86_64/multiarch/strncat.S: New file.
31377 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31378 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31379 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31380 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31381 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31382 (USE_AS_STRCAT): Define.
31383 Add strcat and strncat support.
31384 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31385 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31386 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31387 * string/strncat.c: Update.
31388 (USE_AS_STRNCAT): Define.
31389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31390 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31392 * sysdeps/x86_64/multiarch/init-arch.h
31393 (bit_Prefer_PMINUB_for_stringop): New.
31394 (index_Prefer_PMINUB_for_stringop): Likewise.
31395 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31396 bit_Prefer_PMINUB_for_stringop.
31398 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31400 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31402 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31403 of casting of buffer.
31404 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31405 buffer32 and buffer64.
31406 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31407 writes instead of casting of buffer.
31408 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31410 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31413 2011-07-19 Andreas Schwab <schwab@redhat.com>
31415 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31417 2011-07-19 Ulrich Drepper <drepper@gmail.com>
31419 * nscd/nscd.c (termination_handler): Don't do anything for a database
31420 if it has not yet been initialized.
31422 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31424 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31426 2011-07-15 Marek Polacek <mpolacek@redhat.com>
31428 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31430 2011-07-18 Ulrich Drepper <drepper@gmail.com>
31432 * po/nl.po: Update from translation team.
31433 * po/sv.po: Likewise.
31435 2011-07-16 Roland McGrath <roland@hack.frob.com>
31437 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31438 now disallowed by GCC.
31440 * configure.in (use-default-link): Default to yes if a test -shared
31441 link meets our qualifications.
31442 * configure: Regenerated.
31444 * config.make.in (output-format): New variable.
31445 * configure.in: Check for ld --print-output-format support.
31446 * configure: Regenerated.
31447 * Makerules ($(common-objpfx)format.lds)
31448 [$(output-format) != unknown]: Just use $(output-format),
31449 instead of the linker-script munging.
31451 2011-07-14 Roland McGrath <roland@hack.frob.com>
31453 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31454 of $(common-objpfx)shlib.lds.
31455 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31457 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31458 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31460 * configure.in (-z relro check): Adjust test code to add a large
31461 writable data section after it.
31462 * configure: Regenerated.
31464 2011-07-11 Roland McGrath <roland@hack.frob.com>
31466 * configure.in (-z relro check): Fix test code to make the variable
31468 * configure: Regenerated.
31470 2011-07-11 Ulrich Drepper <drepper@gmail.com>
31472 * nscd/nscd.h (struct traced_file): Define.
31473 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31474 elements. Add traced_files.
31475 (inotify_fd): Declare.
31476 (register_traced_file): Declare.
31477 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31478 (inotify_fd): Export.
31479 (resolv_conf_descr): Remove.
31480 (nscd_init): Move inotify descriptor creation to main.
31481 Don't register files for notification here.
31482 (register_traced_file): New function.
31483 (invalidate_cache): Don't use reset_res to determine whether to call
31484 res_init, go through the list of registered files.
31485 (main_loop_poll): The inotify descriptors are now stored in the
31486 structures for the traced files.
31487 (main_loop_epoll): Likewise
31488 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31489 to __nss_disable_nscd.
31490 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31491 for a database anymore. Check the records for all the registered
31493 * nss/Makefile (libnss_files-routines): Add files-init.
31494 (libnss_db-routines): Add db-init.
31495 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31496 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31497 * nss/nss_db/db-init.c: New file.
31498 * nss/nss_files/files-init.c: New file.
31499 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31500 __nss_lookup_function.
31501 (__nss_lookup_function): Call nss_load_library.
31502 (nss_load_all_libraries): New function.
31503 (__nss_disable_nscd): Take parameter with callback function for files
31504 to register. Set is_nscd. Load all the DSOs for the NSS modules
31505 used for the cached services.
31506 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31507 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31508 options for features to all the files in nscd.
31510 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31512 2011-07-10 Roland McGrath <roland@hack.frob.com>
31514 * csu/elf-init.c (__libc_csu_init): Comment typo.
31516 2011-07-09 Ulrich Drepper <drepper@gmail.com>
31518 * po/pl.po: Update from translation team.
31519 * po/ja.po: Likewise.
31520 * po/ru.po: Likewise.
31521 * po/ko.po: Likewise.
31522 * po/fr.po: Likewise.
31524 2011-07-09 Roland McGrath <roland@hack.frob.com>
31526 * configure.in (.ctors/.dtors header and trailer check):
31527 Use an empirical test on a built program.
31528 * configure: Regenerated.
31530 * configure.in (-z relro check): Use an empirical test on a built DSO.
31531 Detect, but do not require, on ia64.
31532 * configure: Regenerated.
31534 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31535 Update tests that use readelf to use $READELF instead.
31536 * configure: Regenerated.
31538 2011-07-08 Ulrich Drepper <drepper@gmail.com>
31540 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31541 if the result is not used.
31543 2011-07-05 Andreas Jaeger <aj@suse.de>
31546 * stdlib/tst-strtod.c: Add testcase.
31548 2011-07-07 Ulrich Drepper <drepper@gmail.com>
31550 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
31551 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
31552 The latter has a higher limit. Take additional parameter to pass to
31554 (__pathconf): Pass file to __statfs_link_max.
31555 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31557 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31561 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31562 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31564 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31565 (__statfs_filesize_max): Likewise.
31566 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31568 2011-07-05 Andreas Jaeger <aj@suse.de>
31570 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31572 2011-07-06 Marek Polacek <mpolacek@redhat.com>
31574 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31576 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31579 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31581 * Makefile (strop-tests): Add strncat.
31582 * string/test-strncat.c: New file.
31584 2011-06-30 Marek Polacek <mpolacek@redhat.com>
31586 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31588 2011-06-21 Andreas Jaeger <aj@suse.de>
31590 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31591 Copy rule from iconvdata/Makefile.
31593 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31596 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31597 but no long options are defined, just return 'W'.
31599 2011-06-22 Marek Polacek <mpolacek@redhat.com>
31602 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31604 2011-07-06 Ulrich Drepper <drepper@gmail.com>
31606 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31608 (innetgr): Likewise.
31610 2011-07-05 Roland McGrath <roland@hack.frob.com>
31612 * config.make.in (install_root): Default to $(DESTDIR).
31614 2011-07-05 Ulrich Drepper <drepper@gmail.com>
31616 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31618 2011-07-02 Roland McGrath <roland@hack.frob.com>
31620 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31622 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31623 containing directory rather than embedding absolute directory names.
31625 * scripts/check-local-headers.sh: Rewritten using awk.
31626 Match by word, not by line. Print error messages for matches.
31627 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31629 * Makerules [shlib-lds-flags empty]:
31630 ($(common-objpfx)libc_pic.opts): New target.
31631 ($(common-objpfx)libc_pic.os.clean): New target.
31632 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31634 * config.make.in (OBJCOPY): New variable.
31635 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31636 * configure: Regenerated.
31638 * config.make.in (use-default-link): New variable.
31639 * configure.in (use_default_link): Grok --with-default-link to set it.
31640 * configure: Regenerated.
31641 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31642 (shlib-lds, shlib-lds-flags): Define to empty.
31644 * Makerules (shlib-lds): New variable.
31645 (shlib-lds-flags): New variable.
31646 (build-shlib, build-moduile, build-module-asneeded): Use it.
31647 ($(common-objpfx)libc.so): Use $(shlib-lds).
31648 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31649 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31651 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31652 DT_FLAGS/DT_FLAGS_1 with zero flags.
31654 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31655 linker script munging.
31657 2011-07-02 Ulrich Drepper <drepper@gmail.com>
31659 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31661 * crypt/sha512.c (sha512_process_block): Perform total addition using
31662 128-bit if possible.
31663 (__sha512_finish_ctx): Likewise.
31664 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31666 * crypt/sha256.c (SWAP64): Define.
31667 (sha256_process_block): Perform total addition using 64-bit if
31669 (__sha256_finish_ctx): Likewise.
31671 2011-07-01 Ulrich Drepper <drepper@gmail.com>
31673 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31674 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31675 * nscd/hstcache.c (cache_addhst): Likewise.
31676 * nscd/grpcache.c (cache_addgr): Likewise.
31677 * nscd/aicache.c (addhstaiX): Likewise
31678 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31680 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
31682 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31683 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31684 * nscd/hstcache.c (cache_addhst): Likewise.
31685 * nscd/grpcache.c (cache_addgr): Likewise.
31686 * nscd/aicache.c (addhstaiX): Likewise
31688 2011-07-01 Andreas Schwab <schwab@redhat.com>
31690 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31691 domain only when needed.
31693 2011-06-30 Andreas Schwab <schwab@redhat.com>
31695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31696 is always restored.
31698 2011-06-29 Ulrich Drepper <drepper@gmail.com>
31700 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31701 are re-adding the entry.
31702 * nscd/servicescache.c (cache_addserv): Likewise.
31704 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31706 * sysdeps/generic/dl-irel.h: fix protection against multiple
31708 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31710 2011-06-28 Ulrich Drepper <drepper@gmail.com>
31713 * malloc/memusage.sh: Fix quoting in message.
31714 * debug/xtrace.sh: Likewise.
31716 * configure.in: Remove support for --experimental-malloc option, make
31718 * config.make.in: Likewise.
31719 * malloc/Makefile: Likewise.
31721 2011-06-27 Andreas Schwab <schwab@redhat.com>
31723 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31724 two-byte characters.
31726 2011-06-27 Roland McGrath <roland@hack.frob.com>
31728 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31729 AC_CACHE_CHECK invocation.
31730 * configure: Regenerated.
31732 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31734 2011-06-27 Ulrich Drepper <drepper@gmail.com>
31737 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31738 bit from old_res_options.
31740 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31742 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31743 value type for setfct.
31745 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31747 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31748 __gettimeofday instead of gettimeofday.
31750 2011-06-26 Ulrich Drepper <drepper@gmail.com>
31752 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31754 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31756 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31761 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31764 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31765 strcpy-sse2-unaligned strncpy-sse2-unaligned
31766 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31767 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31768 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31769 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31770 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31771 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31772 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31773 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31774 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31775 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31776 (STRCPY): Support SSE2 and SSSE3 versions.
31778 2011-06-24 Ulrich Drepper <drepper@gmail.com>
31781 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31782 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31783 kernels which artificially limit size of requests.
31785 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31788 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31789 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31790 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31791 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31792 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31793 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31794 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31795 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31796 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31797 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31798 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31799 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31800 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31801 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31803 Enable unaligned load optimization for Intel Core i3, i5 and i7
31805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31807 (index_Fast_Unaligned_Load): Define.
31808 (HAS_FAST_UNALIGNED_LOAD): Define.
31810 2011-06-23 Marek Polacek <mpolacek@redhat.com>
31812 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31814 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31817 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31818 until it is clear that the information is realy needed.
31819 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31821 2011-06-22 Andreas Schwab <schwab@redhat.com>
31823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31825 2011-06-22 Ulrich Drepper <drepper@gmail.com>
31827 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31828 /sys/devices/system/cpu/online if it is usable.
31830 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31831 reading the information from the /proc filesystem to once a second.
31833 2011-06-21 Andreas Jaeger <aj@suse.de>
31835 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31836 NULL after inclusion of kernel headers.
31838 2011-06-21 Ulrich Drepper <drepper@gmail.com>
31840 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31841 calls to internal_setent.
31844 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31845 addresses using gethostbyname4_r ignore IPv4 addresses.
31847 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31848 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31850 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31852 2011-06-20 David S. Miller <davem@davemloft.net>
31854 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31856 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31858 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31859 (elf_irel): Use it.
31860 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31861 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31862 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31863 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31864 * sysdeps/x86_64/dl-irel.h: Likewise.
31866 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31867 * elf/dl-sym.c: Likewise.
31869 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31871 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31872 need to dereference resplen2.
31874 2011-06-14 Andreas Schwab <schwab@redhat.com>
31876 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31878 2011-06-15 Ulrich Drepper <drepper@gmail.com>
31880 * Makeconfig: Define vardbdir and inst_vardbdir.
31881 * nss/Makefile: Add rules to install db-Makefile.
31883 * nss/nss_db/db-XXX.c: Cleanup.
31885 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31886 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31888 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31889 * nss/makedb.c: Implement -g option to specify that value strings
31890 are generated and should not be added to table iterated over for
31892 * nss/nss_db/db-initgroups.c: New file.
31894 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31897 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31898 (internal_getgrouplist): Adjust to name change.
31899 Update use_initgroups_entry if this is not the first call.
31900 * nss/databases.def: Add initgroups entry.
31902 * nss/makedb.c (compute_tables): Check result of multiple hash table
31903 sizes to minimize maximum chain length.
31905 2011-06-14 Ulrich Drepper <drepper@gmail.com>
31907 * Versions.def: Add entry for libnss_db.
31908 * shlib-versions: Likewise.
31909 * nss/Makefile: Add rules to build libnss_db.
31910 * nss/Versions: Add libnss_db information. Organize libnss_files
31912 * nss/db-Makefile: Add gshadow support. Change rules for the new
31913 makedb progra. Some minor improvements to generate smaller files.
31914 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31916 * nss/makedb.c: ...here.
31917 Improve database format to be smaller and require less memory at
31919 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31921 * nss/nss_db/db-netgrp.c: Likewise.
31922 * nss/nss_db/db-open.c: Likewise.
31923 * nss/nss_files/flies-XXX.x: Adjust comments.
31924 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31925 * nss/nss_files/files-grp.c: Likewise.
31926 * nss/nss_files/files-hosts.c: Likewise.
31927 * nss/nss_files/files-network.c: Likewise.
31928 * nss/nss_files/files-proto.c: Likewise.
31929 * nss/nss_files/files-pwd.c: Likewise.
31930 * nss/nss_files/files-rpc.c: Likewise.
31931 * nss/nss_files/files-service.c: Likewise.
31932 * nss/nss_files/files-sgrp.c: Likewise.
31933 * nss/nss_files/files-spwd.c: Likewise.
31934 * nss/nss_db/db-alias.c: Removed.
31935 * nss/nss_db/dummy-db.h: Removed.
31937 2011-06-02 Ulrich Drepper <drepper@gmail.com>
31939 * nss/makedb.c: Rewritten to not use database library.
31940 * nss/Makefile: Update to build new makedb program.
31942 2011-06-14 Andreas Jaeger <aj@suse.de>
31944 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31945 memset declaration.
31947 2011-06-10 Andreas Schwab <schwab@redhat.com>
31949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31952 2011-06-10 Roland McGrath <roland@hack.frob.com>
31954 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31955 * elf/Makefile ($(objpfx)ld.so): Likewise.
31957 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31958 Don't list ld.so twice in dependencies.
31960 * posix/bug-regex31.c: Include <stdlib.h>.
31962 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31964 * nis/nss_compat/compat-spwd.c
31965 (getspent_next_nss_netgr): Remove unused variable.
31966 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31968 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31969 nonmembers" output to use the right array.
31971 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31973 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31975 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31976 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31977 * catgets/gencat.c (read_input_file): Likewise.
31978 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31980 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31981 variable definition inside #if's controlling its use.
31983 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31985 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31987 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31989 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31992 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31994 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31995 * configure: Regenerated.
31997 * Makerules: Revert last change.
31998 * elf/Makefile: Likewise.
32000 2011-06-09 Roland McGrath <roland@hack.frob.com>
32002 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32003 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32004 (reloc-link): Likewise.
32006 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32008 * elf/Makefile: Add rules to build pldd.
32009 * elf/pldd.c: New file.
32010 * elf/pldd-xx.c: New file.
32012 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32014 * version.h: Update for 2.15 development version.
32016 2011-06-07 David S. Miller <davem@davemloft.net>
32018 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32020 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32021 elf_machine_lazy_rel): Likewise.
32022 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32023 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32024 elf_machine_lazy_rel): Likewise.
32025 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32026 dl_hwcap via passed in argument.
32027 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32030 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32032 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32034 2011-06-06 Roland McGrath <roland@hack.frob.com>
32037 * manual/fdl-1.1.texi: New file, verbatim from:
32038 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32039 * manual/lgpl-2.1.texi: New file, verbatim from:
32040 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32041 * manual/Makefile (licenses): New variable, list those new file names.
32043 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32045 * manual/fdl.texi: File removed.
32046 * manual/lesser.texi: File removed.
32047 * manual/libc.texinfo (Copying, Documentation License):
32048 Use new @include file names, put @appendix directive before @include.
32050 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32053 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32054 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32055 (mq_open): Add __NTH.
32057 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32060 Assume Intel Core i3/i5/i7 processor if AVX is available.
32062 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32067 2011-05-31 Andreas Schwab <schwab@redhat.com>
32069 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32070 memory. Use alloca_account. Fix memory leak when retrying.
32072 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32074 * version.h (RELEASE): Bump for 2.14 release.
32075 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32077 * config.make.in (RANLIB): Remove entry.
32079 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32081 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32082 (libc.pot): Work around missing support for .ksh extension in xgettext.
32085 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32086 if both request failed.
32087 (send_dg): In case of server errors clear resplen or *resplen2.
32090 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32091 when there are multiple maps.
32092 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32093 (_dl_fini): Remove test here.
32095 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32097 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32100 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32101 bit from old_res_options.
32102 (gaih_inet): Likewise.
32105 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32108 * resolv/res_init.c (res_setoptions): Make the code more compact.
32111 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32115 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32117 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32120 * malloc/malloc.h: Declare malloc hook variables as volatile.
32122 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32126 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32127 raise in the comment.
32128 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32129 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32130 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32132 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32135 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32136 grow the buffers more if it already has to be sufficient.
32137 (build_wcs_upper_buffer): Likewise.
32138 * posix/regexec.c (check_matching): Likewise.
32139 (clean_state_log_if_needed): Likewise.
32140 (extend_buffers): Don't enlarge buffers beyond size of the input
32142 Patches mostly by Emil Wojak <emil@wojak.eu>.
32143 * posix/bug-regex32.c: New file.
32144 * posix/Makefile (tests): Add bug-regex32.
32146 * locale/findlocale.c (_nl_find_locale): Return right away if
32147 _nl_explode_name failed.
32148 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32150 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32152 * debug/xtrace.sh: Unify messages.
32153 * malloc/memusage.sh: Likewise.
32156 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32157 time symbol from vDSO. Substitute with vsyscall if not available.
32158 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32161 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32162 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32163 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32164 Add sendmmsg and internal_sendmmsg.
32165 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32166 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32167 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32169 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32170 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32171 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32173 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32176 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32177 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32179 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32183 * iconvdata/Makefile (tests): Add bug-iconv9.
32184 * iconvdata/bug-iconv9.c: New file.
32186 2011-05-27 Andreas Schwab <schwab@redhat.com>
32189 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32191 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32194 (struct user_regs_struct): Change intcs field back to cs.
32196 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32198 * po/ja.po: Update from translation team.
32200 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32203 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32204 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32206 2011-05-20 Andreas Schwab <schwab@redhat.com>
32208 * stdlib/longlong.h: Update from GCC.
32210 2011-05-23 Andreas Schwab <schwab@redhat.com>
32212 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32214 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32215 Add parameter name.
32216 (__sysconf): Pass it down.
32218 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32221 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32223 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32224 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32225 add in in __libc_use_alloca calls. Adjust callers.
32226 (glob): Use malloc in some situations.
32228 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32229 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32232 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32234 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32235 and CLOCK_BOOTTIME_ALARM.
32238 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32241 * string/_strerror.c (__strerror_r): Print negative errors as signed
32245 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32246 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32247 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32249 * configure.in: Fix typo in redirection and correct removal of test
32250 files in two cases.
32253 * locale/setlocale.c (new_composite_name): Fix test to check for
32254 identical name of all categories.
32257 * libio/filedoalloc.c (local_isatty): New function.
32258 (_IO_file_doallocate): Use local_isatty.
32259 * stdio-common/perror.c (perror): In case a new stream is used
32260 forward the stream error.
32261 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32264 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32269 * include/alloca.h (extend_alloca_account): Define.
32272 * posix/regex.h: Fix comments with documentation of user-accessible
32273 fields after compilation and describe correct free'ing of pattern
32274 after re_compile_pattern.
32275 Patch by Reuben Thomas <rrt@sc3d.org>.
32277 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32279 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32280 and -mno-altivec to prevent the compiler from using Altivec and/or
32281 VSX instructions when the corresponding registers are not available.
32283 2011-05-19 Andreas Schwab <schwab@redhat.com>
32285 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32287 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32289 * libio/freopen.c (freopen): Use __dup2, not dup2.
32290 * libio/freopen64.c (freopen64): Likewise.
32292 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32295 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32296 * math/Makefile (tests): Add test-powl.
32297 (CFLAGS-test-powl.c): Define.
32298 * math/test-powl.c: New file.
32300 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32302 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32304 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32307 * iconvdata/gb18030.c: Update to GB18020-2005.
32309 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32311 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32312 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32313 Patch by Aharon Robbins <arnold@skeeve.com>.
32316 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32320 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32321 through underflows.
32324 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32325 point to strings before performing equality test for error_one_per_line
32329 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32332 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32333 (struct user_fpregs_struct): Avoid __uint*_t types.
32336 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32337 symbol info. Use it instead of calling _dl_addr locally.
32338 (lock_and_info): New function.
32339 (tr_freehook): Call lock_and_info and pass symbol info as additional
32340 parameter to tr_where.
32341 (tr_mallochook): Likewise.
32342 (tr_reallochook): Likewise.
32343 (tr_memalignhook): Likewise.
32345 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32346 used and couldn't be at all thread-safe.
32348 2011-05-15 Ulrich Drepper <drepper@gmail.com>
32350 * libio/freopen.c (freopen): Don't close old file descriptor
32351 before the new one is opened. Instead dup the new file descriptor
32352 to the old one after the new stream is created.
32353 * libio/freopen64.c (freopen64): Likewise.
32354 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32355 * libio/fileops.c (_IO_new_file_close_it): Handle new
32356 _IO_FLAGS2_NOCLOSE flag.
32357 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32358 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32359 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32360 _IO_FLAGS2_NOCLOSE flag.
32361 * include/unistd.h: Add hidden_proto for dup3.
32362 Define __have_dup3.
32363 * io/dup3.c: Define hidden symbol.
32364 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32367 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32368 when an incomplete long option is used.
32369 * posix/tst-getopt_long1.c: New file.
32370 * posix/Makefile (tests): Add tst-getopt_long1.
32373 * scripts/config.guess: Update from autoconf-2.68.
32374 * scripts/config.sub: Likewise.
32377 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32379 (has_cpuclock): ...this. New function.
32380 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32381 macro here based on has_cpuclock code.
32384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32385 First byte (not low byte) is now always NUL.
32386 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32389 Use non-cancelable interfaces.
32392 * locale/iso-639.def: Add entry for Sorani.
32395 * include/stdlib.h: Move include protection to the right place.
32396 Define abort_msg_s. Declare __abort_msg with it.
32397 * stdlib/abort.c (__abort_msg): Adjust type.
32398 * assert/assert.c (__assert_fail_base): New function. Majority
32399 of code from __assert_fail. Allocate memory for __abort_msg with
32401 (__assert_fail): Now call __assert_fail_base.
32402 * assert/assert-perr.c: Remove bulk of implementation. Use
32403 __assert_fail_base.
32404 * include/assert.hL Declare __assert_fail_base.
32405 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32407 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32409 2011-05-14 Ulrich Drepper <drepper@gmail.com>
32413 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32414 until all modules are registered in the DTV.
32415 * elf/Makefile: Add rules to build and run tst-tls19.
32416 * elf/tst-tls19.c: New file.
32417 * elf/tst-tls19mod1.c: New file.
32418 * elf/tst-tls19mod2.c: New file.
32419 * elf/tst-tls19mod3.c: New file.
32420 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32423 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32427 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32428 two-byte sequence errors.
32429 * iconvdata/Makefile (tests): Add bug-iconv8.
32430 * iconvdata/bug-iconv8.c: New file.
32433 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32436 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32439 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32440 (dummy_getcfa): New function.
32441 (init): Get _Unwind_GetCFA address, use dummy if not found.
32442 (backtrace_helper): In recursion check, also check whether CFA changes.
32443 (__backtrace): Completely initialize arg.
32445 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
32446 storing incomplete byte sequence in state object. Avoid testing for
32447 guaranteed too small input if we know there is enough data available.
32449 2011-05-11 Andreas Schwab <schwab@redhat.com>
32451 * Makeconfig (+link-pie): Indent.
32452 * Rules (binaries-pie): Define if $(have-fpie) and
32454 (binaries-shared): Also filter out $(binaries-pie).
32455 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32456 * nscd/Makefile (others-pie): Add nscd.
32457 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32458 ($(objpfx)nscd): Remove command override.
32459 * login/Makefile (others-pie): Add pt_chown.
32460 ($(objpfx)pt_chown): Remove command override.
32461 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32462 remove command overrides.
32464 2011-05-13 Ulrich Drepper <drepper@gmail.com>
32466 * libio/tst_putwc.c: Fix error messages.
32469 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32470 currently writing and seek to current position when not.
32471 * libio/Makefile (tests): Add bug-fclose1.
32472 * libio/bug-fclose1.c: New file.
32474 2011-05-12 Ulrich Drepper <drepper@gmail.com>
32477 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32478 don't set DF_1_NODELETE here.
32479 (do_lookup_x): When entering new entry test for copy relocation
32480 and if necessary set DF_1_NODELETE flag.
32481 * elf/tst-unique4.cc: New file.
32482 * elf/tst-unique4.h: New file.
32483 * elf/tst-unique4lib.cc: New file.
32484 * elf/Makefile: Add rules to build and run tst-unique4.
32485 Patch by Piotr Bury <pbury@goahead.com>.
32487 2011-05-11 Ulrich Drepper <drepper@gmail.com>
32490 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32493 * misc/mntent_r.c (addmntent): Flush the stream after the output
32496 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32497 (is_trusted_path_normalize): Skip initial colon. Append slash
32498 to empty buffer. Duplicate is_trusted_path code but allow
32499 constructed patch to be prefix.
32500 (is_dst): Allow $ORIGIN followed by /.
32501 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32502 Correct testing of result of is_trusted_path_normalize
32503 (decompose_rpath): Fix warning.
32505 2011-05-10 Ulrich Drepper <drepper@gmail.com>
32508 * grp/initgroups.c (internal_getgrouplist): When we found the service
32509 list through the initgroups entry in nsswitch.conf do not always
32510 continue on a successful lookup. Don't always use the
32511 __nss_group_database value if it is set.
32512 * nss/nsswitch.conf (initgroups): Change action for successful db
32513 lookup to continue for compatibility.
32515 2011-05-09 Ulrich Drepper <drepper@gmail.com>
32518 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32520 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32522 * iconvdata/tst-tables.sh: Likewise.
32523 * iconvdata/cp770.c: New file.
32524 * iconvdata/cp771.c: New file.
32525 * iconvdata/cp772.c: New file.
32526 * iconvdata/cp773.c: New file.
32527 * iconvdata/cp774.c: New file.
32528 * iconvdata/testdata/CP770: New file.
32529 * iconvdata/testdata/CP770..UTF8: New file.
32530 * iconvdata/testdata/CP771: New file.
32531 * iconvdata/testdata/CP771..UTF8: New file.
32532 * iconvdata/testdata/CP772: New file.
32533 * iconvdata/testdata/CP772..UTF8: New file.
32534 * iconvdata/testdata/CP773: New file.
32535 * iconvdata/testdata/CP773..UTF8: New file.
32536 * iconvdata/testdata/CP774: New file.
32537 * iconvdata/testdata/CP774..UTF8: New file.
32539 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32541 * iconvdata/gen-8bit-gap.sh: Likewise.
32542 * iconvdata/gen-8bit.sh: Likewise.
32544 * locale/iso-639.def: Add ary entry.
32547 * locale/C-translit.h.in: Add U20A1 transliteration.
32550 * locale/iso-639.def: Add wae entry.
32551 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32554 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32558 * locale/C-translit.h.in: Add entry for U20B9.
32559 Patch by pravin.d.s@gmail.com.
32561 2011-05-08 Ulrich Drepper <drepper@gmail.com>
32564 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32565 ENAMETOOLONG use generic getcwd.
32566 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32567 in rtld. Use *stat64.
32568 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
32569 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
32570 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
32571 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32572 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32573 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32574 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32575 __fstatat64 macros.
32576 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32577 * dirent/rewinddir.c: Add libc_hidden_def.
32578 * sysdeps/mach/hurd/rewinddir.c: Likewise.
32579 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
32581 * include/dirent.h (__alloc_dir): Add flags parameter.
32582 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32583 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32585 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32586 from fdopendir if O_CLOEXEC is already set.
32588 2011-03-15 Alan Modra <amodra@gmail.com>
32590 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32591 l_tls_firstbyte_offset non-zero. Save padding offset in
32592 l_tls_firstbyte_offset for later use.
32593 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32594 freeing static tls block.
32596 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32598 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32599 where #ifdef was intended. The intent is to prevent ARG_MAX from
32600 being defined by the kernel headers.
32602 2011-05-07 Ulrich Drepper <drepper@gmail.com>
32605 * resolv/resolv.h: Define RES_NOTLDQUERY.
32606 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32607 no-tld-query and set RES_NOTLDQUERY.
32608 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32609 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32610 modern BIND to search name as TLD unless forbidden.
32612 2011-05-07 Petr Baudis <pasky@suse.cz>
32613 Ulrich Drepper <drepper@gmail.com>
32616 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32617 (is_trusted_path): ...to here.
32618 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
32619 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
32620 using is_trusted_path_normalize() in setuid scripts.
32622 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32624 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32625 __BEGIN/__END_DECLS.
32627 2011-05-06 Ulrich Drepper <drepper@gmail.com>
32629 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32630 NSS_STATUS_NOTFOUND if no record was found.
32632 2011-05-05 Andreas Schwab <schwab@redhat.com>
32634 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32635 (headers-not-in-tirpc): Remove rpc/netdb.h
32636 * resolv/netdb.h: Revert last change.
32638 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32640 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32641 circular dependency between libgcc.a and libc.a.
32643 2011-05-05 Andreas Schwab <schwab@redhat.com>
32645 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32646 * nis/Makefile: Don't install rpcsvc/*.
32647 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32648 instead of <rpc/types.h>.
32649 (MAXHOSTNAMELEN): Define.
32651 2011-05-03 Andreas Schwab <schwab@redhat.com>
32653 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32655 2011-04-28 Maciej Babinski <mbabinski@google.com>
32658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32659 gethostbyname4_r when IPv6 results are possible.
32661 2011-05-02 Ulrich Drepper <drepper@gmail.com>
32664 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32665 _PC_PIPE_BUF handling.
32667 2011-04-30 Bruno Haible <bruno@clisp.org>
32670 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32671 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32673 * inet/getnameinfo.c (getnameinfo): Likewise.
32675 2011-04-29 Ulrich Drepper <drepper@gmail.com>
32677 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32678 to groups setting in database lookup.
32679 * nss/nsswitch.conf: Add initgroups entry.
32681 2011-04-22 Ulrich Drepper <drepper@gmail.com>
32684 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32686 Patch by Eric Blake <eblake@redhat.com>.
32688 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32690 * sunrpc/Makefile (need-export-routines): Add svc_run.
32691 (routines): Remove svc_run.
32692 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32693 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32694 * sunrpc/svc_run.c (svc_run): Likewise.
32695 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32697 2011-04-21 Ulrich Drepper <drepper@gmail.com>
32699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32700 problem in reallocation in last patch.
32702 2011-04-20 Ulrich Drepper <drepper@gmail.com>
32704 * sunrpc/Makefile: Move inclusion of Rules.
32706 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32708 * nss/nss_files/files-initgroups.c: New file.
32709 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32710 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32711 _nss_files_initgroups_dyn.
32713 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32715 * elf/elf.h (R_ARM_IRELATIVE): Define.
32717 2011-04-19 Ulrich Drepper <drepper@gmail.com>
32719 * po/ru.po: Update from translation team.
32721 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32723 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32726 2011-02-06 Mike Frysinger <vapier@gentoo.org>
32729 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32730 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32731 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32732 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32733 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32735 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32737 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32739 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32740 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32741 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32743 2011-04-17 Ulrich Drepper <drepper@gmail.com>
32746 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32748 * stdlib/bug-getcontext.c: New file.
32749 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32751 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32753 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32754 instructions into .machine "z9-109".
32755 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32756 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32758 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32760 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32761 between environment variables and auxiliary vector.
32763 2011-04-16 Ulrich Drepper <drepper@gmail.com>
32765 * Makefile: Add rules to build linkobj/libc.so.
32766 * include/libc-symbols.h: Define libc_hidden_nolink.
32767 * include/rpc/auth.h: Mark functions which are to be hidden.
32768 * include/rpc/auth_des.h: Likewise.
32769 * include/rpc/auth_unix.h: Likewise.
32770 * include/rpc/clnt.h: Likewise.
32771 * include/rpc/des_crypt.h: Likewise.
32772 * include/rpc/key_prot.h: Likewise.
32773 * include/rpc/pmap_clnt.h: Likewise.
32774 * include/rpc/pmap_prot.h: Likewise.
32775 * include/rpc/pmap_rmt.h: Likewise.
32776 * include/rpc/rpc_msg.h: Likewise.
32777 * include/rpc/svc.h: Likewise.
32778 * include/rpc/svc_auth.h: Likewise.
32779 * include/rpc/xdr.h: Likewise.
32780 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32781 * nss/Makefile: Likewise.
32782 * sunrpc/Makefile: Don't install headers. Build library with normal
32783 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32784 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32785 for the compat linking library. Remove use of INTDEF/INTUSE.
32786 * sunrpc/auth_none.c: Likewise.
32787 * sunrpc/auth_unix.c: Likewise.
32788 * sunrpc/authdes_prot.c: Likewise.
32789 * sunrpc/authuxprot.c: Likewise.
32790 * sunrpc/clnt_gen.c: Likewise.
32791 * sunrpc/clnt_perr.c: Likewise.
32792 * sunrpc/clnt_raw.c: Likewise.
32793 * sunrpc/clnt_simp.c: Likewise.
32794 * sunrpc/clnt_tcp.c: Likewise.
32795 * sunrpc/clnt_udp.c: Likewise.
32796 * sunrpc/clnt_unix.c: Likewise.
32797 * sunrpc/des_crypt.c: Likewise.
32798 * sunrpc/des_soft.c: Likewise.
32799 * sunrpc/get_myaddr.c: Likewise.
32800 * sunrpc/key_call.c: Likewise.
32801 * sunrpc/key_prot.c: Likewise.
32802 * sunrpc/netname.c: Likewise.
32803 * sunrpc/pm_getmaps.c: Likewise.
32804 * sunrpc/pm_getport.c: Likewise.
32805 * sunrpc/pmap_clnt.c: Likewise.
32806 * sunrpc/pmap_prot.c: Likewise.
32807 * sunrpc/pmap_prot2.c: Likewise.
32808 * sunrpc/pmap_rmt.c: Likewise.
32809 * sunrpc/publickey.c: Likewise.
32810 * sunrpc/rpc_cmsg.c: Likewise.
32811 * sunrpc/rpc_common.c: Likewise.
32812 * sunrpc/rpc_dtable.c: Likewise.
32813 * sunrpc/rpc_prot.c: Likewise.
32814 * sunrpc/rpc_thread.c: Likewise.
32815 * sunrpc/rtime.c: Likewise.
32816 * sunrpc/svc.c: Likewise.
32817 * sunrpc/svc_auth.c: Likewise.
32818 * sunrpc/svc_authux.c: Likewise.
32819 * sunrpc/svc_raw.c: Likewise.
32820 * sunrpc/svc_run.c: Likewise.
32821 * sunrpc/svc_simple.c: Likewise.
32822 * sunrpc/svc_tcp.c: Likewise.
32823 * sunrpc/svc_udp.c: Likewise.
32824 * sunrpc/svc_unix.c: Likewise.
32825 * sunrpc/svcauth_des.c: Likewise.
32826 * sunrpc/xcrypt.c: Likewise.
32827 * sunrpc/xdr.c: Likewise.
32828 * sunrpc/xdr_array.c: Likewise.
32829 * sunrpc/xdr_float.c: Likewise.
32830 * sunrpc/xdr_intXX_t.c: Likewise.
32831 * sunrpc/xdr_mem.c: Likewise.
32832 * sunrpc/xdr_rec.c: Likewise.
32833 * sunrpc/xdr_ref.c: Likewise.
32834 * sunrpc/xdr_sizeof.c: Likewise.
32835 * sunrpc/xdr_stdio.c: Likewise.
32837 2011-04-10 Ulrich Drepper <drepper@gmail.com>
32840 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32841 * sysdeps/ia64/dl-tls.h: Likewise.
32842 * sysdeps/powerpc/dl-tls.h: Likewise.
32843 * sysdeps/s390/dl-tls.h: Likewise.
32844 * sysdeps/sh/dl-tls.h: Likewise.
32845 * sysdeps/sparc/dl-tls.h: Likewise.
32846 * sysdeps/x86_64/dl-tls.h: Likewise.
32847 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32849 2011-03-14 Andreas Schwab <schwab@redhat.com>
32851 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32852 rpath element also skip the following colon.
32853 (expand_dynamic_string_token): Add is_path parameter and pass
32854 down to DL_DST_REQUIRED and _dl_dst_substitute.
32855 (decompose_rpath): Call expand_dynamic_string_token with
32856 non-zero is_path. Ignore empty rpaths.
32857 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32860 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32865 2011-04-09 Ulrich Drepper <drepper@gmail.com>
32868 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32869 Patch by Filipe David Manana <fdmanana@apache.org>.
32871 2011-04-07 Andreas Schwab <schwab@redhat.com>
32873 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32874 Maintain aligned stack.
32875 (CHECK_RSP): Remove unused macro.
32877 2011-04-03 Ulrich Drepper <drepper@gmail.com>
32879 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32880 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32882 2011-04-02 Ulrich Drepper <drepper@gmail.com>
32884 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32886 * include/features.h: Mention __USE_XOPEN2K8 in comment.
32888 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32891 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32892 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32893 * sysdeps/x86_64/memmove.c: New file.
32894 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32895 (memcpy): Renamed to ...
32896 (__new_memcpy): This.
32897 (memcpy): Provide GLIBC_2_14 memcpy.
32898 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32899 (memcpy): Provide GLIBC_2_2_5 memcpy.
32901 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32904 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32906 2011-03-30 Andreas Schwab <schwab@redhat.com>
32908 * misc/syncfs.c: New file.
32909 * misc/Makefile (routines): Add syncfs.
32910 * posix/unistd.h: Declare syncfs.
32911 * sysdeps/unix/syscalls.list: Add syncfs.
32913 2011-04-01 Andreas Schwab <schwab@redhat.com>
32915 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32917 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32918 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32919 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32920 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32922 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32923 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32925 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32927 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32928 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32929 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32931 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32933 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32935 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32936 sync_file_range.c with -fexceptions.
32937 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32938 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32939 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32940 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32941 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32942 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32943 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
32944 sync_file_range as cancellation point
32945 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32946 now a wrapper around __call_sync_file_range with cancellation handling.
32947 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32948 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32949 function name to __call_sync_file_range.
32950 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32951 Add call_sync_file_range.
32953 2011-04-01 Andreas Schwab <schwab@redhat.com>
32955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32958 2011-04-01 Ulrich Drepper <drepper@gmail.com>
32960 * iconv/iconv.h: Fix typo in comment.
32961 * io/fcntl.h: Likewise.
32962 * libio/stdio.h: Likewise.
32963 * posix/spawn.h: Likewise.
32964 * posix/unistd.h: Likewise.
32965 * stdlib/stdlib.h: Likewise.
32966 * time/time.h: Likewise.
32967 * wcsmbs/wchar.h: Likewise.
32969 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32970 open_by_handle): Add.
32971 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32972 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32973 Augment a few comments.
32974 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32976 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32978 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32979 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32982 * io/fcntl.h (AT_EMPTY_PATH): Define.
32984 2011-03-30 Ulrich Drepper <drepper@gmail.com>
32986 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32987 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32988 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32990 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
32991 * Versions.def: Add GLIBC_2.14.
32992 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32995 2011-03-22 Ulrich Drepper <drepper@gmail.com>
32997 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32999 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33001 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33004 * string/test-strncmp.c (do_page_test): New function.
33005 (check2): Likewise.
33006 (test_main): Call check2.
33007 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33009 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33012 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33013 Handle cache information in CPU leaf 4.
33014 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33016 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33019 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33020 character representation.
33021 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33023 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33025 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33026 END(__isnan) to END(__isnanf) to match function entry point/label
33027 EALIGN(__isnanf,...).
33029 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33031 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33033 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33036 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33037 copy from the symbol referenced in the relocation to initialize the
33039 Patch by Piotr Bury <pbury@goahead.com>.
33040 * elf/Makefile: Add rules to build and tst-unique3.
33041 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33042 * elf/tst-unique3.cc: New file.
33043 * elf/tst-unique3.h: New file.
33044 * elf/tst-unique3lib.cc: New file.
33045 * elf/tst-unique3lib2.cc: New file.
33047 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33049 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33051 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33052 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33055 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33057 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33058 to-be-loaded object along a path to loader is ld.so.
33060 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33061 Ulrich Drepper <drepper@gmail.com>
33063 * sysdeps/x86_64/memset.S: After aligning destination, code
33064 branches to different locations depending on the value of
33065 misalignment, when multiarch is enabled. Fix this.
33067 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33069 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33070 Set _x86_64_preferred_memory_instruction for AMD processsors.
33071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33072 Set bit_Prefer_SSE_for_memop for AMD processors.
33074 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33076 * libio/fmemopen.c (fmemopen): Optimize a bit.
33078 2011-03-03 Andreas Schwab <schwab@redhat.com>
33080 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33082 2011-03-03 Roland McGrath <roland@redhat.com>
33084 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33086 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33088 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33089 __bzero_ultra1 instead of __memset_ultra1.
33091 2011-02-23 Andreas Schwab <schwab@redhat.com>
33092 Ulrich Drepper <drepper@gmail.com>
33095 * include/link.h (struct link_map): Add l_orig_initfini.
33096 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33097 returning unsuccessfully.
33098 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33099 close of a file loaded at startup, restore the original l_initfini
33101 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33102 list, store the pointer.
33103 * elf/Makefile ($(objpfx)noload-mem): New rule.
33104 (noload-ENV): Define.
33105 (tests): Add $(objpfx)noload-mem.
33106 * elf/noload.c: Include <memcheck.h>.
33107 (main): Call mtrace. Close all opened handles.
33109 2011-02-17 Andreas Schwab <schwab@redhat.com>
33112 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33113 dependencies are missing.
33115 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33117 Fix __if_freereq crash: Unlike the generic version which uses free,
33119 * sysdeps/mach/hurd/ifreq.h: New file.
33121 2011-01-27 Petr Baudis <pasky@suse.cz>
33122 Ulrich Drepper <drepper@gmail.com>
33125 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33126 to extend_alloca().
33127 * stdio-common/bug23.c: New file.
33128 * stdio-common/Makefile (tests): Add bug23.
33130 2010-09-28 Andreas Schwab <schwab@redhat.com>
33131 Ulrich Drepper <drepper@gmail.com>
33134 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33135 before performing relro protection. At old place add assertion
33136 to make sure nothing changed.
33138 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33139 Glauber de Oliveira Costa <glommer@gmail.com>
33141 * elf/elf.h: Add new ARM TLS relocs.
33143 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33146 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33148 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33150 * sysdeps/wordsize-64/tst-writev.c: New file.
33152 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33154 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33155 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33156 insns in _dl_start to prevent a TOC reference before relocs are
33159 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33162 * Makeconfig: Remove RANLIB definition.
33163 * Makerules: Don't use RANLIB.
33164 * aclocal.m4: Remove ranlib test.
33165 * configure.in: No need to check for ranlib.
33166 * elf/rtld-Rules: Don't use RANLIB.
33168 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33170 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33172 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33173 inclusion protection macro.
33175 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33176 SIGRTMIN and SIGRTMAX and print information in that case only when
33177 SIGRTMIN is defined.
33179 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33181 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33182 arginfo fn returning -1.
33184 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33185 and thousands string is zero terminated.
33187 2011-02-03 Andreas Schwab <schwab@redhat.com>
33189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33190 sysdeps/unix/sysv/linux/bits/socket.h.
33192 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33194 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33195 (__CPU_COUNT): Remove old macros.
33196 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33197 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33198 (__CPU_ALLOC, __CPU_FREE): Add macros.
33199 (__sched_cpualloc, __sched_cpufree): Add declarations.
33201 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33203 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33204 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33205 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33206 (readdhstai): Return value of addhstaiX call.
33207 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33208 (addgrbyX): Return value returned by cache_addgr.
33209 (readdgrbyname): Return value returned by addgrbyX.
33210 (readdgrbygid): Likewise.
33211 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33212 (addpwbyX): Return value returned by cache_addpw.
33213 (readdpwbyname): Return value returned by addhstbyX.
33214 (readdpwbyuid): Likewise.
33215 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33216 (addservbyX): Return value returned by cache_addserv.
33217 (readdservbyname): Return value returned by addservbyX:
33218 (readdservbyport): Likewise.
33219 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33220 (addhstbyX): Return value returned by cache_addhst.
33221 (readdhstbyname): Return value returned by addhstbyX.
33222 (readdhstbyaddr): Likewise.
33223 (readdhstbynamev6): Likewise.
33224 (readdhstbyaddrv6): Likewise.
33225 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33226 (readdinitgroups): Return value returned by addinitgroupsX.
33227 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33228 (prune_cache): Keep track of timeout value of re-added entries.
33229 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33230 * nscd/nscd.h: Adjust prototypes of readd* functions.
33232 2011-02-04 Roland McGrath <roland@redhat.com>
33234 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33235 (nis_stats): Likewise.
33236 * nis/nis_modify.c (nis_modify): Likewise.
33237 * nis/nis_remove.c (nis_remove): Likewise.
33238 * nis/nis_add.c (nis_add): Likewise.
33240 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33242 * posix/fnmatch_loop.c: Add some consts.
33244 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33246 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33249 * config.make.in (config-cflags-novzeroupper): Define.
33250 * configure.in: Substitute libc_cv_cc_novzeroupper.
33251 * elf/Makefile (AVX-CFLAGS): Define.
33252 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33253 (CFLAGS-tst-auditmod4a.c): Likewise.
33254 (CFLAGS-tst-auditmod4b.c): Likewise.
33255 (CFLAGS-tst-auditmod6b.c): Likewise.
33256 (CFLAGS-tst-auditmod6c.c): Likewise.
33257 (CFLAGS-tst-auditmod7b.c): Likewise.
33258 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33260 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33262 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33263 function to the callback.
33264 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33266 2011-02-02 Andreas Schwab <schwab@redhat.com>
33268 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33271 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33274 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33276 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33278 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33281 * elf/Makefile: Add rules to build and run new test.
33282 * elf/tst-initorder.c: New file.
33283 * elf/tst-initorder.exp: New file.
33284 * elf/tst-initordera1.c: New file.
33285 * elf/tst-initordera2.c: New file.
33286 * elf/tst-initordera3.c: New file.
33287 * elf/tst-initordera4.c: New file.
33288 * elf/tst-initorderb1.c: New file.
33289 * elf/tst-initorderb2.c: New file.
33290 * elf/tst-order-a1.c: New file.
33291 * elf/tst-order-a2.c: New file.
33292 * elf/tst-order-a3.c: New file.
33293 * elf/tst-order-a4.c: New file.
33294 * elf/tst-order-b1.c: New file.
33295 * elf/tst-order-b2.c: New file.
33296 * elf/tst-order-main.c: New file.
33297 New test case by George Gensure <werkt0@gmail.com>.
33299 2010-10-01 Andreas Schwab <schwab@redhat.com>
33301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33302 decoding ACE if AI_CANONIDN.
33304 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33306 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33308 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33310 * version.h (RELEASE): Bump for 2.13 release.
33311 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33313 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33315 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33317 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33318 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33319 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33320 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33321 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33322 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33324 * posix/getconf.c: Update copyright year.
33325 * catgets/gencat.c: Likewise.
33326 * csu/version.c: Likewise.
33327 * debug/catchsegv.sh: Likewise.
33328 * debug/xtrace.sh: Likewise.
33329 * elf/ldconfig.c: Likewise.
33330 * elf/ldd.bash.in: Likewise.
33331 * elf/sprof.c (print_version): Likewise.
33332 * iconv/iconv_prog.c: Likewise.
33333 * iconv/iconvconfig.c: Likewise.
33334 * locale/programs/locale.c: Likewise.
33335 * locale/programs/localedef.c: Likewise.
33336 * malloc/memusage.sh: Likewise.
33337 * malloc/mtrace.pl: Likewise.
33338 * nscd/nscd.c (print_version): Likewise.
33339 * nss/getent.c: Likewise.
33341 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33342 PF_CAIF, and PF_ALG.
33343 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33345 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33347 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33348 (modules-names): Use them.
33349 (ifunc-test-modules, ifunc-pie-tests): Define.
33350 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33351 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33352 (test-extras): Likewise.
33353 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33354 $(compile-command.c).
33355 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33356 (all-built-dso): Define.
33357 (check-textrel.out, check-execstack.out): Depend on it.
33359 * configure.in: Don't override --enable-multi-arch.
33361 2011-01-15 Ulrich Drepper <drepper@gmail.com>
33364 * nscd/hstcache.c (tryagain): Define.
33365 (cache_addhst): Return tryagain not notfound for temporary errors.
33366 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33369 2011-01-14 Ulrich Drepper <drepper@gmail.com>
33372 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33373 to make the syscall.
33374 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33377 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33378 and fall back to matching as normal character if the string ends before
33379 the matching ']' is found. This is what POSIX requires.
33380 * posix/testfnm.c: Adjust test result.
33381 * posix/globtest.sh: Adjust test result. Add new test.
33382 * posix/tst-fnmatch.input: Likewise.
33383 * posix/tst-fnmatch2.c: Add new test.
33385 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33387 * elf/Makefile (check-execstack): Revert last change. Depend on
33389 (check-execstack.h): New target.
33390 (generated): Add check-execstack.h.
33391 * elf/check-execstack.c: Include "check-execstack.h".
33392 (main): Revert last change.
33393 (handle_file): Return zero if GNU_STACK is absent and
33394 DEFAULT_STACK_PERMS doesn't include PF_X.
33396 2011-01-13 Ulrich Drepper <drepper@gmail.com>
33398 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33399 in child fails because the descriptor is already closed.
33400 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33401 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33402 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
33405 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33409 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33410 temporary buffer used to handle multi lookups locally.
33411 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
33413 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33415 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33418 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33420 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33421 alignment for SSE2.
33423 2011-01-12 Ulrich Drepper <drepper@gmail.com>
33426 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33427 characters. When rounding increased number of integer digits recompute
33429 * stdio-common/tst-grouping.c: New file.
33430 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33432 2011-01-09 Ulrich Drepper <drepper@gmail.com>
33434 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33435 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33437 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33439 * bits/select.h: Likewise.
33441 2011-01-08 Ulrich Drepper <drepper@gmail.com>
33443 * po/ja.po: Update from translation team.
33445 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
33448 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33449 implementation just like for lxstat, fxstatat, et al.
33451 2010-12-27 Jim Meyering <meyering@redhat.com>
33454 * posix/regexec.c (build_trtable): Return failure indication upon
33455 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33457 2010-12-25 Ulrich Drepper <drepper@gmail.com>
33460 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33461 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33462 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33463 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33466 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33469 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33470 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33472 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33474 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33475 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33476 script has SORT_BY_INIT_PRIORITY.
33477 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33478 NO_CTORS_DTORS_SECTIONS is defined.
33479 * elf/soinit.c: Likewise.
33480 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33481 NO_CTORS_DTORS_SECTIONS is defined.
33482 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33483 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33484 * sysdeps/sh/init-first.c: Likewise.
33485 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33487 2010-12-24 Ulrich Drepper <drepper@gmail.com>
33489 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33490 always use the slow path.
33492 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33494 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33495 similar rule which adds the sysdep directories to the header search in
33496 order to pick up the correct platform stackinfo.h.
33497 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33498 perform test if it is, otherwise return successfully without testing.
33499 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33500 DEFAULT_STACK_PERMS define in stackinfo.h.
33501 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33502 defined in stackinfo.h.
33503 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33504 DEFAULT_STACK_PERMS defined in stackinfo.h.
33505 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33506 * sysdeps/ia64/stackinfo.h: Likewise.
33507 * sysdeps/s390/stackinfo.h: Likewise.
33508 * sysdeps/sh/stackinfo.h: Likewise.
33509 * sysdeps/sparc/stackinfo.h: Likewise.
33510 * sysdeps/x86_64/stackinfo.h: Likewise.
33511 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33512 PF_X for powerpc64. Retain PF_X for powerpc32.
33514 2010-12-19 Ulrich Drepper <drepper@gmail.com>
33516 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33518 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33519 GETDENTS_64BIT_ALIGNED.
33521 2010-12-14 Ulrich Drepper <dreper@gmail.com>
33523 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
33525 2010-12-10 Andreas Schwab <schwab@redhat.com>
33527 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33530 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33531 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33533 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33534 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33536 2010-12-09 Ulrich Drepper <drepper@gmail.com>
33539 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33542 2010-12-09 Jakub Jelinek <jakub@redhat.com>
33544 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33546 2010-12-03 Ulrich Drepper <drepper@gmail.com>
33548 * po/it.po: Update from translation team.
33550 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33555 2010-11-30 Ulrich Drepper <drepper@gmail.com>
33557 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33559 2010-11-24 Andreas Schwab <schwab@redhat.com>
33561 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33563 (gaih_getanswer_slice): Likewise.
33565 2010-10-20 Jakub Jelinek <jakub@redhat.com>
33567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33569 2010-05-31 Petr Baudis <pasky@suse.cz>
33572 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33573 silently even in the chroot mode.
33575 2010-11-22 Ulrich Drepper <drepper@gmail.com>
33577 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33578 last patch a bit. Pretty printing
33580 2010-05-31 Petr Baudis <pasky@suse.cz>
33583 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33584 initialization of skip_initgroups_dyn.
33586 2010-11-19 Ulrich Drepper <drepper@gmail.com>
33588 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33589 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33591 2010-11-16 Ulrich Drepper <drepper@gmail.com>
33593 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33595 2010-11-11 Andreas Schwab <schwab@redhat.com>
33597 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33598 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33599 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33600 ($(objpfx)tst-fnmatch-mem): New rule.
33601 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33602 * posix/tst-fnmatch.c (main): Call mtrace.
33604 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33607 Support Intel processor model 6 and model 0x2c.
33609 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
33611 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33614 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33617 * string/test-strncasecmp.c (check_result): New function.
33618 (do_one_test): Use it.
33619 (check1): New function.
33620 (test_main): Use it.
33621 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33622 Support strcasecmp and strncasecmp.
33624 2010-11-08 Ulrich Drepper <drepper@gmail.com>
33627 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33628 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33630 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33632 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33636 * sysdeps/x86_64/multiarch/bzero.S: New file.
33637 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33638 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33639 * sysdeps/x86_64/multiarch/memset.S: New file.
33640 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33642 Set bit_Prefer_SSE_for_memop for Intel processors.
33643 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33645 (index_Prefer_SSE_for_memop): Define.
33646 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33648 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
33650 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33651 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33653 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33656 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33657 (__x86_64_raw_data_cache_size_half): Likewise.
33658 (__x86_64_raw_shared_cache_size): Likewise.
33659 (__x86_64_raw_shared_cache_size_half): Likewise.
33661 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33662 (__x86_64_raw_data_cache_size_half): Likewise.
33663 (__x86_64_raw_shared_cache_size): Likewise.
33664 (__x86_64_raw_shared_cache_size_half): Likewise.
33665 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33666 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33667 and __x86_64_raw_shared_cache_size_half. Round
33668 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33669 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33670 to multiple of 256 bytes.
33672 2010-11-03 Ulrich Drepper <drepper@gmail.com>
33675 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33676 of inacessible symlinks. Verify result of symlink before returning it.
33677 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33678 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33680 2010-10-28 Erich Ritz <erichritz@gmail.com>
33682 * math/math.h (isinf): Fix typo in comment.
33684 2010-11-01 Ulrich Drepper <drepper@gmail.com>
33686 * po/da.po: Update from translation team.
33688 2010-10-26 Ulrich Drepper <drepper@gmail.com>
33690 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33691 is added to the list.
33693 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33694 Ulrich Drepper <drepper@gmail.com>
33696 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33697 the global list here. Move code to...
33698 (_dl_add_to_namespace_list): ...here. New function.
33699 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33700 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33701 * elf/dl-load.c (lose): Don't remove the element from the list.
33702 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33703 (_dl_map_object): Likewise.
33705 2010-10-25 Ulrich Drepper <drepper@gmail.com>
33708 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33709 into all bytes of SSE register.
33710 Patch by Richard Li <richardpku@gmail.com>.
33712 2010-10-24 Ulrich Drepper <drepper@gmail.com>
33715 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33718 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33720 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33721 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33722 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33723 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33728 2010-10-22 Andreas Schwab <schwab@redhat.com>
33730 * include/dlfcn.h (__RTLD_SECURE): Define.
33731 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33732 mode & __RTLD_SECURE instead.
33733 (open_path): Rename preloaded parameter to secure.
33734 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33735 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33736 * elf/dl-deps.c (openaux): Likewise.
33737 * elf/rtld.c (struct map_args): Remove is_preloaded.
33738 (map_doit): Don't use it.
33739 (dl_main): Likewise.
33740 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33741 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33743 2010-09-09 Andreas Schwab <schwab@redhat.com>
33745 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33746 (sysd-rules-targets): Remove duplicates.
33747 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33748 rtld-%.$o dependency.
33750 2010-10-18 Andreas Schwab <schwab@redhat.com>
33752 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33753 _dl_map_object do it.
33755 2010-10-19 Ulrich Drepper <drepper@gmail.com>
33757 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33758 fast fma builtins, define the macros in the C99 standard.
33759 (FP_FAST_FMAF): Likewise.
33760 (FP_FAST_FMAL): Likewise.
33761 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33763 * bits/mathdef.h: Update copyright year.
33764 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33766 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33768 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33769 builtins, define the macros in the C99 standard.
33770 (FP_FAST_FMAF): Likewise.
33771 (FP_FAST_FMAL): Likewise.
33772 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33774 (FP_FAST_FMAF): Likewise.
33776 2010-10-15 Jakub Jelinek <jakub@redhat.com>
33779 * math/libm-test.inc (fma_test): Some new testcases.
33780 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33781 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33782 y and infinite z. Do multiplication by C already in long double.
33783 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33785 y and infinite z. Do bitwise or of inexact bit into u.d.
33786 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33787 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33788 * sysdeps/i386/fpu/s_fma.S: Removed.
33789 * sysdeps/i386/fpu/s_fmal.S: Removed.
33791 2010-10-16 Jakub Jelinek <jakub@redhat.com>
33794 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33795 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33796 computation is not scheduled after fetestexcept. Fix value
33797 of minimum denormal long double.
33799 2010-10-14 Jakub Jelinek <jakub@redhat.com>
33802 * math/libm-test.inc (fma_test): Add some more tests.
33803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33806 2010-10-15 Andreas Schwab <schwab@redhat.com>
33808 * scripts/data/localplt-s390-linux-gnu.data: New file.
33809 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33811 2010-10-13 Jakub Jelinek <jakub@redhat.com>
33814 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33815 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33817 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33819 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33821 if one of x and y is very large and the other is subnormal.
33822 * sysdeps/s390/fpu/s_fmaf.c: New file.
33823 * sysdeps/s390/fpu/s_fma.c: New file.
33824 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33825 * sysdeps/powerpc/fpu/s_fma.S: New file.
33826 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33827 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33828 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33830 2010-10-12 Jakub Jelinek <jakub@redhat.com>
33833 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33835 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33836 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33837 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33838 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33839 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33840 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33843 2010-10-12 Ulrich Drepper <drepper@redhat.com>
33846 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33847 * posix/bug-regex31.input: Add test case.
33849 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33851 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33852 * posix/bug-regex31.input: New file.
33855 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33856 (parse_sub_exp): Fix last change, use postorder.
33858 * posix/bug-regex31.c: New file.
33859 * posix/Makefile: Add rules to build and run bug-regex31.
33861 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33864 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33867 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33868 to have entries in sys_siglist.
33871 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33874 2010-10-07 Jakub Jelinek <jakub@redhat.com>
33877 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33878 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33879 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33880 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33881 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33882 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33883 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33884 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33885 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33886 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33887 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33888 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33889 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33890 * math/ftestexcept.c (fetestexcept): Likewise.
33891 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33892 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33893 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33894 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33895 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33896 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33897 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33899 2010-10-11 Ulrich Drepper <drepper@gmail.com>
33902 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33905 2010-10-06 Ulrich Drepper <drepper@gmail.com>
33907 * string/bug-strstr1.c: New file.
33908 * string/Makefile: Add rules to build and run bug-strstr1.
33910 2010-10-05 Eric Blake <eblake@redhat.com>
33913 * string/str-two-way.h (two_way_long_needle): Always clear memory
33914 when skipping input due to the shift table.
33916 2010-10-03 Ulrich Drepper <drepper@gmail.com>
33919 * malloc/mcheck.c: Handle large requests.
33922 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33923 for strncmp and strncasecmp.
33924 * string/stratcliff.c: Add tests for strcmp and strncmp.
33925 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33927 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33929 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33932 2010-09-30 Andreas Jaeger <aj@suse.de>
33934 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33935 (CGROUP_SUPER_MAGIC): Define.
33936 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33937 Handle btrfs and cgroup file systems.
33938 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33941 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
33943 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33944 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33946 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33949 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33950 trying to locate the ELF header.
33952 2010-09-27 Andreas Schwab <schwab@redhat.com>
33955 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33956 Mask out sign-bit copies when constructing f_fsid.
33958 2010-09-24 Petr Baudis <pasky@suse.cz>
33960 * debug/stack_chk_fail_local.c: Add missing licence exception.
33961 * debug/warning-nop.c: Likewise.
33963 2010-09-15 Joseph Myers <joseph@codesourcery.com>
33965 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33966 implementing getdents64 using getdents syscall, set d_type if
33967 __ASSUME_GETDENTS32_D_TYPE.
33969 2010-09-16 Andreas Schwab <schwab@redhat.com>
33971 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33972 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33974 2010-09-21 Ulrich Drepper <drepper@redhat.com>
33977 * posix/unistd.h: Undo change of feature selection for ftruncate from
33980 2010-09-20 Ulrich Drepper <drepper@redhat.com>
33982 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
33985 2010-09-20 Andreas Schwab <schwab@redhat.com>
33987 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33989 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33991 2010-09-14 Andreas Schwab <schwab@redhat.com>
33993 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33994 variables after CHECK_SP call.
33995 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33997 2010-09-13 Andreas Schwab <schwab@redhat.com>
33998 Ulrich Drepper <drepper@redhat.com>
34000 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34001 re-relocationg ld.so.
34002 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34003 _dl_init_paths call.
34004 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34007 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34009 * resolv/res_init.c (__res_vinit): Count the default server we added.
34011 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34012 Ulrich Drepper <drepper@redhat.com>
34015 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34016 (____longjmp_chk): Use %ebx for saving value across system call.
34019 2010-09-06 Andreas Schwab <schwab@redhat.com>
34021 * manual/Makefile: Don't mix pattern rules with normal rules.
34023 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34025 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34027 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34028 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34029 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34030 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34031 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34034 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34037 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34038 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34040 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34042 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34043 * sysdeps/x86_64/addmul_1.S: Likewise.
34044 * sysdeps/x86_64/lshift.S: Likewise.
34045 * sysdeps/x86_64/mul_1.S: Likewise.
34046 * sysdeps/x86_64/rshift.S: Likewise.
34047 * sysdeps/x86_64/sub_n.S: Likewise.
34048 * sysdeps/x86_64/submul_1.S: Likewise.
34050 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34052 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34053 Define __sched_param instead of SCHED_* and sched_param when
34054 <bits/sched.h> is included with __need_schedparam defined.
34055 * bits/sched.h [__need_schedparam]
34056 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34057 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34058 (__defined_schedparam): Define to 1.
34059 (__sched_param): New structure, identical to sched_param.
34060 (__need_schedparam): Undefine.
34062 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34064 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34065 (epoll_create1): Declare.
34067 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34069 2010-08-31 Andreas Schwab <schwab@redhat.com>
34072 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34073 shifting retval into place.
34075 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34077 * nis/rpcsvc/nis.h: Update copyright notice.
34078 * nis/rpcsvc/nis.x: Likewise.
34079 * nis/rpcsvc/nis_callback.h: Likewise.
34080 * nis/rpcsvc/nis_callback.x: Likewise.
34081 * nis/rpcsvc/nis_object.x: Likewise.
34082 * nis/rpcsvc/nis_tags.h: Likewise.
34083 * nis/rpcsvc/yp.h: Likewise.
34084 * nis/rpcsvc/yp.x: Likewise.
34085 * nis/rpcsvc/ypupd.h: Likewise.
34086 * nis/yp_xdr.c: Likewise.
34087 * nis/ypupdate_xdr.c: Likewise.
34089 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34090 mainly the body of pmap_getport. Add parameters to specify timeouts.
34091 (pmap_getport): Use __libc_rpc_getport.
34092 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34093 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34094 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34096 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34101 2010-08-27 Roland McGrath <roland@redhat.com>
34103 * sysdeps/i386/i686/multiarch/Makefile
34104 (CFLAGS-varshift.c): New variable.
34106 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34108 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34109 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34111 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34113 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34115 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34117 * sysdeps/x86_64/strlen.S: Unroll the loop.
34118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34119 strlen-sse2 strlen-sse2-bsf.
34120 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34121 __strlen_no_bsf if bit_Slow_BSF is set.
34122 (__strlen_sse42): Removed.
34123 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34124 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34126 2010-08-25 Roland McGrath <roland@redhat.com>
34128 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34129 * sysdeps/x86_64/multiarch/varshift.c: New file.
34130 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34131 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34132 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34133 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34135 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34137 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34138 strlen-sse2 strlen-sse2-bsf.
34139 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34140 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34141 (__strlen_sse2): Removed.
34142 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34143 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34145 bit_Slow_BSF for Atom.
34146 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34147 (index_Slow_BSF): Define.
34148 (HAS_SLOW_BSF): Define.
34150 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34153 * resolv/res_init.c (__res_vinit): When no server address at all
34154 is given default to loopback.
34156 2010-08-24 Roland McGrath <roland@redhat.com>
34158 * configure.in: Remove config-name.h generation.
34159 * configure: Regenerated.
34160 * config-name.in: File removed.
34161 * scripts/config-uname.sh: New file.
34162 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34163 ($(objdir)config-name.h): New target.
34165 * sunrpc/rpc_parse.h: Avoid nested comment.
34167 2010-08-24 Richard Henderson <rth@redhat.com>
34168 Ulrich Drepper <drepper@redhat.com>
34169 H.J. Lu <hongjiu.lu@intel.com>
34171 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34173 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34174 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34175 _mm_alignr_epi8 with _mm_loadu_si128.
34176 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34177 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34178 (__m128i_shift_right): Removed.
34179 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34180 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34181 * sysdeps/x86_64/multiarch/varshift.h: New file.
34182 * sysdeps/x86_64/multiarch/varshift.S: New file.
34184 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34186 * configure.in: Move assembler checks to before sysdep dir checking.
34188 2010-08-20 Petr Baudis <pasky@suse.cz>
34190 * LICENSES: Sync the sunrpc license.
34192 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34194 * sunrpc/auth_des.c: Update copyright notice once again.
34195 * sunrpc/auth_none.c: Likewise.
34196 * sunrpc/auth_unix.c: Likewise.
34197 * sunrpc/authdes_prot.c: Likewise.
34198 * sunrpc/authuxprot.c: Likewise.
34199 * sunrpc/bindrsvprt.c: Likewise.
34200 * sunrpc/clnt_gen.c: Likewise.
34201 * sunrpc/clnt_perr.c: Likewise.
34202 * sunrpc/clnt_raw.c: Likewise.
34203 * sunrpc/clnt_simp.c: Likewise.
34204 * sunrpc/clnt_tcp.c: Likewise.
34205 * sunrpc/clnt_udp.c: Likewise.
34206 * sunrpc/clnt_unix.c: Likewise.
34207 * sunrpc/des_crypt.c: Likewise.
34208 * sunrpc/des_soft.c: Likewise.
34209 * sunrpc/get_myaddr.c: Likewise.
34210 * sunrpc/getrpcport.c: Likewise.
34211 * sunrpc/key_call.c: Likewise.
34212 * sunrpc/key_prot.c: Likewise.
34213 * sunrpc/openchild.c: Likewise.
34214 * sunrpc/pm_getmaps.c: Likewise.
34215 * sunrpc/pm_getport.c: Likewise.
34216 * sunrpc/pmap_clnt.c: Likewise.
34217 * sunrpc/pmap_prot.c: Likewise.
34218 * sunrpc/pmap_prot2.c: Likewise.
34219 * sunrpc/pmap_rmt.c: Likewise.
34220 * sunrpc/rpc/auth.h: Likewise.
34221 * sunrpc/rpc/auth_unix.h: Likewise.
34222 * sunrpc/rpc/clnt.h: Likewise.
34223 * sunrpc/rpc/des_crypt.h: Likewise.
34224 * sunrpc/rpc/key_prot.h: Likewise.
34225 * sunrpc/rpc/netdb.h: Likewise.
34226 * sunrpc/rpc/pmap_clnt.h: Likewise.
34227 * sunrpc/rpc/pmap_prot.h: Likewise.
34228 * sunrpc/rpc/pmap_rmt.h: Likewise.
34229 * sunrpc/rpc/rpc.h: Likewise.
34230 * sunrpc/rpc/rpc_des.h: Likewise.
34231 * sunrpc/rpc/rpc_msg.h: Likewise.
34232 * sunrpc/rpc/svc.h: Likewise.
34233 * sunrpc/rpc/svc_auth.h: Likewise.
34234 * sunrpc/rpc/types.h: Likewise.
34235 * sunrpc/rpc/xdr.h: Likewise.
34236 * sunrpc/rpc_clntout.c: Likewise.
34237 * sunrpc/rpc_cmsg.c: Likewise.
34238 * sunrpc/rpc_common.c: Likewise.
34239 * sunrpc/rpc_cout.c: Likewise.
34240 * sunrpc/rpc_dtable.c: Likewise.
34241 * sunrpc/rpc_hout.c: Likewise.
34242 * sunrpc/rpc_main.c: Likewise.
34243 * sunrpc/rpc_parse.c: Likewise.
34244 * sunrpc/rpc_parse.h: Likewise.
34245 * sunrpc/rpc_prot.c: Likewise.
34246 * sunrpc/rpc_sample.c: Likewise.
34247 * sunrpc/rpc_scan.c: Likewise.
34248 * sunrpc/rpc_scan.h: Likewise.
34249 * sunrpc/rpc_svcout.c: Likewise.
34250 * sunrpc/rpc_tblout.c: Likewise.
34251 * sunrpc/rpc_util.c: Likewise.
34252 * sunrpc/rpc_util.h: Likewise.
34253 * sunrpc/rpcinfo.c: Likewise.
34254 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34255 * sunrpc/rpcsvc/key_prot.x: Likewise.
34256 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34257 * sunrpc/rpcsvc/mount.x: Likewise.
34258 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34259 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34260 * sunrpc/rpcsvc/rex.x: Likewise.
34261 * sunrpc/rpcsvc/rstat.x: Likewise.
34262 * sunrpc/rpcsvc/rusers.x: Likewise.
34263 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34264 * sunrpc/rpcsvc/spray.x: Likewise.
34265 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34266 * sunrpc/rtime.c: Likewise.
34267 * sunrpc/svc.c: Likewise.
34268 * sunrpc/svc_auth.c: Likewise.
34269 * sunrpc/svc_authux.c: Likewise.
34270 * sunrpc/svc_raw.c: Likewise.
34271 * sunrpc/svc_run.c: Likewise.
34272 * sunrpc/svc_simple.c: Likewise.
34273 * sunrpc/svc_tcp.c: Likewise.
34274 * sunrpc/svc_udp.c: Likewise.
34275 * sunrpc/svc_unix.c: Likewise.
34276 * sunrpc/svcauth_des.c: Likewise.
34277 * sunrpc/xcrypt.c: Likewise.
34278 * sunrpc/xdr.c: Likewise.
34279 * sunrpc/xdr_array.c: Likewise.
34280 * sunrpc/xdr_float.c: Likewise.
34281 * sunrpc/xdr_mem.c: Likewise.
34282 * sunrpc/xdr_rec.c: Likewise.
34283 * sunrpc/xdr_ref.c: Likewise.
34284 * sunrpc/xdr_sizeof.c: Likewise.
34285 * sunrpc/xdr_stdio.c: Likewise.
34287 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34290 2010-08-19 Andreas Schwab <schwab@redhat.com>
34292 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34294 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34296 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34297 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34298 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34299 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34300 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34301 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34302 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34303 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34304 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34305 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34306 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34307 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34308 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34309 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34311 2010-07-26 Anton Blanchard <anton@samba.org>
34313 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34314 * malloc/arena.c (heap_trim): Likewise.
34316 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34318 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34320 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34321 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34323 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34325 * sysdeps/i386/elf/Makefile: New file.
34327 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34329 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34330 from fanotify_init.
34331 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34332 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34334 2010-08-15 Ulrich Drepper <drepper@redhat.com>
34336 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34338 * sysdeps/multiarch/strcmp.S: Likewise.
34340 2010-08-14 Ulrich Drepper <drepper@redhat.com>
34342 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34343 strncase_l-nonascii.
34344 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34345 Add strncase_l-ssse3.
34346 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34347 * sysdeps/x86_64/strcmp.S: Likewise.
34348 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34349 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34350 * sysdeps/x86_64/strncase.S: New file.
34351 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34352 * sysdeps/x86_64/strncase_l.S: New file.
34353 * string/Makefile (strop-tests): Add strncasecmp.
34354 * string/test-strncasecmp.c: New file.
34356 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34359 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34360 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34362 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34364 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34366 2010-08-12 Ulrich Drepper <drepper@redhat.com>
34368 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34369 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34370 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34372 2010-05-01 Alan Modra <amodra@gmail.com>
34374 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34375 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34376 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34377 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34378 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34379 tidying. Don't tail-call __sigjmp_save for static lib.
34380 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34382 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34383 (CALL_MCOUNT): Add eh info, and nop after bl.
34384 (TAIL_CALL_SYSCALL_ERROR): New macro.
34385 (PSEUDO_RET): Use it.
34386 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34387 Correct save location of integer regs and cr.
34388 (_dl_profile_resolve): Correct cr save location. Delete nops
34389 after bl when SHARED. Reduce cfi size a little by better
34390 placement of cfi directives.
34391 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34392 make a stack frame. Instead use parm save area as a temp.
34393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34394 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34396 Don't make a stack frame for parent, use parm save area.
34397 Increase child stack frame to 112 bytes. Don't save unused reg,
34398 and adjust reg usage. Set up cfi on error recovery and
34399 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34401 (__makecontext): Add dummy nop after jump to exit.
34402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34403 Use correct parm save area and cr save, reduce stack frame.
34404 Correct cfi for possible PSEUDO_RET frame setup.
34405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34406 Branch to local label emitted by PSEUDO_RET rather than
34409 2010-08-12 Andreas Schwab <schwab@redhat.com>
34412 * locale/programs/locale.c (print_assignment): New function.
34413 (show_locale_vars): Use it.
34415 2010-08-11 Ulrich Drepper <drepper@redhat.com>
34417 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34419 (struct statfs64): Likewise.
34420 (_STATFS_F_FLAGS): Define.
34421 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34422 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34423 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34424 (ST_VALID): Define locally.
34425 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34426 __statvfs_getflags, use the provided value.
34427 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34428 __ASSUME_STATFS_F_FLAGS.
34430 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34432 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34433 Add sys/fanotify.h.
34434 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34435 fanotify_mask for GLIBC_2.13.
34436 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34437 fanotify_init and fanotify_mark.
34438 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34439 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34441 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34443 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34444 prlimit64 for GLIBC_2.13.
34445 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34447 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34450 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34451 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34452 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34453 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34455 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34458 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34459 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34461 * nss/Makefile: Add rules to build and run tst-nss-test1.
34462 * shlib-versions: Add entry for libnss_test1.
34463 * nss/nss_test1.c: New file.
34464 * nss/tst-nss-test1.c: New file.
34466 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34467 (__nss_configure_lookup): Set appropriate entry in
34468 __nss_configure_lookup to true.
34469 * nss/nsswitch.h: Define enum with indeces of databases in
34470 databases and __nss_database_custom arrays. Declare
34471 __nss_database_custom.
34472 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34473 to avoid using nscd when custom rules are installed.
34474 * nss/getXXbyYY_r.c: Likewise.
34475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34477 * nss/nss_files/files-parse.c: Whitespace fixes.
34479 2010-08-09 Ulrich Drepper <drepper@redhat.com>
34482 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34483 * posix/fnmatch_loop.c: Likewise.
34485 2010-07-17 Andi Kleen <ak@linux.intel.com>
34487 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34488 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34489 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34490 * Versions.def [GLIBC_2.13]: Add.
34492 2010-08-06 Ulrich Drepper <drepper@redhat.com>
34494 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34495 Also fail if tpwd after pwuid call is NULL.
34497 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34499 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34500 when converting to ms.
34502 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34504 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34505 EOPNOTSUPP errors with ENOTTY.
34506 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34507 EOPNOTSUPP errors with ENOTTY.
34509 2010-07-31 Ulrich Drepper <drepper@redhat.com>
34511 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34512 Add strcasecmp_l-ssse3.
34513 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34515 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34516 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34517 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34519 2010-07-30 Ulrich Drepper <drepper@redhat.com>
34521 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34523 * string/Makefile (strop-tests): Add strcasecmp.
34524 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34525 strcasecmp_l-nonascii.
34526 (gen-as-const-headers): Add locale-defines.sym.
34527 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34528 * sysdeps/x86_64/strcasecmp.S: New file.
34529 * sysdeps/x86_64/strcasecmp_l.S: New file.
34530 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34531 * sysdeps/x86_64/locale-defines.sym: New file.
34532 * string/test-strcasecmp.c: New file.
34534 * string/test-strcasestr.c: Test both ends of the range of characters.
34535 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34537 2010-07-29 Roland McGrath <roland@redhat.com>
34540 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34542 2010-07-27 Ulrich Drepper <drepper@redhat.com>
34544 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34547 2010-07-27 Andreas Schwab <schwab@redhat.com>
34549 * manual/memory.texi (Malloc Tunable Parameters): Document
34552 2010-07-26 Roland McGrath <roland@redhat.com>
34555 * configure.in (-fgnu89-inline check): Set and substitute
34556 gnu89_inline, not libc_cv_gnu89_inline.
34557 * configure: Regenerated.
34558 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34560 2010-07-26 Ulrich Drepper <drepper@redhat.com>
34562 * string/test-strnlen.c: New file.
34563 * string/Makefile (strop-tests): Add strnlen.
34564 * string/tester.c (test_strnlen): Add a few more test cases.
34565 * string/tst-strlen.c: Better error reporting.
34567 * sysdeps/x86_64/strnlen.S: New file.
34569 2010-07-24 Ulrich Drepper <drepper@redhat.com>
34571 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34572 lower-latency instructions.
34574 2010-07-23 Ulrich Drepper <drepper@redhat.com>
34576 * string/test-strcasestr.c: New file.
34577 * string/test-strstr.c: New file.
34578 * string/Makefile (strop-tests): Add strstr and strcasestr.
34579 * string/str-two-way.h: Don't undefine MAX.
34580 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34582 2010-07-21 Andreas Schwab <schwab@redhat.com>
34584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34585 strcasestr-nonascii.
34586 (CFLAGS-strcasestr-nonascii.c): Define.
34587 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34588 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34589 Remove unused attribute.
34591 2010-07-20 Roland McGrath <roland@redhat.com>
34593 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34594 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34595 ld.so.cache was broken. With it, there is no way to disable dsocaps
34596 like LD_HWCAP_MASK can disable hwcaps.
34598 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34600 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34602 2010-07-16 Ulrich Drepper <drepper@redhat.com>
34604 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34605 call in strcasestr.
34606 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34607 __strcasestr_sse42_nonascii.
34608 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34609 strcasestr-nonascii.c.
34610 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34612 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
34614 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34615 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34616 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34617 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34619 2010-07-09 Ulrich Drepper <drepper@redhat.com>
34621 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34624 2010-07-06 Andreas Schwab <schwab@redhat.com>
34627 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34630 2010-07-06 Ulrich Drepper <drepper@redhat.com>
34632 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34633 _PC_PIPE_BUF using F_GETPIPE_SZ.
34635 2010-07-05 Roland McGrath <roland@redhat.com>
34637 * manual/arith.texi (Rounding Functions): Fix rint description
34638 implicit in round description.
34640 2010-07-02 Ulrich Drepper <drepper@redhat.com>
34642 * elf/Makefile: Fix linking for a few tests to make recent linker
34645 2010-06-30 Andreas Schwab <schwab@redhat.com>
34647 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34648 $(common-objpfx)libc_nonshared.a.
34650 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
34652 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34653 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34654 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34655 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34656 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34657 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34658 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34659 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34674 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34675 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34676 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34677 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34678 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34679 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34680 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34681 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34682 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34683 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34684 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34685 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34701 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34703 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34704 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34705 * string/memmove.c (memmove): Renamed to ...
34706 (MEMMOVE): ...this. Default to memmove.
34707 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34708 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34710 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34711 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34712 mempcpy-ssse3-back memmove-ssse3-back.
34713 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34714 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34715 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34716 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34717 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34718 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34719 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34720 * sysdeps/x86_64/multiarch/memmove.c: New file.
34721 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34722 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34723 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34724 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34725 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34726 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34728 (index_Fast_Copy_Backward): Define.
34729 (HAS_ARCH_FEATURE): Define.
34730 (HAS_FAST_REP_STRING): Define.
34731 (HAS_FAST_COPY_BACKWARD): Define.
34733 2010-06-21 Andreas Schwab <schwab@redhat.com>
34735 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34736 Restore proper fallback handling.
34738 2010-06-19 Ulrich Drepper <drepper@redhat.com>
34741 * posix/group_member.c (__group_member): Correct checking loop.
34743 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34744 OOM in getpwuid_r correctly. Return error number when the caller
34745 should return, otherwise -1.
34746 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34747 call returning > 0 value.
34748 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34750 2010-06-07 Andreas Schwab <schwab@redhat.com>
34752 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34753 libc_nonshared.a from targets in modules-names.
34755 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34757 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34760 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
34762 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34763 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34764 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34765 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34767 2010-06-02 Andreas Schwab <schwab@redhat.com>
34769 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34771 2010-06-14 Ulrich Drepper <drepper@redhat.com>
34773 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34775 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34779 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34782 2010-06-14 Roland McGrath <roland@redhat.com>
34784 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34786 2010-06-07 Jakub Jelinek <jakub@redhat.com>
34788 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34789 __REDIRECT followed by __THROW.
34790 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34791 * posix/getopt.h (getopt): Likewise.
34793 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34795 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34796 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34797 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34799 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34800 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34802 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
34804 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34806 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34810 Properly check family and model.
34812 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34814 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34816 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
34818 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34820 2010-05-21 Ulrich Drepper <drepper@redhat.com>
34822 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34825 2010-05-19 Andreas Schwab <schwab@redhat.com>
34827 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34830 2010-05-21 Andreas Schwab <schwab@redhat.com>
34832 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34833 and internal_recvmmsg.
34834 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34835 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34836 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34837 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34839 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34840 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34841 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34843 2010-05-20 Andreas Schwab <schwab@redhat.com>
34845 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34847 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
34849 POWER7 optimizations.
34850 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34851 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34853 2010-05-19 Ulrich Drepper <drepper@redhat.com>
34855 * version.h: Update for 2.13 development version.
34857 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
34859 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34860 exceptions. Return 0.
34862 2010-05-07 Roland McGrath <roland@redhat.com>
34864 * elf/ldconfig.c (main): Add a const.
34866 2010-05-06 Ulrich Drepper <drepper@redhat.com>
34868 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34869 (args_options): Add no-idn option.
34870 (ahosts_keys_int): Add idn_flags to ai_flags.
34871 (parse_option): Handle 'i' option to clear idn_flags.
34873 * malloc/malloc.c (_int_free): Possible race in the most recently
34874 added check. Only act on the data if no current modification
34877 See ChangeLog.17 for earlier changes.