math: Use accurate answers for cos and sincos.
[glibc.git] / ChangeLog
blobe6a9a40d523b932180513d5e6c79bd5ceca5804b
1 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
3         * math/libm-test.inc (cos_test): Use accurate hex constants.
4         (sincost_test): Likewise.
6 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
8         * math/libm-test.inc (catan_test): Add more tests.
9         (catanh_test): Likewise.
11         * math/s_catanf.c (__catanf): Use suffixed floating-point
12         constants.
13         * math/s_catanhf.c (__catanhf): Likewise.
14         * math/s_catanhl.c (__catanhl): Likewise.
15         * math/s_catanl.c (__catanl): Likewise.
17         [BZ #15394]
18         * math/s_catan.c (__catan): Calculate imaginary part of result
19         with log1p not log unless computing log of number close to 0.
20         * math/s_catanf.c (__catanf): Likewise.
21         * math/s_catanl.c (__catanl): Likewise.
22         * math/s_catanh.c (__catanh): Calculate real part of result with
23         log1p not log unless computing log of number close to 0.
24         * math/s_catanhf.c (__catanhf): Likewise.
25         * math/s_catanhl.c (__catanhl): Likewise.
26         * math/libm-test.inc (catan_test): Add more tests.
27         (catanh_test): Likewise.
28         * sysdeps/i386/fpu/libm-test-ulps: Update.
29         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33         * benchtests/Makefile: Mention files in which fast and slow
34         paths of math functions are implemented.
36 2013-04-23  Roland McGrath  <roland@hack.frob.com>
38         * sysdeps/posix/timespec_get.c: New file.
40 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43         POWER.
44         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45         for POWER.
46         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47         powerpc/power5/fpu folders.
48         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
49         * benchtests/Makefile: Add modf testcase.
50         * benchtests/bench-modf.c: New file: Benchmark test for mo
52 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54         [BZ #14888]
55         * time/Makefile (tests): Add tst-strptime-whitespace.
56         * time/strptime_l.c (get_number): Use ISSPACE.
57         (__strptime_internal): Likewise.
58         * time/tst-strptime-whitespace.c: New test case.
60 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
63         member.
64         (_nss_files_init): Set it here.
66 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
69         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
70         unsigned.
72 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
74         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
76 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
78         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
79         size just once.
81 2013-04-21  David S. Miller  <davem@davemloft.net>
83         * po/ru.po: Update Russion translation from translation project.
85 2013-04-17  Adam Conrad  <adconrad@0c3.net>
87         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
88         and setfsgid.
90 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
92         * configure.in: Remove i386 configure warning. Remove i386 case.
93         * configure: Regenerate.
94         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
95         Add example to error message.
96         * sysdeps/i386/configure: Regenerate.
98 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
100         * benchtests/Makefile (bench): Add cos, tan, slowcos and
101         slowtan.
102         * benchtests/cos-inputs: New file.
103         * benchtests/slowcos-inputs: New file.
104         * benchtests/slowcos.c: New file.
105         * benchtests/slowtan-inputs: New file.
106         * benchtests/slowtan.c: New file.
107         * benchtests/tan-inputs: New file.
109 2013-04-16  Roland McGrath  <roland@hack.frob.com>
111         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
112         considered kosher.
114 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
116         * benchtests/Makefile: Include cppflags-iterator.mk to add
117         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
119         * Makefile.in (bench-clean): New target.
120         * benchtests/Makefile (bench-clean): Likewise.
122 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
124         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
126 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
128         * stdio-common/tstdiomisc.c: Fix coding-style violation.
130 2013-04-15  Andreas Schwab  <schwab@suse.de>
132         * nscd/grpcache.c (cache_addgr): Properly check for short write.
133         * nscd/initgrcache.c (addinitgroupsX): Likewise.
134         * nscd/pwdcache.c (cache_addpw): Likewise.
135         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
136         more than recsize.
138 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
140         * benchtests/Makefile (bench): Write all output to
141         bench-out.tmp together.
143 2013-04-15  Andreas Schwab  <schwab@suse.de>
145         * nscd/nscd.c (main): Don't fork again after closing files.
147 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
149         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
151         * benchtests/Rules (bench-deps): Collect dependencies into a
152         single variable.  Add Makefile to dependencies.
153         ($(objpfx)bench-%.c): Depend on bench-deps.
155 2013-04-12  Roland McGrath  <roland@hack.frob.com>
156             Xavier Roche  <roche+kml2@exalead.com>
158         [BZ #15361]
159         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
160         just that it's a file descriptor.
161         * manual/llio.texi (Synchronizing AIO Operations): Update description
162         for EBADF error from aio_fsync.
164 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
166         * Rules (bench): Move target definition...
167         * benchtests/Makefile: ... here.
169 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
171         * math/libm-test.inc (cos_test): Fix PI/2 test.
172         (sincos_test): Likewise.
173         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
174         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
176 2013-04-11  Andreas Schwab  <schwab@suse.de>
178         [BZ #13988]
179         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
180         accept exponent character only when digits were seen.
181         * stdio-common/Makefile (tests): Add bug26.
182         * stdio-common/bug26.c: New file.
184         [BZ #14293]
185         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
186         non-freeable.
188 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
190         * Makeconfig (rtld-prefix): Define built linker prefix.
191         * Rules (run-bench): Use it.
192         * math/Makefile (run-regen-ulps): Likewise.
194         * Rules (bench): Remove eval.
196 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
197             Roland McGrath  <roland@hack.frob.com>
198             Ondrej Bilka  <neleai@seznam.cz>
200         [BZ #15346]
201         * time/getdate.c: Include ctype.h and alloca.h.
202         (__getdate_r): Trim leading and trailing spaces of input.
203         * time/tst-getdate.c (tests): Add tests with leading and
204         trailing spaces.
206 2013-04-08  Roland McGrath  <roland@hack.frob.com>
208         [BZ #14280]
209         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
210         when computing value.
212 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
214         * math/README.libm-test (How can I generate "libm-test-ulps"?):
215         Use testrun.sh to run libm tests.
217         [BZ #15309]
218         * elf/dl-open.c (dl_open_worker): memset all of seen array.
220 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
222         [BZ #15264]
223         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
225 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
227         * Makefile.in (regen-ulps): New target.
228         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
229         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
230         [ifneq (no,$(PERL)] (regen-ulps): New target.
231         [ifeq (no,$(PERL)] (regen-ulps): New target.
232         * math/libm-test.inc (ulps_file_name): Define.
233         (output_dir): New variable.
234         (options): Add "output-dir" option.
235         (parse_opt): Handle 'o' case.
236         (main): If output_dir is non-NULL use it as a prefix
237         otherwise use "".
238         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
240 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
242         [BZ #10060, #10062]
243         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
244         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
245         fail configure if __sync_val_compare_and_swap is not inlined.
246         * sysdeps/i386/configure: Regenerate.
247         * configure.in: Build for i686 when configured for i386.
248         * configure: Regenerate.
249         * README: Remove i386 reference.
251 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
253         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
254         * sysdeps/s390/s390-64/sysdep.h: Likewise.
256 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
258         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
259         (lmsnanval): New variables.
260         (F): Add conversion tests.
261         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
262         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
264         * stdio-common/tstdiomisc.c (F): Properly collect individual
265         tests' results.
267         [BZ #14686, #15336]
268         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
269         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
270         Instead, use input NaN values or generate a qNaN by arithmetic
271         operation.  Also fix bugs to comply with the standard.
272         * math/libm-test.inc (remainder_test): Add more tests.
274         [BZ #15335, #15342]
275         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
276         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
277         input NaN values or generate a qNaN by arithmetic operation.
279         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
280         unreachable code.
282         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
283         definitions.
285 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
287         [BZ #14478]
288         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
289         underflowed result.
290         * math/s_cexpf.c (__cexpf): Likewise.
291         * math/s_cexpl.c (__cexpl): Likewise.
292         * math/libm-test.inc (cexp_test): Add more tests.
294 2013-04-03  Andreas Schwab  <schwab@suse.de>
296         [BZ #15330]
297         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
298         order arrays from heap if bigger than alloca cutoff.
300 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
302         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
303         (SNAN_TESTS_double): Refer to GCC PR56831.
304         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
305         GCC PR56828.
307 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
309         * Rules (bench): Move bench.out after the run is complete.
311         * Rules (bench): Echo currently running benchmark.
313         * benchtests/Makefile (bench): Add atan and slowatan.
314         * benchtests/atan-inputs: New file.
315         * benchtests/slowatan-inputs: New file.
316         * benchtests/slowatan.c: New file.
318         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
319         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
320         its value.
322         [BZ #15305]
323         * sysdeps/unix/sysv/linux/kernel-features.h
324         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
325         __ASSUME_XFS_RESTRICTED_CHOWN.
326         * sysdeps/unix/sysv/linux/pathconf.c
327         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
328         Save and restore errno.
330 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
332         [BZ #15327]
333         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
334         arguments using __kernel_casinh.
335         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
336         arguments using __kernel_casinhf.
337         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
338         arguments using __kernel_casinhl.
339         * math/libm-test.inc (cacosh_test): Add more tests.
340         * sysdeps/i386/fpu/libm-test-ulps: Update.
341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
343 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
345         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
346         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
348         * bench/Makefile (bench): Add sin and slowsin.
349         * benchtests/sin-inputs: New file.
350         * benchtests/slowsin-inputs: New file.
351         * benchtests/slowsin.c: New file.
353         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
354         (bench): Add slowexp and slowpow.
355         (exp-ITER): Increase iterations.
356         (pow-ITER): Likewise.
357         * benchtests/exp-inputs: Change input.
358         * benchtests/pow-inputs: Likewise.
359         * benchtests/slowexp-inputs: New file.
360         * benchtests/slowexp.c: New file.
361         * benchtests/slowpow-inputs: New file.
362         * benchtests/slowpow.c: New file.
364 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
366         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
367         instructions.
368         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
369         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
370         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
371         * benchtests/Makefile: Add rint benchtest.
372         * benchtests/rint-inputs: Input for rint benchtest.
374 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
376         * Versions.def (libm): Add GLIBC_2.18.
377         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
378         hidden libm prototypes.
379         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
380         * math/Makefile (libm-calls): Add s_issignaling.
381         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
382         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
383         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
384         declaration.
385         * math/math.h [__USE_GNU] (issignaling): New macro.
386         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
387         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
388         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
389         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
390         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
391         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
392         * manual/arith.texi (issignaling): New section.
393         * manual/libm-err-tab.pl (@all_functions): Update comment.
394         * math/gen-libm-test.pl (parse_args): Apply special handling for
395         issignaling.
396         * math/libm-test.inc (print_float, issignaling_test): New
397         functions.
398         (check_float_internal): Add issignaling checks.
399         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
400         default definition.
401         * sysdeps/powerpc/math-tests.h: New file.
402         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
403         tests.
404         * math/test-snan.c (TEST_FUNC): Likewise.
406 2013-03-30  David S. Miller  <davem@davemloft.net>
408         * po/de.po: Update from translation team.
410 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
412         [BZ #10357]
413         * math/k_casinh.c (__kernel_casinh): Handle arguments with
414         imaginary part less than 1.0 and real part less than 0.5
415         specially.
416         * math/k_casinhf.c (__kernel_casinhf): Likewise.
417         * math/k_casinhl.c (__kernel_casinhl): Likewise.
418         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
419         (cacos_test): Add more tests.
420         (casin_test): Likewise.
421         (casinh_test): Likewise.
422         * sysdeps/i386/fpu/libm-test-ulps: Update.
423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
425 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
427         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
428         ONE with its value.
430         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
431         (__pow_mp): Replace ONE and MONE with their values.
432         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
433         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
434         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
435         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
436         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
437         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
439         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
441         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
442         (__pow_mp): Replace ZERO and MZERO with their values.
443         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
444         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
445         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
446         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
447         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
448         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
449         (__sqr): Likewise.
451         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
453         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
455 2013-03-28  Roland McGrath  <roland@hack.frob.com>
457         * include/stdlib.h [!SHARED] (__call_tls_dtors):
458         Declare with __attribute__ ((weak)).
459         * stdlib/exit.c (__libc_atexit) [!SHARED]:
460         Call __call_tls_dtors only if it's not NULL.
462 2013-03-28  Roland McGrath  <roland@hack.frob.com>
464         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
465         didn't do it already, then set _dl_phdr and _dl_phnum based on the
466         magic __ehdr_start linker symbol if it's defined.
467         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
468         them up here if it was already done.
470         * elf/dl-support.c (_dl_phdr): Make pointer to const.
471         (_dl_aux_init): Use const in cast when setting it.
472         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
473         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
474         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
476         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
477         Declare them here.
478         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
479         * csu/libc-tls.c: Nor here.
480         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
482         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
483         (__libc_message): Never call vsyslog.
485 2013-03-28  Alan Modra  <amodra@gmail.com>
487         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
488         Define as empty.
489         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
490         Likewise.
492 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
494         [BZ #15214]
495         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
496         underflow.
497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
499 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
501         [BZ #15304]
502         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
503         Don't add gid passed as argument.
505         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
507 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
509         [BZ #15307]
510         * math/k_casinh.c (__kernel_casinh): Handle arguments with
511         imaginary part between 1.0 and 1.5 and real part less than 0.5
512         specially.
513         * math/k_casinhf.c (__kernel_casinhf): Likewise.
514         * math/k_casinhl.c (__kernel_casinhl): Likewise.
515         * math/libm-test.inc (cacos_test): Add more tests.
516         (casin_test): Likewise.
517         (casinh_test): Likewise.
518         * sysdeps/i386/fpu/libm-test-ulps: Update.
519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
521 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
523         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
524         constants.
525         (norm): Likewise.
526         (denorm): Likewise.
527         (__dbl_mp): Likewise.
528         (add_magnitudes): Likewise.
529         (sub_magnitudes): Likewise.
530         (__add): Likewise.
531         (__sub): Likewise.
532         (__mul): Likewise.
533         (__sqr): Likewise.
534         (__inv): Likewise.
535         (__dvd): Likewise.
537         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
538         commented code.
539         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
540         (__dubcos): Likewise.
541         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
542         (__ieee754_acos): Likewise.
543         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
544         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
545         (__exp1): Likewise.
546         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
547         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
548         (log1): Likewise.
549         (my_log2): Likewise.
550         (checkint): Likewise.
551         * sysdeps/ieee754/dbl-64/e_remainder.c
552         (__ieee754_remainder): Likewise.
553         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
554         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
555         (bsloww): Likewise.
556         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
558         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
559         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
560         MANTISSA_STORE_T to store computations on mantissa.  Use
561         macros for rounding and division.
562         (denorm): Likewise.
563         (__dbl_mp): Likewise.
564         (add_magnitudes): Likewise.
565         (sub_magnitudes): Likewise.
566         (__mul): Likewise.
567         (__sqr): Likewise.
568         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
569         powers of two in terms of TWOPOW macro.
570         (mp_no): Make type of mantissa as MANTISSA_T.
571         [!RADIXI]: Define RADIXI.
572         [!TWO52]: Define TWO52.
573         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
575 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
577         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
578         llroundl symbol when building for PPC32.
580 2013-03-24  Mark H Weaver  <mhw@netris.org>
582         * manual/arith.texi (Normalization Functions): Fix prototypes for
583         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
585 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
587         [BZ #13889]
588         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
589         high value to check if expl overflow.
590         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
591         to check for underflow and overflow.
592         * math/libm-test.inc: Add exp test.
594 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
596         [BZ #11120]
597         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
598         with NOT_IN_libc.
600 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
602         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
603         symbol.
605 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
607         * math/gen-libm-test.pl (parse_args, special_functions): Properly
608         wrap blocks consisting of several statements.
610         * sysdeps/generic/math-tests.h: New file.
611         * sysdeps/i386/fpu/math-tests.h: Likewise.
612         * math/test-snan.c: Include it.
613         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
615 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
617         [BZ #15285]
618         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
619         (__ieee754_j0l): Do not improve calculations using cos of twice
620         input for inputs above LDBL_MAX / 2.0L.
621         (__ieee754_y0l): Likewise.
622         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
623         (__ieee754_j1l): Do not improve calculations using cos of twice
624         input for inputs above LDBL_MAX / 2.0L.
625         (__ieee754_y1l): Likewise.
626         * math/libm-test.inc (j0_test): Add another test.
627         (j1_test): Likewise.
628         (y0_test): Likewise.
629         (y1_test): Likewise.
630         * sysdeps/i386/fpu/libm-test-ulps: Update.
632 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
634         * Rules ($(objpfx)bench-%.c): Include code from a C source
635         file.
637 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
639         [BZ #15287]
640         * math/k_casinh.c (__kernel_casinh): Handle arguments with
641         imaginary part 1.0 and real part less than 0.5 specially.
642         * math/k_casinhf.c (__kernel_casinhf): Likewise.
643         * math/k_casinhl.c (__kernel_casinhl): Likewise.
644         * math/libm-test.inc (cacos_test): Add more tests.
645         (casin_test): Likewise.
646         (casinh_test): Likewise.
647         * sysdeps/i386/fpu/libm-test-ulps: Update.
648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
650 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
652         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
653         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
655 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
657         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
658         * config.make.in (config-cflags-sse4): Remove variable.
659         (config-cflags-avx): Likewise.
660         (config-cflags-sse2avx): Likewise.
661         (config-cflags-novzeroupper): Likewise.
662         (config-asflags-i686): Likewise.
663         (have-mfma4): Likewise.
664         (have-as-vis3): Likewise.
665         (MIG): Likewise.
666         * configure.in (MIG): Do not AC_SUBST.
667         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
668         (libc_cv_cc_sse4): Do not AC_SUBST.
669         (libc_cv_cc_avx): Likewise.
670         (libc_cv_cc_sse2avx): Likewise.
671         (libc_cv_cc_novzeroupper): Likewise.
672         (libc_cv_cc_fma4): Likewise.
673         (libc_cv_as_i686): Likewise.
674         (libc_cv_sparc_as_vis3): Likewise.
675         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
676         LIBC_CONFIG_VAR.
677         (config-asflags-i686): Likewise.
678         (config-cflags-avx): Likewise.
679         (config-cflags-sse2avx): Likewise.
680         (have-mfma4): Likewise.
681         (config-cflags-novzeroupper): Likewise.
682         * sysdeps/mach/configure.in (MIG): Likewise.
683         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
684         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
685         LIBC_CONFIG_VAR.
686         (config-cflags-avx): Likewise.
687         (config-cflags-sse2avx): Likewise.
688         (have-mfma4): Likewise.
689         (config-cflags-novzeroupper): Likewise.
690         * configure: Regenerated.
691         * sysdeps/i386/configure: Likewise.
692         * sysdeps/mach/configure: Likewise.
693         * sysdeps/sparc/configure: Likewise.
694         * sysdeps/x86_64/configure: Likewise.
696 2013-03-20  Roland McGrath  <roland@hack.frob.com>
698         [BZ #14812]
699         * locale/programs/localedef.c (options): Put N_ translation marker
700         on argument names, not just descriptions.
702 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
704         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
706 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
708         [BZ #14176]
709         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
711 2013-03-19  Roland McGrath  <roland@hack.frob.com>
713         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
714         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
715         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
716         [!BEFORE_ABORT] (before_abort): New function.
717         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
718         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
719         (writev_for_fatal): New function.
720         (WRITEV_FOR_FATAL): New macro; call that.
721         (backtrace_and_maps): New function.
722         (BEFORE_ABORT): New macro; call that.
723         (struct str_list): Type removed.
724         (__libc_message, __libc_fatal): Functions removed.
725         Include <sysdeps/posix/libc_fatal.c> instead.
727 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
729         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
730         constants.
731         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
732         double constants.
734 2013-03-19  Andreas Schwab  <schwab@suse.de>
736         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
737         * sysdeps/gnu/configure: Regenerate.
739         * configure.in: Substitute libc_cv_rtlddir.
740         * configure: Regenerate.
741         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
742         * Makeconfig (rtlddir, inst_rtlddir): New variables.
743         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
744         * elf/Makefile (install-others, CFLAGS-interp.c)
745         (ldso_install, common-ldd-rewrite): Likewise.
746         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
747         $(inst_slibdir)/$(rtld-installed-name).
748         * scripts/rellns-sh: Add -p option.
749         * Makerules (make-shlib-link): Use rellns-sh to get relative name
750         for source.
752 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
754         * manual/nptl.texi: Renamed to ...
755         * manual/threads.texi: ... this.
756         * manual/Makefile (chapters): Update.
758 2013-03-18  Roland McGrath  <roland@hack.frob.com>
760         [BZ #14812]
761         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
762         on argument names, not just descriptions.
763         * malloc/memusagestat.c (options): Likewise.
764         * nss/getent.c (options): Likewise.
766 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
768         [BZ #14812]
769         * iconv/iconv_prog.c (options): Put N_ translation marker
770         on argument names, not just descriptions.
771         * iconv/iconvconfig.c (options): Likewise.
773 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
775         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
776         implementation which is faster on all x86_64 architectures.
777         Tested on AMD, Intel Nehalem, SNB, IVB.
778         * sysdeps/x86_64/strnlen.S: Likewise.
780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
781         Remove all multiarch strlen and strnlen versions.
782         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
783         Remove strlen and strnlen related parts.
785         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
786         Inline strlen part.
787         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
789         * sysdeps/x86_64/multiarch/strlen.S: Remove.
790         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
791         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
792         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
793         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
794         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
796 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
798         * manual/memory.texi (Malloc Tunable Parameters):
799         Sort parameters alphabetically. Add comments for missing entries.
801 2013-03-17  David S. Miller  <davem@davemloft.net>
803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
805 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
807         [BZ #15283]
808         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
809         for arguments at most half maximum finite value.
810         * math/libm-test.inc (j0_test): Add more tests.
811         (j1_test): Likewise.
812         (y0_test): Likewise.
813         (y1_test): Likewise.
814         * sysdeps/i386/fpu/libm-test-ulps: Update.
815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
817         [BZ #14155]
818         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
819         1 / x and functions P and Q for arguments above 0x1p256L.
820         (__ieee754_y0l): Likewise.
821         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
822         (__ieee754_y1l): Likewise.
823         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
824         (j1_test): Likewise.
825         (y0_test): Likewise.
826         (y1_test): Likewise.
828 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
830         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
831         variable.
833 2013-03-15  Roland McGrath  <roland@hack.frob.com>
835         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
836         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
837         zero since it's initialized to EXEC_PAGESIZE.
839         * sysdeps/unix/sysv/linux/ldsodefs.h
840         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
841         * sysdeps/generic/ldsodefs.h: ... here.
843 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
845         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
847         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
848         math/test-snan.c.
849         * math/test-snan.c: Renamed from
850         sysdeps/powerpc/fpu/test-powerpc-snan.c.
851         * math/Makefile (tests): Add test-snan.
852         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
853         test-powerpc-snan.
855         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
856         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
857         functions.
858         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
859         __builtin_nan family of functions.
860         * math/libm-test.inc (initialize): Initialize qnan_value with
861         __builtin_nan family of functions.
862         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
863         Remove variables.
864         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
865         Remove functions.
866         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
867         storage class.  Initialize qNaN_var and sNaN_var with
868         __builtin_nan and __builtin_nans families of functions,
869         respectively.
871         * math/libm-test.inc (acosh_test): Also test with qNaN input.
872         (sqrt_test): Remove duplicate test with qNaN input.
873         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
874         (round_test, signbit_test, significand_test): Note missing +/-Inf
875         as well as qNaN tests.
877         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
878         qNaN_var.  Fix a few strings, too.
879         * math/libm-test.inc (nan_value): Rename to qnan_value.
880         * math/gen-libm-test.pl (%beautify): Adjust to that.
881         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
882         * math/test-misc.c (main): Likewise.
883         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
884         to __qnan_bytes, and __qnan_union, respectively.
885         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
886         Likewise.
887         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
888         and lqnanval, respectively.
889         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
890         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
891         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
892         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
894         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
895         * math/test-misc.c (main) [__x86_64__]: Enable test for long
896         doubles.
898         * math/test-misc.c (main): Fix copy'n'pastos.
899         * misc/tst-efgcvt.c (special): Likewise.
901         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
902         Remove declarations.
904 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
906         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
907         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
908         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
909         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
911 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
913         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
914         macro to return vdso values correctly in IFUNC implementations.
915         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
916         Optimization by using IFUNC.
918 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
919             Richard Henderson  <rth@redhat.com>
920             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
922         * Makefile.in (bench): New target.
923         * NEWS: Mention the benchmark framework.
924         * Rules (bench): Likewise.
925         (binaries-bench): Generate binaries for functions to
926         benchmark.
927         * benchtests/Makefile: New makefile for benchmark tests.
928         * benchtests/bench-skeleton.c: New skeleton file for benchmark
929         programs.
930         * benchtests/exp-inputs: New input file for EXP function.
931         * benchtests/pow-inputs: New input file for POW function.
932         * scripts/bench.pl: New script to generate source files for
933         benchmark programs.
935 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
937         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
938         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
939         computations on mantissa.  Use macros for rounding and
940         division.
941         (denorm): Likewise.
942         (__dbl_mp): Likewise.
943         (add_magnitudes): Likewise.
944         (sub_magnitudes): Likewise.
945         (__mul): Likewise.
946         (__sqr): Likewise.
947         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
948         powers of two in terms of TWOPOW macro.
949         (mp_no): Make type of mantissa as MANTISSA_T.
950         [!RADIXI]: Define RADIXI.
951         [!TWO52]: Define TWO52.
952         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
954         * manual/nptl.texi (cindex): Modify threads to pthreads.
956 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
958         * sysdeps/x86_64/preconfigure: Regenerated.
960 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
962         [BZ #14155]
963         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
964         0x1p28 and above.
965         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
966         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
967         0x1p28 and above.
968         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
969         * math/libm-test.inc (j0_test): Do not allow one spurious
970         underflow exception.
971         (y1_test): Likewise.
973 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
975         * manual/Makefile (chapters): Add nptl.
976         * manual/debug.texi (Debugging Support): Add link to Threads
977         chapter.
978         * manual/nptl.texi: New file.
980         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
982 2013-03-14  Petr Baudis  <pasky@ucw.cz>
984         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
985         for non-NULL pointer before the memory validity test. Pointed
986         out by Holger Brunck <holger.brunck@keymile.com>.
988 2013-03-13  Andreas Schwab  <schwab@suse.de>
990         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
991         instead of .os.
993 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
995         * timezone/zic.c: Update from tzcode 2013b.
997 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
999         * manual/install.texi (Configuring and compiling):
1000         Mention i686 and i586.
1001         * INSTALL: Regenerate.
1003 2013-03-12  Roland McGrath  <roland@hack.frob.com>
1005         * sysdeps/init_array/elf-init.c: New file.
1006         * csu/elf-init.c
1007         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1008         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1010         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1011         __gmon_start__ as global, but as static with a .preinit_array pointer.
1012         * sysdeps/init_array/gmon-start.c: New file.  Use that.
1013         * sysdeps/init_array/crti.S: New file, empty except for comments.
1014         * sysdeps/init_array/crtn.S: Likewise.
1016 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
1018         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1019         definining bcopy.
1020         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1021         Remove Prefer_SSE_for_memop.
1022         * sysdeps/x86_64/multiarch/init-arch.h: Remove
1023         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1024         HAS_PREFER_SSE_FOR_MEMOP.
1025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1026         memset-x86-64.
1027         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1028         Remove bzero, memset ifunc support.
1029         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1030         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1031         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1032         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1034 2013-03-11  Andreas Schwab  <schwab@suse.de>
1036         [BZ #15234]
1037         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1038         by SHLIB_COMPAT.
1039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1040         (GLIBC_2.16): Remove pthread_atfork.
1042 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1044         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1045         (ptestcases.h): Likewise.
1047 2013-03-08  Roland McGrath  <roland@hack.frob.com>
1049         * Makeconfig ($(common-objpfx)config.status): Depend on
1050         sysdeps/*/preconfigure{,.in} too.
1052 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1054         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1055         (__free_hook): Use void * instead of __malloc_ptr_t.
1056         (__malloc_hook): Likewise.
1057         (__realloc_hook): Likewise.
1058         (__memalign_hook): Likewise.
1059         (__after_morecore_hook): Likewise.
1060         * malloc/arena.c (save_malloc_hook): Likewise.
1061         (save_free_hook): Likewise.
1062         * malloc/hooks.c (malloc_hook_ini): Likewise.
1063         (realloc_hook_ini): Likewise.
1064         (memalign_hook_ini): Likewise.
1065         * malloc/malloc.c (malloc_hook_ini): Likewise.
1066         (realloc_hook_ini): Likewise.
1067         (memalign_hook_ini): Likewise.
1068         (__free_hook): Likewise.
1069         (__malloc_hook): Likewise.
1070         (__realloc_hook): Likewise.
1071         (__memalign_hook): Likewise.
1072         (__libc_malloc): Likewise.
1073         (__libc_free): Likewise.
1074         (__libc_realloc): Likewise.
1075         (__libc_memalign): Likewise.
1076         (__libc_valloc): Likewise.
1077         (__libc_pvalloc): Likewise.
1078         (__libc_calloc): Likewise.
1079         (__posix_memalign): Likewise.
1080         * malloc/morecore.c (__sbrk): Likewise.
1081         (__default_morecore): Likewise.
1083         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1085         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1086         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1087         __malloc_ptrdiff_t.
1089         * malloc/malloc.h (__malloc_size_t): Remove macro.
1090         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1091         __malloc_size_t.
1092         (old_memalign_hook): Likewise.
1093         (old_realloc_hook): Likewise.
1094         (struct hdr): Likewise.
1095         (flood): Likewise.
1096         (mallochook): Likewise.
1097         (memalignhook): Likewise.
1098         (reallochook): Likewise.
1099         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1100         (tr_old_realloc_hook): Likewise.
1101         (tr_old_memalign_hook): Likewise.
1102         (tr_mallochook): Likewise.
1103         (tr_reallochook): Likewise.
1104         (tr_memalignhook): Likewise.
1106 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1108         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1109         default_ldbl_pack and using as default implementation.
1110         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1111         implementation.
1112         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1113         redundant definition.
1114         (ldbl_insert_mantissa): Likewise.
1115         (ldbl_canonicalize): Likewise.
1116         (ldbl_nearbyint): Likewise.
1117         (ldbl_pack): Rename to ldbl_pack_ppc.
1118         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1119         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1120         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1122 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1125         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1126         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1127         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1129         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1130         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1131         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1133 2013-03-07  Andreas Jaeger  <aj@suse.de>
1135         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1136         bits/mman-linux.h.
1138 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1140         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1141         Include mpa.h and declare __MPEXP.
1142         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1143         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1144         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1145         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1146         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1147         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1148         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1150         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1151         (__slowpow): Use long double EXPL and LOGL functions to
1152         compute POW.
1153         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1154         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1155         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1156         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1157         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1158         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1161         intermediate variable to calculate exponent.
1162         (__sqr): Likewise.
1163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1164         Likewise.
1165         (__sqr): Likewise.
1167         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1168         [!NO__SQR]: Define __sqr.
1169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1170         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1171         sysdeps/ieee754/dbl-64/mpa.c.
1172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1174         [BZ #12723]
1175         * posix/Makefile (tests): Add tst-pathconf.
1176         * posix/tst-pathconf.c: New test case.
1177         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1178         _PC_PIPE_BUF.
1179         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1181 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1183         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1185 2013-03-06  Andreas Jaeger  <aj@suse.de>
1187         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1188         definition via __MAP_ANONYMOUS.
1190         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1191         it's not part of Linux headers.
1193         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1194         (MAP_HUGE_MASK): Define.
1196         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1197         Define.
1198         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1199         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1200         Define.
1201         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1202         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1203         Define.
1204         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1205         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1206         Define.
1207         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1209         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1210         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1211         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1212         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1213         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1214         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1216         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1217         Handle f2fs.
1219         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1220         Handle f2fs and efivarfs.
1222         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1223         f2fs.
1225         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1226         (EFIVARFS_MAGIC): Add.
1227         (F2FS_LINK_MAX): Add.
1229 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1231         * stdio-common/vfprintf.c: Replace __builtin_expect with
1232         __glibc_unlikely.
1234 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1236         [BZ #13550]
1237         * sysdeps/generic/bp-sym.h: Remove file.
1238         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1239         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1240         <bp-sym.h> and <bp-asm.h>.
1241         (__longjmp): Don't use BP_SYM.
1242         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1243         and <bp-asm.h>.
1244         (memcpy): Don't use BP_SYM.
1245         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1246         <bp-sym.h> and <bp-asm.h>.
1247         (memcpy): Don't use BP_SYM.
1248         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1249         <bp-asm.h>.
1250         (memcpy): Don't use BP_SYM.
1251         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1252         <bp-asm.h>.
1253         (memset): Don't use BP_SYM.
1254         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1255         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1256         (__bzero): Don't use BP_SYM.
1257         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1258         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1259         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1260         <bp-sym.h> and <bp-asm.h>.
1261         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1262         pointers.
1263         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1264         <bp-sym.h> and <bp-asm.h>.
1265         (memcpy): Don't use BP_SYM.
1266         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1267         <bp-sym.h> and <bp-asm.h>.
1268         (memset): Don't use BP_SYM.
1269         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1270         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1271         (__bzero): Don't use BP_SYM.
1272         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1273         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1274         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1275         <bp-sym.h> and <bp-asm.h>.
1276         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1277         pointers.
1278         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1279         <bp-sym.h> and <bp-asm.h>.
1280         (memcpy): Don't use BP_SYM.
1281         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1282         <bp-sym.h> and <bp-asm.h>.
1283         (memset): Don't use BP_SYM.
1284         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1285         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1286         (__bzero): Don't use BP_SYM.
1287         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1288         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1289         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1290         <bp-sym.h> and <bp-asm.h>.
1291         (__memchr): Don't use BP_SYM.
1292         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1293         <bp-sym.h> and <bp-asm.h>.
1294         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1295         pointers.
1296         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1297         <bp-sym.h> and <bp-asm.h>.
1298         (memcpy): Don't use BP_SYM.
1299         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1300         <bp-sym.h> and <bp-asm.h>.
1301         (__mempcpy): Don't use BP_SYM.
1302         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1303         <bp-sym.h> and <bp-asm.h>.
1304         (__memrchr): Don't use BP_SYM.
1305         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1306         <bp-sym.h> and <bp-asm.h>.
1307         (memset): Don't use BP_SYM.
1308         (__bzero): Likewise.
1309         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1310         <bp-sym.h> and <bp-asm.h>.
1311         (__rawmemchr): Don't use BP_SYM.
1312         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1313         <bp-sym.h> and <bp-asm.h>.
1314         (__STRCMP): Don't use BP_SYM.
1315         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1316         <bp-sym.h> and <bp-asm.h>.
1317         (strchr): Don't use BP_SYM.
1318         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1319         <bp-sym.h> and <bp-asm.h>.
1320         (__strchrnul): Don't use BP_SYM.
1321         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1322         <bp-sym.h> and <bp-asm.h>.
1323         (strlen): Don't use BP_SYM.
1324         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1325         <bp-sym.h> and <bp-asm.h>.
1326         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1327         pointers.
1328         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1329         <bp-sym.h> and <bp-asm.h>.
1330         (__strnlen): Don't use BP_SYM.
1331         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1332         <bp-sym.h> and <bp-asm.h>.
1333         (__GI__setjmp): Don't use BP_SYM.
1334         (_setjmp): Likewise.
1335         (__sigsetjmp): Likewise.
1336         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1337         (L(start_addresses)): Don't use BP_SYM.
1338         (_start): Likewise.
1339         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1340         <bp-asm.h>.
1341         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1342         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1343         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1344         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1345         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1346         <bp-asm.h>.
1347         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1348         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1349         about bounded pointers.
1350         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1351         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1352         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1353         <bp-asm.h>.
1354         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1355         about bounded pointers.  Remove GKM FIXME comments.
1356         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1357         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1358         <bp-asm.h>.
1359         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1360         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1361         Remove GKM FIXME comments.
1362         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1363         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1364         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1365         <bp-asm.h>.
1366         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1367         about bounded pointers.  Remove GKM FIXME comment.
1368         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1369         and <bp-asm.h>.
1370         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1371         pointers.
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1373         <bp-sym.h> and <bp-asm.h>.
1374         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1376         <bp-sym.h> and <bp-asm.h>.
1377         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1378         comment.
1380 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1382         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1383         call free(NULL).
1385 2013-03-05  David S. Miller  <davem@davemloft.net>
1387         * po/es.po: Update from translation team.
1389 2013-03-05  Andreas Jaeger  <aj@suse.de>
1391         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1392         <bits/mman-linux.h>.
1393         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1394         is fine.
1395         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1396         <bits/mman-linux.h> to end of file.
1397         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1398         is fine.
1399         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1400         <bits/mman-linux.h> to end of file.
1401         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1402         is fine.
1403         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1404         <bits/mman-linux.h> to end of file.
1406         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1407         (MCL_CURRENT, MCL_FUTURE): Define here.
1409 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1411         [BZ #15232]
1412         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1413         attribute_hidden.
1414         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1416 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1418         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1419         fourth parameter needed for rt_sigprocmask syscall.
1420         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1421         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1422         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1423         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1424         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1425         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1427 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1429         [BZ #13550]
1430         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1431         comment about bounded pointers.
1432         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1433         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1435 2013-03-04  Andreas Jaeger  <aj@suse.de>
1437         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1438         common definitions.
1440         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1441         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1442         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1443         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1444         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1445         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1447 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1449         [BZ #15055]
1450         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1451         __ieee754_sqrl instead of __sqrl.
1453 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1455         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1456         * sysdeps/powerpc/fpu_control.h: ... here.
1457         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1458         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1459         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1460         * sysdeps/powerpc/bits/mathinline.h: ... here.
1462 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1464         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1465         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1466         to just [NEED_DL_SYSINFO_DSO].
1467         * elf/dl-support.c: Likewise.
1468         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1469         * elf/rtld.c (dl_main): Likewise.
1470         * elf/setup-vdso.h (setup_vdso): Likewise.
1471         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1472         * sysdeps/unix/sysv/linux/dl-sysdep.c
1473         (_dl_discover_osversion): Likewise.
1475 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1477         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1478         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1480 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1482         * NEWS: Mention libm performance improvements and non-x86 PI
1483         futex support.
1485         * csu/libc-start.c (__pthread_initialize_minimal): Change
1486         function arguments.
1487         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1489 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1491         [BZ #13550]
1492         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1493         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1494         <bp-sym.h> and <bp-asm.h>.
1495         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1496         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1497         and <bp-asm.h>.
1498         (memcpy): Don't use BP_SYM.
1499         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1500         <bp-asm.h>.
1501         (__mpn_add_n): Don't use BP_SYM.
1502         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1503         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1504         and <bp-asm.h>.
1505         (__mpn_addmul_1): Don't use BP_SYM.
1506         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1507         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1508         <bp-sym.h>.
1509         (_setjmp): Don't use BP_SYM.
1510         (__novmx_setjmp): Likewise.
1511         (__GI__setjmp): Likewise.
1512         (__vmx_setjmp): Likewise.
1513         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1514         <bp-sym.h>.
1515         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1516         (__bzero): Don't use BP_SYM.
1517         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1518         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1519         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1520         <bp-sym.h> and <bp-asm.h>.
1521         (memcpy): Don't use BP_SYM.
1522         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1523         <bp-sym.h> and <bp-asm.h>.
1524         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1525         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1526         <bp-sym.h> and <bp-asm.h>.
1527         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1528         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1529         <bp-asm.h>.
1530         (__mpn_lshift): Don't use BP_SYM.
1531         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1532         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1533         <bp-asm.h>.
1534         (memset): Don't use BP_SYM.
1535         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1536         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1537         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1538         <bp-asm.h>.
1539         (__mpn_mul_1): Don't use BP_SYM.
1540         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1541         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1542         <bp-sym.h> and <bp-asm.h>.
1543         (memcmp): Don't use BP_SYM.
1544         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1545         <bp-sym.h> and <bp-asm.h>.
1546         (memcpy): Don't use BP_SYM.
1547         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1548         <bp-sym.h> and <bp-asm.h>.
1549         (memset): Don't use BP_SYM.
1550         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1551         <bp-sym.h> and <bp-asm.h>.
1552         (strncmp): Don't use BP_SYM.
1553         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1554         <bp-sym.h> and <bp-asm.h>.
1555         (memcpy): Don't use BP_SYM.
1556         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1557         <bp-sym.h> and <bp-asm.h>.
1558         (memset): Don't use BP_SYM.
1559         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1560         <bp-sym.h> and <bp-asm.h>.
1561         (__memchr): Don't use BP_SYM.
1562         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1563         <bp-sym.h> and <bp-asm.h>.
1564         (memcmp): Don't use BP_SYM.
1565         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1566         <bp-sym.h> and <bp-asm.h>.
1567         (memcpy): Don't use BP_SYM.
1568         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1569         <bp-sym.h> and <bp-asm.h>.
1570         (__mempcpy): Don't use BP_SYM.
1571         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1572         <bp-sym.h> and <bp-asm.h>.
1573         (__memrchr): Don't use BP_SYM.
1574         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1575         <bp-sym.h> and <bp-asm.h>.
1576         (memset): Don't use BP_SYM.
1577         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1578         <bp-sym.h> and <bp-asm.h>.
1579         (__rawmemchr): Don't use BP_SYM.
1580         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1581         <bp-sym.h> and <bp-asm.h>.
1582         (__STRCMP): Don't use BP_SYM.
1583         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1584         <bp-sym.h> and <bp-asm.h>.
1585         (strchr): Don't use BP_SYM.
1586         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1587         <bp-sym.h> and <bp-asm.h>.
1588         (__strchrnul): Don't use BP_SYM.
1589         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1590         <bp-sym.h> and <bp-asm.h>.
1591         (strlen): Don't use BP_SYM.
1592         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1593         <bp-sym.h> and <bp-asm.h>.
1594         (strncmp): Don't use BP_SYM.
1595         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1596         <bp-sym.h> and <bp-asm.h>.
1597         (__strnlen): Don't use BP_SYM.
1598         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1599         <bp-asm.h>.
1600         (__mpn_rshift): Don't use BP_SYM.
1601         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1602         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1603         <bp-sym.h> and <bp-asm.h>.
1604         (__sigsetjmp): Don't use BP_SYM.
1605         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1606         (L(start_addresses)): Don't use BP_SYM.
1607         (_start): Likewise.
1608         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1609         <bp-asm.h>.
1610         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1611         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1612         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1613         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1614         <bp-asm.h>.
1615         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1616         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1617         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1618         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1619         <bp-asm.h>.
1620         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1621         comments.
1622         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1623         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1624         <bp-asm.h>.
1625         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1626         FIXME comments.
1627         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1628         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1629         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1630         <bp-asm.h>.
1631         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1632         comment.
1633         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1634         and <bp-asm.h>.
1635         (strncmp): Don't use BP_SYM,
1636         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1637         <bp-asm.h>.
1638         (__mpn_sub_n): Don't use BP_SYM.
1639         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1640         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1641         and <bp-asm.h>.
1642         (__mpn_submul_1): Don't use BP_SYM.
1643         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1645         <bp-sym.h> and <bp-asm.h>.
1646         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1648         <bp-sym.h> and <bp-asm.h>.
1649         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1650         comment.
1652 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1654         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1655         Use ZK to minimize writes to Z.
1656         (sub_magnitudes): Simplify code a bit.
1657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1658         Use ZK to minimize writes to Z.
1659         (sub_magnitudes): Simplify code a bit.
1661 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1663         * csu/gmon-start.c: Add special exception to license text.
1665 2013-02-27  Richard Henderson  <rth@redhat.com>
1667         * scripts/config.guess: Update from config.git.
1668         * scripts/config.sub: Likewise.
1670 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1672         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1674         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1676         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1678         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1680         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1682 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1684         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1685         [$(build-shared = yes].
1687 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1689         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1690         (__mul): Reduce iterations for calculating mantissa.
1692         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1693         MPTWO.
1694         (__mpranred): Likewise.
1696         [BZ #15160]
1697         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1698         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1700 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1702         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1703         Define __attribute__.
1705 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1707         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1708         unused.
1709         * posix/regex_internal.h (__attribute): Remove.
1710         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1711         (re_string_context_at): Likewise.
1712         (bitset_not): Use __attribute__ and mark function as possibly
1713         unused.
1714         (bitset_merge): Likewise.
1715         (bitset_mask): Likewise.
1716         (re_string_char_size_at): Likewise.
1717         (re_string_wchar_at): Likewise.
1718         (re_string_elem_size_at): Likewise.
1720 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1722         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1723         code.
1724         (cc32): Likewise.
1726         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1727         (__acr): Likewise.
1728         (__cpy): Likewise.
1729         (norm): Likewise.
1730         (denorm): Likewise.
1731         (__dbl_mp): Likewise.
1732         (add_magnitudes): Likewise.
1733         (sub_magnitudes): Likewise.
1734         (__mul): Likewise.
1735         (__inv): Likewise.
1737         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1738         style.
1740         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1741         style.
1743         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1744         code.
1746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1747         up changes with default code.
1748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1749         Likewise.
1751 2013-02-24  Allan McRae  <allan@archlinux.org>
1753         * manual/socket.texi (The Internet Namespace): Order menu items
1754         to match that in the file.
1756         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1757         node listing of the info page menu.
1759 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1761         [BZ #13550]
1762         * sysdeps/i386/bp-asm.h: Remove file.
1763         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1764         (PARMS): Do not use macros from bp-asm.h.
1765         (S1): Likewise.
1766         (S2): Likewise.
1767         (SIZE): Likewise.
1768         (__mpn_add_n): Do not use BP_SYM
1769         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1770         "bp-asm.h".
1771         (PARMS): Do not use macros from bp-asm.h.
1772         (S1): Likewise.
1773         (SIZE): Likewise.
1774         (__mpn_addmul_1): Do not use BP_SYM
1775         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1776         "bp-asm.h".
1777         (PARMS): Do not use macros from bp-asm.h.
1778         (SIGMSK): Likewise.
1779         (_setjmp): Likewise.  Do not use BP_SYM.
1780         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1781         "bp-asm.h".
1782         (PARMS): Do not use macros from bp-asm.h.
1783         (SIGMSK): Likewise.
1784         (setjmp): Likewise.  Do not use BP_SYM.
1785         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1786         "bp-asm.h".
1787         (PARMS): Do not use macros from bp-asm.h.
1788         (__frexp): Do not use BP_SYM.
1789         (frexp): Likewise.
1790         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1791         "bp-asm.h".
1792         (PARMS): Do not use macros from bp-asm.h.
1793         (__frexpf): Do not use BP_SYM.
1794         (frexpf): Likewise.
1795         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1796         "bp-asm.h".
1797         (PARMS): Do not use macros from bp-asm.h.
1798         (__frexpl): Do not use BP_SYM.
1799         (frexpl): Likewise.
1800         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1801         "bp-asm.h".
1802         (PARMS): Do not use macros from bp-asm.h.
1803         (__remquo): Do not use BP_SYM.
1804         (remquo): Likewise.
1805         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1806         "bp-asm.h".
1807         (PARMS): Do not use macros from bp-asm.h.
1808         (__remquof): Do not use BP_SYM.
1809         (remquof): Likewise.
1810         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1811         "bp-asm.h".
1812         (PARMS): Do not use macros from bp-asm.h.
1813         (__remquol): Do not use BP_SYM.
1814         (remquol): Likewise.
1815         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1816         "bp-asm.h".
1817         (PARMS): Do not use macros from bp-asm.h.
1818         (DEST): Likewise.
1819         (SRC): Likewise.
1820         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1821         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1822         "bp-asm.h".
1823         (PARMS): Do not use macros from bp-asm.h.
1824         (strlen): Do not use BP_SYM.
1825         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1826         "bp-asm.h".
1827         (PARMS): Do not use macros from bp-asm.h.
1828         (S1): Likewise.
1829         (S2): Likewise.
1830         (SIZE): Likewise.
1831         (__mpn_add_n): Do not use BP_SYM.
1832         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1833         "bp-asm.h".
1834         (PARMS): Do not use macros from bp-asm.h.
1835         (S1): Likewise.
1836         (SIZE): Likewise.
1837         (__mpn_addmul_1): Do not use BP_SYM.
1838         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1839         weak_alias.
1840         (bzero): Likewise.
1841         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1842         "bp-asm.h".
1843         (PARMS): Do not use macros from bp-asm.h.
1844         (S): Likewise.
1845         (SIZE): Likewise.
1846         (__mpn_lshift): Do not use BP_SYM.
1847         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1848         "bp-asm.h".
1849         (PARMS): Do not use macros from bp-asm.h.
1850         (DEST): Likewise.
1851         (SRC): Likewise.
1852         (LEN): Likewise.
1853         (memcpy): Likewise.  Do not use BP_SYM.
1854         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1855         libc_hidden_def and weak_alias.
1856         (mempcpy): Do not use BP_SYM in weak_alias.
1857         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1858         "bp-asm.h".
1859         (PARMS): Do not use macros from bp-asm.h.
1860         (DEST): Likewise.
1861         (LEN): Likewise.
1862         [!BZERO_P] (CHR): Likewise.
1863         (memset): Likewise.  Do not use BP_SYM.
1864         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1865         "bp-asm.h".
1866         (PARMS): Do not use macros from bp-asm.h.
1867         (S1): Likewise.
1868         (SIZE): Likewise.
1869         (__mpn_mul_1): Do not use BP_SYM.
1870         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1871         "bp-asm.h".
1872         (PARMS): Do not use macros from bp-asm.h.
1873         (S): Likewise.
1874         (SIZE): Likewise.
1875         (__mpn_rshift): Do not use BP_SYM.
1876         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1877         "bp-asm.h".
1878         (PARMS): Do not use macros from bp-asm.h.
1879         (STR): Likewise.
1880         (CHR): Likewise.
1881         (strchr): Likewise.  Do not use BP_SYM.
1882         (index): Do not use BP_SYM in weak_alias.
1883         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1884         "bp-asm.h".
1885         (PARMS): Do not use macros from bp-asm.h.
1886         (DEST): Likewise.
1887         (SRC): Likewise.
1888         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1889         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1890         "bp-asm.h".
1891         (PARMS): Do not use macros from bp-asm.h.
1892         (strlen): Do not use BP_SYM.
1893         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1894         "bp-asm.h".
1895         (PARMS): Do not use macros from bp-asm.h.
1896         (S1): Likewise.
1897         (S2): Likewise.
1898         (SIZE): Likewise.
1899         (__mpn_sub_n): Do not use BP_SYM.
1900         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1901         "bp-asm.h".
1902         (PARMS): Do not use macros from bp-asm.h.
1903         (S1): Likewise.
1904         (SIZE): Likewise.
1905         (__mpn_submul_1): Do not use BP_SYM.
1906         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1907         "bp-asm.h".
1908         (PARMS): Do not use macros from bp-asm.h.
1909         (S1): Likewise.
1910         (S2): Likewise.
1911         (SIZE): Likewise.
1912         (__mpn_add_n): Do not use BP_SYM.
1913         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1914         weak_alias.
1915         (bzero): Likewise.
1916         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1917         "bp-asm.h".
1918         (PARMS): Do not use macros from bp-asm.h.
1919         (BLK2): Likewise.
1920         (LEN): Likewise.
1921         (memcmp): Do not use BP_SYM.
1922         (bcmp): Do not use BP_SYM in weak_alias.
1923         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1924         "bp-asm.h".
1925         (PARMS): Do not use macros from bp-asm.h.
1926         (DEST): Likewise.
1927         (SRC): Likewise.
1928         (LEN): Likewise.
1929         (memcpy): Likewise.  Do not use BP_SYM.
1930         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1931         "bp-asm.h".
1932         (PARMS): Do not use macros from bp-asm.h.
1933         (DEST): Likewise.
1934         (SRC): Likewise.
1935         (LEN): Likewise.
1936         (memmove): Likewise.  Do not use BP_SYM.
1937         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1938         "bp-asm.h".
1939         (PARMS): Do not use macros from bp-asm.h.
1940         (DEST): Likewise.
1941         (SRC): Likewise.
1942         (LEN): Likewise.
1943         (__mempcpy): Likewise.  Do not use BP_SYM.
1944         (mempcpy): Do not use BP_SYM in weak_alias.
1945         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1946         "bp-asm.h".
1947         (PARMS): Do not use macros from bp-asm.h.
1948         (DEST): Likewise.
1949         (LEN): Likewise.
1950         [!BZERO_P] (CHR): Likewise.
1951         (memset): Likewise.  Do not use BP_SYM.
1952         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1953         "bp-asm.h".
1954         (PARMS): Do not use macros from bp-asm.h.
1955         (STR2): Likewise.
1956         (strcmp): Do not use BP_SYM.
1957         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1958         "bp-asm.h".
1959         (PARMS): Do not use macros from bp-asm.h.
1960         (STR): Likewise.
1961         (DELIM): Likewise.
1962         [USE_AS_STRTOK_R] (SAVE): Likewise.
1963         (FUNCTION): Likewise.  Do not use BP_SYM.
1964         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1965         aliases.
1966         (strtok_r): Likewise.
1967         (__GI___strtok_r): Likewise.
1968         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1969         (PARMS): Do not use macros from bp-asm.h.
1970         (S): Likewise.
1971         (SIZE): Likewise.
1972         (__mpn_lshift): Do not use BP_SYM.
1973         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1974         (PARMS): Do not use macros from bp-asm.h.
1975         (STR): Likewise.
1976         (CHR): Likewise.
1977         (__memchr): Do not use BP_SYM.
1978         (memchr): Do not use BP_SYM in weak_alias.
1979         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1980         (PARMS): Do not use macros from bp-asm.h.
1981         (BLK2): Likewise.
1982         (LEN): Likewise.
1983         (memcmp): Do not use BP_SYM.
1984         (bcmp): Do not use BP_SYM in weak_alias.
1985         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1986         (PARMS): Do not use macros from bp-asm.h.
1987         (S1): Likewise.
1988         (SIZE): Likewise.
1989         (__mpn_mul_1): Do not use BP_SYM.
1990         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1991         "bp-asm.h".
1992         (PARMS): Do not use macros from bp-asm.h.
1993         (STR): Likewise.
1994         (CHR): Likewise.
1995         (__rawmemchr): Do not use BP_SYM.
1996         (rawmemchr): Do not use BP_SYM in weak_alias.
1997         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1998         (PARMS): Do not use macros from bp-asm.h.
1999         (S): Likewise.
2000         (SIZE): Likewise.
2001         (__mpn_rshift): Do not use BP_SYM.
2002         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2003         (PARMS): Do not use macros from bp-asm.h.
2004         (SIGMSK): Likewise.
2005         (__sigsetjmp): Likewise.  Do not use BP_SYM.
2006         * sysdeps/i386/start.S: Do not include "bp-sym.h".
2007         (_start): Do not use BP_SYM.
2008         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2009         (PARMS): Do not use macros from bp-asm.h.
2010         (DEST): Likewise.
2011         (SRC): Likewise.
2012         (__stpcpy): Likewise.  Do not use BP_SYM.
2013         (stpcpy): Do not use BP_SYM in weak_alias.
2014         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2015         "bp-asm.h".
2016         (PARMS): Do not use macros from bp-asm.h.
2017         (DEST): Likewise.
2018         (SRC): Likewise.
2019         (LEN): Likewise.
2020         (__stpncpy): Likewise.  Do not use BP_SYM.
2021         (stpncpy): Do not use BP_SYM in weak_alias.
2022         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2023         (PARMS): Do not use macros from bp-asm.h.
2024         (STR): Likewise.
2025         (CHR): Likewise.
2026         (strchr): Likewise.  Do not use BP_SYM.
2027         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2028         "bp-asm.h".
2029         (PARMS): Do not use macros from bp-asm.h.
2030         (STR): Likewise.
2031         (CHR): Likewise.
2032         (__strchrnul): Likewise.  Do not use BP_SYM.
2033         (strchrnul): Do not use BP_SYM in weak_alias.
2034         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2035         "bp-asm.h".
2036         (PARMS): Do not use macros from bp-asm.h.
2037         (STOP): Likewise.
2038         (strcspn): Do not use BP_SYM.
2039         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2040         "bp-asm.h".
2041         (PARMS): Do not use macros from bp-asm.h.
2042         (STR): Likewise.
2043         (STOP): Likewise.
2044         (strpbrk): Likewise.  Do not use BP_SYM.
2045         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2046         "bp-asm.h".
2047         (PARMS): Do not use macros from bp-asm.h.
2048         (STR): Likewise.
2049         (CHR): Likewise.
2050         (strrchr): Likewise.  Do not use BP_SYM.
2051         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2052         (PARMS): Do not use macros from bp-asm.h.
2053         (SKIP): Likewise.
2054         (strspn): Do not use BP_SYM.
2055         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2056         (PARMS): Do not use macros from bp-asm.h.
2057         (STR): Likewise.
2058         (DELIM): Likewise.
2059         (SAVE): Likewise.
2060         (FUNCTION): Likewise.  Do not use BP_SYM.
2061         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2062         aliases.
2063         (strtok_r): Likewise.
2064         (__GI___strtok_r): Likewise.
2065         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2066         (PARMS): Do not use macros from bp-asm.h.
2067         (S1): Likewise.
2068         (S2): Likewise.
2069         (SIZE): Likewise.
2070         (__mpn_sub_n): Do not use BP_SYM.
2071         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2072         "bp-asm.h".
2073         (PARMS): Do not use macros from bp-asm.h.
2074         (S1): Likewise.
2075         (SIZE): Likewise.
2076         (__mpn_submul_1): Do not use BP_SYM.
2077         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2078         <bp-sym.h>.
2079         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2080         and <bp-asm.h>.
2081         (PARMS): Do not use macros from bp-asm.h.
2082         (FLAGS): Likewise.
2083         (PTID): Likewise.
2084         (TLS): Likewise.
2085         (CTID): Likewise.
2086         (__clone): Do not use BP_SYM.
2087         (clone): Do not use BP_SYM in weak_alias.
2088         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2089         and <bp-asm.h>.
2090         (PARMS): Do not use macros from bp-asm.h.
2091         (LEN): Likewise.
2092         (__mmap64): Do not use BP_SYM.
2093         (mmap64): Do not use BP_SYM in weak_alias.
2094         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2095         <bp-sym.h> and <bp-asm.h>.
2096         (PARMS): Do not use macros from bp-asm.h.
2097         (__posix_fadvise64_l64): Do not use BP_SYM.
2098         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2099         (PARMS): Do not use macros from bp-asm.h.
2100         (NSOPS): Likewise.
2101         (semtimedop): Do not use BP_SYM.
2102         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2103         and <bp-asm.h>.
2105 2013-02-21  Allan McRae  <allan@archlinux.org>
2107         * manual/message.texi (Charset conversion in gettext):
2108         Move @end statement to beginning of line.
2110 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2112         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2113         static.
2114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2115         Likewise.
2117         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2118         (denorm): Likewise.
2119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2122 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2124         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2125         tail-call to the resolved function if pltexit isn't needed.
2127 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2130         or Y being zero as being unlikely.
2131         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2132         Likewise.
2134 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2136         * manual/nss.texi (System Databases and Name Service Switch):
2137         Remove frobnicate @pxref.
2139 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2141         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2142         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2144 2013-02-20  Petr Machata  <pmachata@redhat.com>
2146         * elf/elf.h (R_ARM_TARGET1): New macro.
2147         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2148         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2149         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2150         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2151         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2152         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2153         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2154         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2155         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2156         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2157         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2158         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2159         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2160         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2161         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2162         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2163         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2164         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2165         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2166         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2167         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2168         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2169         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2170         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2171         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2172         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2173         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2174         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2175         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2176         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2177         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2178         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2179         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2180         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2181         (R_ARM_THM_GOT_BREL12): Likewise.
2182         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2183         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2184         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2185         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2186         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2187         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2188         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2189         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2190         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2192 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2194         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2195         __attribute_used__ to __attribute__ ((unused)).
2197 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2199         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2200         powerpc mpa.c.
2201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2202         comment formatting.
2203         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2205 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2207         [BZ #13550]
2208         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2209         Remove macro.
2210         (ENTER): Remove both macro definitions.
2211         (LEAVE): Likewise.
2212         (CHECK_BOUNDS_LOW): Likewise.
2213         (CHECK_BOUNDS_HIGH): Likewise.
2214         (CHECK_BOUNDS_BOTH): Likewise.
2215         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2216         (RETURN_BOUNDED_POINTER): Likewise.
2217         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2218         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2219         (POP_ERRNO_LOCATION_RETURN): Likewise.
2220         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2221         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2222         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2223         macros.
2224         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2225         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2226         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2227         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2228         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2229         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2230         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2231         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2232         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2233         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2234         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2235         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2236         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2237         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2238         removed macros.
2239         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2240         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2241         macros.
2242         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2243         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2244         * sysdeps/i386/i586/memset.S (memset): Likewise.
2245         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2246         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2247         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2248         macros.
2249         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2250         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2251         Change uses of L(2) to L(out).
2252         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2253         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2254         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2255         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2256         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2257         removed macros.
2258         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2259         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2260         macros.
2261         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2262         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2263         (RETURN): Do not use macro LEAVE.
2264         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2265         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2266         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2267         * sysdeps/i386/i686/memset.S (memset): Likewise.
2268         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2269         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2270         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2271         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2272         Likewise.
2273         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2274         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2275         L(1_2) and L(1_3) into L(1).
2276         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2277         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2278         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2279         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2280         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2281         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2282         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2283         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2284         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2285         macros.
2286         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2287         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2288         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2289         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2290         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2291         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2292         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2293         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2294         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2295         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2296         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2297         * sysdeps/i386/strspn.S (strspn): Likewise.
2298         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2299         conditional code.
2300         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2301         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2302         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2303         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2304         L(1_3) into L(1_1).
2305         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2306         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2307         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2308         macros.
2309         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2311 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2313         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2314         macro.
2316 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2318         * math/atest-exp.c (exp_mpn): Remove ROUND.
2319         * math/atest-exp2.c (exp_mpn): Likewise.
2320         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2322         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2323         * stdlib/tst-tls-atexit-lib.c: Likewise.
2324         * stdlib/tst-tls-atexit.c: Likewise.
2326 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2328         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2329         and __attribute_alloc_size__.
2331 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2333         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2334         __attribute_alloc_size__.
2335         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2336         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2338 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2340         * include/programs/xmalloc.h: New file.
2341         * catgets/gencat.c: Include it.
2342         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2343         * elf/pldd.c: Likewise.
2344         * iconv/iconv_charmap.c: Likewise.
2345         * iconv/iconvconfig.c: Likewise.
2346         * iconv/strtab.c: Likewise.
2347         * locale/programs/locale.c: Likewise.
2348         * locale/programs/localedef.h: Likewise.
2349         * locale/programs/simple-hash.c: Likewise.
2350         * nscd/nscd.h: Likewise.
2351         * nss/makedb.c: Likewise.
2352         * sysdeps/generic/ldconfig.h: Likewise.
2354 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2356         * Versions.def: Add GLIBC_2.18.
2357         * include/link.h (struct link_map): New member l_tls_dtor_count.
2358         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2359         (__call_tls_dtors): Likewise.
2360         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2361         __cxa_thread_atexit_impl.
2362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2363         Likewise.
2364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2365         Likewise.
2366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2367         Likewise.
2368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2369         Likewise.
2370         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2372         Likewise.
2373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2374         Likewise.
2375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2377         Likewise.
2378         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2379         (tests): Add test case tst-tls-atexit.
2380         (modules-names): Add shared library for tst-tls-atexit.
2381         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2382         (GLIBC_PRIVATE): Add __call_tls_dtors.
2383         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2384         for libstdc++.
2385         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2386         * stdlib/tst-tls-atexit.c: New test case.
2387         * stdlib/tst-tls-atexit-lib.c: New test case.
2389         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2391         * elf/Versions (ld): Add _dl_find_dso_for_object.
2392         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2393         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2394         (dl_open_worker): Use _dl_find_dso_for_object.
2395         * elf/dl-sym.c (do_sym): Likewise.
2396         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2398 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2400         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2401         Syntactic changes only.
2402         (_dl_runtime_profile): Do a tail-call to the resolved function.
2404 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2406         [BZ #13550]
2407         * sysdeps/x86_64/bp-asm.h: Remove file.
2408         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2409         <bp-sym.h> and <bp-asm.h>.
2410         (__clone): Do not use BP_SYM.
2411         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2412         <bp-sym.h> and <bp-asm.h>.
2413         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2414         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2415         "bp-asm.h".
2416         (_setjmp): Do not use BP_SYM.
2417         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2418         "bp-asm.h".
2419         (setjmp): Do not use BP_SYM.
2420         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2421         libc_hidden_def.
2422         (mempcpy): Do not use BP_SYM in weak_alias.
2423         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2424         "bp-asm.h".
2425         (strchr): Do not use BP_SYM.
2426         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2427         "bp-asm.h".
2428         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2429         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2430         (_start): Do not use BP_SYM.
2431         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2432         "bp-asm.h".
2433         (strcat): Do not use BP_SYM.
2434         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2435         "bp-asm.h".
2436         (STRCMP): Do not use BP_SYM.
2437         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2438         "bp-asm.h".
2439         (STRCPY): Do not use BP_SYM.
2440         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2441         "bp-asm.h".
2442         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2443         "bp-asm.h".
2444         (FUNCTION): Do not use BP_SYM.
2445         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2446         weak_alias.
2447         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2449 2013-02-17  Andreas Jaeger  <aj@suse.de>
2451         * time/Versions: Sort entries.
2452         * string/Versions: Likewise.
2453         * resolv/Versions: Likewise.
2454         * posix/Versions: Likewise.
2455         * iconv/Versions: Likewise.
2456         * elf/Versions: Likewise.
2457         * wcsmbs/Versions: Likewise.
2459 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2461         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2462         loop termination condition.
2464         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2465         variable to calculate EZ.
2466         (__sqr): Likewise.
2468         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2469         the lower precision input.
2471 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2473         [BZ #13550]
2474         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2475         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2476         (run-via-rtld-prefix): Do not handle %-bp tests.
2477         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2478         (all-object-suffixes): Remove .ob.
2479         (bppfx): Remove variable.
2480         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2481         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2482         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2483         [$(build-bounded) = yes] (libtype.ob): Likewise.
2484         * Makerules (elide-routines.ob): Remove variable.
2485         (do-tests-clean): Do not handle *-bp.out.
2486         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2487         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2488         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2489         (tests): Do not include $(tests-bp.out).
2490         (xtests): Do not include $(xtests-bp.out).
2491         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2492         [$(build-bounded) = yes] ($(addprefix
2493         $(objpfx),$(binaries-bounded))): Remove rule.
2494         ($(objpfx)%-bp.out): Remove rule.
2495         * config.make.in (build-bounded): Remove variable.
2496         * crypt/Makefile [$(build-bounded) = yes]
2497         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2498         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2499         append to variable.
2500         [$(build-bounded) = yes] (install-lib): Likewise.
2501         [$(build-bounded) = yes] (generated): Likewise.
2502         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2503         Remove rule.
2504         * intl/Makefile [$(build-bounded) = yes]
2505         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2506         * math/Makefile [$(build-bounded) = yes]
2507         ($(tests:%=$(objpfx)%-bp): Likewise.
2508         * misc/Makefile [$(build-bounded) = yes]
2509         ($(objpfx)tst-tsearch-bp): Likewise.
2510         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2511         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2512         Remove dependency.
2513         * string/Makefile (o-objects.ob): Remove variable.
2514         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2515         (CFLAGS-.ob): Remove variable.
2516         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2517         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2518         both definitions of variable.
2519         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2520         (ASFLAGS-.ob): Remove variable.
2522 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2524         [BZ #13550]
2525         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2526         Remove __BOUNDED_POINTERS__ from condition.
2527         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2528         * string/bits/string2.h [!__NO_STRING_INLINES &&
2529         !__BOUNDED_POINTERS__]: Likewise.
2530         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2531         Likewise.
2532         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2533         Remove conditional code.
2534         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2535         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2536         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2537         condition.
2539         [BZ #13550]
2540         * csu/libc-start.c: Do not include <bp-sym.h>.
2541         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2542         * elf/dl-open.c: Do not include <bp-sym.h>.
2543         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2544         * math/fegetenv.c: Do not include <bp-sym.h>.
2545         (fegetenv): Do not use BP_SYM in versioned symbols.
2546         * nptl/sysdeps/pthread/bits/libc-lockP.h
2547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2548         <bp-sym.h>.
2549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2550         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2552         (__pthread_mutex_destroy): Likewise.
2553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2554         (__pthread_mutex_lock): Likewise.
2555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2556         (__pthread_mutex_trylock): Likewise.
2557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2558         (__pthread_mutex_unlock): Likewise.
2559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2560         (__pthread_mutexattr_init): Likewise.
2561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2562         (__pthread_mutexattr_destroy): Likewise.
2563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2564         (__pthread_mutexattr_settype): Likewise.
2565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2566         (__pthread_rwlock_init): Likewise.
2567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2568         (__pthread_rwlock_destroy): Likewise.
2569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2570         (__pthread_rwlock_rdlock): Likewise.
2571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2572         (__pthread_rwlock_tryrdlock): Likewise.
2573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2574         (__pthread_rwlock_wrlock): Likewise.
2575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2576         (__pthread_rwlock_trywrlock): Likewise.
2577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2578         (__pthread_rwlock_unlock): Likewise.
2579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2580         (__pthread_key_create): Likewise.
2581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2582         (__pthread_setspecific): Likewise.
2583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2584         (__pthread_getspecific): Likewise.
2585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2586         Likewise.
2587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2588         (_pthread_cleanup_push_defer): Likewise.
2589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2590         (_pthread_cleanup_pop_restore): Likewise.
2591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2592         (pthread_setcancelstate): Likewise.
2593         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2594         <bp-sym.h>.
2595         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2596         (memchr): Do not use BP_SYM in weak_alias.
2597         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2598         (fegetenv): Do not use BP_SYM in versioned symbols.
2599         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2600         (fesetenv): Do not use BP_SYM in versioned symbols.
2601         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2602         (feupdateenv): Do not use BP_SYM in versioned symbols.
2603         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2604         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2605         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2606         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2607         (open64): Do not use BP_SYM in weak_alias.
2608         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2609         (fegetenv): Do not use BP_SYM in versioned symbols.
2610         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2611         (fesetenv): Do not use BP_SYM in versioned symbols.
2612         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2613         (feupdateenv): Do not use BP_SYM in versioned symbols.
2614         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2615         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2616         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2617         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2618         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2619         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2620         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2621         <bp-sym.h>.
2622         (__libc_start_main): Do not use BP_SYM.
2624 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2627         redundant return line.
2628         (norm): Likewise.
2629         (denorm): Likewise.
2630         (dbl_mp): Likewise.
2631         (sub_magnitudes): Likewise.
2632         (__add): Likewise.
2633         (__sub): Likewise.
2634         (__mul): Likewise.
2635         (__inv): Likewise.
2636         (__dvd): Likewise.
2637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2638         (norm): Likewise.
2639         (denorm): Likewise.
2640         (dbl_mp): Likewise.
2641         (sub_magnitudes): Likewise.
2642         (__add): Likewise.
2643         (__sub): Likewise.
2644         (__mul): Likewise.
2645         (__inv): Likewise.
2646         (__dvd): Likewise.
2648         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2649         instead of __mul.
2650         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2651         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2652         (cc32): Likewise.
2654         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2655         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2656         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2657         of __mul for squares.
2658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2659         function
2660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2661         Likewise.
2662         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2663         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2665 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2667         [BZ #13550]
2668         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2669         code.
2670         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2671         prototype or function definition.  Rename ubp_* variables and
2672         parameters.  Remove argv definitions conditional on
2673         [__BOUNDED_POINTERS__].
2674         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2675         * elf/dl-runtime.c (_dl_fixup): Likewise.
2676         * include/set-hooks.h (RUN_HOOK): Likewise.
2677         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2678         definition.
2679         * string/strcpy.c (strcpy): Do not use __unbounded.
2680         * sysdeps/generic/frame.h (struct layout): Likewise.
2681         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2682         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2683         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2684         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2685         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2686         (__backtrace): Likewise.
2687         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2688         use __ptrvalue.
2689         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2690         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2691         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2692         Likewise.
2693         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2694         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2695         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2696         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2697         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2698         Do not use __unbounded.
2699         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2700         Rename __unboundedrlimits parameter to rlimits in prototype.
2701         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2702         Do not use __unbounded.
2703         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2704         not use __ptrvalue.
2705         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2706         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2707         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2708         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2709         __ptrvalue or __unbounded.
2710         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2711         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2712         use __unbounded.
2713         (__new_msgctl): Do not use __ptrvalue.
2714         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2715         __unbounded.
2716         (__libc_msgrcv): Do not use __ptrvalue.
2717         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2718         startup_info): Do not use __unbounded.
2719         (__libc_start_main): Likewise.  Rename ubp_* variables and
2720         parameters.  Remove argv definitions conditional on
2721         [__BOUNDED_POINTERS__].
2722         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2723         __ptrvalue.
2724         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2725         use __unbounded.
2726         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2727         or __ptrvalue.
2728         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2729         use __unbounded.
2730         (__new_shmctl): Do not use __ptrvalue.
2731         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2732         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2733         Likewise.
2734         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2735         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2736         (__libc_sigaction): Likewise.
2737         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2738         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2739         Likewise.
2740         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2742 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2744         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2746         * string/mempcpy.c: Implement by calling memcpy.
2748 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2750         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2752         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2753         evaluation.
2755         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2756         values in the mantissa.
2758         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2759         minimize writes to Z.
2760         (sub_magnitudes): Simplify code a bit.
2762 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2764         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2765         from the message.  The linker prefixes all warnings with that already.
2767 2013-02-12  Andreas Schwab  <schwab@suse.de>
2769         [BZ #15078]
2770         * posix/regexec.c (extend_buffers): Add parameter min_len.
2771         (check_matching): Pass minimum needed length.
2772         (clean_state_log_if_needed): Likewise.
2773         (get_subexp): Likewise.
2774         * posix/Makefile (tests): Add bug-regex34.
2775         (bug-regex34-ENV): Define.
2776         * posix/bug-regex34.c: New file.
2778         [BZ #11561]
2779         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2780         elements compare against the byte sequence of it, not its name.
2781         * posix/Makefile (tests): Add bug-regex35.
2782         (bug-regex35-ENV): Define.
2783         * posix/bug-regex35.c: New file.
2785 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2787         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2788         comment.
2789         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2790         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2791         (CHECK_EOL): Add undef.
2793 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2795         * bits/stdlib-bsearch.h: New file.
2796         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2797         * stdlib/stdlib.h: Likewise.
2799 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2801         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2802         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2803         declaration.
2804         * manual/search.texi (Array Search Function): Add missing const in
2805         lfind prototype.
2806         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2807         declaration to use rlim_t.
2808         (Basic Scheduling Functions): Remove erroneous const from
2809         sched_getparam prototype.  Remove erroneous * from
2810         sched_get_priority_max and sched_get_priority_min prototypes.
2811         (Resource Usage): Fix summary @comment on vtimes to refer to
2812         sys/vtimes.h rather than vtimes.h.
2813         Add missing *s in vtimes prototype.
2814         (Limits on Resources): Fix ulimit prototype to return long int.
2815         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2816         prototypes to use long int rather than double.
2817         (BSD Random): Fix initstate and setstate to use char *, not void *.
2818         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2819         prototype to make second argument 'struct aiocb64 *const[]'.
2820         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2821         (Status of AIO Operations): Remove erroneous const in aio_return and
2822         aio_return64 prototypes.
2823         (Synchronizing I/O): Fix sync prototype to return void.
2824         * manual/startup.texi (Suboptions): Remove an erroneous const in
2825         getsubopt prototype.
2826         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2827         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2828         use size_t rather than int.
2829         (Scanning All Users): Likewise for getpwent_r.
2830         (Setting Groups): Add missing const to setgroups prototype.
2831         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2832         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2833         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2834         'const void *' rather than 'const char *'.
2835         (Host Address Functions): Likewise for inet_ntop.
2836         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2837         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2838         ssize_t for return value.
2839         (Sending Data): Likewise for send, sendto, sendmsg.
2840         (Socket Option Functions): Add a missing const in setsockopt prototype.
2841         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2842         use wchar_t for the argument.
2843         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2844         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2845         take no arguments.
2846         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2847         double/float/long double for second argument.
2848         Fix return types of significand, significandf, significandl.
2849         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2850         argument in fchmod prototype.
2851         (File Owner): Use uid_t and gid_t in fchown prototype.
2852         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2853         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2854         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2855         use 'const struct dirent **' as argument types to CMP function pointer
2856         argument.
2857         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2858         (File Times): Fix summary magic @comment for struct utimbuf and utime
2859         to refer to utime.h, not time.h.
2860         * manual/string.texi (Argz Functions): Add missing const in
2861         argz_extract and argz_next prototypes.
2862         (Finding Tokens in a String): Likewise for basename.
2863         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2864         (Copying and Concatenation): Fix typo in wmemmove prototype.
2865         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2866         (Signal Stack): Remove erroneous const in sigstack prototype.
2867         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2868         prototype.
2869         (Simple Calendar Time): Likewise for stime.
2870         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2871         prototype.
2872         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2873         say sys/sysctl.h instead.
2874         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2875         and vsyslog prototypes.
2877 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2879         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2880         Remove.
2882 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2884         * misc/sys/mman.h: Fix typo in mremap comment.
2886 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2888         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2889         the '\0' terminator.
2891 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2893         [BZ #13550]
2894         * debug/segfault.c: Don't include <bp-checks.h>.
2895         * sysdeps/generic/bp-checks.h: Remove file.
2896         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2897         (__GETDENTS): Don't use CHECK_N.
2898         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2899         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2900         (__getgroups): Don't use CHECK_N.
2901         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2902         (setgroups): Don't use CHECK_N.
2903         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2904         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2905         (__libc_msgrcv): Don't use CHECK_N.
2906         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2907         (__libc_msgsnd): Don't use CHECK_N.
2908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2909         <bp-checks.h>.
2910         (__libc_pread): Don't use CHECK_N.
2911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2912         include <bp-checks.h>.
2913         (__libc_pread64): Don't use CHECK_N.
2914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2915         include <bp-checks.h>.
2916         (__libc_pwrite): Don't use CHECK_N.
2917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2918         include <bp-checks.h>.
2919         (__libc_pwrite64): Don't use CHECK_N.
2920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2921         <bp-checks.h>.
2922         (__libc_pread): Don't use CHECK_N.
2923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2924         include <bp-checks.h>.
2925         (__libc_pread64): Don't use CHECK_N.
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2927         include <bp-checks.h>.
2928         (__libc_pwrite): Don't use CHECK_N.
2929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2930         include <bp-checks.h>.
2931         (__libc_pwrite64): Don't use CHECK_N.
2932         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2933         (do_pread): Don't use CHECK_N.
2934         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2935         (do_pread64): Don't use CHECK_N.
2936         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2937         (do_pwrite): Don't use CHECK_N.
2938         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2939         (do_pwrite64): Don't use CHECK_N.
2940         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2941         (__libc_readv): Don't use CHECK_N.
2942         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2943         (semop): Don't use CHECK_N.
2944         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2945         <bp-checks.h>.
2946         (semtimedop): Don't use CHECK_N.
2947         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2948         (__libc_pread): Don't use CHECK_N.
2949         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2950         <bp-checks.h>.
2951         (__libc_pread64): Don't use CHECK_N.
2952         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2953         <bp-checks.h>.
2954         (__libc_pwrite): Don't use CHECK_N.
2955         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2956         <bp-checks.h>.
2957         (__libc_pwrite64): Don't use CHECK_N.
2958         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2959         <bp-checks.h>.
2960         (__libc_msgrcv): Don't use CHECK_N.
2961         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2962         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2963         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2964         (__libc_writev): Don't use CHECK_N.
2966 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2968         * string/strcpy.c: Removed unused variable.
2970         * Makeconfig (+sysdep-includes): Define with := rather than =.
2971         Use an existing include/ subdir of each sysdeps dir before it.
2973 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2975         * nscd/connection.c (register_traced_file): Comment function.
2976         [HAVE_INOTIFY] (union __inev): Define.
2977         [HAVE_INOTIFY] (inotify_check_files): New function.
2978         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2979         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2980         clear_db_cache.
2981         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2983 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2985         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2986         loaded if not already and that a failure is permanent.
2988 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2990         [BZ #15006]
2991         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2992         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2994 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2996         [BZ #13550]
2997         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2998         (CHECK_1_NULL_OK): Likewise.
2999         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3000         (__fxstat): Do not use CHECK_1.
3001         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3002         <bp-checks.h>.
3003         (___fxstat64): Do not use CHECK_1.
3004         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3005         <bp-checks.h>.
3006         (__fxstatat): Do not use CHECK_1.
3007         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3008         <bp-checks.h>.
3009         (__fxstatat64): Do not use CHECK_1.
3010         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3011         <bp-checks.h>.
3012         (__fxstat): Do not use CHECK_1.
3013         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3014         <bp-checks.h>.
3015         (__fxstatat): Do not use CHECK_1.
3016         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3017         <bp-checks.h>.
3018         (__getresgid): Do not use CHECK_1.
3019         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3020         <bp-checks.h>.
3021         (__getresuid): Do not use CHECK_1.
3022         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3023         <bp-checks.h>.
3024         (__lxstat): Do not use CHECK_1.
3025         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3026         <bp-checks.h>.
3027         (__old_msgctl): Do not use CHECK_1.
3028         (__new_msgctl): Likewise.
3029         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3030         <bp-checks.h>.
3031         (__new_setrlimit): Do not use CHECK_1.
3032         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3033         <bp-checks.h>.
3034         (__old_shmctl): Do not use CHECK_1.
3035         (__new_shmctl): Likewise.
3036         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3037         <bp-checks.h>.
3038         (__xstat): Do not use CHECK_1.
3039         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3040         (__lxstat): Do not use CHECK_1.
3041         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3042         <bp-checks.h>.
3043         (___lxstat64): Do not use CHECK_1.
3044         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3045         (__old_msgctl): Do not use CHECK_1.
3046         (__new_msgctl): Likewise.
3047         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3048         <bp-checks.h>.
3049         (__gettimeofday): Do not use CHECK_1.
3050         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3051         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3052         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3053         <bp-checks.h>.
3054         (__gettimeofday): Do not use CHECK_1.
3055         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3056         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3057         (__new_shmctl): Do not use CHECK_1.
3058         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3059         <bp-checks.h>.
3060         (do_sigtimedwait): Do not use CHECK_1.
3061         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3062         <bp-checks.h>.
3063         (do_sigwaitinfo): Do not use CHECK_1.
3064         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3065         <bp-checks.h>.
3066         (msgctl): Do not use CHECK_1.
3067         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3068         <bp-checks.h>.
3069         (shmctl): Do not use CHECK_1.
3070         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3071         (ustat): Do not use CHECK_1.
3072         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3073         <bp-checks.h>.
3074         (__fxstat): Do not use CHECK_1.
3075         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3076         <bp-checks.h>.
3077         (__fxstatat): Do not use CHECK_1.
3078         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3079         <bp-checks.h>.
3080         (__lxstat): Do not use CHECK_1.
3081         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3082         <bp-checks.h>.
3083         (__xstat): Do not use CHECK_1.
3084         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3085         (__xstat): Do not use CHECK_1.
3086         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3087         (___xstat64): Do not use CHECK_1.
3089         [BZ #13550]
3090         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3091         definitions.
3092         (CHECK_BOUNDS_HIGH): Likewise.
3093         * string/strcpy.c: Do not include <bp-checks.h>.
3094         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3096 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3098         * nscd/nscd-client.h (__nscd_drop_map_ref):
3099         Add __attribute__ ((unused)).
3100         * nis/nss-nisplus.h (niserr2nss): Likewise.
3102         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3103         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3105         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3106         Remove inline keyword.
3107         * include/rounding-mode.h (round_away): Likewise.
3108         * libio/wfileops.c (adjust_wide_data): Likewise.
3109         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3110         (__m128i_strloadu_tolower): Likewise.
3111         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3112         (__m128i_strloadu_tolower): Likewise.
3113         * time/mktime.c (ydhms_diff): Likewise.
3114         * locale/elem-hash.h (elem_hash): Likewise.
3115         * locale/setlocale.c (setdata): Likewise.
3116         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3117         (re_string_wchar_at): Likewise.
3118         (bitset_not, bitset_merge, bitset_mask): Likewise.
3119         [!(__GNUC__ > 3)] (inline): Remove macro.
3120         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3121         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3122         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3123         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3124         * string/memcmp.c (memcmp_bytes): Likewise.
3125         * locale/programs/locarchive.c (compute_hashval): Likewise.
3126         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3127         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3128         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3129         * nss/getent.c (print_rpc, print_protocols): Likewise.
3130         (print_passwd, print_group, print_aliases): Likewise.
3131         * nis/nss-nisplus.h (niserr2nss): Likewise.
3132         * nscd/connections.c (restart_p): Likewise.
3133         Change return type to bool.
3135 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3137         * Makeconfig (all-Depend-files): Add existing
3138         $(sorted-subdirs:=/Depend) files.
3139         (all-subdirs): Remove nss.
3140         * sysdeps/unix/inet/Subdirs: Add it here instead.
3141         * hesiod/Depend: New file.
3143         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3144         instead of calling alloca.
3146         * io/lseek.c (__lseek): Rename to __libc_lseek.
3147         Define __lseek as an alias.
3149         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3151 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3153         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3154         else clause and remove check for non-standard endianness.
3156 2013-02-04  David S. Miller  <davem@davemloft.net>
3158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3160 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3162         [BZ #13550]
3163         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3164         (__ubp_memchr): Remove prototype.
3165         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3166         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3167         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3168         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3169         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3170         Remove alias.
3171         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3172         (__ubp_memchr): Likewise.
3173         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3174         (__ubp_memchr): Likewise.
3175         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3176         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3177         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3178         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3179         CHECK_STRING.
3180         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3181         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3182         (__getcwd): Do not use CHECK_STRING.
3183         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3184         <bp-checks.h>.
3185         (__real_chown): Do not use CHECK_STRING.
3186         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3187         <bp-checks.h>.
3188         (fchownat): Do not use CHECK_STRING.
3189         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3190         CHECK_STRING.
3191         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3192         <bp-checks.h>.
3193         (__lchown): Do not use CHECK_STRING.
3194         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3195         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3196         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3197         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3199         include <bp-checks.h>.
3200         (truncate64): Do not use CHECK_STRING.
3201         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3202         <bp-checks.h>.
3203         (__real_chown): Do not use CHECK_STRING.
3204         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3205         <bp-checks.h>.
3206         (__lchown): Do not use CHECK_STRING.
3207         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3208         <bp-checks.h>.
3209         (__chown): Do not use CHECK_STRING.
3210         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3211         <bp-checks.h>.
3212         (truncate64): Do not use CHECK_STRING.
3213         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3214         Likewise.
3215         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3216         (__xmknod): Do not use CHECK_STRING.
3217         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3218         <bp-checks.h>.
3219         (__xmknodat): Do not use CHECK_STRING.
3220         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3221         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3223 2013-02-04  Andreas Schwab  <schwab@suse.de>
3225         [BZ #14142]
3226         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3227         * include/netdb.h: Likewise for h_errno.
3228         * elf/tst-stackguard1.c: Include <tls.h>.
3230 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3232         * elf/link.h (struct link_map): Extend the l_addr comment.
3233         * include/link.h (struct link_map): Likewise.
3235 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3237         [BZ #13550]
3238         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3239         (BOUNDED_1): Remove macro.
3240         * debug/backtrace.c: Don't include <bp-checks.h>.
3241         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3242         (__backtrace): Likewise.
3243         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3244         <bp-checks.h>.
3245         (__backtrace): Don't use BOUNDED_1.
3246         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3247         <bp-checks.h>.
3248         (__backtrace): Don't use BOUNDED_1.
3249         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3250         (__backtrace): Don't use BOUNDED_1.
3251         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3252         (shmat): Don't use BOUNDED_N.
3254 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3256         [BZ #13550]
3257         * sysdeps/generic/bp-start.h: Remove file.
3258         * csu/libc-start.c: Don't include <bp-start.h>.
3259         (LIBC_START_MAIN): Set up __environ directly instead of using
3260         INIT_ARGV_and_ENVIRON.
3261         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3262         <bp-start.h>.
3264         [BZ #13550]
3265         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3266         definitions.
3267         (CHECK_FCNTL): Likewise.
3268         (CHECK_N_PAGES): Likewise.
3270         [BZ #13550]
3271         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3272         definitions.
3273         (CHECK_SIGSET_NULL_OK): Likewise.
3274         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3275         <bp-checks.h>.
3276         (sigpending): Don't use CHECK_SIGSET.
3277         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3278         <bp-checks.h>.
3279         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3280         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3281         <bp-checks.h>.
3282         (do_sigsuspend): Don't use CHECK_SIGSET.
3283         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3284         use CHECK_SIGSET.
3285         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3286         (do_sigwait): Don't use CHECK_SIGSET.
3287         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3288         use CHECK_SIGSET.
3289         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3290         include <bp-checks.h>.
3291         (sigpending): Don't use CHECK_SIGSET.
3292         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3293         include <bp-checks.h>.
3294         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3295         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3296         <bp-checks.h>.
3297         (sigpending): Don't use CHECK_SIGSET.
3298         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3299         <bp-checks.h>.
3300         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3302         [BZ #13550]
3303         * sysdeps/generic/bp-semctl.h: Remove file.
3304         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3305         <bp-checks.h> and <bp-semctl.h>.
3306         (__old_semctl): Don't use CHECK_SEMCTL.
3307         (__new_semctl): Likewise.
3308         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3309         and <bp-semctl.h>.
3310         (__old_semctl): Don't use CHECK_SEMCTL.
3311         (__new_semctl): Likewise.
3312         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3313         <bp-checks.h> and <bp-semctl.h>.
3314         (__old_semctl): Don't use CHECK_SEMCTL.
3315         (__new_semctl): Likewise.
3316         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3317         <bp-checks.h> and <bp-semctl.h>.
3318         (semctl): Don't use CHECK_SEMCTL.
3320         [BZ #13550]
3321         * Makerules (elide-bp-thunks): Remove variable.
3322         (elide-routines.oS): Don't use $(elide-bp-thunks).
3323         (elide-routines.os): Likewise.
3324         (elide-routines.o): Likewise.
3325         (elide-routines.op): Likewise.
3326         (elide-routines.og): Likewise.
3327         (objects): Don't use $(bp-thunks).
3328         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3329         include.
3330         (common-generated): Do not add s-proto-bp.d.
3331         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3332         (int): Likewise.
3333         (typ): Likewise.
3334         Do not generate makefile rules for bounded-pointer thunks.
3335         * sysdeps/generic/bp-thunks.h: Remove file.
3336         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3337         * sysdeps/unix/s-proto-bp.S: Likewise.
3339         [BZ #15062]
3340         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3341         parts of result separately when argument is not close to line from
3342         -i to i and one part of argument is small.
3343         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3344         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3345         * math/libm-test.inc (cacos_test): Add more tests.
3346         (casin_test): Likewise.
3347         (casinh_test): Likewise.
3348         * sysdeps/i386/fpu/libm-test-ulps: Update.
3349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3351 2013-01-31  David S. Miller  <davem@davemloft.net>
3353         * po/de.po: Update from translation team.
3355 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3357         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3359 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3361         * configure.in (_AC_PROG_CC_C89): New definition.
3362         * configure: Regenerate.
3364         * configure.in (AC_PROG_CPP): New definition.
3365         * configure: Regenerate.
3367 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3369         * debug/tst-backtrace.h: New file.
3370         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3371         (ret): Remove variable.
3372         (x): Likewise.
3373         (FAIL): Remove macro.
3374         (NO_INLINE): Likewise.
3375         (fn1): Use match function instead of strstr.
3376         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3377         (ret): Remove variable.
3378         (x): Likewise.
3379         (FAIL): Remove macro.
3380         (NO_INLINE): Likewise.
3381         (fn): Use match function instead of strstr.
3382         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3383         (ret): Remove variable.
3384         (x): Likewise.
3385         (FAIL): Remove macro.
3386         (NO_INLINE): Likewise.
3387         (handle_signal): Use match function instead of strstr.
3388         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3389         (ret): Remove variable.
3390         (x): Likewise.
3391         (FAIL): Remove macro.
3392         (NO_INLINE): Likewise.
3393         (handle_signal): Use match function instead of strstr.
3395 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3397         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3399 2013-01-23  David S. Miller  <davem@davemloft.net>
3401         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3402         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3403         argument of CAS if possible.
3404         * sysdeps/sparc/sparc64/bits/atomic.h
3405         (__arch_compare_and_exchange_val_32_acq): Likewise.
3406         (__arch_compare_and_exchange_val_64_acq): Likewise.
3408 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3410         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3411         * sysdeps/posix/ulimit.c: ... this.
3412         Include <limits.h>.
3413         * sysdeps/unix/bsd/ulimit.c: Remove file.
3415 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3417         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3418         (LDFLAGS-tst-array5): Likewise.
3420 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3422         [BZ #15036]
3423         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3424         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3425         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3426         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3428 2013-01-21  David S. Miller  <davem@davemloft.net>
3430         * sysdeps/sparc/backtrace.c: New file.
3431         * sysdeps/sparc/sparc32/backtrace.h: New file.
3432         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3433         * sysdeps/sparc/sparc64/backtrace.h: New file.
3434         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3435         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3436         -funwind-tables.
3438 2013-01-21  Andreas Schwab  <schwab@suse.de>
3440         [BZ #15020]
3441         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3442         closed its stdout.
3444 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3447         "mpa2.h".
3448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3450 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3451             Mark Mitchell  <mark@codesourcery.com>
3452             Tom de Vries  <tom@codesourcery.com>
3453             Paul Pluzhnikov  <ppluzhnikov@google.com>
3455         * debug/tst-backtrace2.c: New file.
3456         * debug/tst-backtrace3.c: Likewise.
3457         * debug/tst-backtrace4.c: Likewise.
3458         * debug/tst-backtrace5.c: Likewise.
3459         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3460         (CFLAGS-tst-backtrace3.c): Likewise.
3461         (CFLAGS-tst-backtrace4.c): Likewise.
3462         (CFLAGS-tst-backtrace5.c): Likewise.
3463         (LDFLAGS-tst-backtrace2): Likewise.
3464         (LDFLAGS-tst-backtrace3): Likewise.
3465         (LDFLAGS-tst-backtrace4): Likewise.
3466         (LDFLAGS-tst-backtrace5): Likewise.
3467         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3468         tst-backtrace4 and tst-backtrace5.
3470 2013-01-18  Anton Blanchard  <anton@samba.org>
3471             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3473         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3474         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3475         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3476         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3478         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3479         "+r" and remove output regs list as redundant.  Add explicit inline
3480         asm to specify register of return val to work around compiler codegen
3481         bug.  Remove (int) cast on return value.  Add return type parameter to
3482         use in macro so that this macro does not truncate return value for
3483         64-bit values.
3484         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3485         pass to INTERNAL_VSYSCALL_NCS.
3486         (INLINE_VSYSCALL): Add 'long int' as return type to
3487         INTERNAL_VSYSCALL_NCS macro invocation.
3488         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3489         INTERNAL_VSYSCALL_NCS macro invocation.
3490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3492 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3494         [BZ #14496]
3495         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3496         Fix application of SIMD FP exception mask.
3498         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3499         mp_no from a power of two.
3500         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3501         __mpexp_twomm1.  Use __pow_mp.
3503         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3504         multiplication.
3506 2013-01-17  David S. Miller  <davem@davemloft.net>
3508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3510 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3512         [BZ #15023]
3513         * include/complex.h: Condition contents on [!_COMPLEX_H].
3514         (__kernel_casinhf): New prototype.
3515         (__kernel_casinh): Likewise.
3516         (__kernel_casinhl): Likewise.
3517         * math/Makefile (libm_calls): Add k_casinh.
3518         * math/k_casinh.c: New file.
3519         * math/k_casinhf.c: Likewise.
3520         * math/k_casinhl.c: Likewise.
3521         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3522         finite nonzero arguments.
3523         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3524         finite nonzero arguments.
3525         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3526         finite nonzero arguments.
3527         * math/s_casinh.c: Do not include <float.h>.
3528         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3529         * math/s_casinhf.c: Do not include <float.h>.
3530         (__casinhf): Move code for finite nonzero arguments to
3531         k_casinhf.c.
3532         * math/s_casinhl.c: Do not include <float.h>.
3533         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3534         redefine.
3535         (__casinhl): Move code for finite nonzero arguments to
3536         k_casinhl.c.
3537         * math/libm-test.inc (cacos_test): Add more tests.
3538         * sysdeps/i386/fpu/libm-test-ulps: Update.
3539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3541 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3543         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3544         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3545         [!HAVE_MREMAP]: Remove [defined linux] case.
3546         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3548 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3550         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3552 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3554         * elf/elf.h (R_386_SIZE32): New relocation.
3555         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3556         R_386_SIZE32.
3557         (elf_machine_rela): Likewise.
3558         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3559         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3561 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3563         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3564         (FP_FAST_FMA): Do not define.
3565         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3566         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3567         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3568         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3569         !_SOFT_FLOAT]: Likewise.
3570         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3571         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3572         value.
3573         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3574         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3575         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3576         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3577         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3578         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3579         file.
3581 2013-01-16  Andreas Schwab  <schwab@suse.de>
3583         [BZ #14327]
3584         * include/stdlib.h (__mktemp): Add declaration.
3585         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3586         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3588 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3590         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3591         definitions.
3592         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3593         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3594         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3595         definitions here.
3596         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3597         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3598         definitions.
3599         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3600         and ONE.
3601         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3602         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3603         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3604         definitions.
3605         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3606         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3607         definitions.
3608         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3610         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3612 2013-01-15  David S. Miller  <davem@davemloft.net>
3614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3615         trunc{,f} to libm-sysdep_routes.
3616         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3618         file.
3619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3621         file.
3622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3623         file.
3624         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3626         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3627         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3628         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3629         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3630         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3631         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3634         nearbyint{,f} to libm-sysdep_routes.
3635         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3637         New file.
3638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3639         file.
3640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3641         New file.
3642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3643         file.
3644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3646         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3647         file.
3648         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3649         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3650         file.
3651         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3652         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3653         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3655         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3656         libc_feholdexcept and libc_fesetenv.
3658 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3660         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3662 2013-01-14  David S. Miller  <davem@davemloft.net>
3664         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3665         (SPARC_ASM_VIS2_IFUNC): Likewise.
3666         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3668         use of 'siam' instruction.
3669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3670         Likewise.
3671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3672         Likewise.
3673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3674         Likewise.
3675         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3676         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3677         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3680         file.
3681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3682         file.
3683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3684         file.
3685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3686         file.
3687         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3688         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3689         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3690         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3692         new VIS2 routines.
3693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3696         Likewise.
3697         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3699         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3700         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3702         routines to libm-sysdep_routines.
3703         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3706         fdim/fdimf to libm-sysdep_routines.
3707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3708         file.
3709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3711         file.
3712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3715         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3716         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3717         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3718         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3720 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3722         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3723         to optimize copies.
3725         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3726         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3729         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3730         local variable MPTWO.
3731         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3732         Likewise.
3734 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3736         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3737         GLOB_NOESCAPE.
3739 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3741         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3743 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3745         * manual/pattern.texi (glob_t): Document gl_flags.
3746         (glob64_t): Likewise.
3748 2013-01-11  David S. Miller  <davem@davemloft.net>
3750         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3751         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3752         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3753         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3754         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3755         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3756         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3757         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3758         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3759         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3760         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3761         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3762         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3764         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3765         sparc V9 rather than using V8 code.
3766         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3767         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3769         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3770         Move to...
3771         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3772         Here.
3774 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3776         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3777         not in the main loop.
3778         * configure: Regenerated.
3780 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3782         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3783         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3784         to just #else.
3785         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3786         [!__GLIBC_HAVE_LONG_LONG] case.
3787         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3788         condition to just #else.
3789         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3790         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3791         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3792         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3793         unconditional.
3794         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3795         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3796         #elif condition to just #else.
3797         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3798         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3799         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3800         #elif condition to just #else.
3802 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3804         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3805         (EF_MIPS_ARCH_64): Fix value.
3806         (EF_MIPS_ARCH_32R2): New.
3807         (EF_MIPS_ARCH_64R2): New.
3809 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3811         * Makeconfig (+link-pie-before-libc): New.
3812         (+link-pie-after-libc): Likewise.
3813         (+link-pie-tests): Likewise.
3814         (+link-pie): Rewritten.
3815         (link-before-libc): Remove $(config-LDFLAGS).
3816         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3817         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3818         (config-LDFLAGS): Renamed to ...
3819         (rtld-LDFLAGS): This.
3820         (rtld-tests-LDFLAGS): New macro.
3821         (link-libc-rpath-link): Likewise.
3822         (link-libc-tests-rpath-link): Likewise.
3823         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3824         (link-libc): Prepand $(link-libc-rpath-link).
3825         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3826         (test-program-prefix): New macro.
3827         (test-via-rtld-prefix): Likewise.
3828         (test-program-cmd): Likewise.
3829         (host-test-program-cmd): Likewise.
3830         * Makefile ($(common-objpfx)testrun.sh): Replace
3831         $(run-program-prefix) with $(test-program-prefix).
3832         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3833         $(rtld-LDFLAGS).
3834         ($(common-objpfx)shlib.lds): Likewise.
3835         (build-module-helper): Likewise.
3836         ($(common-objpfx)format.lds): Likewise.
3837         * Rules (binaries-pie-tests): New.
3838         (binaries-pie-notests): Likewise.
3839         (binaries-pie): Rewritten.
3840         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3841         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3842         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3843         (make-test-out): Replace $(host-built-program-cmd) with
3844         $(host-test-program-cmd).
3845         * config.make.in (build-hardcoded-path-in-tests): New variable.
3846         * configure.in (--enable-hardcoded-path-in-tests): New configure
3847         option.
3848         (hardcoded_path_in_tests): New AC_SUBST.
3849         * configure: Regenerated.
3850         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3851         $(built-program-cmd) with $(test-program-cmd).
3852         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3853         (test_program_cmd): This.
3854         * elf/Makefile ($(objpfx)order.out): Run test with
3855         $(test-program-prefix).
3856         ($(objpfx)order2.out): Likewise.
3857         ($(objpfx)tst-initorder.out): Likewise.
3858         ($(objpfx)tst-initorder2.out): Likewise.
3859         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3860         $(test-program-cmd).
3861         ($(objpfx)tst-array1-static.out): Likewise.
3862         ($(objpfx)tst-array2.out): Likewise.
3863         ($(objpfx)tst-array3.out): Likewise.
3864         ($(objpfx)tst-array4.out): Likewise.
3865         ($(objpfx)tst-array5.out): Likewise.
3866         ($(objpfx)tst-array5-static.out): Likewise.
3867         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3868         $(test-program-cmd).
3869         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3870         $(run-program-prefix) with $(test-program-prefix).
3871         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3872         (test_program_prefix): This.
3873         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3874         $(run-program-prefix) with $(test-program-prefix).
3875         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3876         (test_program_prefix): This.
3877         * iconvdata/tst-tables.sh: Likewise.
3878         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3879         $(run-program-prefix) with $(test-program-prefix).
3880         ($(objpfx)tst-translit.out): Likewise.
3881         ($(objpfx)tst-gettext2.out): Likewise.
3882         ($(objpfx)tst-gettext4.out): Likewise.
3883         ($(objpfx)tst-gettext6.out): Likewise.
3884         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3885         (test_program_prefix): This.
3886         * intl/tst-gettext2.sh: Likewise.
3887         * intl/tst-gettext4.sh  Likewise.
3888         * intl/tst-gettext6.sh: Likewise.
3889         * intl/tst-translit.sh: Likewise.
3890         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3891         with $(test-program-cmd).
3892         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3893         $(run-program-prefix) with $(test-program-prefix).
3894         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3895         (test_program_prefix): This.
3896         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3897         $(run-program-prefix) with $(test-program-prefix).
3898         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3899         (test_program_prefix): This.
3900         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3901         * posix/Makefile ($(objpfx)globtest.out): Replace
3902         $(run-via-rtld-prefix) and $(test-wrapper) with
3903         $(test-program-prefix) and $(test-via-rtld-prefix).
3904         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3905         $(test-program-prefix).
3906         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3907         $(host-test-program-cmd).
3908         (tst-spawn-ARGS): Likewise.
3909         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3910         $(test-program-prefix).
3911         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3912         (test_via_rtld_prefix): This.
3913         (test_wrapper): Renamed to ...
3914         (test_program_prefix): This.
3915         (run_program_prefix): Replaced by test_program_prefix.
3916         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3917         (test_program_prefix): This.
3918         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3919         with $(host-test-program-cmd).
3920         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3921         $(run-program-prefix) with $(test-program-prefix).
3922         ($(objpfx)tst-printf.out): Likewise.
3923         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3924         $(test-program-cmd).
3925         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3926         (test_program_prefix): This.
3927         * stdio-common/tst-unbputc.sh: Likewise.
3928         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3929         $(run-program-prefix) with $(test-program-prefix).
3930         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3931         (test_program_prefix): This.
3932         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3933         $(built-program-cmd) with $(test-program-cmd).
3935 2013-01-11  Andreas Jaeger  <aj@suse.de>
3937         [BZ #15003]
3938         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3939         value. Sync with Linux 3.7.
3941 2013-01-10  David S. Miller  <davem@davemloft.net>
3943         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3944         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3945         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3947 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3949         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3950         never set.
3951         * configure: Regenerated.
3953 2013-01-10  David S. Miller  <davem@davemloft.net>
3955         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3956         sparc V9 rather than using V8 code.
3957         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3958         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3960 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3962         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3963         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3964         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3965         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3966         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3967         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3968         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3969         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3970         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3971         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3972         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3973         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3974         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3975         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3976         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3977         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3978         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3979         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3980         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3981         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3982         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3983         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3984         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3985         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3986         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3987         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3988         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3990 2013-01-10  David S. Miller  <davem@davemloft.net>
3992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3994 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3996         * posix/Makefile (tests-static): New variable.
3997         (tests): Add $(tests-static).
3998         (tst-exec-static-ARGS): New variable.
3999         (tst-spawn-static-ARGS): Likewise.
4000         * posix/tst-exec-static.c: New file.
4001         * posix/tst-spawn-static.c: Likewise.
4002         * posix/tst-exec.c: Support run directly.
4003         * posix/tst-spawn.c: Likewise.
4005 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
4007         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4008         long.
4009         * math/bits/mathcalls.h (llrint): Likewise.
4010         (llround): Likewise.
4011         * stdlib/stdlib.h (struct drand48_data): Likewise.
4012         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4013         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4014         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4015         Likewise.
4016         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4017         Likewise.
4018         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4019         (elf_greg_t): Likewise.
4020         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4021         (__jmp_buf): Likewise.
4022         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4023         definitions.
4024         (llrint): Likewise, for all definitions.
4025         (llrintl): Likewise.
4027         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4028         Remove [__GNUC__] condition.
4029         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4030         condition to just [__USE_ISOC99].
4031         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4033 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4035         [BZ #14200]
4036         * sysdeps/unix/sysv/linux/x86/bits/environments.h
4037         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4038         defined.
4039         (_POSIX_V6_ILP32_OFF32): Likewise.
4040         (_XBS5_ILP32_OFF32): Likewise.
4041         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4042         (__ILP32_OFFBIG_LDFLAGS): Likewise.
4044 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4046         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4049         doubles __mpexp_twomm1.  Adjust usage.
4050         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4051         Remove.
4053 2013-01-10  Andreas Schwab  <schwab@suse.de>
4055         [BZ #14964]
4056         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4057         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4059 2013-01-09  David S. Miller  <davem@davemloft.net>
4061         [BZ #15003]
4062         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4063         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4064         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4065         TCP_FASTOPEN): Define.
4066         (tcp_repair_opt): New structure.
4067         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4068         enum values.
4069         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4070         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4071         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4072         (tcp_cookie_transactions): New structure.
4074 2013-01-09  Anton Blanchard  <anton@samba.org>
4076         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4077         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4078         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4079         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4081 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4083         * include/features.h (__USE_ANSI): Remove.
4085 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4087         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4089         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4091 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4093         * sysdeps/s390/fpu/libm-test-ulps: Update.
4095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4097         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4098         (__acr): Likewise.
4099         (__cpy): Likewise.
4100         (norm): Likewise.
4101         (denorm): Likewise.
4102         (__mp_dbl): Likewise.
4103         (__dbl_mp): Likewise.
4104         (add_magnitudes): Likewise.
4105         (sub_magnitudes): Likewise.
4106         (__add): Likewise.
4107         (__sub): Likewise.
4108         (__mul): Likewise.
4109         (__inv): Likewise.
4110         (__dvd): Likewise.
4111         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4112         (__acr): Likewise.
4113         (__cpy): Likewise.
4114         (norm): Likewise.
4115         (denorm): Likewise.
4116         (__mp_dbl): Likewise.
4117         (__dbl_mp): Likewise.
4118         (add_magnitudes): Likewise.
4119         (sub_magnitudes): Likewise.
4120         (__add): Likewise.
4121         (__sub): Likewise.
4122         (__mul): Likewise.
4123         (__inv): Likewise.
4124         (__dvd): Likewise.
4125         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4126         (__acr): Likewise.
4127         (__cpy): Likewise.
4128         (norm): Likewise.
4129         (denorm): Likewise.
4130         (__mp_dbl): Likewise.
4131         (__dbl_mp): Likewise.
4132         (add_magnitudes): Likewise.
4133         (sub_magnitudes): Likewise.
4134         (__add): Likewise.
4135         (__sub): Likewise.
4136         (__mul): Likewise.
4137         (__inv): Likewise.
4138         (__dvd): Likewise.
4140 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4142         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4143         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4144         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4145         2 && __USE_EXTERN_INLINES]: Likewise.
4147 2013-01-08  Andreas Jaeger  <aj@suse.de>
4149         [BZ# 14985]
4150         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4151         Remove.
4152         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4153         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4155 2013-01-07  Anton Blanchard  <anton@samba.org>
4157         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4158         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4159         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4160         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4161         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4162         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4163         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4164         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4166         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4167         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4168         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4169         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4170         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4171         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4172         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4173         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4174         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4175         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4176         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4177         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4178         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4179         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4180         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4181         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4182         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4183         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4184         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4185         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4186         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4187         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4189         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4190         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4191         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4192         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4193         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4194         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4195         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4196         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4197         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4198         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4199         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4201 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4203         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4204         (__MALLOC_PMT): Likewise.
4205         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4206         [__GNUC__], only on [_LIBC].
4207         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4208         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4209         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4210         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4211         forward declaration.
4212         (realloc_hook_ini): Likewise.
4213         (memalign_hook_ini): Likewise.
4214         (__libc_memalign): Do not use __MALLOC_PMT in variable
4215         declaration.
4216         (__libc_valloc): Likewise.
4217         (__libc_pvalloc): Likewise.
4218         (__libc_calloc): Likewise.
4219         (__posix_memalign): Likewise.
4221         [BZ #14996]
4222         * math/s_casinh.c: Include <float.h>.
4223         (__casinh): Do not do computation with squaring and square root
4224         for large arguments.
4225         * math/s_casinhf.c: Include <float.h>.
4226         (__casinhf): Do not do computation with squaring and square root
4227         for large arguments.
4228         * math/s_casinhl.c: Include <float.h>.
4229         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4230         (__casinhl): Do not do computation with squaring and square root
4231         for large arguments.
4232         * math/libm-test.inc (casin_test): Add more tests.
4233         (casinh_test): Likewise.
4234         * sysdeps/i386/fpu/libm-test-ulps: Update.
4235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4237 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4239         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4240         (__x86_64_raw_data_cache_size): Likewise.
4241         (__x86_64_data_cache_size_half): Likewise.
4242         (__x86_64_raw_data_cache_size_half): Likewise.
4243         (__x86_64_shared_cache_size): Likewise.
4244         (__x86_64_raw_shared_cache_size): Likewise.
4245         (__x86_64_shared_cache_size_half): Likewise.
4246         (__x86_64_raw_shared_cache_size_half): Likewise.
4247         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4248         to ...
4249         (__x86_data_cache_size): This.
4250         (__x86_64_raw_data_cache_size): Renamed to ...
4251         (__x86_raw_data_cache_size): This.
4252         (__x86_64_data_cache_size_half): Renamed to ...
4253         (__x86_data_cache_size_half): This.
4254         (__x86_64_raw_data_cache_size_half): Renamed to ...
4255         (__x86_raw_data_cache_size_half): This.
4256         (__x86_64_shared_cache_size): Renamed to ...
4257         (__x86_shared_cache_size): This.
4258         (__x86_64_raw_shared_cache_size): Renamed to ...
4259         (__x86_raw_shared_cache_size): This.
4260         (__x86_64_shared_cache_size_half): Renamed to ...
4261         (__x86_shared_cache_size_half): This.
4262         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4263         (__x86_raw_shared_cache_size_half): This.
4264         * sysdeps/x86_64/memcpy.S: Updated.
4265         * sysdeps/x86_64/memset.S: Likewise.
4266         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4267         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4268         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4270 2013-01-04  David S. Miller  <davem@davemloft.net>
4272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4274 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4276         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4277         1 to avoid redefinition warning.
4278         (__USE_GNU): Don't define.
4279         (init_signaling_nan): Protoize.
4281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4283 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4285         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4287         (__cpymn): Likewise.
4288         (norm): Remove commented code.
4289         (denorm): Likewise.
4290         (__mp_dbl): Likewise.
4291         (__inv): Likewise.
4292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4293         (__cpymn): Likewise.
4294         (norm): Remove commented code.
4295         (denorm): Likewise.
4296         (__mp_dbl): Likewise.
4297         (__inv): Likewise.
4299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4300         mp_no value for 1.0 and 2.0.
4301         (norm): Use RADIXI instead of radixi.d.
4302         (denorm): Likewise.
4303         (__mul): Use 0.0 instead of zero.d.
4304         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4305         mp_no value for 1.0 and 2.0.
4306         (norm): Use RADIXI instead of radixi.d.
4307         (denorm): Likewise.
4308         (__mul): Use 0.0 instead of zero.d.
4310 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4312         [BZ #14994]
4313         * math/s_casinh.c (__casinh): Reduce finite argument to first
4314         quadrant then set signs of results at the end.
4315         * math/s_casinhf.c (__casinhf): Likewise.
4316         * math/s_casinhl.c (__casinhl): Likewise.
4317         * math/libm-test.inc (casin_test): Add more tests.
4318         (casinh_test): Likewise.
4319         * sysdeps/i386/fpu/libm-test-ulps: Update.
4320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4322 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4324         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4326         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4328         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4329         declarations.
4330         (denorm): Likewise.
4331         (__mp_dbl): Likewise.
4332         (__inv): Likewise.
4334         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4335         and adjust the header comment.
4337         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4338         variable name from declaration.
4340 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4343         Initialize COMMON_CPUID_INDEX_7 element.
4344         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4345         (CPUID_RTM): Likewise.
4346         (HAS_RTM): Likewise.
4347         (COMMON_CPUID_INDEX_7): New enum.
4349 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4351         [BZ #14981]
4352         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4353         size is zero, record memory as freed.
4355 2013-01-03  Andreas Jaeger  <aj@suse.de>
4357         * po/ia.po: Add new Interlingua translation.
4359 2012-01-03  Allan McRae  <allan@archlinux.org>
4361         * locale/programs/localedef.c: Fix description of '--posix' flag.
4363 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4365         * NEWS: Update dates in second copyright notice.
4366         * README: Update copyright dates in example.
4367         * manual/libc.texinfo: Update copyright dates.
4368         * scripts/test-installation.pl: Update copyright date in --version
4369         output.
4371         * hurd/ctty-input.c: Fix copyright notice formatting.
4372         * hurd/ctty-output.c: Likewise.
4373         * hurd/dtable.c: Likewise.
4374         * hurd/hurd-raise.c: Likewise.
4375         * hurd/hurdprio.c: Likewise.
4376         * hurd/msgportdemux.c: Likewise.
4377         * misc/sys/file.h: Likewise.
4378         * misc/sys/ioctl.h: Likewise.
4379         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4380         * sysdeps/mach/hurd/chdir.c: Likewise.
4381         * sysdeps/mach/hurd/fchdir.c: Likewise.
4382         * sysdeps/mach/hurd/rename.c: Likewise.
4383         * sysdeps/mach/hurd/rmdir.c: Likewise.
4384         * sysdeps/mach/hurd/seekdir.c: Likewise.
4385         * sysdeps/mach/hurd/setsid.c: Likewise.
4386         * sysdeps/posix/wait3.c: Likewise.
4388         * All files with FSF copyright notices: Update copyright dates
4389         using scripts/update-copyrights.
4390         * intl/plural.c: Regenerated.
4391         * locale/programs/charmap-kw.h: Likewise.
4392         * locale/programs/locfile-kw.h: Likewise.
4394 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4396         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4397         four values.
4399         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4400         calculation loop and add branch prediction.
4402         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4403         check access beyond bounds of m1np.
4405         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4406         MPTWO.
4407         (__inv): Remove local variable MPTWO to use the global
4408         constant.
4409         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4410         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4411         variable MPTWO.
4412         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4413         MP3HALFS static const.
4415 2013-01-01  David S. Miller  <davem@davemloft.net>
4417         * po/ca.po: Update from translation team.
4419 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4421         * scripts/update-copyrights: New file.
4422         * Makeconfig: Reformat copyright notice.
4423         * ctype/ctype.h: Likewise.
4424         * debug/swprintf_chk.c: Likewise.
4425         * elf/dl-cache.c: Likewise.
4426         * elf/dl-debug.c: Likewise.
4427         * elf/dl-object.c: Likewise.
4428         * grp/initgroups.c: Likewise.
4429         * hurd/Makefile: Likewise.
4430         * hurd/hurd/signal.h: Likewise.
4431         * hurd/hurdfault.c: Likewise.
4432         * hurd/hurdioctl.c: Likewise.
4433         * hurd/hurdlookup.c: Likewise.
4434         * hurd/intr-msg.c: Likewise.
4435         * iconv/gconv_open.c: Likewise.
4436         * libio/swprintf.c: Likewise.
4437         * locale/lc-ctype.c: Likewise.
4438         * locale/nl_langinfo.c: Likewise.
4439         * mach/Machrules: Likewise.
4440         * mach/Makefile: Likewise.
4441         * malloc/obstack.h: Likewise.
4442         * manual/Makefile: Likewise.
4443         * manual/tsort.awk: Likewise.
4444         * misc/bits/stab.def: Likewise.
4445         * nis/nis_print_group_entry.c: Likewise.
4446         * nis/nis_table.c: Likewise.
4447         * nis/nss_compat/compat-pwd.c: Likewise.
4448         * nis/nss_compat/compat-spwd.c: Likewise.
4449         * po/Makefile: Likewise.
4450         * posix/fnmatch.c: Likewise.
4451         * posix/regex.h: Likewise.
4452         * resolv/Makefile: Likewise.
4453         * resolv/nss_dns/dns-network.c: Likewise.
4454         * resolv/res_hconf.c: Likewise.
4455         * scripts/gen-sorted.awk: Likewise.
4456         * soft-fp/soft-fp.h: Likewise.
4457         * stdio-common/printf.h: Likewise.
4458         * stdlib/monetary.h: Likewise.
4459         * stdlib/random.c: Likewise.
4460         * stdlib/random_r.c: Likewise.
4461         * sysdeps/generic/Makefile: Likewise.
4462         * sysdeps/gnu/Makefile: Likewise.
4463         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4465         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4466         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4467         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4468         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4470         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4471         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4472         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4473         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4474         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4475         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4476         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4477         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4478         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4479         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4480         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4481         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4482         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4483         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4484         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4485         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4486         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4487         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4488         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4489         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4490         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4491         * sysdeps/mach/hurd/errnos.awk: Likewise.
4492         * sysdeps/mach/hurd/fork.c: Likewise.
4493         * sysdeps/mach/hurd/getcwd.c: Likewise.
4494         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4495         * sysdeps/mach/hurd/mmap.c: Likewise.
4496         * sysdeps/mach/hurd/utimes.c: Likewise.
4497         * sysdeps/mach/hurd/xmknod.c: Likewise.
4498         * sysdeps/posix/profil.c: Likewise.
4499         * sysdeps/posix/readdir_r.c: Likewise.
4500         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4501         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4502         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4503         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4505         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4506         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4507         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4509         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4510         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4511         * sysdeps/pthread/lio_listio.c: Likewise.
4512         * sysdeps/sparc/dl-procinfo.h: Likewise.
4513         * sysdeps/unix/i386/sysdep.S: Likewise.
4514         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4515         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4516         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4517         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4519         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4520         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4521         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4522         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4523         * sysdeps/wordsize-32/divdi3.c: Likewise.
4524         * time/sys/time.h: Likewise.
4525         * wcsmbs/Makefile: Likewise.
4527 2013-01-01  David S. Miller  <davem@davemloft.net>
4529         * po/fr.po: Update from translation team.
4531         * catgets/gencat.c: Update copyright year.
4532         * csu/version.c: Likewise.
4533         * debug/catchsegv.sh: Likewise.
4534         * debug/pcprofiledump.c: Likewise.
4535         * debug/xtrace.sh: Likewise.
4536         * elf/ldconfig.c: Likewise.
4537         * elf/ldd.bash.in: Likewise.
4538         * elf/pldd.c: Likewise.
4539         * elf/sotruss.ksh: Likewise.
4540         * elf/sprof.c: Likewise.
4541         * iconv/iconv_prog.c: Likewise.
4542         * iconv/iconvconfig.c: Likewise.
4543         * locale/programs/locale.c: Likewise.
4544         * locale/programs/localedef.c: Likewise.
4545         * login/programs/pt_chown.c: Likewise.
4546         * malloc/memusage.sh: Likewise.
4547         * malloc/memusagestat.c: Likewise.
4548         * malloc/mtrace.pl: Likewise.
4549         * nscd/nscd.c: Likewise.
4550         * nss/getent.c: Likewise.
4551         * nss/makedb.c: Likewise.
4552         * posix/getconf.c: Likewise.
4554 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4556         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4557         numbers.
4559 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4561         * math/bits/mathcalls.h (modf): Use __nonnull.
4563 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4565         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4566         (split): Use macro CN instead of the bare value.
4567         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4568         could be used.
4569         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4570         instead of the bare value.
4571         (power1): Likewise.
4573 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4575         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4576         __ATAN_TWOM.
4577         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4579         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4580         their values.
4581         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4582         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4583         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4584         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4586 2012-12-28  Andreas Jaeger  <aj@suse.de>
4588         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4589         values are from Linux 3.7.
4591         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4592         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4594 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4596         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4597         TRUE case.
4599         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4600         (norm): Likewise.
4601         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4602         variables with preprocessor constants.
4603         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4604         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4605         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4607 2012-12-27  Bruno Haible  <bruno@clisp.org>
4609         [BZ #14317]
4610         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4611         only if needed.
4613 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4615         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4616         and use variable directly.
4617         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4619         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4620         MPONE.
4621         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4622         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4623         variable MPONE.
4624         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4625         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4626         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4627         include directive.  Remove local variable MPONE.
4628         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4629         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4630         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4632 2012-12-25  David S. Miller  <davem@davemloft.net>
4634         * version.h (RELEASE): Set to "development".
4635         (VERSION): Set to "2.17.90".
4636         * NEWS: Add 2.18 section.
4638 2012-12-21  David S. Miller  <davem@davemloft.net>
4640         * po/hr.po: Update from translation team.
4642 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4644         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4646 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4648         * NEWS:  Mention new memcpy for MIPS.
4650 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4652         * manual/contrib.texi (Contributors): Spelling correction.
4654 2012-12-15  David S. Miller  <davem@davemloft.net>
4656         * po/ru.po: Update from translation team.
4658 2012-12-13  David S. Miller  <davem@davemloft.net>
4660         * NEWS: Mention IFUNC testsuite enhancements.
4662         * po/pl.po: Update from translation team.
4663         * po/bg.po: Likewise.
4665         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4666         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4668 2012-12-11  David S. Miller  <davem@davemloft.net>
4670         * po/sv.po: Update from translation team.
4672         * po/vi.po: Update from translation team.
4674         * po/cs.po: Update from translation team.
4676         * po/de.po: Update from translation team.
4677         * po/eo.po: Likewise.
4678         * po/nl.po: Likewise.
4680 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4682         [BZ #14246]
4683         * manual/argp.texi (Argp Helper Functions): Move node to follow
4684         Argp Parsing State.
4686         [BZ #14872]
4687         * manual/conf.texi (Limits on File System Capacity): Mention if
4688         terminating null is included in the max size.
4690 2012-12-10  Andreas Jaeger  <aj@suse.de>
4692         * po/cs.po: Update from translation team.
4694 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4696         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4697         void pointer and cast to uintptr_t.
4698         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4699         path.
4700         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4701         * sysdeps/s390/s390-64/memset.S: Likewise.
4703 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4705         [BZ #14833]
4706         * menual/message.texi (Message Translation): Fix typos.
4707         (Helper programs for gettext): Likewise.
4709 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4711         [BZ #14898]
4712         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4713         Change to -1.
4715 2012-12-07  David S. Miller  <davem@davemloft.net>
4717         * po/libc.pot: Update.
4719 2012-12-07  Richard Henderson  <rth@redhat.com>
4721         [BZ #10114]
4722         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4723         normal/normal case to before the switch.
4724         (_FP_DIV): Likewise.
4726 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4727             Mike Frysinger  <vapier@gentoo.org>
4729         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4730         check for __NR_fadvise64_64.
4732 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4734         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4735         0, not just to plain "0" as a statement.
4736         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4737         with cw.
4739 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4741         * NEWS: Use sourceware.org in Bugzilla URL.
4743 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4746         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4748         * stdio-common/tst-put-error.c (do_test): Add newline to the
4749         padded test to ensure flush.
4751 2012-12-05  Jeff Law  <law@redhat.com>
4753         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4755 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4757         * README: Don't refer to ports add-on as distributed separately.
4758         Mention AArch64 in list of systems supported in the ports add-on.
4760         * LICENSES: Add more non-FSF copyright and license notices.
4762         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4763         ((unused)).
4765         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4767         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4768         10000 as width of padded output.
4770 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4772         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4774         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4775         variable LX with __attribute__ ((unused)).
4776         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4777         Likewise.
4778         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4779         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4780         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4781         with __attribute__ ((unused)).
4783 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4785         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4787 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4789         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4790         (CFLAGS-nldbl-acos.c): New variable.
4791         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4792         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4793         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4794         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4795         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4796         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4797         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4798         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4799         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4800         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4801         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4802         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4803         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4804         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4805         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4806         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4807         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4808         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4809         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4810         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4811         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4812         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4813         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4814         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4815         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4816         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4817         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4818         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4819         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4820         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4821         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4822         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4823         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4824         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4825         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4826         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4827         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4828         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4829         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4830         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4831         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4832         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4833         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4834         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4835         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4836         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4837         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4838         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4839         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4840         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4841         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4842         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4843         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4844         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4845         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4846         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4847         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4848         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4849         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4850         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4851         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4852         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4853         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4854         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4855         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4856         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4857         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4858         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4859         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4860         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4861         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4862         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4863         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4864         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4865         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4866         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4867         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4868         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4869         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4870         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4871         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4872         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4873         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4874         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4875         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4876         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4877         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4878         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4879         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4880         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4881         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4882         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4883         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4884         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4885         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4886         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4887         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4890         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4892         [BZ #14914]
4893         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4894         whole low double instead of just low 47 bits when splitting values
4895         into two parts.
4897 2012-12-03  Allan McRae  <allan@archlinux.org>
4899         * manual/stdio.texi (Predefined Printf Handlers): Remove
4900         @hsep and @vsep usage.
4902 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4904         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4905         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4907 2012-12-03  Jeff Law  <law@redhat.com>
4909         * time/sys/time.h (settimeofday): Do not mark TV argument
4910         as __nonnull.
4912 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4914         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4915         when currently writing and seek to current position when not.
4916         * libio/Makefile (tests): Remove bug-fclose1.
4917         * libio/bug-fclose1.c: Delete.
4919 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4921         * manual/arith.texi (feenableexcept): Fix typo.
4922         (fedisableexcept): Likewise.
4924 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4926         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4927         second, differently-typed declaration, rather than a cast.
4929 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4931         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4932         * include/rpc/svc.h: ... here.
4934 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4936         [BZ #13013]
4937         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4938         depending n and resplen2 to catch cases where answer
4939         equals answerp2.
4941 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4943         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4944         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4946 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4948         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4950 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4952         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4954 2012-11-28  Jeff Law  <law@redhat.com>
4956         [BZ #13761]
4957         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4958         dataset_temporary.  Track alloca usage into alloca_used.
4959         If dataset is large allocate and release it via malloc/free.
4961 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4963         [BZ #14197]
4964         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4966 2012-11-28  David S. Miller  <davem@davemloft.net>
4968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4970 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4972         [BZ #14803]
4973         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4974         of pi/2 rounded to nearest to 64 bits.
4975         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4976         nearest to 64 bits.
4977         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4978         bits.
4980 2012-11-28  Jeff Law <law@redhat.com>
4981             Martin Osvald <mosvald@redhat.com>
4983         [BZ #14889]
4984         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4985         * sunrpc/svc.c: Include time.h.
4986         (__svc_accept_failed): New function.
4987         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4988         any reason other than EINTR, call __svc_accept_failed.
4989         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4990         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4992 2012-11-28  Andreas Schwab  <schwab@suse.de>
4994         * scripts/abilist.awk: Also handle indirect functions in .opd
4995         section.
4997 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4999         [BZ #13881]
5000         * sysdeps/x86/fpu/powl_helper.c: New file.
5001         * sysdeps/x86/fpu/Makefile: Likewise.
5002         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5003         (p3): New object.
5004         (__ieee754_powl): Use __powl_helper for finite arguments except
5005         integer exponents below 8.
5006         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5007         (p3): New object.
5008         (__ieee754_powl): Use __powl_helper for finite arguments except
5009         integer exponents below 8.
5010         * math/libm-test.inc (pow_test): Add more tests and enable some
5011         previously disabled tests.
5012         * sysdeps/i386/fpu/libm-test-ulps: Update.
5013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5015 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5016             Carlos O'Donell  <carlos_odonell@mentor.com>
5018         * nss/makedb.c (is_prime): Assert that input is odd and greater
5019         than 4.  Note that fact in a comment too.
5020         (next_prime): Add 4 to input.
5022 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5024         [BZ #11741]
5025         * libio/Makefile (tests): Add test case tst-fwrite-error.
5026         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5027         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5028         * libio/tst-fwrite-error.c: New test case.
5030 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
5032         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5033         before casting to void *.
5034         * include/libc-internal.h (__pointer_type): New macro.
5035         (__integer_if_pointer_type_sub): Likewise.
5036         (__integer_if_pointer_type): Likewise.
5037         (cast_to_integer): Likewise.
5038         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5039         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5040         before casting to atomic64_t.
5041         (atomic_exchange_acq): Likewise.
5042         (__arch_exchange_and_add_body): Likewise.
5043         (__arch_add_body): Likewise.
5044         (atomic_add_negative): Likewise.
5045         (atomic_add_zero): Likewise.
5047 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
5049         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5050         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5051         (add_fdes): Likewise.
5052         (linear_search_fdes): Likewise.
5053         (binary_search_unencoded_fdes): Likewise.
5055 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5057         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5059 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5061         * configure.in: Autodetect C++ header directories.
5062         * configure: Regenerated.
5064 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5066         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5068 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5072 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5074         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5075         LDBL_MANT_DIG == 106]: Disable some tests.
5076         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5077         Likewise.
5078         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5079         Likewise.
5081         [BZ #14871]
5082         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5083         input for small inputs.  Return +/- pi/2 for large inputs.
5084         * math/libm-test.inc (atan_test): Add more tests.
5086         * sysdeps/generic/unwind-dw2-fde-glibc.c
5087         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5088         __attribute__ ((unused)).
5090         [BZ #14645]
5091         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5092         x * y if x and y are nonzero and z is zero.
5094         [BZ #14811]
5095         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5096         nonzero exponents with absolute value below 0x1p-117 to +/-
5097         0x1p-117.
5099         [BZ #14869]
5100         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5101         up arguments below 2**-450, not just those below 2**-500.
5102         * math/libm-test.inc (hypot_test): Add another test.
5104         [BZ #14868]
5105         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5106         Return a+b for ratio over 2**120, not 2**60.
5107         * math/libm-test.inc (hypot_test): Add another test.
5109         * math/libm-test.inc (clog_test): Use
5110         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5111         (clog10_test): Likewise.
5113         [BZ #6778]
5114         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5116 2012-11-22  Andreas Schwab  <schwab@suse.de>
5118         * sysdeps/i386/fpu/libm-test-ulps: Update.
5120 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5122         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5123         printf output with newline.
5125 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5127         [BZ #14865]
5128         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5129         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5130         -z nodlopen, -z initfirst and -z execstack support.
5131         * configure: Regenerated.
5133         * elf/elf.h (DF_1_NODIRECT): New macro.
5134         (DF_1_IGNMULDEF): Likewise.
5135         (DF_1_NOKSYMS): Likewise.
5136         (DF_1_NOHDR): Likewise.
5137         (DF_1_EDITED): Likewise.
5138         (DF_1_NORELOC): Likewise.
5139         (DF_1_SYMINTPOSE): Likewise.
5140         (DF_1_GLOBAUDIT): Likewise.
5141         (DF_1_SINGLETON): Likewise.
5142         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5143         DT_1_SUPPORTED_MASK bits.
5144         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5146 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5148         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5150 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5152         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5153         macro.
5155         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5156         (sendmmsg): Move declarations...
5157         * socket/sys/socket.h: ... here.
5158         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5159         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5160         include it from...
5161         * socket/recvmmsg.c: ... this new file.
5162         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5163         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5164         definition of __sendmmsg hidden.
5165         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5166         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5167         Move ENOSYS stub into and include it from...
5168         * socket/sendmmsg.c: ... this new file.
5169         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5170         (sysdep_routines): Move recvmmsg and sendmmsg...
5171         * socket/Makefile (routines): ... here.
5172         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5173         (GLIBC_PRIVATE): Add __sendmmsg.
5174         * include/sys/socket.h (__sendmmsg): Add declarations.
5175         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5176         sendmmsg.
5178 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5180         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5181         variable I1 with __attribute__ ((unused)).
5182         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5184 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5186         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5187         DUMMY variables with __attribute__ ((unused)).
5189         * bits/byteswap.h: Include <bits/types.h>.
5190         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5192 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5194         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5195         string_t.  Do not manually set errno.
5196         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5197         length with __strnlen.  Make sure to both set errno and return it on
5198         failure.
5200 2012-11-19  David S. Miller  <davem@davemloft.net>
5202         With help from Joseph Myers.
5203         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5204         very large arguments properly.
5205         * math/libm-test.inc (atan_test): New tests.
5206         (atan2_test): New tests.
5207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5210 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5212         [BZ #14856]
5213         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5214         Define to 3.
5216         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5217         [POSIX] (EADDRNOTAVAIL): Likewise.
5218         [POSIX] (EAFNOSUPPORT): Likewise.
5219         [POSIX] (EALREADY): Likewise.
5220         [POSIX] (ECONNABORTED): Likewise.
5221         [POSIX] (ECONNREFUSED): Likewise.
5222         [POSIX] (ECONNRESET): Likewise.
5223         [POSIX] (EDESTADDRREQ): Likewise.
5224         [POSIX] (EDQUOT): Likewise.
5225         [POSIX] (EHOSTUNREACH): Likewise.
5226         [POSIX] (EIDRM): Likewise.
5227         [POSIX] (EISCONN): Likewise.
5228         [POSIX] (ELOOP): Likewise.
5229         [POSIX] (EMULTIHOP): Likewise.
5230         [POSIX] (ENETDOWN): Likewise.
5231         [POSIX] (ENETUNREACH): Likewise.
5232         [POSIX] (ENOBUFS): Likewise.
5233         [POSIX] (ENODATA): Likewise.
5234         [POSIX] (ENOLINK): Likewise.
5235         [POSIX] (ENOMSG): Likewise.
5236         [POSIX] (ENOPROTOOPT): Likewise.
5237         [POSIX] (ENOSR): Likewise.
5238         [POSIX] (ENOSTR): Likewise.
5239         [POSIX] (ENOTCONN): Likewise.
5240         [POSIX] (ENOTSOCK): Likewise.
5241         [POSIX] (EOPNOTSUPP): Likewise.
5242         [POSIX] (EOVERFLOW): Likewise.
5243         [POSIX] (EPROTO): Likewise.
5244         [POSIX] (EPROTONOSUPPORT): Likewise.
5245         [POSIX] (EPROTOTYPE): Likewise.
5246         [POSIX] (ESTALE): Likewise.
5247         [POSIX] (ETIME): Likewise.
5248         [POSIX] (ETXTBSY): Likewise.
5249         [POSIX] (EWOULDBLOCK): Likewise.
5250         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5251         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5252         [POSIX] (SEEK_CUR): Likewise.
5253         [POSIX] (SEEK_END): Likewise.
5254         [POSIX || UNIX98] (mode_t): Do not require.
5255         [POSIX] (off_t): Likewise.
5256         [POSIX] (pid_t): Likewise.
5257         [POSIX] (sys/stat.h): Do not allow header.
5258         [POSIX] (unistd.h): Likewise.
5259         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5260         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5261         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5262         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5263         require.
5264         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5265         sigevent): Specify elements.
5266         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5267         entry.
5268         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5269         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5271         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5272         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5273         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5274         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5275         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5276         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5277         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5278         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5279         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5280         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5281         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5282         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5283         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5284         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5285         Likewise.
5286         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5287         Likewise.
5288         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5289         Likewise.
5290         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5291         Likewise.
5292         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5293         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5294         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5295         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5296         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5297         Specify lower bound on value.
5298         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5299         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5300         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5301         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5302         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5303         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5304         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5305         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5306         value.
5307         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5308         as optional.
5309         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5310         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5311         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5312         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5313         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5314         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5315         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5316         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5317         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5318         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5319         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5320         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5321         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5322         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5323         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5324         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5325         entry.
5326         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5327         optional.
5328         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5329         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5330         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5331         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5332         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5333         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5334         Likewise.
5335         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5336         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5337         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5338         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5339         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5340         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5341         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5342         as optional.
5343         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5344         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5345         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5346         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5347         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5348         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5349         specify as optional.
5350         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5351         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5352         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5353         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5354         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5355         [XPG3] (NL_LANGMAX): Likewise.
5356         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5357         [POSIX || XPG3] (NL_NMAX): Likewise.
5358         [POSIX || XPG3] (NL_SETMAX): Likewise.
5359         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5360         [XPG3] (NZERO): Likewise.
5361         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5362         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5363         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5364         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5365         (REG_ERANGE): Expect.
5366         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5367         optional-constant.
5368         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5369         Use (void) in prototype.
5370         [POSIX] (*_t): Allow.
5371         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5372         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5373         (WRDE_BADVAL): Expect.
5375         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5376         expect.
5377         [XPG3 || XPG4] (O_RSYNC): Likewise.
5378         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5379         Likewise.
5380         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5381         [XPG3 || XPG4] (sigqueue): Likewise.
5382         [XPG3 || XPG4] (sigtimedwait): Likewise.
5383         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5384         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5385         [XPG3 || XPG4] (vsnprintf): Likewise.
5386         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5387         Likewise.
5388         [XPG3 || XPG4] (blksize_t): Likewise.
5389         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5390         Likewise.
5391         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5392         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5393         [XPG3 || XPG4] (struct itimerspec): Likewise.
5394         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5395         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5396         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5397         [XPG3 || XPG4] (clockid_t): Likewise.
5398         [XPG3 || XPG4] (timer_t): Likewise.
5399         [XPG3 || XPG4] (clock_getres): Likewise.
5400         [XPG3 || XPG4] (clock_gettime): Likewise.
5401         [XPG3 || XPG4] (clock_settime): Likewise.
5402         [XPG3 || XPG4] (nanosleep): Likewise.
5403         [XPG3 || XPG4] (timer_create): Likewise.
5404         [XPG3 || XPG4] (timer_delete): Likewise.
5405         [XPG3 || XPG4] (timer_gettime): Likewise.
5406         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5407         [XPG3 || XPG4] (timer_settime): Likewise.
5408         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5409         [XPG3 || XPG4] (getlogin_r): Likewise.
5410         [XPG3 || XPG4] (pread): Likewise.
5411         [XPG3 || XPG4] (pthread_atfork): Likewise.
5412         [XPG3 || XPG4] (pwrite): Likewise.
5414         [BZ #14835]
5415         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5416         <bits/siginfo.h>.
5418 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5420         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5421         finalizing MALLSTREAM.
5423         * sysdeps/mach/hurd/syncfs.c: New file.
5425 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5427         [BZ #14719]
5428         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5429         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5430         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5431         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5432         (_nss_dns_gethostbyname4_r): Likewise.
5433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5434         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5436 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5438         [BZ #13763]
5439         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5441 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5443         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5444         * elf/cache.c (print_entry): Print ",AArch64" for
5445         FLAG_AARCH64_LIB64
5447         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5448         * elf/cache.c (print_entry): Print ",hard-float" for
5449         FLAG_ARM_LIBHF.
5451 2012-11-18  David S. Miller  <davem@davemloft.net>
5453         With help from Joseph Myers.
5454         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5455         cutoff to 2**-13.
5456         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5457         cutoff to 2**-25.
5458         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5459         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5460         small.
5461         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5462         * math/libm-test.inc (y0_test): New tests.
5463         (y1_test): New tests.
5464         * sysdeps/i386/fpu/libm-test-ulps: Update.
5465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5468 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5470         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5471         64-bit targets.
5472         * configure: Regenerated.
5474 2012-11-17  David S. Miller  <davem@davemloft.net>
5476         [BZ #14811]
5477         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5478         nonzero exponents with absolute value below 0x1p-128 to +/-
5479         0x1p-128.
5481 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5483         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5485         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5487         * posix/getconf-speclist.c: New file.
5488         * posix/posix-envs.def: Likewise.
5489         * posix/confstr.c (START_ENV_GROUP): New macro.
5490         (END_ENV_GROUP): Likewise.
5491         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5492         (KNOWN_PRESENT_ENV_STRING): Likewise.
5493         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5494         (UNKNOWN_ENVIRONMENT): Likewise.
5495         (confstr): Include posix-envs.def instead of handling
5496         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5497         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5498         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5499         (END_ENV_GROUP): Likewise.
5500         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5501         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5502         (UNKNOWN_ENVIRONMENT): Likewise.
5503         (__sysconf): Include posix-envs.def instead of handling associated
5504         cases directly here.
5505         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5506         preprocessing getconf-speclist.c rather than running getconf or
5507         generating empty file.
5509 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5511         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5513 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5515         [BZ #14672]
5516         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5518 2012-11-16  David S. Miller  <davem@davemloft.net>
5520         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5521         smaller than LDBL_EPSILON/2.0L, just return xm1.
5523 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5525         * elf/tst-array1.c (init): Set constructor priority to 1000.
5526         (fini): Set destructor priority to 1000.
5527         * elf/tst-array2dep.c: Likewise.
5529 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5531         [BZ #11741]
5532         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5533         (_IO_new_file_xsputn): Also return EOF if none of the input
5534         data was written when overflow failed.
5535         * libio/iopadn.c (_IO_padn): Likewise.
5536         * libio/iowpadn.c (_IO_wpadn): Likewise.
5537         * stdio-common/tst-put-error.c: Add copyright notice.
5538         (do_test): Add case for printing padded string.
5539         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5540         _IO_padn returned error.
5541         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5542         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5543         return EOF.
5545 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5547         * libio/libioP.h: Add comment note that the references to C++
5548         bits are now obsolete.
5550 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5552         * math/libm-test.inc (check_complex): Use asprintf.
5554 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5556         * debug/pcprofiledump.c (print_version): Update copyright year.
5557         * malloc/memusagestat.c (print_version): Likewise.
5559 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5561         [BZ #14831]
5562         * elf/Makefile (tests): Add tst-audit8.
5563         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5564         ($(objpfx)tst-audit8.out): New target.
5565         (tst-audit8-ENV): New variable.
5566         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5567         audit if l_reloc_result is NULL.
5568         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5569         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5570         * elf/tst-audit8.c: New file.
5572 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5574         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5575         * misc/Makefile (CFLAGS-select.c): Define.
5576         * posix/Makefile (CFLAGS-pause.c): Define.
5578 2012-11-13  David S. Miller  <davem@davemloft.net>
5580         * crypt/Makefile: Move test targets after toplevel Rules
5581         inclusion.  Grab any necessary sysdep routines when linking.
5582         * crypt/md5.c (md5_process_block): Remove define, we will always
5583         name it __md5_process_block.
5584         (md5_finish_ctx): Update md5_process_block call.
5585         (md5_stream): Likewise.
5586         (md5_process_bytes): Likewise.
5587         (md5_process_block): Rename to __md5_process_block and move to ...
5588         * crypt/md5-block.c: ... here.
5589         * crypt/sha256.c (sha256_process_block): Move to ...
5590         * crypt/sha256-block.c: ... here.
5591         * crypt/sha512.c (sha512_process_block): Move to ...
5592         * crypt/sha512-block.c: ... here.
5593         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5594         path.
5595         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5596         * sysdeps/sparc/sparc64/multiarch/Makefile
5597         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5598         crypt subdir.
5599         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5600         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5601         multiarch changes.
5602         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5603         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5604         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5605         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5606         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5607         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5608         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5609         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5610         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5611         file.
5612         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5613         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5614         file.
5615         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5617 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5619         * timezone/tzselect.ksh: Update from tzcode git revision
5620         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5621         * timezone/zdump.c: Likewise.
5622         * timezone/zic.c: Likewise.
5623         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5624         in TZVERSION setting, not $(PKGVERSION).
5625         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5626         REPORT_BUGS_TO settings.
5628         [BZ #14838]
5629         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5630         macro.
5632 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5634         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5635         detection to immediately after _FP_ROUND().
5636         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5637         bits are 0.
5639 2012-11-11  David S. Miller  <davem@davemloft.net>
5641         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5642         inttypes.h
5643         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5644         __close rather than their public counterparts.
5646 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5648         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5649         file.
5650         [UNIX98] (sem_timedwait): Do not expect.
5651         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5652         [XPG4 || UNIX98] (sockatmark): Do not expect.
5653         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5654         (clock_getcpuclockid): Do not expect.
5655         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5656         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5657         Do not expect.
5658         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5659         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5660         [UNIX98] (vwscanf): Likewise.
5661         [UNIX98] (vswscanf): Likewise.
5663 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5665         * timezone/version.h: Remove file.
5666         * timezone/README: Do not refer to version.h.
5667         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5668         $(objpfx)version.h.
5669         ($(objpfx)zdump.o): Likewise.
5670         ($(objpfx)version.h): New target.
5672         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5673         2012i.
5674         * timezone/README: Don't mention modification to tzselect.ksh.
5675         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5676         work on unmodified tzselect.ksh.  Substitute version numbers in
5677         tzselect.ksh.
5679         * Makefile (format-me): Remove.
5680         (INSTALL): Adjust indentation.  Use commands directly instead of
5681         using $(format-me).
5683         * aclocal.m4 (ACX_PKGVERSION): New macro.
5684         (ACX_BUGURL): Likewise.
5685         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5686         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5687         (REPORT_BUGS_TO): Likewise.
5688         * configure: Regenerated.
5689         * config.h.in (PKGVERSION): New macro.
5690         (REPORT_BUGS_TO): Likewise.
5691         * config.make.in (PKGVERSION): New variable.
5692         (PKGVERSION_TEXI): Likewise.
5693         (REPORT_BUGS_TO): Likewise.
5694         (REPORT_BUGS_TEXI): Likewise.
5695         * Makefile (format-me): Use -I$(common-objpfx)manual.
5696         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5697         ($(common-objpfx)manual/%): New target.
5698         (manual/%): Remove target.
5699         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5700         (print_version): Use PKGVERSION.
5701         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5702         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5703         and REPORT_BUGS_TO.
5704         ($(objpfx)xtrace): Likewise.
5705         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5706         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5707         (print_version): Use PKGVERSION.
5708         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5709         (do_version): Use PKGVERSION.
5710         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5711         REPORT_BUGS_TO.
5712         (common-ldd-rewrite): Likewise.
5713         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5714         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5715         (print_version): Use PKGVERSION.
5716         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5717         * elf/pldd.c (argp_program_bug_address): Remove variable.
5718         (more_help): New function.
5719         (argp): Use more_help.
5720         (print_version): Use PKGVERSION.
5721         * elf/sln.c (main): Use PKGVERSION.
5722         (usage): Use REPORT_BUGS_TO.
5723         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5724         (top level): Use PKGVERSION.
5725         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5726         (print_version): Use PKGVERSION.
5727         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5728         (print_version): Use PKGVERSION.
5729         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5730         (print_version): Use PKGVERSION.
5731         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5732         (print_version): Use PKGVERSION.
5733         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5734         (print_version): Use PKGVERSION.
5735         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5736         (print_version): Use PKGVERSION.
5737         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5738         and BUGURL.
5739         ($(objpfx)memusage): Likewise.
5740         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5741         (do_version): Use PKGVERSION.
5742         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5743         (print_version): Use PKGVERSION.
5744         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5745         ($PKGVERSION): New variable.
5746         ($REPORT_BUGS_TO): Likewise.
5747         (usage): Use $REPORT_BUGS_TO.
5748         (top level): Use $PKGVERSION.
5749         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5750         ($(objpfx)pkgvers.texi): New rule.
5751         ($(objpfx)stamp-pkgvers): Likewise.
5752         * manual/install.texi: Include pkgvers.texi.
5753         (--with-pkgversion): Document new configure option.
5754         (--with-bugurl): Likewise.
5755         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5756         than necessarily for this particular distribution.  Use
5757         REPORT_BUGS_TO for where to report bugs.
5758         * INSTALL: Regenerated.
5759         * manual/libc.texinfo: Include pkgvers.texi.
5760         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5761         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5762         (print_version): Use PKGVERSION.
5763         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5764         (print_version): Use PKGVERSION.
5765         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5766         (print_version): Use PKGVERSION.
5767         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5768         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5769         macro.
5770         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5771         (print_version): Use PKGVERSION.
5772         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5773         (print_version): Use PKGVERSION.
5774         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5775         and PKGVERSION.
5777         * timezone/checktab.awk: Update from tzcode 2012i.
5778         * timezone/ialloc.c: Likewise.
5779         * timezone/private.h: Likewise.
5780         * timezone/scheck.c: Likewise.
5781         * timezone/tzfile.h: Likewise.
5782         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5783         (TZVERSION): Hardcode tzcode version number.
5784         * timezone/zdump.c: Update from tzcode 2012i.
5785         * timezone/zic.c: Likewise.
5786         * timezone/version.h: New file.
5787         * timezone/README: Describe version.h.  Update upstream location.
5789         [BZ #14824]
5790         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5791         (mktemp): Enable declaration.
5792         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5793         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5794         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5795         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5796         Likewise.
5797         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5798         Likewise.
5799         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5800         Likewise.
5801         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5802         Likewise.
5803         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5804         Likewise.
5805         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5806         Likewise.
5808         [BZ #14821]
5809         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5810         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5811         for copies of such integer values.
5812         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5813         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5815 2012-11-09  Andreas Jaeger  <aj@suse.de>
5817         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5818         definitions and declarations that are provided by
5819         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5821 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5823         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5824         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5825         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5826         definition.
5828 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5830         * elf/elf.h: Update comment before AArch64 relocations.
5832 2012-11-07  David S. Miller  <davem@davemloft.net>
5834         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5835         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5836         (__start_context): Declare.
5837         (__makecontext_ret): Delete.
5838         (__makecontext): Hook up __start_context instead of
5839         __makecontext_ret.
5840         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5841         (sysdep_routines): Add __start_context when in stdlib.
5843 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5845         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5846         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5847         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5848         hardcoded "nm".
5849         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5850         (READELF): New variable.  Use it instead of hardcoded "readelf".
5852 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5854         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5855         * sysdeps/x86/Makefile: Here.
5856         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5857         * sysdeps/x86/tst-xmmymm.sh: This.
5859 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5861         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5862         expectations.
5863         [UNIX98] (pthread_barrier_t): Do not expect.
5864         [UNIX98] (pthread_barrierattr_t): Likewise.
5865         [UNIX98] (pthread_spinlock_t): Likewise.
5866         [UNIX98] (pthread_barrier_destroy): Likewise.
5867         [UNIX98] (pthread_barrier_init): Likewise.
5868         [UNIX98] (pthread_barrier_wait): Likewise.
5869         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5870         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5871         [UNIX98] (pthread_barrierattr_init): Likewise.
5872         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5873         [UNIX98] (pthread_getcpuclockid): Likewise.
5874         [UNIX98] (pthread_mutex_timedlock): Likewise.
5875         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5876         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5877         [UNIX98] (pthread_sigmask): Likewise.
5878         [UNIX98] (pthread_spin_destroy): Likewise.
5879         [UNIX98] (pthread_spin_init): Likewise.
5880         [UNIX98] (pthread_spin_lock): Likewise.
5881         [UNIX98] (pthread_spin_trylock): Likewise.
5882         [UNIX98] (pthread_spin_unlock): Likewise.
5883         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5884         Do not expect.
5885         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5886         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5887         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5888         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5889         [XPG3 || XPG4] (pthread_key_t): Likewise.
5890         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5891         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5892         [XPG3 || XPG4] (pthread_once_t): Likewise.
5893         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5894         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5895         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5896         [XPG3 || XPG4] (pthread_t): Likewise.
5898         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5899         not expect.
5900         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5902         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5903         Change function return type to int.
5905         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5906         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5907         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5908         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5909         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5910         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5911         [!POSIX] (posix_madvise): Likewise.
5912         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5913         && !UNIX98].
5914         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5915         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5916         (mode_t): Likewise.
5917         (posix_mem_offset): Likewise.
5918         (posix_typed_mem_get_info): Likewise.
5919         (posix_typed_mem_open): Likewise.
5921         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5922         Change condition to [XOPEN2K8].
5924         * conform/conformtest.pl: Preprocess allow-header data with -x c
5925         instead of from stdin.
5926         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5927         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5928         [C99-based standards] (cerfc): Likewise.
5929         [C99-based standards] (cexp2): Likewise.
5930         [C99-based standards] (cexpm1): Likewise.
5931         [C99-based standards] (clog10): Likewise.
5932         [C99-based standards] (clog1p): Likewise.
5933         [C99-based standards] (clog2): Likewise.
5934         [C99-based standards] (clgamma): Likewise.
5935         [C99-based standards] (ctgamma): Likewise.
5936         [C99-based standards] (cerff): Likewise.
5937         [C99-based standards] (cerfcf): Likewise.
5938         [C99-based standards] (cexp2f): Likewise.
5939         [C99-based standards] (cexpm1f): Likewise.
5940         [C99-based standards] (clog10f): Likewise.
5941         [C99-based standards] (clog1pf): Likewise.
5942         [C99-based standards] (clog2f): Likewise.
5943         [C99-based standards] (clgammaf): Likewise.
5944         [C99-based standards] (ctgammaf): Likewise.
5945         [C99-based standards] (cerfl): Likewise.
5946         [C99-based standards] (cerfcl): Likewise.
5947         [C99-based standards] (cexp2l): Likewise.
5948         [C99-based standards] (cexpm1l): Likewise.
5949         [C99-based standards] (clog10l): Likewise.
5950         [C99-based standards] (clog1pl): Likewise.
5951         [C99-based standards] (clog2l): Likewise.
5952         [C99-based standards] (clgammal): Likewise.
5953         [C99-based standards] (ctgammal): Likewise.
5954         * conform/data/inttypes.h-data [C99-based standards]: Include
5955         stdint.h-data.  Remove all expectations for stdint.h contents.
5956         [C99-based standards] (PRI*): Do not allow.
5957         [C99-based standards] (SCN*): Likewise.
5958         [C99-based standards] (*_t): Likewise.
5959         [C99-based-standards] (PRId8): Expect macro.
5960         [C99-based-standards] (PRIi8): Likewise.
5961         [C99-based-standards] (PRIo8): Likewise.
5962         [C99-based-standards] (PRIu8): Likewise.
5963         [C99-based-standards] (PRIx8): Likewise.
5964         [C99-based-standards] (PRIX8): Likewise.
5965         [C99-based-standards] (SCNd8): Likewise.
5966         [C99-based-standards] (SCNi8): Likewise.
5967         [C99-based-standards] (SCNo8): Likewise.
5968         [C99-based-standards] (SCNu8): Likewise.
5969         [C99-based-standards] (SCNx8): Likewise.
5970         [C99-based-standards] (PRIdLEAST8): Likewise.
5971         [C99-based-standards] (PRIiLEAST8): Likewise.
5972         [C99-based-standards] (PRIoLEAST8): Likewise.
5973         [C99-based-standards] (PRIuLEAST8): Likewise.
5974         [C99-based-standards] (PRIxLEAST8): Likewise.
5975         [C99-based-standards] (PRIXLEAST8): Likewise.
5976         [C99-based-standards] (SCNdLEAST8): Likewise.
5977         [C99-based-standards] (SCNiLEAST8): Likewise.
5978         [C99-based-standards] (SCNoLEAST8): Likewise.
5979         [C99-based-standards] (SCNuLEAST8): Likewise.
5980         [C99-based-standards] (SCNxLEAST8): Likewise.
5981         [C99-based-standards] (PRIdFAST8): Likewise.
5982         [C99-based-standards] (PRIiFAST8): Likewise.
5983         [C99-based-standards] (PRIoFAST8): Likewise.
5984         [C99-based-standards] (PRIuFAST8): Likewise.
5985         [C99-based-standards] (PRIxFAST8): Likewise.
5986         [C99-based-standards] (PRIXFAST8): Likewise.
5987         [C99-based-standards] (SCNdFAST8): Likewise.
5988         [C99-based-standards] (SCNiFAST8): Likewise.
5989         [C99-based-standards] (SCNoFAST8): Likewise.
5990         [C99-based-standards] (SCNuFAST8): Likewise.
5991         [C99-based-standards] (SCNxFAST8): Likewise.
5992         [C99-based-standards] (PRId16): Likewise.
5993         [C99-based-standards] (PRIi16): Likewise.
5994         [C99-based-standards] (PRIo16): Likewise.
5995         [C99-based-standards] (PRIu16): Likewise.
5996         [C99-based-standards] (PRIx16): Likewise.
5997         [C99-based-standards] (PRIX16): Likewise.
5998         [C99-based-standards] (SCNd16): Likewise.
5999         [C99-based-standards] (SCNi16): Likewise.
6000         [C99-based-standards] (SCNo16): Likewise.
6001         [C99-based-standards] (SCNu16): Likewise.
6002         [C99-based-standards] (SCNx16): Likewise.
6003         [C99-based-standards] (PRIdLEAST16): Likewise.
6004         [C99-based-standards] (PRIiLEAST16): Likewise.
6005         [C99-based-standards] (PRIoLEAST16): Likewise.
6006         [C99-based-standards] (PRIuLEAST16): Likewise.
6007         [C99-based-standards] (PRIxLEAST16): Likewise.
6008         [C99-based-standards] (PRIXLEAST16): Likewise.
6009         [C99-based-standards] (SCNdLEAST16): Likewise.
6010         [C99-based-standards] (SCNiLEAST16): Likewise.
6011         [C99-based-standards] (SCNoLEAST16): Likewise.
6012         [C99-based-standards] (SCNuLEAST16): Likewise.
6013         [C99-based-standards] (SCNxLEAST16): Likewise.
6014         [C99-based-standards] (PRIdFAST16): Likewise.
6015         [C99-based-standards] (PRIiFAST16): Likewise.
6016         [C99-based-standards] (PRIoFAST16): Likewise.
6017         [C99-based-standards] (PRIuFAST16): Likewise.
6018         [C99-based-standards] (PRIxFAST16): Likewise.
6019         [C99-based-standards] (PRIXFAST16): Likewise.
6020         [C99-based-standards] (SCNdFAST16): Likewise.
6021         [C99-based-standards] (SCNiFAST16): Likewise.
6022         [C99-based-standards] (SCNoFAST16): Likewise.
6023         [C99-based-standards] (SCNuFAST16): Likewise.
6024         [C99-based-standards] (SCNxFAST16): Likewise.
6025         [C99-based-standards] (PRId32): Likewise.
6026         [C99-based-standards] (PRIi32): Likewise.
6027         [C99-based-standards] (PRIo32): Likewise.
6028         [C99-based-standards] (PRIu32): Likewise.
6029         [C99-based-standards] (PRIx32): Likewise.
6030         [C99-based-standards] (PRIX32): Likewise.
6031         [C99-based-standards] (SCNd32): Likewise.
6032         [C99-based-standards] (SCNi32): Likewise.
6033         [C99-based-standards] (SCNo32): Likewise.
6034         [C99-based-standards] (SCNu32): Likewise.
6035         [C99-based-standards] (SCNx32): Likewise.
6036         [C99-based-standards] (PRIdLEAST32): Likewise.
6037         [C99-based-standards] (PRIiLEAST32): Likewise.
6038         [C99-based-standards] (PRIoLEAST32): Likewise.
6039         [C99-based-standards] (PRIuLEAST32): Likewise.
6040         [C99-based-standards] (PRIxLEAST32): Likewise.
6041         [C99-based-standards] (PRIXLEAST32): Likewise.
6042         [C99-based-standards] (SCNdLEAST32): Likewise.
6043         [C99-based-standards] (SCNiLEAST32): Likewise.
6044         [C99-based-standards] (SCNoLEAST32): Likewise.
6045         [C99-based-standards] (SCNuLEAST32): Likewise.
6046         [C99-based-standards] (SCNxLEAST32): Likewise.
6047         [C99-based-standards] (PRIdFAST32): Likewise.
6048         [C99-based-standards] (PRIiFAST32): Likewise.
6049         [C99-based-standards] (PRIoFAST32): Likewise.
6050         [C99-based-standards] (PRIuFAST32): Likewise.
6051         [C99-based-standards] (PRIxFAST32): Likewise.
6052         [C99-based-standards] (PRIXFAST32): Likewise.
6053         [C99-based-standards] (SCNdFAST32): Likewise.
6054         [C99-based-standards] (SCNiFAST32): Likewise.
6055         [C99-based-standards] (SCNoFAST32): Likewise.
6056         [C99-based-standards] (SCNuFAST32): Likewise.
6057         [C99-based-standards] (SCNxFAST32): Likewise.
6058         [C99-based-standards] (PRId64): Likewise.
6059         [C99-based-standards] (PRIi64): Likewise.
6060         [C99-based-standards] (PRIo64): Likewise.
6061         [C99-based-standards] (PRIu64): Likewise.
6062         [C99-based-standards] (PRIx64): Likewise.
6063         [C99-based-standards] (PRIX64): Likewise.
6064         [C99-based-standards] (SCNd64): Likewise.
6065         [C99-based-standards] (SCNi64): Likewise.
6066         [C99-based-standards] (SCNo64): Likewise.
6067         [C99-based-standards] (SCNu64): Likewise.
6068         [C99-based-standards] (SCNx64): Likewise.
6069         [C99-based-standards] (PRIdLEAST64): Likewise.
6070         [C99-based-standards] (PRIiLEAST64): Likewise.
6071         [C99-based-standards] (PRIoLEAST64): Likewise.
6072         [C99-based-standards] (PRIuLEAST64): Likewise.
6073         [C99-based-standards] (PRIxLEAST64): Likewise.
6074         [C99-based-standards] (PRIXLEAST64): Likewise.
6075         [C99-based-standards] (SCNdLEAST64): Likewise.
6076         [C99-based-standards] (SCNiLEAST64): Likewise.
6077         [C99-based-standards] (SCNoLEAST64): Likewise.
6078         [C99-based-standards] (SCNuLEAST64): Likewise.
6079         [C99-based-standards] (SCNxLEAST64): Likewise.
6080         [C99-based-standards] (PRIdFAST64): Likewise.
6081         [C99-based-standards] (PRIiFAST64): Likewise.
6082         [C99-based-standards] (PRIoFAST64): Likewise.
6083         [C99-based-standards] (PRIuFAST64): Likewise.
6084         [C99-based-standards] (PRIxFAST64): Likewise.
6085         [C99-based-standards] (PRIXFAST64): Likewise.
6086         [C99-based-standards] (SCNdFAST64): Likewise.
6087         [C99-based-standards] (SCNiFAST64): Likewise.
6088         [C99-based-standards] (SCNoFAST64): Likewise.
6089         [C99-based-standards] (SCNuFAST64): Likewise.
6090         [C99-based-standards] (SCNxFAST64): Likewise.
6091         [C99-based-standards] (PRIdMAX): Likewise.
6092         [C99-based-standards] (PRIiMAX): Likewise.
6093         [C99-based-standards] (PRIoMAX): Likewise.
6094         [C99-based-standards] (PRIuMAX): Likewise.
6095         [C99-based-standards] (PRIxMAX): Likewise.
6096         [C99-based-standards] (PRIXMAX): Likewise.
6097         [C99-based-standards] (SCNdMAX): Likewise.
6098         [C99-based-standards] (SCNiMAX): Likewise.
6099         [C99-based-standards] (SCNoMAX): Likewise.
6100         [C99-based-standards] (SCNuMAX): Likewise.
6101         [C99-based-standards] (SCNxMAX): Likewise.
6102         [C99-based-standards] (PRIdPTR): Likewise.
6103         [C99-based-standards] (PRIiPTR): Likewise.
6104         [C99-based-standards] (PRIoPTR): Likewise.
6105         [C99-based-standards] (PRIuPTR): Likewise.
6106         [C99-based-standards] (PRIxPTR): Likewise.
6107         [C99-based-standards] (PRIXPTR): Likewise.
6108         [C99-based-standards] (SCNdPTR): Likewise.
6109         [C99-based-standards] (SCNiPTR): Likewise.
6110         [C99-based-standards] (SCNoPTR): Likewise.
6111         [C99-based-standards] (SCNuPTR): Likewise.
6112         [C99-based-standards] (SCNxPTR): Likewise.
6113         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6114         allow.
6115         * conform/data/stdint.h-data: Update comments to clarify
6116         requirements.
6117         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6118         type.
6119         [C99-based standards] (INT8_MAX): Likewise.
6120         [C99-based standards] (INT16_MIN): Likewise.
6121         [C99-based standards] (INT16_MAX): Likewise.
6122         [C99-based standards] (INT32_MIN): Likewise.
6123         [C99-based standards] (INT32_MAX): Likewise.
6124         [C99-based standards] (INT64_MIN): Likewise.
6125         [C99-based standards] (INT64_MAX): Likewise.
6126         [C99-based standards] (UINT8_MAX): Likewise.
6127         [C99-based standards] (UINT16_MAX): Likewise.
6128         [C99-based standards] (UINT32_MAX): Likewise.
6129         [C99-based standards] (UINT64_MAX): Likewise.
6130         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6131         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6132         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6133         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6134         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6135         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6136         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6137         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6138         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6139         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6140         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6141         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6142         [C99-based standards] (INT_FAST8_MIN): Likewise.
6143         [C99-based standards] (INT_FAST8_MAX): Likewise.
6144         [C99-based standards] (INT_FAST16_MIN): Likewise.
6145         [C99-based standards] (INT_FAST16_MAX): Likewise.
6146         [C99-based standards] (INT_FAST32_MIN): Likewise.
6147         [C99-based standards] (INT_FAST32_MAX): Likewise.
6148         [C99-based standards] (INT_FAST64_MIN): Likewise.
6149         [C99-based standards] (INT_FAST64_MAX): Likewise.
6150         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6151         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6152         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6153         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6154         [C99-based standards] (INTPTR_MIN): Likewise.
6155         [C99-based standards] (INTPTR_MAX): Likewise.
6156         [C99-based standards] (UINTPTR_MAX): Likewise.
6157         [C99-based standards] (INTMAX_MIN): Likewise.
6158         [C99-based standards] (INTMAX_MAX): Likewise.
6159         [C99-based standards] (UINTMAX_MAX): Likewise.
6160         [C99-based standards] (PTRDIFF_MIN): Likewise.
6161         [C99-based standards] (PTRDIFF_MAX): Likewise.
6162         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6163         [C99-based standards] (SIZE_MAX): Likewise.
6164         [C99-based standards] (WCHAR_MAX): Likewise.
6165         [C99-based standards] (WINT_MAX): Likewise.
6166         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6167         constraint on value.
6168         [C99-based standards] (WCHAR_MIN): Likewise.
6169         [C99-based standards] (WINT_MIN): Likewise.
6170         [C99-based standards] (*_t): Allow.
6171         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6172         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6173         Include math.h-data and complex.h-data.  Remove all expectations
6174         of math.h and complex.h contents.
6175         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6176         at end of line.
6177         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6178         (struct tm): Expect tag.
6179         [C99-based-standards] (wcstof): Expect function.
6180         [C99-based-standards] (wcstold): Likewise.
6181         [C99-based-standards] (wcstoll): Likewise.
6182         [C99-based-standards] (wcstoull): Likewise.
6183         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6184         macro-int-constant.  Specify type.
6185         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6186         constraint on value.
6187         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6188         Specify type.
6189         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6190         Specify value.
6191         [ISO C standards]: Do not allow headers.
6192         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6193         wcs[abcdefghijklmnopqrstuvwxyz]*.
6194         [ISO C standards] (*_t): Do not allow.
6195         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6196         Expect function.
6197         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6198         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6199         Specify type.
6200         [ISO C standards]: Do not allow headers.
6201         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6202         is[abcdefghijklmnopqrstuvwxyz]*.
6203         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6204         to[abcdefghijklmnopqrstuvwxyz]*.
6205         [ISO C standards] (*_t): Do not allow.
6206         * conform/data/stdalign.h-data: New file.
6207         * conform/data/stdbool.h-data: Likewise.
6208         * conform/data/stdnoreturn.h-data: Likewise.
6210 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6212         [BZ #14815]
6213         * manual/filesys.texi (Directory Entries): Typo fix.
6214         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6216 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6218         * elf/elf.h (EM_AARCH64): New macro.
6219         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6220         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6221         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6222         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6223         (R_AARCH64_TLSDESC): Likewise.
6224         (NT_ARM_TLS): Likewise.
6225         (NT_ARM_HW_BREAK): Likewise.
6226         (NT_ARM_HW_WATCH): Likewise.
6228 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6230         [BZ #14811]
6231         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6232         (__ieee754_powl): Saturate nonzero exponents with absolute value
6233         below 0x1p-79 to +/- 0x1p-79.
6234         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6235         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6236         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6237         nonzero exponents with absolute value below 0x1p-32 to +/-
6238         0x1p-32.
6239         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6240         (__ieee754_powl): Saturate nonzero exponents with absolute value
6241         below 0x1p-79 to +/- 0x1p-79.
6242         * math/libm-test.inc (pow_test): Add more tests.
6244 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6246         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6247         _dl_s390_cap_flags with kernel. Increase string length.
6248         (_dl_s390_platforms): Add z196 and zEC12.
6250 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6252         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6253         Change XOPEN21K to XOPEN2K.
6255 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6257         * string/memmove.c: Use memcpy when possible.
6259 2012-11-06  Andreas Jaeger  <aj@suse.de>
6261         * po/eo.po: Update from translation team.
6263 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6265         [BZ #14793]
6266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6267         exponent and small x and y exponents, scale x or y up.  Increase
6268         by 2 the exponent used in scaling up.
6269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6271         * math/libm-test.inc (fma_test): Add more tests.
6272         (fma_test_towardzero): Likewise.
6273         (fma_test_downward): Likewise.
6274         (fma_test_upward): Likewise.
6276 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6278         [BZ #14805]
6279         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6280         fenv_t *.
6282         [BZ #14801]
6283         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6284         namespace for names of struct fields.
6285         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6286         fenv_t fields.
6287         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6288         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6290 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6292         [BZ #3665]
6293         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6295 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6297         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6298         PTR_DEMANGLE.
6300         [BZ #5246]
6301         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6302         PTR_DEMANGLE.
6304 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6306         [BZ #14797]
6307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6308         definitely overflow as x * y not x * y + z.
6309         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6310         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6311         * math/libm-test.inc (fma_test): Add more tests.
6312         (fma_test_towardzero): Likewise.
6313         (fma_test_downward): Likewise.
6314         (fma_test_upward): Likewise.
6316 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6318         [BZ #157]
6320         * include/stub-tag.h: Remove file.
6321         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6322         '#include' of it.
6323         * manual/maint.texi (Porting): Don't reference it.
6324         * Makerules ($(objpfx)stubs): Likewise.
6325         * dirent/closedir.c: Don't include <stub-tag.h>.
6326         * dirent/dirfd.c: Likewise.
6327         * dirent/fdopendir.c: Likewise.
6328         * dirent/getdents.c: Likewise.
6329         * dirent/getdents64.c: Likewise.
6330         * dirent/opendir.c: Likewise.
6331         * dirent/readdir.c: Likewise.
6332         * dirent/readdir64.c: Likewise.
6333         * dirent/readdir64_r.c: Likewise.
6334         * dirent/readdir_r.c: Likewise.
6335         * dirent/rewinddir.c: Likewise.
6336         * dirent/seekdir.c: Likewise.
6337         * dirent/telldir.c: Likewise.
6338         * gmon/profil.c: Likewise.
6339         * grp/setgroups.c: Likewise.
6340         * inet/if_index.c: Likewise.
6341         * io/access.c: Likewise.
6342         * io/chdir.c: Likewise.
6343         * io/chmod.c: Likewise.
6344         * io/chown.c: Likewise.
6345         * io/close.c: Likewise.
6346         * io/dup.c: Likewise.
6347         * io/dup2.c: Likewise.
6348         * io/dup3.c: Likewise.
6349         * io/euidaccess.c: Likewise.
6350         * io/faccessat.c: Likewise.
6351         * io/fchdir.c: Likewise.
6352         * io/fchmod.c: Likewise.
6353         * io/fchmodat.c: Likewise.
6354         * io/fchown.c: Likewise.
6355         * io/fchownat.c: Likewise.
6356         * io/fcntl.c: Likewise.
6357         * io/flock.c: Likewise.
6358         * io/fstatfs.c: Likewise.
6359         * io/fstatfs64.c: Likewise.
6360         * io/fstatvfs.c: Likewise.
6361         * io/fstatvfs64.c: Likewise.
6362         * io/futimens.c: Likewise.
6363         * io/fxstat.c: Likewise.
6364         * io/fxstat64.c: Likewise.
6365         * io/fxstatat.c: Likewise.
6366         * io/fxstatat64.c: Likewise.
6367         * io/getcwd.c: Likewise.
6368         * io/isatty.c: Likewise.
6369         * io/lchmod.c: Likewise.
6370         * io/lchown.c: Likewise.
6371         * io/link.c: Likewise.
6372         * io/linkat.c: Likewise.
6373         * io/lseek.c: Likewise.
6374         * io/lseek64.c: Likewise.
6375         * io/lxstat64.c: Likewise.
6376         * io/mkdir.c: Likewise.
6377         * io/mkdirat.c: Likewise.
6378         * io/mkfifo.c: Likewise.
6379         * io/mkfifoat.c: Likewise.
6380         * io/open.c: Likewise.
6381         * io/open64.c: Likewise.
6382         * io/openat.c: Likewise.
6383         * io/openat64.c: Likewise.
6384         * io/pipe.c: Likewise.
6385         * io/pipe2.c: Likewise.
6386         * io/poll.c: Likewise.
6387         * io/posix_fadvise.c: Likewise.
6388         * io/posix_fadvise64.c: Likewise.
6389         * io/posix_fallocate.c: Likewise.
6390         * io/posix_fallocate64.c: Likewise.
6391         * io/read.c: Likewise.
6392         * io/readlink.c: Likewise.
6393         * io/readlinkat.c: Likewise.
6394         * io/rmdir.c: Likewise.
6395         * io/sendfile.c: Likewise.
6396         * io/sendfile64.c: Likewise.
6397         * io/statfs.c: Likewise.
6398         * io/statfs64.c: Likewise.
6399         * io/statvfs.c: Likewise.
6400         * io/statvfs64.c: Likewise.
6401         * io/symlink.c: Likewise.
6402         * io/symlinkat.c: Likewise.
6403         * io/ttyname.c: Likewise.
6404         * io/ttyname_r.c: Likewise.
6405         * io/umask.c: Likewise.
6406         * io/unlink.c: Likewise.
6407         * io/unlinkat.c: Likewise.
6408         * io/utime.c: Likewise.
6409         * io/utimensat.c: Likewise.
6410         * io/write.c: Likewise.
6411         * io/xmknod.c: Likewise.
6412         * io/xmknodat.c: Likewise.
6413         * io/xstat.c: Likewise.
6414         * io/xstat64.c: Likewise.
6415         * login/getpt.c: Likewise.
6416         * login/grantpt.c: Likewise.
6417         * login/unlockpt.c: Likewise.
6418         * math/e_acoshl.c: Likewise.
6419         * math/e_acosl.c: Likewise.
6420         * math/e_asinl.c: Likewise.
6421         * math/e_atan2l.c: Likewise.
6422         * math/e_atanhl.c: Likewise.
6423         * math/e_coshl.c: Likewise.
6424         * math/e_expl.c: Likewise.
6425         * math/e_fmodl.c: Likewise.
6426         * math/e_gammal_r.c: Likewise.
6427         * math/e_hypotl.c: Likewise.
6428         * math/e_j0l.c: Likewise.
6429         * math/e_j1l.c: Likewise.
6430         * math/e_jnl.c: Likewise.
6431         * math/e_lgammal_r.c: Likewise.
6432         * math/e_log10l.c: Likewise.
6433         * math/e_log2l.c: Likewise.
6434         * math/e_logl.c: Likewise.
6435         * math/e_powl.c: Likewise.
6436         * math/e_rem_pio2l.c: Likewise.
6437         * math/e_sinhl.c: Likewise.
6438         * math/e_sqrtl.c: Likewise.
6439         * math/fclrexcpt.c: Likewise.
6440         * math/fedisblxcpt.c: Likewise.
6441         * math/feenablxcpt.c: Likewise.
6442         * math/fegetenv.c: Likewise.
6443         * math/fegetexcept.c: Likewise.
6444         * math/fegetround.c: Likewise.
6445         * math/feholdexcpt.c: Likewise.
6446         * math/fesetenv.c: Likewise.
6447         * math/fesetround.c: Likewise.
6448         * math/feupdateenv.c: Likewise.
6449         * math/fgetexcptflg.c: Likewise.
6450         * math/fraiseexcpt.c: Likewise.
6451         * math/fsetexcptflg.c: Likewise.
6452         * math/ftestexcept.c: Likewise.
6453         * math/k_cosl.c: Likewise.
6454         * math/k_rem_pio2l.c: Likewise.
6455         * math/k_sinl.c: Likewise.
6456         * math/k_tanl.c: Likewise.
6457         * math/s_asinhl.c: Likewise.
6458         * math/s_atanl.c: Likewise.
6459         * math/s_cbrtl.c: Likewise.
6460         * math/s_erfl.c: Likewise.
6461         * math/s_expm1l.c: Likewise.
6462         * math/s_log1pl.c: Likewise.
6463         * math/s_tanhl.c: Likewise.
6464         * misc/acct.c: Likewise.
6465         * misc/brk.c: Likewise.
6466         * misc/chflags.c: Likewise.
6467         * misc/chroot.c: Likewise.
6468         * misc/fchflags.c: Likewise.
6469         * misc/fgetxattr.c: Likewise.
6470         * misc/flistxattr.c: Likewise.
6471         * misc/fremovexattr.c: Likewise.
6472         * misc/fsetxattr.c: Likewise.
6473         * misc/fsync.c: Likewise.
6474         * misc/ftruncate.c: Likewise.
6475         * misc/futimes.c: Likewise.
6476         * misc/futimesat.c: Likewise.
6477         * misc/getdomain.c: Likewise.
6478         * misc/getdtsz.c: Likewise.
6479         * misc/gethostid.c: Likewise.
6480         * misc/gethostname.c: Likewise.
6481         * misc/getloadavg.c: Likewise.
6482         * misc/getpagesize.c: Likewise.
6483         * misc/getsysstats.c: Likewise.
6484         * misc/getxattr.c: Likewise.
6485         * misc/gtty.c: Likewise.
6486         * misc/ioctl.c: Likewise.
6487         * misc/lgetxattr.c: Likewise.
6488         * misc/listxattr.c: Likewise.
6489         * misc/llistxattr.c: Likewise.
6490         * misc/lremovexattr.c: Likewise.
6491         * misc/lsetxattr.c: Likewise.
6492         * misc/lutimes.c: Likewise.
6493         * misc/madvise.c: Likewise.
6494         * misc/mincore.c: Likewise.
6495         * misc/mlock.c: Likewise.
6496         * misc/mlockall.c: Likewise.
6497         * misc/mmap.c: Likewise.
6498         * misc/mprotect.c: Likewise.
6499         * misc/msync.c: Likewise.
6500         * misc/munlock.c: Likewise.
6501         * misc/munlockall.c: Likewise.
6502         * misc/munmap.c: Likewise.
6503         * misc/preadv.c: Likewise.
6504         * misc/preadv64.c: Likewise.
6505         * misc/ptrace.c: Likewise.
6506         * misc/pwritev.c: Likewise.
6507         * misc/pwritev64.c: Likewise.
6508         * misc/readv.c: Likewise.
6509         * misc/reboot.c: Likewise.
6510         * misc/remap_file_pages.c: Likewise.
6511         * misc/removexattr.c: Likewise.
6512         * misc/revoke.c: Likewise.
6513         * misc/select.c: Likewise.
6514         * misc/setdomain.c: Likewise.
6515         * misc/setegid.c: Likewise.
6516         * misc/seteuid.c: Likewise.
6517         * misc/sethostid.c: Likewise.
6518         * misc/sethostname.c: Likewise.
6519         * misc/setregid.c: Likewise.
6520         * misc/setreuid.c: Likewise.
6521         * misc/setxattr.c: Likewise.
6522         * misc/sstk.c: Likewise.
6523         * misc/stty.c: Likewise.
6524         * misc/swapoff.c: Likewise.
6525         * misc/swapon.c: Likewise.
6526         * misc/sync.c: Likewise.
6527         * misc/syncfs.c: Likewise.
6528         * misc/syscall.c: Likewise.
6529         * misc/truncate.c: Likewise.
6530         * misc/ualarm.c: Likewise.
6531         * misc/usleep.c: Likewise.
6532         * misc/ustat.c: Likewise.
6533         * misc/utimes.c: Likewise.
6534         * misc/vhangup.c: Likewise.
6535         * misc/writev.c: Likewise.
6536         * posix/_exit.c: Likewise.
6537         * posix/alarm.c: Likewise.
6538         * posix/execve.c: Likewise.
6539         * posix/fexecve.c: Likewise.
6540         * posix/fork.c: Likewise.
6541         * posix/fpathconf.c: Likewise.
6542         * posix/getaddrinfo.c: Likewise.
6543         * posix/getegid.c: Likewise.
6544         * posix/geteuid.c: Likewise.
6545         * posix/getgid.c: Likewise.
6546         * posix/getgroups.c: Likewise.
6547         * posix/getlogin.c: Likewise.
6548         * posix/getlogin_r.c: Likewise.
6549         * posix/getpgid.c: Likewise.
6550         * posix/getpid.c: Likewise.
6551         * posix/getppid.c: Likewise.
6552         * posix/getresgid.c: Likewise.
6553         * posix/getresuid.c: Likewise.
6554         * posix/getsid.c: Likewise.
6555         * posix/getuid.c: Likewise.
6556         * posix/glob64.c: Likewise.
6557         * posix/nanosleep.c: Likewise.
6558         * posix/pathconf.c: Likewise.
6559         * posix/pause.c: Likewise.
6560         * posix/posix_madvise.c: Likewise.
6561         * posix/pread.c: Likewise.
6562         * posix/pread64.c: Likewise.
6563         * posix/pwrite.c: Likewise.
6564         * posix/pwrite64.c: Likewise.
6565         * posix/sched_getaffinity.c: Likewise.
6566         * posix/sched_getp.c: Likewise.
6567         * posix/sched_gets.c: Likewise.
6568         * posix/sched_primax.c: Likewise.
6569         * posix/sched_primin.c: Likewise.
6570         * posix/sched_rr_gi.c: Likewise.
6571         * posix/sched_setaffinity.c: Likewise.
6572         * posix/sched_setp.c: Likewise.
6573         * posix/sched_sets.c: Likewise.
6574         * posix/sched_yield.c: Likewise.
6575         * posix/setgid.c: Likewise.
6576         * posix/setlogin.c: Likewise.
6577         * posix/setpgid.c: Likewise.
6578         * posix/setresgid.c: Likewise.
6579         * posix/setresuid.c: Likewise.
6580         * posix/setsid.c: Likewise.
6581         * posix/setuid.c: Likewise.
6582         * posix/sleep.c: Likewise.
6583         * posix/spawni.c: Likewise.
6584         * posix/sysconf.c: Likewise.
6585         * posix/times.c: Likewise.
6586         * posix/wait.c: Likewise.
6587         * posix/wait3.c: Likewise.
6588         * posix/wait4.c: Likewise.
6589         * posix/waitpid.c: Likewise.
6590         * resolv/gai_sigqueue.c: Likewise.
6591         * resource/getpriority.c: Likewise.
6592         * resource/getrlimit.c: Likewise.
6593         * resource/getrusage.c: Likewise.
6594         * resource/nice.c: Likewise.
6595         * resource/setpriority.c: Likewise.
6596         * resource/setrlimit.c: Likewise.
6597         * resource/ulimit.c: Likewise.
6598         * rt/aio_cancel.c: Likewise.
6599         * rt/aio_fsync.c: Likewise.
6600         * rt/aio_read.c: Likewise.
6601         * rt/aio_sigqueue.c: Likewise.
6602         * rt/aio_suspend.c: Likewise.
6603         * rt/aio_write.c: Likewise.
6604         * rt/clock_getres.c: Likewise.
6605         * rt/clock_gettime.c: Likewise.
6606         * rt/clock_nanosleep.c: Likewise.
6607         * rt/clock_settime.c: Likewise.
6608         * rt/lio_listio.c: Likewise.
6609         * rt/mq_close.c: Likewise.
6610         * rt/mq_getattr.c: Likewise.
6611         * rt/mq_notify.c: Likewise.
6612         * rt/mq_open.c: Likewise.
6613         * rt/mq_receive.c: Likewise.
6614         * rt/mq_send.c: Likewise.
6615         * rt/mq_setattr.c: Likewise.
6616         * rt/mq_timedreceive.c: Likewise.
6617         * rt/mq_timedsend.c: Likewise.
6618         * rt/mq_unlink.c: Likewise.
6619         * rt/shm_open.c: Likewise.
6620         * rt/shm_unlink.c: Likewise.
6621         * rt/timer_create.c: Likewise.
6622         * rt/timer_delete.c: Likewise.
6623         * rt/timer_getoverr.c: Likewise.
6624         * rt/timer_gettime.c: Likewise.
6625         * rt/timer_settime.c: Likewise.
6626         * setjmp/__longjmp.c: Likewise.
6627         * setjmp/setjmp.c: Likewise.
6628         * signal/kill.c: Likewise.
6629         * signal/killpg.c: Likewise.
6630         * signal/raise.c: Likewise.
6631         * signal/sigaction.c: Likewise.
6632         * signal/sigaltstack.c: Likewise.
6633         * signal/sigblock.c: Likewise.
6634         * signal/sigignore.c: Likewise.
6635         * signal/sigintr.c: Likewise.
6636         * signal/signal.c: Likewise.
6637         * signal/sigpause.c: Likewise.
6638         * signal/sigpending.c: Likewise.
6639         * signal/sigqueue.c: Likewise.
6640         * signal/sigreturn.c: Likewise.
6641         * signal/sigset.c: Likewise.
6642         * signal/sigsetmask.c: Likewise.
6643         * signal/sigstack.c: Likewise.
6644         * signal/sigsuspend.c: Likewise.
6645         * signal/sigtimedwait.c: Likewise.
6646         * signal/sigvec.c: Likewise.
6647         * signal/sigwait.c: Likewise.
6648         * signal/sigwaitinfo.c: Likewise.
6649         * signal/sysv_signal.c: Likewise.
6650         * socket/accept.c: Likewise.
6651         * socket/accept4.c: Likewise.
6652         * socket/bind.c: Likewise.
6653         * socket/connect.c: Likewise.
6654         * socket/getpeername.c: Likewise.
6655         * socket/getsockname.c: Likewise.
6656         * socket/getsockopt.c: Likewise.
6657         * socket/isfdtype.c: Likewise.
6658         * socket/listen.c: Likewise.
6659         * socket/recv.c: Likewise.
6660         * socket/recvfrom.c: Likewise.
6661         * socket/recvmsg.c: Likewise.
6662         * socket/send.c: Likewise.
6663         * socket/sendmsg.c: Likewise.
6664         * socket/sendto.c: Likewise.
6665         * socket/setsockopt.c: Likewise.
6666         * socket/shutdown.c: Likewise.
6667         * socket/sockatmark.c: Likewise.
6668         * socket/socket.c: Likewise.
6669         * socket/socketpair.c: Likewise.
6670         * stdio-common/ctermid.c: Likewise.
6671         * stdio-common/cuserid.c: Likewise.
6672         * stdio-common/remove.c: Likewise.
6673         * stdio-common/rename.c: Likewise.
6674         * stdio-common/renameat.c: Likewise.
6675         * stdio-common/tempname.c: Likewise.
6676         * stdlib/getcontext.c: Likewise.
6677         * stdlib/makecontext.c: Likewise.
6678         * stdlib/setcontext.c: Likewise.
6679         * stdlib/swapcontext.c: Likewise.
6680         * stdlib/system.c: Likewise.
6681         * streams/fattach.c: Likewise.
6682         * streams/fdetach.c: Likewise.
6683         * streams/getmsg.c: Likewise.
6684         * streams/getpmsg.c: Likewise.
6685         * streams/putmsg.c: Likewise.
6686         * streams/putpmsg.c: Likewise.
6687         * sysdeps/unix/bsd/getpt.c: Likewise.
6688         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6689         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6690         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6692         Likewise.
6693         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6694         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6695         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6696         * sysvipc/msgctl.c: Likewise.
6697         * sysvipc/msgget.c: Likewise.
6698         * sysvipc/msgrcv.c: Likewise.
6699         * sysvipc/msgsnd.c: Likewise.
6700         * sysvipc/semctl.c: Likewise.
6701         * sysvipc/semget.c: Likewise.
6702         * sysvipc/semop.c: Likewise.
6703         * sysvipc/semtimedop.c: Likewise.
6704         * sysvipc/shmat.c: Likewise.
6705         * sysvipc/shmctl.c: Likewise.
6706         * sysvipc/shmdt.c: Likewise.
6707         * sysvipc/shmget.c: Likewise.
6708         * termios/tcdrain.c: Likewise.
6709         * termios/tcflow.c: Likewise.
6710         * termios/tcflush.c: Likewise.
6711         * termios/tcgetattr.c: Likewise.
6712         * termios/tcgetpgrp.c: Likewise.
6713         * termios/tcsendbrk.c: Likewise.
6714         * termios/tcsetattr.c: Likewise.
6715         * termios/tcsetpgrp.c: Likewise.
6716         * time/adjtime.c: Likewise.
6717         * time/clock.c: Likewise.
6718         * time/getitimer.c: Likewise.
6719         * time/gettimeofday.c: Likewise.
6720         * time/setitimer.c: Likewise.
6721         * time/settimeofday.c: Likewise.
6722         * time/stime.c: Likewise.
6723         * time/time.c: Likewise.
6725 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6727         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6728         /usr/old/bin.
6730         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6731         instead of spaces.
6732         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6734 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6736         [BZ #14796]
6737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6738         FE_TONEAREST before applying Dekker multiplication and Knuth
6739         addition.  Clear inexact exceptions and check for exact zero
6740         results afterwards.
6741         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6742         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6744         * math/libm-test.inc (fma_test): Add more tests.
6745         (fma_test_towardzero): Likewise.
6746         (fma_test_downward): Likewise.
6747         (fma_test_upward): Likewise.
6748         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6749         function.
6750         (libc_fesetround): New macro.
6751         (libc_fesetroundf): Likewise.
6752         (libc_fesetroundl): Likewise.
6753         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6754         function.
6755         (libc_fesetround_387): Likewise.
6756         (libc_fesetroundf): New macro.
6757         (libc_fesetround): Likewise.
6758         (libc_fesetroundl): Likewise.
6759         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6760         function.
6761         (libc_fesetroundf): New macro.
6762         (libc_fesetround): Likewise.
6763         (libc_fesetroundl): Likewise.
6764         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6765         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6766         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6767         libm_hidden_ver.
6768         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6769         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6770         libm_hidden_def.
6771         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6772         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6773         libm_hidden_ver.
6774         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6775         libm_hidden_def.
6777         [BZ #3439]
6778         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6779         integer constant usable in #if and use that to give value to enum
6780         constant.
6781         (FE_DIVBYZERO): Likewise.
6782         (FE_UNDERFLOW): Likewise.
6783         (FE_OVERFLOW): Likewise.
6784         (FE_INVALID): Likewise.
6785         (FE_INVALID_SNAN): Likewise.
6786         (FE_INVALID_ISI): Likewise.
6787         (FE_INVALID_IDI): Likewise.
6788         (FE_INVALID_ZDZ): Likewise.
6789         (FE_INVALID_IMZ): Likewise.
6790         (FE_INVALID_COMPARE): Likewise.
6791         (FE_INVALID_SOFTWARE): Likewise.
6792         (FE_INVALID_SQRT): Likewise.
6793         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6794         (FE_TONEAREST): Likewise.
6795         (FE_TOWARDZERO): Likewise.
6796         (FE_UPWARD): Likewise.
6797         (FE_DOWNWARD): Likewise.
6798         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6799         (FE_DIVBYZERO): Likewise.
6800         (FE_OVERFLOW): Likewise.
6801         (FE_UNDERFLOW): Likewise.
6802         (FE_INEXACT): Likewise.
6803         (FE_TONEAREST): Likewise.
6804         (FE_DOWNWARD): Likewise.
6805         (FE_UPWARD): Likewise.
6806         (FE_TOWARDZERO): Likewise.
6807         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6808         (FE_UNDERFLOW): Likewise.
6809         (FE_OVERFLOW): Likewise.
6810         (FE_DIVBYZERO): Likewise.
6811         (FE_INVALID): Likewise.
6812         (FE_TONEAREST): Likewise.
6813         (FE_TOWARDZERO): Likewise.
6814         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6815         (FE_OVERFLOW): Likewise.
6816         (FE_UNDERFLOW): Likewise.
6817         (FE_DIVBYZERO): Likewise.
6818         (FE_INEXACT): Likewise.
6819         (FE_TONEAREST): Likewise.
6820         (FE_TOWARDZERO): Likewise.
6821         (FE_UPWARD): Likewise.
6822         (FE_DOWNWARD): Likewise.
6823         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6824         (FE_DIVBYZERO): Likewise.
6825         (FE_OVERFLOW): Likewise.
6826         (FE_UNDERFLOW): Likewise.
6827         (FE_INEXACT): Likewise.
6828         (FE_TONEAREST): Likewise.
6829         (FE_DOWNWARD): Likewise.
6830         (FE_UPWARD): Likewise.
6831         (FE_TOWARDZERO): Likewise.
6833 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6835         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6837 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6839         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6840         commands.  Quote $PWD.
6841         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6842         -x" by "export".
6843         (remove_newlines): Remove.
6845 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6847         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6848         * stdlib/stdlib.h (atof): Moved to ...
6849         * include/bits/stdlib-float.h: Here.  New file.
6850         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6851         * stdlib/bits/stdlib-float.h: New file.
6852         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6853         -mno-sse -mno-mmx.
6854         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6855         <xmmintrin.h>.
6857 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6859         * conform/conformtest.pl (@headers): Add fenv.h.
6860         * conform/data/fenv.h-data: New file.
6861         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6862         include of <math/fenv.h>.
6864         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6865         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6866         && !UNIX98].  Enables tests for XOPEN2K8.
6867         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6868         POSIX2008]: Likewise.
6870         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6871         (struct rusage): Do not expect type or its members.
6873         [BZ #3439]
6874         * math/math.h (FP_NAN): Define macro to integer constant usable in
6875         #if and use that to give value to enum constant.
6876         (FP_INFINITE): Likewise.
6877         (FP_ZERO): Likewise.
6878         (FP_SUBNORMAL): Likewise.
6879         (FP_NORMAL): Likewise.
6881 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6883         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6884         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6885         arguments.
6887 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6889         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6890         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6891         autoconf-time if not.
6892         * configure.in: Remove AC_PREREQ.
6894 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6896         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6897         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6898         of the internal implementation.
6900 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6902         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6903         except include of <misc/sys/syslog.h>.
6905 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6908         function returns with a NULL context exit with zero.
6910 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6912         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6914 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6916         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6917         (run_program_cmd): This.
6918         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6919         (tst_langinfo): New variable.  Use it.
6921 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6923         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6924         floating point opcodes.
6926 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6928         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6929         variable.
6931         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6933         * sysdeps/mach/hurd/powerpc: Remove directory.
6934         * sysdeps/mach/powerpc: Likewise.
6936 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6938         * scripts/check-local-headers.sh: Ignore c++ headers.
6940 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6942         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6943         __libc_cleanup_region_start argument.
6945 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6947         [BZ #14784]
6948         [BZ #14785]
6949         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6950         x * y using scaling, not as x * y + z.
6951         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6952         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6953         * math/libm-test.inc (fma_test): Add more tests.
6954         (fma_test_towardzero): Likewise.
6955         (fma_test_downward): Likewise.
6956         (fma_test_upward): Likewise.
6958 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6960         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6962 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6964         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6965         New variable.
6967 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6969         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6971 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6974         Fix sort order.
6975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6976         Likewise.
6978 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6981         Fix the order of the list for glibc 2.17.
6982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6983         Likewise.
6985 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6989 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6991         [BZ #14610]
6992         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6993         for low part of x being zero before using __atanl (y).
6994         * math/libm-test.inc (atan2_test): Add another test.
6996         * manual/install.texi (Configuring and compiling): Document
6997         general use of test-wrapper and test-wrapper-env.
6998         * INSTALL: Regenerated.
7000         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7001         (__fma): Do not extract and scale down low bits on after-rounding
7002         systems when result rounded to normal precision would have normal
7003         exponent.
7004         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7005         (__fmal): Do not extract and scale down low bits on after-rounding
7006         systems when result rounded to normal precision would have normal
7007         exponent.
7008         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7009         (__fmal): Do not extract and scale down low bits on after-rounding
7010         systems when result rounded to normal precision would have normal
7011         exponent.
7012         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7013         macro.
7014         (fma_test): Add more tests.
7015         (fma_test_towardzero): Likewise.
7016         (fma_test_downward): Likewise.
7017         (fma_test_upward): Likewise.
7019 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
7021         * sysdeps/i386/tininess.h: Renamed to ...
7022         * sysdeps/x86/tininess.h: This.
7023         * sysdeps/x86_64/tininess.h: Removed.
7025 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7027         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7028         input.  Use $(build-program-cmd).
7029         ($(objpfx)tst-array1-static.out): Likewise.
7030         ($(objpfx)tst-array2.out): Likewise.
7031         ($(objpfx)tst-array3.out): Likewise.
7032         ($(objpfx)tst-array4.out): Likewise.
7033         ($(objpfx)tst-array5.out): Likewise.
7034         ($(objpfx)tst-array5-static.out): Likewise.
7036 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
7038         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7039         if defined.
7041         * nss/nsswitch.h (nss_interface_function): Provide new
7042         macro for use with NSS functions.
7043         * grp/initgroups.c: Use new macro.
7044         * nss/getXXbyYY.c: Likewise.
7045         * nss/getXXbyYY_r.c: Likewise.
7046         * nss/getXXent.c: Likewise.
7047         * nss/getXXent_r.c: Likewise.
7048         * sysdeps/posix/getaddrinfo.c: Likewise.
7050 2012-10-30  Andreas Jaeger  <aj@suse.de>
7052         * po/ru.po: Update Russion translation from translation project.
7054 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7056         [BZ #14152]
7057         [BZ #14783]
7058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7059         result and shift together with sticky bit instead of replicating
7060         round-to-nearest rounding.
7061         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7062         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7063         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7064         missing underflow exceptions.
7065         (fma_test_towardzero): Add more tests.
7066         (fma_test_downward): Likewise.
7067         (fma_test_upward): Likewise.
7069         [BZ #14047]
7070         * sysdeps/generic/tininess.h: New file.
7071         * sysdeps/i386/tininess.h: Likewise.
7072         * sysdeps/sh/tininess.h: Likewise.
7073         * sysdeps/x86_64/tininess.h: Likewise.
7074         * stdlib/tst-strtod-underflow.c: Likewise.
7075         * stdlib/tst-tininess.c: Likewise.
7076         * stdlib/strtod_l.c: Include <tininess.h>.
7077         (round_and_return): Do not set errno for exact underflow cases.
7078         Force an underflow exception when setting errno for underflow.
7079         Determine underflow based on rounding to normal precision if
7080         TININESS_AFTER_ROUNDING.
7081         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7082         ERANGE for exact underflow cases.
7083         * stdlib/Makefile (tests): Add tst-tininess and
7084         tst-strtod-underflow.
7085         ($(objpfx)tst-tininess): Use $(link-libm).
7086         ($(objpfx)tst-strtod-underflow): Likewise.
7088 2012-10-30  Andreas Jaeger  <aj@suse.de>
7090         [BZ#14767]
7091         * elf/Makefile (tests): Remove conditional for have-initfini-array
7092         since this is now always required and the variable does not exist
7093         anymore.
7094         (tests-static): Likewise.
7095         (modules-names): Likewise.
7097         * po/eo.po: Add Esperanto translation from translation project.
7099         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7100         merged with constructor/destructor.
7101         (init_array): Likewise.
7102         * elf/tst-array2dep.c (fini_array): Likewise.
7103         (init_array): Likewise.
7105 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7107         * manual/message.texi: Delete @cartouche tags.
7109 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7111         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7112         EOPNOTSUPP.
7113         * sysdeps/mach/hurd/fsync.c: Likewise.
7115         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7116         [_POSIX_REALTIME_SIGNALS]: Change condition to
7117         [_POSIX_REALTIME_SIGNALS > 0].
7119 2012-10-27  Andreas Jaeger  <aj@suse.de>
7121         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7122         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7123         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7124         [__WORDSIZE != 64]: Likewise.
7126 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7128         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7129         *  iconvdata/tst-tables.sh: Likewise.
7131 2012-10-25  David S. Miller  <davem@davemloft.net>
7133         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7134         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7135         of strtoull.
7137         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7138         ifunc-impl-list.c
7139         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7140         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7141         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7142         file.
7144 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7146         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7147         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7148         __getdirentries.
7150 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7151             Jim Blandy  <jimb@codesourcery.com>
7153         * scripts/cross-test-ssh.sh: New file.
7154         * manual/install.texi (Configuring and compiling): Document use of
7155         cross-test-ssh.sh.
7156         * INSTALL: Regenerated.
7158 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7160         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7161         EOPNOTSUPP.
7163 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7165         * Makeconfig (run-program-prefix): Fix comment.
7167 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7168             Jim Blandy  <jimb@codesourcery.com>
7170         * Makeconfig (test-wrapper): New variable,
7171         (test-wrapper-env): Likewise.
7172         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7173         (run-built-tests): Define to yes.
7174         (run-program-prefix): Use $(test-wrapper).
7175         (built-program-cmd): Likewise.
7176         * Rules (make-test-out): Use $(test-wrapper-env) and
7177         $(host-built-program-cmd).
7178         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7179         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7180         tst-pathopt.sh.
7181         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7182         $(test-wrapper-env) to tst-rtld-load-self.sh.
7183         ($(objpfx)order2.out): Use $(test-wrapper).
7184         ($(objpfx)tst-initorder.out): Likewise.
7185         ($(objpfx)tst-initorder2.out): Likewise.
7186         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7187         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7188         (test_wrapper_env): New variable.  Use it to run ld.so.
7189         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7190         Use it to run ld.so.
7191         (test_wrapper_env): Likewise.
7192         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7193         $(test-wrapper) to run-iconv-test.sh.
7194         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7195         (ICONV): Use $test_wrapper.
7196         * posix/Makefile ($(objpfx)globtest.out): Pass
7197         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7198         globtest.sh, not $(run-program-prefix).
7199         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7200         (test_wrapper): Likewise.
7201         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7202         set together with run_via_rtld_prefix.
7203         (run_program_prefix): Define in terms of test_wrapper and
7204         run_via_rtld_prefix.
7206 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7208         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7209         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7210         Targets removed.
7212         [BZ #14743]
7213         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7214         Declare __clock_getres, __clock_gettime, __clock_settime,
7215         __clock_nanosleep, and __clock_getcpuclockid.
7216         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7217         Remove librt_hidden_def (clock_gettime).
7218         * sysdeps/unix/clock_gettime.c: Likewise.
7219         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7220         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7221         * rt/clock_getres.c: Define __clock_getres as an alias.
7222         * sysdeps/posix/clock_getres.c: Likewise.
7223         * rt/clock_settime.c: Define __clock_settime as an alias.
7224         * sysdeps/unix/clock_settime.c: Likewise.
7225         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7226         * sysdeps/unix/clock_nanosleep.c: Likewise.
7227         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7228         * rt/clock-compat.c: New file.
7229         * rt/Makefile (librt-routines): Add clock-compat and move
7230         $(clock-routines) to ...
7231         (routines): ... here, new variable.
7232         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7233         Don't add get_clockfreq here.
7234         * rt/Versions (libc: GLIBC_2.17): New version set.
7235         Add clock_* symbols here.
7236         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7237         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7238         (GLIBC_2.17): Add clock_* symbols.
7239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7241         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7243         Likewise.
7244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7245         Likewise.
7246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7250         * NEWS: Mention the move.
7252         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7253         Use __open, __read, __close rather than their public counterparts.
7254         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7255         (__get_clockfreq_via_cpuinfo): Likewise.
7256         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7257         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7259         * config.h.in (HAVE_IFUNC): New #undef.
7260         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7261         was successful.
7262         * configure: Regenerated.
7264 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7266         * configure.in: Move READELF check to start of file.
7267         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7268         libc_cv_asm_gnu_indirect_function in the process.
7269         * configure: Regenerated.
7271 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7273         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7274         send the output to /dev/null.
7275         (libc_cv_cc_with_libunwind): Likewise.
7276         (libc_cv_as_noexecstack): Likewise.
7277         * configure: Regenerate.
7279 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7281         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7283         * posix/globtest.sh (TMPDIR): Do not set.
7284         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7285         (testout): Likewise.
7287 2012-10-24  Andreas Jaeger  <aj@suse.de>
7289         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7290         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7291         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7292         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7293         posix_fadvise64, posix_fallocate64.
7295         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7296         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7297         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7298         Likewise.
7299         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7300         Likewise.
7301         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7303         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7304         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7305         <bits/fcntl-linux.h>.
7306         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7308         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7309         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7310         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7311         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7312         [__WORDSIZE != 64]: Likewise.
7314 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7316         * Makeconfig (run-built-tests): New variable.
7317         * Rules [$(cross-compiling) = yes]: Change condition to
7318         [$(run-built-tests) = no].
7319         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7320         to [$(run-built-tests) = yes].
7321         * elf/Makefile [$(cross-compiling) = no]: Likewise
7322         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7323         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7324         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7325         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7326         * io/Makefile [$(cross-compiling) = no]: Likewise.
7327         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7328         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7329         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7330         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7331         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7332         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7333         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7334         * string/Makefile [$(cross-compiling) = no]: Likewise.
7336         * posix/Makefile ($(objpfx)globtest.out): Pass
7337         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7338         $(rtld-installed-name).
7339         * posix/globtest.sh (elf_objpfx): Remove variable.
7340         (rtld_installed_name): Likewise.
7341         (library_path): Likewise.
7342         (run_program_prefix): New variable.  Use for running globtest
7343         binary.
7345 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7346             Joseph Myers  <joseph@codesourcery.com>
7348         * Makeconfig (host-built-program-cmd): New variable.
7349         * elf/Makefile (tst-stackguard1-ARGS): Use
7350         $(host-built-program-cmd).
7351         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7352         (tst-spawn-ARGS): Likewise.
7353         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7355 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7356             Jim Blandy  <jimb@codesourcery.com>
7358         * Makeconfig (run-via-rtld-prefix): New variable.
7359         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7360         (built-program-cmd): Likewise.
7362 2012-10-22  Andreas Jaeger  <aj@suse.de>
7364         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7365         __O_RSYNC if it exists, otherwise to O_SYNC.
7367 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7368             Joseph Myers  <joseph@codesourcery.com>
7370         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7371         /dev/null.
7372         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7373         from /dev/null
7374         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7375         /dev/null.
7377 2012-10-22  Andreas Jaeger  <aj@suse.de>
7379         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7380         Define always.
7381         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7383         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7384         bits/fcntl-linux.h.
7386         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7387         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7389         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7390         to __O_LARGEFILE.
7391         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7392         to __O_LARGEFILE.
7394 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7395             Joseph Myers  <joseph@codesourcery.com>
7397         * config.make.in (NM): New variable.
7399 2012-10-21  Andreas Jaeger  <aj@suse.de>
7401         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7402         definitions and declarations that are provided by
7403         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7405 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7407         [BZ #14683]
7408         * elf/Makefile (tests-static): Add tst-leaks1-static.
7409         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7410         ($(objpfx)tst-leaks1-static): New rule.
7411         ($(objpfx)tst-leaks1-static-mem): Likewise.
7412         (tst-leaks1-static-ENV): New macro.
7413         * elf/dl-open.c (dl_open_worker): Check the main application
7414         only if SHARED is defined.
7415         * elf/tst-leaks1-static.c: New file.
7417 2012-10-20  Andreas Jaeger  <aj@suse.de>
7419         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7420         generic values for Linux.
7421         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7422         and declarations that are provided by <bits/fcntl-linux.h> and
7423         include <bits/fcntl-linux.h>.
7424         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7425         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7427 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7429         * io/fcntl.h: Move include of <bits/types.h> to the top and
7430         include it unconditionally.
7432 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7434         * wcsmbs/Makefile (tests-ifunc): New variable.
7435         (tests): Add $(tests-ifunc).
7436         * wcsmbs/test-wcschr-ifunc.c: New file.
7437         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7438         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7439         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7440         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7441         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7443         * string/Makefile (tests-ifunc): New variable.
7444         (tests): Add $(tests-ifunc).
7445         * string/test-memccpy.c (TEST_NAME): New macro.
7446         * string/test-memchr.c (TEST_NAME): Likewise.
7447         * string/test-memcmp.c (TEST_NAME): Likewise.
7448         * string/test-memcpy.c (TEST_NAME): Likewise.
7449         * string/test-memmem.c (TEST_NAME): Likewise.
7450         * string/test-memmove.c (TEST_NAME): Likewise.
7451         * string/test-memset.c (TEST_NAME): Likewise.
7452         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7453         * string/test-stpcpy.c (TEST_NAME): Likewise.
7454         * string/test-stpncpy.c (TEST_NAME): Likewise.
7455         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7456         * string/test-strcasestr.c (TEST_NAME): Likewise.
7457         * string/test-strcat.c (TEST_NAME): Likewise.
7458         * string/test-strchr.c (TEST_NAME): Likewise.
7459         * string/test-strcmp.c(TEST_NAME): Likewise.
7460         * string/test-strcpy.c (TEST_NAME): Likewise.
7461         * string/test-strcspn.c (TEST_NAME): Likewise.
7462         * string/test-strlen.c (TEST_NAME): Likewise.
7463         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7464         * string/test-strncmp.c (TEST_NAME): Likewise.
7465         * string/test-strncpy.c (TEST_NAME): Likewise.
7466         * string/test-strnlen.c (TEST_NAME): Likewise.
7467         * string/test-strpbrk.c (TEST_NAME): Likewise.
7468         * string/test-strrchr.c (TEST_NAME): Likewise.
7469         * string/test-strspn.c (TEST_NAME): Likewise.
7470         * string/test-strstr.c (TEST_NAME): Likewise.
7471         * string/test-bcopy-ifunc.c: New file.
7472         * string/test-bzero-ifunc.c: Likewise.
7473         * string/test-memccpy-ifunc.c: Likewise.
7474         * string/test-memchr-ifunc.c: Likewise.
7475         * string/test-memcmp-ifunc.c: Likewise.
7476         * string/test-memcpy-ifunc.c: Likewise.
7477         * string/test-memmem-ifunc.c: Likewise.
7478         * string/test-memmove-ifunc.c: Likewise.
7479         * string/test-mempcpy-ifunc.c: Likewise.
7480         * string/test-memset-ifunc.c: Likewise.
7481         * string/test-rawmemchr-ifunc.c: Likewise.
7482         * string/test-stpcpy-ifunc.c: Likewise.
7483         * string/test-stpncpy-ifunc.c: Likewise.
7484         * string/test-strcasecmp-ifunc.c: Likewise.
7485         * string/test-strcasestr-ifunc.c: Likewise.
7486         * string/test-strcat-ifunc.c: Likewise.
7487         * string/test-strchr-ifunc.c: Likewise.
7488         * string/test-strchrnul-ifunc.c: Likewise.
7489         * string/test-strcmp-ifunc.c: Likewise.
7490         * string/test-strcpy-ifunc.c: Likewise.
7491         * string/test-strcspn-ifunc.c: Likewise.
7492         * string/test-strlen-ifunc.c: Likewise.
7493         * string/test-strncasecmp-ifunc.c: Likewise.
7494         * string/test-strncat-ifunc.c: Likewise.
7495         * string/test-strncmp-ifunc.c: Likewise.
7496         * string/test-strncpy-ifunc.c: Likewise.
7497         * string/test-strnlen-ifunc.c: Likewise.
7498         * string/test-strpbrk-ifunc.c: Likewise.
7499         * string/test-strrchr-ifunc.c: Likewise.
7500         * string/test-strspn-ifunc.c: Likewise.
7501         * string/test-strstr-ifunc.c: Likewise.
7503         * debug/Makefile (tests-ifunc): New variable.
7504         (tests): Add $(tests-ifunc).
7505         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7506         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7507         * debug/test-stpcpy_chk-ifunc.c: New file.
7508         * debug/test-strcpy_chk-ifunc.c: Likewise.
7510 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7512         [BZ #13601]
7513         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7514         header is not read in.
7516 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7518         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7519         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7520         directly.  Pass built executable to script as
7521         $(built-program-cmd).
7522         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7523         $testprogram without using LD_LIBRARY_PATH and $ldso.
7525         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7526         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7527         $(rtld-installed-name).
7528         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7529         (rtld_installed_name): Likewise.
7530         (library_path): Likewise.
7531         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7532         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7533         $(run-program-prefix) to tst-tables.sh.
7534         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7535         it to run tst-table-from and tst-table-to.
7536         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7537         Pass it to tst-table.sh.
7538         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7539         $(run-program-prefix) to tst-gettext.sh.
7540         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7541         tst-translit.sh.
7542         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7543         tst-gettext2.sh.
7544         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7545         to run tst-gettext.
7546         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7547         to run tst-gettext2.
7548         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7549         to run tst-translit.
7550         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7551         $(run-program-prefix) to tst-mtrace.sh.
7552         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7553         to run tst-mtrace.
7554         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7555         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7556         $(rtld-installed-name).
7557         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7558         (rtld_installed_name): Likewise.
7559         (run_program_prefix): New variable.  Use it to run wordexp-test.
7561         * Makeconfig (ARCH): Remove all definitions.
7562         (machine): Likewise.
7563         [ARCH]: Remove conditional code.
7564         [!objdir]: Give error.
7565         [!objdir] (objpfx): Remove.
7566         [!objdir] (common-objpfx): Likewise.
7567         [!objdir] (common-objdir): Likewise.
7568         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7569         AC_CONFIG_FILES call.
7570         * configure: Regenerated.
7572         [BZ #13888]
7573         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7574         or TMPDIR.
7575         (testout): Likewise.
7577         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7578         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7579         $(rtld-installed-name).
7580         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7581         (rtld_installed_name): Likwise.
7582         (runit): Remove function.
7583         (run_getconf): New variable,  Use it for running getconf binary.
7585 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7587         [BZ #14716]
7588         * string/test-memmem.c (check_result): New function.
7589         (do_one_test): Use it.
7590         (check1): New function.
7591         (test_main): Use it.
7593 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7595         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7597 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7599         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7600         (_G_LSEEK64): Likewise.
7601         (_G_MMAP64): Likewise.
7602         (_G_FSTAT64): Likewise.
7603         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7604         (_G_LSEEK64): Likewise.
7605         (_G_MMAP64): Likewise.
7606         (_G_FSTAT64): Likewise.
7607         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7608         unconditional.  Call __mmap64 directly.
7609         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7610         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7611         __lseek64 directly.
7612         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7613         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7614         __mmap64 directly.
7615         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7616         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7617         __lseek64 directly.
7618         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7619         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7620         __lseek64 directly.
7621         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7622         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7623         __lseek64 directly.
7624         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7625         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7626         __fxstat64 directly.
7627         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7628         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7629         unconditional.
7630         (freopen64) [!_G_OPEN64]: Remove conditional code.
7631         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7632         unconditional.
7633         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7634         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7635         unconditional.
7636         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7637         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7638         unconditional.
7639         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7640         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7641         unconditional.
7642         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7643         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7644         unconditional.
7645         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7646         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7647         unconditional.
7648         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7649         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7650         unconditional.
7651         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7653 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7655         [BZ #12140]
7656         * manual/memory.texi (Malloc Tunable Parameters): Add note
7657         about free list pointers overwriting some perturb bytes.
7658         Wording suggested by Roland McGrath.
7660 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7662         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7663         (lgamma_test): Likewise.
7664         (tgamma_test): Likewise.
7666 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7668         [BZ #14700]
7669         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7670         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7672 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7674         * NEWS: Mention BZ #14716.
7675         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7676         when removing AVAILABLE1_USES_J macro.
7678 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7680         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7681         (__bswap_64): __uint64_t for unsigned 64-bit int.
7683 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7685         * include/string.h (memmem): Declare libc hidden alias.
7686         * string/memmem.c (memmem): Define libc hidden alias.
7687         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7688         __read, __close instead of open, read, close.
7690 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7692         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7693         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7694         global and hidden.
7695         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7696         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7697         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7698         Likewise.
7699         (__rawmemchr_sse2): Likewise.
7700         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7701         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7702         (__strchr_sse2): Likewise.
7703         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7704         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7705         (__strcasecmp_sse2): Likewise.
7706         (__strncasecmp_sse2): Likewise.
7707         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7708         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7709         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7710         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7711         (__strrchr_sse2): Likewise.
7712         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7713         ifunc-impl-list.c.
7714         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7715         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7716         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7717         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7718         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7719         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7720         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7721         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7722         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7723         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7724         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7725         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7726         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7727         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7728         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7729         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7730         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7731         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7732         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7733         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7734         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7735         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7736         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7737         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7738         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7739         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7740         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7741         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7742         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7743         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7745         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7746         global and hidden.
7747         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7748         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7749         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7750         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7751         Likewise.
7752         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7753         Likewise.
7754         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7755         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7756         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7757         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7758         ifunc-impl-list.c.
7759         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7760         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7761         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7762         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7763         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7764         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7765         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7766         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7767         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7768         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7769         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7770         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7771         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7772         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7773         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7774         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7775         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7776         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7777         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7778         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7779         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7780         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7781         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7782         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7783         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7784         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7785         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7786         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7787         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7788         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7789         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7790         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7791         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7792         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7793         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7794         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7795         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7796         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7797         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7798         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7799         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7801         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7802         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7803         * include/ifunc-impl-list.h: New file.
7804         * misc/ifunc-impl-list.c: Likewise.
7805         * misc/Makefile (routines): Add ifunc-impl-list.
7806         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7807         * string/test-string.h: Include <ifunc-impl-list.h>.
7808         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7809         impl_array): New variables.
7810         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7811         are defined.
7812         (test_init): Call __libc_ifunc_impl_list to initialize
7813         func_list if TEST_IFUNC and TEST_NAME are defined.
7815         * string/Makefile (strop-tests): Add bcopy and bzero.
7816         * string/test-bcopy.c: New file.
7817         * string/test-bzero.c: Likewise.
7818         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7819         defined.
7820         * string/test-memset.c: Support bzero test if TEST_BZERO is
7821         defined.
7822         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7823         __libc_memmove.
7824         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7825         __libc_memset.
7826         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7827         of memset.
7829 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7831         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7832         * configure: Regenerated.
7834         * Makeconfig (+link-static-before-libc): Don't include
7835         $(link-static-libc).
7837         * libio/libio.h (_IO_pos_t): Remove.
7839 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7841         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7842         McGrath.
7844 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7846         * crypt/crypt-entry.c: Include fips-private.h.
7847         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7848         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7849         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7850         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7852 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7854         * crypt/crypt-private.h: Include stdbool.h.
7855         (_ufc_setup_salt_r): Return bool.
7856         * crypt/crypt-entry.c: Include errno.h.
7857         (__crypt_r): Return NULL with EINVAL for bad salt.
7858         * crypt/crypt_util.c (bad_for_salt): New.
7859         (_ufc_setup_salt_r): Check that salt is long enough and within
7860         the specified alphabet.
7861         * crypt/badsalttest.c: New file.
7862         * crypt/Makefile (tests): Add it.
7863         ($(objpfx)badsalttest): New.
7865 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7867         * NEWS: Add entry for BZ #14602.
7869 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7871         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7872         type-generic.
7873         * math/libm-test.inc: Update comment listing what functions and
7874         macros are tested.
7875         (isgreater_test): New function.
7876         (isgreaterequal_test): Likewise.
7877         (isless_test): Likewise.
7878         (islessequal_test): Likewise.
7879         (islessgreater_test): Likewise.
7880         (isunordered_test): Likewise.
7881         (main): Call the new functions.
7883 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7885         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7886         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7887         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7888         * sysdeps/i386/configure: Regenerated.
7889         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7890         * sysdeps/mach/configure: Regenerated.
7891         * sysdeps/mach/hurd/configure: Regenerated.
7892         * sysdeps/powerpc/configure: Regenerated.
7893         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7894         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7895         * sysdeps/s390/s390-32/configure: Regenerated.
7896         * sysdeps/s390/s390-64/configure: Regenerated.
7897         * sysdeps/sh/configure: Regenerated.
7898         * sysdeps/sparc/configure: Regenerated.
7899         * sysdeps/unix/sysv/linux/configure: Regenerated.
7900         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7901         * sysdeps/x86_64/configure: Regenerated.
7903         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7904         defined.  Don't check if MAP is NULL.
7906 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7908         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7909         (_G_stat64): Likewise.
7910         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7911         (_G_stat64): Likewise.
7912         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7913         instead of struct _G_stat64.
7914         * libio/fileops.c (mmap_remap_check): Likewise.
7915         (decide_maybe_mmap): Likewise.
7916         (_IO_new_file_seekoff): Likewise.
7917         (_IO_file_stat): Likewise.
7918         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7919         _G_off64_t.
7920         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7921         instead of struct _G_stat64.
7922         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7924 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7926         [BZ #14602]
7927         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7928         Replace with ...
7929         (CHECK_EOL): New macro.
7930         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7931         CHECK_EOL.
7932         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7933         Replace with CHECK_EOL.
7934         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7935         Replace with CHECK_EOL.
7937 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7939         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7940         type-generic.
7941         * math/libm-test.inc: Update comment listing what functions and
7942         macros are tested.
7943         (finite_test): New function.
7944         (isinf_test): Likewise.
7945         (isnan_test): Likewise.
7946         (fpclassify_test): Test subnormal input.
7947         (isfinite_test): Likewise.
7948         (isnormal_test): Likewise.
7949         (main): Call the new functions.
7951 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7953         [BZ #14660]
7954         * Makerules (%.dynsym): Force C locale when running
7955         $(OBJDUMP) --dynamic-syms.
7957 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7959         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7960         <stdint.h>.
7962 2012-10-06  David S. Miller  <davem@davemloft.net>
7964         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7965         upper 32-bits of the length value in %o2 since we use branch-on-register
7966         tests which consider the entire 64-bit register.
7968 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7970         * string/test-strstr.c (check2): Add a test for page boundary.
7972 2012-10-05  David S. Miller  <davem@davemloft.net>
7974         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7975         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7976         file.
7977         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7978         sysdep_routines.
7979         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7980         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7981         and bzero when HWCAP_SPARC_CRYPTO is present.
7983 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7985         [BZ #14602]
7986         * string/test-strstr.c (check2): New function.
7987         (test_main): Call check2.
7989         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7990         and bug-strchr1.
7991         * string/bug-strcasestr1.c (do_test): Moved to ...
7992         * string/test-strcasestr.c (check1): Here.  New function.
7993         (do_one_test): Break out result checking code into ...
7994         (check_result): This.  New function.
7995         (do_one_test): Call check_result.
7996         (test_main): Call check1.
7997         * string/bug-strchr1.c (do_test): Moved to ...
7998         * string/test-strchr.c (check1): Here.  New function.
7999         (do_one_test): Break out result checking code into ...
8000         (check_result): This.  New function.
8001         (do_one_test): Call check_result.
8002         (test_main): Call check1.
8003         * string/bug-strstr1.c (main): Moved to ...
8004         * string/test-strstr.c (check1): Here.  New function.
8005         (do_one_test): Break out result checking code into ...
8006         (check_result): This.  New function.
8007         (do_one_test): Call check_result.
8008         (test_main): Call check1.
8009         * string/bug-strcasestr1.c: Removed.
8010         * string/bug-strchr1.c: Likewise.
8011         * string/bug-strstr1.c: Likewise.
8013         * elf/Makefile (dl-routines): Add hwcaps.
8014         * elf/dl-support.c (_dl_important_hwcaps): Removed.
8015         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8016         (_dl_important_hwcaps): Moved to ...
8017         * elf/dl-hwcaps.c: Here.  New file.
8018         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8020         [BZ #14557]
8021         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8022         if IS_IN_rtld isn't defined.
8024         * elf/dl-support.c (_dl_sysinfo_map): New.
8025         Include "get-dynamic-info.h" and "setup-vdso.h".
8026         (_dl_non_dynamic_init): Call setup_vdso.
8027         * elf/dynamic-link.h: Don't include <assert.h>.
8028         (elf_get_dynamic_info): Moved to ...
8029         * elf/get-dynamic-info.h: Here.  New file.
8030         * elf/dynamic-link.h: Include "get-dynamic-info.h".
8031         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8032         * elf/setup-vdso.h: Here.  New file.
8033         * elf/rtld.c: Include "setup-vdso.h".
8034         (dl_main): Call setup_vdso.
8036 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
8038         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8039         creal in comment listing functions tested.  List finite, isinf,
8040         isnan, isless, islessequal, isgreater, isgreaterequal,
8041         islessgreater, isunordered, lgamma_r and pow10 as functions and
8042         macros not tested.  Mention which functions not tested are aliases
8043         for other functions.  Fix typo.  Note that signs of NaNs are not
8044         tested.
8046         * scripts/config.guess: Update from config.git.
8047         * scripts/config.sub: Likewise.
8049 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8051         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8052         * misc/madvise.c (madvise): Renamed to __madvise.
8053         Make madvise a weak alias.
8054         * include/sys/mman.h: Declare __madvise.
8055         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8056         * sysdeps/unix/syscalls.list
8057         (madvise): Make __madvise the strong name, and madvise a weak alias.
8058         * sysdeps/unix/sysv/linux/syscalls.list
8059         (madvise, mmap): Remove redundant entries.
8060         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8061         * malloc/malloc.c (mtrim): Likewise.
8062         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8064 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8066         * sysdeps/mach/hurd/dl-cache.c: File removed.
8067         * config.h.in (USE_LDCONFIG): New #undef.
8068         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8069         * configure: Regenerated.
8070         * elf/Makefile (dl-routines): Add dl-cache only under
8071         [$(use-ldconfig) = yes].
8072         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8073         cache on [USE_LDCONFIG].
8074         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8075         [USE_LDCONFIG].
8076         * elf/rtld.c (dl_main): Likewise.
8078 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8080         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8081         _SC_LEVEL4_CACHE_LINESIZE.
8083 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8085         * sysdeps/unix/bsd/confstr.h: File removed.
8087 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8089         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8090         sys/sdt-config.h.
8092 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8094         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8095         Make 'mapoff' field ElfW(Off) rather than off_t.
8097 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8099         * nscd/Makefile: Remove nscd-cflags and all its users.
8100         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8101         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8103         [BZ #10631]
8104         * malloc.c (malloc_printerr): Clarify error message.
8106 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8108         [BZ #14648]
8109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8110         Set bit_FMA_Usable if FMA is supported.
8111         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8112         macro.
8113         (bit_FMA4_Usable): Updated.
8114         (index_FMA_Usable): New macro.
8115         (CPUID_FMA): Likewise
8116         (HAS_FMA): Defined with bit_FMA_Usable.
8118 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8120         * bits/types.h (__swblk_t): Type removed.
8121         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8122         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8123         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8124         (__SWBLK_T_TYPE): Likewise.
8125         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8126         (__SWBLK_T_TYPE): Likewise.
8127         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8128         (__SWBLK_T_TYPE): Likewise.
8129         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8130         (__SWBLK_T_TYPE): Likewise.
8132 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8133             Honza Horak <hhorak@redhat.com>
8135         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8136         (xdr_mapname): Use YPMAXMAP as maxsize.
8137         (xdr_peername): Use YPMAXPEER as maxsize.
8138         (xdr_keydat): Use YPAXRECORD as maxsize.
8139         (xdr_valdat): Use YPMAXRECORD as maxsize.
8141 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8143         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8145         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8146         * csu/init-first.c: ... here.
8147         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8148         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8149         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8150         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8151         * sysdeps/i386/init-first.c: File removed.
8152         * sysdeps/sh/init-first.c: File removed.
8154 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8156         [BZ #14645]
8157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8158         if x * y might underflow to zero and z is zero.
8159         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8160         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8161         * math/libm-test.inc (min_subnorm_value): New variable.
8162         (fma_test): Add more tests.
8163         (fma_test_towardzero): Likewise.
8164         (fma_test_downward): Likewise
8165         (fma_test_upward): Likewise.
8166         (initialize): Set min_subnorm_value.
8168 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8170         [BZ #14638]
8171         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8172         0 + 0.
8173         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8174         mode for addition resulting in exact zero.
8175         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8176         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8177         exact 0 + 0.
8178         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8179         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8180         * math/libm-test.inc (fma_test): Add more tests.
8181         (fma_test_towardzero): New function.
8182         (fma_test_downward): Likewise.
8183         (fma_test_upward): Likewise.
8184         (main): Call the new functions.
8186 2012-09-28  David S. Miller  <davem@davemloft.net>
8188         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8190 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8192         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8193         instead of SIGALRM.
8195         * sysdeps/gnu/_G_config.h: Moved to ...
8196         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8197         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8198         * sysdeps/generic/_G_config.h: ... here.
8200         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8202         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8204         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8205         Conditionalize target on [libnss_test1.so-version].
8207         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8209         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8210         (elfobjdir): Move out of conditionals.
8212         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8213         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8214         (__nss_lookup_function): Conditionalize label remove_from_tree on
8215         [!DO_STATIC_NSS || SHARED], matching its only use.
8217 2012-09-28  David S. Miller  <davem@davemloft.net>
8219         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8220         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8221         file.
8222         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8223         sysdep_routines.
8224         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8225         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8226         when HWCAP_SPARC_CRYPTO is present.
8228 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8230         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8232 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8234         [BZ #6530]
8235         * stdio-common/vfprintf.c (process_string_arg): Revert
8236         2000-07-22 change.
8238 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8240         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8241         for testcase.
8242         * stdio-common/tst-sprintf.c: Include <locale.h>
8243         (main): Test sprintf's handling of incomplete multibyte
8244         characters.
8246 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8248         * elf/dl-runtime.c (VERSYMIDX): Removed.
8249         * elf/dl-version.c (VERSYMIDX): Likewise.
8250         * elf/do-rel.h (VERSYMIDX): Likewise.
8251         (VALIDX): Likewise.
8252         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8253         * elf/rtld.c (VALIDX): Likewise.
8254         (ADDRIDX): Likewise.
8255         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8256         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8257         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8258         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8259         (VALIDX): Likewise.
8260         (ADDRIDX): Likewise.
8262 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8264         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8266 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8268         [BZ #11438]
8269         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8270         to global scope.
8271         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8272         addresses are in the same scope as 192.0.2/24.
8273         * posix/gai.conf: Document new scope table defaults.
8275 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8277         [BZ #5298]
8278         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8279         for ftell.  Compute offsets from write pointers instead.
8280         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8282 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8284         [BZ #14543]
8285         * libio/Makefile (tests): New test case tst-fseek.
8286         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8287         combination works in wide mode.
8288         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8289         state when the external buffer state changes.
8291 2012-09-27  David S. Miller  <davem@davemloft.net>
8293         [BZ #14376]
8294         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8295         pass reloc->r_addend in as the 'high' argument to
8296         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8300 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8302         * rt/tst-aio2.c: Include <pthread.h>.
8303         * rt/tst-aio3.c: Likewise.
8305 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8307         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8309 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8311         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8312         contents on [SHARED].
8314 2012-09-26  Marek Polacek  <polacek@redhat.com>
8316         [BZ #14530]
8317         [BZ #13741]
8318         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8319         for C++ and GCC <4.3 as well as for non GCC compilers.
8321 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8325 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8327         * Makefile.in (all, install): Declare with .PHONY.
8328         Reported by Michael Hope <michael.hope@linaro.org>.
8330 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8332         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8333         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8334         system header.
8335         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8336         Likewise.
8337         (sydep_routines): Add the new and the internal functions.
8338         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8339         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8341         (GLIBC_2.17): Add the new function.
8342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8343         (GLIBC_2.17): Likewise.
8344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8345         (GLIBC_2.17): Likewise.
8346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8347         (GLIBC_2.17): Likewise.
8348         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8350 2012-09-25  Alan Modra  <amodra@gmail.com>
8352         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8353         Add release barrier before setting once_control to say
8354         initialisation is done.  Add hints on lwarx.  Use macro in
8355         place of isync.
8356         (clear_once_control): Add release barrier.
8358 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8360         [BZ #13629]
8361         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8362         specially.
8363         * math/s_clog10.c (__clog10): Likewise.
8364         * math/s_clog10f.c (__clog10f): Likewise.
8365         * math/s_clog10l.c (__clog10l): Likewise.
8366         * math/s_clogf.c (__clogf): Likewise.
8367         * math/s_clogl.c (__clogl): Likewise.
8368         * math/Makefile (libm-calls): Add x2y2m1.
8369         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8370         (__x2y2m1): Likewise.
8371         (__x2y2m1l): Likewise.
8372         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8373         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8374         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8375         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8376         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8377         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8378         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8379         * sysdeps/i386/fpu/libm-test-ulps: Update.
8380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8382         [BZ #14621]
8383         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8384         int as type of variable DEPTH.
8385         (glob): Use size_t instead of int as type of variables NEWCOUNT
8386         and OLD_PATHC.
8388 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8390         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8391         Add s_sincosf-sse2.
8392         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8393         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8394         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8395         macros for using routine as __sincosf_ia32.
8396         Use macro for function declaration and weak_alias.
8397         * sysdeps/i386/fpu/libm-test-ulps: Update.
8399         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8402         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8403         subnormal argument.
8404         * math/s_cexpf.c (__cexpf): Likewise.
8405         * math/s_csinf.c (__csinf): Likewise.
8406         * math/s_csinhf.c (__csinhf): Likewise.
8407         * math/s_ctanf.c (__ctanf): Likewise.
8408         * math/s_ctanhf.c (__ctanhf): Likewise.
8409         * math/s_ccosh.c (__ccoshf): Likewise.
8410         * math/s_cexp.c (__cexpl): Likewise.
8411         * math/s_csin.c (__csin): Likewise.
8412         * math/s_csinh.c (__csinh): Likewise.
8413         * math/s_ctan.c (__ctan): Likewise.
8414         * math/s_ctanh.c (ctanh): Likewise.
8415         * math/s_ccoshl.c (__ccoshl): Likewise.
8416         * math/s_cexpl.c (__cexpl): Likewise.
8417         * math/s_csinl.c (__csinl): Likewise.
8418         * math/s_csinhl.c (__csinhl): Likewise.
8419         * math/s_ctanl.c (__ctanl): Likewise.
8420         * math/s_ctanhl.c (__ctanhl): Likewise.
8422 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8424         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8425         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8426         (_IO_off_t): Define to __off_t, not _G_off_t.
8427         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8428         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8429         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8430         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8431         type of __dummy and __dummy2 fields.
8432         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8433         (_G_ssize_t): Likewise.
8434         (_G_off_t): Likewise.
8435         (_G_pid_t): Likewise.
8436         (_G_uid_t): Likewise.
8437         (_G_wchar_t): Likewise.
8438         (_G_wint_t): Likewise.
8439         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8440         (_G_ssize_t): Likewise.
8441         (_G_off_t): Likewise.
8442         (_G_pid_t): Likewise.
8443         (_G_uid_t): Likewise.
8444         (_G_wchar_t): Likewise.
8445         (_G_wint_t): Likewise.
8446         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8447         (_G_ssize_t): Likewise.
8448         (_G_off_t): Likewise.
8449         (_G_pid_t): Likewise.
8450         (_G_uid_t): Likewise.
8451         (_G_wchar_t): Likewise.
8452         (_G_wint_t): Likewise.
8454 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8456         * malloc/arena.c: Include malloc-sysdep.h.
8457         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8458         is sufficient to shrink the heap or an unmap is needed.
8459         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8460         new function check_may_shrink_heap.
8461         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8462         new function check_may_shrink_heap.
8464 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8466         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8467         comments.
8469 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8471         * catgets/test-gencat.sh: Add "set -e".
8472         * elf/tst-pathopt.sh: Likewise.
8473         * grp/tst_fgetgrent.sh: Likewise.
8474         * iconvdata/run-iconv-test.sh: Likewise.
8475         * intl/tst-gettext.sh: Likewise.
8476         * intl/tst-gettext2.sh: Likewise.
8477         * intl/tst-gettext4.sh: Likewise.
8478         * intl/tst-gettext6.sh: Likewise.
8479         * intl/tst-translit.sh: Likewise.
8480         * io/ftwtest-sh: Likewise.
8481         * libio/test-freopen.sh: Likewise.
8482         * malloc/tst-mtrace.sh: Likewise.
8483         * posix/globtest.sh: Likewise.
8484         * posix/tst-getconf.sh: Likewise.
8485         * posix/wordexp-tst.sh: Likewise.
8486         * stdio-common/tst-printf.sh: Likewise.
8487         * stdio-common/tst-unbputc.sh: Likewise.
8488         * stdlib/tst-fmtmsg.sh: Likewise.
8489         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8490         * catgets/Makefile: Do not specify -e option when running
8491         testsuite shell scripts.
8492         * elf/Makefile: Likewise.
8493         * grp/Makefile: Likewise.
8494         * iconvdata/Makefile: Likewise.
8495         * intl/Makefile: Likewise.
8496         * io/Makefile: Likewise.
8497         * libio/Makefile: Likewise.
8498         * malloc/Makefile: Likewise.
8499         * posix/Makefile: Likewise.
8500         * stdio-common/Makefile: Likewise.
8501         * stdlib/Makefile: Likewise.
8502         * sysdeps/x86_64/Makefile: Likewise.
8504         * io/ftwtest-sh: Add copyright header.
8505         * posix/globtest.sh: Likewise.
8506         * posix/tst-getconf.sh: Likewise.
8507         * posix/wordexp-tst.sh: Likewise.
8508         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8510 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8512         [BZ #13679]
8513         * Makeconfig (+link): Defined as $(+link-static) if
8514         $(build-shared) isn't yes.
8515         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8516         isn't yes.
8517         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8519         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8521         [BZ #14562]
8522         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8523         new chunk size with MALLOC_ALIGN_MASK.
8525 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8527         [BZ #5044]
8528         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8529         <rounding-mode.h>.
8530         (__printf_fphex): Determine rounding using get_rounding_mode and
8531         round_away.
8532         * stdio-common/tst-printf-round.c (struct hex_test): New
8533         structure.
8534         (hex_tests): New variable.
8535         (test_hex_in_one_mode): New function.
8536         (do_test): Also run tests for hex float output.
8538 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8540         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8541         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8542         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8543         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8544         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8545         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8546         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8547         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8549 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8551         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8552         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8553         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8554         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8556 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8558         [BZ #14579]
8559         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8560         mode only.
8561         * elf/tst-rtld-load-self.sh: New test.
8562         * elf/Makefile: Run it.
8564 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8566         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8567         (tst-writev-ENV): Remove.
8568         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8570 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8572         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8574 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8576         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8577         unconditional.
8578         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8579         Likewise.
8580         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8581         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8582         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8583         Likewise.
8585 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8587         [BZ #14587]
8588         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8589         * config.make.in (have-cpp-asm-debuginfo): Removed.
8590         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8591         * configure: Regenerated.
8593 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8595         [BZ #5044]
8596         * stdio-common/printf_fp.c: Include <stdbool.h> and
8597         <rounding-mode.h>.
8598         (___printf_fp): Determine rounding using get_rounding_mode and
8599         round_away.
8600         * stdio-common/tst-printf-round.c: New file.
8601         * stdio-common/Makefile (tests): Add tst-printf-round.
8602         (link-libm): New variable.
8603         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8605 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8607         [BZ #14576]
8608         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8609         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8610         Likewise.
8611         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8612         Likewise.
8614 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8616         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8617         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8618         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8619         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8621 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8623         [BZ #14518]
8624         * include/rounding-mode.h: New file.
8625         * sysdeps/generic/get-rounding-mode.h: Likewise.
8626         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8627         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8628         (MAX_VALUE): New macro.
8629         (MIN_VALUE): Likewise.
8630         (overflow_value): New function.
8631         (underflow_value): Likewise.
8632         (round_and_return): Use overflow_value and underflow_value to
8633         determine return values in overflow and underflow cases.  Use
8634         round_away to determine rounding depending on rounding mode.
8635         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8636         determine return values in overflow and underflow cases.
8637         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8638         (struct test_results): New structure.
8639         (struct test): Use struct test_results to store expected results
8640         for all rounding modes.
8641         (TEST): Include expected results for all rounding modes.
8642         (test_in_one_mode): New function.
8643         (do_test): Use test_in_one_mode to compute and check results.
8644         Check results for all rounding modes.
8645         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8646         $(link-libm).
8648 2012-12-09  Allan McRae  <allan@archlinux.org>
8650         * sysdeps/i386/fpu/libm-test-ulps: Update
8652 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8654         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8655         (_G_int32_t): Likewise.
8656         (_G_uint16_t): Likewise.
8657         (_G_uint32_t): Likewise.
8658         (_G_HAVE_BOOL): Likewise.
8659         (_G_HAVE_ATEXIT): Likewise.
8660         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8661         (_G_HAVE_IO_FILE_OPEN): Likewise.
8662         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8663         (_G_int32_t): Likewise.
8664         (_G_uint16_t): Likewise.
8665         (_G_uint32_t): Likewise.
8666         (_G_HAVE_BOOL): Likewise.
8667         (_G_HAVE_ATEXIT): Likewise.
8668         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8669         (_G_HAVE_IO_FILE_OPEN): Likewise.
8670         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8671         (_G_int32_t): Likewise.
8672         (_G_uint16_t): Likewise.
8673         (_G_uint32_t): Likewise.
8674         (_G_HAVE_BOOL): Likewise.
8675         (_G_HAVE_ATEXIT): Likewise.
8676         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8677         (_G_HAVE_IO_FILE_OPEN): Likewise.
8679 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8681         * csu/libc-tls.c: Update copyright years.
8683 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8685         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8686         [!_G_USING_THUNKS]: Remove conditional code.
8687         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8688         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8690         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8691         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8692         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8693         (_G_VTABLE_LABEL_PREFIX): Likewise.
8694         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8695         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8696         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8697         (_G_VTABLE_LABEL_PREFIX): Likewise.
8698         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8699         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8700         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8701         (_G_VTABLE_LABEL_PREFIX): Likewise.
8702         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8704 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8706         * libio/Makefile: Include ../Makeconfig before tests.
8707         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8708         only if $(build-shared) is yes.
8710         * iconv/gconv_db.c: Update copyright years.
8712 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8714         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8715         unwind info if defined PIC. Fix special cases description.
8716         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8718         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8719         DP_HI_MASK entry.
8720         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8722 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8724         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8726         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8727         is NULL.
8729         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8730         (LDLIBS-tst-chk4): This.
8731         (LDFLAGS-tst-chk5): Renamed to ...
8732         (LDLIBS-tst-chk5): This.
8733         (LDFLAGS-tst-chk6): Renamed to ...
8734         (LDLIBS-tst-chk6): This.
8735         (LDFLAGS-tst-lfschk4): Renamed to ...
8736         (LDLIBS-tst-lfschk4): This.
8737         (LDFLAGS-tst-lfschk5): Renamed to ...
8738         (LDLIBS-tst-lfschk5): This.
8739         (LDFLAGS-tst-lfschk6): Renamed to ...
8740         (LDLIBS-tst-lfschk6): This.
8742         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8743         on $(common-objpfx)soversions.mk.
8745 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8747         [BZ #10014]
8748         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8749         example host name.
8751 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8753         * malloc/arena.c (arena_get_retry): New function that gets
8754         another arena for the caller to try its request on.
8755         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8756         current arena cannot fulfill the request.
8757         (__libc_memalign): Likewise.
8758         (__libc_memalign): Likewise.
8759         (__libc_pvalloc): Likewise.
8760         (__libc_calloc): Likewise.
8762 2012-09-05  John Tobey  <john.tobey@gmail.com>
8764         [BZ #13542]
8765         * manual/arith.texi (Operations on Complex): Fix description
8766         of carg branch cut.
8768 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8770         [BZ #10014]
8771         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8772         host name.
8774         [BZ #10038]
8775         * manual/memory.texi (Memory): Make order of menu items match
8776         order of sections.
8778 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8780         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8781         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8782         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8784 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8786         * csu/libc-tls.c (static_dtv): Renamed to ...
8787         (_dl_static_dtv): This.  Make it global.
8788         (_dl_initial_dtv): Removed.
8789         (__libc_setup_tls): Updated.
8790         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8791         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8792         DL_INITIAL_DTV.
8794 2012-09-06  Petr Machata  <pmachata@redhat.com>
8796         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8797         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8798         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8799         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8801 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8803         [BZ #14545]
8804         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8805         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8806         freeing dtv[-1].
8808 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8810         [BZ #14544]
8811         * Makeconfig (link-static-before-libc): Replace $(+prector)
8812         with $(+prectorT).
8813         (link-static-after-libc): Replace $(+postctor) with
8814         $(+postctorT).
8815         (link-bounded): Replace $(+prector)/$(+postctor) with
8816         $(+prectorT)/$(+postctorT).
8817         (+prectorT): New macro.
8818         (+postctorT): Likewise.
8820 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8822         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8823         (round_str): Handle values above the maximum for IBM long double
8824         as inexact.
8825         * stdlib/tst-strtod-round.c (tests): Regenerated.
8827 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8829         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8830         assembler flag.
8831         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8832         zarch_nohighgprs around the zarch optimized routines.
8833         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8834         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8835         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8836         for zarch.
8838 2012-09-05  David S. Miller  <davem@davemloft.net>
8840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8842         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8843         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8844         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8845         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8846         entries.
8848 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8850         * malloc/arena.c: Fold copyright years.
8851         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8853 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8855         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8857 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8859         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8861 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8863         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8864         change internal state upon failure.
8866 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8868         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8869         * malloc/memusage.c (mmap): Likewise.
8870         (mmap64, mremap): Likewise.  Adjust name in comment.
8872 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8874         * libio/fileops.c: Fix typos in comments.
8875         * libio/oldfileops.c: Likewise.
8876         * libio/wfileops.c: Likewise.
8878 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8880         [BZ #1349]
8881         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8882         (tst-malloc-usable-ENV): Set environment for test case.
8883         * malloc/hooks.c (malloc_check_get_size): New function to get
8884         requested size.
8885         * malloc/malloc.c (musable): Use malloc_check_get_size.
8886         * malloc/tst-malloc-usable.c: New test case.
8888 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8890         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8892 2012-09-05  Allan McRae  <allan@archlinux.org>
8894         [BZ #13966]
8895         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8896         determine header location.
8897         * configure: Regenerated.
8899 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8901         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8902         float format.
8903         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8904         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8905         format.
8906         (test): Regenerate.
8908 2012-09-04  David S. Miller  <davem@davemloft.net>
8910         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8911         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8912         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8914 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8916         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8917         failures.
8919         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8921 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8923         [BZ #9914]
8924         * libio/iogetdelim.c: Include <limits.h>.
8925         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8926         + len + 1 would overflow.
8928 2012-09-03  Andreas Jaeger  <aj@suse.de>
8930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8931         * sysdeps/i386/fpu/libm-test-ulps: Update.
8933 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8935         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8936         Add s_sinf-sse2, s_conf-sse2.
8938         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8939         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8940         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8941         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8943         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8944         for using routine as __sinf_ia32.
8945         Use macro for function declaration and weak_alias.
8946         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8947         for using routine as __cosf_ia32.
8948         Use macro for function declaration and weak_alias.
8950         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8951         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8953         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8954         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8955         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8957         * math/libm-test.inc (cos_test): Add more test cases.
8958         (sin_test): Likewise.
8959         (sincos_test): Likewise.
8961 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8963         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8964         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8965         hidden.
8966         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8968 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8970         [BZ #14538]
8971         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8972         first element of the GOT.
8973         (elf_machine_load_address): Return the difference between
8974         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8976 2012-09-01  Allan McRae  <allan@archlinux.org>
8978         [BZ #13412]
8979         * configure.in (AWK): Require gawk version 3.0 or later.
8980         * configure: Regenerated.
8982 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8984         * sysdeps/unix/sysv/linux/kernel-features.h
8985         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8986         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8987         [__NR_clock_getres]: Make code unconditional.
8988         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8989         (clock_getcpuclockid): Remove code left unreachable by removal of
8990         conditionals.
8991         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8992         code unconditional.
8993         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8994         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8995         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8996         Make code unconditional.
8997         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8998         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8999         * sysdeps/unix/sysv/linux/clock_settime.c
9000         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9001         conditional code.
9002         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9003         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9005 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
9007         [BZ #14476]
9008         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9009         scripts/test-installation.pl.
9011         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9012         and $ld_so_version if it is set.
9014 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9016         [BZ #14516]
9017         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9018         failure if reading from procfs failed.
9019         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9021 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9023         * sysdeps/unix/sysv/linux/kernel-features.h
9024         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9025         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9026         Remove conditional code.
9027         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9028         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9029         Remove conditional code.
9030         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9031         * sysdeps/unix/sysv/linux/i386/fxstat.c
9032         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9033         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9034         * sysdeps/unix/sysv/linux/i386/fxstatat.c
9035         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9036         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9037         * sysdeps/unix/sysv/linux/i386/lxstat.c
9038         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9039         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9040         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9041         Remove conditional code.
9042         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9043         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9044         Remove conditional code.
9045         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9046         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9047         <kernel-features.h>.
9048         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9049         Remove.
9050         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9051         Remove conditional code.
9052         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9053         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9054         Remove conditional.
9056 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9058         [BZ #5400]
9059         * NEWS: Add fixed bug number.
9061 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9063         [BZ #14519]
9064         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9065         underflowing exponent in case of negative sign.
9066         * stdlib/tst-strtod-round-data: Add more tests.
9067         * stdlib/tst-strtod-round.c (tests): Regenerated.
9069         [BZ #3479]
9070         * stdlib/strtod_l.c (NDIG): Remove.
9071         (HEXNDIG): Likewise.
9072         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9073         smallest representable value.
9074         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9075         lie within an exact representation of 1/2 ulp of the result.
9076         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9077         unconditionally.
9078         (TENS_P9_IDX): Define unconditionally.
9079         (TENS_P9_SIZE): Likewise.
9080         (TENS_P10_IDX): Likewise.
9081         (TENS_P10_SIZE): Likewise.
9082         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9083         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9084         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9085         entries for 10^2^13 and 10^2^14.
9086         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9087         (TENS_P13_IDX): Define.
9088         (TENS_P13_SIZE): Likewise.
9089         (TENS_P14_IDX): Likewise.
9090         (TENS_P14_SIZE): Likewise.
9091         (_fpioconst_pow10): Change array size to
9092         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9093         unconditional.
9094         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9095         1024]: Add entries for 10^2^13 and 10^2^14.
9096         [LAST_POW10 > _LAST_POW10]: Remove #error.
9097         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9098         (_fpioconst_pow10): Change array size to
9099         FPIOCONST_POW10_ARRAY_SIZE.
9100         * stdlib/gen-fpioconst.c: New file.
9101         * stdlib/gen-tst-strtod-round.c: Likewise.
9102         * stdlib/tst-strtod-round-data: Likewise.
9103         * stdlib/tst-strtod-round.c: Likewise.
9104         * stdlib/Makefile (tests): Add tst-strtod-round.
9106         [BZ #14459]
9107         * stdlib/strtod_l.c: Include <stdint.h>.
9108         (NDEBUG): Do not define.
9109         (round_and_return): Change EXPONENT parameter to type intmax_t.
9110         Rearrange calculations to avoid internal overflow possibilities.
9111         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9112         Rearrange calculations to avoid internal overflow possibilities.
9113         Assert that number fits inside MPNSIZE limbs.
9114         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9115         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9116         calculations and add assertions to avoid internal overflow
9117         possibilities.  Add casts to avoid signed/unsigned operations.
9118         * stdlib/tst-strtod-overflow.c: New file.
9119         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9121 2012-08-25  Marek Polacek  <polacek@redhat.com>
9123         * time/time.h: Fix some typos in comments.
9125 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9127         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9128         * posix/tst-rfc3484-2.c: Likewise.
9129         * posix/tst-rfc3484-3.c: Likewise.
9131 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9133         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9134         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9136 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9138         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9139         #include of fxstatat64.c.
9141 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9143         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9144         * shadow/getspent_r.c: Likewise.
9145         * shadow/getspnam.c: Likewise.
9146         * shadow/getspnam_r.c: Likewise.
9147         * gshadow/getsgent.c: Likewise.
9148         * gshadow/getsgent_r.c: Likewise.
9149         * gshadow/getsgnam.c: Likewise.
9150         * gshadow/getsgnam_r.c: Likewise.
9151         * inet/getnetbyad.c: Likewise.
9152         * inet/getnetbyad_r.c: Likewise.
9153         * inet/getnetbynm.c: Likewise.
9154         * inet/getnetbynm_r.c: Likewise.
9155         * inet/getnetent.c: Likewise.
9156         * inet/getnetent_r.c: Likewise.
9157         * inet/getproto.c: Likewise.
9158         * inet/getproto_r.c: Likewise.
9159         * inet/getprtent.c: Likewise.
9160         * inet/getprtent_r.c: Likewise.
9161         * inet/getprtname.c: Likewise.
9162         * inet/getprtname_r.c: Likewise.
9163         * inet/getrpcbyname.c: Likewise.
9164         * inet/getrpcbyname_r.c: Likewise.
9165         * inet/getrpcbynumber.c: Likewise.
9166         * inet/getrpcbynumber_r.c: Likewise.
9167         * inet/getrpcent.c: Likewise.
9168         * inet/getrpcent_r.c: Likewise.
9169         * inet/getaliasent.c: Likewise.
9170         * inet/getaliasent_r.c: Likewise.
9171         * inet/getaliasname.c: Likewise.
9172         * inet/getaliasname_r.c: Likewise.
9173         * nscd/getgrgid_r.c: Likewise.
9174         * nscd/getgrnam_r.c: Likewise.
9175         * nscd/gethstbyad_r.c: Likewise.
9176         * nscd/gethstbynm3_r.c: Likewise.
9177         * nscd/getpwnam_r.c: Likewise.
9178         * nscd/getpwuid_r.c: Likewise.
9179         * nscd/getsrvbynm_r.c: Likewise.
9180         * nscd/getsrvbypt_r.c: Likewise.
9181         * nscd/gai.c: Likewise.
9183         * configure.in (build_nscd): New substituted variable, set
9184         by --disable-build-nscd and defaults to $use_nscd.
9185         * configure: Regenerated.
9186         * config.make.in (build-nscd): New substituted variable.
9187         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9188         Change conditional to require [$(build-nscd) = yes] as well.
9189         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9191         [BZ# 13696]
9192         * configure.in (use_nscd): New substituted variable, set by
9193         --disable-nscd.  If enabled, define USE_NSCD.
9194         * configure: Regenerated.
9195         * config.h.in: Add USE_NSCD.
9196         * config.make.in (use-nscd): New substituted variable.
9197         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9198         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9199         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9200         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9201         (CFLAGS-getgrnam_r.c): Likewise.
9202         (CFLAGS-initgroups.c): Likewise.
9203         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9204         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9205         Variables removed.
9206         * inet/getnetgrent_r.c
9207         (nscd_setnetgrent): New function, broken out of ...
9208         (setnetgrent): ... here.  Call it.
9209         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9210         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9211         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9212         * nscd/Makefile (routines, aux): Move definitions after include of
9213         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9214         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9215         Conditionalize on [USE_NSCD].
9216         (is_nscd, nscd_init_cb): Likewise.
9217         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9218         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9219         * nss/nss_db/db-init.c: Likewise.
9220         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9221         [USE_NSCD].
9222         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9223         (make_request): Use it.
9224         (cache_valid_p): New function.
9225         (__check_pf): Use it.
9226         * NEWS: Add item for --disable-nscd.
9228 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9230         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9231         to support sed >= 4.2.1-20-ga9bf076.
9232         * configure: Regenerated.
9234 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9236         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9237         Conditionalize whole body on [IREL].
9239 2012-08-22  Jeff Law <law@redhat.com>
9241         [BZ #14505]
9242         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9243         if the family is PF_UNSPEC.
9245 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9247         * Makerules (lib-version): Rename from V.
9248         (install-lib-nosubdir): Change V to lib-version.
9250 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9252         [BZ #14252]
9253         * powerpc32/power6/wcschr.c: New file.
9254         * powerpc32/power6/wcscpy.c: New file.
9255         * powerpc32/power6/wcsrchr.c: New file.
9256         * powerpc64/power6/wcschr.c: New file.
9257         * powerpc64/power6/wcscpy.c: New file.
9258         * powerpc64/power6/wcsrchr.c: New file.
9260 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9262         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9263         (two_way_short_needle): Use it.
9264         * string/strstr.c (AVAILABLE1_USES_J): Define.
9265         * string/strcasestr.c: Likewise.
9267         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9268         array references.
9269         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9271         [BZ #11607]
9272         * NEWS: Add an entry.
9273         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9274         define their defaults.
9275         (two_way_short_needle): Detect end-of-string on-the-fly.
9276         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9277         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9278         * string/bug-strcasestr1.c: New test.
9279         * string/Makefile: Run it.
9281 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9283         [BZ #11607]
9284         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9285         the first character.
9287 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9289         * csu/elf-init.c (__libc_csu_irel): Function removed.
9290         * csu/libc-start.c (apply_irel): New function.
9291         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9293 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9295         * sysdeps/unix/sysv/linux/kernel-features.h
9296         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9297         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9298         <kernel-features.h>.
9299         [__NR_fadvise64_64]: Make code unconditional.
9300         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9301         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9302         !__NR_fadvise64_64)]: Likewise.
9303         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9304         !__NR_fadvise64_64))]: Likewise.
9305         [__NR_fadvise64]: Make code unconditional.
9306         [!__NR_fadvise64]: Remove conditional code.
9307         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9308         <kernel-features.h>.
9309         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9310         unconditional.
9311         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9312         conditional code.
9313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9314         not include <kernel-features.h>.
9315         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9316         unconditional.
9317         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9318         conditional code.
9319         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9320         include <kernel-features.h>.
9321         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9322         unconditional.
9323         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9324         conditional code.
9326 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9328         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9329         slight instruction rearrangements per scrollpipe analysis.
9330         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9332 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9334         * manual/syslog.texi (syslog; vsyslog, closelog):
9335         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9336         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9338         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9339         DSOCAPS to match condition on defining it.
9341 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9343         * sysdeps/unix/sysv/linux/kernel-features.h
9344         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9346         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9347         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9349         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9350         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9352         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9353         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9355         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9356         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9358         * sysdeps/unix/sysv/linux/kernel-features.h
9359         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9360         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9361         unconditional.
9362         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9363         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9364         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9365         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9366         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9367         Make code unconditional.
9368         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9369         (__mmap64) [!__NR_mmap2]: Likewise.
9370         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9371         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9372         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9373         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9374         [__NR_mmap2]: Make code unconditional.
9375         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9376         (__mmap64) [!__NR_mmap2]: Likewise.
9378 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9380         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9382 2012-08-18  Andreas Jaeger  <aj@suse.de>
9384         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9386 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9388         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9389         * include/unistd.h (__have_sock_cloexec): Likewise.
9390         (__have_pipe2): Likewise.
9391         (__have_dup3): Likewise.
9393 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9395         [BZ #9685]
9396         * include/unistd.h (__have_pipe2): Change define into an extern int.
9397         (__have_dup3): Likewise.
9398         * socket/have_sock_cloexec.c: Include fcntl.h.
9399         (__have_pipe2): New variable.
9400         (__have_dup3): Likewise.
9402 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9404         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9406 2012-08-17  Marek Polacek  <polacek@redhat.com>
9408         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9409         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9411 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9413         * configure.in: Add AC_SUBST for sysheaders.
9414         * configure: Regenerated.
9415         * config.make.in (sysheaders): New substituted variable.
9417         * sysdeps/unix/mkfifo.c: Moved ...
9418         * sysdeps/posix/mkfifo.c: ... here.
9419         * sysdeps/unix/mkfifoat.c: Moved ...
9420         * sysdeps/posix/mkfifoat.c: ... here.
9422         * sysdeps/unix/utime.c: Moved ...
9423         * sysdeps/posix/utime.c: ... here.
9425         * sysdeps/unix/time.c: Moved ...
9426         * sysdeps/posix/time.c: ... here.
9427         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9428         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9430         * sysdeps/unix/nice.c: Moved ...
9431         * sysdeps/posix/nice.c: ... here.
9433         * sysdeps/unix/alarm.c: Moved ...
9434         * sysdeps/posix/alarm.c: ... here.
9436         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9438 2012-08-17  Jeff Law <law@redhat.com>
9440         * intl/Makefile (codeset_mo): New variable.
9441         ($(codeset_mo)): New target.
9442         (tst-codeset.out): Depend on that.  Remove explicit rule.
9443         (tst-gettext3.out, tst-gettext5.out): Likewise.
9444         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9445         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9446         * intl/tst-codeset.sh: Remove.
9447         * intl/tst-gettext3.sh: Likewise.
9448         * intl/tst-gettext5.sh: Likewise.
9450 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9452         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9453         * sysdeps/unix/syscalls.list: ... here.
9455         * sysdeps/posix/getaddrinfo.c
9456         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9457         (gaiconf_init, gaiconf_reload): Use them.
9458         [!_STATBUF_ST_NSEC]
9459         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9460         Define using time_t rather than struct timespec.
9462         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9463         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9464         Macros removed.
9465         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9466         [!NO_THREADS].
9467         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9468         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9469         Likewise.
9471         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9472         __libc_cleanup_push argument.
9474         * bits/param.h: New file.
9475         * misc/sys/param.h: New file.
9476         * include/sys/param.h: New file.
9477         * misc/Makefile (headers): Add bits/param.h.
9478         * sysdeps/generic/sys/param.h: File removed.
9479         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9480         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9481         * sysdeps/mach/hurd/bits/param.h: New file.
9482         * sysdeps/mach/hurd/sys/param.h: File removed.
9484         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9485         last change.
9487         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9488         [_IO_MTSAFE_IO].
9489         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9490         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9491         New macros.
9493         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9494         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9495         rather than -D_IO_MTSAFE_IO conditionally.
9496         * stdio-common/Makefile (CPPFLAGS): Likewise.
9497         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9498         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9499         Use $(libio-mtsafe).
9500         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9501         of -D_IO_MTSAFE_IO.
9502         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9503         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9504         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9505         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9506         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9507         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9508         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9509         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9510         (CFLAGS-fread_u_chk.c): Likewise.
9511         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9512         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9513         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9514         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9515         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9516         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9517         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9518         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9519         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9521         * libio/Makefile: Test [$(libc-reentrant) = yes]
9522         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9524         * Makeconfig
9525         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9526         * sysdeps/pthread/configure: File removed.
9527         * sysdeps/pthread/Makeconfig: New file.
9528         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9529         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9531 2012-08-16  Gary Benson  <gbenson@redhat.com>
9533         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9534         unmapping the first object in a namespace.
9536 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9538         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9539         (__internal_setnetgrent): ... this.  Add internal_function to
9540         definition.  Add libc_hidden_def.
9541         (setnetgrent): Update caller.
9542         (internal_endnetgrent): Renamed to ...
9543         (__internal_endnetgrent): ... this.  Add internal_function to
9544         definition.  Add libc_hidden_def.
9545         (endnetgrent): Update caller.
9546         (internal_getnetgrent_r): Renamed to ...
9547         (__internal_getnetgrent_r): ... this.  Add internal_function to
9548         definition.  Add libc_hidden_def.
9549         (__getnetgrent_r): Update caller.
9550         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9552 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9554         * stdlib/longlong.h: Update from GCC.
9556 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9558         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9559         on _QL, which is set by umul_ppmm but never used.
9560         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9561         variables, which are set by GMP macros but never used.
9562         * stdio-common/_itowa.c (_itowa): Likewise.
9563         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9564         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9566 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9568         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9569         struct La_sh_regs is not constant.
9570         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9571         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9572         and struct La_sparc64_regs are not constant.
9574 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9576         * sysdeps/unix/sysv/linux/kernel-features.h
9577         (__ASSUME_POSIX_TIMERS): Remove.
9578         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9579         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9580         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9581         Make code unconditional.
9582         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9583         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9584         Make code unconditional.
9585         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9586         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9587         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9588         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9589         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9590         Make code unconditional.
9591         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9592         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9593         (__libc_missing_posix_timers): Remove.
9595 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9597         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9598         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9600         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9602         * elf/dl-sym.c: Include <stdlib.h>.
9604         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9605         constants, which avoids warnings in 32-bit builds.
9607         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9608         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9610         * misc/lseek.c: File moved to ...
9611         * io/lseek.c: ... here.
9613         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9615         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9616         shifting LEN more than 31 bits at once.
9618 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9620         [BZ #14195]
9621         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9622         segmentation fault for a case of two empty input strings.
9623         * string/test-strncasecmp.c (check1): Renamed to...
9624         (bz12205): ...this.
9625         (bz14195): Add new testcase for two empty input strings and N > 0.
9626         (test_main): Call new testcase, adapt for renamed function.
9628 2012-08-15  Andreas Jaeger  <aj@suse.de>
9630         [BZ #14090]
9631         * crypt/md5test2.c: New test, based on test supplied by Serge
9632         Belyshev <belyshev@depni.sinp.msu.ru>.
9633         * crypt/Makefile (xtests): Add md5test-giant..
9634         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9636 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9638         [BZ #14090]
9639         * crypt/md5.c (md5_process_block): Don't assume the buffer
9640         length is less than 2**32.
9641         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9642         length is less than 2**64.
9644 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9646         * string/str-two-way.h: Include <sys/param.h>.
9647         (MAX): Macro removed.
9649         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9650         Move #define and #undef of memmove to just before and after
9651         including <string.h>.
9653         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9654         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9655         and after including <string.h>.  Move declarations of
9656         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9657         to before #include "string/memmove.c".
9659         * include/dirent.h: Declare __getdirentries.
9661         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9662         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9664 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9666         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9667         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9668         * sysdeps/i386/configure: Regenerated.
9669         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9670         STABS_CURRENT_FILE, and STABS_FUN.
9671         (END): Remove call to STABS_FUN_END.
9672         (STABS_CURRENT_FILE1): Delete.
9673         (STABS_CURRENT_FILE): Likewise.
9674         (STABS_FUN): Likewise.
9675         (STABS_FUN_END): Likewise.
9676         (STABS_FUN2): Likewise.
9677         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9678         * sysdeps/x86_64/configure: Regenerated.
9680 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9682         * elf/dl-open.c: Include <atomic.h>.
9683         * elf/dl-lookup.c: Likewise.
9685 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9687         * sysdeps/unix/sysv/linux/kernel-features.h
9688         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9689         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9690         unconditionally.
9691         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9692         unconditionally.
9693         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9694         condition on __ASSUME_CLONE_THREAD_FLAGS.
9696 2012-08-14  Andreas Jaeger  <aj@suse.de>
9698         * sysdeps/i386/fpu/libm-test-ulps: Update.
9700 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9702         * include/atomic.h (atomic_exchange_and_add): Split into ...
9703         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9704         New atomic macros.
9706 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9710 2012-08-13  Jeff Law <law@redhat.com>
9712         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9713         null byte in the output string.
9715 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9717         * sysdeps/unix/sysv/linux/kernel-features.h
9718         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9719         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9720         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9721         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9722         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9723         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9724         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9726 2012-08-09  Jeff Law <law@redhat.com>
9728         [BZ #13939]
9729         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9730         When avoid_arena is set, don't retry in the that arena.  Pick the
9731         next one, whatever it might be.
9732         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9733         (arena_lock): Pass in new parameter to arena_get2.
9734         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9735         arena_get2.
9736         (__libc_malloc): Unify retrying after main arena failure with
9737         __libc_memalign version.
9738         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9740 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9742         [BZ #14166]
9743         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9744         to __redirect_strstr.
9745         (__strstr_sse42): Use typeof __redirect_strstr.
9746         (__strstr_ia32): Likewise.
9747         (__libc_strstr): New prototype.
9748         (strstr): Renamed to ...
9749         (__libc_strstr): This.
9750         (strstr): New strong alias of __libc_strstr.
9751         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9752         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9753         __redirect_time.
9754         Include <time.h>.
9755         (__libc_time): New prototype.
9756         (time_ifunc): Replace time with __libc_time.
9757         (time): New strong alias and hidden definition of __libc_time.
9758         (__GI_time): Remove strong alias.
9759         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9760         Include <stddef.h>.
9761         (memmove): Redefined to __redirect_memmove.
9762         (__memmove_sse2): Use typeof __redirect_memmove.
9763         (__memmove_ssse3): Likewise.
9764         (__memmove_ssse3_back): Likewise.
9765         (__libc_memmove): New prototype.
9766         (memmove): Renamed to ...
9767         (__libc_memmove): This.
9768         (memmove): New strong alias of __libc_memmove.
9770 2012-08-08  Mark Salter  <msalter@redhat.com>
9772         * elf/elf.h
9773         (R_MN10300_TLS_GD): Define.
9774         (R_MN10300_TLS_LD): Likewise.
9775         (R_MN10300_TLS_LDO): Likewise.
9776         (R_MN10300_TLS_GOTIE): Likewise.
9777         (R_MN10300_TLS_IE): Likewise.
9778         (R_MN10300_TLS_LE): Likewise.
9779         (R_MN10300_TLS_DTPMOD): Likewise.
9780         (R_MN10300_TLS_DTPOFF): Likewise.
9781         (R_MN10300_TLS_TPOFF): Likewise.
9782         (R_MN10300_SYM_DIFF): Likewise.
9783         (R_MN10300_ALIGN): Likewise.
9784         (R_MN10300_NUM): Update.
9786 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9788         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9789         Remove.
9791 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9793         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9795         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9796         sysdeps/unix -> sysdeps/posix move.
9797         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9799 2012-08-07      Allan McRae     <allan@archlinux.org>
9801         [BZ #14303]
9802         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9803         (SUNOS_CPP): Likewise.
9804         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9805         not found.
9806         (open_input): Call CPP using execvp.
9808 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9810         * sysdeps/unix/sysv/linux/kernel-features.h
9811         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9812         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9813         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9814         (__ASSUME_WAITID_SYSCALL): Likewise.
9815         * sysdeps/unix/sysv/linux/dl-execstack.c
9816         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9817         code unconditional.
9818         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9819         conditional code.
9820         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9821         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9822         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9823         code.
9824         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9825         unconditional.
9826         [__ASSUME_WAITID_SYSCALL]: Likewise.
9827         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9829 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9831         * sysdeps/unix/closedir.c: Renamed to ...
9832         * sysdeps/posix/closedir.c: ... here.
9833         * sysdeps/unix/dirfd.c: Renamed to ...
9834         * sysdeps/posix/dirfd.c: ... here.
9835         * sysdeps/unix/dirstream.h: Renamed to ...
9836         * sysdeps/posix/dirstream.h: ... here.
9837         * sysdeps/unix/fdopendir.c: Renamed to ...
9838         * sysdeps/posix/fdopendir.c: ... here.
9839         * sysdeps/unix/opendir.c: Renamed to ...
9840         * sysdeps/posix/opendir.c: ... here.
9841         * sysdeps/unix/readdir.c: Renamed to ...
9842         * sysdeps/posix/readdir.c: ... here.
9843         * sysdeps/unix/readdir_r.c: Renamed to ...
9844         * sysdeps/posix/readdir_r.c: ... here.
9845         * sysdeps/unix/rewinddir.c: Renamed to ...
9846         * sysdeps/posix/rewinddir.c: ... here.
9847         * sysdeps/unix/seekdir.c: Renamed to ...
9848         * sysdeps/posix/seekdir.c: ... here.
9849         * sysdeps/unix/telldir.c: Renamed to ...
9850         * sysdeps/posix/telldir.c: ... here.
9851         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9852         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9853         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9854         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9856         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9857         * bits/fcntl.h: ... here.
9859         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9860         not 0.
9861         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9862         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9863         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9864         (struct flock): Move l_start, l_len to the beginning.
9865         Use __pid_t for l_pid.
9866         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9867         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9868         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9869         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9870         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9871         [__USE_LARGEFILE64] (struct flock64): New type.
9872         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9874         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9875         * bits/dirent.h: ... here.
9877         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9878         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9880 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9882         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9883         Change from 2.6.0 to 2.6.16.
9884         * sysdeps/unix/sysv/linux/configure: Regenerated.
9885         * sysdeps/unix/sysv/linux/kernel-features.h
9886         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9887         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9888         version.
9889         (__ASSUME_UTIMES): Likewise.
9890         (__ASSUME_CLONE_STOPPED): Remove.
9891         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9892         architectures, not kernel version.
9893         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9894         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9895         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9896         (__ASSUME_WAITID_SYSCALL): Likewise.
9897         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9898         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9899         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9900         refer to older versions.
9902 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9904         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9905         Define alphasort64 as an alias.
9906         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9907         Define versionsort64 as an alias.
9908         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9909         Define scandir64 as an alias.
9910         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9911         Define scandirat64 as an alias.
9912         * dirent/alphasort64.c (alphasort64):
9913         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9914         * dirent/versionsort64.c: Likewise.
9915         * dirent/scandir64.c: Likewise.
9916         * dirent/scandirat64.c: Likewise.
9917         * sysdeps/wordsize-64/alphasort.c: File removed.
9918         * sysdeps/wordsize-64/alphasort64.c: File removed.
9919         * sysdeps/wordsize-64/scandir.c: File removed.
9920         * sysdeps/wordsize-64/scandir64.c: File removed.
9921         * sysdeps/wordsize-64/scandirat.c: File removed.
9922         * sysdeps/wordsize-64/scandirat64.c: File removed.
9923         * sysdeps/wordsize-64/versionsort.c: File removed.
9924         * sysdeps/wordsize-64/versionsort64.c: File removed.
9925         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9926         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9927         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9928         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9929         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9930         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9931         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9932         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9934         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9935         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9936         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9937         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9938         [defined __arch64__ || defined __sparcv9]
9939         (__INO_T_MATCHES_INO64_T): New macro.
9940         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9941         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9942         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9943         * sysdeps/unix/sysv/linux/bits/dirent.h
9944         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9945         (_DIRENT_MATCHES_DIRENT64): New macro.
9947         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9948         Define lockf64 as an alias.
9949         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9950         Define fseeko64 as an alias.
9951         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9952         Define ftello64 as an alias.
9953         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9954         Define _IO_fgetpos64 and fgetpos64 as aliases.
9955         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9956         Define _IO_fsetpos64 and fsetpos64 as aliases.
9957         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9958         Conditionalize body on this.
9959         * libio/fseeko64.c: Likewise.
9960         * libio/ftello64.c: Likewise.
9961         * libio/iofgetpos64.c: Likewise.
9962         * libio/iofsetpos64.c: Likewise.
9963         * sysdeps/wordsize-64/lockf.c: File removed.
9964         * sysdeps/wordsize-64/lockf64.c: File removed.
9965         * sysdeps/wordsize-64/fseeko.c: File removed.
9966         * sysdeps/wordsize-64/fseeko64.c: File removed.
9967         * sysdeps/wordsize-64/ftello.c: File removed.
9968         * sysdeps/wordsize-64/ftello64.c: File removed.
9969         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9970         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9971         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9972         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9973         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9974         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9975         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9976         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9977         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9978         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9979         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9980         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9981         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9982         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9984         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9985         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9986         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9987         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9988         [defined __arch64__ || defined __sparcv9]
9989         (__OFF_T_MATCHES_OFF64_T): New macro.
9990         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9991         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9992         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9993         (__OFF_T_MATCHES_OFF64_T): New macro.
9995 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9997         * stdlib/secure-getenv.c (__secure_getenv): Replace
9998         GLIBC_2_16 with GLIBC_2_17.
10000 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
10002         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10003         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10005 2012-08-03  David S. Miller  <davem@davemloft.net>
10007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10009 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10011         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10012         Remove.
10013         (__ASSUME_CORRECT_SI_PID): Likewise.
10014         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10015         (__ASSUME_TMPFS_NAME): Likewise.
10016         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10017         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10018         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10019         (HAVE_AUX_SECURE): Make definition unconditional.
10020         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10021         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10023 2012-08-03  Roland McGrath  <roland@hack.frob.com>
10025         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10026         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10027         * sysdeps/mach/hurd/eloop-threshold.h: New file.
10028         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10029         __eloop_threshold instead of SYMLOOP_MAX.
10031         * sysdeps/generic/eloop-threshold.h: New file.
10032         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10033         of MAXSYMLINKS.
10034         * elf/chroot_canon.c (chroot_canon): Likewise.
10036 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10038         [BZ #13717]
10039         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10040         Change to 2.6.0 everywhere.
10041         * sysdeps/unix/sysv/linux/configure: Regenerated.
10042         * sysdeps/unix/sysv/linux/kernel-features.h
10043         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10044         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10045         kernel versions.
10046         (__ASSUME_POSIX_TIMERS): Define unconditionally.
10047         (__ASSUME_FUTEX_REQUEUE): Remove.
10048         (__ASSUME_STATFS64): Define unconditionally.
10049         (__ASSUME_AT_SECURE): Likewise.
10050         (__ASSUME_CORRECT_SI_PID): Likewise.
10051         (__ASSUME_TGKILL): Define without depending on kernel version for
10052         i386.
10053         (__ASSUME_UTIMES): Likewise.
10054         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10055         kernel version.
10056         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10057         (__ASSUME_TMPFS_NAME): Likewise.
10058         * README: Update reference to Linux kernel versions.
10060 2012-08-02  Marek Polacek  <polacek@redhat.com>
10062         [BZ# 14150]
10063         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10064         libc_cv_asm_type_prefix with %.
10065         * configure: Regenerated.
10066         * include/libc-symbols.h: Remove comment about
10067         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10068         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10069         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10070         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10071         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10072         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10073         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10074         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10075         * elf/tst-unique2mod1.c: Likewise.
10076         * elf/tst-unique1mod2.c: Likewise.
10077         * elf/tst-unique1mod1.c: Likewise.
10078         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10079         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10080         Replace ASM_TYPE_DIRECTIVE with .type.
10081         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10082         * sysdeps/i386/sysdep.h: Likewise.
10083         * sysdeps/x86_64/sysdep.h: Likewise.
10084         * sysdeps/sh/sysdep.h: Likewise.
10085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10086         Do not define ASM_TYPE_DIRECTIVE.
10087         * sysdeps/powerpc/sysdep.h: Likewise.
10088         * sysdeps/powerpc/powerpc32/sysdep.h:
10089         Replace ASM_TYPE_DIRECTIVE with .type.
10090         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10091         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10092         * sysdeps/i386/fpu/e_powf.S: Likewise.
10093         * sysdeps/i386/fpu/e_expl.S: Likewise.
10094         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10095         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10096         * sysdeps/i386/fpu/e_pow.S: Likewise.
10097         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10098         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10099         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10100         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10101         * sysdeps/i386/fpu/e_log2.S: Likewise.
10102         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10103         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10104         * sysdeps/i386/fpu/e_powl.S: Likewise.
10105         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10106         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10107         * sysdeps/i386/fpu/e_logl.S: Likewise.
10108         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10109         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10110         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10111         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10112         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10113         * sysdeps/i386/fpu/e_log.S: Likewise.
10114         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10115         * sysdeps/i386/fpu/e_logf.S: Likewise.
10116         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10117         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10118         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10119         * sysdeps/i386/fpu/e_log10.S: Likewise.
10120         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10121         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10122         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10123         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10124         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10125         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10126         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10127         * sysdeps/i386/i686/strtok.S: Likewise.
10128         * sysdeps/i386/i386-mcount.S: Likewise.
10129         * sysdeps/i386/strtok.S: Likewise.
10130         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10131         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10132         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10133         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10134         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10135         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10136         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10137         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10138         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10139         * sysdeps/x86_64/_mcount.S: Likewise.
10140         * sysdeps/x86_64/strtok.S: Likewise.
10141         * sysdeps/sh/_mcount.S: Likewise.
10143 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10145         * libio/iofopen.c: Include <fcntl.h>.
10146         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10147         (_IO_fopen64, fopen64): Define as aliases.
10148         * libio/iofopen64.c: Include <fcntl.h>.
10149         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10150         Conditionalize body on this.
10151         * sysdeps/wordsize-64/iofopen.c: File removed.
10152         * sysdeps/wordsize-64/iofopen64.c: File removed.
10154 2012-08-01  Marek Polacek  <polacek@redhat.com>
10156         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10157         Use dlfcn directly instead of a variable.
10158         (binfmt-subdir): Do not define.
10159         (dlfcn): Likewise.
10161 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10163         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10164         Remove all definitions.
10165         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10166         <kernel-features.h>.
10167         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10168         (miss_F_GETOWN_EX): Remove all definitions.
10169         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10170         macro definition.
10171         [!__ASSUME_FCNTL64]: Remove conditional code.
10172         [__ASSUME_FCNTL64]: Make code unconditional.
10173         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10174         <kernel-features.h>.
10175         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10176         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10177         (lockf64) [__NR_fcntl64]: Make code unconditional.
10178         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10180         * sysdeps/unix/sysv/linux/kernel-features.h
10181         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10182         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10183         Make code unconditional.
10184         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10185         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10187         [__NR_vfork]: Make code unconditional.
10188         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10189         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10191         [__NR_vfork]: Make code unconditional.
10192         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10193         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10195 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10197         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10198         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10200         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10201         Define mkstemp64 as an alias.
10202         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10203         Define mkstemps64 as an alias.
10204         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10205         Define mkostemp64 as an alias.
10206         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10207         Define mkostemps64 as an alias.
10208         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10209         Conditionalize body on this.
10210         * misc/mkostemp64.c: Likewise.
10211         * misc/mkostemps64.c: Likewise.
10212         * misc/mkstemps64.c: Likewise.
10213         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10214         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10215         * sysdeps/wordsize-64/mkostemp.c: File removed.
10216         * sysdeps/wordsize-64/mkstemp.c: File removed.
10217         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10218         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10219         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10220         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10222         [BZ #14138]
10223         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10224         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10225         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10226         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10228         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10229         compat_symbol macros from <shlib-compat.h> rather than the underlying
10230         default_symbol_version and symbol_version macros, so that DEFAULT
10231         lines in shlib-versions are respected.
10232         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10234 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10236         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10237         Declare with warn_unused_result.
10238         (setgid, setregid, setegid, setresgid): Likewise.
10239         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10240         Likewise.
10241         * WUR-REPORT: Remove set*id functions.
10243 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10245         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10247 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10249         * include/sys/socket.h (__libc_accept, __libc_accept4):
10250         Add attribute_hidden.
10251         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10253         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10254         use of PTR_MANGLE.
10255         * inet/getnetgrent_r.c (setup): Likewise.
10257         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10259 2012-07-31  David S. Miller  <davem@davemloft.net>
10261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10263 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10265         [BZ #13629]
10266         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10267         value between 1.0 and 2.0 and smaller part has absolute value less
10268         than 1.0.
10269         * math/s_clog10.c (__clog10): Likewise.
10270         * math/s_clog10f.c (__clog10f): Likewise.
10271         * math/s_clog10l.c (__clog10l): Likewise.
10272         * math/s_clogf.c (__clogf): Likewise.
10273         * math/s_clogl.c (__clogl): Likewise.
10274         * math/libm-test.inc (clog_test): Add more tests.
10275         (clog10_test): Likewise.
10276         * sysdeps/i386/fpu/libm-test-ulps: Update.
10277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10279 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10281         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10282         Exit with zero in case no suitable GID is found, and write a
10283         message to standard error.
10285 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10287         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10288         rather than to 1.
10289         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10290         (MAXPATHLEN): Removed.
10291         (NOGROUP, NODEV): New macros.
10292         (setbit, clrbit, isset, isclr): New macros.
10293         (howmany, roundup, powerof2): New macros.
10294         (DEV_BSIZE): New macro.
10296         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10297         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10299         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10300         definition on [!__NO_LONG_DOUBLE_MATH].
10302         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10303         PTR_MANGLE and PTR_DEMANGLE.
10305         * socket/accept4.c (accept4): Rename to __libc_accept4.
10306         Define accept4 as a weak alias.
10308         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10309         on [_DIRENT_HAVE_D_TYPE].
10310         * io/ftw.c (ftw_dir): Likewise.
10312         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10314         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10316         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10317         Use the BSD numbers rather than the arbitrary ones we had.
10318         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10319         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10320         (SIGXCPU, SIGXFSZ): New macros.
10321         (_NSIG): Now 32.
10323         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10324         initializer on [_LIBC_REENTRANT].
10326         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10327         definitions inside [_POSIX_MAPPED_FILES].
10329         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10331         * dirent/opendir.c: Include <fcntl.h>.
10333         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10334         (__libc_getspecific): Likewise.
10335         (__libc_key_create): Likewise.
10337         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10338         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10339         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10340         (tmpfile64): Define as alias.
10341         * sysdeps/wordsize-64/tmpfile.c: File removed.
10342         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10343         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10344         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10346         * stdio-common/vfscanf.c: Include <stdbool.h>.
10347         * nss/makedb.c: Likewise.
10348         * stdio-common/_i18n_number.h: Likewise.
10349         * argp/argp-help.c: Likewise.
10350         * posix/wordexp.c: Likewise.
10351         * sysdeps/posix/spawni.c: Likewise.
10352         * nss/nss_files/files-initgroups.c: Likewise.
10353         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10354         * nss/nss_files/files-initgroups.c: Likewise.
10355         * nss/nss_db/db-netgrp.c: Likewise.
10356         * nss/nss_db/db-initgroups.c: Likewise.
10357         * io/fchmodat.c: Include <sys/stat.h>.
10359         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10360         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10362         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10363         [HAVE_MMAP].
10365         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10366         Add multiple inclusion protection.
10368 2012-07-27  David S. Miller  <davem@davemloft.net>
10370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10372 2012-07-27  Gary Benson  <gbenson@redhat.com>
10374         [BZ #14298]
10375         * elf/rtld.c: Include <stap-probe.h>.
10376         (dl_main): Added static probes "init_start" and "init_complete".
10377         * elf/dl-load.c: Include <stap-probe.h>.
10378         (lose): Take new parameter "nsid".
10379         Added static probe "map_failed".
10380         (_dl_map_object_from_fd): Pass namespace id to lose.
10381         Added static probe "map_start".
10382         (open_verify): Pass namespace id to lose.
10383         * elf/dl-open.c: Include <stap-probe.h>.
10384         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10385         and "reloc_complete".
10386         * elf/dl-close.c: Include <stap-probe.h>.
10387         (_dl_close_worker): Added static probes "unmap_start" and
10388         "unmap_complete".
10389         * elf/rtld-debugger-interface.txt: New file documenting the above.
10391 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10393         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10394         rather than a string variable.
10395         * sunrpc/rpc_main.c (h_output): Likewise.
10396         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10398 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10400         * inet/check_native.c: New file.
10402 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10404         [BZ #13629]
10405         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10406         if larger part has absolute value 1.0.
10407         * math/s_clog10.c (__clog10): Likewise.
10408         * math/s_clog10f.c (__clog10f): Likewise.
10409         * math/s_clog10l.c (__clog10l): Likewise.
10410         * math/s_clogf.c (__clogf): Likewise.
10411         * math/s_clogl.c (__clogl): Likewise.
10412         * math/libm-test.inc (clog_test): Add more tests.
10413         (clog10_test): Likewise.
10414         * sysdeps/i386/fpu/libm-test-ulps: Update.
10415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10417         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10418         (pltexit): Likewise.
10419         (La_regs): Likewise.
10420         (La_retval): Likewise.
10421         (int_retval): Likewise.
10422         Update #error for removed macros to refer only to definitions in
10423         tst-audit.h.
10424         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10425         macro.
10426         (pltexit): Likewise.
10427         (La_regs): Likewise.
10428         (La_retval): Likewise.
10429         (int_retval): Likewise.
10430         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10431         macro.
10432         (pltexit): Likewise.
10433         (La_regs): Likewise.
10434         (La_retval): Likewise.
10435         (int_retval): Likewise.
10436         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10437         macro.
10438         (pltexit): Likewise.
10439         (La_regs): Likewise.
10440         (La_retval): Likewise.
10441         (int_retval): Likewise.
10442         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10443         macro.
10444         (pltexit): Likewise.
10445         (La_regs): Likewise.
10446         (La_retval): Likewise.
10447         (int_retval): Likewise.
10448         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10449         macro.
10450         (pltexit): Likewise.
10451         (La_regs): Likewise.
10452         (La_retval): Likewise.
10453         (int_retval): Likewise.
10454         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10455         macro.
10456         (pltexit): Likewise.
10457         (La_regs): Likewise.
10458         (La_retval): Likewise.
10459         (int_retval): Likewise.
10460         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10461         macro definitions in tst-audit.h.
10462         * sysdeps/i386/tst-audit.h: New file.
10463         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10464         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10465         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10466         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10467         * sysdeps/sh/tst-audit.h: Likewise.
10468         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10469         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10470         * sysdeps/x86_64/tst-audit.h: Likewise.
10472 2012-07-26  Andreas Jaeger  <aj@suse.de>
10474         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10475         ptrace.
10477         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10478         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10479         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10480         PTRACE_O_MASK.
10481         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10482         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10483         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10485         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10486         value.
10488         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10489         _sigsys.
10490         (si_call_addr, si_syscall, si_arch): Define new macro.
10491         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10492         _sigsys.
10493         (si_call_addr, si_syscall, si_arch): Define new marcro.
10494         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10495         _sigsys.
10496         (si_call_addr, si_syscall, si_arch): Define new macro.
10497         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10498         _sigsys.
10499         (si_call_addr, si_syscall, si_arch): Define new macro.
10501 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10503         [BZ #13717]
10504         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10505         Change to 2.4.21 where previously 2.4.1.
10506         * sysdeps/unix/sysv/linux/configure: Regenerated.
10507         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10508         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10509         Linux kernel version.
10510         (__ASSUME_STD_AUXV): Remove.
10511         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10512         kernel version.
10513         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10514         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10515         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10516         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10517         (__ASSUME_NETLINK_SUPPORT): Likewise.
10518         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10519         (__no_netlink_support): Remove conditional definition.
10520         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10521         Remove.
10522         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10523         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10524         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10525         (if_nameindex_ioctl): Remove.
10526         (if_nameindex_netlink): Do not handle __no_netlink_support.
10527         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10528         code.
10529         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10530         Remove conditional code.
10531         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10532         code.
10533         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10534         unconditional.
10535         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10536         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10537         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10538         Remove.
10539         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10540         [!__ASSUME_STD_AUXV]: Remove conditional code.
10541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10542         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10543         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10545         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10546         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10547         code.
10548         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10550         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10551         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10552         conditional code.
10553         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10555         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10556         code.
10557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10558         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10559         conditional code.
10560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10561         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10562         code unconditional.
10563         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10564         conditional code.
10565         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10566         unconditional.
10567         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10568         conditional code.
10569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10570         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10571         unconditional.
10572         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10573         conditional code.
10574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10575         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10576         code unconditional.
10577         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10578         conditional code.
10579         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10580         unconditional.
10581         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10582         conditional code.
10583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10584         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10585         code unconditional.
10586         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10587         conditional code.
10588         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10589         unconditional.
10590         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10591         conditional code.
10593 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10595         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10596         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10597         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10598         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10599         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10600         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10601         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10602         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10603         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10604         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10605         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10606         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10607         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10608         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10609         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10610         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10611         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10612         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10613         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10615         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10616         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10617         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10619 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10621         * Versions.def: Add GLIBC_2.17.
10622         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10623         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10624         Introduce __libc_secure_getenv.
10625         * stdlib/Versions (2.17): Add secure_getenv
10626         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10627         * stdlib/secure-getenv.c: Rename __secure_getenv to
10628         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10629         symbol __secure_getenv for GLIBC_2.0.
10630         * stdlib/tst-secure-getenv.c: New.
10631         * stdlib/Makefile (tests): Add testcase.
10632         * manual/startup.texi (Environment Access): Document
10633         secure_getenv.
10634         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10635         __libc_secure_getenv.
10636         * inet/ruserpass.c (ruserpass): Likewise.
10637         * malloc/mtrace.c (mtrace): Likewise.
10638         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10639         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10640         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10641         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10642         HAVE_SECURE_GETENV.
10643         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10644         __secure_getenv to __libc_secure_getenv.
10645         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10647         Likewise.
10648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10649         Likewise.
10650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10652         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10658 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10660         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10661         (struct La_i86_retval): Likewise.
10662         (struct La_x86_64_regs): Likewise.
10663         (struct La_x86_64_retval): Likewise.
10664         (struct La_x32_regs): Likewise.
10665         (struct La_x32_retval): Likewise.
10666         (struct La_ppc32_regs): Likewise.
10667         (struct La_ppc32_retval): Likewise.
10668         (struct La_ppc64_regs): Likewise.
10669         (struct La_ppc64_retval): Likewise.
10670         (struct La_sh_regs): Likewise.
10671         (struct La_sh_retval): Likewise.
10672         (struct La_s390_32_regs): Likewise.
10673         (struct La_s390_32_retval): Likewise.
10674         (struct La_s390_64_regs): Likewise.
10675         (struct La_s390_64_retval): Likewise.
10676         (struct La_sparc32_regs): Likewise.
10677         (struct La_sparc32_retval): Likewise.
10678         (struct La_sparc64_regs): Likewise.
10679         (struct La_sparc64_retval): Likewise.
10680         (struct audit_ifaces): Remove architecture-specific pltenter and
10681         pltexit members.
10682         * sysdeps/i386/ldsodefs.h: New file.
10683         * sysdeps/powerpc/ldsodefs.h: Likewise.
10684         * sysdeps/s390/ldsodefs.h: Likewise.
10685         * sysdeps/sh/ldsodefs.h: Likewise.
10686         * sysdeps/sparc/ldsodefs.h: Likewise.
10687         * sysdeps/x86_64/ldsodefs.h: Likewise.
10689 2012-07-25  Marek Polacek  <polacek@redhat.com>
10691         [BZ #6808]
10692         * math/libm-test.inc (yn_test): Add another test.
10693         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10694         to ERANGE when the result is +-Inf.
10695         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10696         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10697         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10698         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10700 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10702         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10703         equal to 0.
10704         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10705         clock_t.
10706         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10708 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10710         * configure.in <sysdeps resolving>: Correct printing
10711         Implies_before.
10712         * configure: Regenerate.
10714 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10716         * math/w_ilogb.c: Include <limits.h>.
10717         * math/w_ilogbl.c: Likewise.
10719 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10721         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10722         va_copy.  Document allowing for unavailable va_copy only as
10723         pre-C99 compatibility.
10724         * manual/string.texi (Copying and Concatenation): Use va_copy
10725         instead of __va_copy in concat example.
10727 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10729         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10730         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10731         it if not null.
10733         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10734         with O_NOLINK passed to __file_name_lookup.
10736         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10737         with O_NOLINK passed to __file_name_lookup.
10739         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10740         negative N or less than NGIDS.
10742         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10743         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10744         enough.  Use memcpy instead of strncpy.
10746 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10748         * elf/Makefile (check-data): Remove.
10749         (localplt.data): New vpath directive.
10750         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10751         instead of $(check-data).
10752         * scripts/data/localplt-generic.data: Move to ...
10753         * sysdeps/generic/localplt.data: ... here.
10754         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10755         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10756         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10758         ... here.
10759         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10761         ... here.
10762         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10764         ... here.
10765         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10767         ... here.
10768         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10770         ... here.
10771         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10773         ... here.
10775 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10777         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10778         PPC32 and PPC64 files.
10779         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10780         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10782 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10784         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10785         __makecontext_ret to ...
10786         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10787         ... here and call exit if uc_link is NULL.  New file.
10788         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10789         __makecontext_ret.S.
10790         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10791         __makecontext_ret to ...
10792         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10793         ... here and call exit if uc_link is NULL.  New file.
10794         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10795         __makecontext_ret.S.
10797 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10799         * elf/elf.h (R_390_IRELATIVE): New definition.
10800         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10801         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10802         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10803         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10804         (elf_machine_lazy_rel): Likewise.
10805         * sysdeps/s390/dl-irel.h: New file.
10806         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10807         * sysdeps/s390/s390-64/memset.S: New asm code.
10808         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10809         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10810         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10811         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10812         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10813         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10814         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10815         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10816         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10817         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10818         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10819         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10820         * sysdeps/s390/s390-32/memset.S: New asm code.
10821         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10823 2012-07-17  Marek Polacek  <polacek@redhat.com>
10825         [BZ #14349]
10826         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10827         * sysdeps/s390/s390-64/configure.in: Likewise.
10828         * sysdeps/sparc/configure.in: Likewise.
10829         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10830         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10831         * sysdeps/i386/configure.in: Likewise.
10832         * sysdeps/x86_64/configure.in: Likewise.
10833         * sysdeps/sh/configure.in: Likewise.
10834         * sysdeps/s390/s390-32/configure: Regenerated.
10835         * sysdeps/s390/s390-64/configure: Likewise.
10836         * sysdeps/x86_64/configure: Likewise.
10837         * sysdeps/sh/configure: Likewise.
10838         * sysdeps/powerpc/powerpc64/configure: Likewise.
10839         * sysdeps/powerpc/powerpc32/configure: Likewise.
10840         * sysdeps/sparc/configure: Likwise.
10841         * sysdeps/i386/configure: Likewise.
10843         * elf/dl-open.c: Comment fixes.
10845 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10847         * Makefile [CXX] (check-data): Remove.
10848         [CXX] (c++-types.data): New vpath directive.
10849         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10850         vpath.  Do not allow for C++ type data being missing.
10851         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10852         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10853         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10854         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10855         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10856         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10857         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10859         ... here.
10860         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10862         ... here.
10863         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10865         ... here.
10866         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10868         ... here.
10869         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10871         ... here.
10872         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10874         ... here.
10875         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10877         ... here.
10878         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10881         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10882         definitions to architecture-specific files.
10883         (TLS_IE): Likewise.
10884         (TLS_LD): Likewise.
10885         (TLS_GD): Likewise.
10886         * sysdeps/i386/tls-macros.h: New file.
10887         * sysdeps/powerpc/tls-macros.h: Likewise.
10888         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10889         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10890         * sysdeps/sh/tls-macros.h: Likewise.
10891         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10892         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10893         * sysdeps/x86_64/tls-macros.h: Likewise.
10895 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10897         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10898         zero value for regular exit case.
10900         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10901         (__start_context): Preserve zero value for regular exit case.
10903 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10904             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10906         * manual/setjmp.texi (setcontext): Clarify normal process
10907         termination when uc_link is the null pointer.
10908         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10909         exit call.
10911 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10913         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10914         preprocessor.  Test for each exception mask separately.
10916 2012-07-16  Andreas Jaeger  <aj@suse.de>
10918         * po/ru.po: Update from translation team.
10920 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10922         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10923         equal to 0.
10924         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10925         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10926         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10927         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10928         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10930 2012-07-13  Andreas Jaeger  <aj@suse.de>
10932         * po/fr.po: Update from translation team.
10934 2012-07-12  Marek Polacek  <polacek@redhat.com>
10936         [BZ #14173]
10937         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10938         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10939         loop condition.
10941 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10943         [BZ #13717]
10944         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10945         Change to 2.4.1 where previously 2.4.0.
10946         * sysdeps/unix/sysv/linux/configure: Regenerated.
10947         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10948         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10949         version.
10950         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10951         (__ASSUME_AT_CLKTCK): Remove.
10952         (__ASSUME_AT_PAGESIZE): Likewise.
10953         (__ASSUME_AT_XID): Likewise.
10954         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10955         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10956         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10957         unconditionally.
10958         (HAVE_AUX_PAGESIZE): Likewise.
10959         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10960         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10961         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10963 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10965         [BZ #14307]
10966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10967         the temporary buffer used to invoke __gethostbyname2_r,
10968         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10969         host_data / struct gaih_addrtuple.
10970         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10971         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10972         header file nss/nsswitch.h.
10973         * nss/nsswitch.h (global scope): Add definition of implementation
10974         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10975         resolv/nss_dns/dns-host.c).
10977 2012-07-11  Andreas Jaeger  <aj@suse.de>
10979         * po/fr.po: Update from translation team.
10981         * po/sv.po: Update from translation team
10982         * po/fr.po: Another update from translation team.
10984 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10986         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10987         for subnormals or multiply small sinh result by itself.
10988         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10991 2012-07-11  David S. Miller  <davem@davemloft.net>
10993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10995 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10997         [BZ #14347]
10998         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10999         (INTERNAL_MARK): Shift it here.
11001 2012-07-10  Marek Polacek  <polacek@redhat.com>
11003         [BZ #14151]
11004         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
11005         libc_cv_asm_global_directive with .globl.
11006         * configure: Regenerated.
11007         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11008         with .globl.
11009         * sysdeps/i386/configure: Regenerated.
11010         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11011         with .globl.
11012         * sysdeps/x86_64/configure: Regenerated.
11013         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11014         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11015         * elf/tst-unique2mod2.c: Likewise.
11016         * elf/tst-unique2mod1.c: Likewise.
11017         * elf/tst-unique1mod2.c: Likewise.
11018         * elf/tst-unique1mod1.c: Likewise.
11019         * sysdeps/s390/s390-32/sysdep.h: Likewise.
11020         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11021         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11022         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11023         * sysdeps/mach/sysdep.h: Likewise.
11024         * sysdeps/i386/sysdep.h: Likewise.
11025         * sysdeps/i386/i386-mcount.S: Likewise.
11026         * sysdeps/x86_64/_mcount.S: Likewise.
11027         * sysdeps/x86_64/sysdep.h: Likewise.
11028         * sysdeps/sh/_mcount.S: Likewise.
11029         * sysdeps/sh/sysdep.h: Likewise.
11030         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11031         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11032         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11033         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11034         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11035         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11036         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11037         * locale/localeinfo.h: Likewise.
11038         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11039         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11041 2012-07-09  Roland McGrath  <roland@hack.frob.com>
11043         [BZ #14336]
11044         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11045         system".
11046         * manual/message.texi (The Uniforum approach): Likewise.
11047         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11048         (glibc iconv Implementation): Likewise.
11050 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11052         [BZ #14337]
11053         * math/s_clog.c (__clog): Avoid scaling a value down where that
11054         could result in underflow.
11055         * math/s_clog10.c (__clog10): Likewise.
11056         * math/s_clog10f.c (__clog10f): Likewise.
11057         * math/s_clog10l.c (__clog10l): Likewise.
11058         * math/s_clogf.c (__clogf): Likewise.
11059         * math/s_clogl.c (__clogl): Likewise.
11060         * math/libm-test.inc (clog_test): Add more tests.
11061         (clog10_test): Likewise.
11062         * sysdeps/i386/fpu/libm-test-ulps: Update.
11063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11065 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11067         [BZ #14283]
11068         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11069         by 7 not 8 to examine high bit of fractional part.
11071         [BZ #14042]
11072         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11073         for call to __mcount_internal.
11074         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11075         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11076         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11078 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11080         [BZ #14154]
11081         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11082         approximation for values within 0x1p-13f of an odd multiple of
11083         pi/4.
11084         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11085         exception.  Add more tests.
11086         * sysdeps/i386/fpu/libm-test-ulps: Update.
11088         [BZ #6778]
11089         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11090         inputs and return -1 for them.  Do not check for +Inf in case not
11091         reachable for +Inf.
11092         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11093         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11094         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11095         and return -1 for them.  Do not check for +Inf in case not
11096         reachable for +Inf.
11097         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11098         define.
11099         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11100         and return -1 for them.  Do not check for +Inf in case not
11101         reachable for +Inf.
11102         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11103         spurious underflow.
11104         * sysdeps/i386/fpu/libm-test-ulps: Update.
11105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11107 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11109         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11111 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11113         [BZ #14157]
11114         [BZ #14331]
11115         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11116         could result in spurious underflow.  Scale down values above
11117         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11118         * math/s_csqrtf.c (__csqrtf): Likewise.
11119         * math/s_csqrtl.c (__csqrtl): Likewise.
11120         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11121         spurious underflow.
11122         * sysdeps/i386/fpu/libm-test-ulps: Update.
11123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11125 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11127         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11128         xopen-msg.sed.
11129         * catgets/xopen-msg.awk: New file.
11130         * catgets/xopen-msg.sed: Removed.
11132         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11133         po2text.sed.
11134         * intl/po2test.awk: New file.
11135         * intl/po2test.sed: Removed.
11137 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11139         [BZ #14328]
11140         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11141         or multiply small sinh result by itself.
11142         * math/s_ctanf.c (__ctanf): Likewise.
11143         * math/s_ctanh.c (__ctanh): Likewise.
11144         * math/s_ctanhf.c (__ctanhf): Likewise.
11145         * math/s_ctanhl.c (__ctanhl): Likewise.
11146         * math/s_ctanl.c (__ctanl): Likewise.
11147         * math/libm-test.inc (ctan_test_tonearest): New function.
11148         (ctan_test_towardzero): Likewise.
11149         (ctan_test_downward): Likewise.
11150         (ctan_test_upward): Likewise.
11151         (ctanh_test_tonearest): Likewise.
11152         (ctanh_test_towardzero): Likewise.
11153         (ctanh_test_downward): Likewise.
11154         (ctanh_test_upward): Likewise.
11155         (main): Call these new functions.
11156         * sysdeps/i386/fpu/libm-test-ulps: Update.
11157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11159 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11161         * .gitignore: Delete /ports entry.
11163 2012-07-03  Andreas Jaeger  <aj@suse.de>
11165         * po/bg.po: Update from translation team.
11166         * po/cs.po: Likewise.
11167         * po/de.po: Likewise.
11168         * po/hr.po: Likewise.
11169         * po/nl.pl: Likewise.
11170         * po/pl.po: Likewise.
11171         * po/vi.po: Likewise.
11173 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11175         * Makeconfig [!+link] (+link-before-libc): New variable.
11176         [!+link] (+link-after-libc): Likewise.
11177         [!+link] (+link-tests): Likewise.
11178         [!+link] (+link): Define in terms of $(+link-before-libc) and
11179         $(+link-after-libc).
11180         [!+link-static] (+link-static-before-libc): New variable.
11181         [!+link-static] (+link-static-after-libc): Likewise.
11182         [!+link-static] (+link-static-tests): Likewise.
11183         [!+link-static] (+link-static): Define in terms of
11184         $(+link-static-before-libc) and $(+link-static-after-libc).
11185         [build-shared] (link-libc-before-gnulib): New variable.
11186         [build-shared] (link-libc-tests): Likewise.
11187         [build-shared] (link-libc): Define in terms of
11188         $(link-libc-before-gnulib).
11189         [!build-shared] (link-libc-tests): New variable.
11190         (link-libc-static-tests): New variable.
11191         [!gnulib] (gnulib-arch): New variable.
11192         [!gnulib] (gnulib-tests): Likewise.
11193         [!gnulib] (static-gnulib-arch): Likewise.
11194         [!gnulib] (static-gnulib-tests): Likewise.
11195         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11196         Define with "=" instead of ":=".
11197         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11198         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11199         * Rules (binaries-all-notests): New variable.
11200         (binaries-all-tests): Likewise.
11201         (binaries-static-notests): Likewise.
11202         (binaries-static-tests): Likewise.
11203         (binaries-all): Define using $(binaries-all-notests) and
11204         $(binaries-all-tests).
11205         (binaries-static): Define using $(binaries-static-notests) and
11206         $(binaries-static-tests).
11207         (binaries-shared-tests): New variable.
11208         (binaries-shared-notests): Likewise.
11209         (binaries-shared): Remove variable.
11210         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11211         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11212         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11213         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11214         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11215         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11216         * elf/Makefile (sln-modules): New variable.
11217         (extra-objs): Add $(sln-modules:=.o).
11218         (ldconfig-modules): Add static-stubs.
11219         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11220         * elf/static-stubs.c: New file.
11222         [BZ #14283]
11223         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11224         by 7 not 8 to examine high bit of fractional part.  Use volatile
11225         variables when splitting into final array of floats if
11226         __FLT_EVAL_METHOD__ != 0.
11227         * math/libm-test.inc (cos_test): Add another test.
11228         (sin_test): Likewise.
11229         * sysdeps/i386/fpu/libm-test-ulps: Update.
11231         [BZ #14273]
11232         * math/libm-test.inc (cosh_test): Add more tests.
11234         * version.h (RELEASE): Set to "development".
11235         (VERSION): Set to "2.16.90".
11237 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11239         * NEWS: Update copyright. Remove last-updated date.
11240         Mention math library bug fixes and timezone data changes.
11241         * README: Mention GNU/Hurd, x32, and HPPA support status.
11243 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11245         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11247 2012-06-27  Andreas Jaeger  <aj@suse.de>
11249         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11251 2012-06-25  Andreas Jaeger  <aj@suse.de>
11253         * sysdeps/s390/fpu/libm-test-ulps: Update.
11255 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11256             Thomas Schwinge  <thomas@codesourcery.com>
11258         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11259         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11260         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11261         fanotify_mark.
11263 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11265         * sysdeps/mach/start.c: Remove file.
11266         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11267         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11268         * sysdeps/sh/init-first.c: Likewise.
11270         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11271         registers for frame unwinding purposes, add CFI directives.
11272         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11273         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11274         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11275         Likewise.
11277         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11278         __fortify_fail returning.
11279         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11281         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11282         sysdeps/sh/____longjmp_chk.S.
11283         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11284         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11285         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11286         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11288         * sysdeps/sh/abort-instr.h: New file.
11289         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11290         process in case exit returns.
11292         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11293         initialize the GOT register before use.
11295         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11296         calculation of ARGC > 4.
11298         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11299         meaningful names to some local labels.
11301 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11302             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11304         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11305         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11306         (__arch_compare_and_exchange_val_16_acq): Likewise.
11307         (__arch_compare_and_exchange_val_32_acq): Likewise.
11308         (atomic_exchange_and_add): Fix gUSA sequence.
11309         (atomic_add): Likewise.
11310         (atomic_add_negative): Likewise.
11311         (atomic_add_zero): Likewise.
11312         (atomic_bit_test_set): Likewise.
11314 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11316         [BZ #13579]
11317         * include/link.h (struct link_map): Add l_free_initfini.
11318         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11319         l_initfini.
11320         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11321         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11322         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11323         set.
11325 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11327         * configure.in: Use AC_LANG_SOURCE.
11328         * configure: Regenerate.
11330 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11332         * configure.in (libc_cv_localstatedir): New substituted variable.
11333         * configure: Regenerated.
11334         * config.make.in (localstatedir): New variable, substituted from
11335         libc_cv_localstatedir.
11336         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11337         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11338         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11339         * sysdeps/gnu/configure: Regenerated.
11341 2012-06-21  Jeff Law  <law@redhat.com>
11343         [BZ #14277]
11344         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11345         free.  Simplify list management for _LIBC case.
11347 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11349         [BZ #14273]
11350         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11351         Clear sign bit of 64-bit integer value before comparing against
11352         overflow value.
11354         * sysdeps/mach/configure: Regenerated.
11356 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11358         [BZ #14278]
11359         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11361 2012-06-21  Jeff Law  <law@redhat.com>
11363         [BZ #13882]
11364         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11365         uint16_t for elements in the "seen" array to avoid char overflows.
11366         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11367         * elf/dl-open.c (dl_open_worker): Likewise.
11369 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11371         * scripts/list-sources.sh: Scan PORTS for translations.
11372         * po/libc.pot: Regenerated.
11374 2012-06-21  Andreas Jaeger  <aj@suse.de>
11376         [BZ #12194]
11377         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11378         warning.
11379         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11380         * bits/byteswap-16.h (__bswap_16): Likewise.
11381         * bits/byteswap.h (__bswap_constant_16): Likewise.
11383 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11385         [BZ #14117]
11386         * sysdeps/i386/fpu_control.h: Removed.
11387         * sysdeps/x86_64/fpu_control.h: Moved to ...
11388         * sysdeps/x86/fpu_control.h: Here.
11390         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11391         (_FPU_SETCW): Likewise.
11393 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11395         [BZ #14117]
11396         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11397         * sysdeps/x86/fpu/bits/mathinline.h: This.
11398         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11400         [BZ #14050]
11401         [BZ #14117]
11402         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11403         functions if __x86_64__ is defined.
11405 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11407         * string/endian.h: Add !__ASSEMBLER__ condition for including
11408         conversion interfaces.
11410 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11412         [BZ #14241]
11413         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11414         of ABS(x) in calculating zero to negative powers other than odd
11415         integers.
11416         * math/libm-test.inc (pow_test): Add more tests.
11418 2012-06-15  Andreas Jaeger  <aj@suse.de>
11420         * manual/contrib.texi (Contributors): Update entry of Liubov
11421         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11422         Machado Filho.
11424 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11426         * string/string.h: Add __wur to GNU version of strerror_r.
11428 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11430         [BZ #14229]
11431         * string/Makefile (tests): Add tst-strtok_r.
11432         * string/tst-strtok_r.c: New file.
11433         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11434         RAX_LP/RDX_LP on SAVE_PTR.
11436 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11438         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11440 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11442         * libm_test.inc (csqrt_test): Allow more spurious underflow
11443         exceptions.
11444         (j0_test): Likewise.
11445         (j1_test): Likewise.
11446         (y0_test): Likewise.
11447         (y1_test): Likewise.
11449 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11451         * po/Makefile (libc.pot): Use UTF-8 charset.
11453 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11455         [BZ #14210]
11456         Suppress sign-conversion warning from FD_SET.
11457         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11458         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11459         not unsigned long int.
11460         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11462 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11464         [BZ #14050]
11465         [BZ #14117]
11466         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11467         __extern_always_inline instead of __extern_inline.
11468         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11469         (__signbit): Likewise.
11470         (__signbitl): Support C++ namespace.
11471         (lrintf): New inline function.
11472         (lrint): Likewise.
11473         (llrintf): Likewise.
11474         (llrint): Likewise.
11475         (fmaxf): Likewise.
11476         (fmax): Likewise.
11477         (fminf): Likewise.
11478         (fmin): Likewise.
11479         (rint): Likewise.
11480         (rintf): Likewise.
11481         (ceil): Likewise.
11482         (ceilf): Likewise.
11483         (floor): Likewise.
11484         (floorf): Likewise.
11485         (nearbyint): Likewise.
11486         (nearbyintf): Likewise.
11488 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11490         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11491         non-default versions.
11493 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11495         [BZ #14218]
11496         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11498 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11500         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11501         (FE_UPWARD, FE_DOWNWARD): Don't define.
11502         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11503         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11505         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11506         reading it.
11507         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11508         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11510 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11512         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11513         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11514         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11515         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11517 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11519         [BZ #14117]
11520         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11521         * sysdeps/i386/fpu/Implies: New file.
11522         * sysdeps/x86_64/fpu/Implies: Likewise.
11523         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11524         * sysdeps/x86/fpu/bits/fenv.h: This.
11526         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11527         __SSE_MATH__.
11529 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11531         [BZ #14134]
11532         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11533         character 0xffff that matches the last element of the
11534         conversion table.
11536 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11538         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11539         fmodl commit.
11541 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11543         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11544         values higher than 25.6283.
11546 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11548         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11549         subnormal exponent extraction and add some __builtin_expect.
11550         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11551         Fix for subnormal mantissa calculation.
11553 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11555         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11556         cpu2 is -1 and errno is not ENOSYS.
11558 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11560         [BZ #14117]
11561         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11562         * sysdeps/x86/bits/string.h: This.
11563         * sysdeps/x86_64/bits/string.h: Removed.
11565         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11566         if not compiling for x86-64, but compiling for >= i486.
11568         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11569         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11571         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11572         New macro from Linux kernel 3.4.0.
11573         (FP_XSTATE_MAGIC2): Likewise.
11574         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11575         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11576         (struct _fpx_sw_bytes): New struct.
11577         (struct _xsave_hdr): Likewise.
11578         (struct _ymmh_state): Likewise.
11579         (struct _xstate): Likewise.
11581         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11582         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11583         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11584         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11585         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11586         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11588         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11589         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11590         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11591         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11592         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11593         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11595 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11597         [BZ #13743]
11598         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11599         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11600         (sysdep_headers): Include sys/platform/ppc.h.
11601         * sysdeps/powerpc/test-gettimebase.c: Test for
11602         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11603         * manual/Makefile (appendices): Include platform.texi.
11604         * manual/contrib.texi (Contributors): Update @node pointers.
11605         * manual/maint.texi (Maintenance): Likewise.
11606         (Platform): New node.
11607         * manual/platform.texi: New file.  Document the new features.
11609 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11610             Jakub Jelinek  <jakub@redhat.com>
11612         [BZ #14188]
11613         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11614         where __builtin_expect is unavailable.
11616 2012-06-03  David S. Miller  <davem@davemloft.net>
11618         * stdlib/longlong.h: Updated from GCC.
11620 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11622         [BZ #14042]
11623         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11624         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11625         __mcount_internal.
11626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11627         (GLIBC_2.16): Likewise.
11629 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11631         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11633 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11636         (default-abi): New variable.
11637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11638         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11639         variable.
11640         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11641         Likewise.
11642         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11643         Likewise.
11644         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11645         Likewise.
11647         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11648         definition.  Document in comment.
11650 2012-06-01  David S. Miller  <davem@davemloft.net>
11652         * stdlib/longlong.h: Updated from GCC.
11654 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11656         [BZ #14117]
11657         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11658         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11659         sys/debugreg.h sys/io.h here.
11660         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11661         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11662         sys/io.h.
11663         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11664         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11665         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11666         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11667         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11668         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11670         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11671         Define only if __x86_64__ is defined.
11673 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11675         [BZ #14048]
11676         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11677         Use int64_t for variable i.
11678         * math/libm-test.inc (fmod_test): Add more tests.
11680         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11681         z computation is not scheduled after fetestexcept.
11682         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11683         Use math_force_eval instead of asm to ensure calculation scheduled
11684         before exception test.
11685         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11686         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11688 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11691         computation is not scheduled after fetestexcept.
11693 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11695         [BZ #14117]
11696         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11697         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11699 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11701         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11702         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11704 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11706         [BZ #14117]
11707         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11708         <bits/wordsize.h>.
11709         (__WCHAR_MIN): Support __WORDSIZE == 64.
11710         (__WCHAR_MAX): Likewise.
11712         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11713         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11715         [BZ #14183]
11716         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11717         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11719         [BZ #14117]
11720         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11721         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11723         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11724         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11726         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11727         Defined to 1 if __x86_64__ isn't defined.
11728         (_STAT_VER_LINUX_OLD): New.
11729         (st_atime): Remove duplicate.
11730         (st_mtime): Likewise.
11731         (st_ctime): Likewise.
11733 2012-05-31  David S. Miller  <davem@davemloft.net>
11735         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11736         entries.
11738 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11740         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11741         gen-libm-test.pl.
11743         [BZ #14132]
11744         * elf/dl-reloc.c: Include <_itoa.h>.
11745         (_dl_reloc_bad_type): Remove use of INTUSE.
11746         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11747         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11748         * stdio-common/psiginfo.c (psiginfo): Likewise.
11749         * stdio-common/psignal.c (psignal): Likewise.
11750         * string/strsignal.c (strsignal): Likewise.
11751         * include/signal.h (_sys_siglist): Declare hidden proto.
11752         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11753         INTVARDEF with libc_hidden_data_def.
11754         * stdio-common/itoa-udigits.c: Likewise.
11755         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11756         (_itoa_lower_digits_internal): Remove declaration.
11757         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11758         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11759         (_sys_sigabbrev_internal): Remove aliases.
11760         (_sys_siglist): Define hidden alias.
11762 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11764         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11765         bits/sysctl.h.
11767 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11769         [BZ #14117]
11770         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11771         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11773         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11774         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11775         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11776         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11777         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11778         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11780         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11781         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11782         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11784         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11785         with __addr.
11786         (insw): Likewise.
11787         (insl): Likewise.
11788         (outsb): Likewise.
11789         (outsw): Likewise.
11790         (outsl): Likewise.
11792         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11793         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11794         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11796         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11797         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11798         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11799         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11800         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11801         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11803         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11804         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11806         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11807         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11809         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11810         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11811         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11813         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11814         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11815         to ...
11816         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11818         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11819         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11820         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11822         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11823         for x86-64.
11824         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11826 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11828         * math/math.h (M_El): Use two more decimal places.
11829         (M_LOG2El): Likewise.
11830         (M_LOG10El): Likewise.
11831         (M_LN2l): Likewise.
11832         (M_LN10l): Likewise.
11833         (M_PIl): Likewise.
11834         (M_PI_2l): Likewise.
11835         (M_PI_4l): Likewise.
11836         (M_1_PIl): Likewise.
11837         (M_2_PIl): Likewise.
11838         (M_2_SQRTPIl): Likewise.
11839         (M_SQRT2l): Likewise.
11840         (M_SQRT1_2l): Likewise.
11842 2012-05-31  David S. Miller  <davem@davemloft.net>
11844         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11845         values between float registers.
11846         * sysdeps/sparc/sparc64/memset.S: Likewise.
11847         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11849 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11851         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11852         -D_FORTIFY_SOURCE=1.
11853         (CPPFLAGS-tst-longjmp_chk.c): Define.
11854         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11855         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11856         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11857         CFLAGS-tst-wchar-h.c.
11859 2012-05-31  Marek Polacek  <polacek@redhat.com>
11861         [BZ #14132]
11862         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11863         __endmntent_internal): Remove declaration.
11864         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11865         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11866         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11868 2012-05-30  David S. Miller  <davem@davemloft.net>
11870         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11871         (___Q_simulate_exceptions): Use real FP ops rather than writing
11872         into the %fsr.
11873         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11874         Likewise.
11876 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11878         [BZ #14117]
11879         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11880         * sysdeps/x86/bits/xtitypes.h: This.
11882         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11883         * sysdeps/x86/bits/wordsize.h: This.
11885         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11886         * sysdeps/x86/bits/huge_vall.h: This.
11888         * sysdeps/i386/bits/select.h: Removed.
11889         * sysdeps/x86_64/bits/select.h: Renamed to ...
11890         * sysdeps/x86/bits/select.h: This.
11892         * sysdeps/i386/bits/setjmp.h: Removed.
11893         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11894         * sysdeps/x86/bits/setjmp.h: This.
11896         * sysdeps/i386/bits/mathdef.h: Removed.
11897         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11898         * sysdeps/x86/bits/mathdef.h: This.
11900 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11902         [BZ #14132]
11903         * include/sys/socket.h (__connect_internal)
11904         (__libc_sa_len_internal): Remove declaration.
11905         (__connect, __libc_sa_len): Declare hidden_proto.
11906         (SA_LEN): Remove use of INTUSE.
11907         * socket/connect.c: Add libc_hidden_def.
11908         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11909         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11910         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11911         alias.
11912         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11913         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11914         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11915         of adding _internal alias.
11917 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11919         [BZ #14117]
11920         * sysdeps/i386/bits/link.h: Removed.
11921         * sysdeps/i386/bits/linkmap.h: Likewise.
11922         * sysdeps/x86_64/bits/link.h: Renamed to ...
11923         * sysdeps/x86/bits/link.h: This.
11924         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11925         * sysdeps/x86/bits/linkmap.h: This.
11927         * sysdeps/i386/bits/endian.h: Removed.
11928         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11929         * sysdeps/x86/bits/endian.h: This.
11931         * sysdeps/i386/bits/byteswap.h: Removed.
11932         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11933         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11934         * sysdeps/x86/bits/byteswap.h: This.
11935         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11936         * sysdeps/x86/bits/byteswap-16.h: This.
11937         * sysdeps/i386/Implies: Add x86.
11938         * sysdeps/x86_64/Implies: Likewise.
11940 2012-05-30  David S. Miller  <davem@davemloft.net>
11942         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11943         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11944         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11945         (FP_TRAPPING_EXCEPTIONS): Define.
11946         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11947         (FP_TRAPPING_EXCEPTIONS): Define.
11948         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11949         subnormals only when inexact has been signalled or underflow
11950         exceptions are enabled.
11951         (_FP_PACK_CANONICAL): Likewise.
11953 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11955         [BZ #14183]
11956         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11957         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11959 2012-05-30  Richard Henderson  <rth@twiddle.net>
11961         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11962         with #ifndef NOT_IN_libc.
11964         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11965         marked to avoid plt entry.
11967 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11969         [BZ #14112]
11970         * Makeconfig (default-abi): New macro.
11971         (abi-includes): Likewise.
11972         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11973         $(abi-$(default-abi)-lib-soname) for soname if defined.
11974         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11975         abi-variants.
11976         * Makefile (installed-stubs): Likewise.
11977         * include/stubs-biarch.h: Removed.
11978         * scripts/lib-names.awk: Only handle one library at a time.
11979         * scripts/soversions.awk: Remove WORDSIZE support.
11980         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11981         entries.
11982         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11983         Removed.
11984         (syscall-list-default-condition): Likewise.
11985         (syscall-list-default-condition): Likewise.
11986         (syscall-list-includes): Likewise.
11987         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11988         syscall-list-* with abi-*.  Handle undefined abi-variants.
11989         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11990         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11991         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11992         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11993         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11994         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11995         Removed.
11996         (syscall-list-32-options): Likewise.
11997         (syscall-list-32-condition): Likewise.
11998         (syscall-list-64-options): Likewise.
11999         (syscall-list-64-condition): Likewise.
12000         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12001         macro.
12002         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12003         Renamed to ...
12004         (abi-*): This.
12005         (abi-64-ld-soname): New macro.
12006         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12007         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12008         Renamed to ...
12009         (abi-*): This.
12010         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12011         * sysdeps/x86_64/x32/shlib-versions: Likewise.
12013 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
12015         * sysdeps/unix/sysv/linux/kernel-features.h
12016         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12017         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12018         include <kernel-features.h>.
12019         [!__NR_ftruncate64]: Remove conditional code.
12020         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12021         [__NR_ftruncate64]: Make code unconditional.
12022         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12023         * sysdeps/unix/sysv/linux/truncate64.c: Do not
12024         include <kernel-features.h>.
12025         [!__NR_ftruncate64]: Remove conditional code.
12026         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12027         [__NR_ftruncate64]: Make code unconditional.
12028         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12030         include <kernel-features.h>.
12031         [!__NR_ftruncate64]: Remove conditional code.
12032         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12033         [__NR_ftruncate64]: Make code unconditional.
12034         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12036         include <kernel-features.h>.
12037         [!__NR_ftruncate64]: Remove conditional code.
12038         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12039         [__NR_ftruncate64]: Make code unconditional.
12040         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12042         * configure.in (libc_cv_fpie): Weaken to a compile test using
12043         LIBC_TRY_CC_OPTION.
12044         * configure: Regenerated.
12046 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12052         Refreshed.
12053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12059         Refreshed.
12061 2012-05-27  David S. Miller  <davem@davemloft.net>
12063         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12064         (___Q_zero): New.
12065         (__Q_simulate_exceptions): Return void.  Change to simulate
12066         exceptions by writing into the %fsr.
12067         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12068         (__Qp_handle_exceptions): Likewise.
12069         (numbers): Delete.
12070         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12071         __Qp_handle_exceptions.
12072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12073         __Qp_handle_exceptions.
12074         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12075         as unused and give dummy FP_RND_NEAREST initializer.
12076         (FP_INHIBIT_RESULTS): Define.
12077         (___Q_simulate_exceptions): Update declaration.
12078         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12079         formatting.
12080         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12081         as unused and give dummy FP_RND_NEAREST initializer.
12082         (__Qp_handle_exceptions): Update declaration.
12083         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12084         formatting.
12086 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12088         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12089         the temporary FPU control word.
12090         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12091         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12092         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12093         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12094         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12095         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12096         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12097         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12098         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12099         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12100         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12102 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12104         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12105         fields.
12107 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12109         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12110         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12111         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12112         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12113         Likewise.
12114         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12115         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12116         Likewise.
12118 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12120         * po/h.po: Update from translation team.
12122 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12124         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12126         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12127         handling of denormals.
12128         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12129         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12130         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12131         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12132         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12133         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12134         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12135         Likewise.
12137 2012-05-26  Marek Polacek  <polacek@redhat.com>
12139         [BZ #14152]
12140         * math/libm-test.inc (fma_test): Don't always expect underflow
12141         exception.
12143 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12145         [BZ #12416]
12146         * elf/tst-execstack.c: Include stackinfo.h.
12147         (do_test): Adjust test case to ensure that pthread_getattr_np
12148         behaviour remains the same after marking stack executable.
12150 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12152         * sysdeps/unix/sysv/linux/kernel-features.h
12153         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12154         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12155         kernel-features.h.
12156         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12157         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12158         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12159         kernel-features.h.
12160         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12161         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12163 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12165         * configure.in: Define the default includes to being none.
12166         * configure: Regenerated.
12168 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12170         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12171         * sysdeps/x86_64/setjmp.S: Likewise.
12172         * sysdeps/i386/bsd-setjmp.S: Likewise.
12173         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12174         * sysdeps/i386/setjmp.S: Likewise.
12175         * sysdeps/i386/__longjmp.S: Likewise.
12176         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12177         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12179         * include/stap-probe.h: New file.
12180         * configure.in: Handle --enable-systemtap.
12181         * configure: Regenerated.
12182         * config.h.in (USE_STAP_PROBE): New #undef.
12183         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12184         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12185         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12187 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12189         [BZ #13717]
12190         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12191         to 2.4.0 where earlier.
12192         * sysdeps/unix/sysv/linux/configure: Regenerated.
12193         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12194         <kernel-features.h>.
12195         [__ASSUME_32BITUIDS]: Make code unconditional.
12196         [!__ASSUME_32BITUIDS]: Remove conditional code.
12197         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12198         <kernel-features.h>.
12199         [__ASSUME_32BITUIDS]: Make code unconditional.
12200         [!__ASSUME_32BITUIDS]: Remove conditional code.
12201         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12202         [__ASSUME_32BITUIDS]: Make code unconditional.
12203         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12204         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12205         <kernel-features.h>.
12206         [__ASSUME_32BITUIDS]: Make code unconditional.
12207         [!__ASSUME_32BITUIDS]: Remove conditional code.
12208         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12209         <kernel-features.h>.
12210         [__ASSUME_32BITUIDS]: Make code unconditional.
12211         [!__ASSUME_32BITUIDS]: Remove conditional code.
12212         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12213         <kernel-features.h>.
12214         [__ASSUME_32BITUIDS]: Make code unconditional.
12215         [!__ASSUME_32BITUIDS]: Remove conditional code.
12216         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12217         <kernel-features.h>.
12218         [__ASSUME_32BITUIDS]: Make code unconditional.
12219         [!__ASSUME_32BITUIDS]: Remove conditional code.
12220         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12221         <kernel-features.h>.
12222         [__ASSUME_32BITUIDS]: Make code unconditional.
12223         [!__ASSUME_32BITUIDS]: Remove conditional code.
12224         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12225         <kernel-features.h>.
12226         [__ASSUME_32BITUIDS]: Make code unconditional.
12227         [!__ASSUME_32BITUIDS]: Remove conditional code.
12228         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12229         <kernel-features.h>.
12230         [__ASSUME_32BITUIDS]: Make code unconditional.
12231         [!__ASSUME_32BITUIDS]: Remove conditional code.
12232         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12233         <kernel-features.h>.
12234         [__ASSUME_32BITUIDS]: Make code unconditional.
12235         [!__ASSUME_32BITUIDS]: Remove conditional code.
12236         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12237         <kernel-features.h>.
12238         [__ASSUME_32BITUIDS]: Make code unconditional.
12239         [!__ASSUME_32BITUIDS]: Remove conditional code.
12240         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12241         <kernel-features.h>.
12242         [__ASSUME_32BITUIDS]: Make code unconditional.
12243         [!__ASSUME_32BITUIDS]: Remove conditional code.
12244         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12245         <kernel-features.h>.
12246         [__NR_setresgid] (__setresgid): Do not declare.
12247         [__ASSUME_32BITUIDS]: Make code unconditional.
12248         [!__ASSUME_32BITUIDS]: Remove conditional code.
12249         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12250         <kernel-features.h>.
12251         [__NR_setresuid] (__setresuid): Do not declare.
12252         [__ASSUME_32BITUIDS]: Make code unconditional.
12253         [!__ASSUME_32BITUIDS]: Remove conditional code.
12254         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12255         <kernel-features.h>.
12256         [__ASSUME_32BITUIDS]: Make code unconditional.
12257         [!__ASSUME_32BITUIDS]: Remove conditional code.
12258         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12259         <kernel-features.h>.
12260         [__ASSUME_32BITUIDS]: Make code unconditional.
12261         [!__ASSUME_32BITUIDS]: Remove conditional code.
12262         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12263         <kernel-features.h>.
12264         [__ASSUME_32BITUIDS]: Make code unconditional.
12265         [!__ASSUME_32BITUIDS]: Remove conditional code.
12266         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12267         <kernel-features.h>.
12268         [__ASSUME_32BITUIDS]: Make code unconditional.
12269         [!__ASSUME_32BITUIDS]: Remove conditional code.
12270         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12271         <kernel-features.h>.
12272         [__ASSUME_32BITUIDS]: Make code unconditional.
12273         [!__ASSUME_32BITUIDS]: Remove conditional code.
12274         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12275         <kernel-features.h>.
12276         [__ASSUME_32BITUIDS]: Make code unconditional.
12277         [!__ASSUME_32BITUIDS]: Remove conditional code.
12278         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12279         <kernel-features.h>.
12280         [__ASSUME_32BITUIDS]: Make code unconditional.
12281         [!__ASSUME_32BITUIDS]: Remove conditional code.
12282         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12283         <kernel-features.h>.
12284         [__ASSUME_32BITUIDS]: Make code unconditional.
12285         [!__ASSUME_32BITUIDS]: Remove conditional code.
12286         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12287         <kernel-features.h>.
12288         [__ASSUME_32BITUIDS]: Make code unconditional.
12289         [!__ASSUME_32BITUIDS]: Remove conditional code.
12290         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12291         <kernel-features.h>.
12292         [__ASSUME_32BITUIDS]: Make code unconditional.
12293         [!__ASSUME_32BITUIDS]: Remove conditional code.
12294         * sysdeps/unix/sysv/linux/kernel-features.h
12295         (__ASSUME_SETRESUID_SYSCALL): Remove.
12296         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12297         (__ASSUME_32BITUIDS): Likewise.
12298         (__ASSUME_LDT_WORKS): Likewise.
12299         (__ASSUME_O_DIRECTORY): Likewise.
12300         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12301         architecture but not kernel version.
12302         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12303         (__ASSUME_MMAP2_SYSCALL): Likewise.
12304         (__ASSUME_STAT64_SYSCALL): Likewise.
12305         (__ASSUME_IPC64): Likewise.
12306         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12307         <kernel-features.h>.
12308         [__ASSUME_32BITUIDS]: Make code unconditional.
12309         [!__ASSUME_32BITUIDS]: Remove conditional code.
12310         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12311         <kernel-features.h>.
12312         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12313         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12314         132096]: Remove conditional code.
12315         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12316         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12317         <kernel-features.h>.
12318         [__ASSUME_32BITUIDS]: Make code unconditional.
12319         [!__ASSUME_32BITUIDS]: Remove conditional code.
12320         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12321         <kernel-features.h>.
12322         [__ASSUME_32BITUIDS]: Make code unconditional.
12323         [!__ASSUME_32BITUIDS]: Remove conditional code.
12324         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12325         <kernel-features.h>.
12326         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12327         unconditional.
12328         (__setresgid): Do not declare.
12329         [__ASSUME_32BITUIDS]: Make code unconditional.
12330         [!__ASSUME_32BITUIDS]: Remove conditional code.
12331         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12332         <kernel-features.h>.
12333         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12334         unconditional.
12335         (__setresuid): Do not declare.
12336         [__ASSUME_32BITUIDS]: Make code unconditional.
12337         [!__ASSUME_32BITUIDS]: Remove conditional code.
12338         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12339         <kernel-features.h>.
12340         [__ASSUME_32BITUIDS]: Make code unconditional.
12341         [!__ASSUME_32BITUIDS]: Remove conditional code.
12342         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12343         <kernel-features.h>.
12344         [__ASSUME_32BITUIDS]: Make code unconditional.
12345         [!__ASSUME_32BITUIDS]: Remove conditional code.
12347 2012-05-25  Richard Henderson  <rth@twiddle.net>
12349         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12350         dl_hwcap to ifunc resolver.
12351         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12352         elf_ifunc_invoke.
12353         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12354         dl_hwcap to ifunc resolver.
12355         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12357 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12359         [BZ #14153]
12360         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12361         for |x| <= 2**-26, not 2**-57.
12362         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12363         exception.
12365 2012-05-24  Jeff Law  <law@redhat.com>
12367         * stdio-common/Makefile (tests): Add bug25.
12368         * stdio-common/bug25.c: New test.
12370 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12372         [BZ #13576]
12373         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12374         multiple of MALLOC_ALIGNMENT in size.
12375         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12377 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12379         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12380         Require >= 256.
12381         (FILENAME_MAX): Use macro-int-constant.
12382         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12383         (_IOFBF): Use macro-int-constant.
12384         (_IOLBF): Likewise.
12385         (_IONBF): Likewise.
12386         (SEEK_CUR): Likewise.
12387         (SEEK_END): Likewise.
12388         (SEEK_SET): Likewise.
12389         (TMP_MAX): Likewise.
12390         (EOF): Use macro-int-constant.  Require < 0.
12391         (NULL): Use macro-constant.  Require == 0.
12392         (stdin): Require type to be FILE *.
12393         (stdout): Likewise.
12394         (stderr): Likewise.
12395         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12396         macro-int-constant.
12397         (EXIT_SUCCESS): Likewise.
12398         (NULL): Use macro-constant.  Require == 0.
12399         (RAND_MAX): Use macro-int-constant.
12400         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12401         [C99-based standards] (strtof): Require function.
12402         [C99-based standards] (strtold): Likewise.
12403         [C99-based standards] (strtoll): Likewise.
12404         [C99-based standards] (strtoull): Likewise.
12405         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12406         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12407         [ISO || ISO99 || ISO11] (math.h): Likewise.
12408         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12409         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12412 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12414         [BZ #14132]
12415         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12416         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12417         * intl/dgettext.c (DCGETTEXT): Likewise.
12418         * intl/gettext.c (DCGETTEXT): Likewise.
12419         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12420         * posix/regex_internal.h (gettext): Likewise.
12421         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12422         Remove declaration.
12423         * include/argz.h (__argz_count_internal)
12424         (__argz_stringify_internal): Remove declaration.
12425         (__argz_count, __argz_stringify): Declare hidden proto.
12426         * intl/dcgettext.c: Remove use of INTDEF.
12427         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12428         * string/argz-stringify.c: Likewise.
12429         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12430         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12431         Declare hidden proto.
12432         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12433         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12434         Declare hidden proto.
12435         * include/stdio.h (__asprintf_internal): Don't declare.
12436         (__asprintf): Don't define as macro.  Declare hidden proto.
12437         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12438         (__fsetlocking): Declare hidden proto.
12439         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12440         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12441         hidden proto.
12442         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12443         (_IO_setlinebuf): Remove use of INTUSE.
12444         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12445         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12446         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12447         Remove declaration.
12448         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12449         (_IO_do_flush): Remove use of INTUSE.
12450         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12451         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12452         (_IO_adjust_column, _IO_least_wmarker)
12453         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12454         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12455         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12456         (_IO_default_doallocate, _IO_wdefault_doallocate)
12457         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12458         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12459         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12460         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12461         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12462         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12463         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12464         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12465         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12466         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12467         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12468         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12469         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12470         proto.
12471         (_IO_flush_all_internal, _IO_adjust_column_internal)
12472         (_IO_default_uflow_internal, _IO_default_finish_internal)
12473         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12474         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12475         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12476         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12477         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12478         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12479         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12480         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12481         (_IO_file_close_internal, _IO_file_close_it_internal)
12482         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12483         (_IO_file_init_internal, _IO_file_attach_internal)
12484         (_IO_file_fopen_internal, _IO_file_read_internal)
12485         (_IO_file_sync_internal, _IO_file_seek_internal)
12486         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12487         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12488         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12489         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12490         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12491         (_IO_list_all_internal, _IO_link_in_internal)
12492         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12493         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12494         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12495         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12496         (_IO_do_write_internal, _IO_padn_internal)
12497         (_IO_getline_info_internal, _IO_getline_internal)
12498         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12499         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12500         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12501         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12502         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12503         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12504         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12505         with libc_hidden_ver, remove use of INTUSE.
12506         * libio/genops.c: Likewise.
12507         * libio/freopen.c: Likewise.
12508         * libio/freopen64.c: Likewise.
12509         * libio/iofclose.c: Likewise.
12510         * libio/iofdopen.c: Likewise.
12511         * libio/iofflush.c: Likewise.
12512         * libio/iofflush_u.c: Likewise.
12513         * libio/iofgets.c: Likewise.
12514         * libio/iofgets_u.c: Likewise.
12515         * libio/iofopen.c: Likewise.
12516         * libio/iofopncook.c: Likewise.
12517         * libio/iofread.c: Likewise.
12518         * libio/iofread_u.c: Likewise.
12519         * libio/ioftell.c: Likewise.
12520         * libio/iofwrite.c: Likewise.
12521         * libio/iogetline.c: Likewise.
12522         * libio/iogets.c: Likewise.
12523         * libio/iogetwline.c: Likewise.
12524         * libio/iopadn.c: Likewise.
12525         * libio/iopopen.c: Likewise.
12526         * libio/ioseekoff.c: Likewise.
12527         * libio/ioseekpos.c: Likewise.
12528         * libio/iosetbuffer.c: Likewise.
12529         * libio/iosetvbuf.c: Likewise.
12530         * libio/ioungetc.c: Likewise.
12531         * libio/ioungetwc.c: Likewise.
12532         * libio/iovdprintf.c: Likewise.
12533         * libio/iovsprintf.c: Likewise.
12534         * libio/iovsscanf.c: Likewise.
12535         * libio/memstream.c: Likewise.
12536         * libio/obprintf.c: Likewise.
12537         * libio/oldfileops.c: Likewise.
12538         * libio/oldiofclose.c: Likewise.
12539         * libio/oldiofdopen.c: Likewise.
12540         * libio/oldiofopen.c: Likewise.
12541         * libio/oldiopopen.c: Likewise.
12542         * libio/oldstdfiles.c: Likewise.
12543         * libio/putc.c: Likewise.
12544         * libio/setbuf.c: Likewise.
12545         * libio/setlinebuf.c: Likewise.
12546         * libio/stdfiles.c: Likewise.
12547         * libio/strops.c: Likewise.
12548         * libio/vasprintf.c: Likewise.
12549         * libio/vscanf.c: Likewise.
12550         * libio/vsnprintf.c: Likewise.
12551         * libio/vswprintf.c: Likewise.
12552         * libio/wfiledoalloc.c: Likewise.
12553         * libio/wfileops.c: Likewise.
12554         * libio/wgenops.c: Likewise.
12555         * libio/wmemstream.c: Likewise.
12556         * libio/wstrops.c: Likewise.
12557         * libio/__fpurge.c: Likewise.
12558         * libio/__fsetlocking.c: Likewise.
12559         * assert/assert.c: Likewise.
12560         * debug/fgets_chk.c: Likewise.
12561         * debug/fgets_u_chk.c: Likewise.
12562         * debug/fread_chk.c: Likewise.
12563         * debug/fread_u_chk.c: Likewise.
12564         * debug/gets_chk.c: Likewise.
12565         * debug/obprintf_chk.c: Likewise.
12566         * debug/vasprintf_chk.c: Likewise.
12567         * debug/vdprintf_chk.c: Likewise.
12568         * debug/vsnprintf_chk.c: Likewise.
12569         * debug/vsprintf_chk.c: Likewise.
12570         * malloc/mtrace.c: Likewise.
12571         * misc/error.c: Likewise.
12572         * misc/syslog.c: Likewise.
12573         * stdio-common/asprintf.c: Likewise.
12574         * stdio-common/fxprintf.c: Likewise.
12575         * stdio-common/getw.c: Likewise.
12576         * stdio-common/isoc99_fscanf.c: Likewise.
12577         * stdio-common/isoc99_scanf.c: Likewise.
12578         * stdio-common/isoc99_vfscanf.c: Likewise.
12579         * stdio-common/isoc99_vscanf.c: Likewise.
12580         * stdio-common/isoc99_vsscanf.c: Likewise.
12581         * stdio-common/printf-prs.c: Likewise.
12582         * stdio-common/printf_fp.c: Likewise.
12583         * stdio-common/printf_fphex.c: Likewise.
12584         * stdio-common/printf_size.c: Likewise.
12585         * stdio-common/putw.c: Likewise.
12586         * stdio-common/scanf.c: Likewise.
12587         * stdio-common/sprintf.c: Likewise.
12588         * stdio-common/tmpfile.c: Likewise.
12589         * stdio-common/vfprintf.c: Likewise.
12590         * stdio-common/vfscanf.c: Likewise.
12591         * stdlib/strfmon_l.c: Likewise.
12592         * sunrpc/openchild.c: Likewise.
12593         * sunrpc/xdr_stdio.c: Likewise.
12594         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12595         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12597 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12599         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12601         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12602         in the third column, to generate for the shared library an IFUNC
12603         that uses _dl_vdso_vsym.
12604         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12605         * Makeconfig (object-suffixes-noshared): New variable.
12607         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12608         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12609         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12610         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12612         [BZ #14132]
12613         * include/sys/time.h (__gettimeofday): Remove macro.
12614         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12615         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12616         Remove INTDEF.
12617         (__gettimeofday): Add libc_hidden_def.
12618         (gettimeofday): Add libc_hidden_weak.
12619         * sysdeps/mach/gettimeofday.c: Likewise.
12620         * sysdeps/posix/gettimeofday.c: Likewise.
12621         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12622         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12624         (__gettimeofday_internal): Remove strong_alias.
12625         (__gettimeofday): Add libc_hidden_def.
12626         (gettimeofday): Add libc_hidden_weak.
12627         * sysdeps/unix/syscalls.list (gettimeofday):
12628         Remove __gettimeofday_internal alias.
12630 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12631             H.J. Lu  <hongjiu.lu@intel.com>
12633         [BZ #12495]
12634         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12635         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12636         (largebin_index_32_big): New.
12637         (largebin_index): Use it for 16-byte alignment.
12638         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12639         correction with front_misalign.
12641 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12645         Likewise.
12646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12647         Likewise.
12648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12649         Likewise.
12650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12651         Likewise.
12652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12653         Likewise.
12654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12655         Likewise.
12656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12657         Likewise.
12658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12659         Likewise.
12660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12661         Likewise.
12662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12663         Likewise.
12664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12665         Likewise.
12666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12667         Likewise.
12669         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12670         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12672 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12674         [BZ #10846]
12675         [BZ #14036]
12676         * math/libm-test.inc (exp_test): Add test from bug 14036.
12677         (pow_test): Add test from bug 10846.
12679         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12680         and other flags.
12681         (special_function): Do not include flags in test name.
12682         (parse_args): Likewise.
12683         * sysdeps/i386/fpu/libm-test-ulps: Update.
12684         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12685         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12686         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12689         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12690         exceptions.
12691         * math/libm-test.inc ("Philosophy"): Update comment about
12692         exception testing.
12693         (UNDERFLOW_EXCEPTION): New macro.
12694         (UNDERFLOW_EXCEPTION_OK): Likewise.
12695         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12696         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12697         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12698         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12699         (INVALID_EXCEPTION_OK): Update value.
12700         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12701         (OVERFLOW_EXCEPTION_OK): Likewise.
12702         (IGNORE_ZERO_INF_SIGN): Likewise.
12703         (test_exceptions): Handle underflow exceptions.
12704         (acos_test): Update for underflow exception expectations.
12705         (cexp_test): Likewise.
12706         (clog_test): Likewise.
12707         (clog10_test): Likewise.
12708         (csqrt_test): Likewise.
12709         (ctan_test): Likewise.
12710         (ctanh_test): Likewise.
12711         (exp_test): Likewise.
12712         (exp10_test): Likewise.
12713         (exp2_test): Likewise.
12714         (expm1_test): Likewise.
12715         (fma_test): Likewise.
12716         (j0_test): Likewise.
12717         (jn_test): Likewise.
12718         (nexttoward_test): Likewise.
12719         (pow_test): Likewise.
12720         (scalbn_test): Likewise.
12721         (scalbln_test): Likewise.
12722         (tan_test): Likewise.
12723         (y1_test): Likewise.
12724         * sysdeps/i386/fpu/libm-test-ulps: Update.
12725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12727 2012-05-23  David S. Miller  <davem@davemloft.net>
12729         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12730         (__libc_sigaction): Remove unused local variables.
12732 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12734         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12736 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12738         mktime: avoid signed integer overflow
12739         * time/mktime.c (__mktime_internal): Do not mishandle the case
12740         where diff == INT_MIN.
12742         mktime: simplify computation of average
12743         * time/mktime.c (ranged_convert): Use new time_t_avg function
12744         instead of rolling our own (probably-slower) code.
12746         mktime: do not assume signed right shift propagates sign bit
12747         * time/mktime.c (isdst_differ): New static function.
12748         (__mktime_internal): No need to normalize tm_isdst now.
12749         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12750         tm_isdst values.
12752         mktime: merge another wrapv change from gnulib
12753         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12754         from some compilers.
12756         mktime: remove incorrect attempt at unusual arithmetics
12757         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12758         The code didn't really work on such machines anyway.
12759         (TYPE_MINIMUM): Assume two's complement.
12760         (twos_complement_arithmetic): Verify that long_int and time_t
12761         are two's complement (or unsigned, in the latter case).
12763         mktime: check signed shifts on long_int and time_t, too
12764         * time/mktime.c (SHR): Check that shifts work as desired
12765         on the types long_int and time_t too, as SHR is used on
12766         such types.
12768         mktime: do not assume 'long' is wide enough
12769         * time/mktime.c (verify): Move decl up.
12770         (long_int): New type.
12771         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12772         to remove assumption in the code that 'long' is wide enough to
12773         store year values.  This assumption is not true on x32 and on
12774         some non-glibc platforms.
12776         mktime: merge wrapv change from gnulib
12777         * time/mktime.c (WRAPV): New macro.
12778         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12779         (guess_time_tm, __mktime_internal): Do not assume that signed
12780         integer overflow wraps around; modern compilers generate code
12781         where this assumption is no longer valid.
12783 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12785         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12786         Replace "jmp L(pseudo_end)" with "ret".
12787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12788         Likewise.
12790 2012-05-23  Andreas Jaeger  <aj@suse.de>
12792         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12793         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12795 2012-05-23  Andreas Jaeger  <aj@suse.de>
12796             Maximilian Attems  <max@stro.at>
12798         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12799         New macros.
12801 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12803         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12804         code so that pseudo_end is just ret and the stack pointer is
12805         correct also for static library in error case.
12807 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12809         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12810         move to syscalls.list.
12811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12816         * manual/install.texi (Running make install): Do not mention Linux
12817         kernel version for which pt_chown is not needed.
12818         (Linux): Do not mention problems with nscd with 2.0 kernels.
12819         * INSTALL: Regenerated.
12821 2012-05-23  Andreas Jaeger  <aj@suse.de>
12823         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12824         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12825         macro.
12826         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12827         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12828         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12829         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12830         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12831         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12832         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12833         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12834         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12835         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12836         * sysdeps/unix/sysv/linux/bits/in.h
12837         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12839 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12841         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12842         (PREPARE_VERSION): Just use assert instead, it will be elided
12843         under [NDEBUG] anyway.
12845 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12847         * sysdeps/unix/sysv/linux/Makefile: Include
12848         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12849         (sysdep_routines): Remove sysctl.
12850         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12851         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12852         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12853         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12854         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12856 2012-05-22  Andreas Jaeger  <aj@suse.de>
12858         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12859         that pseudo_end is just ret and the stack pointer is correct also
12860         for static library in error case.
12862 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12864         [BZ #14122]
12865         * nss/nsswitch.c (defconfig_entries): New variable.
12866         (__nss_database_lookup): Don't leak defconfig entries.
12867         (nss_parse_service_list): Don't leak on error paths.
12868         (free_database_entries): New function.
12869         (free_defconfig): New function.
12870         (free_mem): Move common code to free_database_entries.
12872 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12874         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12875         Add arch_prctl.
12876         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12878         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12879         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12881         New macro.
12882         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12883         (INTERNAL_SYSCALL_TYPES): Likewise.
12884         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12885         (LOAD_REGS_TYPES_[1-6]): Likewise.
12886         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12887         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12889 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12891         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12892         copysignl for GLIBC_2_0.
12893         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12894         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12895         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12896         logbl for GLIBC_2_0.
12897         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12898         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12900 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12902         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12903         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12905         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12906         Use "neg %eax".
12908         * time/mktime.c: Update copyright years.
12910 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12912         mktime: merge comment-quoting-style change from gnulib
12913         * time/mktime.c: Quote 'like this' in comments.
12914         The GNU coding standards suggest that we no longer quote `like this',
12915         as "`" and "'" are typically rendered asymmetrically nowadays.
12916         The typical gnulib style is to quote 'like this' when quoting
12917         code, and "like this" when quoting English.
12919         * time/mktime.c (compile-command): Add "-I.".
12921         mktime: merge mktime-internal.h change from gnulib
12922         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12924         mktime: merge time_r change from gnulib
12925         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12927         mktime: merge DEBUG change from gnulib
12928         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12929         case system <time.h> has a #define.
12931         mktime: merge <sys/types.h> change from gnulib
12932         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12933         since <time.t> is now guaranteed to define time_t.
12935         mktime: merge HAVE_CONFIG_H change from gnulib
12936         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12938 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12940         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12941         Use "neg %eax".
12943         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12944         __rlim_t cast.
12945         (struct rusage): Use anonymous union to pad each field to
12946         __syscall_slong_t.
12948 2012-05-21  David S. Miller  <davem@davemloft.net>
12950         * Makefules (o-iterator): Remove .s cases.
12951         (compile-command.s): Delete.
12952         (COMPILE.s): Delete.
12953         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12955 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12957         * configure.in (libc_cv_predef_stack_protector): Only consider
12958         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12959         * configure: Regenerated.
12961 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12964         New macro.  Use R*LP on int and pointer.
12965         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12966         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12967         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12968         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12970         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12971         [__WORDSIZE_TIME64_COMPAT32] instead of
12972         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12973         (struct utmp): Likewise.
12974         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12975         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12976         Renamed to ...
12977         (__WORDSIZE_TIME64_COMPAT32): This.
12978         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12979         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12980         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12981         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12982         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12983         (__WORDSIZE_TIME64_COMPAT32): New macro.
12985 2012-05-21  Andreas Jaeger  <aj@suse.de>
12987         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12988         only if [SHARED]. Add prototype for __wcschr_ia32.
12990 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12992         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12993         of %rbp unmolested in the jmp_buf while mangling the low bits.
12994         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12995         unmolested high bits of %rbp while demangling the low bits.
12996         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12998 2012-05-21  Andreas Jaeger  <aj@suse.de>
13000         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13001         * sunrpc/svc_simple.c: Use it for registerrpc.
13002         * sunrpc/xcrypt.c: Use it for passwd2des.
13004         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13006 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13008         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13009         Don't define if [__SYSCALL_WORDSIZE != 32].
13010         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13011         New macro.
13013 2012-05-21  Bruno Haible  <bruno@clisp.org>
13014             Andreas Jaeger  <aj@suse.de>
13016         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13017         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13018         inptr and inend for must_buffer_ch.
13019         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13020         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13021         * stdio-common/Makefile (tests): Remove bug15.
13022         (bug15-ENV): Remove macro.
13023         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13024         anymore.
13026 2012-05-19  Andreas Jaeger  <aj@suse.de>
13027             Roland McGrath  <roland@hack.frob.com>
13029         * manual/contrib.texi: Completely rewritten. It contains now an
13030         alphabetical list of contributors and their contributions.
13032 2012-05-21  Richard Henderson  <rth@twiddle.net>
13034         * misc/getauxval.c (__getauxval): Use unsigned long int.
13035         * misc/sys/auxv.h: Include <sys/cdefs.h>.
13036         (getauxval): Use unsigned long int.
13038 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13040         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13042 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13044         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13045         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13046         __alignof__ (long double).
13048 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13052 2012-05-20  Richard Henderson  <rth@twiddle.net>
13054         * misc/getauxval.c: New file.
13055         * misc/sys/auxv.h: New file.
13056         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13057         (routines): Add getauxval.
13058         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13059         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13060         * elf/dl-sysdep.c (_dl_auxv): Remove.
13061         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13062         * elf/dl-support.c (_dl_auxv): New variable.
13063         (_dl_aux_init): Initialize it.
13064         * manual/startup.texi (Auxiliary Vector): New node.
13065         * sysdeps/generic/bits/hwcap.h: New file.
13066         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13067         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13068         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13069         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13070         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13071         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13073         Update.
13074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13077         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13083 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13087 2012-05-19  David S. Miller  <davem@davemloft.net>
13089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13091 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13093         [BZ #14123]
13094         * math/s_ccosh.c: Include <float.h>
13095         (__ccosh): Avoid internal overflow calculating sinh and cosh
13096         values before multiplying by sin and cos values.
13097         * math/s_ccoshf.c: Likewise.
13098         * math/s_ccoshl.c: Likewise.
13099         * math/s_csin.c: Likewise.
13100         * math/s_csinf.c: Likewise.
13101         * math/s_csinl.c: Likewise.
13102         * math/s_csinh.c: Likewise.
13103         * math/s_csinhf.c: Likewise.
13104         * math/s_csinhl.c: Likewise.
13105         * math/libm-test.inc (ccos_test): Add more tests.
13106         (ccosh_test): Likewise.
13107         (csin_test): Likewise.
13108         (csinh_test): Likewise.
13109         * sysdeps/i386/fpu/libm-test-ulps: Update.
13110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13112 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13114         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13115         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13117         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13119 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13121         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13122         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13123         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13124         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13125         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13126         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13127         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13128         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13129         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13130         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13131         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13132         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13133         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13134         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13135         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13136         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13137         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13138         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13139         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13140         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13141         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13142         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13143         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13144         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13145         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13146         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13147         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13148         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13149         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13150         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13151         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13153 2012-05-18  Andreas Jaeger  <aj@suse.de>
13155         * csu/.gitignore: Delete.
13157 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13159         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13160         (timex): Use __syscall_slong_t.
13162 2012-05-18  Andreas Jaeger  <aj@suse.de>
13163             Carlos O'Donell  <carlos_odonell@mentor.com>
13165         * manual/install.texi (Configuring and compiling): Update
13166         description about files modified in the source directory.
13167         * INSTALL: Regenerated.
13169 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13171         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13172         value.  Use "or" to set return value to -1.
13173         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13174         negate return value.
13176 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13178         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13179         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13180         failure if the compiler has Graphite support disabled.
13181         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13182         Likewise.
13183         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13184         CFLAGS-memmove.c): Likewise.
13185         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13186         Likewise.
13188 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13190         * sysdeps/x86_64/x32/_itoa.h: New file.
13192         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13193         getdents system call only if kernel and user dirents have the
13194         same d_ino and d_off.
13196         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13197         LLONG_MAX != LONG_MAX.
13198         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13199         (_fitoa_word): Likewise.
13201         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13202         years.
13203         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13204         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13205         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13207         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13208         include <bits/wordsize.h>.  Check __x86_64__ instead of
13209         __WORDSIZE.
13210         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13211         if __x86_64__ is defined.  Use anonymous union on fpstate.
13213         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13214         anonymous union.
13216 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13218         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13219         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13220         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13221         Refer to _rtld_local_ro instead of _rtld_global_ro.
13222         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13223         Likewise.
13224         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13225         Likewise.
13226         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13227         Likewise.
13228         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13229         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13230         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13232         * sysdeps/powerpc/powerpc32/dl-machine.c
13233         (__elf_machine_runtime_setup) [PROF]: Don't reference
13234         _dl_prof_resolve.
13236 2012-05-18  Andreas Jaeger  <aj@suse.de>
13238         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13239         function only available for GCCs before 3.4 since GCC 3.4
13240         introduced a builtin.
13241         (lrint): Likewise.
13242         (llrintf): Likewise.
13243         (llrint): Likewise.
13244         (fmaxf): Likewise.
13245         (fmax): Likewise.
13246         (fminf): Likewise.
13247         (fmin): Likewise.
13248         (rint): Likewise.
13249         (rintf): Likewise.
13250         (nearbyint): Likewise.
13251         (nearbyintf): Likewise.
13252         (ceil): Likewise.
13253         (ceilf): Likewise.
13254         (floor): Likewise.
13255         (floorf): Likewise.
13257 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13259         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13260         on both fields and cast pointer to __syscall_ulong_t.
13262         * bits/types.h (__fsword_t): New type.
13263         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13264         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13265         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13266         (__FSWORD_T_TYPE): Likewise.
13267         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13268         (__FSWORD_T_TYPE): Likewise.
13269         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13270         (__FSWORD_T_TYPE): Likewise.
13271         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13272         (__FSWORD_T_TYPE): Likewise.
13273         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13274         __SWORD_TYPE with __fsword_t.
13275         (statfs64): Likewise.
13277 2012-05-17  David S. Miller  <davem@davemloft.net>
13279         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13281 2012-05-17  Andreas Jaeger  <aj@suse.de>
13283         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13284         warning.
13286 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13288         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13290 2012-05-17  Andreas Jaeger  <aj@suse.de>
13292         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13293         when it is used.
13295 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13297         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13299 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13301         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13302         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13304 2012-05-17  Andreas Jaeger  <aj@suse.de>
13305             Carlos O'Donell  <carlos_odonell@mentor.com>
13307         [BZ #14059]
13308         * sysdeps/x86_64/multiarch/init-arch.h
13309         (bit_YMM_Usable): Rename to...
13310         (bit_AVX_Usable): ... this.
13311         (bit_FMA4_Usable): New macro.
13312         (bit_XMM_state): New macro.
13313         (bit_YMM_state): New macro.
13314         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13315         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13316         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13317         (CPUID_OSXSAVE): New macro.
13318         (CPUID_AVX): New macro.
13319         (CPUID_FMA4): New macro.
13320         (index_YMM_Usable): Rename to...
13321         (index_AVX_Usable): ... this.
13322         (HAS_AVX): Use HAS_ARCH_FEATURE.
13323         (HAS_FMA4): Likewise.
13324         (HAS_YMM_USABLE): Remove.
13325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13326         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13327         are present.
13328         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13329         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13330         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13331         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13332         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13334 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13336         * math/libm-test.c: Support platforms without multiple rounding modes.
13337         * math/bug-nextafter.c: Support platforms without FP exceptions.
13338         * math/bug-nexttoward.c: Likewise.
13339         * math/test-fenv.c: Likewise.
13340         * math/test-misc.c: Likewise.
13341         * stdlib/bug-getcontext.c: Likewise.
13343 2012-05-17  Andreas Jaeger  <aj@suse.de>
13345         * manual/examples/search.c (critter_cmp): Change signature to
13346         avoid warnings.
13347         * manual/string.texi (Collation Functions): Likewise.
13349 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13351         * bits/types.h: Fold copyright years.
13352         * bits/typesizes.h: Likewise.
13353         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13354         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13355         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13356         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13357         * time/time.h: Likewise.
13359 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13361         [BZ #208]
13362         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13363         in instead of returning them.  Return void.
13364         (__libc_mallinfo): Accumulate over all arenas.
13365         (__malloc_stats): Adjust for change in int_mallinfo interface.
13367 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13369         [BZ #10375]
13370         * configure.in (NM): Add AC_CHECK_TOOL for it.
13371         (libc_extra_cflags): New substituted variable.
13372         Check for -fstack-protector being used implicitly.
13373         * configure: Regenerated.
13374         * config.make.in (config-extra-cflags): New variable,
13375         gets @libc_extra_cflags@.
13376         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13378         [BZ #10375]
13379         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13380         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13381         * configure: Regenerated.
13382         * config.make.in (CPPUNDEFS): New substituted variable.
13383         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13384         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13385         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13387 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13389         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13390         (mq_attr): Use __syscall_slong_t.
13392 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13394         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13395         Check __x86_64__ instead of __WORDSIZE.
13396         (_STAT_VER_LINUX): Likewise.
13397         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13398         __syscall_ulong_t and __syscall_slong_t.
13399         (stat64): Likewise.
13401 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13403         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13405 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13407         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13411         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13412         __syscall_ulong_t.
13414         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13415         include <bits/wordsize.h>.  Check __x86_64__ instead of
13416         __WORDSIZE.
13417         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13418         defined.
13419         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13421         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13422         include <bits/wordsize.h>.  Check __x86_64__ instead of
13423         __WORDSIZE.
13424         (user_regs_struct): Use "__extension__ unsigned long long"
13425         instead of "unsigned long" if __x86_64__ is defined.
13426         (user): Likewise.  Pad after pointer field if __ILP32__ is
13427         defined.
13429 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13431         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13432         versions 5 to 9.
13433         * configure: Regenerated.
13434         * manual/install.texi (texinfo): Increase version requirement to
13435         4.5 or later.
13436         * INSTALL: Regenerated.
13438         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13440 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13442         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13444         * sysdeps/x86_64/x32/ffs.c: New file.
13446         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13447         __syscall_ulong_t.
13448         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13449         defined.  Use __syscall_ulong_t.
13450         (shminfo): Use __syscall_ulong_t.
13451         (shm_info): Likewise.
13453         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13454         __syscall_ulong_t.
13456         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13457         <bits/wordsize.h>.
13458         (msgqnum_t): Use __syscall_ulong_t.
13459         (msglen_t): Likewise.
13460         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13461         __syscall_ulong_t.
13463         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13464         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13466         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13468         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13469         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13471         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13472         __syscall_slong_t.
13474         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13475         include <bits/wordsize.h>.  Check __x86_64__ instead of
13476         __WORDSIZE.
13478         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13479         "unsigned long long int" if __x86_64__ is defined.
13480         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13482         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13483         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13484         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13486         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13487         <stdint.h>.
13488         (GET_PC): Cast to uintptr_t first.
13489         (GET_FRAME): Likewise.
13490         (GET_STACK): Likewise.
13492         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13493         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13494         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13495         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13496         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13497         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13498         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13499         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13500         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13501         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13502         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13503         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13504         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13505         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13506         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13507         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13508         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13509         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13510         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13511         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13512         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13513         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13514         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13515         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13516         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13517         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13518         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13519         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13520         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13522 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13524         * Makerules (+depfiles): Also collect depfiles from .oS in
13525         $(extra-objs).
13526         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13527         .oS, $(libnldbl-routines)).
13529         * Makerules (native-compile-mkdep-flags): Define.
13530         * sunrpc/Makefile (extra-objs): Add $(addprefix
13531         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13532         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13533         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13534         calling $(make-target-directory).
13536 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13538         * bits/types.h (__snseconds_t): Removed.
13539         * time/time.h (struct timespec): Replace __snseconds_t with
13540         __syscall_slong_t.
13541         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13542         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13543         Likewise.
13544         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13545         (__SNSECONDS_T_TYPE): Likewise.
13546         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13547         (__SNSECONDS_T_TYPE): Likewise.
13548         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13549         (__SNSECONDS_T_TYPE): Likewise.
13551 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13553         * sysdeps/mach/hurd/bits/typesizes.h
13554         (__SYSCALL_SLONG_TYPE): New macro.
13555         (__SYSCALL_ULONG_TYPE): Likewise.
13557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13559         * bits/types.h (__syscall_slong_t): New type.
13560         (__syscall_ulong_t): Likewise.
13562         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13563         (__SYSCALL_ULONG_TYPE): Likewise.
13564         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13565         (__SYSCALL_SLONG_TYPE): Likewise.
13566         (__SYSCALL_ULONG_TYPE): Likewise.
13567         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13568         (__SYSCALL_SLONG_TYPE): Likewise.
13569         (__SYSCALL_ULONG_TYPE): Likewise.
13570         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13571         (__SYSCALL_SLONG_TYPE): Likewise.
13572         (__SYSCALL_ULONG_TYPE): Likewise.
13574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13576         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13577         Add sigaltstack-offsets.sym.
13578         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13579         <sigaltstack-offsets.h>.
13580         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13581         longjmp_msg pointer.
13582         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13583         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13584         signal stack.
13585         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13587 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13589         * elf/stackguard-macros.h: Remove file.
13590         * sysdeps/generic/stackguard-macros.h: New file.
13591         * sysdeps/i386/stackguard-macros.h: Likewise.
13592         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13593         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13594         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13595         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13596         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13597         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13598         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13599         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13600         <elf/stackguard-macros.h>.
13602         [BZ #14109]
13603         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13604         __aligned__ in attribute.
13605         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13606         (gregset_t): Likewise.
13608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13610         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13611         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13612         * sysdeps/x86_64/x32/Implies-after: New file.
13614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13616         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13617         and access return value for _dl_profile_fixup.  Use R10_LP to
13618         load frame size.
13620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13622         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13624 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13626         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13627         * sysdeps/x86_64/x32/sysdep.h: New file.
13629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13631         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13632         * sysdeps/x86_64/setjmp.S: Likewise.
13634 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13636         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13637         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13638         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13639         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13640         remove unused global constant.
13642 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13644         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13645         include of <not-cancel.h>.
13647 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13649         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13651 2012-05-15  Jeff Law  <law@redhat.com>
13652             Andreas Jaeger  <aj@suse.de>
13654         [BZ #13594]
13655         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13656         out from...
13657         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13658         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13659         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13660         code changing __hst_map_handle.map.
13662 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13664         * configure.in (sysnames): Look for Implies-before and Implies-after
13665         files.
13666         * configure: Regenerated.
13668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13670         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13671         8-byte data alignment with LP_SIZE alignment.
13673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13675         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13676         into R10_LP.
13678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13680         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13684         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13685         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13686         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13687         Likewise.
13688         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13692         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13693         (stackinfo_sub_sp): Likewise.
13695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13697         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13698         RAX_LP.
13700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13702         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13703         into R*_LP.
13705 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13707         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13708         sizes into R*_LP.
13710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13712         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13716         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13717         into R11_LP and load __x86_64_shared_cache_size_half into
13718         R8_LP.
13720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13722         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13723         R8_LP.
13725 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13727         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13728         logb for POWER7.
13729         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13730         logbf for POWER7.
13731         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13732         logbl for POWER7.
13733         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13734         powerpc32/power7/fpu/s_logb.c via #include.
13735         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13736         powerpc32/power7/fpu/s_logbf.c via #include.
13737         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13738         powerpc32/power7/fpu/s_logbl.c via #include.
13740 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13742         * README.libm: Remove file.
13744 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13746         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13747         count for x32.  Use R*_LP and omit operand-size suffix.
13749 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13751         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13752         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13753         * sysdeps/x86_64/x32/shlib-versions: New file.
13755 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13757         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13758         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13759         Use _dl_fatal_printf instead.
13761 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13763         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13764         set if not set by the user.  Do not allow for being unset.
13765         * sysdeps/unix/sysv/linux/configure: Regenerated.
13767 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13769         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13770         the `q' suffix from lea and replace .quad with ASM_ADDR.
13772 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13775         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13776         instead of $17.
13777         (PTR_DEMANGLE): Likewise.
13779 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13781         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13782         (LP_OP): Likewise.
13783         (ASM_ADDR): Likewise.
13784         (RAX_LP): Likewise.
13785         (RBP_LP): Likewise.
13786         (RBX_LP): Likewise.
13787         (RCX_LP): Likewise.
13788         (RDI_LP): Likewise.
13789         (RSI_LP): Likewise.
13790         (RSP_LP): Likewise.
13791         (R8_LP): Likewise.
13792         (R9_LP): Likewise.
13793         (R10_LP): Likewise.
13794         (R10_LP): Likewise.
13795         (R11_LP): Likewise.
13796         (R12_LP): Likewise.
13797         (R13_LP): Likewise.
13798         (R14_LP): Likewise.
13799         (R15_LP): Likewise.
13801 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13803         * sysdeps/x86_64/x32/dl-machine.h: New file.
13805 2012-05-14  Andreas Jaeger  <aj@suse.de>
13807         * manual/Makefile (subdir): Remove export of subdir.
13808         (all): Remove target.
13809         (.PHONY): Remove all from list.
13810         (mkinstalldirs): Remove.
13811         (.PHONY): Remove installdirs from list.
13812         ($(inst_infodir)/libc.info): Use make-target-directory.
13813         (installdirs): Remove.
13814         (subdir_%): Remove.
13815         (glibc-targets): Remove.
13816         (lib): Remove.
13817         (stubs): Remove.
13818         ($(objpfx)stubs ../po/manual.pot): Remove.
13819         ($(objpfx)stamp%): Remove.
13820         (make-target-directory): Remove.
13821         (subdir_install): Remove.
13822         (routines): Remove.
13823         (aux): Remove.
13824         (sources): Remove.
13825         (objects): Remove.
13826         (headers): Remove.
13828         [BZ #13750]
13829         * manual/.gitignore: Remove, it's not needed anymore.
13830         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13831         all files in it.
13832         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13833         directory.
13834         (texis): Renamed to $(objpfx)texis.
13835         (texis-path): New, contains path to generated files.
13836         (chapters.%): Use texis-path for complete path, add extra argument
13837         libc-texinfo.sh.
13838         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13839         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13840         (summary,texi, stamp-summary): Use complete path of
13841         files. Generate files in build dir.
13842         (dir-add.texi): Build in build dir.
13843         (libm-err.texi,stamp-libm-err): Likewise.
13844         (version.texi, stamp-version): Likewise.
13845         (.%c.texi): Likewise.
13846         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13847         (mostlyclean): Remove target.
13848         (realclean): Remove target.
13849         (generated): Add new variable with contents from mostlyclean and
13850         realclean, remove entries duplicated in common-mostlyclean, add
13851         stamp-libm-err and stamp-version.
13852         (generated-dirs): Add libc directory.
13853         ($(inst_infodir)/libc.info): Install files from build dir.
13855         * manual/install.texi (Configuring and compiling): Adjust since
13856         the info files are not part of the tar ball anymore.
13858 2012-05-14  Andreas Jaeger  <aj@suse.de>
13860         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13861         variable.
13863 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13865         [BZ #13717]
13866         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13867         to 2.2.0 where earlier.
13868         * sysdeps/unix/sysv/linux/configure: Regenerated.
13869         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13870         Remove conditional code.
13871         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13872         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13873         Remove conditional code.
13874         [!__NR_lchown]: Likewise.
13875         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13876         [__NR_lchown]: Likewise.
13877         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13878         comment referencing __ASSUME_LCHOWN_SYSCALL.
13879         * sysdeps/unix/sysv/linux/i386/sigaction.c
13880         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13881         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13882         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13883         Remove conditional code.
13884         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13885         (__protocol_available): Remove #if 0 code.
13886         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13887         conditional code.
13888         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13889         * sysdeps/unix/sysv/linux/kernel-features.h
13890         (__ASSUME_GETCWD_SYSCALL): Don't define.
13891         (__ASSUME_REALTIME_SIGNALS): Likewise.
13892         (__ASSUME_PREAD_SYSCALL): Likewise.
13893         (__ASSUME_PWRITE_SYSCALL): Likewise.
13894         (__ASSUME_POLL_SYSCALL): Likewise.
13895         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13896         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13897         non-SPARC.
13898         (__ASSUME_SIOCGIFNAME): Don't define.
13899         (__ASSUME_MSG_NOSIGNAL): Likewise.
13900         (__ASSUME_SENDFILE): Define unconditionally.
13901         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13902         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13903         conditional code.
13904         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13905         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13906         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13907         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13908         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13909         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13910         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13912         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13913         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13915         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13916         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13918         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13919         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13921         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13922         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13924         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13925         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13927         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13928         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13930         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13931         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13933         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13934         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13935         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13936         Remove conditional code.
13937         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13938         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13939         Remove conditional code.
13940         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13941         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13942         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13943         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13944         Remove conditional code.
13945         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13946         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13947         Remove conditional code.
13948         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13949         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13950         Remove conditional code.
13951         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13952         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13953         Remove conditional code.
13954         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13955         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13956         Remove conditional code.
13957         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13958         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13959         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13960         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13961         * sysdeps/unix/sysv/linux/sigaction.c
13962         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13963         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13964         * sysdeps/unix/sysv/linux/sigpending.c
13965         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13966         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13967         * sysdeps/unix/sysv/linux/sigprocmask.c
13968         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13969         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13970         * sysdeps/unix/sysv/linux/sigsuspend.c
13971         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13972         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13973         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13974         (__libc_missing_rt_sigs): Remove.
13975         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13976         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13977         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13978         Remove conditional code.
13979         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13980         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13981         return 1.
13982         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13983         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13984         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13985         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13987 2012-05-14  Andreas Jaeger  <aj@suse.de>
13989         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13990         it's not used in glibc.
13991         (__coshm1): Likewise.
13992         (__acosh1p): Likewise.
13993         (__sgn): Likewise.
13995         * manual/string.texi (Copying and Concatenation): Add missing
13996         variable in concat example.
13997         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13999 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14001         [BZ #14103]
14002         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14003         __builtin_clzl with __builtin_clzll.
14005 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
14007         [BZ #14104]
14008         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14009         libc_freeres_ptr.
14011 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14013         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14014         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14015         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14016         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14018 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
14020         * NEWS: Update ia64 info.
14022 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
14024         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14025         used as bcopy.
14027 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
14029         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14030         * sysdeps/unix/syscalls.list (dup3): Likewise.
14031         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14032         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14034 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14036         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14037         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14039 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14041         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14042         thread pointer.
14043         (TLS_IE): Use mov/add instead of movq/addq to load thread
14044         pointer.
14045         (TLS_GD_PREFIX): New.
14046         (TLS_GD): Use it.
14048 2012-05-11  David S. Miller  <davem@davemloft.net>
14050         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14051         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14052         (_FPU_SETCW): Likewise.
14054 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14056         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14057         is 32-byte aligned.
14059 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14061         [BZ #11837]
14062         * iconvdata/gb18030.c: Update tables.
14063         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14064         characters specially.
14065         (BODY for TO_LOOP): Add encoding of missing ranges.
14067 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14069         [BZ #13673]
14070         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14071         * sysdeps/mach/hurd/dup3.c: Likewise.
14072         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14073         * sysdeps/powerpc/memmove.c:: Likewise.
14075 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14077         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14078         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14080 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14082         * elf/elf.h (R_X86_64_RELATIVE64): New.
14083         (R_X86_64_NUM): Updated.
14084         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14085         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14086         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14087         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14088         tst-quad1pie tst-quad2pie
14089         (modules-names): Add tst-quadmod1 tst-quadmod2.
14090         ($(objpfx)tst-quad1): New dependency.
14091         ($(objpfx)tst-quad2): Likewise.
14092         ($(objpfx)tst-quad1pie): Likewise.
14093         ($(objpfx)tst-quad2pie): Likewise.
14094         * sysdeps/x86_64/tst-quad1.c: New file.
14095         * sysdeps/x86_64/tst-quad1pie.c: New file.
14096         * sysdeps/x86_64/tst-quad2.c: Likewise.
14097         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14098         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14099         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14100         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14101         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14103 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14105         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14106         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14107         * streams/stropts.h (t_scalar_t): Define type.
14109         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14110         (_PATH_PRESERVE): Set to "/var/lib".
14111         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14113         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14114         instead of int.
14116         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14117         if __dir_mkfile succeeded.
14119         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14120         checking for _hurd_dtablesize.  Unlock it right after having
14121         finished _hurd_dtable allocation.
14123 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14125         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14126         * sysdeps/mach/hurd/configure: Regenerated.
14127         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14128         special-casing to...
14129         * sysdeps/gnu/configure.in: ... this new file.
14130         * sysdeps/unix/sysv/linux/configure: Regenerated.
14131         * sysdeps/gnu/configure: New generated file.
14133         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14134         for Linux: use nsec instead of usec, as well as:
14135         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14136         members of type struct timespec.
14137         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14138         New macros.
14139         (struct stat64): Likewise.
14140         (_STATBUF_ST_NSEC): New macro.
14141         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14143         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14144         __strtoul_internal rather than strtoul.
14146 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14148         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14149         and reject them.
14151 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14153         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14154         which preserves existing values.
14155         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14157 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14159         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14160         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14161         greater than FD_SETSIZE.
14163 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14165         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14166         allocated, call __vm_protect to finish enabling the existing space, and
14167         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14168         allocate the remainder.
14170 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14172         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14173         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14175 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14177         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14178         sysdeps/mach/hurd/readlink.c.
14180         * posix/tst-sysconf.c (posix_options): Only use
14181         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14182         _POSIX_SYNCHRONIZED_IO when they are defined
14183         * sysdeps/mach/hurd/bits/posix_opt.h:
14184         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14185         (_XOPEN_REALTIME): Undefine macro.
14186         (_XOPEN_REALTIME_THREADS): Undefine macro.
14187         (_XOPEN_SHM): Undefine macro.
14188         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14189         macro to -1.
14190         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14191         macro to -1.
14192         (_POSIX_ASYNC_IO): Undefine macro.
14193         (_POSIX_PRIORITIZED_IO): Undefine macro.
14194         (_POSIX_SPIN_LOCKS): Define macro to -1.
14196         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14197         SA_NODEFER, SA_RESETHAND.
14198         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14199         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14200         F_DUPFD_CLOEXEC.
14202 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14204         * elf/Makefile (pldd-modules): Define unconditionally.
14206 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14208         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14210 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14212         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14213         Return ENOENT when name is empty.
14214         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14216 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14218         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14220         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14222 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14224         Fix mlock in all cases except non-readable pages.
14225         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14226         instead of VM_PROT_ALL as parameter to __vm_wire function.
14228         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14229         (__mkdir): When path is `/', just fail with EEXIST.
14230         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14232 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14234         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14235         <sys/uio.h> (for writev).
14236         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14237         and <sys/param.h> (for MIN).
14239 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14241         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14242         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14243         if interrupted.
14245 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14247         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14248         Depend on against $(link-rpcuserlibs).
14250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14252         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14253         (__libc_stack_end): Do not use attribute_relro.
14254         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14255         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14256         to libthread-provided value.
14257         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14258         attribute_relro.
14260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14262         [BZ #3748]
14263         * bits/libc-lock.h (__libc_once_get): New macro.
14264         * sysdeps/mach/bits/libc-lock.h: Likewise.
14265         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14266         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14267         instead of using implementation details.
14269         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14270         * libio/freopen.c: Likewise.
14271         * libio/freopen64.c: Likewise.
14272         * misc/syslog.c: Likewise.
14273         * nscd/connections.c: Likewise.
14274         * nscd/netgroupcache.c: Likewise.
14275         * sysdeps/posix/getcwd.c: Likewise.
14277 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14279         * math/w_ilogbf.c: Add #include <limits.h>.
14281 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14283         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14284         path instead of returning without unlocking.
14286         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14287         immediate-write ioctls.
14288         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14292         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14293         __builtin_frame_address instead of making assumptions about the
14294         location of the return address relative to DATA.  Force early load of
14295         the return address.
14296         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14297         __builtin_frame_address.
14299         dup3 for GNU Hurd.
14300         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14301         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14302         implement dup3 and do some further code clean-ups.
14303         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14304         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14308         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14310         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14311         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14312         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14313         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14314         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14315         d->port.lock.
14317         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14318         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14319         when handler == SIG_ERR, not when handler != SIG_ERR.
14321 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14323         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14324         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14325         definitions.
14327         accept4 for GNU Hurd.
14328         * include/sys/socket.h (__libc_accept4): New prototype.
14329         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14330         to implement __libc_accept4.
14331         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14332         __libc_accept4.
14333         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14335         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14336         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14337         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14338         signal-defines.sym.
14340 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14342         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14346         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14347         assertion on O_CLOEXEC flag.
14348         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14349         * hurd/intern-fd.c: Likewise.
14350         * hurd/port2fd.c: Likewise.
14352 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14354         [BZ #3906]
14355         * bits/in.h (IPV6_PKTINFO): Define new macro.
14356         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14358 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14360         [BZ #13954]
14361         [BZ #13955]
14362         [BZ #13956]
14363         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14364         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14365         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14366         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14367         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14368         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14369         * math/libm-test.inc (logb_test) : Additional logb tests.
14371 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14372             Andreas Jaeger  <aj@suse.de>
14374         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14375         * configure: Regenerated.
14376         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14377         * config.make.in (link-obsolete-rpc): New substituted variable.
14378         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14379         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14380         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14381         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14382         so that libc.a contains the symbols.
14383         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14384         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14385         * sunrpc/auth_none.c: Likewise.
14386         * sunrpc/auth_unix.c: Likewise.
14387         * sunrpc/authdes_prot.c: Likewise.
14388         * sunrpc/authuxprot.c: Likewise.
14389         * sunrpc/clnt_gen.c: Likewise.
14390         * sunrpc/clnt_perr.c: Likewise.
14391         * sunrpc/clnt_raw.c: Likewise.
14392         * sunrpc/clnt_simp.c: Likewise.
14393         * sunrpc/clnt_tcp.c: Likewise.
14394         * sunrpc/clnt_udp.c: Likewise.
14395         * sunrpc/clnt_unix.c: Likewise.
14396         * sunrpc/des_crypt.c: Likewise.
14397         * sunrpc/des_soft.c: Likewise.
14398         * sunrpc/get_myaddr.c: Likewise.
14399         * sunrpc/key_call.c: Likewise.
14400         * sunrpc/key_prot.c: Likewise.
14401         * sunrpc/netname.c: Likewise.
14402         * sunrpc/pm_getmaps.c: Likewise.
14403         * sunrpc/pm_getport.c: Likewise.
14404         * sunrpc/pmap_clnt.c: Likewise.
14405         * sunrpc/pmap_prot.c: Likewise.
14406         * sunrpc/pmap_prot2.c: Likewise.
14407         * sunrpc/pmap_rmt.c: Likewise.
14408         * sunrpc/publickey.c: Likewise.
14409         * sunrpc/rpc_cmsg.c: Likewise.
14410         * sunrpc/rpc_common.c: Likewise.
14411         * sunrpc/rpc_dtable.c: Likewise.
14412         * sunrpc/rpc_prot.c: Likewise.
14413         * sunrpc/rpc_thread.c: Likewise.
14414         * sunrpc/rtime.c: Likewise.
14415         * sunrpc/svc.c: Likewise.
14416         * sunrpc/svc_auth.c: Likewise.
14417         * sunrpc/svc_raw.c: Likewise.
14418         * sunrpc/svc_run.c: Likewise.
14419         * sunrpc/svc_tcp.c: Likewise.
14420         * sunrpc/svc_udp.c: Likewise.
14421         * sunrpc/svc_unix.c: Likewise.
14422         * sunrpc/svcauth_des.c: Likewise.
14423         * sunrpc/xcrypt.c: Likewise.
14424         * sunrpc/xdr.c: Likewise.
14425         * sunrpc/xdr_array.c: Likewise.
14426         * sunrpc/xdr_float.c: Likewise.
14427         * sunrpc/xdr_intXX_t.c: Likewise.
14428         * sunrpc/xdr_mem.c: Likewise.
14429         * sunrpc/xdr_rec.c: Likewise.
14430         * sunrpc/xdr_ref.c: Likewise.
14431         * sunrpc/xdr_sizeof.c: Likewise.
14432         * sunrpc/xdr_stdio.c: Likewise.
14434 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14436         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14437         change.  Update copyright years.
14439 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14441         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14443 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14444             Joseph Myers  <joseph@codesourcery.com>
14445             Paul Pluzhnikov  <ppluzhnikov@google.com>
14447         [BZ #14012]
14448         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14449         requiring rpcgen.
14450         [cross-compiling] (extra-libs): Likewise.
14451         [cross-compiling] (extra-libs-others): Likewise.
14452         [cross-compiling] (librpcsvc-routines): Likewise.
14453         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14454         [cross-compiling] (omit-deps): Likewise.
14455         (sunrpc-CPPFLAGS): New variable.
14456         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14457         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14458         (cross-rpcgen-objs): New variable.
14459         (extra-objs): Append $(cross-rpcgen-objs).
14460         ($(cross-rpcgen-objs)): New rule.
14461         ($(objpfx)cross-rpcgen): Likewise.
14462         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14463         comment.
14464         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14465         ($(objpfx)x%.stmp): Likewise.
14466         * sunrpc/proto.h [IS_IN_build] (_): Define.
14467         [IS_IN_build] (_libc_intl_domainname): Likewise.
14469 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14471         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14472         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14473         and R_X86_64_TPOFF64.
14475 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14477         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14478         sysdeps/unix/sysv/syscalls.list.
14479         (stime): Likewise.
14480         (utime): Likewise.
14481         * sysdeps/unix/sysv/syscalls.list: Remove file.
14483 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14485         [BZ #3440]
14486         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14487         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14488         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14489         (__LC_IDENTIFICATION): Make these macros useful in #if
14490         expressions, as required by C99.
14492 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14494         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14495         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14496         after this.
14498 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14500         * stdlib/longlong.h: Updated from GCC.
14502 2012-05-09  Andreas Jaeger  <aj@suse.de>
14504         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14505         default is first entry.
14506         (run_mode): Set type.
14507         (main): Remove informal message about syslog.
14508         (options): Fix typo.
14510         [BZ #14053]
14511         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14512         to asm.
14513         (lrint): Likewise.
14514         (llrintf): Likewise.
14515         (llrint): Likewise.
14516         (rint): Likewise.
14517         (rintf): Likewise.
14518         (nearbyint): Likewise.
14519         (nearbyintf): Likewise.
14521 2012-05-09  Andreas Jaeger  <aj@suse.de>
14522             Pedro Alves  <palves@redhat.com>
14524         * nscd/nscd.c (run_mode): Use enum.
14525         (main): Cleanup coding style issue.
14527 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14528             Andreas Jaeger  <aj@suse.de>
14530         * nscd/nscd.c (go_background): Replaced with...
14531         (run_mode): ... this.
14532         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14533         (options): Add -F --foreground.
14534         (main): Implement it.
14535         (parse_opt): Parse it.
14537 2012-05-09  Andreas Jaeger  <aj@suse.de>
14539         [BZ #14083]
14540         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14541         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14542         -Wconversion warning.
14543         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14544         Likewise.
14546 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14548         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14549         == 0.
14550         (LC_ALL): Use macro-int-constant.
14551         (LC_COLLATE): Likewise.
14552         (LC_CTYPE): Likewise.
14553         (LC_MESSAGES): Likewise.
14554         (LC_MONETARY): Likewise.
14555         (LC_NUMERIC): Likewise.
14556         (LC_TIME): Likewise.
14557         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14558         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14559         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14560         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14561         Specify type.
14562         [C99-based standards] (float_t): Expect type.
14563         [C99-based standards] (double_t): Expect type.
14564         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14565         type.
14566         [C99-based standards] (HUGE_VALL): Likewise.
14567         [C99-based standards] (INFINITY): Likewise.
14568         [C99-based standards] (NAN): Likewise.
14569         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14570         [C99-based standards] (FP_NAN): Likewise.
14571         [C99-based standards] (FP_NORMAL): Likewise.
14572         [C99-based standards] (FP_SUBNORMAL): Likewise.
14573         [C99-based standards] (FP_ZERO): Likewise.
14574         [C99-based standards] (FP_FAST_FMA): Use
14575         optional-macro-int-constant.  Specify type.  Require == 1.
14576         [C99-based standards] (FP_FAST_FMAF): Likewise.
14577         [C99-based standards] (FP_FAST_FMAL): Likewise.
14578         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14579         [C99-based standards] (FP_ILOGBNAN): Likewise.
14580         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14581         Specify type.
14582         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14583         [C99-based standards] (math_errhandling): Specify type.
14584         [ISO99 || ISO11] (signgam): Do not allow.
14585         [non-C99-based standards] (copysignf): Do not allow.
14586         [non-C99-based standards] (exp2f): Likewise.
14587         [non-C99-based standards] (log2f): Likewise.
14588         [non-C99-based standards] (modff): Allow.
14589         [non-C99-based standards] (erff): Do not allow.
14590         [non-C99-based standards] (erfcf): Likewise.
14591         [non-C99-based standards] (gammaf): Likewise.
14592         [non-C99-based standards] (hypotf): Likewise.
14593         [non-C99-based standards] (j0f): Likewise.
14594         [non-C99-based standards] (j1f): Likewise.
14595         [non-C99-based standards] (jnf): Likewise.
14596         [non-C99-based standards] (lgammaf): Likewise.
14597         [non-C99-based standards] (tgammaf): Likewise.
14598         [non-C99-based standards] (y0f): Likewise.
14599         [non-C99-based standards] (y1f): Likewise.
14600         [non-C99-based standards] (ynf): Likewise.
14601         [non-C99-based standards] (isnanf): Likewise.
14602         [non-C99-based standards] (acoshf): Likewise.
14603         [non-C99-based standards] (asinhf): Likewise.
14604         [non-C99-based standards] (atanhf): Likewise.
14605         [non-C99-based standards] (cbrtf): Likewise.
14606         [non-C99-based standards] (expm1f): Likewise.
14607         [non-C99-based standards] (ilogbf): Likewise.
14608         [non-C99-based standards] (log1pf): Likewise.
14609         [non-C99-based standards] (logbf): Likewise.
14610         [non-C99-based standards] (nextafterf): Likewise.
14611         [non-C99-based standards] (remainderf): Likewise.
14612         [non-C99-based standards] (rintf): Likewise.
14613         [non-C99-based standards] (scalbf): Likewise.
14614         [non-C99-based standards] (copysignl): Likewise.
14615         [non-C99-based standards] (exp2l): Likewise.
14616         [non-C99-based standards] (log2l): Likewise.
14617         [non-C99-based standards] (modfl): Allow.
14618         [non-C99-based standards] (erfl): Do not allow.
14619         [non-C99-based standards] (erfcl): Likewise.
14620         [non-C99-based standards] (gammal): Likewise.
14621         [non-C99-based standards] (hypotl): Likewise.
14622         [non-C99-based standards] (j0l): Likewise.
14623         [non-C99-based standards] (j1l): Likewise.
14624         [non-C99-based standards] (jnl): Likewise.
14625         [non-C99-based standards] (lgammal): Likewise.
14626         [non-C99-based standards] (tgammal): Likewise.
14627         [non-C99-based standards] (y0l): Likewise.
14628         [non-C99-based standards] (y1l): Likewise.
14629         [non-C99-based standards] (ynl): Likewise.
14630         [non-C99-based standards] (isnanl): Likewise.
14631         [non-C99-based standards] (acoshl): Likewise.
14632         [non-C99-based standards] (asinhl): Likewise.
14633         [non-C99-based standards] (atanhl): Likewise.
14634         [non-C99-based standards] (cbrtl): Likewise.
14635         [non-C99-based standards] (expm1l): Likewise.
14636         [non-C99-based standards] (ilogbl): Likewise.
14637         [non-C99-based standards] (log1pl): Likewise.
14638         [non-C99-based standards] (logbl): Likewise.
14639         [non-C99-based standards] (nextafterl): Likewise.
14640         [non-C99-based standards] (remainderl): Likewise.
14641         [non-C99-based standards] (rintl): Likewise.
14642         [non-C99-based standards] (scalbl): Likewise.
14643         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14644         [non-C99-based standards] (FP_*): Do not allow.
14645         [C99-based standards] (FP_*): Change to
14646         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14647         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14648         allow.
14649         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14650         (SIG_ERR): Likewise.
14651         [X/Open-based standards] (SIG_HOLD): Likewise.
14652         (SIG_IGN): Likewise.
14653         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14654         positive value.
14655         (SIGFPE): Likewise.
14656         (SIGILL): Likewise.
14657         (SIGINT): Likewise.
14658         (SIGSEGV): Likewise.
14659         (SIGTER): Likewise.
14660         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14661         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14662         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14663         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14664         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14665         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14666         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14667         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14668         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14669         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14670         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14671         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14672         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14673         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14674         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14675         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14676         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14677         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14678         [X/Open-based standards] (SIGTRAP): Likewise.
14679         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14680         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14681         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14682         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14683         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14684         allow.
14686 2012-05-08  Ian Wienand  <ianw@vmware.com>
14688         [BZ #14080]
14689         * time/tzset.c (__tzset_parse_tz): Update default rules for
14690         daylight time changes in the Energy Policy Act of 2005.
14692 2012-05-09  Andreas Jaeger  <aj@suse.de>
14694         [BZ #13983]
14695         * elf/ldconfig.c (parse_conf): Change string to make clear that
14696         ldconfig only issued a warning if ld.so.conf does not exist.
14698 2012-05-08  David S. Miller  <davem@davemloft.net>
14700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14701         movxtod instead of popping the value on the stack.
14703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14705 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14707         * config.h.in: Add HAVE_ARM_PCS_VFP.
14709 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14711         [BZ #13979]
14712         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14713         checking but the checks are disabled for any reason.
14715 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14717         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14718         and ELF64_R_TYPE with ELFW(R_TYPE).
14720 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14722         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14723         (ulimit): Likewise.
14725         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14726         (settimeofday): Likewise.
14728 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14730         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14731         a struct th_u2 inside the union, and move tu_block/tu_code into
14732         a new th_u3 union of tu_block/tu_code inside of that.  Move
14733         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14734         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14735         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14736         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14737         (th_stuff): Change to th_u1.tu_stuff.
14738         (th_data): Define.
14739         (th_msg): Change to th_u1.th_u2.tu_data.
14741 2012-05-07  David S. Miller  <davem@davemloft.net>
14743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14745         [BZ #14074]
14746         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14747         (SETUP_PIC_REG): Use it.
14748         (SETUP_PIC_REG_LEAF): Use it.
14750 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14752         [BZ #13885]
14753         [BZ #13923]
14754         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14755         USE_AS_EXPM1L.
14756         (EXPL_FINITE): Likewise.
14757         (FLDLOG): Likewise.
14758         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14759         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14760         e_expl.S.
14761         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14762         USE_AS_EXPM1L.
14763         (EXPL_FINITE): Likewise.
14764         (FLDLOG): Likewise.
14765         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14766         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14767         e_expl.S.
14768         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14769         test of -max_value argument for long double.
14770         * sysdeps/i386/fpu/libm-test-ulps: Update.
14771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14773 2012-05-06  David S. Miller  <davem@davemloft.net>
14775         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14776         quad soft-float symbols whose references which are compiler
14777         generated.
14778         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14780 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14782         [BZ #13884]
14783         [BZ #13914]
14784         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14785         USE_AS_EXP10L.
14786         (EXPL_FINITE): Likewise.
14787         (FLDLOG): Likewise.
14788         (c0): Likewise.
14789         (c1): Likewise.
14790         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14791         Adjust comments for base varying.
14792         (__expl_finite): Change alias to EXPL_FINITE.
14793         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14794         e_expl.S.
14795         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14796         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14797         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14798         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14799         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14800         USE_AS_EXP10L.
14801         (EXPL_FINITE): Likewise.
14802         (FLDLOG): Likewise.
14803         (c0): Likewise.
14804         (c1): Likewise.
14805         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14806         Adjust comments for base varying.
14807         (__expl_finite): Change alias to EXPL_FINITE.
14808         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14809         tests for bugs.
14810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14812         [BZ #14064]
14813         * math/libm-test.inc (check_float_internal): Correct ulp
14814         calculation for subnormal expected results.
14816 2012-05-06  Andreas Jaeger  <aj@suse.de>
14818         * Makeconfig (+math-flags): New, set to -frounding-math.
14819         (+cflags): Add +math-flags so that all of glibc gets compiled with
14820         it.
14822         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14824 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14826         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14827         Disable one test.
14829         [BZ #13787]
14830         [BZ #13922]
14831         [BZ #14036]
14832         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14833         (__ieee754_expl): Allow for and saturate large arguments.
14834         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14835         (u_threshold): Likewise.
14836         (__exp): Call __ieee754_exp before checking for overflow and
14837         underflow.
14838         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14839         (u_threshold): Likewise.
14840         (__expf): Call __ieee754_expf before checking for overflow and
14841         underflow.
14842         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14843         (u_threshold): Likewise.
14844         (__expl): Call __ieee754_expl before checking for overflow and
14845         underflow.
14846         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14847         (__ieee754_expl): Allow for and saturate large arguments.
14848         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14849         missing overflow exception on overflow.
14850         (expm1_test): Do not allow missing overflow exception on overflow.
14852         * sysdeps/i386/fpu/e_expl.c: Move to ...
14853         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14854         rather than using inline asm.
14855         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14856         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14857         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14859         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14860         (nice): Likewise.
14861         (poll): Likewise.
14862         (signal): Likewise.
14863         (time): Likewise.
14864         (times): Likewise.
14866 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14868         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14869         sysdeps/unix/common/syscalls.list.
14870         (fchmod): Likewise.
14871         (fchown): Likewise.
14872         (ftruncate): Likewise.
14873         (getrusage): Likewise.
14874         (gettimeofday): Likewise.
14875         (setpgid): Likewise.
14876         (setregid): Likewise.
14877         (setreuid): Likewise.
14878         (sigaction): Likewise.
14879         (truncate): Likewise.
14880         (vhangup): Likewise.
14881         * sysdeps/unix/common/syscalls.list: Remove file.
14882         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14883         * sysdeps/unix/sysv/linux/Implies: Likewise.
14885 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14887         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14889         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14890         Moved to ...
14891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14892         Here.
14893         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14894         to ...
14895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14896         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14897         to ...
14898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14899         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14900         to ...
14901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14902         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14903         to ...
14904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14905         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14906         to ...
14907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14908         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14909         to ...
14910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14911         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14912         to ...
14913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14914         Here.
14915         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14916         to ...
14917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14918         Here.
14919         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14920         to ...
14921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14922         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14923         Moved to ...
14924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14925         Here.
14926         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14927         to ...
14928         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14930 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14932         * sysdeps/unix/common/bits/dirent.h: Remove file.
14933         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14935         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14936         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14937         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14938         * sysdeps/unix/bsd/isatty.c: Likewise.
14939         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14940         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14941         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14943 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14945         [BZ #13563]
14946         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14947         long double comparison inaccuracies.
14948         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14951 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14953         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14954         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14956 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14958         [BZ #14049]
14959         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14960         nonzero digits before rounding a hex value.
14961         * stdlib/tst-strtod.c (tests): Add another test.
14963 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14965         * sysdeps/s390/fpu/libm-test-ulps: Update.
14967 2012-05-03  Andreas Jaeger  <aj@suse.de>
14969         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14970         does not get optimized out.
14971         (malloc_opt_barrier): New.
14973 2012-05-03  Andreas Jaeger  <aj@suse.de>
14974             Roland McGrath  <roland@hack.frob.com>
14976         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14977         intermediate file deletion.
14978         (generated): Add .symlist files.
14980 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14982         [BZ #13775]
14983         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14984         Redirect under this condition.
14985         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14986         [__USE_GNU] (__dprintf_chk): Not under this condition.
14987         [__USE_GNU] (__vdprintf_chk): Likewise.
14988         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14989         under this condition.
14990         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14991         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14992         [__USE_XOPEN2K8] (vdprintf): Likewise.
14993         [__USE_GNU] (__dprintf_chk): Not under this condition.
14994         [__USE_GNU] (__vdprintf_chk): Likewise.
14995         [__USE_GNU] (dprintf): Likewise.
14996         [__USE_GNU] (vdprintf): Likewise.
14998 2012-05-03  Roland McGrath  <roland@hack.frob.com>
15000         * elf/Makefile (common-generated): Set this instead of generated for
15001         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
15002         $(all-built-dso)-derived lists.
15004 2012-05-03  Andreas Jaeger  <aj@suse.de>
15006         * sysdeps/i386/fpu/libm-test-ulps: Update.
15008         * FAQ: Removed.
15009         * FAQ.in: Likewise.
15010         * scripts/gen-FAQ.pl: Likewise.
15011         * manual/install.texi (Installation): Point to online location of
15012         FAQ.
15013         * Makefile (files-for-dist): Remove FAQ.
15014         (FAQ): Remove.
15016 2012-05-02  Allan McRae  <allan@archlinux.org>
15018         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15019         (LDFLAGS-reldepmod5.so): Likewise.
15020         (LDFLAGS-reldep6mod1.so): Likewise.
15021         (LDFLAGS-reldep6mod4.so): Likewise.
15022         (LDFLAGS-reldep8mod3.so): Likewise.
15023         (LDFLAGS-unload4mod1.so): Likewise.
15024         (LDFLAGS-unload4mod2.so): Likewise.
15025         (LDFLAGS-tst-initorder): Likewise.
15026         (LDFLAGS-tst-initordera2.so): Likewise.
15027         (LDFLAGS-tst-initordera3.so): Likewise.
15028         (LDFLAGS-tst-initordera4.so): Likewise.
15029         (LDFLAGS-tst-initorderb2.so): Likewise.
15030         (LDFLAGS-noload): Likewise.
15031         (LDFLAGS-next): Likewise.
15032         (LDFLAGS-order2mod1.so): Likewise.
15033         (LDFLAGS-order2mod2.so): Likewise.
15034         (LDFLAGS-tst-initorder2): Likewise.
15035         (LDFLAGS-tst-initorder2a.so): Likewise.
15036         (LDFLAGS-tst-initorder2b.so): Likewise.
15037         (LDFLAGS-tst-initorder2c.so): Likewise.
15038         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15040 2012-05-02  David S. Miller  <davem@davemloft.net>
15042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15044 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15046         [BZ #14055]
15047         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15049 2012-05-02  Andreas Jaeger  <aj@suse.de>
15051         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15052         since we manipulate rounding mode.
15053         (CPPFLAGS-test-idouble.c): Likewise.
15054         (CPPFLAGS-test-ifloat.c): Likewise.
15055         (CFLAGS-test-ldouble.c): Likewise.
15056         (CFLAGS-test-double.c): Likewise.
15057         (CFLAGS-test-float.c): Likewise.
15058         (CFLAGS-test-misc.c): Likewise.
15059         (CFLAGS-test-test-fenv.c): Likewise.
15061 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15063         [BZ #2550]
15064         [BZ #2570]
15065         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15066         comparisons to determine direction to adjust input.
15068 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15070         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15071         output to the target.
15073         * scripts/localplt.awk: New file.
15074         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15075         (check-localplt-CFLAGS): Variable removed.
15076         ($(all-built-dso:=.jmprel)): New static pattern rule.
15077         (generated): Add those targets.
15078         (localplt-built-dso): New variable.
15079         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15081         * elf/check-localplt.c: File removed.
15083         * scripts/check-execstack.awk: New file.
15084         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15085         (check-execstack-CFLAGS): Variable removed.
15086         ($(objpfx)check-execstack.h): Target removed.
15087         ($(objpfx)execstack-default): New target.
15088         (generated): Add that instead of check-execstack.h.
15089         ($(all-built-dso:=.phdr)): New static pattern rule.
15090         (generated): Add those targets.
15091         * elf/check-execstack.c: File removed.
15093         * scripts/check-textrel.awk: New file.
15094         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15095         (check-textrel-CFLAGS): Variable removed.
15096         (all-built-dso): Use := to define.o
15097         ($(all-built-dso:=.dyn)): New static pattern rule.
15098         (generated): Add those targets.
15099         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15100         * config.make.in (READELF): New substituted variable.
15101         * elf/check-textrel.c: File removed.
15103 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15105         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15106         allow.
15107         * conform/data/ctype.h-data [C99-based standards] (isblank):
15108         Expect function.
15109         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15110         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15111         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15112         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15113         Specify type.  Require positive value.
15114         (EILSEQ): Likewise.
15115         (ERANGE): Likewise.
15116         [ISO || POSIX] (EILSEQ): Do not expect.
15117         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15118         Specify type.  Require positive value.
15119         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15120         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15121         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15122         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15123         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15124         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15125         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15126         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15127         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15128         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15129         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15130         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15131         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15132         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15133         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15134         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15135         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15136         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15137         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15138         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15139         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15140         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15141         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15142         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15143         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15144         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15145         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15146         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15147         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15148         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15149         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15150         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15151         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15152         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15153         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15154         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15155         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15156         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15157         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15158         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15159         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15160         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15161         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15162         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15163         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15164         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15165         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15166         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15167         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15168         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15169         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15170         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15171         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15172         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15173         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15174         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15175         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15176         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15177         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15178         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15179         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15180         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15181         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15182         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15183         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15184         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15185         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15186         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15187         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15188         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15189         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15190         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15191         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15192         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15193         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15194         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15195         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15196         Require >= 2.
15197         (FLT_ROUNDS): Expect as macro, not constant.
15198         (FLT_MANT_DIG): Use macro-int-constant.
15199         (DBL_MANT_DIG): Likewise.
15200         (LDBL_MANT_DIG): Likewise.
15201         (FLT_DIG): Likewise.
15202         (DBL_DIG): Likewise.
15203         (LDBL_DIG): Likewise.
15204         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15205         (DBL_MIN_EXP): Likewise.
15206         (LDBL_MIN_EXP): Likewise.
15207         (FLT_MAX_EXP): Use macro-int-constant.
15208         (DBL_MAX_EXP): Likewise.
15209         (LDBL_MAX_EXP): Likewise.
15210         (FLT_MAX_10_EXP): Likewise.
15211         (DBL_MAX_10_EXP): Likewise.
15212         (LDBL_MAX_10_EXP): Likewise.
15213         (FLT_MAX): Use macro-constant.
15214         (DBL_MAX): Likewise.
15215         (LDBL_MAX): Likewise.
15216         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15217         (DBL_EPSILON): Likewise.
15218         (LDBL_EPSILON): Likewise.
15219         (FLT_MIN): Likewise.
15220         (DBL_MIN): Likewise.
15221         (LDBL_MIN): Likewise.
15222         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15223         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15224         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15225         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15226         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15227         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15228         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15229         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15230         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15231         [ISO11] (FLT_TRUE_MIN): Likewise.
15232         [ISO11] (LDBL_TRUE_MIN): Likewise.
15233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15234         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15235         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15236         (SCHAR_MAX): Likewise.
15237         (UCHAR_MAX): Likewise.
15238         (CHAR_MIN): Likewise.
15239         (CHAR_MAX): Likewise.
15240         (MB_LEN_MAX): Use macro-int-constant.
15241         (SHRT_MIN): Use macro-int-constant.  Specify type.
15242         (SHRT_MAX): Likewise.
15243         (USHRT_MAX): Likewise.
15244         (INT_MAX): Likewise.
15245         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15246         bound negative.
15247         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15248         bound with "U".
15249         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15250         bound with "L".
15251         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15252         bound negative.  Suffix upper bound with "L".
15253         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15254         bound with "UL".
15255         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15256         Specify type.
15257         [C99-based standards] (LLONG_MAX): Likewise.
15258         [C99-based standards] (ULLONG_MAX): Likewise.
15259         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15260         == 0.
15261         [ISO11] (max_align_t): Require type.
15262         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15264         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15265         from $CFLAGS, without defining away __attribute__ calls.
15266         (checknamespace): Use $CFLAGS_namespace.
15268         * conform/conformtest.pl (@keywords): Only include C99 keywords
15269         for standards based on C99 or C11.
15271         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15272         Disable tests.
15273         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15274         UNIX98]: Likewise.
15276         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15277         usability of symbols in #if.
15279         * conform/conformtest.pl: If macro or constant types start
15280         "promoted:", expect the symbol to be of the following type
15281         promoted by the integer promotions.
15283         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15284         in one place.  Also handle "macro-constant".
15286         * conform/conformtest.pl: Only accept expected macro values with
15287         "==".  Parse all "macro" lines in one place.
15288         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15290         * conform/conformtest.pl: Handle braced types on "constant" lines
15291         instead of handling "typed-constant".
15292         * conform/data/signal.h-data: Use "constant" instead of
15293         "typed-constant".
15295         * conform/conformtest.pl: Handle "optional-" at start of lines in
15296         one place rather than duplicating several cases.  Handle each
15297         format of "macro" line with initial "optional-".
15299         * conform/conformtest.pl: Only accept expected constant or
15300         optional-constant values with "==".  Parse all "constant" lines in
15301         one place.  Parse all "optional-constant" lines in one place.
15302         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15303         * conform/data/fmtmsg.h-data: Likewise.
15304         * conform/data/netinet/in.h-data: Likewise.
15305         * conform/data/tar.h-data: Likewise.
15306         * conform/data/limits.h-data: Use "==" form on "constant" and
15307         "optional-constant" lines.
15309         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15310         Use -std=c99 for XOPEN2K.
15311         (@knownproblems): Remove.
15312         (newtoken): Don't check %isknown.
15314         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15315         Do not expect macro.
15316         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15317         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15318         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15319         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15320         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15321         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15322         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15323         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15324         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15325         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15326         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15327         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15328         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15329         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15330         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15331         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15332         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15333         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15334         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15335         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15336         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15337         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15338         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15339         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15340         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15341         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15342         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15343         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15344         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15345         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15346         [XPG3] (acosh): Likewise.
15347         [XPG3] (asinh): Likewise.
15348         [XPG3] (atanh): Likewise.
15349         [XPG3] (cbrt): Likewise.
15350         [XPG3] (expm1): Likewise.
15351         [XPG3] (ilogb): Likewise.
15352         [XPG3] (log1p): Likewise.
15353         [XPG3] (logb): Likewise.
15354         [XPG3] (nextafter): Likewise.
15355         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15356         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15357         [XPG3] (remainder): Likewise.
15358         [XPG3] (rint): Likewise.
15359         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15360         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15361         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15362         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15363         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15364         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15365         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15366         [UNIX98 || XOPEN2K] (scalb): Expect.
15367         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15368         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15369         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15370         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15371         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15372         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15373         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15374         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15375         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15376         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15377         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15378         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15379         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15380         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15381         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15382         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15383         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15384         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15385         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15386         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15387         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15388         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15389         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15390         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15391         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15392         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15393         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15394         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15395         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15396         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15397         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15398         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15399         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15400         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15401         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15402         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15403         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15404         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15405         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15406         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15407         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15408         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15409         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15410         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15411         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15412         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15413         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15414         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15415         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15416         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15417         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15418         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15419         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15420         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15421         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15422         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15423         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15424         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15425         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15426         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15427         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15428         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15429         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15430         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15431         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15432         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15433         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15434         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15435         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15436         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15437         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15438         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15439         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15440         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15441         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15442         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15443         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15444         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15445         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15446         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15447         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15448         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15449         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15450         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15451         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15452         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15453         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15454         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15455         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15456         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15457         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15458         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15459         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15460         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15461         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15462         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15463         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15464         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15465         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15466         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15467         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15468         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15469         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15470         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15471         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15472         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15473         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15474         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15475         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15476         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15477         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15478         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15479         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15480         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15481         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15482         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15483         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15484         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15485         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15486         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15487         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15488         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15489         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15490         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15491         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15492         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15493         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15494         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15495         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15496         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15497         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15498         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15499         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15500         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15501         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15502         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15503         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15505         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15506         _XOPEN_SOURCE_EXTENDED for XPG4.
15508         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15510         * Makeconfig (localtime): Remove variable.
15511         (inst_localtime-file): Likewise.
15513 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15516         Update.
15517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15518         Update.
15519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15520         Update.
15521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15522         Update.
15523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15524         Update.
15525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15526         Update.
15527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15528         Update.
15529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15530         Update.
15531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15532         Update.
15534 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15536         [BZ #2550]
15537         [BZ #2570]
15538         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15539         comparisons to determine direction to adjust input.
15540         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15541         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15542         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15543         Likewise.
15544         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15545         Likewise.
15546         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15547         Likewise.
15548         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15549         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15550         Likewise.
15551         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15552         Likewise.
15553         * math/libm-test.inc (nexttoward_test): Add more tests.
15555 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15557         [BZ #14040]
15558         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15559         in version GLIBC_2.1, not GLIBC_2.0.
15560         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15561         Likewise.
15563 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15565         [BZ #13942]
15566         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15567         (1 - x) * (1 + x).
15568         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15569         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15570         * math/libm-test.inc (acos_test): Add more tests.
15571         (asin_test): Likewise.
15572         * sysdeps/i386/fpu/libm-test-ulps: Update.
15573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15575         [BZ #14034]
15576         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15577         of square root.
15578         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15579         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15580         * math/libm-test.inc (acos_test_tonearest): New function.
15581         (acos_test_towardzero): Likewise.
15582         (acos_test_downward): Likewise.
15583         (acos_test_upward): Likewise.
15584         (asin_test_tonearest): Likewise.
15585         (asin_test_towardzero): Likewise.
15586         (asin_test_downward): Likewise.
15587         (asin_test_upward): Likewise.
15588         (main): Call the new functions.
15589         * sysdeps/i386/fpu/libm-test-ulps: Update.
15590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15592         [BZ #13884]
15593         [BZ #13924]
15594         * math/e_exp10.c: Include <float.h>.
15595         (__ieee754_exp10): Handle underflow here rather than multiplying
15596         large negative argument by M_LN10.
15597         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15598         of __ieee754_expf.
15599         * math/e_exp10l.c: Include <float.h>.
15600         (__ieee754_exp10l): Handle underflow here rather than multiplying
15601         large negative argument by M_LN10l.
15602         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15603         spurious overflow exception on underflow.
15605 2012-04-29  Marek Polacek  <polacek@redhat.com>
15607         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15608         (__fortify_function): New macro.
15609         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15610         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15611         __extern_always_inline.
15612         * libio/bits/stdio2.h: Likewise.
15613         * libio/bits/stdio.h: Likewise.
15614         * string/string.h: Likewise.
15615         * string/bits/string3.h: Likewise.
15616         * include/stdio.h: Likewise.
15617         * stdlib/bits/stdlib.h: Likewise.
15618         * stdlib/stdlib.h: Likewise.
15619         * rt/bits/mqueue2.h: Likewise.
15620         * rt/mqueue.h: Likewise.
15621         * posix/bits/unistd.h: Likewise.
15622         * posix/unistd.h: Likewise.
15623         * io/bits/poll2.h: Likewise.
15624         * io/bits/fcntl2.h: Likewise.
15625         * io/fcntl.h: Likewise.
15626         * io/sys/poll.h: Likewise.
15627         * misc/bits/syslog.h: Likewise.
15628         * misc/bits/syslog-ldbl.h: Likewise.
15629         * misc/sys/syslog.h: Likewise.
15630         * socket/bits/socket2.h: Likewise.
15631         * socket/sys/socket.h: Likewise.
15632         * debug/tst-chk1.c: Likewise.
15633         * wcsmbs/bits/wchar2.h: Likewise.
15634         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15635         * wcsmbs/wchar.h: Likewise.
15637 2012-04-29  Andreas Jaeger  <aj@suse.de>
15639         * Makerules (tests): Remove enable-check-abi protection.
15640         (check-abi-warn): Remove.
15641         (check-abi-%): Remove check-abi-warn usage.
15643         * configure.in: Remove check-abi configure option.
15644         * configure: Regenerated.
15645         * config.make.in (enable-check-abi): Remove.
15647 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15649         [BZ #14033]
15650         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15651         double functions to double *_finite functions.
15653         [BZ #13941]
15654         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15655         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15656         LDBL_MIN_EXP.
15657         * stdio-common/Makefile (tests): Add tst-sprintf3.
15658         * stdio-common/tst-sprintf3.c: New file.
15660         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15661         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15663 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15665         * conform/conformtest.pl: Remove duplicate typed-constant
15666         handling.
15668 2012-04-28  David S. Miller  <davem@davemloft.net>
15670         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15671         (check-abi-%): Remove AWK script prerequisite and explicit
15672         abilist directory.
15673         (check-abi): Rewrite to just diff the symlist with the abilist.
15674         (config-tls, config-abi-config): Delete, no longer used.
15675         (update-abi-%): Remove AWK script and explicit abilist directory.
15676         (update-abi): Rewrite to simply compare and conditionally copy the
15677         symlist and the sysdep abilist file.  Remove update-abi-config
15678         checks.
15679         * abilist/ld.abilist: Remove.
15680         * abilist/libBrokenLocale.abilist: Remove.
15681         * abilist/libanl.abilist: Remove.
15682         * abilist/libcrypt.abilist: Remove.
15683         * abilist/libdl.abilist: Remove.
15684         * abilist/librt.abilist: Remove.
15685         * abilist/libthread_db.abilist: Remove.
15686         * abilist/libutil.abilist: Remove.
15687         * scripts/extract-abilist.awk: Remove.
15688         * scripts/merge-abilist.awk: Remove.
15689         * sysdeps/generic/libcidn.abilist: New file.
15690         * sysdeps/generic/libnss_compat.abilist: New file.
15691         * sysdeps/generic/libnss_db.abilist: New file.
15692         * sysdeps/generic/libnss_dns.abilist: New file.
15693         * sysdeps/generic/libnss_files.abilist: New file.
15694         * sysdeps/generic/libnss_hesiod.abilist: New file.
15695         * sysdeps/generic/libnss_nis.abilist: New file.
15696         * sysdeps/generic/libnss_nisplus.abilist: New file.
15697         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15698         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15699         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15700         file.
15701         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15702         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15703         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15704         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15705         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15706         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15707         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15708         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15709         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15710         file.
15711         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15712         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15713         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15714         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15715         file.
15716         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15717         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15718         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15719         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15720         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15721         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15722         file.
15723         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15724         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15725         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15726         file.
15727         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15728         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15729         New file.
15730         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15731         New file.
15732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15733         New file.
15734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15735         New file.
15736         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15737         New file.
15738         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15739         New file.
15740         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15741         New file.
15742         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15743         New file.
15744         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15745         New file.
15746         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15747         New file.
15748         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15749         New file.
15750         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15751         New file.
15752         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15753         New file.
15754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15755         file.
15756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15757         New file.
15758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15759         New file.
15760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15761         file.
15762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15763         New file.
15764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15765         New file.
15766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15767         file.
15768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15769         New file.
15770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15771         New file.
15772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15773         New file.
15774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15775         New file.
15776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15777         New file.
15778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15779         New file.
15780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15782         file.
15783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15784         New file.
15785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15786         file.
15787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15788         file.
15789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15790         file.
15791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15792         file.
15793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15794         file.
15795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15796         New file.
15797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15798         file.
15799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15800         file.
15801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15802         New file.
15803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15804         file.
15805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15807         file.
15808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15809         New file.
15810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15811         file.
15812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15813         file.
15814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15815         file.
15816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15817         file.
15818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15819         file.
15820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15821         New file.
15822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15823         file.
15824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15825         file.
15826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15827         New file.
15828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15829         file.
15830         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15831         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15832         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15833         file.
15834         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15835         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15836         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15837         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15838         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15839         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15840         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15841         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15842         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15843         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15846         file.
15847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15848         New file.
15849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15850         file.
15851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15852         file.
15853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15854         file.
15855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15856         file.
15857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15858         file.
15859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15860         New file.
15861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15862         New file.
15863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15864         file.
15865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15866         New file.
15867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15868         file.
15869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15871         file.
15872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15873         New file.
15874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15875         file.
15876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15877         file.
15878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15879         file.
15880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15881         file.
15882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15883         file.
15884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15885         New file.
15886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15887         New file.
15888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15889         file.
15890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15891         New file.
15892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15893         file.
15895 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15897         * conform/conformtest.pl: Fix typo in handling typed-constant from
15898         allow-header.
15900 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15902         * README: Cut down references to pre-2.6 Linux kernels and
15903         Linuxthreads.  Update lists of configurations in libc and ports
15904         and sort alphabetically.  Say "or newer" with Linux kernel version
15905         requirements.
15907         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15909 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15911         [BZ #887]
15912         * math/libm-test.inc (logb_test_downward): New test to expose
15913         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15914         rounding mode.
15916 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15918         [BZ #14027]
15919         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15920         to be done.
15921         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15922         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15924 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15926         * sysdeps/unix/i386/brk.S: Remove file.
15927         * sysdeps/unix/i386/dl-brk.S: Likewise.
15928         * sysdeps/unix/i386/pipe.S: Likewise.
15929         * sysdeps/unix/i386/sigreturn.S: Likewise.
15930         * sysdeps/unix/i386/syscall.S: Likewise.
15931         * sysdeps/unix/i386/vfork.S: Likewise.
15932         * sysdeps/unix/i386/wait.S: Likewise.
15934         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15935         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15937         * configure.in (arm*-none*): Do not allow without
15938         --enable-hacker-mode.
15939         (netbsd*): Remove case setting base_os.
15940         (386bsd*): Likewise.
15941         (freebsd*): Likewise.
15942         (bsdi*): Likewise.
15943         (osf*): Likewise.
15944         (sunos*): Likewise.
15945         (ultrix*): Likewise.
15946         (newsos*): Likewise.
15947         (dynix*): Likewise.
15948         (*bsd*): Likewise.
15949         (sysv*): Likewise.
15950         (isc*): Likewise.
15951         (esix*): Likewise.
15952         (sco*): Likewise.
15953         (minix*): Likewise.
15954         (irix4*): Likewise.
15955         (irix6*): Likewise.
15956         (solaris[2-9]*): Likewise.
15957         (none): Likewise.
15958         * configure: Regenerated.
15960 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15962         [BZ #11521]
15963         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15964         overflow or cancellation in calculating denominator.
15965         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15966         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15967         down expression to avoid unexpected rounding in newer GCCs.
15968         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15970 2012-04-26  David S. Miller  <davem@davemloft.net>
15972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15973         long-double compat symbols.
15974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15988 2012-04-25  David S. Miller  <davem@davemloft.net>
15990         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15991         HWCAP_* values only after the memory barriers have been defined.
15992         (atomic_full_barrier): Define.
15993         (atomic_read_barrier): Define.
15994         (atomic_write_barrier): Define.
15996 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15998         * shlib-versions: Add libgcc_s version information.
15999         * sysdeps/generic/libgcc_s.h: Remove.
16000         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16001         libgcc_s.h.
16002         * sysdeps/gnu/unwind-resume.c: Likewise.
16003         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16005 2012-04-25  David S. Miller  <davem@davemloft.net>
16007         * sysdeps/unix/sparc/brk.S: Delete.
16008         * sysdeps/unix/sparc/dl-brk.S: Delete.
16009         * sysdeps/unix/sparc/pipe.S: Delete.
16010         * sysdeps/unix/sparc/sysdep.S: Delete.
16011         * sysdeps/unix/sparc/sysdep.h: Delete.
16012         * sysdeps/unix/sparc/vfork.S: Delete.
16013         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16014         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16015         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16016         ret_ERRVAL, r0, r1, MOVE): Define.
16017         (JUMPTARGET): Remove.
16018         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16019         sysdeps/unix/sparc/sysdep.h
16020         (ENTRY, END): Remove.
16021         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16023 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
16025         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16026         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16027         -DIS_IN_build.
16029         * timezone/README: Update upstream location and email address for
16030         tzcode and tzdata.
16031         * timezone/zdump.c: Update from tzcode 2012b.
16032         * timezone/zic.c: Likewise.
16034         * configure.in (libc_cv_as_needed): Remove test.
16035         * configure: Regenerated.
16036         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16037         conditional definition.
16038         [$(have-as-needed) != yes] (no-as-needed): Likewise.
16039         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16040         * config.make.in (have-as-needed): Remove variable.
16042 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16043             Paul Pluzhnikov  <ppluzhnikov@google.com>
16045         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16046         strings correctly.
16048 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16050         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16051         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16052         * sysdeps/sh/strlen.S: Likewise.
16054 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16056         * sysdeps/unix/fork.S: Remove file.
16057         * sysdeps/unix/i386/fork.S: Likewise.
16058         * sysdeps/unix/sparc/fork.S: Likewise.
16060         * sysdeps/unix/system.c: Remove file.
16061         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16063         * sysdeps/unix/getegid.S: Remove file.
16064         * sysdeps/unix/geteuid.S: Likewise.
16066 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16068         * scripts/check-localplt.awk: New file.
16069         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16070         of diff.
16071         * scripts/data/localplt-generic.data: Add a comment.
16073         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16074         NODE when __dir_mkfile failed.
16075         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16076         Reported by Ludovic Courtès <ludo@gnu.org>.
16078 2012-04-24  Andreas Jaeger  <aj@suse.de>
16080         * Makerules (common-clean): Also remove gen-as-const-headers
16081         files.
16083 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16085         * Makerules (native-compile): Do not change working directory for
16086         build.  Use $(OUTPUT_OPTION) in command.
16087         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16089 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16091         [BZ #13886]
16092         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16093         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16094         * math/libm-test.inc (floor_test): Add more tests.
16095         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16097 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16099         * sysdeps/unix/getdents.c: Remove file.
16100         * sysdeps/unix/sysv/getdents.c: Likewise.
16101         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16103         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16104         sysdeps/unix/mman/syscalls.list.
16105         (mmap): Likewise.
16106         (mprotect): Likewise.
16107         (msync): Likewise.
16108         (munmap): Likewise.
16109         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16110         * sysdeps/unix/mman/syscalls.list: Remove.
16111         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16113         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16114         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16115         * configure: Regenerated.
16116         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16117         $(libgcc_s_suffix).
16118         * config.make.in (libgcc_s_suffix): Remove variable.
16120 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16122         * sysdeps/unix/sysv/gethostname.c: Move to ...
16123         * sysdeps/posix/gethostname.c: ... here.
16125         * sysdeps/unix/execve.S: Remove file.
16127         * sysdeps/unix/_exit.S: Remove file.
16129 2012-04-23  Andreas Jaeger  <aj@suse.de>
16131         [BZ #13739]
16132         * manual/Makefile: Remove make dist support, there's no
16133         need for a stand-alone documentation tar ball.
16134         (TEXI2DVI): Define always, it's not in Makeconfig.
16135         (dist): Removed.
16136         (tar-it): Removed.
16137         (edition): Removed.
16138         (glibc-doc-$(edition).tar): Removed
16139         (%.Z): Removed.
16140         (%.gz): Removed.
16141         (%.uu): Removed.
16142         (ETAGS): Remove, it's in Makeconfig.
16143         (move-if-change): Remove, it's in Makeconfig.
16145 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16147         [BZ #13970]
16148         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16149         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16150         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16151         (strtod_l, strtof_l, strtold_l): Remove __wur.
16152         It is not necessarily an error to ignore strtol's return value.
16153         One can reliably look at the stored endptr to decide whether
16154         the number had valid syntax.
16156 2012-04-21  Andreas Jaeger  <aj@suse.de>
16158         [BZ #13739]
16159         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16161 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16163         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16164         * sysdeps/unix/sysv/Versions: Remove file.
16166 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16168         [BZ #13927]
16169         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16171 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16173         [BZ #7064]
16174         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16175         version from __vm86.
16177 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16179         * sysdeps/unix/common/lxstat.c: Remove file.
16180         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16182         * sysdeps/unix/sysv/Makefile: Remove file.
16184         * sysdeps/unix/sysv/direct.h: Remove file.
16186         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16187         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16188         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16189         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16190         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16191         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16192         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16194         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16196         * sysdeps/unix/xmknod.c: Remove file.
16197         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16199         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16201         * sysdeps/unix/sysv/i386/time.S: Remove file.
16203         * sysdeps/unix/fxstat.c: Remove file.
16204         * sysdeps/unix/xstat.c: Likewise.
16205         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16207         * sysdeps/unix/sysv/sigaction.c: Remove file.
16209         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16210         (sysdep_headers): Remove variable.
16211         [termio.h not in sysdep_headers] (generated): Likewise.
16212         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16213         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16214         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16215         * sysdeps/unix/sysv/tcflow.c: Likewise.
16216         * sysdeps/unix/sysv/tcflush.c: Likewise.
16217         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16218         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16219         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16220         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16221         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16223         * sysdeps/unix/siglist.c: Remove file.
16225         * sysdeps/unix/getppid.S: Remove file.
16227         * sysdeps/unix/mkdir.c: Remove file.
16228         * sysdeps/unix/rmdir.c: Likewise.
16230 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16232         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16233         ERR_MAX value.
16234         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16235         errlist-compat value.
16237 2012-04-18  David S. Miller  <davem@davemloft.net>
16239         * sysdeps/generic/memcopy.h (reg_char): Delete.
16240         * debug/strcat_chk.c: Use char, not reg_char.
16241         * debug/strcpy_chk.c: Likewise.
16242         * debug/strncat_chk.c: Likewise.
16243         * debug/strncpy_chk.c: Likewise.
16244         * string/memchr.c: Likewise.
16245         * string/memrchr.c: Likewise.
16246         * string/rawmemchr.c: Likewise.
16247         * string/strcat.c: Likewise.
16248         * string/strchr.c: Likewise.
16249         * string/strchrnul.c: Likewise.
16250         * string/strcmp.c: Likewise.
16251         * string/strcpy.c: Likewise.
16252         * string/strncat.c: Likewise.
16253         * string/strncmp.c: Likewise.
16254         * string/strncpy.c: Likewise.
16256 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16258         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16259         __builtin_memcopy is called when src and dest ranges are known to not
16260         overlap.
16262 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16264         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16265         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16266         fwd_align_merge macro call.
16267         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16268         bwd_align_merge macro call.
16269         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16271 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16273         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16274         bwd_align_merge macros.
16275         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16276         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16277         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16279 2012-04-18  David S. Miller  <davem@davemloft.net>
16281         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16283 2012-04-18  Andreas Jaeger  <aj@suse.de>
16285         [BZ# 6794]
16286         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16287         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16288         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16290         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16291         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16292         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16294         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16295         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16296         Adjust for changed ldbl-128 files.
16298         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16299         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16300         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16302 2012-04-17  David S. Miller  <davem@davemloft.net>
16304         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16306 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16308         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16309         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16310         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16311         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16312         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16313         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16315 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16317         [BZ #6794]
16318         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16319         * math/libm-test.inc: Add ilogb errno and exception tests.
16320         * math/w_ilogb.c: New file: ilogb wrapper.
16321         * math/w_ilogbf.c: New file: ilogbf wrapper.
16322         * math/w_ilogbl.c: New file: ilogbl wrapper.
16323         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16324         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16325         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16326         exception being thrown with 0.0 as argument.
16327         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16328         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16329         exception being thrown with 0.0 as argument.
16330         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16331         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16332         exception being thrown with 0.0 as argument.
16333         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16334         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16335         exception being thrown with 0.0 as argument.
16336         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16337         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16338         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16339         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16340         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16341         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16342         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16343         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16344         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16346 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16348         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16349         with altivec.
16351 2012-04-16  Marek Polacek  <polacek@redhat.com>
16353         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16355 2012-04-16  Marek Polacek  <polacek@redhat.com>
16357         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16358         operands of fdivp instruction.
16360 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16362         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16363         * elf/tst-auditmod3b.c: Likewise.
16364         * elf/tst-auditmod4b.c: Likewise.
16365         * elf/tst-auditmod5b.c: Likewise.
16366         * elf/tst-auditmod6b.c: Likewise.
16367         * elf/tst-auditmod6c.c: Likewise.
16368         * elf/tst-auditmod7b.c: Likewise.
16369         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16370         * sysdeps/x86_64/preconfigure.in: Likewise.
16371         * sysdeps/x86_64/preconfigure: Regenerated.
16373 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16375         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16376         __ILP32__.
16378 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16380         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16381         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16383 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16385         [BZ #13973]
16386         * locale/iso-639.def: Fix gl language name. Spotted by
16387         Yaron Shahrabani.
16389 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16391         [BZ #2074]
16392         * libio/libio.h (__io_write_fn): Update comment.
16394 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16396         [BZ #2074]
16397         * stdio.texi (Hook Functions): The user provided writer function
16398         is not allowed to return -1.
16400 2012-04-11  David S. Miller  <davem@davemloft.net>
16402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16404 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16406         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16407         Add a leading slash to rtkaio.
16409 2012-04-11  Jim Meyering  <meyering@redhat.com>
16411         [BZ #11959]
16412         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16413         It is not necessarily an error to ignore fwrite's return
16414         value.  One can reliably use ferror to test for errors after
16415         the fact.
16417 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16419         * bits/types.h (__snseconds_t): New type.
16420         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16422         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16423         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16424         (__SNSECONDS_T_TYPE): Likewise.
16425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16426         (__SNSECONDS_T_TYPE): Likewise.
16427         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16428         (__SNSECONDS_T_TYPE): Likewise.
16430 2012-04-10  Andreas Jaeger  <aj@suse.de>
16432         [BZ #2636]
16433         * manual/time.texi (Processor Time): Return type of times is
16434         elapsed real time since an arbitrary point in the past.
16435         (CPU Time): Move CLK_TCK from here...
16436         (Processor Time): ...to here.  Correct description.
16437         * manual/conf.texi (Constants for Sysconf): Correct description of
16438         _SC_CLK_TCK.
16440 2012-04-10  David S. Miller  <davem@davemloft.net>
16442         [BZ #13967]
16443         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16444         where the is a gap between DT_REL(A) and DT_JMPREL.
16446 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16448         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16449         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16450         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16452 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16454         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16455         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16456         (dl_main): Handle --inhibit-cache.
16457         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16458         _dl_inhibit_cache.
16459         * elf/dl-load.c (_dl_map_object): Use it.
16460         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16462 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16464         [BZ #13872]
16465         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16466         (__ieee754_powl): Saturate large exponents rather than testing for
16467         overflow of y*log2(x).
16468         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16469         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16470         exceptions.
16472         [BZ #11521]
16473         * math/s_ctan.c: Include <float.h>.
16474         (__ctan): Avoid internal overflow or cancellation in calculating
16475         denominator.
16476         * math/s_ctanf.c: Likewise.
16477         * math/s_ctanl.c: Likewise.
16478         * math/s_ctanh.c: Likewise.
16479         * math/s_ctanhf.c: Likewise.
16480         * math/s_ctanhl.c: Likewise.
16481         * math/libm-test.inc (ctan_test): Add more tests.
16482         (ctanh_test): Likewise.
16483         * sysdeps/i386/fpu/libm-test-ulps: Update.
16484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16486 2012-04-09  Andreas Jaeger  <aj@suse.de>
16488         [BZ #6894]
16489         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16490         is an optional BSD extension.
16492         [BZ #10254]
16493         * manual/stdio.texi (Opening Streams): Document additional fopen
16494         parameters.
16496 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16498         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16499         %eax without telling the compiler.
16501 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16503         [BZ # 13963]
16504         * manual/install.texi: Use sourceware.org.
16506 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16508         [BZ #13873]
16509         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16510         (__ieee754_pow): Generate overflow and underflow using huge*huge
16511         and tiny*tiny rather than just returning constant infinity or zero
16512         for large exponents.
16513         * math/libm-test.inc (pow_test): Require overflow exceptions for
16514         applicable cases of large exponents.
16516         [BZ #706]
16517         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16518         (__ieee754_pow): Use iterative multiplication algorithm only for
16519         integer exponents with absolute value below 1024.  Check for odd
16520         integer exponents when using algorithm for real exponents.
16521         * math/libm-test.inc (pow_test): Add more tests.
16522         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16524 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16526         [BZ #13705]
16527         * math/libm-test.inc (exp_test): Do not allow overflow exception
16528         on underflow test.
16530 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16532         [BZ #13705]
16533         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16534         instead of __kernel_standard_f.
16536 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16538         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16539         * sysdeps/x86_64/memset_chk.S: Likewise.
16541 2012-04-08  Andreas Jaeger  <aj@suse.de>
16543         [BZ #10153]
16544         * manual/startup.texi (Environment Access): Describe return value
16545         for putenv and setenv.
16547         [BZ #6895]
16548         * manual/filesys.texi (Directory Entries): Add description for
16549         DT_LNK.
16551         [BZ #6890]
16552         * manual/filesys.texi (Directory Entries): Clarify that it's file
16553         system not operating system in the description of DT_UNKNOWN.
16555         [BZ #6578]
16556         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16558 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16560         [BZ #6649]
16561         * manual/llio.texi (Opening and Closing Files): Add cross
16562         reference to explain mode argument.
16564 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16566         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16567         * sysdeps/x86_64/memset_chk.S: Likewise.
16569 2012-04-07  David S. Miller  <davem@davemloft.net>
16571         * elf/elf.h (R_SPARC_WDISP10): Define.
16572         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16573         R_SPARC_SIZE32.
16574         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16575         R_SPARC_SIZE64 and R_SPARC_H34.
16577 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16579         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16580         conditions and remove no longer applicable assertion.
16582 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16584         * bits/byteswap.h: Include <features.h>.
16585         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16586         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16588 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16590         * bits/byteswap.h (__bswap_16): Removed.
16591         Include <bits/byteswap-16.h> to get __bswap_16.
16592         * sysdeps/i386/bits/byteswap.h: Likewise.
16593         * sysdeps/s390/bits/byteswap.h: Likewise.
16594         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16595         * bits/byteswap-16.h: New file.
16596         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16597         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16598         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16599         * string/Makefile (headers): Add bits/byteswap-16.h.
16601 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16603         [BZ #13895]
16604         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16605         extra indirection.
16606         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16607         * nss/tst-nss-static.c: New.
16609 2012-04-06  Robert Millan  <rmh@gnu.org>
16611         [BZ #6486]
16612         * manual/llio.texi (File Position Primitive): lseek
16613         refers to WHENCE when it really means OFFSET.
16615 2012-04-06  Andreas Jaeger  <aj@suse.de>
16617         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16618         strncmp declarations.
16620         * abilist/libc.abilist: Add __poll and __ppoll.
16622 2012-04-05  David S. Miller  <davem@davemloft.net>
16624         * scripts/check-local-headers.sh: Accept a host triplet in the
16625         path matched by the exclude regexp.
16627         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16628         definition.
16629         * sysdeps/powerpc/powerpc32/dl-machine.h
16630         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16631         * sysdeps/s390/s390-32/dl-machine.h
16632         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16633         * sysdeps/sparc/sparc32/dl-machine.h
16634         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16635         * sysdeps/sparc/sparc64/dl-machine.h
16636         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16638         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16639         lazy binding.
16640         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16641         undefined symbol errors.
16643         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16644         DT_NEEDED entries.
16646 2012-04-05  Michael Matz  <matz@suse.de>
16648         [BZ #13592]
16649         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16651 2012-04-05  Andreas Jaeger  <aj@suse.de>
16653         [BZ #13908]
16654         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16655         comment.
16657 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16659         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16660         which ROUND is no valid rounding mode.
16662 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16664         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16665         read again.
16666         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16668 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16670         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16671         an exception using FPU order intentionally.
16673 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16675         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16676         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16677         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16678         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16680 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16682         [BZ #12340]
16683         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16684         EINVAL when BUFLEN is too smal.
16686 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16688         [BZ #13553]
16689         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16690         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16692 2012-04-03  Andreas Jaeger  <aj@suse.de>
16694         [BZ #13938]
16695         * manual/setjmp.texi (System V contexts): Fix sentence.
16697         [BZ #13926]
16698         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16699         New macro for this case.
16700         [!__GNUC__] (__bswap_64): New inline function for this case.
16701         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16702         * bits/byteswap.h: Likewise.
16703         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16704         ull, guard with __GLIBC_HAVE_LONG_LONG.
16706         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16707         __GLIBC_HAVE_LONG_LONG.
16709         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16710         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16712 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16714         [BZ #13691]
16715         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16716         inptr and inend, rather than using last_ch.
16718 2012-04-02  David S. Miller  <davem@davemloft.net>
16720         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16721         * stdio-common/printf-parse.h (read_int): Change return type to
16722         'int', return -1 on INT_MAX overflow.
16723         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16724         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16725         overflows INT_MAX.  Check for overflow of in-format-string precision
16726         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16727         SIZE_MAX not INT_MAX for integer overflow test.
16728         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16729         skip the construct in the format string but do not record anything.
16730         * stdio-common/bug22.c: Adjust to test both width/prevision
16731         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16732         explicitly for proper errno values.
16734 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16736         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16737         CHAR_MAX.
16738         * string/test-strcmp.c [! WIDE]: Likewise.
16739         * time/tst-mktime2.c: Likewise for INT_MAX.
16740         * string/test-string.h: #include <sys/param.h> for MIN.
16742         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16743         * sysdeps/i386/init-first.c (init): Likewise.
16744         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16745         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16746         * sysdeps/sh/init-first.c (init): Likewise.
16748 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16750         * po/ru.po: Update from translation team.
16751         * po/vi.po: Likewise.
16753 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16755         * resolv/nss_dns/dns-host.c: Merge copyright years.
16757 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16759         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16760         Optimize memcpy with prefetch if
16761         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16762         src, dst pointers have unequal 16 byte alignments.
16764 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16766         [BZ #13928]
16767         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16768         from a CNAME entry and return the minimum ttl for the query.
16769         (gaih_getanswer_slice): Likewise.
16771 2012-03-30  Jeff Law  <law@redhat.com>
16773         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16774         due to long keys.
16775         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16776         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16778         * resolv/nss_dns/dns-host.c: Update copyright year.
16780 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16782         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16783         requests to save a system call.  Fix check that all bytes are sent.
16785         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16786         comments for sendmmsg.
16788 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16790         [BZ #13691]
16791         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16792         with only 1 character between 0x0041 and 0x01b0.
16793         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16794         * wcsmbs/tst-mbsnrtowcs.c: New file.
16796 2012-03-29  David S. Miller  <davem@davemloft.net>
16798         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16799         small copies by hand.
16801 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16803         [BZ #13761]
16804         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16805         _nss_compat_initgroups_dyn): Fall back to malloc/free
16806         for large group memberships.
16808 2012-03-28  David S. Miller  <davem@davemloft.net>
16810         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16811         that branches into memcpy.
16812         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16813         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16814         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16815         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16816         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16817         bits.
16818         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16819         implementation too.
16820         * sysdeps/sparc/mempcpy.S: New file.
16822         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16823         the IFUNC routine in the libc case.
16824         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16826         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16827         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16828         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16829         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16830         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16831         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16832         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16833         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16835         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16836         loop to 256 bytes instead of 64 bytes and fix test signedness.
16838         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16839         * sysdeps/sparc/sparc32/Makefile: rather than here...
16840         * sysdeps/sparc/sparc64/Makefile: and here.
16842 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16844         * malloc/mallocbug.c: Avoid warnings about unused variables.
16846 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16848         [BZ #13760]
16849         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16850         in the right place. Discard and retry query if response is
16851         larger than input buffer size.
16853 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16855         [BZ #369]
16856         [BZ #2678]
16857         [BZ #3866]
16858         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16859         x for large integer exponent.
16860         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16861         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16862         sign of result as needed afterwards.
16863         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16864         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16865         result for underflowing pow the same as for overflow.
16866         (__kernel_standard_l): Handle powl overflow and underflow here
16867         rather than calling __kernel_standard.
16868         * math/libm-test.inc (pow_test): Add more tests.
16870         [BZ #3868]
16871         [BZ #13879]
16872         [BZ #13910]
16873         [BZ #13911]
16874         [BZ #13912]
16875         [BZ #13913]
16876         [BZ #13915]
16877         [BZ #13916]
16878         [BZ #13917]
16879         [BZ #13918]
16880         [BZ #13919]
16881         [BZ #13920]
16882         [BZ #13921]
16883         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16884         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16885         (__kernel_standard_l): New function.
16886         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16887         __kernel_standard.
16888         * math/w_acosl.c (__acosl): Likewise.
16889         * math/w_asinl.c (__asinl): Likewise.
16890         * math/w_atan2l.c (__atan2l): Likewise.
16891         * math/w_atanhl.c (__atanhl): Likewise.
16892         * math/w_coshl.c (__coshl): Likewise.
16893         * math/w_exp10l.c (__exp10l): Likewise.
16894         * math/w_exp2l.c (__exp2l): Likewise.
16895         * math/w_fmodl.c (__fmodl): Likewise.
16896         * math/w_hypotl.c (__hypotl): Likewise.
16897         * math/w_j0l.c (__j0l, __y0l): Likewise.
16898         * math/w_j1l.c (__j1l, __y1l): Likewise.
16899         * math/w_jnl.c (__jnl, __ynl): Likewise.
16900         * math/w_lgammal.c (__lgammal): Likewise.
16901         * math/w_log10l.c (__log10l): Likewise.
16902         * math/w_log2l.c (__log2l): Likewise.
16903         * math/w_logl.c (__logl): Likewise.
16904         * math/w_powl.c (__powl): Likewise.
16905         * math/w_remainderl.c (__remainderl): Likewise.
16906         * math/w_scalbl.c (sysv_scalbl): Likewise.
16907         * math/w_sinhl.c (__sinhl): Likewise.
16908         * math/w_sqrtl.c (__sqrtl): Likewise.
16909         * math/w_tgammal.c (__tgammal): Likewise.
16910         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16911         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16912         * math/libm-test.inc (acos_test): Add more tests.
16913         (acosh_test): Likewise.
16914         (asin_test): Likewise.
16915         (atanh_test): Likewise.
16916         (exp_test): Likewise.
16917         (exp10_test): Likewise.
16918         (exp2_test): Likewise.
16919         (expm1_test): Likewise.
16920         (lgamma_test): Likewise.
16921         (log_test): Likewise.
16922         (log10_test): Likewise.
16923         (log1p_test): Likewise.
16924         (log2_test): Likewise.
16925         (pow_test): Do not allow some spurious overflow exceptions.
16926         (sqrt_test): Add more tests.
16927         (tgamma_test): Likewise.
16928         (y0_test): Likewise.
16929         (y1_test): Likewise.
16930         (yn_test): Likewise.
16932 2012-03-27  Anton Blanchard  <anton@samba.org>
16934         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16935         MAP_HUGETLB.
16936         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16937         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16938         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16940 2012-03-27  David S. Miller  <davem@davemloft.net>
16942         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16944         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16945         have-as-vis3 check.
16947 2012-03-27  Andreas Jaeger  <aj@suse.de>
16949         * sysdeps/x86_64/elf/configure.in: Moved to ...
16950         * sysdeps/x86_64/configure.in: ... here.
16951         * sysdeps/x86_64/elf/start.S: Moved to ...
16952         * sysdeps/x86_64/start.S: ... here.
16953         * sysdeps/x86_64/elf/configure: Delete.
16955         * sysdeps/x86_64/configure.in: Merge contents from
16956         sysdeps/i386/configure.in (without i686 check).
16958         * sysdeps/i386/elf/Versions: Merge into ...
16959         * sysdeps/i386/Versions: ... this.
16960         * sysdeps/i386/elf/Versions: Delete file.
16961         * sysdeps/i386/elf/start.S: Moved to ...
16962         * sysdeps/i386/start.S: ...here.
16963         * sysdeps/i386/elf/configure.in: Merge into...
16964         * sysdeps/i386/configure.in: ...here.
16965         * sysdeps/i386/elf/configure.in: Delete file.
16966         * sysdeps/i386/elf/configure: Delete file.
16968         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16969         * debug/backtracesyms.c: ... here.
16970         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16971         * debug/backtracesymsfd.c: ... here.
16972         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16973         * sysdeps/generic/ifunc-sel.h: ... here.
16975         * sysdeps/unix/i386/start.c: Delete file.
16976         * sysdeps/unix/sparc/start.c: Delete file.
16977         * sysdeps/unix/start.c: Delete file.
16979         * sysdeps/sh/elf/configure.in: Moved to ...
16980         * sysdeps/sh/configure.in: ... here.
16981         * sysdeps/sh/elf/start.S: Moved to ...
16982         * sysdeps/sh/start.S: ... here.
16983         * sysdeps/sh/elf/configure: Delete file.
16985         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16986         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16987         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16988         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16989         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16990         * sysdeps/powerpc/powerpc64/start.S: here.
16991         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16992         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16993         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16994         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16995         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16997         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16998         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16999         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17000         * sysdeps/powerpc/powerpc32/start.S: ... here.
17001         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17002         * sysdeps/powerpc/powerpc32/configure.in: ... this.
17003         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17005         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17006         * sysdeps/powerpc/ifunc-sel.h: ... here.
17007         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17008         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17010         * sysdeps/sparc/elf/configure.in: Moved to ...
17011         * sysdeps/sparc/configure.in: ... here.
17012         * sysdeps/sparc/elf/configure: Delete file.
17013         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17014         * sysdeps/sparc/sparc32/start.S: ... here.
17015         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17016         * sysdeps/sparc/sparc64/start.S: ... here.
17017         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17018         * sysdeps/sparc/sparc32/Makefile: ... this.
17019         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17020         * sysdeps/sparc/sparc64/Makefile: ... this.
17022         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17023         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17024         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17025         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17026         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17027         * sysdeps/s390/s390-32/setjmp.S: ... here.
17028         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17029         * sysdeps/s390/s390-32/configure.in: ... here.
17030         * sysdeps/s390/s390-32/elf/configure: Delete file.
17031         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17032         * sysdeps/s390/s390-32/start.S: ... here.
17034         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17035         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17036         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17037         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17038         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17039         * sysdeps/s390/s390-64/setjmp.S: ... here.
17040         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17041         * sysdeps/s390/s390-64/configure.in: ... here
17042         * sysdeps/s390/s390-64/elf/configure: Delete file.
17043         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17044         * sysdeps/s390/s390-64/start.S: ... here.
17045         * sysdeps/s390/s390-64/elf/configure: Delete.
17047         * configure.in: Remove support for elf directories in sysdeps.
17049         * configure: Regenerated.
17050         * sysdeps/i386/configure: Regenerated.
17051         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17052         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17053         * sysdeps/s390/s390-32/configure: Regenerated.
17054         * sysdeps/s390/s390-64/configure: Regenerated.
17055         * sysdeps/sh/configure: Regenerated.
17056         * sysdeps/sparc/configure: Regenerated.
17057         * sysdeps/x86_64/configure: Regenerated.
17059 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17063         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17064         denormal result into account.
17066 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17068         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17069         Reported by Allan McRae <allan@archlinux.org>.
17071 2012-03-23  Jeff Law  <law@redhat.com>
17073         * nss/getnssent.c (__nss_getent): Fix typo.
17075 2012-03-23  David S. Miller  <davem@davemloft.net>
17077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17079 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17081         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17082         to pad to uint64_t for each field.
17083         (dl_tls_index): Replace unsigned long with uint64_t.
17085 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17086         Paul Pluzhnikov  <ppluzhnikov@google.com>
17088         [BZ #6528]
17089         * grp/Makefile (otherlibs): Don't set it.
17090         * inet/Makefile (otherlibs): Likewise.
17091         * login/Makefile (otherlibs): Likewise.
17092         * nscd/Makefile (otherlibs): Likewise.
17093         * posix/Makefile (otherlibs): Likewise.
17094         * pwd/Makefile (otherlibs): Likewise.
17095         * rt/Makefile (otherlibs): Likewise.
17096         * sunrpc/Makefile (otherlibs): Likewise.
17097         * nss/Makefile (otherlibs): Likewise.
17098         Add libnss_files to routines and static-only-routines.
17099         ($(objpfx)getent): Remove rule.
17100         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17101         static-only-routines.
17103 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17105         [BZ #13892]
17106         * math/s_cexp.c: Include <float.h>.
17107         (__cexp): Handle exp result overflowing not necessarily
17108         overflowing both real and imaginary parts of result.
17109         * math/s_cexpf.c: Likewise.
17110         * math/s_cexpl.c: Likewise.
17111         * math/libm-test.inc (cexp_test): Add more tests.
17112         * sysdeps/i386/fpu/libm-test-ulps: Update.
17113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17115 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17117         * include/link.h (ELFW): New macro.
17118         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17119         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17121 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17123         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17124         with uint64_t.
17126 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17128         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17129         declaration.
17130         (struct La_x32_retval): Likewise.
17132 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17134         * sysdeps/x86_64/preconfigure.in: New file.
17135         * sysdeps/x86_64/preconfigure: New generated file.
17137 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17139         [BZ #13824]
17140         * math/e_exp2l.c: Include <float.h>.
17141         (__ieee754_exp2l): Handle overflow and underflow cases
17142         separately.  Only pass fractional part of argument to
17143         __ieee754_expl.
17144         * math/libm-test.inc (exp2_test): Add more tests.
17146         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17147         negating x to take absolute value.
17148         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17149         Likewise.
17150         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17151         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17152         Likewise.
17153         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17154         computing low part if x was negated.
17155         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17157 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17159         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17160         la_x32_gnu_pltexit.
17161         (pltexit): Cast int_retval to ptrdiff_t.
17162         * elf/tst-auditmod3b.c: Likewise.
17163         * elf/tst-auditmod4b.c: Likewise.
17164         * elf/tst-auditmod5b.c: Likewise.
17165         * elf/tst-auditmod6b.c: Likewise.
17166         * elf/tst-auditmod6c.c: Likewise.
17167         * elf/tst-auditmod7b.c: Likewise.
17169         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17170         and x32_gnu_pltexit.
17172         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17173         __ELF_NATIVE_CLASS.
17174         (La_x32_regs): New macro.
17175         (La_x32_retval): Likewise.
17176         (la_x32_gnu_pltenter): New function prototype.
17177         (la_x32_gnu_pltexit): Likewise.
17179 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17181         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17182         exponent.
17184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17186         * configure.in (libc_cv_cc_nofma): Check for option to disable
17187         generation of FMA instructions.
17188         * configure: Regenerate.
17189         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17190         * sysdeps/ieee754/dbl-64/Makefile: New file.
17191         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17192         Remove brandred-fma4.
17193         (CFLAGS-brandred-fma4.c): Remove.
17194         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17195         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17196         define.
17197         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17198         define.
17200 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17202         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17203         LLONG_MAX != LONG_MAX.
17204         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17205         (_fitoa_word): Likewise.
17206         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17207         LLONG_MAX != LONG_MAX.
17208         * stdio-common/_itowa.h: Include <_itoa.h>.
17209         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17210         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17211         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17212         only if not defined.
17213         (_ITOA_WORD_TYPE): Likewise.
17214         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17215         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17217 2012-03-21  David S. Miller  <davem@davemloft.net>
17219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17221 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17223         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17224         of x86_64 when setting libc_cv_slibdir, libdir and
17225         libc_cv_localedir.
17226         * sysdeps/unix/sysv/linux/configure: Regenerated.
17228 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17230         * manual/lang.texi (Old Varargs): Remove section.
17231         (How Variadic): Update menu.
17232         (va_start): Do not mention varargs.h.
17234 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17235             Joseph Myers  <joseph@codesourcery.com>
17237         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17238         link test.
17239         * configure: Regenerated.
17241 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17243         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17244         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17245         conformtest.pl
17247 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17249         * NOTES: Remove.
17250         * Makefile (files-for-dist): Remove NOTES.
17251         (NOTES): Remove rule.
17252         * README: Don't refer to NOTES.
17253         * manual/creature.texi: Don't include macros.texi.
17254         * manual/intro.texi (creature.texi): Remove comment referring to
17255         NOTES.
17257         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17258         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17259         * configure: Regenerated.
17260         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17261         LIBC_TRY_CC_OPTION.
17262         (libc_cv_as_i686): Likewise.
17263         (libc_cv_cc_avx): Likewise.
17264         (libc_cv_cc_sse2avx): Likewise.
17265         (libc_cv_cc_fma4): Likewise.
17266         (libc_cv_cc_novzeroupper): Likewise.
17267         * sysdeps/i386/configure: Regenerated.
17269         [BZ #13883]
17270         * sysdeps/i386/fpu/s_cexp.S: Remove.
17271         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17272         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17273         * math/libm-test.inc (cexp_test): Add more tests.
17274         * sysdeps/i386/fpu/libm-test-ulps: Update.
17275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17277 2012-03-21  Allan McRae  <allan@archlinux.org>
17279         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17281 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17283         [BZ #13871]
17284         * math/w_exp2.c: Do not include <float.h>.
17285         (o_threshold, u_threshold): Remove.
17286         (__exp2): Calculate result before checking finiteness and calling
17287         __kernel_standard.
17288         * math/w_exp2f.c: Likewise.
17289         * math/w_exp2l.c: Likewise.
17290         * math/libm-test.inc (exp2_test): Require overflow exception for
17291         1e6 input.
17293         [BZ #3866]
17294         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17295         range of signed 64-bit integers before using fistpll.  Remove
17296         checks for whether integers fit in mantissa bits.
17297         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17298         the range of signed 32-bit integers before using fistpl.  Remove
17299         checks for whether integers fit in mantissa bits.
17300         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17301         (__ieee754_powl): Test for y outside the range of signed 64-bit
17302         integers before using fistpll.  Reduce 64-bit values to 63-bit
17303         ones as needed.
17304         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17305         divide-by-zero is raised for zero to large negative powers.
17306         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17307         (__ieee754_powl): Test for y outside the range of signed 64-bit
17308         integers before using fistpll.  Reduce 64-bit values to 63-bit
17309         ones as needed.
17310         * math/libm-test.inc (pow_test): Add more tests.
17312 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17314         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17315         <stdio-common/_itoa.h>.
17316         * debug/segfault.c: Likewise.
17317         * elf/dl-cache.c: Likewise.
17318         * elf/dl-minimal.c: Likewise.
17319         * elf/dl-misc.c: Likewise.
17320         * elf/dl-sysdep.c: Likewise.
17321         * elf/dl-version.c: Likewise.
17322         * elf/rtld.c: Likewise.
17323         * hurd/hurdsock.c: Likewise.
17324         * hurd/lookup-retry.c: Likewise.
17325         * malloc/malloc.c: Likewise.
17326         * malloc/mtrace.c: Likewise.
17327         * nscd/nscd_getgr_r.c: Likewise.
17328         * nscd/nscd_getpw_r.c: Likewise.
17329         * nscd/nscd_getserv_r.c: Likewise.
17330         * posix/getopt_init.c: Likewise.
17331         * posix/wordexp.c: Likewise.
17332         * stdio-common/_itoa.c: Likewise.
17333         * stdio-common/printf_fphex.c: Likewise.
17334         * stdio-common/vfprintf.c: Likewise.
17335         * string/_strerror.c: Likewise.
17336         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17337         * sysdeps/i386/i686/hp-timing.h: Likewise.
17338         * sysdeps/mach/_strerror.c: Likewise.
17339         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17340         * sysdeps/mach/hurd/sethostid.c: Likewise.
17341         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17342         * sysdeps/mach/xpg-strerror.c: Likewise.
17343         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17344         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17345         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17346         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17347         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17348         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17349         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17350         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17351         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17352         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17353         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17354         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17355         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17356         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17357         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17358         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17359         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17360         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17361         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17362         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17363         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17365         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17367         * stdio-common/_itoa.h: Moved to ...
17368         * sysdeps/generic/_itoa.h: Here.
17370         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17372         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17373         instead of "_itoa.h" and "_itowa.h".
17374         * stdio-common/vfprintf.: Likewise.
17376 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17378         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17379         <bits/wordsize.h>.
17380         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17381         (__signbit): Likwise.
17382         (llrintf): Likwise.
17383         (llrint): Likwise.
17385 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17387         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17388         __WORDSIZE != 64.
17390 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17392         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17393         OVERFLOW_EXCEPTION_OK.
17394         * math/libm-test.inc ("Philosophy"): Update comment about
17395         exception testing.
17396         (OVERFLOW_EXCEPTION): Define.
17397         (OVERFLOW_EXCEPTION_OK): Likewise.
17398         (INVALID_EXCEPTION_OK): Renumber.
17399         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17400         (IGNORE_ZERO_INF_SIGN): Likewise.
17401         (test_exceptions): Handle FE_OVERFLOW.
17402         (exp10_test): Expect overflow exceptions.
17403         (exp2_test): Likewise.
17404         (expm1_test): Likewise.
17405         (nextafter_test): Likewise.
17406         (pow_test): Likewise.
17407         (scalbn_test): Likewise.
17408         (scalbln_test): Likewise.
17410 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17412         * sysdeps/x86_64/bits/atomic.h
17413         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17414         64bit integer.
17415         (atomic_exchange_acq): Likewise.
17416         (__arch_exchange_and_add_body): Likewise.
17417         (__arch_add_body): Likewise.
17418         (atomic_add_negative): Likewise.
17419         (atomic_add_zero): Likewise.
17421 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17423         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17424         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17426 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17428         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17429         Check __x86_64__ instead of __WORDSIZE.
17431 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17433         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17435 2012-03-19  David S. Miller  <davem@davemloft.net>
17437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17439         * sysdeps/sparc/fpu/fenv_private.h: New file.
17440         * sysdeps/sparc/fpu/math_private.h: Use it.
17441         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17442         Remove.
17443         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17444         (libc_feholdexcept_setroundl): Remove.
17445         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17446         Remove.
17447         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17448         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17450 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17452         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17453         int64_t instead of long int.
17454         (INSERT_WORDS64): Likwise.
17456 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17458         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17459         _Unwind_GetCFA return to _Unwind_Ptr first.
17461 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17463         [BZ #13629]
17464         * math/s_clog.c: Include <float.h>.
17465         (__clog): Scale large or subnormal inputs.
17466         * math/s_clogf.c: Likewise.
17467         * math/s_clogl.c: Likewise.
17468         * math/s_clog10.c: Include <float.h>.
17469         (M_LOG10_2): Define.
17470         (__clog10): Scale large or subnormal inputs.
17471         * math/s_clog10f.c: Likewise.
17472         * math/s_clog10l.c: Likewise.
17473         * math/libm-test.inc (clog_test): Add more tests.
17474         (clog10_test): Likewise.
17475         * sysdeps/i386/fpu/libm-test-ulps: Update.
17476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17478         [BZ #11451]
17479         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17480         x and y.
17481         * math/libm-test.inc (atan2_test): Add another test.
17483         * Makerules (common-objdir-compile): Remove.
17484         * sysdeps/unix/Makefile (config-generated): Do not add
17485         $(unix-generated) to variable.
17486         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17487         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17488         Remove rule.
17489         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17490         Likewise.
17491         [generic bits/local_lim.h] (before-compile): Do not append to
17492         variable.
17493         [generic bits/local_lim.h] (common-generated): Likewise.
17494         [generic sys/param.h] (before-compile): Do not append to variable.
17495         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17496         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17497         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17498         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17499         include.
17500         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17501         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17502         [generic sys/param.h] ($(addprefix
17503         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17504         [generic sys/param.h] (common-generated): Do not append to
17505         variable.
17506         [generic sys/param.h] (sysdep_headers): Likewise.
17507         [generic bits/errno.h] (before-compile): Do not append to
17508         variable.
17509         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17510         rule.
17511         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17512         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17513         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17514         [generic bits/errno.h] (common-generated): Do not append to
17515         variable.
17516         [generic bits/ioctls.h] (before-compile): Do not append to
17517         variable.
17518         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17519         rule.
17520         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17521         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17522         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17523         rule.
17524         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17525         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17526         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17527         [generic bits/ioctls.h] (common-generated): Do not append to
17528         variable.
17529         [generic sys/syscall.h] (syscall.h): Remove variable.
17530         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17531         rule.
17532         [generic sys/syscall.h] (before-compile): Do not append to
17533         variable.
17534         [generic sys/syscall.h] (common-generated): Likewise.
17535         * sysdeps/unix/errnos-tmpl.c: Remove file.
17536         * sysdeps/unix/errnos.awk: Likewise.
17537         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17538         * sysdeps/unix/ioctls.awk: Likewise.
17539         * sysdeps/unix/mk-local_lim.c: Likewise.
17540         * sysdeps/unix/snarf-ioctls: Likewise.
17542 2012-03-19  Richard Henderson  <rth@twiddle.net>
17544         * sysdeps/i386/fpu/fenv_private.h: New file.
17545         * sysdeps/i386/fpu/math_private.h: Use it.
17546         (math_opt_barrier, math_force_eval): Remove.
17547         (libc_feholdexcept_setround_53bit): Remove.
17548         (libc_feupdateenv_53bit): Remove.
17549         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17550         (math_opt_barrier, math_force_eval): Remove.
17551         (libc_feholdexcept): Remove.
17552         (libc_feholdexcept_setround): Remove.
17553         (libc_fetestexcept, libc_fesetenv): Remove.
17554         (libc_feupdateenv_test): Remove.
17555         (libc_feupdateenv, libc_feholdsetround): Remove.
17556         (libc_feresetround): Remove.
17558         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17559         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17561         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17562         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17563         (libc_feupdateenv_testl): New.
17564         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17565         (libc_feupdateenv_testf): New.
17566         (libc_feupdateenv): Use libc_feupdateenv_test.
17567         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17568         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17570         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17571         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17572         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17573         (libc_feresetround_noex): New.
17574         (libc_feresetround_noexf): New.
17575         (libc_feresetround_noexl): New.
17576         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17577         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17578         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17579         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17580         SET_RESTORE_ROUND.
17581         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17582         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17583         (__cos): Likewise.
17584         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17585         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17586         SET_RESTORE_ROUND_NOEX.
17587         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17588         SET_RESTORE_ROUND_NOEXF.
17589         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17590         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17591         (libc_feholdsetroundf): New.
17592         (libc_feresetround, libc_feresetroundf): New.
17594         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17595         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17596         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17598         * sysdeps/generic/math_private.h: Include <fenv.h>.
17599         (default_libc_feholdexcept): New.
17600         (default_libc_feholdexcept_setround): New.
17601         (default_libc_fesetenv, default_libc_feupdateenv): New.
17602         (libc_feholdexcept): Only define if undefined.
17603         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17604         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17605         (libc_feholdexcept_setroundl): Likewise.
17606         (libc_feholdexcept_setround_53bit): Likewise.
17607         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17608         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17609         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17610         (libc_feupdateenv_53bit): Likewise.
17611         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17612         (libc_feholdexcept): Convert from macro to inline function.
17613         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17614         (libc_fesetenv, libc_feupdateenv): Likewise.
17616         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17617         not previously defined.
17618         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17619         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17620         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17621         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17622         * sysdeps/ieee754/flt-32/math_private.h: New file.
17623         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17624         math_private.h below SET_FLOAT_WORD.
17625         (__isnan, __isinf_ns, __finite): Remove.
17626         (__isnanf, __isinf_nsf, __finitef): Remove.
17628 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17632 2012-03-17  David S. Miller  <davem@davemloft.net>
17634         [BZ #6471]
17635         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17636         for 2.16.
17638 2012-03-16  David S. Miller  <davem@davemloft.net>
17640         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17641         warnings.
17643         [BZ #6471]
17644         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17645         properly.
17646         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17647         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17648         sysdep_routines when subdir is sysvipc.
17649         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17650         __getshmlba helper.
17652         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17654 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17656         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17657         [__LP64__].
17659 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17661         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17662         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17663         (__lround): Renamed to ...
17664         (__llround): This.  Replace long int with long long int.
17665         Define lround functions as aliases of llround functions.
17666         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17668 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17670         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17671         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17672         adresses to uintptr_t.  Replace "long int" and "unsigned long
17673         int" with "greg_t" on va_arg.
17675 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17677         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17678         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17680         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17681         Move e_machine check before EI_CLASS check.  Handle x32
17682         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17683         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17684         SKIP_EM_IA_64 and include
17685         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17687         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17688         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17689         (add_system_dir): New macro.
17691         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17692         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17694 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17696         [BZ #2551]
17697         [BZ #2552]
17698         [BZ #2553]
17699         [BZ #2554]
17700         [BZ #2562]
17701         [BZ #2563]
17702         [BZ #2565]
17703         [BZ #2566]
17704         [BZ #2576]
17705         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17706         (y0): Likewise.
17707         * math/w_j0f.c (j0f): Likewise.
17708         (y0f): Likewise.
17709         * math/w_j0l.c (__j0l): Likewise.
17710         (__y0l): Likewise.
17711         * math/w_j1.c (j1): Likewise.
17712         (y1): Likewise.
17713         * math/w_j1f.c (j1f): Likewise.
17714         (y1f): Likewise.
17715         * math/w_j1l.c (__j1l): Likewise.
17716         (__y1l): Likewise.
17717         * math/w_jn.c (jn): Likewise.
17718         (yn): Likewise.
17719         * math/w_jnf.c (jnf): Likewise.
17720         (ynf): Likewise.
17721         * math/w_jnl.c (__jnl): Likewise.
17722         (__ynl): Likewise.
17723         * math/libm-test.inc (j0_test): Add more tests.
17724         (j1_test): Likewise.
17725         (jn_test): Likewise.  Add trailing semicolon to existing test.
17726         (y0_test): Likewise.
17727         (y1_test): Likewise.
17728         * sysdeps/i386/fpu/libm-test-ulps: Update.
17729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17731         [BZ #13851]
17732         [BZ #13854]
17733         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17734         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17735         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17736         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17737         (__tanl): Set errno for infinite argument.
17738         * sysdeps/i386/fpu/mptan.c: Remove.
17739         * sysdeps/i386/fpu/s_tan.S: Likewise.
17740         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17741         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17742         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17743         * math/libm-test.inc (tan_test): Add more tests and enable more
17744         tests for double and long double.
17745         * sysdeps/i386/fpu/libm-test-ulps: Update.
17746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17750         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17751         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17753 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17755         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17756         * configure.in: Use it for both main tree and add-ons.
17757         * configure: Regenerated.
17759 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17761         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17763 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17765         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17766         in comment.
17768         [BZ #13851]
17769         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17770         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17771         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17772         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17773         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17774         infinite argument.
17775         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17776         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17777         != 0 for prec == 2.
17778         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17779         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17780         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17781         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17782         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17783         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17784         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17785         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17786         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17787         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17788         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17789         * math/libm-test.inc (cos_test): Add more tests and enable more
17790         tests for long double.
17791         (sin_test): Likewise.
17792         (sincos_test): Likewise.
17793         * sysdeps/i386/fpu/libm-test-ulps: Update.
17794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17796 2012-03-16  David S. Miller  <davem@davemloft.net>
17798         * sysdeps/sparc/fpu/math_private.h: New file.
17800 2012-03-15  David S. Miller  <davem@davemloft.net>
17802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17803         file.
17804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17806         file.
17807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17808         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17812         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17813         sysdep routines.
17814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17816         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17817         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17819         * sysdeps/sparc/sparc-ifunc.h: New file.
17820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17821         sparc-ifunc.h
17822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17824         Likewise.
17825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17826         Likewise.
17827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17831         Likewise.
17832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17837         Likewise.
17838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17839         Likewise.
17840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17844         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17845         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17846         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17847         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17854         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17855         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17856         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17857         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17858         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17859         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17860         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17861         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17862         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17865 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17867         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17868         scaling.
17869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17871 2012-03-15  Andreas Jaeger  <aj@suse.de>
17873         [BZ #13852]
17874         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17875         ieee754/flt-32 implementation for sin, cos and sincos.
17876         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17877         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17878         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17879         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17880         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17881         ieee754/flt-32 implementation for tan.
17883         * math/libm-test.inc (cos_test): Enable some large input tests for
17884         float as well
17885         (sin_test): Likewise.
17886         (sincos_test): Likewise.
17887         (tan_test): Add tests for large input.
17889         * sysdeps/i386/fpu/libm-test-ulps: Update.
17891 2012-03-15  Andreas Jaeger  <aj@suse.de>
17893         [BZ #13658]
17894         * math/libm-test.inc (cos_test): Add more test cases.
17895         (sin_test): Likewise.
17896         (sincos_test): Likewise.
17898 2012-03-15  Andreas Jaeger  <aj@suse.de>
17900         [BZ #13837]
17901         * math/libm-test.inc (cos_test): Add a test case for large input
17902         value.
17903         (sin_test): Likewise.
17904         (sincos_test): Likewise.
17906 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17907         Joseph Myers  <joseph@codesourcery.com>
17909         [BZ #13658]
17910         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17911         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17912         * sysdeps/i386/fpu/branred.c: Likewise.
17913         * sysdeps/i386/fpu/dosincos.c: Likewise.
17914         * sysdeps/i386/fpu/mpa.c: Likewise.
17915         * sysdeps/i386/fpu/s_cos.S: Likewise.
17916         * sysdeps/i386/fpu/s_sin.S: Likewise.
17917         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17918         * sysdeps/i386/fpu/sincos32.c: Likewise.
17920         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17921         Define.
17922         (libc_feupdateenv_53bit): Define.
17923         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17924         Define.
17925         (libc_feupdateenv_53bit): Define.
17927         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17928         53 bit (without extend i386 double precision).
17930         * math/libm-test.inc (sincos_test): Add tests for large input.
17931         (sin): Likewise.
17932         (cos): Likewise.
17934         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17936 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17940 2012-03-15  David S. Miller  <davem@davemloft.net>
17942         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17943         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17944         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17945         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17950         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17956         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17958         file.
17959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17961         file.
17962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17964         file.
17965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17967         file.
17968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17969         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17970         fmin/fmax sysdep routines.
17971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17973 2012-03-14  David S. Miller  <davem@davemloft.net>
17975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17978         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17979         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17980         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17981         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17982         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17987         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17988         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17989         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17993         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17994         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17995         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17996         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17997         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17998         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17999         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18000         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18001         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18002         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
18003         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18004         routines.
18005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18006         file.
18007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
18008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18009         file.
18010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
18011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18012         file.
18013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
18014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18015         file.
18016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
18017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18018         file.
18019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
18020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18021         file.
18022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18023         file.
18024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18025         file.
18026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18027         file.
18028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18029         New file.
18030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18031         file.
18032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18033         file.
18034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18036         file.
18037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18039         file.
18040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18042         file.
18043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18045         VIS3 routines.
18047         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18048         New file.
18050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18052         * sysdeps/sparc/configure.in: New file.
18053         * sysdeps/sparc/configure: Generate.
18054         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18055         * configure: Regenerate.
18056         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18057         * config.make.in (have-as-vis3): New.
18058         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18059         available use -Av9d instead of -Av9a.
18060         * sysdeps/sparc/sparc64/Makefile: Likewise.
18061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18063         New file.
18064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18065         file.
18066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18067         New file.
18068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18069         file.
18070         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18071         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18072         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18073         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18074         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18076         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18077         fzeros/fnegs to load 0x80000000 into a float register instead of
18078         using the stack.
18079         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18081 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18083         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18084         bits/syscall.h.
18085         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18086         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18087         ($(inst_includedir)/bits/syscall.h): Remove rule.
18088         ($(objpfx)bits/syscall.d): Include instead of
18089         $(objpfx)syscall-list.d.
18090         (generated): Change syscall-list.h and syscall-list.d to
18091         bits/syscall.h and bits/syscall.d.
18093 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18095         [BZ #13846]
18096         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18098 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18100         [BZ #13841]
18101         * math/s_csqrt.c: Include <float.h>.
18102         (__csqrt): Scale large or subnormal inputs.
18103         * math/s_csqrtf.c: Likewise.
18104         * math/s_csqrtl.c: Likewise.
18105         * math/libm-test.inc (csqrt_test): Add more tests.
18106         * sysdeps/i386/fpu/libm-test-ulps: Update.
18107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18109         [BZ #13840]
18110         * math/libm-test.inc (hypot_test): Add more tests.
18112 2012-03-13  David S. Miller  <davem@davemloft.net>
18114         [BZ #13840]
18115         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18116         double-precision for the calculation instead of scaling.
18118 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18120         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18121         manipulate bits before adding and subtracting TWO52[sx].
18122         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18123         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18124         Likewise.
18125         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18127 2012-03-13  David S. Miller  <davem@davemloft.net>
18129         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18130         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18131         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18132         rtld-global-offsets.h
18133         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18135         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18136         large parameters.
18138         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18140         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18141         'err' in the ifdef scope in which it is actually used.
18143         * nss/nss_db/db-init.c: Include string.h
18145 2012-03-12  David S. Miller  <davem@davemloft.net>
18147         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18148         masking out of the most significant byte of random value used.
18149         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18150         Fix coding style in previous change.
18152         * sysdeps/unix/sysv/linux/kernel-features.h
18153         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18154         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18155         expression.
18156         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18157         later.
18159 2012-03-11  David S. Miller  <davem@davemloft.net>
18161         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18162         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18163         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18164         for 'resultvar' otherwise things get truncated on 64-bit.
18166         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18167         Fix masking out of the most significant byte of random value used.
18169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18171 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18175 2012-03-09  David S. Miller  <davem@davemloft.net>
18177         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18178         variables with appropriate CPP guards.
18179         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18180         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18181         on resulting framesize and the management of the outregs buffer for pltexit.
18182         Preserve floating point return values across _dl_call_pltexit call.
18183         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18184         framesize and the management of the outregs buffer for pltexit.
18185         Preserve floating point return values across _dl_call_pltexit
18186         call.
18187         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18188         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18189         (print_exit): Fix format string for return register value.
18191 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18193         * sunrpc/Makefile (others): Add rpcgen.
18194         ($(objpfx)rpcgen): Remove special build rule and dependency on
18195         libc.
18196         * sunrpc/rpcgen.c: New file.
18198 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18200         [BZ #13673]
18201         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18202         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18203         * sysdeps/i386/crti.S: Likewise.
18204         * sysdeps/i386/crtn.S: Likewise.
18205         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18206         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18207         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18208         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18209         * sysdeps/sh/crti.S: Likewise.
18210         * sysdeps/sh/crtn.S: Likewise.
18211         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18213         [BZ #13673]
18214         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18215         with URL.
18216         * locale/programs/locfile-kw.gperf: Likewise.
18217         * locale/programs/charmap-kw.h: Regenerated.
18218         * locale/programs/locfile-kw.h: Likewise.
18220         [BZ #13673]
18221         * intl/plural.y: Replace FSF snail mail address with URL.
18222         * intl/plural.c: Regenerated.
18224 2012-03-09  Richard Henderson  <rth@twiddle.net>
18226         * include/math_private.h: Remove file.
18227         * math/math_private.h: Move file ...
18228         * sysdeps/generic/math_private.h: ... here.
18230         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18231         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18232         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18234         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18235         and <math_private.h>.
18236         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18237         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18238         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18239         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18240         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18241         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18242         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18244         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18245         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18246         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18247         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18248         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18249         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18250         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18251         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18252         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18253         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18254         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18255         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18256         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18257         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18258         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18259         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18260         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18261         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18262         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18265         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18266         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18267         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18268         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18269         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18270         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18271         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18272         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18273         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18274         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18275         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18276         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18277         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18278         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18279         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18280         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18281         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18282         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18283         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18284         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18285         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18286         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18287         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18288         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18289         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18290         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18291         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18292         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18293         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18294         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18295         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18296         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18297         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18299         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18300         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18301         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18302         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18303         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18304         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18305         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18306         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18307         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18308         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18309         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18310         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18311         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18312         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18313         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18314         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18315         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18316         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18317         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18318         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18319         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18320         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18321         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18322         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18323         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18324         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18325         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18326         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18327         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18328         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18329         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18330         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18331         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18332         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18333         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18334         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18335         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18336         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18337         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18338         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18339         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18340         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18341         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18342         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18343         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18344         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18345         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18346         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18347         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18348         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18349         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18350         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18351         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18352         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18353         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18354         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18355         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18356         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18357         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18358         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18359         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18360         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18361         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18362         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18363         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18364         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18365         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18366         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18367         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18368         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18369         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18370         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18371         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18372         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18373         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18374         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18375         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18376         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18377         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18378         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18379         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18380         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18381         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18382         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18383         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18384         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18385         * sysdeps/ieee754/k_standard.c: Likewise.
18386         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18387         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18388         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18389         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18390         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18391         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18392         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18393         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18394         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18395         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18396         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18397         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18398         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18399         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18400         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18401         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18402         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18403         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18404         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18405         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18406         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18407         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18408         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18409         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18410         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18411         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18412         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18413         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18414         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18415         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18416         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18417         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18418         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18419         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18420         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18421         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18422         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18423         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18424         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18425         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18426         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18427         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18428         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18429         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18430         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18431         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18432         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18433         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18434         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18435         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18436         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18437         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18438         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18439         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18440         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18441         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18442         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18443         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18444         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18445         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18446         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18447         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18448         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18449         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18450         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18451         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18452         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18453         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18454         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18455         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18456         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18458         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18459         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18460         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18461         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18462         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18463         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18464         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18465         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18466         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18467         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18468         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18469         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18470         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18471         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18472         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18473         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18474         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18475         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18476         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18477         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18478         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18479         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18480         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18481         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18482         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18483         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18484         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18485         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18486         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18487         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18488         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18489         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18490         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18491         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18492         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18493         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18494         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18495         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18496         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18497         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18498         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18499         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18500         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18501         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18502         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18503         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18504         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18505         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18506         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18507         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18508         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18509         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18510         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18511         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18512         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18513         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18514         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18515         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18516         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18517         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18518         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18519         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18520         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18521         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18522         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18523         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18524         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18525         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18526         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18527         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18528         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18529         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18530         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18531         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18532         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18533         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18534         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18535         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18536         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18537         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18538         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18539         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18540         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18541         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18542         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18543         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18544         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18545         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18546         * sysdeps/ieee754/s_lib_version.c: Likewise.
18547         * sysdeps/ieee754/s_matherr.c: Likewise.
18548         * sysdeps/ieee754/s_signgam.c: Likewise.
18549         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18550         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18551         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18552         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18553         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18554         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18555         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18556         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18557         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18558         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18559         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18560         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18561         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18562         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18563         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18564         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18565         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18566         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18567         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18568         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18569         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18571 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18573         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18574         * sunrpc/rpc_main.c: Likewise.
18575         * sunrpc/rpc_svcout.c: Likewise.
18577 2012-03-09  David S. Miller  <davem@davemloft.net>
18579         * include/math_private.h: New file.
18581 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18583         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18584         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18585         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18586         from <bits/socket_type.h>.
18587         (enum __socket_type): Don't define here.
18588         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18590         bits/socket_type.h.
18592         [BZ #13566]
18593         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18594         checking __USE_GNU.
18596         * Makerules ($(inst_includedir)/%.h): New rule.
18597         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18598         (install-others): Remove variable setting.
18599         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18601 2012-03-08  Richard Henderson  <rth@twiddle.net>
18603         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18604         from macro to inline function; merge with the
18605         !__LIBC_INTERNAL_MATH_INLINES version.
18606         (__ieee754_sqrtf): Likewise.
18608         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18609         to inline function.
18610         (__rintf, __floor, __floorf): Likewise.
18612         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18613         macro to inline function.
18614         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18616         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18617         not <math/math_private.h>.
18619 2012-03-08  David S. Miller  <davem@davemloft.net>
18621         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18622         copyright year.
18623         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18625 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18627         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18628         normalization.
18629         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18630         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18632 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18634         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18635         be defined individually, they must be defined as a block.  Define
18636         S for printing a string instead of hidint the different by using a
18637         macro for adding the 'l'.
18638         * stdio-common/tst-fphex-wide.c: Adjust.
18640 2012-03-07  Marek Polacek  <polacek@redhat.com>
18642         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18644 2012-03-08  Marek Polacek  <polacek@redhat.com>
18646         [BZ #13806]
18647         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18648         * stdio-common/tst-fphex.c: Define a few macros to make the
18649         test reusable.  Use them.
18650         * stdio-common/tst-fphex-wide.c: New file.
18652 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18654         [BZ #6911]
18655         * manual/macros.texi (gnusystems): New macro.
18656         (nongnusystems): Likewise.
18657         (gnulinuxhurdsystems): Likewise.
18658         (gnuhurdsystems): Likewise..
18659         (gnulinuxsystems): Likewise.
18660         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18661         variants of the GNU system, not "GNU system".
18662         * manual/conf.texi: Likewise.
18663         * manual/errno.texi: Likewise.  Update example of errno macro
18664         expansion.
18665         * manual/filesys.texi: Likewise.
18666         (getumask): Document as specific to GNU/Hurd.
18667         * manual/install.texi: Likewise.  Reword some references to
18668         GNU/Linux.
18669         * manual/intro.texi: Likewise.
18670         * manual/io.texi: Likewise.
18671         (File Name Portability): Detail which constraints are inapplicable
18672         to all GNU systems and which are only inapplicable to GNU/Hurd.
18673         * manual/job.texi: Likewise.
18674         * manual/llio.texi: Likewise.
18675         (O_NOCTTY): Document as present on GNU/Linux.
18676         * manual/maint.texi: Likewise.
18677         * manual/memory.texi: Likewise.
18678         * manual/pattern.texi: Likewise.
18679         * manual/pipe.texi: Likewise.
18680         * manual/process.texi: Likewise.
18681         * manual/resource.texi: Likewise.
18682         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18683         child on GNU/Hurd.
18684         * manual/setjmp.texi: Likewise.
18685         * manual/signal.texi: Likewise.
18686         * manual/startup.texi: Likewise.
18687         * manual/stdio.texi: Likewise.
18688         * manual/terminal.texi: Likewise.
18689         (ONLCR): Document as POSIX.
18690         (OXTABS): Document availability on GNU/Linux as XTABS.
18691         (ONOEOT): Document availability separately from other bits.
18692         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18693         * manual/time.texi: Likewise.
18694         * manual/users.texi: Likewise.
18695         * INSTALL: Regenerated.
18696         * sysdeps/gnu/errlist.c: Regenerated.
18698         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18699         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18700         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18701         puts.
18702         * configure: Regenerated.
18704 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18706         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18707         default includes instead of AC_HEADER_CHECK.
18708         * sysdeps/i386/configure: Regenerated.
18710         [BZ #10716]
18711         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18712         * math/s_cacoshf.c (__cacoshf): Likewise.
18713         * math/s_cacoshl.c (__cacoshl): Likewise.
18714         * math/s_casinh.c (__casinh): Set signs of result from argument.
18715         * math/s_casinhf.c (__casinhf): Likewise.
18716         * math/s_casinhl.c (__casinhl): Likewise.
18717         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18718         (casinh_test): Add more tests.
18719         * sysdeps/i386/fpu/libm-test-ulps: Update.
18720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18722 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18724         * po/zh_TW.po: Update from translation team.
18726         * login/Makefile (distribute): Remove variable.
18727         * catgets/Makefile: Likewise.
18728         * mach/Makefile: Likewise.
18729         * malloc/Makefile: Likewise.
18730         * misc/Makefile: Likewise.
18731         * iconv/Makefile: Likewise.
18732         * nscd/Makefile: Likewise.
18733         * hurd/Makefile: Likewise.
18734         * manual/Makefile: Likewise.
18735         * locale/Makefile: Likewise.
18736         * intl/Makefile: Likewise.
18737         * conform/Makefile: Likewise.
18738         * nss/Makefile: Likewise.
18739         * time/Makefile: Likewise.
18740         * soft-fp/Makefile: Likewise.
18741         * dirent/Makefile: Likewise.
18742         * gmon/Makefile: Likewise.
18743         * po/Makefile: Likewise.
18744         * rt/Makefile: Likewise.
18745         * socket/Makefile: Likewise.
18746         * math/Makefile: Likewise.
18747         * signal/Makefile: Likewise.
18748         * debug/Makefile: Likewise.
18749         * elf/Makefile: Likewise.
18750         * timezone/Makefile: Likewise.
18751         * stdlib/Makefile: Likewise.
18752         * iconvdata/Makefile: Likewise.
18753         * sunrpc/Makefile: Likewise.
18754         * io/Makefile: Likewise.
18755         * argp/Makefile: Likewise.
18756         * inet/Makefile: Likewise.
18757         * hesiod/Makefile: Likewise.
18758         * grp/Makefile: Likewise.
18759         * csu/Makefile: Likewise.
18760         * wctype/Makefile: Likewise.
18761         * crypt/Makefile: Likewise.
18762         * libio/Makefile: Likewise.
18763         * string/Makefile: Likewise.
18764         * nis/Makefile: Likewise.
18765         * resolv/Makefile: Likewise.
18766         * stdio-common/Makefile: Likewise.
18767         * wcsmbs/Makefile: Likewise.
18768         * dlfcn/Makefile: Likewise.
18769         * posix/Makefile: Likewise.
18771         [BZ #6959]
18772         * timezone/Makefile: Don't install timezone files, just the programs
18773         and scripts.
18775 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18777         * nss/databases.def: Add missing gshadow entry.
18779         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18781 2012-03-06  Marek Polacek  <polacek@redhat.com>
18783         [BZ #13726]
18784         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18785         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18786         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18787         * stdio-common/tst-long-dbl-fphex.c: New file.
18789 2012-03-06  David S. Miller  <davem@davemloft.net>
18791         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18792         (set_obp_int): New function.
18793         (get_obp_int): New function.
18794         (__get_clockfreq_via_dev_openprom): Likewise.
18795         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18796         Avoid unused variable warnings on 'val' and use builtin_expect.
18797         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18798         __builtin_expect.
18799         (INLINE_CLONE_SYSCALL): Likewise.
18801 2012-03-05  David S. Miller  <davem@davemloft.net>
18803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18805 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18809         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18810         only for |x| >= 40.
18811         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18813 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18815         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18816         Replace gettimeofday with __vdso_gettimeofday.
18818         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18819         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18820         __vdso_clock_gettime and __vdso_getcpu.
18822         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18823         time with __vdso_time.
18825 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18827         * manual/lang.texi (size_t): Note types to which size_t may be
18828         equivalent with the GNU C Library, but do not describe when
18829         differences between them are significant.
18831 2012-03-05  Andreas Jaeger  <aj@suse.de>
18833         * sysdeps/i386/fpu/libm-test-ulps: Update.
18835 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18837         [BZ #3976]
18838         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18839         (__ieee754_pow): Save and restore rounding mode and use
18840         round-to-nearest for main computations.
18841         * math/libm-test.inc (pow_test_tonearest): New function.
18842         (pow_test_towardzero): Likewise.
18843         (pow_test_downward): Likewise.
18844         (pow_test_upward): Likewise.
18845         (main): Call the new functions.
18846         * sysdeps/i386/fpu/libm-test-ulps: Update.
18847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18849         [BZ #3976]
18850         * math/libm-test.inc (cosh_test_tonearest): New function.
18851         (cosh_test_towardzero): Likewise.
18852         (cosh_test_downward): Likewise.
18853         (cosh_test_upward): Likewise.
18854         (sinh_test_tonearest): Likewise.
18855         (sinh_test_towardzero): Likewise.
18856         (sinh_test_downward): Likewise.
18857         (sinh_test_upward): Likewise.
18858         (main): Call the new functions.
18859         * sysdeps/i386/fpu/libm-test-ulps: Update.
18860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18862 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18864         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18865         default stack guard is set in last bytes.
18866         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18868 2012-03-05  Kees Cook  <keescook@chromium.org>
18870         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18872         [BZ #13656]
18873         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18874         possibly allocate from heap instead of stack.
18875         * stdio-common/bug-vfprintf-nargs.c: New file.
18876         * stdio-common/Makefile (tests): Add nargs overflow test.
18878 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18882 2012-03-03  Marek Polacek  <polacek@redhat.com>
18884         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18885         * math/math_private.h: Likewise.
18886         * stdlib/tst-strtod.c: Likewise.
18887         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18888         * sysdeps/x86_64/bits/atomic.h: Likewise.
18890 2012-03-02  David S. Miller  <davem@davemloft.net>
18892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18894         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18896         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18897         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18898         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18899         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18901 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18903         [BZ #13792]
18904         * manual/examples/README: New file, says the example source files
18905         can be used under GPL>=2.
18906         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18907         line containing just "*/".
18908         * manual/examples/add.c: Add copyright header (GPL>=2).
18909         * manual/examples/argp-ex1.c: Likewise.
18910         * manual/examples/argp-ex2.c: Likewise.
18911         * manual/examples/argp-ex3.c: Likewise.
18912         * manual/examples/argp-ex4.c: Likewise.
18913         * manual/examples/atexit.c: Likewise.
18914         * manual/examples/db.c: Likewise.
18915         * manual/examples/dir.c: Likewise.
18916         * manual/examples/dir2.c: Likewise.
18917         * manual/examples/execinfo.c: Likewise.
18918         * manual/examples/filecli.c: Likewise.
18919         * manual/examples/filesrv.c: Likewise.
18920         * manual/examples/fmtmsgexpl.c: Likewise.
18921         * manual/examples/genpass.c: Likewise.
18922         * manual/examples/inetcli.c: Likewise.
18923         * manual/examples/inetsrv.c: Likewise.
18924         * manual/examples/isockad.c: Likewise.
18925         * manual/examples/longopt.c: Likewise.
18926         * manual/examples/memopen.c: Likewise.
18927         * manual/examples/memstrm.c: Likewise.
18928         * manual/examples/mkfsock.c: Likewise.
18929         * manual/examples/mkisock.c: Likewise.
18930         * manual/examples/mygetpass.c: Likewise.
18931         * manual/examples/pipe.c: Likewise.
18932         * manual/examples/popen.c: Likewise.
18933         * manual/examples/rprintf.c: Likewise.
18934         * manual/examples/search.c: Likewise.
18935         * manual/examples/select.c: Likewise.
18936         * manual/examples/setjmp.c: Likewise.
18937         * manual/examples/sigh1.c: Likewise.
18938         * manual/examples/sigusr.c: Likewise.
18939         * manual/examples/stpcpy.c: Likewise.
18940         * manual/examples/strdupa.c: Likewise.
18941         * manual/examples/strftim.c: Likewise.
18942         * manual/examples/strncat.c: Likewise.
18943         * manual/examples/subopt.c: Likewise.
18944         * manual/examples/swapcontext.c: Likewise.
18945         * manual/examples/termios.c: Likewise.
18946         * manual/examples/testopt.c: Likewise.
18947         * manual/examples/testpass.c: Likewise.
18948         * manual/examples/timeval_subtract.c: Likewise.
18950         [BZ #13792]
18951         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18952         function to ...
18953         * manual/timeval_subtract.c.texi: ... here, new file.
18955 2012-03-02  David S. Miller  <davem@davemloft.net>
18957         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18959 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18961         [BZ #3976]
18962         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18963         (__sin): Save and restore rounding mode and use round-to-nearest
18964         for all computations.
18965         (__cos): Save and restore rounding mode and use round-to-nearest
18966         for all computations.
18967         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18968         <fenv.h>.
18969         (tan): Save and restore rounding mode and use round-to-nearest for
18970         all computations.
18971         * math/libm-test.inc (cos_test_tonearest): New function.
18972         (cos_test_towardzero): Likewise.
18973         (cos_test_downward): Likewise.
18974         (cos_test_upward): Likewise.
18975         (sin_test_tonearest): Likewise.
18976         (sin_test_towardzero): Likewise.
18977         (sin_test_downward): Likewise.
18978         (sin_test_upward): Likewise.
18979         (tan_test_tonearest): Likewise.
18980         (tan_test_towardzero): Likewise.
18981         (tan_test_downward): Likewise.
18982         (tan_test_upward): Likewise.
18983         (main): Call the new functions.
18984         * sysdeps/i386/fpu/libm-test-ulps: Update.
18985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18987         [BZ #10135]
18988         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18989         small n, then large n, before computing and testing k+n.
18990         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18991         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18992         Likewise.
18993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18994         Likewise.
18995         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18996         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18997         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18998         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18999         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19000         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19001         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19002         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19003         * math/libm-test.inc (scalbn_test): Add more tests.
19004         (scalbln_test): Likewise.
19006         * manual/filesys.texi (mode_t): Describe constraints on size and
19007         signedness, not exact equivalence to a particular type.
19008         (ino_t): Likewise.
19009         (ino64_t): Likewise.
19010         (dev_t): Likewise.
19011         (nlink_t): Likewise.
19012         (blkcnt_t): Likewise.
19013         (blkcnt64_t): Likewise.
19014         * manual/llio.texi (off_t): Likewise.
19016         [BZ #3976]
19017         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19018         (__ieee754_exp): Save and restore rounding mode and use
19019         round-to-nearest for all computations.
19020         * math/libm-test.inc (exp_test_tonearest): New function.
19021         (exp_test_towardzero): Likewise.
19022         (exp_test_downward): Likewise.
19023         (exp_test_upward): Likewise.
19024         (main): Call the new functions.
19025         * sysdeps/i386/fpu/libm-test-ulps: Update.
19026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19028 2012-03-01  Chris Demetriou  <cgd@google.com>
19030         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19031         have predictable order.
19033 2012-03-01  David S. Miller  <davem@davemloft.net>
19035         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19037         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19038         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19039         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19040         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19042         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19043         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19044         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19046         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19047         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19048         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19049         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19050         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19054         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19055         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19056         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19058         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19059         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19060         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19061         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19062         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19063         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19064         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19065         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19066         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19067         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19068         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19069         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19070         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19071         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19072         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19073         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19074         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19075         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19076         * sysdeps/sparc/elf/configure: Regenerated.
19078 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19080         * configure.in (AS, LD): Require binutils 2.20 or later.
19081         * configure: Regenerated.
19082         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19083         as required minimum version.
19084         * INSTALL: Regenerated.
19086         [BZ #2541]
19087         [BZ #4108]
19088         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19089         before squaring exponent.
19090         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19091         bottom long double and 27 bits of top long double before squaring
19092         exponent.
19093         * math/libm-test.inc (erfc_test): Add more tests.
19094         * sysdeps/i386/fpu/libm-test-ulps: Update.
19095         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19098 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19100         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19101         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19102         containing bit-fields.
19103         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19104         * soft-fp/single.h (_FP_UNION_S): Likewise.
19105         * soft-fp/double.h (_FP_UNION_D): Likewise.
19107 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19109         [BZ #13786]
19110         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19111         not include ../strcmp.S.
19112         [USE_AS_STRNCASECMP_L]: Likewise.
19113         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19114         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19115         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19116         (__strncasecmp_l_ia32): Define as alias to
19117         __strncasecmp_l_nonascii.
19119         [BZ #5794]
19120         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19121         * sysdeps/i386/fpu/libm-test-ulps: Update.
19122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19124         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19127 2012-02-29  Jeff Law  <law@redhat.com>
19129         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19130         out of bounds read.
19132 2012-02-29  Marek Polacek  <polacek@redhat.com>
19134         [BZ #13706]
19135         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19136         * elf/Makefile: Add rules to run tst-unused-dep.out.
19138 2012-02-28  David S. Miller  <davem@davemloft.net>
19140         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19141         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19142         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19143         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19144         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19145         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19147 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19149         * math/libm-test.inc (llround_test): Move one test from
19150         lround_test.  Use TEST_f_L in moved test.
19151         (lround_test): Move misplaced test to llround_test.  Add testcase
19152         from bug 2561.
19154 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19156         * sysdeps/x86_64/fpu/e_expf.S: New file.
19157         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19159 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19161         [BZ #13637]
19162         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19163         of remain_len that may cause incomplete multi-byte character and
19164         false match.
19165         * posix/bug-regex33.c: New file.
19166         * posix/Makefile (tests): Add bug-regex33.
19168 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19170         * manual/macros.texi: New file.
19171         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19172         * manual/libc.texinfo: Include macros.texi.
19173         * manual/creatute.texi: Likewise.
19174         * manual/install.texi: Likewise.
19175         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19176         @glibcadj{} in references to the GNU C Library.
19177         * manual/charset.texi: Likewise.
19178         * manual/conf.texi: Likewise.
19179         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19180         when not using those macros.
19181         * manual/creature.texi: Likewise.
19182         * manual/crypt.texi: Likewise.
19183         * manual/errno.texi: Likewise.
19184         * manual/filesys.texi: Likewise.
19185         * manual/header.texi: Likewise.
19186         * manual/install.texi: Likewise.
19187         * manual/intro.texi: Likewise.
19188         * manual/io.texi: Likewise.
19189         * manual/job.texi: Likewise.
19190         * manual/lang.texi: Likewise.
19191         * manual/libc.texiinfo: Likewise.
19192         * manual/llio.texi: Likewise.
19193         * manual/locale.texi: Likewise.
19194         * manual/maint.texi: Likewise.
19195         * manual/math.texi: Likewise.
19196         * manual/memory.texi: Likewise.
19197         * manual/message.texi: Likewise.
19198         * manual/nss.texi: Likewise.
19199         * manual/pattern.texi: Likewise.
19200         * manual/process.texi: Likewise.
19201         * manual/resource.texi: Likewise.
19202         * manual/search.texi: Likewise.
19203         * manual/setjmp.texi: Likewise.
19204         * manual/signal.texi: Likewise.
19205         * manual/socket.texi: Likewise.
19206         * manual/startup.texi: Likewise.
19207         * manual/stdio.texi: Likewise.
19208         * manual/string.texi: Likewise.
19209         * manual/sysinfo.texi: Likewise.
19210         * manual/syslog.texi: Likewise.
19211         * manual/terminal.texi: Likewise.
19212         * manual/time.texi: Likewise.
19213         * manual/users.texi: Likewise.
19214         * INSTALL: Regenerated.
19215         * NOTES: Regenerated.
19216         * sysdeps/gnu/errlist.c: Regenerated.
19218 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19220         * include/dirent.h: Include <dirstream.h> before
19221         <dirent/dirent.h>.
19223 2012-02-28  David S. Miller  <davem@davemloft.net>
19225         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19226         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19227         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19228         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19230 2012-02-27  David S. Miller  <davem@davemloft.net>
19232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19234         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19235         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19238         frame pointer instead of stack pointer relative arg slot.
19239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19240         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19241         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19243 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19245         [BZ #3992]
19246         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19248 2012-02-27  David S. Miller  <davem@davemloft.net>
19250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19254         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19255         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19256         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19257         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19259 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19261         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19262         later.  Allow versions 5-9.
19263         * configure: Regenerated.
19264         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19265         required minimum version and 4.6 as recommended version.  Do not
19266         mention bugs in GCC 2.7 and 2.8.
19267         * INSTALL: Regenerated.
19269 2012-02-27  David S. Miller  <davem@davemloft.net>
19271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19275         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19276         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19277         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19278         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19280         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19281         manipulate bits before adding and subtracting TWO112[sx].
19282         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19284 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19286         [BZ #13775]
19287         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19288         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19289         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19290         being in POSIX, because they are in 1003.1-2008.
19292         * rt/tst-aio.c: Include <fcntl.h>.
19293         * rt/tst-aio7.c: Likewise.
19294         * rt/tst-aio64.c: Likewise.
19296         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19298 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19300         * manual/install.texi (--with-headers): Describe headers as
19301         interface headers, not private headers.
19302         (Specific advice for GNU/Linux systems): Describe use of headers
19303         from "make headers_install", not private headers from older
19304         kernels.
19305         * INSTALL: Regenerated.
19306         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19307         Change to 2.6.19.
19308         * sysdeps/unix/sysv/linux/configure: Regenerated.
19310         * manual/llio.texi (fclean): Remove documentation.
19312         * manual/Makefile (libc-texi-generated): New variable.  Include
19313         version.texi.
19314         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19315         $(libc-texi-generated), not duplicated list of files.
19316         (version.texi, stamp-version): New rules.
19317         (realclean): Remove $(libc-texi-generated), not individual files
19318         from that list.  Do not remove dir-add.texinfo.
19319         * manual/libc.texinfo: Comment out uses of edition numbers and
19320         references to printed manual.  Remove last-updated dates.
19321         (EDITION): Comment out.
19322         (ISBN): Likewise.
19323         (VERSION, UPDATED): Remove.
19324         (version.texi): Include.
19326 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19328         * sysdeps/posix/spawni.c: Include <signal.h>.
19329         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19330         * sysdeps/pthread/aio_fsync.c: Likewise.
19332 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19334         * conform/Makefile (tests): Run only when not cross-compiling and
19335         when fast-check is not defined.
19337         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19338         * conform/data/limits.h-data: Fixes for POSIX2008.
19339         * conform/run-conformtest.sh: Run all tests.
19340         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19341         headers.
19342         * include/bits/dlfcn.h: Likewise.
19343         * include/langinfo.h: Likewise.
19344         * include/monetary.h: Likewise.
19345         * include/sys/poll.h: Likewise.
19347         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19348         for __USE_GNU.
19349         * posix/spawn.h: Define __need_sigset_t.
19350         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19351         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19352         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19353         to get sigevent_t only.
19354         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19355         only for __USE_GNU.
19356         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19357         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19358         process_vm_writev only for __USE_GNU.
19359         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19361         * conform/Makefile: For now ignore errors from run-conformtest.
19362         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19363         POSIX to avoid namespace pollution.  Don't prepend headers.
19364         * conform/data/aio.h-data: Fixes for POSIX testing.
19365         * conform/data/fcntl.h-data: Likewise.
19366         * conform/data/glob.h-data: Likewise.
19367         * conform/data/grp.h-data: Likewise.
19368         * conform/data/pthread.h-data: Likewise.
19369         * conform/data/pwd.h-data: Likewise.
19370         * conform/data/signal.h-data: Likewise.
19371         * conform/data/spawn.h-data: Likewise.
19372         * conform/data/stdio.h-data: Likewise.
19373         * conform/data/stdlib.h-data: Likewise.
19374         * conform/data/stropts.h-data: Likewise.
19375         * conform/data/sys/mman.h-data: Likewise.
19376         * conform/data/sys/stat.h-data: Likewise.
19377         * conform/data/sys/types.h-data: Likewise.
19378         * conform/data/sys/wait.h-data: Likewise.
19379         * conform/data/time.h-data: Likewise.
19380         * conform/data/unistd.h-data: Likewise.
19381         * conform/data/utime.h-data: Likewise.
19383         * io/sys/stat.h: fchmod was always in POSIX.
19384         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19385         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19386         * rt/aio.h: Define __need_timespec before including <time.h>.
19387         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19388         struct.  Add forward declaration of pthread_attr_t and use it in
19389         sigevent.
19390         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19391         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19392         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19393         always remove CLK_TCK definition.
19395 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19397         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19399 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19401         * conform/run-conformtest.sh: New file.
19402         * conform/Makefile: Run run-conformtest for tests.
19403         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19404         support.
19406         * conform/data/uchar.h-data: New file.
19407         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19408         * conform/data/arpa/inet.h-data: Likewise.
19409         * conform/data/assert.h-data: Likewise.
19410         * conform/data/complex.h-data: Likewise.
19411         * conform/data/cpio.h-data: Likewise.
19412         * conform/data/ctype.h-data: Likewise.
19413         * conform/data/dirent.h-data: Likewise.
19414         * conform/data/dlfcn.h-data: Likewise.
19415         * conform/data/errno.h-data: Likewise.
19416         * conform/data/fcntl.h-data: Likewise.
19417         * conform/data/float.h-data: Likewise.
19418         * conform/data/fmtmsg.h-data: Likewise.
19419         * conform/data/fnmatch.h-data: Likewise.
19420         * conform/data/ftw.h-data: Likewise.
19421         * conform/data/glob.h-data: Likewise.
19422         * conform/data/grp.h-data: Likewise.
19423         * conform/data/iconv.h-data: Likewise.
19424         * conform/data/inttypes.h-data: Likewise.
19425         * conform/data/langinfo.h-data: Likewise.
19426         * conform/data/libgen.h-data: Likewise.
19427         * conform/data/limits.h-data: Likewise.
19428         * conform/data/locale.h-data: Likewise.
19429         * conform/data/math.h-data: Likewise.
19430         * conform/data/monetary.h-data: Likewise.
19431         * conform/data/mqueue.h-data: Likewise.
19432         * conform/data/ndbm.h-data: Likewise.
19433         * conform/data/net/if.h-data: Likewise.
19434         * conform/data/netdb.h-data: Likewise.
19435         * conform/data/netinet/in.h-data: Likewise.
19436         * conform/data/nl_types.h-data: Likewise.
19437         * conform/data/poll.h-data: Likewise.
19438         * conform/data/pthread.h-data: Likewise.
19439         * conform/data/pwd.h-data: Likewise.
19440         * conform/data/regex.h-data: Likewise.
19441         * conform/data/sched.h-data: Likewise.
19442         * conform/data/search.h-data: Likewise.
19443         * conform/data/semaphore.h-data: Likewise.
19444         * conform/data/setjmp.h-data: Likewise.
19445         * conform/data/signal.h-data: Likewise.
19446         * conform/data/spawn.h-data: Likewise.
19447         * conform/data/stdarg.h-data: Likewise.
19448         * conform/data/stdio.h-data: Likewise.
19449         * conform/data/stdlib.h-data: Likewise.
19450         * conform/data/string.h-data: Likewise.
19451         * conform/data/strings.h-data: Likewise.
19452         * conform/data/stropts.h-data: Likewise.
19453         * conform/data/sys/ipc.h-data: Likewise.
19454         * conform/data/sys/mman.h-data: Likewise.
19455         * conform/data/sys/msg.h-data: Likewise.
19456         * conform/data/sys/resource.h-data: Likewise.
19457         * conform/data/sys/select.h-data: Likewise.
19458         * conform/data/sys/sem.h-data: Likewise.
19459         * conform/data/sys/shm.h-data: Likewise.
19460         * conform/data/sys/socket.h-data: Likewise.
19461         * conform/data/sys/stat.h-data: Likewise.
19462         * conform/data/sys/statvfs.h-data: Likewise.
19463         * conform/data/sys/time.h-data: Likewise.
19464         * conform/data/sys/timeb.h-data: Likewise.
19465         * conform/data/sys/times.h-data: Likewise.
19466         * conform/data/sys/types.h-data: Likewise.
19467         * conform/data/sys/uio.h-data: Likewise.
19468         * conform/data/sys/un.h-data: Likewise.
19469         * conform/data/sys/utsname.h-data: Likewise.
19470         * conform/data/sys/wait.h-data: Likewise.
19471         * conform/data/syslog.h-data: Likewise.
19472         * conform/data/tar.h-data: Likewise.
19473         * conform/data/termios.h-data: Likewise.
19474         * conform/data/utime.h-data: Likewise.
19475         * conform/data/utmpx.h-data: Likewise.
19476         * conform/data/varargs.h-data: Likewise.
19477         * conform/data/wchar.h-data: Likewise.
19478         * conform/data/wctype.h-data: Likewise.
19479         * conform/data/wordexp.h-data: Likewise.
19481         * include/stropts.h: New file.
19482         * include/uchar.h: New file.
19483         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19484         * include/assert.h: Likewise.
19485         * include/ctype.h: Likewise.
19486         * include/dirent.h: Likewise.
19487         * include/dlfcn.h: Likewise.
19488         * include/fcntl.h: Likewise.
19489         * include/fnmatch.h: Likewise.
19490         * include/glob.h: Likewise.
19491         * include/grp.h: Likewise.
19492         * include/libio.h: Likewise.
19493         * include/locale.h: Likewise.
19494         * include/math.h: Likewise.
19495         * include/net/if.h: Likewise.
19496         * include/netdb.h: Likewise.
19497         * include/netinet/in.h: Likewise.
19498         * include/pthread.h: Likewise.
19499         * include/pwd.h: Likewise.
19500         * include/regex.h: Likewise.
19501         * include/sched.h: Likewise.
19502         * include/search.h: Likewise.
19503         * include/setjmp.h: Likewise.
19504         * include/signal.h: Likewise.
19505         * include/stdio.h: Likewise.
19506         * include/stdlib.h: Likewise.
19507         * include/string.h: Likewise.
19508         * include/sys/cdefs.h: Likewise.
19509         * include/sys/mman.h: Likewise.
19510         * include/sys/msg.h: Likewise.
19511         * include/sys/resource.h: Likewise.
19512         * include/sys/select.h: Likewise.
19513         * include/sys/socket.h: Likewise.
19514         * include/sys/stat.h: Likewise.
19515         * include/sys/statvfs.h: Likewise.
19516         * include/sys/time.h: Likewise.
19517         * include/sys/times.h: Likewise.
19518         * include/sys/uio.h: Likewise.
19519         * include/sys/utsname.h: Likewise.
19520         * include/sys/wait.h: Likewise.
19521         * include/termios.h: Likewise.
19522         * include/time.h: Likewise.
19523         * include/ulimit.h: Likewise.
19524         * include/unistd.h: Likewise.
19525         * include/utime.h: Likewise.
19526         * include/wchar.h: Likewise.
19527         * include/wctype.h: Likewise.
19528         * include/wordexp.h: Likewise.
19530         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19532         * time/time.h: TIME_UTC must be a macro.
19533         Make timespec_get available for ISO C11 only as well.
19535 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19537         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19538         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19540 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19542         * configure.in: Use -o not -a in test for unsupported multi-arch.
19544 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19546         * manual/texinfo.tex: Update to version 2012-01-19.16.
19548 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19550         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19552 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19554         [BZ #13738]
19555         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19556         * manual/fdl-1.3.texi: New file.
19557         * manual/fdl-1.1.texi: File removed.
19559         [BZ #13738]
19560         * manual/libc.texinfo (FDL_VERSION): New @set.
19561         Use it for mention of FDL in cover text.
19562         (Documentation License): Use it in @include file name.
19564 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19565             Roland McGrath  <roland@hack.frob.com>
19567         [BZ #5461]
19568         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19569         not LONG_LONG_MAX and LONG_LONG_MIN.
19570         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19571         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19572         name.
19573         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19575 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19577         [BZ #2547]
19578         [BZ #11365]
19579         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19580         manipulate bits before adding and subtracting TWO23[sx].
19581         * math/libm-test.inc (nearbyint_test): Add more tests.
19583 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19585         [BZ #2548]
19586         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19587         bits before adding and subtracting TWO23[sx].
19588         * math/libm-test.inc (rint_test): Add more tests.
19589         (rint_test_tonearest): Likewise.
19590         (rint_test_towardzero): Likewise.
19591         (rint_test_downward): Likewise.
19592         (rint_test_upward: Likewise.
19594 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19596         [BZ #10110]
19597         * include/stdc-predef.h: New file.  Extracted from features.h.
19598         * include/features.h: Include stdc-predef.h.
19599         * Makefile (headers): Add stdc-predef.h.
19600         * CONFORMANCE (Compiler limitations): Update.
19602 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19604         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19606 2012-02-21  David S. Miller  <davem@davemloft.net>
19608         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19609         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19611 2012-02-20  David S. Miller  <davem@davemloft.net>
19613         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19614         using a normal save/restore sequence, rather than allocating a
19615         dummy stack frame just to store a frame pointer and restore.
19616         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19618 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19620         * manual/install.texi: Fix stray word in line-wrapped comment.
19622 2012-02-20  David S. Miller  <davem@davemloft.net>
19624         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19625         both binutils and gcc support GOTDATA.
19627         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19628         "rd %pc" in the PIC register setup sequences.
19630         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19631         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19632         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19633         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19634         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19635         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19636         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19637         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19638         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19639         (SYSCALL_ERROR_HANDLER): Likewise.
19640         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19641         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19643         (SYSCALL_ERROR_HANDLER): Likewise.
19645         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19646         (HAVE_GCC_GOTDATA): New.
19647         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19648         relocation support in both binutils and gcc.
19649         * sysdeps/sparc/elf/configure: Regenerate.
19651         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19652         * sysdeps/sparc/sparc32/elf/configure: Delete.
19653         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19654         * sysdeps/sparc/sparc64/elf/configure: Delete.
19655         * sysdeps/sparc/elf/configure.in: New file.
19656         * sysdeps/sparc/elf/configure: Generate.
19658         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19659         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19660         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19661         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19662         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19664 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19666         * manual/install.texi: Do not mention specific glibc version
19667         numbers.
19668         * manual/libc.texinfo (VERSION, UPDATED): Update.
19669         (@copying): Use @copyright{} and range of years.
19671 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19673         [BZ #13695]
19674         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19675         [crti.S not in sysdirs] (generated): Do not append.
19676         [crti.S not in sysdirs] (omit-deps): Likewise.
19677         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19678         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19679         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19680         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19681         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19682         Likewise.
19683         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19684         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19685         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19686         * csu/defs.awk: Remove file.
19687         * sysdeps/generic/initfini.c: Likewise.
19688         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19689         variable.
19690         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19691         Likewise.
19693 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19695         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19696         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19697         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19698         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19699         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19700         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19701         <bits/epoll.h>.
19702         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19703         (__EPOLL_PACKED): Define to empty if not defined by
19704         <bits/epoll.h>.
19705         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19707         bits/epoll.h.
19709 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19711         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19712         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19713         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19714         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19715         <bits/timerfd.h>.
19716         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19717         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19718         bits/timerfd.h.
19720 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19722         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19723         in C locale.
19724         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19725         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19726         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19729 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19731         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19732         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19734 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19736         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19737         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19738         defined.
19739         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19740         Likewise.
19741         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19742         entry for 2.16.
19744 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19746         * math/w_acos.c: Use non-signaling floating-point comparisons.
19747         * math/w_acosf.c: Likewise.
19748         * math/w_acosh.c: Likewise.
19749         * math/w_acoshf.c: Likewise.
19750         * math/w_acoshl.c: Likewise.
19751         * math/w_acosl.c: Likewise.
19752         * math/w_asin.c: Likewise.
19753         * math/w_asinf.c: Likewise.
19754         * math/w_asinl.c: Likewise.
19755         * math/w_atanh.c: Likewise.
19756         * math/w_atanhf.c: Likewise.
19757         * math/w_atanhl.c: Likewise.
19758         * math/w_exp2.c: Likewise.
19759         * math/w_exp2f.c: Likewise.
19760         * math/w_exp2l.c: Likewise.
19761         * math/w_j0.c: Likewise.
19762         * math/w_j0f.c: Likewise.
19763         * math/w_j0l.c: Likewise.
19764         * math/w_j1.c: Likewise.
19765         * math/w_j1f.c: Likewise.
19766         * math/w_j1l.c: Likewise.
19767         * math/w_jn.c: Likewise.
19768         * math/w_jnf.c: Likewise.
19769         * math/w_log.c: Likewise.
19770         * math/w_log10.c: Likewise.
19771         * math/w_log10f.c: Likewise.
19772         * math/w_log10l.c: Likewise.
19773         * math/w_log2.c: Likewise.
19774         * math/w_log2f.c: Likewise.
19775         * math/w_log2l.c: Likewise.
19776         * math/w_logf.c: Likewise.
19777         * math/w_logl.c: Likewise.
19778         * math/w_sqrt.c: Likewise.
19779         * math/w_sqrtf.c: Likewise.
19780         * math/w_sqrtl.c: Likewise.
19781         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19782         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19783         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19784         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19785         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19787 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19789         [BZ #9739]
19790         * manual/string.texi (strnlen): Use correct parameter name in
19791         equivalent expression.
19793 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19795         [BZ #11174]
19796         * manual/users.texi (seteuid): Consistently use neweuid for
19797         argument name.
19799 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19801         [BZ #13704]
19802         * manual/nss.texi (Services in the NSS configuration): Correct
19803         list of services in example configuration file.
19805 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19807         [BZ #11322]
19808         * manual/arith.texi: Remove statements about negative zero
19809         behaving identically to zero.
19811 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19813         [BZ #5993]
19814         * manual/install.texi: Do not document upgrading from libc5.
19816 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19818         [BZ #4596]
19819         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19821 2012-02-18  David S. Miller  <davem@davemloft.net>
19823         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19824         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19825         %o7 across the call.
19826         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19827         instead.
19828         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19829         SETUP_PIC_REG_LEAF.
19830         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19831         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19832         * sysdeps/sparc/crtn.S: Likewise.
19834 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19836         * aout/Makefile: Remove.
19838 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19840         [BZ #13058]
19841         * manual/examples/argp-ex1.c (main): Format definition in GNU
19842         style.
19843         * manual/examples/argp-ex2.c (main): Likewise.
19844         * manual/examples/argp-ex3.c (main): Likewise.
19845         * manual/examples/argp-ex4.c (main): Likewise.
19846         * manual/examples/longopt.c (main): Use new-style prototype
19847         definition.
19848         * manual/examples/strncat.c (main): Specify return type and use
19849         (void) for arguments.
19850         * manual/examples/subopt.c (main): Use char **argv argument.
19852 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19854         [BZ #5077]
19855         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19856         rounding modes.
19858 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19860         [BZ #6907]
19861         * manual/string.texi (strchr): Change when strchrnul is
19862         recommended.
19864 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19866         [BZ #174]
19867         * manual/locale.texi (setlocale): Document LOCPATH.
19869 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19871         [BZ #10210]
19872         * manual/process.texi (execle): Move @dots{} before last argument.
19874 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19876         [BZ #12047]
19877         * manual/charset.texi (Generic Charset Conversion): Fix typo
19878         (LC_TYPE -> LC_CTYPE).
19880 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19882         [BZ #5805]
19883         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19884         (scalbnf): Likewise.
19885         (scalbnl): Likewise.
19886         (scalbln): Likewise.
19887         (scalblnf): Likewise.
19888         (scalblnl): Likewise.
19889         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19890         (vwarnx): Likewise.
19891         (verr): Likewise.
19892         (verrx): Likewise.
19893         * manual/filesys.texi (telldir): Use braces around return type.
19894         * manual/llio.texi (mmap): Add space after comma.
19895         (mmap64): Likewise.
19896         * manual/math.texi (jn): Use @var{} on parameter names.
19897         (jnf): Likewise.
19898         (jnl): Likewise.
19899         (yn): Likewise.
19900         (ynf): Likewise.
19901         (ynl): Likewise.
19902         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19903         line.
19904         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19905         "...".
19906         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19907         (sched_get_priority_max): Likewise.
19908         * manual/signal.texi (sigvec): Add space after comma.
19909         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19910         names.
19911         (if_indextoname): Likewise.
19912         (if_freenameindex): Likewise.
19913         (sendto): Use ',' instead of '.' in prototype.
19914         * manual/startup.texi (syscall): Use @dots{} instead of literal
19915         "...".
19916         * manual/stdio.texi (__fpending): Separate initial words of
19917         paragraph from @deftypefun line.
19918         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19919         "...".
19920         (vsyslog): Use @var{} on parameter names.
19921         * manual/terminal.texi (stty): Use @var{} on parameter names.
19922         * manual/users.texi (getutmp): Use @var{} on parameter names.
19923         (getutmpx): Likewise.
19925 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19927         [BZ #6884]
19928         * manual/stdio.texi (fopen): Fix typos in description of
19929         ",ccs=STRING".
19931 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19933         [BZ #4026]
19934         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19935         get clock_id definition.
19937 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19939         [BZ #4822]
19940         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19941         (madvise): Cast every argument to void on its own.
19943 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19945         [BZ #9902]
19946         * manual/startup.texi (Exit Status): Fix typo.
19948 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19950         [BZ #10140]
19951         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19952         * manual/examples/argp-ex2.c: Likewise.
19953         * manual/examples/argp-ex3.c: Likewise.
19955 2012-02-16  Richard Henderson  <rth@redhat.com>
19957         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19958         * sysdeps/s390/s390-32/initfini.c: Remove.
19959         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19960         * sysdeps/s390/s390-64/initfini.c: Remove.
19962 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19964         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19965         compiler output for sysdeps/generic/initfini.c.
19966         * sysdeps/sh/elf/initfini.c: Remove file.
19968 2012-02-16  David S. Miller  <davem@davemloft.net>
19970         [BZ #11494]
19971         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19973         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19974         * sysdeps/sparc/crti.S: New file.
19975         * sysdeps/sparc/crtn.S: New file.
19976         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19977         * sysdeps/sparc/sparc64/Makefile: Likewise.
19979 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19981         [BZ #3335]
19982         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19984 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19986         [BZ #4822]
19987         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19989         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19990         (write, read, close): Likewise.
19991         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19993 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19995         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19996         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19997         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19998         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19999         <bits/signalfd.h>.
20000         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20002         bits/signalfd.h.
20004 2012-02-14  Marek Polacek  <polacek@redhat.com>
20006         * sysdeps/x86_64/crti.S: New file.
20007         * sysdeps/x86_64/crtn.S: New file.
20008         * sysdeps/x86_64/elf/initfini.c: Remove file.
20010 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20012         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20013         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20014         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20015         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20016         <bits/inotify.h>.
20017         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20019         bits/inotify.h.
20021 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
20023         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20024         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20025         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20026         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20027         <bits/eventfd.h>.
20028         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20030         bits/eventfd.h.
20032 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
20034         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20035         __feraiseexcept instead of feraiseexcept.
20037         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20038         nanosleep invocations.
20039         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20040         strings, and add error checking for a nanosleep invocations.
20042 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
20044         Replace FSF snail mail address with URLs, as per GNU coding standards.
20045         Most of the snail mail addresses were wrong anyway, and omitting
20046         them makes the source code easier to maintain.  Almost all of the
20047         changes are to license notices and to locale LC_IDENTIFICATION
20048         addresses, except for this one:
20049         * manual/libc.texinfo: In "Published by", give the FSF's URL,
20050         not its snail mail address.
20052 2012-02-09  Richard Henderson  <rth@twiddle.net>
20054         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20055         of kernel-features.h.
20057         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20059 2012-02-08  Marek Polacek  <polacek@redhat.com>
20061         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20062         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20063         * sysdeps/gnu/_G_config.h: Likewise.
20064         * sysdeps/generic/_G_config.h: Likewise.
20066 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20068         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20069         tests.
20070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20072         * sysdeps/powerpc/powerpc32/crti.S: New file.
20073         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20074         * sysdeps/powerpc/powerpc64/crti.S: New file.
20075         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20077         * Makeconfig (have-initfini): Don't set.
20078         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20079         * configure.in (nopic_initfini): Don't substitute.
20080         * config.h.in (HAVE_INITFINI): Don't #undef.
20081         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20082         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20084 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20086         Support crti.S and crtn.S provided directly by architectures.
20087         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20088         [crti.S in sysdirs] (omit-deps): Likewise.
20089         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20090         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20091         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20092         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20093         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20094         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20095         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20096         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20097         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20098         compiler output for sysdeps/generic/initfini.c.
20099         * sysdeps/i386/elf/Makefile: Remove file.
20100         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20102 2012-02-07  Marek Polacek  <polacek@redhat.com>
20104         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20105         * sysdeps/gnu/_G_config.h: Likewise.
20106         * sysdeps/mach/hurd/_G_config.h: Likewise.
20108 2012-02-07  Marek Polacek  <polacek@redhat.com>
20110         * math/Makefile (tests): Add tst-CMPLX2.
20111         * math/tst-CMPLX2.c: New file.
20113 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20115         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20117         * math/libm-test.inc (jn_test): Add missing L suffix.
20119 2012-02-06  Marek Polacek  <polacek@redhat.com>
20121         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20122         * sysdeps/i386/fpu/e_powf.S: Likewise.
20123         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20124         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20125         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20126         * sysdeps/i386/fpu/e_pow.S: Likewise.
20127         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20128         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20129         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20130         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20131         * sysdeps/i386/fpu/e_log2.S: Likewise.
20132         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20133         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20134         * sysdeps/i386/fpu/e_powl.S: Likewise.
20135         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20136         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20137         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20138         * sysdeps/i386/fpu/e_logl.S: Likewise.
20139         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20140         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20141         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20142         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20143         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20144         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20145         * sysdeps/i386/fpu/e_log.S: Likewise.
20146         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20147         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20148         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20149         * sysdeps/i386/fpu/e_logf.S: Likewise.
20150         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20151         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20152         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20153         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20154         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20155         * sysdeps/i386/fpu/e_log10.S: Likewise.
20156         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20157         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20158         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20159         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20160         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20161         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20162         * sysdeps/i386/asm-syntax.h: Likewise.
20163         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20164         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20165         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20166         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20167         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20168         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20169         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20170         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20171         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20172         * sysdeps/powerpc/sysdep.h: Likewise.
20173         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20174         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20176 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20178         [BZ #411]
20179         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20181 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20183         * sysdeps/i386/sysdep.h: Include <features.h>.
20184         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20185         version.
20187 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20189         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20190         Define.
20191         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20192         LOAD_PIC_REG_STR.
20194 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20196         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20197         (SETUP_PIC_REG): Use GET_PC_THUNK.
20198         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20199         macro.
20201 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20203         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20204         for non-PIC compilation.
20205         (SETUP_PIC_REG): Add .p2align directive.
20206         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20207         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20208         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20209         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20210         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20211         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20212         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20213         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20214         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20215         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20216         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20217         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20218         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20219         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20220         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20221         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20222         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20223         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20224         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20225         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20226         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20227         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20228         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20229         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20230         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20231         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20232         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20233         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20234         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20235         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20236         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20237         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20238         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20239         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20240         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20241         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20242         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20243         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20244         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20245         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20246         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20248 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20250         * math/tst-CMPLX.c: Include <stdio.h>.
20252 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20254         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20255         float.
20256         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20257         * sysdeps/sparc/bits/mathdef.h: Likewise.
20259 2012-01-31  Marek Polacek  <polacek@redhat.com>
20261         * libio/libio.h: Don't define _PARAMS.
20262         * locale/programs/config.h: Don't define PARAMS.
20263         * stdlib/strtol_l.c: Likewise.
20264         (__strtol_l): Remove PARAMS from the prototype.
20266 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20268         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20269         names.  Just use the correct names.  Remove unnecessary wrapper
20270         functions.
20271         * malloc/arena.c: Likewise.
20272         * malloc/hooks.c: Likewise.
20274         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20275         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20276         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20278 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20280         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20281         into tail calls.
20282         (update_get_addr): New function.
20283         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20284         GET_ADDR_MODULE parameter.
20286 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20288         * crypt/cert.c: Remove __STDC__ conditionals.
20289         * crypt/crypt-entry.c: Likewise.
20290         * crypt/crypt_util.c: Likewise.
20291         * libio/filedoalloc.c: Likewise.
20292         * libio/fileops.c: Likewise.
20293         * libio/genops.c: Likewise.
20294         * libio/iofclose.c: Likewise.
20295         * libio/iofdopen.c: Likewise.
20296         * libio/iofopen.c: Likewise.
20297         * libio/iofopen64.c: Likewise.
20298         * libio/iogetdelim.c: Likewise.
20299         * libio/iopopen.c: Likewise.
20300         * libio/obprintf.c: Likewise.
20301         * libio/oldfileops.c: Likewise.
20302         * libio/oldiofclose.c: Likewise.
20303         * libio/oldiofdopen.c: Likewise.
20304         * libio/oldiofopen.c: Likewise.
20305         * libio/oldiopopen.c: Likewise.
20306         * libio/wfiledoalloc.c: Likewise.
20307         * libio/wgenops.c: Likewise.
20308         * locale/programs/xmalloc.c: Likewise.
20309         * misc/syslog.c: Likewise.
20310         * stdio-common/xbug.c: Likewise.
20311         * string/memchr.c: Likewise.
20312         * string/memcmp.c: Likewise.
20313         * string/memrchr.c: Likewise.
20314         * string/rawmemchr.c: Likewise.
20315         * sysdeps/posix/getcwd.c: Likewise.
20316         * time/strftime_l.c: Likewise.
20318 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20320         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20321         * config.make.in (config-cflags-sse2avx): Define.
20322         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20323         Fix typo.
20325 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20327         * scripts/config.guess: Update from upstream config git repository.
20328         * scripts/config.sub: Likewise.
20330 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20332         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20333         (EM_NUM): Update.
20334         (R_TILEPRO_*, R_TILEGX_*): New macros.
20336         * scripts/firstversions.awk: Fix bug in version range handling.
20338         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20340         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20342         * include/sys/epoll.h: New file.
20343         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20344         libc_hidden_def.
20346 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20348         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20349         Avoid unnecessary __WORDSIZE == 64 test.
20350         (fmaxf): Use VEX format if possible.
20351         (fmax): Likewise.
20352         (fminf): Likewise.
20353         (fmin): Likewise.
20355         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20356         * math/math_private.h: Remove libc_fegetround* and
20357         libc_fesetround*.
20358         * sysdeps/i386/configure.in: Check for -msse2avx.
20359         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20360         also if SSE2AVX is defined.
20361         Remove libc_fegetround* and libc_fesetround*.
20362         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20363         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20364         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20365         of HAS_YMM_USABLE.
20366         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20367         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20368         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20369         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20370         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20372         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20374 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20376         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20377         size is not set.
20378         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20380 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20382         [BZ #13618]
20383         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20384         relocation.
20385         * Makeconfig (libm): Define.
20386         * elf/Makefile: Add rules to build and run tst-relsort1.
20387         * elf/tst-relsort1.c: New file.
20388         * elf/tst-relsort1mod1.c: New file.
20389         * elf/tst-relsort1mod2.c: New file.
20391 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20393         * math/s_ldexp.c: Remove __STDC__ conditionals.
20394         * math/s_ldexpf.c: Likewise.
20395         * math/s_ldexpl.c: Likewise.
20396         * math/s_nextafter.c: Likewise.
20397         * math/s_nexttowardf.c: Likewise.
20398         * math/s_significand.c: Likewise.
20399         * math/s_significandf.c: Likewise.
20400         * math/s_significandl.c: Likewise.
20401         * math/w_jnl.c: Likewise.
20402         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20403         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20404         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20405         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20406         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20407         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20408         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20409         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20410         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20411         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20412         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20413         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20414         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20415         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20416         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20417         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20418         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20419         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20420         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20421         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20422         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20423         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20424         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20425         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20426         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20427         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20428         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20429         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20430         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20431         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20432         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20433         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20434         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20435         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20436         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20437         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20438         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20439         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20440         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20441         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20442         * sysdeps/ieee754/k_standard.c: Likewise.
20443         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20444         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20445         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20446         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20447         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20448         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20449         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20450         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20451         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20452         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20453         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20454         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20455         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20456         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20457         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20458         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20459         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20460         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20461         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20462         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20463         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20464         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20465         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20466         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20467         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20468         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20469         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20470         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20471         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20472         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20473         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20474         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20475         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20476         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20477         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20478         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20479         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20480         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20481         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20482         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20483         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20485         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20486         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20487         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20488         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20489         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20490         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20491         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20492         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20493         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20494         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20495         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20496         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20497         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20498         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20499         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20500         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20501         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20502         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20503         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20504         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20505         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20506         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20507         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20508         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20509         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20510         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20511         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20512         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20513         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20514         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20515         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20516         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20517         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20518         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20519         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20520         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20521         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20522         * sysdeps/ieee754/s_matherr.c: Likewise.
20523         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20524         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20525         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20526         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20528 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20530         * crypt/md5.h: Remove __STDC__ conditionals.
20531         * libio/libioP.h: Likewise.
20532         * locale/programs/config.h: Likewise.
20533         * sysdeps/generic/sysdep.h: Likewise.
20534         * sysdeps/i386/asm-syntax.h: Likewise.
20535         * sysdeps/s390/asm-syntax.h: Likewise.
20536         * sysdeps/unix/sysdep.h: Likewise.
20537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20540 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20542         * libio/libio.h: Remove __STDC__ conditionals.
20543         * malloc/obstack.h: Likewise.
20544         * math/complex.h: Likewise.
20545         * math/math.h: Likewise.
20546         * sysdeps/generic/_G_config.h: Likewise.
20547         * sysdeps/gnu/_G_config.h: Likewise.
20548         * sysdeps/mach/hurd/_G_config.h: Likewise.
20549         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20550         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20551         * sysdeps/sparc/bits/mathdef.h: Likewise.
20553 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20555         [BZ #13583]
20556         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20557         Clean up HAS_* macros.
20558         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20559         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20560         possible.
20561         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20562         HAS_AVX.
20563         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20564         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20565         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20566         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20567         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20569 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20571         * elf/tst-unique3.cc (gets): Remove declaration.
20572         * elf/tst-unique3lib.cc (gets): Likewise.
20573         * elf/tst-unique3lib2.cc (gets): Likewise.
20574         * elf/tst-unique4.cc (gets): Likewise.
20576 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20578         * include/stdio.h: Add C++ protection.  Add gets declarations and
20579         definitions.
20580         * debug/tst-chk1.c: Don't declare gets here.
20581         * stdio-common/tst-gets.c: Likewise.
20583 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20585         * posix/glob: Remove directory.
20587 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20589         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20591 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20593         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20594         of the non-standard EPFNOSUPPORT.
20596 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20598         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20599         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20600         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20602 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20604         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20606 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20608         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20609         transient errors.
20610         * nscd/grpcache.c (cache_addgr): Likewise.
20611         * nscd/hstcache.c (cache_addhst): Likewise.
20612         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20613         * nscd/pwdcache.c (cache_addpw): Likewise.
20614         * nscd/servicescache.c (cache_addserv): Likewise.
20616 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20618         * malloc/malloc.c: Various cleanups.
20619         * malloc/hooks.c: Likewise.
20621         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20622         * stdlib/bug-fmtmsg1.c: New file.
20624         * stdlib/fmtmsg.c (init): Add missing unlock.
20625         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20627 2012-01-12  Marek Polacek  <polacek@redhat.com>
20629         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20630         and _GNU_SOURCE.
20632 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20634         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20635         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20636         macro to ensure uniqueness of label name.
20637         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20638         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20640 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20642         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20644         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20645         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20646         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20647         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20649 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20651         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20653         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20654         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20655         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20657         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20659         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20660         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20661         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20664         * math/bits/math-finite.h: Add ldexp support.
20666 2012-01-10  Marek Polacek  <polacek@redhat.com>
20668         * locale/programs/localedef.h (show_archive_content): Add noreturn
20669         attribute.
20671 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20673         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20675 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20677         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20679         * io/Makefile (headers): Add bits/poll2.h.
20681 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20684         typo #include statement.
20686 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20688         * include/sys/cdefs.h: Define __attribute_alloc_size.
20689         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20690         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20691         * elf/pldd.c: Likewise.
20692         * iconv/iconv_charmap.c: Likewise.
20693         * iconv/iconvconfig.c: Likewise.
20694         * iconv/strtab.c: Likewise.
20695         * locale/programs/locale.c: Likewise.
20696         * locale/programs/localedef.h: Likewise.
20697         * locale/programs/simple-hash.c: Likewise.
20698         * nscd/nscd.h: Likewise.
20699         * nss/makedb.c: Likewise.
20700         * sysdeps/generic/ldconfig.h: Likewise.
20701         * locale/programs/localedef.c: Remove xmalloc prototype.
20702         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20704 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20706         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20707         appropriate.
20709 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20711         * math/Makefile (tests): Add tst-CMPLX.
20712         * math/tst-CMPLX.c: New file.
20714         * math/complex.h (CMPLXL): Fix typo.
20716         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20717         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20718         GLIBC_2.16.
20719         * debug/tst-chk1.c: Add poll and ppoll tests.
20720         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20721         * include/sys/poll.h: Add hidden proto for ppoll.
20722         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20723         * sysdeps/mach/hurd/ppoll.c: Likewise.
20724         * io/ppoll.c: Likewise.
20725         * debug/poll_chk.c: New file.
20726         * debug/ppoll_chk.c: New file.
20727         * include/bits/poll2.h: New file.
20728         * io/bits/poll2.h: New file.
20730         [BZ #1350]
20731         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20733         * configure.in: static is always set to yes.  Remove.
20734         * config.make.in: Don't set build-static.
20735         * Makeconfig: Remove use of build-static.
20736         * dlfcn/Makefile: Likewise.
20737         * elf/Makefile: Likewise.
20738         * math/Makefile: Likewise.
20739         * misc/Makefile: Likewise.
20740         * nptl/Makefile: Likewise.
20741         * sysdeps/mach/hurd/Makefile: Likewise.
20743         * configure.in: PWD_P is not used anymore.
20744         * config.make.in: Remove PWD_P entry.
20746         * configure.in: Remove last remnants of RANLIB.
20747         No need to check for signed size_t anymore.
20748         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20749         and IA-64.
20750         Remove __builtin_expect test because we require at least gcc 3.4.
20751         * aclocal.m4: Likewise.
20753         * wcsmbs/mbrtoc16.c: Implement using towc function.
20754         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20755         * wcsmbs/wcsmbsload.c: Likewise.
20756         * iconv/gconv_simple.c: Likewise.
20757         * iconv/gconv_int.h: Likewise.
20758         * iconv/gconv_builtin.h: Likewise.
20759         * iconv/iconv_prog.c: Remove CHAR16 handling.
20761         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20763         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20765         * configure.in: Remove --with-elf and --enable-bounded options.
20766         Dont set base_machine for ia64.  More non-ELF conditions removed.
20767         Remove testing and setting of leading underscore information.
20768         * config.make.in (build-bounded): Set to no.
20769         * config.h.in: Remove NO_UNDERSCORES entry.
20770         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20771         them.
20772         * csu/start.c: Remove !NO_UNDERSCORE code.
20773         * locale/localeinfo.h: Likewise.
20774         * sysdeps/generic/machine-gmon.h: Likewise.
20775         * sysdeps/generic/sysdep.h: Likewise.
20776         * sysdeps/i386/sysdep.h: Likewise.
20777         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20778         * sysdeps/mach/sysdep.h: Likewise.
20779         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20780         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20781         * sysdeps/sh/sysdep.h: Likewise.
20782         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20783         * sysdeps/unix/i386/sysdep.S: Likewise.
20784         * sysdeps/unix/sparc/start.c: Likewise.
20785         * sysdeps/unix/sparc/sysdep.S: Likewise.
20786         * sysdeps/unix/sparc/sysdep.h: Likewise.
20787         * sysdeps/unix/start.c: Likewise.
20788         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20789         * sysdeps/x86_64/sysdep.h: Likewise.
20791 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20793         [BZ #13553]
20794         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20795         for non-gcc.
20796         * argp/argp-fmtstream.h: Use const instead __const.
20797         * argp/argp.h: Likewise.
20798         * assert/assert.h: Likewise.
20799         * bits/fenv.h: Likewise.
20800         * bits/sched.h: Likewise.
20801         * bits/sigset.h: Likewise.
20802         * bits/sigthread.h: Likewise.
20803         * catgets/nl_types.h: Likewise.
20804         * conform/data/pthread.h-data: Likewise.
20805         * crypt/crypt-private.h: Likewise.
20806         * crypt/crypt.h: Likewise.
20807         * crypt/crypt_util.c: Likewise.
20808         * ctype/ctype.h: Likewise.
20809         * debug/execinfo.h: Likewise.
20810         * debug/mbsnrtowcs_chk.c: Likewise.
20811         * debug/mbsrtowcs_chk.c: Likewise.
20812         * debug/wcsnrtombs_chk.c: Likewise.
20813         * debug/wcsrtombs_chk.c: Likewise.
20814         * debug/wcstombs_chk.c: Likewise.
20815         * dirent/dirent.h: Likewise.
20816         * dlfcn/dlfcn.h: Likewise.
20817         * elf/neededtest4.c: Likewise.
20818         * grp/grp.h: Likewise.
20819         * gshadow/gshadow.h: Likewise.
20820         * iconv/gconv.h: Likewise.
20821         * iconv/gconv_int.h: Likewise.
20822         * iconv/gconv_simple.c: Likewise.
20823         * iconv/iconv.h: Likewise.
20824         * iconv/loop.c: Likewise.
20825         * iconv/skeleton.c: Likewise.
20826         * include/aio.h: Likewise.
20827         * include/aliases.h: Likewise.
20828         * include/argz.h: Likewise.
20829         * include/arpa/inet.h: Likewise.
20830         * include/assert.h: Likewise.
20831         * include/dirent.h: Likewise.
20832         * include/dlfcn.h: Likewise.
20833         * include/execinfo.h: Likewise.
20834         * include/fcntl.h: Likewise.
20835         * include/fenv.h: Likewise.
20836         * include/glob.h: Likewise.
20837         * include/grp.h: Likewise.
20838         * include/libintl.h: Likewise.
20839         * include/mntent.h: Likewise.
20840         * include/netdb.h: Likewise.
20841         * include/pwd.h: Likewise.
20842         * include/rpc/netdb.h: Likewise.
20843         * include/sched.h: Likewise.
20844         * include/search.h: Likewise.
20845         * include/shadow.h: Likewise.
20846         * include/signal.h: Likewise.
20847         * include/stdio.h: Likewise.
20848         * include/stdlib.h: Likewise.
20849         * include/string.h: Likewise.
20850         * include/sys/socket.h: Likewise.
20851         * include/sys/stat.h: Likewise.
20852         * include/sys/statfs.h: Likewise.
20853         * include/sys/statvfs.h: Likewise.
20854         * include/sys/syslog.h: Likewise.
20855         * include/sys/time.h: Likewise.
20856         * include/sys/uio.h: Likewise.
20857         * include/time.h: Likewise.
20858         * include/unistd.h: Likewise.
20859         * include/utmp.h: Likewise.
20860         * include/wchar.h: Likewise.
20861         * include/wctype.h: Likewise.
20862         * inet/aliases.h: Likewise.
20863         * inet/arpa/inet.h: Likewise.
20864         * inet/netinet/ether.h: Likewise.
20865         * inet/netinet/in.h: Likewise.
20866         * intl/libintl.h: Likewise.
20867         * io/bits/fcntl2.h: Likewise.
20868         * io/fcntl.h: Likewise.
20869         * io/ftw.h: Likewise.
20870         * io/sys/poll.h: Likewise.
20871         * io/sys/stat.h: Likewise.
20872         * io/sys/statfs.h: Likewise.
20873         * io/sys/statvfs.h: Likewise.
20874         * io/utime.h: Likewise.
20875         * libio/bits/stdio.h: Likewise.
20876         * libio/bits/stdio2.h: Likewise.
20877         * libio/libio.h: Likewise.
20878         * libio/libioP.h: Likewise.
20879         * libio/stdio.h: Likewise.
20880         * locale/lc-ctype.c: Likewise.
20881         * locale/locale.h: Likewise.
20882         * login/utmp.h: Likewise.
20883         * malloc/arena.c: Likewise.
20884         * malloc/malloc.c: Likewise.
20885         * malloc/malloc.h: Likewise.
20886         * malloc/mcheck.c: Likewise.
20887         * malloc/mtrace.c: Likewise.
20888         * math/bits/mathcalls.h: Likewise.
20889         * math/fenv.h: Likewise.
20890         * math/math_private.h: Likewise.
20891         * misc/bits/error.h: Likewise.
20892         * misc/bits/syslog.h: Likewise.
20893         * misc/err.h: Likewise.
20894         * misc/error.h: Likewise.
20895         * misc/fstab.h: Likewise.
20896         * misc/mntent.h: Likewise.
20897         * misc/regexp.h: Likewise.
20898         * misc/search.h: Likewise.
20899         * misc/sgtty.h: Likewise.
20900         * misc/sys/mman.h: Likewise.
20901         * misc/sys/syslog.h: Likewise.
20902         * misc/sys/uio.h: Likewise.
20903         * misc/sys/xattr.h: Likewise.
20904         * misc/ttyent.h: Likewise.
20905         * nis/rpcsvc/ypclnt.h: Likewise.
20906         * nss/nss.h: Likewise.
20907         * posix/bits/unistd.h: Likewise.
20908         * posix/fnmatch.h: Likewise.
20909         * posix/glob.h: Likewise.
20910         * posix/sched.h: Likewise.
20911         * posix/spawn.h: Likewise.
20912         * posix/sys/wait.h: Likewise.
20913         * posix/unistd.h: Likewise.
20914         * posix/wordexp.h: Likewise.
20915         * pwd/pwd.h: Likewise.
20916         * resolv/netdb.h: Likewise.
20917         * resource/sys/resource.h: Likewise.
20918         * rt/aio.h: Likewise.
20919         * rt/bits/mqueue2.h: Likewise.
20920         * rt/mqueue.h: Likewise.
20921         * shadow/shadow.h: Likewise.
20922         * signal/signal.h: Likewise.
20923         * socket/send.c: Likewise.
20924         * socket/sendto.c: Likewise.
20925         * socket/sys/socket.h: Likewise.
20926         * stdio-common/printf.h: Likewise.
20927         * stdlib/bits/stdlib.h: Likewise.
20928         * stdlib/fmtmsg.h: Likewise.
20929         * stdlib/monetary.h: Likewise.
20930         * stdlib/stdlib.h: Likewise.
20931         * stdlib/ucontext.h: Likewise.
20932         * streams/stropts.h: Likewise.
20933         * string/argz.h: Likewise.
20934         * string/bits/string2.h: Likewise.
20935         * string/string.h: Likewise.
20936         * string/strings.h: Likewise.
20937         * sunrpc/rpc/auth.h: Likewise.
20938         * sunrpc/rpc/auth_des.h: Likewise.
20939         * sunrpc/rpc/clnt.h: Likewise.
20940         * sunrpc/rpc/netdb.h: Likewise.
20941         * sunrpc/rpc/pmap_clnt.h: Likewise.
20942         * sunrpc/rpc/xdr.h: Likewise.
20943         * sysdeps/generic/inttypes.h: Likewise.
20944         * sysdeps/generic/net/if.h: Likewise.
20945         * sysdeps/generic/sys/swap.h: Likewise.
20946         * sysdeps/gnu/net/if.h: Likewise.
20947         * sysdeps/gnu/utmpx.h: Likewise.
20948         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20949         * sysdeps/i386/i486/bits/string.h: Likewise.
20950         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20951         * sysdeps/s390/bits/string.h: Likewise.
20952         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20953         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20954         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20955         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20956         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20957         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20958         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20959         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20960         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20961         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20962         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20963         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20964         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20965         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20966         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20967         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20968         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20970         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20971         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20972         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20973         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20974         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20975         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20976         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20977         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20978         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20979         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20980         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20981         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20982         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20983         * sysvipc/sys/ipc.h: Likewise.
20984         * sysvipc/sys/msg.h: Likewise.
20985         * sysvipc/sys/sem.h: Likewise.
20986         * sysvipc/sys/shm.h: Likewise.
20987         * termios/termios.h: Likewise.
20988         * time/sys/time.h: Likewise.
20989         * time/time.h: Likewise.
20990         * wcsmbs/bits/wchar2.h: Likewise.
20991         * wcsmbs/uchar.h: Likewise.
20992         * wcsmbs/wchar.h: Likewise.
20993         * wctype/wctype.h: Likewise.
20995         [BZ #13551]
20996         * Makeconfig: Remove all but ELF support including AIX support.
20997         * Makerules: Likewise.
20998         * config.h.in: Likewise.
20999         * config.make.in: Likewise.
21000         * configure: Likewise.
21001         * configure.in: Likewise.
21002         * csu/Makefile: Likewise.
21003         * csu/version.c: Likewise.
21004         * debug/Makefile: Likewise.
21005         * dlfcn/Makefile: Likewise.
21006         * elf/Makefile: Likewise.
21007         * extra-lib.mk: Likewise.
21008         * iconv/Makefile: Likewise.
21009         * include/libc-symbols.h: Likewise.
21010         * include/shlib-compat.h: Likewise.
21011         * resolv/Makefile: Likewise.
21012         * resolv/res_libc.c: Likewise.
21013         * rt/Makefile: Likewise.
21014         * sysdeps/i386/asm-syntax.h: Likewise.
21015         * sysdeps/i386/sysdep.h: Likewise.
21016         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21017         * sysdeps/mach/sysdep.h: Likewise.
21018         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21019         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21020         * sysdeps/s390/asm-syntax.h: Likewise.
21021         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21022         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21023         * sysdeps/sh/sysdep.h: Likewise.
21024         * sysdeps/unix/sparc/sysdep.h: Likewise.
21025         * sysdeps/wordsize-32/divdi3.c: Likewise.
21026         * sysdeps/x86_64/sysdep.h: Likewise.
21028         * argp/Versions: Remove _argp_unlock_xxx.
21030         [BZ #13559]
21031         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
21032         * abilist/libBrokenLocale.abilist: Likewise.
21033         * abilist/libanl.abilist: Likewise.
21034         * abilist/libc.abilist: Likewise.
21035         * abilist/libcrypt.abilist: Likewise.
21036         * abilist/libdl.abilist: Likewise.
21037         * abilist/libm.abilist: Likewise.
21038         * abilist/libnsl.abilist: Likewise.
21039         * abilist/libpthread.abilist: Likewise.
21040         * abilist/libresolv.abilist: Likewise.
21041         * abilist/librt.abilist: Likewise.
21042         * abilist/libthread_db.abilist: Likewise.
21043         * abilist/libutil.abilist: Likewise.
21044         * abilist/libnss_db.abilist: New file.
21046         * scripts/abilist.awk: Add support for indirect functions.
21048         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21050         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21052         * shlib-versions: Remove entries for ports architectures.
21054         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21055         files in ports.
21056         * elf/stackguard-macros.h: Remove support for IA-64.
21057         * elf/tst-auditmod1.c: Likewise.
21058         * sysdeps/generic/ldsodefs.h: Likewise.
21060         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21061         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21062         configure files.
21064         [BZ #13552]
21065         * configure.in: Remove --enable-omitfp support.
21066         * FAQ.in: Adjust.
21067         * config.make.in: Likewise.
21068         * Makeconfig: Likewise.
21069         * manual/install.texi: Likewise.
21071         In case anyone cares, the IA-64 architecture could move to ports.
21072         * sysdeps/ia64/*: Removed.
21073         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21074         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21076         [BZ #13555]
21077         * configure.in: Remove entries for unsupported architectures.
21079         [BZ #13533]
21080         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21081         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21082         routines.
21083         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21084         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21085         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21086         fall back to using wcrtomb.
21087         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21088         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21089         renaming.
21090         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21091         * wcsmbs/tst-c16c32-1.c: New file.
21093         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21094         local variable.
21096         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21098         * elf/tst-unique3.cc: Add explicit declaration of gets.
21099         * elf/tst-unique3lib.cc: Likewise.
21100         * elf/tst-unique3lib2.cc: Likewise.
21101         * elf/tst-unique4.cc: Likewise.
21103         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21105 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21107         [BZ #13566]
21108         * assert/assert.h (static_assert): Don't define for C++.
21109         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21110         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21112 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21114         * iconv/loop.c (single loop): Fix assertion in storing of
21115         remaining bytes.
21117         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21119 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21121         * posix/getconf.c: Update copyright year.
21122         * nss/getent.c: Likewise.
21123         * nss/makedb.c: Likewise.
21124         * iconv/iconvconfig.c: Likewise.
21125         * iconv/iconv_prog.c: Likewise.
21126         * elf/ldconfig.c: Likewise.
21127         * elf/pldd.c: Likewise.
21128         * elf/sotruss.ksh: Likewise.
21129         * catgets/gencat.c: Likewise.
21130         * csu/version.c: Likewise.
21131         * elf/ldd.bash.in: Likewise.
21132         * elf/sprof.c (print_version): Likewise.
21133         * locale/programs/locale.c: Likewise.
21134         * locale/programs/localedef.c: Likewise.
21135         * login/programs/pt_chown.c: Likewise.
21136         * nscd/nscd.c (print_version): Likewise.
21137         * debug/xtrace.sh: Likewise.
21138         * malloc/memusage.sh: Likewise.
21139         * malloc/mtrace.pl: Likewise.
21140         * debug/catchsegv.sh: Likewise.
21142 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21144         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21145         pure attribute.
21147 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21149         [BZ #13533]
21150         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21151         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21152         transformations.
21153         * iconv/gconv_int.h: Likewise.
21154         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21155         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21156         from libc for GLIBC_2.16.
21157         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21158         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21159         * wcsmbs/uchar.h: Really define mbstate_t.
21160         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21161         * wcsmbs/c16rtomb.c: New file.
21162         * wcsmbs/mbrtoc16.c: New file.
21163         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21164         for C/POSIX locale.
21165         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21166         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21168         * wcsmbs/wchar.h: Add missing __restrict.
21170 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21172         [BZ #13532]
21173         * time/Makefile (routines): Add timespec_get.
21174         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21175         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21176         timespec for ISO C11.
21177         * time/timespec_get.c: New file.
21178         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21179         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21181         [BZ #13531]
21182         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21183         * stdlib/stdlib.h: Declare aligned_alloc.
21184         * Versions.def: Add GLIBC_2.16 for libc.
21185         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21187         [BZ 13527]
21188         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21189         ISO C11.
21191         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21192         code.
21194         [BZ #13528]
21195         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21197         [BZ #13529]
21198         * assert/assert.h (static_assert): Define.
21200         * version.h: Update for 2.16 development version.
21202         [BZ #13526]
21203         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21204         _ISOC11_SOURCE.
21206         * version.h (RELEASE): Bump for 2.15 release.
21207         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21209         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21210         Patch by Marek Polacek <mpolacek@redhat.com>.
21212         * bits/byteswap.h: Protect long long constants with __extension__.
21213         * sysdeps/i386/bits/byteswap.h: Likewise.
21214         * sysdeps/ia64/bits/byteswap.h: Likewise.
21215         * sysdeps/s390/bits/byteswap.h: Likewise.
21216         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21218 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21220         [BZ #13540]
21221         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21222         destination buffer.
21223         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21225 2011-12-23  Marek Polacek  <polacek@redhat.com>
21227         * elf/dl-addr.c (determine_info): Add inline keyword.
21228         * elf/tst-auditmod4b.c (check_avx): Likewise.
21229         * elf/tst-auditmod6b.c (check_avx): Likewise.
21230         * elf/tst-auditmod6c.c (check_avx): Likewise.
21231         * elf/tst-auditmod7b.c (check_avx): Likewise.
21233 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21235         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21236         !__SSE_MATH__.
21238 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21240         [BZ #13540]
21241         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21242         processing for last bytes.
21244 2011-08-06  Bruno Haible  <bruno@clisp.org>
21246         [BZ #13061]
21247         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21248         U+0385, not to U+1FEE.
21250         [BZ #13062]
21251         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21252         entry for U+00A5 U+0301.
21254 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21256         [BZ #13166]
21257         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21258         buffer for the output is too small.
21260         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21261         optimization.
21263         [BZ #13185]
21264         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21265         SSE flags if possible.
21267 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21269         [BZ #13540]
21270         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21271         processing for last bytes.
21273 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21275         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21276         (syscall-list-default-options, syscall-list-default-condition)
21277         (syscall-list-includes): Define.
21278         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21279         list of ABIs and options and #if conditions for each ABI.  Do not
21280         handle common syscalls between ABIs specially.
21281         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21282         Remove.
21283         (syscall-list-variants, syscall-list-32bit-options)
21284         (syscall-list-32bit-condition, syscall-list-64bit-options)
21285         (syscall-list-64bit-condition): Define.
21286         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21287         (syscall-list-variants, syscall-list-32bit-options)
21288         (syscall-list-32bit-condition, syscall-list-64bit-options)
21289         (syscall-list-64bit-condition): Define.
21290         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21291         Remove.
21292         (syscall-list-variants, syscall-list-32bit-options)
21293         (syscall-list-32bit-condition, syscall-list-64bit-options)
21294         (syscall-list-64bit-condition): Define.
21295         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21296         Remove.
21297         (syscall-list-variants, syscall-list-32bit-options)
21298         (syscall-list-32bit-condition, syscall-list-64bit-options)
21299         (syscall-list-64bit-condition): Define.
21301 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21303         * locale/iso-639.def: Add brx entry.
21305         [BZ #13328]
21306         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21307         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21309         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21310         __feraiseexcept_renamed.
21312 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21314         [BZ #13538]
21315         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21316         EPOLLET with unsigned values.
21317         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21318         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21320         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21321         to large cancellation.
21322         * math/s_cacoshf.c: Likewise.
21323         * math/s_cacoshl.c: Likewise.
21325 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21327         [BZ #13305]
21328         [BZ #12786]
21329         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21330         * math/s_cacoshf.c: Likewise.
21331         * math/s_cacoshl.c: Likewise.
21333 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21335         [BZ #13439]
21336         * iconv/gconv.h: Define __GCONV_SWAP.
21337         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21338         * iconvdata/utf-16.c: Likewise.
21339         * iconvdata/utf-32.c: Likewise.
21341 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21343         [BZ #13524]
21344         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21345         numerator after shifting it by one limb.
21347 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21349         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21350         under [__USE_EXTERN_INLINES].
21352 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21354         [BZ #13446]
21355         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21357 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21359         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21360         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21361         optimized code.
21362         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21363         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21364         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21365         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21366         for strncasecmp/strncasecmp_l compilation.
21367         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21368         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21370 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21372         [BZ #13484]
21373         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21374         of __asm__.
21376 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21378         [BZ #13506]
21379         * time/tzfile.c (__tzfile_read): Check values from file header.
21381 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21383         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21384         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21385         * powerpc/powerpc32/dl-start.S: Likewise.
21386         * powerpc/powerpc32/elf/start.S: Likewise.
21387         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21388         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21389         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21390         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21391         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21392         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21393         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21394         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21395         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21396         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21397         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21398         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21399         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21400         * powerpc/powerpc32/memset.S: Likewise.
21401         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21402         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21403         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21404         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21405         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21406         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21407         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21408         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21409         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21410         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21411         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21412         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21413         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21415 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21417         * math/libm-test.inc: Added more nearbyint tests.
21418         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21419         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21420         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21421         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21423 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21425         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21426         FD_CLOEXEC.
21428 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21430         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21431         Add wcscpy-ssse3 wcscpy-c.
21432         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21433         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21434         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21435         * sysdeps/x86_64/wcschr.S: New file.
21436         * sysdeps/x86_64/wcsrchr.S: New file.
21437         * string/test-strcmp.c: Remove checking of wcscmp function for
21438         wrong alignments.
21439         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21440         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21441         wcsrchr-sse2 wcsrchr-c.
21442         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21443         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21444         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21445         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21446         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21447         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21448         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21449         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21450         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21451         * wcsmbc/wcschr.c (WCSCHR): New macro.
21453 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21455         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21456         * wcsmbs/test-wcsrchr.c: New file.
21457         * string/test-strrchr.c: Add wcsrchr support.
21458         (WIDE): New macro.
21459         * wcsmbs/test-wcscpy.c: New file.
21460         * string/test-strcpy.c: Add wcscpy support.
21461         (WIDE): New macro.
21463 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21465         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21466         the inner loop.
21468 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21470         [BZ #13472]
21471         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21473 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21475         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21476         Minor optimizations.
21478         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21479         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21480         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21482 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21484         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21485         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21486         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21487         for gcc to avoid warnings.
21488         * inet/Makefile (tests): Add tst-checks.
21489         * inet/tst-checks.c: New file.
21491         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21492         warning.
21494         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21495         __wmemcmp_sse2.
21497         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21498         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21500         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21502 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21504         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21505         problem.
21507         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21509 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21511         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21512         conditional on GCC version.
21513         (__arch_compare_and_exchange_val_8_acq)
21514         (__arch_compare_and_exchange_val_16_acq)
21515         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21516         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21517         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21519 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21521         * sysdeps/sh/backtrace.c: New file.
21523 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21525         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21526         parenthesis.
21528 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21530         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21531         falling back to utime.
21533 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21535         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21536         expectations for float.
21538 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21540         * locale/weight.h (findidx): Add parameter len.
21541         * locale/weightwc.h (findidx): Likewise.
21542         * posix/fnmatch_loop.c (FCT): Adjust caller.
21543         * posix/regcomp.c (build_equiv_class): Likewise.
21544         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21545         * posix/regexec.c (check_node_accept_bytes): Likewise.
21546         * string/strcoll_l.c (STRCOLL): Likewise.
21547         * string/strxfrm_l.c (STRXFRM): Likewise.
21549 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21551         * Makefile.in: Remove CVSOPT handling.
21552         * configure.in: Remove use of AC_REVISION.
21553         * iconvdata/Makefile (distribute): No need to filter out CVS.
21554         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21555         handling.
21557 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21559         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21560         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21561         [USE_AS_STRNCASECMP_L]: Likewise.
21562         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21563         NO_TLS_DIRECT_SEG_REFS.
21564         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21565         Fix argument offsets for non-PIC.
21566         [USE_AS_STRNCASECMP_L]: Likewise.
21567         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21568         NO_TLS_DIRECT_SEG_REFS.
21570 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21572         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21573         O_CLOEXEC.
21574         * locale/loadlocale.c (_nl_load_locale): Likewise.
21576 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21578         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21579         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21580         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21581         (SYSCALL_GETTIME): Set errno on error.
21583         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21584         count references to noai6ai_cached.
21586 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21588         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21590         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21591         FD_CLOEXEC for /proc/self/maps.
21593         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21594         FD_CLOEXEC for /proc/meminfo.
21596         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21597         gai.conf.
21599         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21600         FD_CLOEXEC for given file.
21602         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21604         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21605         FD_CLOEXEC for /etc/hosts.
21606         (_gethtent): Likewise.
21608         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21610         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21611         cancellation and set FD_CLOEXEC for /etc/netgroup.
21613         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21614         reading /etc/publickey.
21616         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21617         allow cancellation when reading /etc/group.
21619         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21620         cancellation.
21621         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21623         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21624         when using data file.
21626         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21628         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21629         (write_nis_obj): Use "c" and "e" in fopen.
21631         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21633         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21635         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21637         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21639         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21640         locale.alias.
21642         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21644         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21646         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21648         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21649         file parsing and set FD_CLOEXEC.
21651 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21653         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21655 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21657         * malloc/arena.c (arena_get2): Don't call reused_arena when
21658         _int_new_arena failed.
21660 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21662         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21663         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21664         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21665         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21666         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21667         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21668         to compile strcasecmp and strncasecmp.
21669         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21670         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21672         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21674 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21676         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21677         locale-defines.sym to gen-as-const-headers.
21678         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21679         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21681         to compile strcasecmp and strncasecmp.
21682         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21683         strcasecmp_l and strncasecmp_l.
21684         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21685         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21686         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21687         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21688         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21689         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21690         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21691         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21692         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21693         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21694         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21696 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21698         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21699         result of SYSDEP_GETTIME_CPU to retval.
21700         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21701         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21703         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21704         variable.
21706         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21707         mantissa words.
21708         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21710         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21711         from unused variable.
21713         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21714         DWARF definitions.
21715         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21716         for assembling.
21718         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21719         over namespaces.
21721         * sunrpc/rpc_prot.c (rejected): Fix case value.
21723         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21724         unsigned long long int to avoid warnings in shift.
21726         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21727         of use of trans.
21728         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21729         variable tmp.
21731         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21732         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21733         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21735         * nis/nis_table.c (nis_list): Use variable of correct type for
21736         result of __follow_path call.
21738 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21740         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21741         of math functions ceil, trunc, floor, round, and sqrt, when
21742         avaliable on the platform.
21743         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21744         name clash.
21745         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21746         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21747         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21749 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21751         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21752         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21754 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21756         * include/unistd.h: Fix __readlink return type.
21757         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21759 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21761         * stdlib/ucontext.h: Undo last change for makecontext.
21763 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21765         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21767         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21768         * setjmp/setjmp.h: Mark functions as non-leaf.
21769         * setjmp/bits/setjmp2.h: Likewise.
21770         * stdlib/ucontext.h: Likewise.
21772 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21774         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21775         (reused_arena): Don't check arena limit.
21776         (arena_get2): Atomically check arena limit.
21778 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21780         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21781         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21784         instructions.
21786 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21788         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21789         handler when locking.
21791         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21792         Fix size of allocated buffer.
21794 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21796         [BZ #10103]
21797         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21798         declarations for long double functions.
21799         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21801         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21803 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21805         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21806         installed.
21808         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21809         is disabled.
21811 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21813         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21815 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21817         * include/alloca.h (stackinfo_alloca_round): Define.
21818         (extend_alloca): Use it.
21819         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21820         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21821         here.
21823         * scripts/check-local-headers.sh: Ignore libaudit.h.
21825         * nscd/Makefile (extra-objs): Make recursively expanded.
21827 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21829         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21830         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21832         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21833         * posix/tst-rfc3484-2.c: Likewise.
21834         * posix/tst-rfc3484-3.c: Likewise.
21836         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21837         process_vm_writev.
21838         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21839         process_vm_writev.
21840         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21841         process_vm_writev from libc using GLIBC_2.15 version.
21843         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21845 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21847         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21848         stack usage.
21850 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21852         [BZ #13367]
21853         * nss/getent.c (initgroups_keys): Show error message in case no group
21854         names are given.
21856         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21857         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21858         __bump_nl_timestamp.
21859         * nscd/connections (nscd_init): When host database is served open
21860         netlink socket and request notification about configuration changes.
21861         (main_loop_poll): Track netlink file descriptor and bump timestamp
21862         in case data becomes available.
21863         (main_loop_epoll): Likewise.
21864         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21865         (database_pers_head): Add extra_data fileds.
21866         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21867         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21868         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21869         Adjust caller.
21870         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21871         in6ai data, call __free_in6ai.
21872         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21873         Add -DHAVE_NETLINK.
21874         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21875         interface information.  Reuse previous data if netlink timestamp
21876         is not changed.
21877         (__bump_nl_timestamp): New function.
21878         (__free_in6ai): New function.
21880 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21882         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21883         close_not_cancel_no_status here.
21884         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21886 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21888         [BZ #13276]
21889         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21890         return value.
21892         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21893         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21894         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21896 2011-07-03  Andreas Jaeger  <aj@suse.de>
21898         [BZ #10709]
21899         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21900         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21901         * math/libm-test.inc (sin_test): Add test case.
21903 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21905         [BZ #13337]
21906         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21907         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21909         * elf/chroot_canon.c (chroot_canon): Cleanups.
21911         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21913         [BZ #13335]
21914         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21915         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21917         * string/test-strchr.c: Make usable for strchrnul testing.
21918         * string/test-strchrnul.c: New file.
21919         * string/Makefile (strop-tests): Add strchrnul.
21921         * po/it.po: Update from translation team.
21922         * po/es.po: Likewise.
21924 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21926         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21927         the three constants needed as parameters.  Drop the others.
21928         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21929         __m128i_strloadu_tolower.
21930         Create and initialize variable zero and use it in all the places
21931         where _mm_setzero_si128 was used.
21933         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21934         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21935         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21936         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21937         anymore.
21938         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21939         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21940         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21941         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21942         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21943         __mpranred, __mptan.
21944         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21945         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21946         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21947         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21948         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21949         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21950         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21951         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21952         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21954 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21956         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21957         redefine if SHARED.
21958         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21960         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21961         wide char related routines to wcsmbs subdir.
21963 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21965         [BZ #13344]
21966         * misc/sys/cdefs.h (__THROWNL): Define.
21967         * posix/unistd.h: Use __THREADNL instead of __THREAD
21968         for memory synchronization functions.
21970 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21972         [BZ #13349]
21973         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21974         doesn't exist.
21975         * manual/stdio.texi (Obstack Streams): Node removed.
21977 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21979         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21980         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21981         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21983         * math/math_private.h (math_force_eval): Allow non-addressable
21984         arguments.
21985         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21987 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21989         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21990         file is not needed.
21992         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21993         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21994         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21995         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21996         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21997         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21998         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21999         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22000         Add AVX variants.
22001         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22002         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22003         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22004         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22005         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22006         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22007         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22008         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22009         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22010         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22011         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22012         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22013         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22014         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22015         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22016         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22017         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22018         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22019         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22021         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22022         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
22024         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22025         place.  Use VEX encoding when compiling for AVX.
22027 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22029         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22030         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22032         * string/test-strchr.c (do_test): Don't generate NUL bytes.
22034 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22036         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22037         useless if() expression.
22038         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22039         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22040         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22041         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22042         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22043         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22044         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22045         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22046         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22047         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22048         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22049         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22050         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22051         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22052         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22053         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22054         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22055         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22056         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22058         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22060 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22062         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22063         condition.
22064         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22066 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22068         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22069         .text section.  Avoid duplicate constants.
22070         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22071         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22072         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22073         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22074         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22075         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22076         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22078         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22079         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22080         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22081         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22082         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22083         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22084         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22085         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22086         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22087         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22088         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22089         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22090         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22091         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22092         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22093         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22094         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22095         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22096         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22097         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22098         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22099         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22100         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22101         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22102         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22103         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22104         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22105         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22106         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22107         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22108         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22109         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22110         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22111         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22112         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22113         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22114         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22116 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22118         * sysdeps/x86_64/dla.h: Move to ...
22119         * sysdeps/x86_64/fpu/dla.h: ...here.
22120         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22121         situations.  Use __builtin_fma only for gcc 4.6 and up.
22123         * config.make.in: Add have-mfma4 entry.
22124         * configure.in: Substitute libc_cv_cc_fma4.
22125         * math/Makefile (dbl-only-routines): Add sincostab.
22126         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22127         Use __sincostab not sincos.
22128         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22129         name is a macro.
22130         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22131         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22132         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
22134         using __copysign.
22135         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22136         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22137         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22138         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22139         and __inv.
22140         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22141         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22142         __copysign.
22143         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22144         define aliases when function name is a macro.
22145         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22146         sysdeps/ieee754/dbl-64/sincos.tbl.
22147         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22148         fma4-enabled routines.
22149         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22150         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22151         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22152         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22153         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22154         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22155         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22156         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22157         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22158         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22159         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22160         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22161         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22162         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22163         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22164         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22165         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22166         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22167         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22168         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22169         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22170         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22171         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22172         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22173         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22174         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22175         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22176         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22177         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22178         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22180         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22181         rename.
22182         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22183         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22184         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22185         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22186         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22187         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22188         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22189         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22191 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22193         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22195 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22197         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22199         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22200         prediction.
22201         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22203         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22204         Remove unused variable magic_bits.
22205         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22207         * string/strnlen.c: Define and use STRNLEN macro.
22208         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22209         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22210         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22211         * wcsmbs/wcslen.c: Define and use WCSLEN.
22212         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22213         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22214         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22215         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22216         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22217         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22218         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22220 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22223         strnlen-sse2-no-bsf.
22224         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22225         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22226         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22227         Add strnlen support.
22228         (USE_AS_STRNLEN): New macro.
22229         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22230         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22231         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22232         * sysdeps/x86_64/wcslen.S: New file.
22234 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22236         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22237         XMM-moves are used for copying on small sizes.
22239 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22241         * wcsmbs/Makefile (strop-tests): Add wcschr.
22242         * wcsmbs/test-wcschr.c: New file.
22243         * string/test-strchr.c: Update.
22244         Add wcschr support.
22245         (WIDE): New macro.
22247 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22249         * wcsmbs/Makefile (strop-tests): Add wcslen.
22250         * wcsmbs/test-wcslen.c: New file.
22251         * string/test-strlen.c: Update.
22252         Add wcslen support.
22253         (WIDE): New macro.
22255 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22257         * po/it.po: Update from translation team.
22259 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22261         * sysdeps/x86_64/wcscmp.S: Update.
22262         Fix wrong comparison semantics.
22263         wcscmp shall use signed comparison not unsigned.
22264         Don't use substraction to avoid overflow bug.
22265         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22266         * wcsmbc/wcscmp.c: Likewise.
22267         * string/test-strcmp.c: Likewise.
22268         Add new tests to check cases with negative values.
22270 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22272         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22273         * sysdeps/x86_64/dla.h: ...here.  New file.
22274         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22275         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22276         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22277         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22278         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22279         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22281         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22282         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22284 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22286         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22287         __ynl_finite aliases.
22289 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22293         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22294         define DLA_FMA.
22295         [DLA_FMA] (EMULV): Use DLA_FMA.
22296         [DLA_FMA] (MUL12): Use EMULV.
22297         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22298         that are not needed.
22299         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22300         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22301         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22302         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22305         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22307 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22309         * math/s_nan.c: Undef __nan.
22310         * math/s_nanf.c: Undef __nanf.
22311         * math/s_nanl.c: Undef __nanl.
22312         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22313         "math_private.h".
22315 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22317         * math/s_catan.c: Add branch predictions.
22318         * math/s_catanf.c: Likewise.
22319         * math/s_catanh.c: Likewise.
22320         * math/s_catanhf.c: Likewise.
22321         * math/s_catanhl.c: Likewise.
22322         * math/s_catanl.c: Likewise.
22323         * math/s_cexp.c: Likewise.
22324         * math/s_cexpf.c: Likewise.
22325         * math/s_cexpl.c: Likewise.
22326         * math/s_clog.c: Likewise.
22327         * math/s_clog10.c: Likewise.
22328         * math/s_clog10f.c: Likewise.
22329         * math/s_clog10l.c: Likewise.
22330         * math/s_clogf.c: Likewise.
22331         * math/s_clogl.c: Likewise.
22332         * math/s_csqrt.c: Likewise.
22333         * math/s_csqrtf.c: Likewise.
22334         * math/s_csqrtl.c: Likewise.
22335         * math/s_ctanf.c: Likewise.
22336         * math/s_ctanh.c: Likewise.
22337         * math/s_ctanhf.c: Likewise.
22338         * math/s_ctanhl.c: Likewise.
22339         * math/s_ctanl.c: Likewise.
22341         * math/math_private.h: Define __nan, __nanf, __nanl.
22342         * math/s_cacosh.c: Include <math_private.h>.
22343         * math/s_cacoshl.c: Likewise.
22344         * math/s_casinh.c: Likewise.
22345         * math/s_casinhf.c: Likewise.
22346         * math/s_casinhl.c: Likewise.
22347         * math/s_ccos.c: Rely entire on ccosh.
22348         * math/s_ccosf.c: Rely entire on ccoshf.
22349         * math/s_ccosl.c: Rely entirely on ccoshl.
22350         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22351         Remove tests for FE_INVALID.
22352         * math/s_ccoshf.c: Likewise.
22353         * math/s_ccoshl.c: Likewise.
22354         * math/s_csin.c: Likewise.
22355         * math/s_csinf.c: Likewise.
22356         * math/s_csinh.c Likewise.
22357         * math/s_csinhf.c: Likewise.
22358         * math/s_csinhl.c: Likewise.
22359         * math/s_csinl.c: Likewise.
22360         * math/s_ctan.c: Likewise.
22361         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22362         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22363         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22365 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22368         compilation problems.
22370         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22371         __builtin_expect.
22373 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22375         * sysdeps/i386/configure.in: Test for -mfma4 option.
22376         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22377         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22378         COMMON_CPUID_INDEX_80000001.
22379         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22380         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22381         use it if FMA3 is not supported.
22382         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22384         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22385         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22387 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22389         [BZ #12892]
22390         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22391         it would create a cycle with a link time dependency.
22393 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22395         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22396         instruction.
22397         * string/Makefile (strop-tests): Add rawmemchr.
22398         * string/test-rawmemchr.c: New file.
22400         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22401         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22402         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22403         when compiling str{,n}casecmp and when AVX is available.  Hook up
22404         new optimized code in initializers.
22406 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22408         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22409         __feraiseexcept instead of feraiseexcept.
22411 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22413         * math/math_private.h: Define defaults for libc_fetestexcept and
22414         libc_feupdateenv.
22415         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22416         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22417         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22418         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22419         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22420         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22421         libc_fetestexcept and libc_feupdateenv.
22423         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22424         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22425         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22426         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22427         libc_feholdexcept_setround.
22429         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22430         Add s_nearbyint-c and s_nearbyintf-c.
22431         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22432         nearbyintf inlines.
22433         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22434         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22435         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22436         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22438         * math/math_private.h: Define defaults for libc_fegetround,
22439         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22440         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22441         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22442         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22443         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22444         standard functions.
22445         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22446         Remove comments and hacks for old compiler versions.
22447         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22448         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22449         libc_feholdexceptl.
22451 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22453         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22454         (__feraiseexcept_renamed): Add __NTH.
22455         (feraiseexcept): Add __NTH.  Rename local variables to fix
22456         namespace violations.
22458 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22460         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22462         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22464         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22465         recently added interfaces.
22466         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22468         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22469         about macro parameter expansion.
22471         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22472         __NO_MATH_INLINES is defined.  Cleanups.
22474         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22475         and __floorf is target has SSE4.1.
22476         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22477         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22478         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22479         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22481         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22482         name.
22483         (floorf): Likewise.
22485         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22487 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22489         * misc/sys/cdefs.h: Fix last change.
22491         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22492         database lookup.
22494 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22496         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22498         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22499         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22500         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22501         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22502         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22503         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22504         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22505         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22506         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22507         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22508         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22509         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22510         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22511         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22512         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22513         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22514         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22515         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22516         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22517         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22518         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22519         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22521         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22522         ceil, ceilf, floor, floorf.
22524         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22525         Perform IRELATIVE relocations last.
22527         * elf/do-rel.h: Add another parameter nrelative, replacing the
22528         local variable with the same name.  Change name of the function
22529         to end in Rel or Rela (uppercase).
22530         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22531         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22532         elf_dynamic_do_##reloc function.
22534 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22536         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22537         is sufficient, at least on modern CPUs.
22539         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22541         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22542         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22544         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22545         __expl_finite.
22546         * math/bits/math-finite.h: Add entries for exp.
22547         * math/e_expl.c: Add __*_finite alias.
22548         * sysdeps/i386/fpu/e_exp.S: Likewise.
22549         * sysdeps/i386/fpu/e_expf.S: Likewise.
22550         * sysdeps/i386/fpu/e_expl.c: Likewise.
22551         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22552         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22553         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22554         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22555         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22556         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22557         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22559         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22560         is sufficient, at least on modern CPUs.
22562         * ctype/ctype-info.c (__ctype_init): Define.
22563         * include/ctype.h (__ctype_init): Declare.
22564         (__ctype_b_loc): The variable is always initialized.
22565         (__ctype_toupper_loc): Likewise.
22566         (__ctype_tolower_loc): Likewise.
22567         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22568         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22570 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22572         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22574         * configure.in: Also look in $cxxmachine/include for C++ system
22575         headers.
22577 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22579         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22580         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22581         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22582         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22583         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22584         (USE_AS_WMEMCMP): New macro.
22585         Fixing indents.
22586         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22587         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22588         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22589         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22590         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22591         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22592         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22593         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22594         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22595         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22596         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22597         (USE_AS_WMEMCMP): New macro.
22598         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22599         * sysdeps/string/test-memcmp.c: Update.
22600         Fix simple_wmemcmp.
22601         Add new tests.
22602         * wcsmbs/wmemcmp.c: Update.
22603         (WMEMCMP): New macro.
22604         Fix overflow bug.
22606 2011-10-12  Andreas Jaeger  <aj@suse.de>
22608         [BZ #13268]
22609         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22611 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22613         * libio/iofwide.c (do_length): Avoid warning.
22615         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22617 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22619         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22621         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22622         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22623         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22624         * sysdeps/i386/i686/fpu/e_log.S: New file.
22625         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22626         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22628         * ctype/ctype.h: Add support for inlined isXXX functions when
22629         compiling C++ code.
22631 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22633         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22635         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22637 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22639         [BZ #13291]
22640         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22642 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22644         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22645         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22646         feraiseexcept.
22648         * sysdeps/x86_64/memrchr.S: Check for zero size.
22650         * string/stratcliff.c: Add memrchr tests.
22652 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22654         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22655         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22656         rawmemchr-sse2 rawmemchr-sse2-bsf.
22657         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22658         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22659         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22660         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22661         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22662         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22663         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22664         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22665         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22666         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22667         * string/memrchr.c (MEMRCHR): New macro.
22669 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22671         Add integration with gcc's -ffinite-math-only and optimize wrapper
22672         functions in libm.
22673         * Versions.def: Define GLIBC_2.15 version for libm.
22674         * math/Makefile (headers): Add bits/math-finite.h.
22675         * math/bits/math-finite.h: New file.
22676         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22677         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22678         * math/e_acoshl.c: Add __*_finite alias.
22679         * math/e_acosl.c: Likewise.
22680         * math/e_asinl.c: Likewise.
22681         * math/e_atan2l.c: Likewise.
22682         * math/e_atanhl.c: Likewise.
22683         * math/e_coshl.c: Likewise.
22684         * math/e_exp10.c: Likewise.
22685         * math/e_exp10f.c: Likewise.
22686         * math/e_exp10l.c: Likewise.
22687         * math/e_exp2l.c: Likewise.
22688         * math/e_fmodl.c: Likewise.
22689         * math/e_gammal_r.c: Likewise.
22690         * math/e_hypotl.c: Likewise.
22691         * math/e_j0l.c: Likewise.
22692         * math/e_j1l.c: Likewise.
22693         * math/e_jnl.c: Likewise.
22694         * math/e_lgammal_r.c: Likewise.
22695         * math/e_log10l.c: Likewise.
22696         * math/e_log2l.c: Likewise.
22697         * math/e_logl.c: Likewise.
22698         * math/e_powl.c: Likewise.
22699         * math/e_sinhl.c: Likewise.
22700         * math/e_sqrtl.c: Likewise.
22701         * math/e_scalb.c: Completely rewritten and optimized.
22702         * math/e_scalbf.c: Likewise.
22703         * math/e_scalbl.c: Likewise.
22704         * math/w_acos.c: Likewise.
22705         * math/w_acosf.c: Likewise.
22706         * math/w_acosl.c: Likewise.
22707         * math/w_acosh.c: Likewise.
22708         * math/w_acoshf.c: Likewise.
22709         * math/w_acoshl.c: Likewise.
22710         * math/w_asin.c: Likewise.
22711         * math/w_asinf.c: Likewise.
22712         * math/w_asinl.c: Likewise.
22713         * math/w_atan2.c: Likewise.
22714         * math/w_atan2f.c: Likewise.
22715         * math/w_atan2l.c: Likewise.
22716         * math/w_atanh.c: Likewise.
22717         * math/w_atanhf.c: Likewise.
22718         * math/w_atanhl.c: Likewise.
22719         * math/w_exp10.c: Likewise.
22720         * math/w_exp10f.c: Likewise.
22721         * math/w_exp10l.c: Likewise.
22722         * math/w_fmod.c: Likewise.
22723         * math/w_fmodf.c: Likewise.
22724         * math/w_fmodl.c: Likewise.
22725         * math/w_j0.c: Likewise.
22726         * math/w_j0f.c: Likewise.
22727         * math/w_j0l.c: Likewise.
22728         * math/w_j1.c: Likewise.
22729         * math/w_j1f.c: Likewise.
22730         * math/w_j1l.c: Likewise.
22731         * math/w_jn.c: Likewise.
22732         * math/w_jnf.c: Likewise.
22733         * math/w_log.c: Likewise.
22734         * math/w_logf.c: Likewise.
22735         * math/w_logl.c: Likewise.
22736         * math/w_log10.c: Likewise.
22737         * math/w_log10f.c: Likewise.
22738         * math/w_log10l.c: Likewise.
22739         * math/w_log2.c: Likewise.
22740         * math/w_log2f.c: Likewise.
22741         * math/w_log2l.c: Likewise.
22742         * math/w_pow.c: Likewise.
22743         * math/w_powf.c: Likewise.
22744         * math/w_powl.c: Likewise.
22745         * math/w_remainder.c: Likewise.
22746         * math/w_remainderf.c: Likewise.
22747         * math/w_remainderl.c: Likewise.
22748         * math/w_scalb.c: Likewise.
22749         * math/w_scalbf.c: Likewise.
22750         * math/w_scalbl.c: Likewise.
22751         * math/w_sqrt.c: Likewise.
22752         * math/w_sqrtf.c: Likewise.
22753         * math/w_sqrtl.c: Likewise.
22754         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22755         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22756         used.
22757         * math/math_private.h: Declare __kernel_standard_f.
22758         * math/w_cosh.c: Remove cruft and optimize a bit.
22759         * math/w_coshf.c: Likewise.
22760         * math/w_coshl.c: Likewise.
22761         * math/w_exp2.c: Likewise.
22762         * math/w_exp2f.c: Likewise.
22763         * math/w_exp2l.c: Likewise.
22764         * math/w_hypot.c: Likewise.
22765         * math/w_hypotf.c: Likewise.
22766         * math/w_hypotl.c: Likewise.
22767         * math/w_lgamma.c: Likewise.
22768         * math/w_lgamma_r.c: Likewise.
22769         * math/w_lgammaf.c: Likewise.
22770         * math/w_lgammaf_r.c: Likewise.
22771         * math/w_lgammal.c: Likewise.
22772         * math/w_lgammal_r.c: Likewise.
22773         * math/w_sinh.c: Likewise.
22774         * math/w_sinhf.c: Likewise.
22775         * math/w_sinhl.c: Likewise.
22776         * math/w_tgamma.c: Likewise.
22777         * math/w_tgammaf.c: Likewise.
22778         * math/w_tgammal.c: Likewise.
22779         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22780         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22781         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22782         Minor optimizations.  Pretty printing.  Remove cruft.
22783         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22784         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22785         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22786         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22787         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22788         * sysdeps/i386/fpu/e_asin.S: Likewise.
22789         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22790         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22791         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22792         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22793         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22794         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22795         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22796         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22797         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22798         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22799         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22800         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22801         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22802         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22803         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22804         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22805         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22806         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22807         * sysdeps/i386/fpu/e_log.S: Likewise.
22808         * sysdeps/i386/fpu/e_log10.S: Likewise.
22809         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22810         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22811         * sysdeps/i386/fpu/e_log2.S: Likewise.
22812         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22813         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22814         * sysdeps/i386/fpu/e_logf.S: Likewise.
22815         * sysdeps/i386/fpu/e_logl.S: Likewise.
22816         * sysdeps/i386/fpu/e_pow.S: Likewise.
22817         * sysdeps/i386/fpu/e_powf.S: Likewise.
22818         * sysdeps/i386/fpu/e_powl.S: Likewise.
22819         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22820         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22821         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22822         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22823         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22824         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22825         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22826         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22827         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22828         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22829         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22830         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22831         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22832         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22833         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22834         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22835         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22836         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22837         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22838         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22839         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22840         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22841         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22842         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22843         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22844         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22845         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22846         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22847         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22848         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22849         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22850         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22851         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22852         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22853         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22854         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22855         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22856         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22857         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22858         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22859         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22860         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22861         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22862         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22863         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22864         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22865         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22866         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22867         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22868         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22869         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22870         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22871         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22872         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22873         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22874         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22875         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22876         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22877         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22878         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22879         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22880         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22881         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22882         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22883         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22884         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22885         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22886         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22887         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22888         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22889         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22890         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22892         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22893         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22894         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22895         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22896         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22897         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22898         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22899         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22900         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22901         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22902         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22903         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22904         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22905         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22906         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22907         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22908         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22909         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22910         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22911         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22912         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22913         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22914         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22915         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22916         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22917         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22918         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22919         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22920         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22921         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22922         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22923         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22924         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22925         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22926         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22927         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22928         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22929         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22930         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22931         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22932         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22933         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22934         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22935         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22936         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22937         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22938         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22939         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22940         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22941         (__isnanf): Likewise.
22942         (__isinf_ns): Likewise.
22943         (__isinf_nsf): Likewise.
22944         (__finite): Likewise.
22945         (__finitef): Likewise.
22946         (__ieee754_sqrt): Define as macro.
22947         (__ieee754_sqrtf): Define as macro.
22948         (__ieee754_sqrtl): Define as macro.
22949         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22950         inlined copy.
22951         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22952         __FINITE_MATH_ONLY__ consistent.
22953         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22955 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22957         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22958         of rawmemchr.
22960         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22962 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22964         * po/ja.po: Update from translation team.
22966 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22968         * locale/programs/locarchive.c (prepare_address_space): New function.
22969         (create_archive, enlarge_archive, open_archive): Use it.
22971         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22972         inside [SHARED], where it is used.
22974         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22976         * nss/getent.c (netgroup_keys): Remove unused variable.
22977         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22979 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22981         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22982         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22984         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22985         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22986         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22987         * math/Makefile (libm-calls): Add s_isinf_ns.
22988         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22989         * math/multc3.c: Likewise.
22990         * math/s_casin.c: Likewise.
22991         * math/s_casinf.c: Likewise.
22992         * math/s_casinl.c: Likewise.
22993         * math/s_ccos.c: Likewise.
22994         * math/s_ccosf.c: Likewise.
22995         * math/s_ccosl.c: Likewise.
22996         * math/s_ctan.c: Likewise.
22997         * math/s_ctanf.c: Likewise.
22998         * math/s_ctanh.c: Likewise.
22999         * math/s_ctanhf.c: Likewise.
23000         * math/s_ctanhl.c: Likewise.
23001         * math/s_ctanl.c: Likewise.
23002         * math/w_fmod.c: Likewise.
23003         * math/w_fmodf.c: Likewise.
23004         * math/w_fmodl.c: Likewise.
23005         * math/w_remainder.c: Likewise.
23006         * math/w_remainderf.c: Likewise.
23007         * math/w_remainderl.c: Likewise.
23008         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23009         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23010         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23012         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23013         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23014         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23015         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23017         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23018         of the number.
23019         * stdio-common/printf_fphex.c: Likewise.
23020         * stdio-common/printf_size.c: Likewise.
23022         * math/e_exp10.c: Include math_private.h using <...> not "...".
23023         * math/e_exp10f.c: Likewise.
23024         * math/e_exp10l.c: Likewise.
23025         * math/e_exp2l.c: Likewise.
23026         * math/e_j0l.c: Likewise.
23027         * math/e_j1l.c: Likewise.
23028         * math/e_jnl.c: Likewise.
23029         * math/e_lgammal_r.c: Likewise.
23030         * math/e_rem_pio2l.c: Likewise.
23031         * math/e_scalb.c: Likewise.
23032         * math/e_scalbf.c: Likewise.
23033         * math/e_scalbl.c: Likewise.
23034         * math/k_cosl.c: Likewise.
23035         * math/k_sinl.c: Likewise.
23036         * math/k_tanl.c: Likewise.
23037         * math/s_cacoshf.c: Likewise.
23038         * math/s_catan.c: Likewise.
23039         * math/s_catanf.c: Likewise.
23040         * math/s_catanh.c: Likewise.
23041         * math/s_catanhf.c: Likewise.
23042         * math/s_catanhl.c: Likewise.
23043         * math/s_catanl.c: Likewise.
23044         * math/s_ccosh.c: Likewise.
23045         * math/s_ccoshf.c: Likewise.
23046         * math/s_ccoshl.c: Likewise.
23047         * math/s_cexp.c: Likewise.
23048         * math/s_cexpf.c: Likewise.
23049         * math/s_cexpl.c: Likewise.
23050         * math/s_clog.c: Likewise.
23051         * math/s_clog10.c: Likewise.
23052         * math/s_clog10f.c: Likewise.
23053         * math/s_clog10l.c: Likewise.
23054         * math/s_clogf.c: Likewise.
23055         * math/s_clogl.c: Likewise.
23056         * math/s_csin.c: Likewise.
23057         * math/s_csinf.c: Likewise.
23058         * math/s_csinh.c: Likewise.
23059         * math/s_csinhf.c: Likewise.
23060         * math/s_csinhl.c: Likewise.
23061         * math/s_csinl.c: Likewise.
23062         * math/s_csqrt.c: Likewise.
23063         * math/s_csqrtf.c: Likewise.
23064         * math/s_csqrtl.c: Likewise.
23065         * math/s_ctan.c: Likewise.
23066         * math/s_ctanf.c: Likewise.
23067         * math/s_ctanh.c: Likewise.
23068         * math/s_ctanhf.c: Likewise.
23069         * math/s_ctanhl.c: Likewise.
23070         * math/s_ctanl.c: Likewise.
23071         * math/s_ldexp.c: Likewise.
23072         * math/s_ldexpf.c: Likewise.
23073         * math/s_ldexpl.c: Likewise.
23074         * math/s_significand.c: Likewise.
23075         * math/s_significandf.c: Likewise.
23076         * math/s_significandl.c: Likewise.
23077         * math/w_acos.c: Likewise.
23078         * math/w_acosf.c: Likewise.
23079         * math/w_acosh.c: Likewise.
23080         * math/w_acoshf.c: Likewise.
23081         * math/w_acoshl.c: Likewise.
23082         * math/w_acosl.c: Likewise.
23083         * math/w_asin.c: Likewise.
23084         * math/w_asinf.c: Likewise.
23085         * math/w_asinl.c: Likewise.
23086         * math/w_atan2.c: Likewise.
23087         * math/w_atan2f.c: Likewise.
23088         * math/w_atan2l.c: Likewise.
23089         * math/w_atanh.c: Likewise.
23090         * math/w_atanhf.c: Likewise.
23091         * math/w_atanhl.c: Likewise.
23092         * math/w_cosh.c: Likewise.
23093         * math/w_coshf.c: Likewise.
23094         * math/w_coshl.c: Likewise.
23095         * math/w_dremf.c: Likewise.
23096         * math/w_exp10.c: Likewise.
23097         * math/w_exp10f.c: Likewise.
23098         * math/w_exp10l.c: Likewise.
23099         * math/w_exp2.c: Likewise.
23100         * math/w_exp2f.c: Likewise.
23101         * math/w_fmod.c: Likewise.
23102         * math/w_fmodf.c: Likewise.
23103         * math/w_fmodl.c: Likewise.
23104         * math/w_hypot.c: Likewise.
23105         * math/w_hypotf.c: Likewise.
23106         * math/w_hypotl.c: Likewise.
23107         * math/w_j0.c: Likewise.
23108         * math/w_j0f.c: Likewise.
23109         * math/w_j0l.c: Likewise.
23110         * math/w_j1.c: Likewise.
23111         * math/w_j1f.c: Likewise.
23112         * math/w_j1l.c: Likewise.
23113         * math/w_jn.c: Likewise.
23114         * math/w_jnf.c: Likewise.
23115         * math/w_jnl.c: Likewise.
23116         * math/w_lgamma.c: Likewise.
23117         * math/w_lgamma_r.c: Likewise.
23118         * math/w_lgammaf.c: Likewise.
23119         * math/w_lgammaf_r.c: Likewise.
23120         * math/w_lgammal.c: Likewise.
23121         * math/w_lgammal_r.c: Likewise.
23122         * math/w_log.c: Likewise.
23123         * math/w_log10.c: Likewise.
23124         * math/w_log10f.c: Likewise.
23125         * math/w_log10l.c: Likewise.
23126         * math/w_log2.c: Likewise.
23127         * math/w_log2f.c: Likewise.
23128         * math/w_log2l.c: Likewise.
23129         * math/w_logf.c: Likewise.
23130         * math/w_logl.c: Likewise.
23131         * math/w_pow.c: Likewise.
23132         * math/w_powf.c: Likewise.
23133         * math/w_powl.c: Likewise.
23134         * math/w_remainder.c: Likewise.
23135         * math/w_remainderf.c: Likewise.
23136         * math/w_remainderl.c: Likewise.
23137         * math/w_scalb.c: Likewise.
23138         * math/w_scalbf.c: Likewise.
23139         * math/w_scalbl.c: Likewise.
23140         * math/w_sinh.c: Likewise.
23141         * math/w_sinhf.c: Likewise.
23142         * math/w_sinhl.c: Likewise.
23143         * math/w_sqrt.c: Likewise.
23144         * math/w_sqrtf.c: Likewise.
23145         * math/w_sqrtl.c: Likewise.
23146         * math/w_tgamma.c: Likewise.
23147         * math/w_tgammaf.c: Likewise.
23148         * math/w_tgammal.c: Likewise.
23150         * po/ja.po: Update from translation team.
23152 2011-09-29  Andreas Jaeger  <aj@suse.de>
23154         [BZ #13179]
23155         * sunrpc/netname.c (netname2host): Fix logic.
23157         [BZ #6779]
23158         [BZ #6783]
23159         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23160         correctly.
23161         * math/w_remainder.c (__remainder): Likewise.
23162         * math/w_remainderf.c (__remainderf): Likewise.
23163         * math/libm-test.inc (remainder_test): Add test cases.
23165 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23167         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23168         sdiv_qrnnd.
23170 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23172         * string/test-memcmp.c: Avoid unncessary #defines.
23173         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23175 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23177         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23178         Use new sse2 version for core i3 - i7 as it's faster
23179         than sse42 version.
23180         (bit_Prefer_PMINUB_for_stringop): New.
23181         * sysdeps/x86_64/rawmemchr.S: Update.
23182         Replace with faster SSE2 version.
23183         * sysdeps/x86_64/memrchr.S: New file.
23184         * sysdeps/x86_64/memchr.S: Update.
23185         Replace with faster SSE2 version.
23187 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23189         * elf/dl-load.c (lose): Add cast to avoid warning.
23191 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23193         * po/ca.po: Update from translation team.
23195         * inet/getnetgrent_r.c: Hook up nscd.
23196         * nscd/Makefile (routines): Add nscd_netgroup.
23197         (nscd-modules): Add netgroupcache.
23198         (CFLAGS-netgroupcache.c): Define.
23199         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23200         (cache_search): Add const to second parameter.
23201         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23202         INNETGR.
23203         (dbs): Add netgrdb entry.
23204         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23205         (verify_persistent_db): Handle netgrdb.
23206         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23207         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23208         GETFDNETGR.
23209         (netgroup_response_header): Define.
23210         (innetgroup_response_header): Define.
23211         (datahead): Add netgroup_response_header and innetgroup_response_header
23212         elements.
23213         * nscd/nscd.conf: Add entries for netgroup cache.
23214         * nscd/nscd.h (dbtype): Add netgrdb.
23215         (_PATH_NSCD_NETGROUP_DB): Define.
23216         (netgroup_iov_disabled): Declare.
23217         (xmalloc, xcalloc, xrealloc): Move declarations here.
23218         (cache_search): Adjust prototype.
23219         Add netgroup-related prototypes.
23220         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23221         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23222         (__nscd_innetgr): Declare.
23223         * nscd/selinux.c (perms): Use access_vector_t as element type and
23224         add netgroup-related initializers.
23225         * nscd/netgroupcache.c: New file.
23226         * nscd/nscd_netgroup.c: New file.
23227         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23228         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23229         For four parameters use innetgr.
23230         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23231         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23232         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23233         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23235         * nscd/connections.c (register_traced_file): Don't register file
23236         for disabled databases.
23238 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23240         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23242         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23243         from tree and freeing node.
23245 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23247         * nss/nsswitch.c (__nss_database_lookup): Handle
23248         nss_parse_service_list out of memory case.
23250 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23252         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23253         out of memory case.
23255 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23257         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23258         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23259         pass it down.
23260         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23261         elf_machine_rela, elf_machine_lazy_rel.
23262         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23263         (ELF_DYNAMIC_DO_REL): Likewise.
23264         (ELF_DYNAMIC_DO_RELA): Likewise.
23265         (ELF_DYNAMIC_RELOCATE): Likewise.
23266         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23267         to ELF_DYNAMIC_DO_REL.
23268         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23269         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23270         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23271         elf_machine_rela.
23272         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23273         skip_ifunc, don't call ifunc function if non-zero.
23274         (elf_machine_rela): Likewise.
23275         (elf_machine_lazy_rel): Likewise.
23276         (elf_machine_lazy_rela): Likewise.
23277         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23278         (elf_machine_lazy_rel): Likewise.
23279         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23280         Likewise.
23281         (elf_machine_lazy_rel): Likewise.
23282         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23283         Likewise.
23284         (elf_machine_lazy_rel): Likewise.
23285         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23286         (elf_machine_lazy_rel): Likewise.
23287         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23288         (elf_machine_lazy_rel): Likewise.
23289         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23290         (elf_machine_lazy_rel): Likewise.
23291         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23292         (elf_machine_lazy_rel): Likewise.
23293         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23294         (elf_machine_lazy_rel): Likewise.
23295         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23296         (elf_machine_lazy_rel): Likewise.
23298 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23300         * nss/nss_files/files-init.c (_nss_files_init): Use static
23301         initialization for all the *_traced_file variables.
23303 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23305         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23307 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23309         [BZ #13226]
23310         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23312 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23314         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23315         Reread the line before reparsing it.
23317 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23319         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23321 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23322             Maxim Kuvyrkov  <maxim@codesourcery.com>
23323             Joseph Myers  <joseph@codesourcery.com>
23325         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23326         if needed for __stack_chk_guard.
23328 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23330         * sysdeps/posix/spawni.c (script_execute): Always define it.
23331         It will be optimized away if unused.
23332         (maybe_script_execute): New function.
23333         (__spawni): Call it.
23335         * Makerules: Don't include tls.make.
23336         (config-tls): Always set to thread.
23337         * tls.make.c: File removed.
23339 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23341         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23342         * config.make.in (CPPFLAGS-config): New substituted variable.
23344 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23346         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23348         [BZ #13192]
23349         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23350         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23352 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23354         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23355         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23356         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23357         (CALL_FAIL): Likewise.
23358         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23359         (CALL_FAIL): Macro removed.
23360         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23362 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23364         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23365         for __FINITE_MATH_ONLY__ == 1.
23367 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23369         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23370         __ieee754_sqrt instead of sqrt.
23371         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23372         __ieee754_sqrtf instead of sqrtf.
23373         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23374         __floorf instead of floorf.
23375         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23376         __floorf, __truncf instead of floorf, truncf.
23378 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23380         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23382         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23383         __extern_always_inline.
23384         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23385         32-bit.
23387 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23389         * elf/rtld.c (dl_main): Also relocate in dependency order when
23390         doing symbol dependency testing.
23392 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23395         Always define `refsym'.
23397 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23399         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23400         (__FD_ELT): Renamed from __FDELT.
23401         * misc/bits/select2.h (__FD_ELT): Likewise.
23402         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23403         __FD_MASK instead of __FDELT, __FDMASK.
23404         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23405         Likewise.
23406         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23407         Likewise.
23409         * elf/Makefile (gen-ldd): Fix pattern.
23411         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23412         (init_tls): Likewise.
23414 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23416         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23418 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23420         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23421         `struct cmsghdr *' instead of `void *'.
23422         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23423         Likewise.
23425 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23427         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23428         if non-absolute.
23429         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23430         ldd_rewrite_script.
23432 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23434         * configure.in: Remove --with-tls option.
23435         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23436         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23437         out in case it is missing.
23438         * sysdeps/ia64/elf/configure.in: Likewise.
23439         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23440         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23441         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23442         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23443         * sysdeps/sh/elf/configure.in: Likewise.
23444         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23445         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23446         * sysdeps/x86_64/elf/configure.in: Likewise.
23447         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23448         * sysdeps/mach/hurd/tls.h: Likewise.
23450         [BZ #13067]
23451         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23453         [BZ #13090]
23454         * configure.in: Fix use of AC_INIT.
23456         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23458 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23460         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23461         __set_errno.
23462         * malloc/hooks.c: Likewise.
23464         [BZ #11929]
23465         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23466         variables statically.
23467         (narenas): Initialize.
23468         (list_lock): Initialize.
23469         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23470         initializtion of main_arena and list_lock.  Small cleanups.
23471         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23472         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23473         Add initializers to main_arena and mp_.
23474         (malloc_state): Remove pagesize member.  Change all users to use
23475         GLRO(dl_pagesize).
23477         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23478         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23479         is always initialized.
23481         * malloc/malloc.c: Removed unused configurations and dead code.
23482         * malloc/arena.c: Likewise.
23483         * malloc/hooks.c: Likewise.
23484         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23486         * include/tls.h: Removed.  USE___THREAD must always be defined.
23487         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23488         * elf/dl-libc.c: Likewise.
23489         * elf/dl-tsd.c: Likewise.
23490         * include/errno.h: Likewise.
23491         * include/netdb.h: Likewise.
23492         * include/resolv.h: Likewise.
23493         * inet/herrno-loc.c: Likewise.
23494         * inet/herrno.c: Likewise.
23495         * malloc/arena.c: Likewise.
23496         * malloc/hooks.c: Likewise.
23497         * malloc/malloc.c: Likewise.
23498         * resolv/res-state.c: Likewise.
23499         * resolv/res_libc.c: Likewise.
23500         * sysdeps/i386/dl-machine.h: Likewise.
23501         * sysdeps/ia64/dl-machine.h: Likewise.
23502         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23503         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23504         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23505         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23506         * sysdeps/sh/dl-machine.h: Likewise.
23507         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23508         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23509         * sysdeps/unix/i386/sysdep.S: Likewise.
23510         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23511         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23512         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23513         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23514         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23516         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23517         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23518         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23519         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23520         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23521         * sysdeps/x86_64/dl-machine.h: Likewise.
23522         * tls.make.c: Likewise.
23524         * configure.in: Remove --with-__thread option.  Make tests for
23525         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23526         tls_model attribute fail if no support is available.  Remove
23527         USE_IN_LIBIO.
23528         * Makeconfig: Adjust for dropped configure option.  All features are
23529         now mandatory.
23530         * Makerules: Likewise.
23531         * Versions.def: Likewise.
23532         * argp/argp-fmtstream.c: Likewise.
23533         * argp/argp-fmtstream.h: Likewise.
23534         * argp/argp-help.c: Likewise.
23535         * assert/assert.c: Likewise.
23536         * config.h.in: Likewise.
23537         * config.make.in: Likewise.
23538         * configure: Likewise.
23539         * configure.in: Likewise.
23540         * csu/Versions: Likewise.
23541         * csu/init.c: Likewise.
23542         * elf/tst-audit2.c: Likewise.
23543         * elf/tst-tls10.c: Likewise.
23544         * elf/tst-tls10.h: Likewise.
23545         * elf/tst-tls11.c: Likewise.
23546         * elf/tst-tls12.c: Likewise.
23547         * elf/tst-tls14.c: Likewise.
23548         * elf/tst-tlsmod11.c: Likewise.
23549         * elf/tst-tlsmod12.c: Likewise.
23550         * elf/tst-tlsmod13.c: Likewise.
23551         * elf/tst-tlsmod13a.c: Likewise.
23552         * elf/tst-tlsmod14a.c: Likewise.
23553         * elf/tst-tlsmod15b.c: Likewise.
23554         * elf/tst-tlsmod16a.c: Likewise.
23555         * elf/tst-tlsmod16b.c: Likewise.
23556         * elf/tst-tlsmod7.c: Likewise.
23557         * elf/tst-tlsmod8.c: Likewise.
23558         * elf/tst-tlsmod9.c: Likewise.
23559         * gmon/gmon.c: Likewise.
23560         * grp/fgetgrent_r.c: Likewise.
23561         * grp/putgrent.c: Likewise.
23562         * hurd/fopenport.c: Likewise.
23563         * include/libc-symbols.h: Likewise.
23564         * include/tls.h: Likewise.
23565         * intl/gettextP.h: Likewise.
23566         * intl/loadinfo.h: Likewise.
23567         * locale/global-locale.c: Likewise.
23568         * locale/localeinfo.h: Likewise.
23569         * mach/devstream.c: Likewise.
23570         * malloc/arena.c: Likewise.
23571         * malloc/set-freeres.c: Likewise.
23572         * misc/err.c: Likewise.
23573         * misc/getttyent.c: Likewise.
23574         * misc/mntent_r.c: Likewise.
23575         * posix/getopt.c: Likewise.
23576         * posix/wordexp.c: Likewise.
23577         * pwd/fgetpwent_r.c: Likewise.
23578         * resolv/Versions: Likewise.
23579         * resolv/res_hconf.c: Likewise.
23580         * shadow/fgetspent_r.c: Likewise.
23581         * shadow/putspent.c: Likewise.
23582         * stdio-common/printf_fphex.c: Likewise.
23583         * stdio-common/tmpfile.c: Likewise.
23584         * stdlib/abort.c: Likewise.
23585         * stdlib/fmtmsg.c: Likewise.
23586         * sunrpc/auth_unix.c: Likewise.
23587         * sunrpc/clnt_perr.c: Likewise.
23588         * sunrpc/clnt_tcp.c: Likewise.
23589         * sunrpc/clnt_udp.c: Likewise.
23590         * sunrpc/clnt_unix.c: Likewise.
23591         * sunrpc/openchild.c: Likewise.
23592         * sunrpc/svc_simple.c: Likewise.
23593         * sunrpc/svc_tcp.c: Likewise.
23594         * sunrpc/svc_udp.c: Likewise.
23595         * sunrpc/svc_unix.c: Likewise.
23596         * sunrpc/xdr.c: Likewise.
23597         * sunrpc/xdr_array.c: Likewise.
23598         * sunrpc/xdr_rec.c: Likewise.
23599         * sunrpc/xdr_ref.c: Likewise.
23600         * sunrpc/xdr_stdio.c: Likewise.
23602 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23604         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23606 2011-07-03  Andreas Jaeger  <aj@suse.de>
23608         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23609         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23610         regenerate with gen-libm-tests.pl.
23612 2010-05-12  Petr Baudis  <pasky@suse.cz>
23614         [BZ #11589]
23615         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23616         around j0() zero points by switching to j1().
23617         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23618         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23619         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23620         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23622 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23624         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23625         instead of 0.
23626         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23627         instead of 0.
23628         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23629         Patch in part by Pavel Roskin <proski@gnu.org>.
23631         [BZ #13138]
23632         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23633         realloc.
23634         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23635         Free memory block if necessary.
23637         [BZ #12847]
23638         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23639         be NULL.  Don't lock in this case.
23641 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23643         * elf/elf.h (ELFOSABI_GNU): New macro.
23644         (ELFOSABI_LINUX): Define to that.
23646 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23648         * string/strncat.c (strncat): Undef the symbol in case it has been
23649         defined in bits/string.h.
23651 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23653         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23655         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23656         link map.
23658 2011-08-17  Andreas Jaeger  <aj@suse.de>
23660         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23662 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23663             Ian Lance Taylor  <iant@google.com>
23665         * math/libm-test.inc (lround_test): New testcase.
23666         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23668 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23670         * Makefile: Remove support for automatic cvs check-ins.
23671         * Makerules: Likewise.
23672         * config.make.in: Likewise.
23673         * configure.in: Likewise.
23674         * intl/Makefile: Likewise.
23675         * locale/Makefile: Likewise.
23676         * po/Makefile: Likewise.
23677         * posix/Makefile: Likewise.
23678         * sysdeps/gnu/Makefile: Likewise.
23679         * sysdeps/mach/hurd/Makefile: Likewise.
23680         * sysdeps/sparc/sparc32/Makefile: Likewise.
23682         [BZ #13118]
23683         * posix/Makefile (bug-regex32-ENV): Define.
23684         Patch by John Stanley <jpsinthemix@verizon.net>.
23686         * misc/Makefile (headers): Add bits/select2.h.
23687         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23688         * misc/bits/select2.h: New file.
23689         * include/bits/select2.h: New file.
23690         * debug/Makefile (routines): Add fdelt_chk.
23691         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23692         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23693         FD_ISSET.
23694         * debug/fdelt_chk.c: New file.
23696         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23697         * wcsmbs/test-wmemcmp.c: Likewise.
23698         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23699         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23701 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23703         * string/Makefile (strop-tests): Add memcmp.
23704         * string/test-wmemcmp.c: New file.
23705         * string/test-memcmp.c: Add wmemcmp support.
23707 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23709         [BZ #13153]
23710         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23711         2011-07-19 change.
23713         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23714         garbage value in a __mach_port_mod_refs call in the cases of the
23715         task-self and thread-self ports.
23717 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23719         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23721 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23723         * elf/dl-load.c (lose): Check for non-null L.
23725 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23727         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23729         * elf/dl-libc.c (dlerror_run): Pass back error code from
23730         dl_catch_error.
23732         [BZ #13123]
23733         * elf/dl-load.c (lose): Free l_origin if it is valid.
23735         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23736         names.
23737         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23738         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23739         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23740         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23741         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23742         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23744 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23746         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23747         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23748         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23749         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23750         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23751         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23752         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23753         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23754         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23755         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23757 2011-08-15  Alan Modra  <amodra@gmail.com>
23759         [BZ #13092]
23760         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23761         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23762         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23763         ppc_mcount to static-only-routines.
23764         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23765         __mcount_internal.
23766         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23767         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23769 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23771         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23772         for finite and infinity parameters.
23774 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23776         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23777         and add nop instructions for throughput optimization.
23778         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23780 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23782         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23783         aligned copy for power7 with vector-scalar instructions.
23784         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23786 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23788         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23789         AVX check.
23791 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23793         [BZ #13144]
23794         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23795         last change.
23797 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23799         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23800         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23801         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23802         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23803         clock_gettime.
23805 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23807         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23808         Forgot to demangle the pointer.
23810         * sysdeps/i386/sysdep.h: Define atom_text_section.
23811         * sysdeps/x86_64/sysdep.h: Likewise.
23812         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23813         section with atom_text_section.
23814         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23815         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23816         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23817         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23818         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23820         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23821         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23822         already be defined.  Change to take two parameters and don't assign
23823         result to variable.  Adjust all users.
23824         Define INTERNAL_GETTIME if not already defined.
23825         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23826         call.
23827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23828         HAVE_CLOCK_GETTIME_VSYSCALL.
23829         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23831         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23832         gettimeofday vsyscall, just use time.
23834 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23836         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23837         <errno.h>.
23839 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23841         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23842         syscall on x86-64.
23843         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23844         syscall.
23845         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23846         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23847         syscall if possible.
23849 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23851         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23852         e_ident.  Don't pass to find_mapsXX.
23853         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23855 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23858         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23859         * sysdeps/x86_64/multiarch/strchr.S: Update.
23860         Check bit_slow_BSF bit.
23861         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23862         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23863         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23865 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23867         [BZ #13134]
23868         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23869         before glibc 2.15.
23870         (tryshell): Define.
23871         (__spawni): Change last parameter to be flag.  Test
23872         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23873         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23874         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23875         * posix/spawni.c: Likewise.
23876         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23877         * posix/spawnp.c: Likewise.  Change normal version to use
23878         SPAWN_XFLAGS_USE_PATH.
23879         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23880         SPAWN_XFLAGS_TRY_SHELL.
23882         [BZ #13150]
23883         * posix/glob.h: Remove gcc 1.x support.
23885         [BZ #13068]
23886         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23888 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23891         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23892         strrchr-sse2-bsf
23893         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23894         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23895         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23896         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23897         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23898         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23900 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23902         * sysdeps/x86_64/wcscmp.S: New file.
23904         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23905         wcscmp-c wcscmp-sse2
23906         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23907         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23908         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23909         * wcsmbs/wcscmp.c: Allow renaming.
23911 2011-09-05  David S. Miller  <davem@davemloft.net>
23913         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23914         stack slot, rather than the struct return pointer slot.
23915         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23916         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23918         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23920 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23922         * po/ja.po: Update from translation team.
23924         [BZ #13144]
23925         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23926         kernel in 64-bit binaries.
23928 2011-09-01  David S. Miller  <davem@davemloft.net>
23930         * elf/elf.h (HWCAP_SPARC_*): Move to..
23931         * sysdeps/sparc/sysdep.h: this new file and add new values.
23932         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23933         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23934         _DL_HWCAP_COUNT to 24.
23935         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23936         entries.
23937         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23938         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23939         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23940         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23941         instead of magic constants.
23942         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23944 2011-08-31  David S. Miller  <davem@davemloft.net>
23946         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23947         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23948         Reimplement to do errno handling inline.
23949         (SYSCALL_ERROR_HANDLER): New macro.
23950         (__SYSCALL_STRING): Do not do errno handling in asm.
23951         (__CLONE_SYSCALL_STRING): Delete.
23952         (__INTERNAL_SYSCALL_STRING): Delete.
23953         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23954         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23955         (PSEUDO): Reimplement to do errno handling inline.
23956         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23957         (SYSCALL_ERROR_HANDLER): New macro.
23958         (__SYSCALL_STRING): Do not do errno handling in asm.
23959         (__CLONE_SYSCALL_STRING): Delete.
23960         (__INTERNAL_SYSCALL_STRING): Delete.
23961         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23962         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23963         i386.
23964         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23965         (inline_syscall*): Add 'err' argument.
23966         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23967         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23968         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23969         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23971         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23972         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23974 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23976         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23978 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23980         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23981         directive.
23983 2011-08-24  David S. Miller  <davem@davemloft.net>
23985         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23987 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23989         * elf/Makefile: Add rules to build and run unload8 test.
23990         * elf/unload8.c: New file.
23991         * elf/unload8mod1.c: New file.
23992         * elf/unload8mod1x.c: New file.
23993         * elf/unload8mod2.c: New file.
23994         * elf/unload8mod3.c: New file.
23996         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23997         it wasn't used.
23999 2011-08-23  David S. Miller  <davem@davemloft.net>
24001         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24002         subtract stack bias.
24003         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24004         %sp not %fp in calculations.
24005         (_JMPBUF_UNWINDS_ADJ): Likewise.
24007         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24008         (aio_suspend): Call it to force an exception region around the
24009         AIO_MISC_WAIT() invocation.
24011 2011-08-23  Andreas Schwab  <schwab@redhat.com>
24013         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24014         backslash.
24016 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
24018         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24019         protection macro.
24020         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24021         and <dl-machine.h>.
24022         (Elf64_FuncDesc): Remove.
24024 2011-08-22  David S. Miller  <davem@davemloft.net>
24026         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24027         sigaltstack check, add missing cfi directives.
24028         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24029         missing cfi directives, and sigaltstack handling.
24031 2011-08-16  Andreas Schwab  <schwab@redhat.com>
24033         [BZ #11724]
24034         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24035         object is seen twice.
24036         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24038         * elf/Makefile (distribute): Add tst-initorder2.c.
24039         (tests): Add tst-initorder2.
24040         (modules-names): Add tst-initorder2a tst-initorder2b
24041         tst-initorder2c tst-initorder2d.  Add rules to build them.
24042         ($(objpfx)tst-initorder2.out): New rule.
24043         * elf/tst-initorder2.c: New file.
24044         * elf/tst-initorder2.exp: New file.
24046 2011-08-22  Andreas Schwab  <schwab@redhat.com>
24048         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24050         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24051         dependencies back to end of function.
24053         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24054         $(elfobjdir)/ld.so.
24056 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24058         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24059         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24060         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24061         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24062         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24063         of __vdso_gettimeofday.
24064         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24065         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24066         attribute_hidden.
24067         (_libc_vdso_platform_setup): Remove initialization of
24068         __vdso_gettimeofday and __vdso_time.
24070 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24072         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24073         and fgetc_unlocked.
24074         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24075         getc_unlocked.
24077         * elf/dl-open.c (add_to_global): Report additions to the global scope
24078         for LD_DEBUG=scopes.
24079         (dl_open_worker): Also print scope of newly loaded dependencies.
24080         (_dl_show_scope): Indicate if there is no scope.
24082         [BZ #13114]
24083         * stdio-common/Makefile (tests): Add bug24.
24084         * stdio-common/bug24.c: New file.
24086 2011-08-19  Andreas Jaeger  <aj@suse.de>
24088         [BZ #13114]
24089         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24090         non-existant file when using close-on-exec mode.
24092 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24094         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24095         the very first instruction.
24097         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24098         the CFI state in the end.
24099         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24100         inclusion of dl-trampoline.h.
24101         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24103 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24105         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24106         expectations for long double.
24108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24109         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24111 2011-08-14  David S. Miller  <davem@davemloft.net>
24113         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24114         artificual limit depends upon the system page size.
24116 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24118         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24119         * resolv/Makefile: Define CFLAGS-libresolv.
24121 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24123         * nss/makedb.c (compute_tables): Make variables used in nested
24124         function static.
24126 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24128         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24129         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24130         if buffer was too small.
24132         * elf/pldd.c (main): Attach to all threads in the process.
24133         Rewrite /proc handling to use *at functions.
24135 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24137         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24138         specifies first scope to show.
24139         (dl_open_worker): Update callers.  Move printing scope of new
24140         object to before the relocation.
24141         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24142         * sysdeps/generic/ldsodefs.h: Update declaration.
24144         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24145         string for the scope number.
24147 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24149         * nscd/servicescache.c (cache_addserv): Make sure written is always
24150         initialized.
24152 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24154         * sysdeps/i386/i486/bits/atomic.h
24155         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24156         statement expression, so as to suppress "set but not used" warning.
24157         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24159         * string/strncat.c (STRNCAT): Use prototype definition.
24161         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24162         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24163         -Iprograms here.
24164         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24165         (localedef-modules): Add localedef.
24166         (locale-modules): Add locale.
24168         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24169         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24170         to avoid a warning.
24172 2011-08-14  David S. Miller  <davem@davemloft.net>
24174         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24175         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24177 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24179         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24180         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24181         * elf/rtld.c (dl_main): Set l_name of vDSO.
24182         Call _dl_show_scope when DL_DEBUG_SCOPES.
24183         (process_dl_debug): Recognize scopes flag and also set it for all.
24184         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24185         Declare _dl_show_scope.
24187         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24188         (do_dlopen): Pass caller_dlopen to dl_open.
24189         (__libc_dlopen_mode): Initialize caller_dlopen.
24191         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24192         of libc.  Make tolower call locale-independent.  Optimize a bit by
24193         using isdigit instead of isalnum.
24194         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24196 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24198         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24199         was a dependency or dynamically loaded.
24201 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24203         * intl/l10nflist.c: Allow architecture-specific pop function.
24204         * sysdeps/x86_64/l10nflist.c: New file.
24206         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24207         classification.
24209 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24211         * include/dirent.h: Add libc_hidden_proto for scandirat and
24212         scandirat64.  Don't declare __scandirat64.
24213         * dirent/scandirat.c: Add libc_hidden_def.
24214         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24215         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24217 2011-08-10  David S. Miller  <davem@davemloft.net>
24219         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24220         enum.
24221         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24222         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24223         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24225 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24227         * Versions.def [libc]: Add GLIBC_2.15.
24228         * dirent/Makefile (routines): Add scandirat and scandirat64.
24229         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24230         GLIBC_2.15.
24231         * dirent/dirent.h: Declare scandirat and scandirat64.
24232         * dirent/scandirat.c: New file.
24233         * dirent/scandirat64.c: New file.
24234         * sysdeps/wordsize-64/scandirat.c: New file.
24235         * sysdeps/wordsize-64/scandirat64.c: New file.
24236         * dirent/opendir.c: Define opendirat.
24237         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24238         using scandirat.
24239         * dirent/scandir64.c: Adjust for scandir.c change.
24240         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24241         __scandirat64, and __scandir_cancel_handler.
24242         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24243         additional parameter and use openat instead of open (outside of ld.so).
24244         Add new __opendir as wrapper around __opendirat.
24245         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24246         here without requiring old scandirat implementation.
24248 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24250         * dirent/scandir.c (cancel_handler): Renamed to
24251         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24252         defined.  Adjust users.
24253         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24254         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24256 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24258         * string/test-string.h (IMPL): Use __STRING to expand name and then
24259         stringify it.
24261         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24262         of cleanups.
24264 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24266         * string/Makefile: Update.
24267         (strop-tests): Append strncat.
24268         * string/test-wcscmp.c: New file.
24269         New comprehensive test for wcscmp.
24270         * string/test-strcmp.c: Update.
24271         (WIDE): New define.
24273 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24275         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24276         line.
24278 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24280         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24281         encoding to ACE if AI_IDN.
24283 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24285         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24286         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24288 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24290         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24291         Fix overflow bug in strncat.
24292         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24294         * string/test-strncat.c: Update.
24295         Add new tests for checking overflow bugs.
24297 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24299         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24300         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24301         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24302         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24303         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24304         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24305         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24306         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24307         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24309         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24310         (USE_AS_STRCAT): Define.
24311         Add strcat and strncat support.
24312         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24314 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24316         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24317         __n bigger than INT_MAX+1.
24318         (__strncmp_g): Likewise.
24320 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24322         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24323         * libio/stido.h: Likewise.
24325         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24326         (AF_NFC): Define.
24327         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24328         (AF_NFC): Define.
24330         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24331         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24332         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24333         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24334         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24336         [BZ #13021]
24337         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24338         installed.
24340         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24341         typo.
24342         (_dl_x86_64_save_sse): Likewise.
24344 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24346         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24347         OSXSAVE.
24348         (_dl_x86_64_save_sse): Likewise.
24350         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24352         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24354 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24356         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24357         change.
24358         (_dl_x86_64_save_sse): Use correct AVX check.
24360 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24362         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24363         bug in strncpy/strncat.
24364         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24366 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24368         * string/tester.c (test_strcat): Add tests for different alignments
24369         of source and destination.
24370         (test_strncat): Likewise.
24372 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24374         [BZ #12852]
24375         * posix/glob.c (glob): Check passed in values before using them in
24376         expressions to avoid some overflows.
24377         (glob_in_dir): Likewise.
24379         [BZ #13007]
24380         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24381         check for AVX enablement so that we don't crash with old kernels and
24382         new hardware.
24383         * elf/tst-audit4.c: Add same checks here.
24384         * elf/tst-audit6.c: Likewise.
24386         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24388 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24390         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24392 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24394         * po/cs.po: Update from translation team.
24395         * po/bg.po: Likewise.
24397 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24399         * misc/sys/cdefs.h: Add support for const attribute.
24400         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24401         to gnu_dev_{major,minor,makedev} functions.
24403 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24405         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24407 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24409         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24410         strlen results.
24412 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24414         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24415         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24416         register in order to avoid conflicts with the soft frame pointer
24417         being held in r11 when necessary.
24418         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24419         (INTERNAL_VSYSCALL_NCS): Likewise.
24421 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24423         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24424         * elf/dl-fini.c (_dl_fini): Adjust caller.
24425         * elf/dl-close.c (_dl_close_worker): Likewise.
24426         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24428 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24430         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24431         "aux_cache->nlibs < 0".
24433         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24434         in the reload-count case.
24436 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24439         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24440         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24441         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24442         * sysdeps/x86_64/multiarch/strcat.S: New file.
24443         * sysdeps/x86_64/multiarch/strncat.S: New file.
24444         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24445         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24446         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24447         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24448         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24449         (USE_AS_STRCAT): Define.
24450         Add strcat and strncat support.
24451         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24452         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24453         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24454         * string/strncat.c: Update.
24455         (USE_AS_STRNCAT): Define.
24456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24457         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24458         and i7.
24459         * sysdeps/x86_64/multiarch/init-arch.h
24460         (bit_Prefer_PMINUB_for_stringop): New.
24461         (index_Prefer_PMINUB_for_stringop): Likewise.
24462         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24463         bit_Prefer_PMINUB_for_stringop.
24465 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24467         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24468         buffer64.
24469         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24470         of casting of buffer.
24471         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24472         buffer32 and buffer64.
24473         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24474         writes instead of casting of buffer.
24475         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24476         buffer32.
24477         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24478         casting of buffer.
24480 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24482         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24484 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24486         * nscd/nscd.c (termination_handler): Don't do anything for a database
24487         if it has not yet been initialized.
24489 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24491         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24493 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24495         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24497 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24499         * po/nl.po: Update from translation team.
24500         * po/sv.po: Likewise.
24502 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24504         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24505         now disallowed by GCC.
24507         * configure.in (use-default-link): Default to yes if a test -shared
24508         link meets our qualifications.
24509         * configure: Regenerated.
24511         * config.make.in (output-format): New variable.
24512         * configure.in: Check for ld --print-output-format support.
24513         * configure: Regenerated.
24514         * Makerules ($(common-objpfx)format.lds)
24515         [$(output-format) != unknown]: Just use $(output-format),
24516         instead of the linker-script munging.
24518 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24520         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24521         of $(common-objpfx)shlib.lds.
24522         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24524         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24525         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24527         * configure.in (-z relro check): Adjust test code to add a large
24528         writable data section after it.
24529         * configure: Regenerated.
24531 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24533         * configure.in (-z relro check): Fix test code to make the variable
24534         truly const.
24535         * configure: Regenerated.
24537 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24539         * nscd/nscd.h (struct traced_file): Define.
24540         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24541         elements.  Add traced_files.
24542         (inotify_fd): Declare.
24543         (register_traced_file): Declare.
24544         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24545         (inotify_fd): Export.
24546         (resolv_conf_descr): Remove.
24547         (nscd_init): Move inotify descriptor creation to main.
24548         Don't register files for notification here.
24549         (register_traced_file): New function.
24550         (invalidate_cache): Don't use reset_res to determine whether to call
24551         res_init, go through the list of registered files.
24552         (main_loop_poll): The inotify descriptors are now stored in the
24553         structures for the traced files.
24554         (main_loop_epoll): Likewise
24555         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24556         to __nss_disable_nscd.
24557         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24558         for a database anymore.  Check the records for all the registered
24559         files instead.
24560         * nss/Makefile (libnss_files-routines): Add files-init.
24561         (libnss_db-routines): Add db-init.
24562         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24563         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24564         * nss/nss_db/db-init.c: New file.
24565         * nss/nss_files/files-init.c: New file.
24566         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24567         __nss_lookup_function.
24568         (__nss_lookup_function): Call nss_load_library.
24569         (nss_load_all_libraries): New function.
24570         (__nss_disable_nscd): Take parameter with callback function for files
24571         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24572         used for the cached services.
24573         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24574         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24575         options for features to all the files in nscd.
24577         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24579 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24581         * csu/elf-init.c (__libc_csu_init): Comment typo.
24583 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24585         * po/pl.po: Update from translation team.
24586         * po/ja.po: Likewise.
24587         * po/ru.po: Likewise.
24588         * po/ko.po: Likewise.
24589         * po/fr.po: Likewise.
24591 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24593         * configure.in (.ctors/.dtors header and trailer check):
24594         Use an empirical test on a built program.
24595         * configure: Regenerated.
24597         * configure.in (-z relro check): Use an empirical test on a built DSO.
24598         Detect, but do not require, on ia64.
24599         * configure: Regenerated.
24601         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24602         Update tests that use readelf to use $READELF instead.
24603         * configure: Regenerated.
24605 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24607         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24608         if the result is not used.
24610 2011-07-05  Andreas Jaeger  <aj@suse.de>
24612         [BZ#9696]
24613         * stdlib/tst-strtod.c: Add testcase.
24615 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24617         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24618         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24619         The latter has a higher limit.  Take additional parameter to pass to
24620         the new function.
24621         (__pathconf): Pass file to __statfs_link_max.
24622         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24623         __statfs_link_max.
24624         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24625         __statfs_link_max.
24627         [BZ #12868]
24628         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24629         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24630         Handle Lustre.
24631         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24632         (__statfs_filesize_max): Likewise.
24633         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24635 2011-07-05  Andreas Jaeger  <aj@suse.de>
24637         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24639 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24641         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24642         `status' variable.
24643         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24644         Likewise.
24646 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24648         * Makefile (strop-tests): Add strncat.
24649         * string/test-strncat.c: New file.
24651 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24653         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24655 2011-06-21  Andreas Jaeger  <aj@suse.de>
24657         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24658         Copy rule from iconvdata/Makefile.
24660 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24662         [BZ #12922]
24663         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24664         but no long options are defined, just return 'W'.
24666 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24668         [BZ #9696]
24669         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24671 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24673         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24674         netgroups to read.
24675         (innetgr): Likewise.
24677 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24679         * config.make.in (install_root): Default to $(DESTDIR).
24681 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24683         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24685 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24687         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24689         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24690         containing directory rather than embedding absolute directory names.
24692         * scripts/check-local-headers.sh: Rewritten using awk.
24693         Match by word, not by line.  Print error messages for matches.
24694         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24696         * Makerules [shlib-lds-flags empty]:
24697         ($(common-objpfx)libc_pic.opts): New target.
24698         ($(common-objpfx)libc_pic.os.clean): New target.
24699         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24701         * config.make.in (OBJCOPY): New variable.
24702         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24703         * configure: Regenerated.
24705         * config.make.in (use-default-link): New variable.
24706         * configure.in (use_default_link): Grok --with-default-link to set it.
24707         * configure: Regenerated.
24708         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24709         (shlib-lds, shlib-lds-flags): Define to empty.
24711         * Makerules (shlib-lds): New variable.
24712         (shlib-lds-flags): New variable.
24713         (build-shlib, build-moduile, build-module-asneeded): Use it.
24714         ($(common-objpfx)libc.so): Use $(shlib-lds).
24715         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24716         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24718         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24719         DT_FLAGS/DT_FLAGS_1 with zero flags.
24721         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24722         linker script munging.
24724 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24726         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24727         as 128-bit value.
24728         * crypt/sha512.c (sha512_process_block): Perform total addition using
24729         128-bit if possible.
24730         (__sha512_finish_ctx): Likewise.
24731         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24732         as 64-bit value.
24733         * crypt/sha256.c (SWAP64): Define.
24734         (sha256_process_block): Perform total addition using 64-bit if
24735         possible.
24736         (__sha256_finish_ctx): Likewise.
24738 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24740         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24741         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24742         * nscd/hstcache.c (cache_addhst): Likewise.
24743         * nscd/grpcache.c (cache_addgr): Likewise.
24744         * nscd/aicache.c (addhstaiX): Likewise
24745         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24747 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24749         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24750         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24751         * nscd/hstcache.c (cache_addhst): Likewise.
24752         * nscd/grpcache.c (cache_addgr): Likewise.
24753         * nscd/aicache.c (addhstaiX): Likewise
24755 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24757         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24758         domain only when needed.
24760 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24763         is always restored.
24765 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24767         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24768         are re-adding the entry.
24769         * nscd/servicescache.c (cache_addserv): Likewise.
24771 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24773         * sysdeps/generic/dl-irel.h: fix protection against multiple
24774         inclusions.
24775         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24777 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24779         [BZ #12935]
24780         * malloc/memusage.sh: Fix quoting in message.
24781         * debug/xtrace.sh: Likewise.
24783         * configure.in: Remove support for --experimental-malloc option, make
24784         it the default.
24785         * config.make.in: Likewise.
24786         * malloc/Makefile: Likewise.
24788 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24790         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24791         two-byte characters.
24793 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24795         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24796         AC_CACHE_CHECK invocation.
24797         * configure: Regenerated.
24799         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24801 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24803         [BZ #12350]
24804         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24805         bit from old_res_options.
24807         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24809         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24810         value type for setfct.
24812 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24814         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24815         __gettimeofday instead of gettimeofday.
24817 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24819         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24821 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24823         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24825         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24826         info.
24828 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24830         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24831         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24832         strcpy-sse2-unaligned strncpy-sse2-unaligned
24833         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24834         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24835         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24836         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24837         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24838         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24839         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24840         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24841         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24842         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24843         (STRCPY): Support SSE2 and SSSE3 versions.
24845 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24847         [BZ #12874]
24848         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24849         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24850         kernels which artificially limit size of requests.
24852 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24855         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24856         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24857         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24858         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24859         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24860         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24861         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24862         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24863         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24864         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24865         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24866         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24867         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24868         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24870         Enable unaligned load optimization for Intel Core i3, i5 and i7
24871         processors.
24872         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24873         Define.
24874         (index_Fast_Unaligned_Load): Define.
24875         (HAS_FAST_UNALIGNED_LOAD): Define.
24877 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24879         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24881 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24883         [BZ #12907]
24884         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24885         until it is clear that the information is realy needed.
24886         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24888 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24892 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24894         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24895         /sys/devices/system/cpu/online if it is usable.
24897         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24898         reading the information from the /proc filesystem to once a second.
24900 2011-06-21  Andreas Jaeger  <aj@suse.de>
24902         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24903         NULL after inclusion of kernel headers.
24905 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24907         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24908         calls to internal_setent.
24910         [BZ #12885]
24911         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24912         addresses using gethostbyname4_r ignore IPv4 addresses.
24914         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24915         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24917         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24919 2011-06-20  David S. Miller  <davem@davemloft.net>
24921         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24922         inclusions.
24923         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24925         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24926         (elf_irel): Use it.
24927         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24928         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24929         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24930         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24931         * sysdeps/x86_64/dl-irel.h: Likewise.
24933         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24934         * elf/dl-sym.c: Likewise.
24936 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24938         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24939         need to dereference resplen2.
24941 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24943         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24945 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24947         * Makeconfig: Define vardbdir and inst_vardbdir.
24948         * nss/Makefile: Add rules to install db-Makefile.
24950         * nss/nss_db/db-XXX.c: Cleanup.
24952         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24953         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24954         GLIBC_PRIVATE.
24955         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24956         * nss/makedb.c: Implement -g option to specify that value strings
24957         are generated and should not be added to table iterated over for
24958         get*ent calls.
24959         * nss/nss_db/db-initgroups.c: New file.
24961         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24962         interface.
24964         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24965         (internal_getgrouplist): Adjust to name change.
24966         Update use_initgroups_entry if this is not the first call.
24967         * nss/databases.def: Add initgroups entry.
24969         * nss/makedb.c (compute_tables): Check result of multiple hash table
24970         sizes to minimize maximum chain length.
24972 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24974         * Versions.def: Add entry for libnss_db.
24975         * shlib-versions: Likewise.
24976         * nss/Makefile: Add rules to build libnss_db.
24977         * nss/Versions: Add libnss_db information.  Organize libnss_files
24978         entries better.
24979         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24980         makedb progra.  Some minor improvements to generate smaller files.
24981         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24982         here from...
24983         * nss/makedb.c: ...here.
24984         Improve database format to be smaller and require less memory at
24985         runtime.
24986         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24987         db anymore.
24988         * nss/nss_db/db-netgrp.c: Likewise.
24989         * nss/nss_db/db-open.c: Likewise.
24990         * nss/nss_files/flies-XXX.x: Adjust comments.
24991         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24992         * nss/nss_files/files-grp.c: Likewise.
24993         * nss/nss_files/files-hosts.c: Likewise.
24994         * nss/nss_files/files-network.c: Likewise.
24995         * nss/nss_files/files-proto.c: Likewise.
24996         * nss/nss_files/files-pwd.c: Likewise.
24997         * nss/nss_files/files-rpc.c: Likewise.
24998         * nss/nss_files/files-service.c: Likewise.
24999         * nss/nss_files/files-sgrp.c: Likewise.
25000         * nss/nss_files/files-spwd.c: Likewise.
25001         * nss/nss_db/db-alias.c: Removed.
25002         * nss/nss_db/dummy-db.h: Removed.
25004 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
25006         * nss/makedb.c: Rewritten to not use database library.
25007         * nss/Makefile: Update to build new makedb program.
25009 2011-06-14  Andreas Jaeger  <aj@suse.de>
25011         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25012         memset declaration.
25014 2011-06-10  Andreas Schwab  <schwab@redhat.com>
25016         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25017         tmpbuf.
25019 2011-06-10  Roland McGrath  <roland@hack.frob.com>
25021         * Makerules (shlib.lds): Fail if the linker script comes out empty.
25022         * elf/Makefile ($(objpfx)ld.so): Likewise.
25024         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25025         Don't list ld.so twice in dependencies.
25027         * posix/bug-regex31.c: Include <stdlib.h>.
25029         * nscd/hstcache.c (cache_addhst): Remove unused variable.
25031         * nis/nss_compat/compat-spwd.c
25032         (getspent_next_nss_netgr): Remove unused variable.
25033         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25035         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25036         nonmembers" output to use the right array.
25038         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25040         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25042         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25043         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25044         * catgets/gencat.c (read_input_file): Likewise.
25045         * locale/programs/locarchive.c (enlarge_archive): Likewise.
25047         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25048         variable definition inside #if's controlling its use.
25050         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25052         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25054         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25056         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25057         unreachable code.
25059         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25061         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25062         * configure: Regenerated.
25064         * Makerules: Revert last change.
25065         * elf/Makefile: Likewise.
25067 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25069         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25070         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25071         (reloc-link): Likewise.
25073 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25075         * elf/Makefile: Add rules to build pldd.
25076         * elf/pldd.c: New file.
25077         * elf/pldd-xx.c: New file.
25079 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25081         * version.h: Update for 2.15 development version.
25083 2011-06-07  David S. Miller  <davem@davemloft.net>
25085         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25086         ifuncs.
25087         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25088         elf_machine_lazy_rel): Likewise.
25089         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25090         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25091         elf_machine_lazy_rel): Likewise.
25092         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25093         dl_hwcap via passed in argument.
25094         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25095         Likewise.
25097 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25099         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25101 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25103         [BZ #12849]
25104         * manual/fdl-1.1.texi: New file, verbatim from:
25105         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25106         * manual/lgpl-2.1.texi: New file, verbatim from:
25107         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25108         * manual/Makefile (licenses): New variable, list those new file names.
25109         (texis): Use it.
25110         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25112         * manual/fdl.texi: File removed.
25113         * manual/lesser.texi: File removed.
25114         * manual/libc.texinfo (Copying, Documentation License):
25115         Use new @include file names, put @appendix directive before @include.
25117 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25119         [BZ #12841]
25120         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25121         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25122         (mq_open): Add __NTH.
25124 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25126         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25127         Assume Intel Core i3/i5/i7 processor if AVX is available.
25129 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25131         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25132         typo.
25134 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25136         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25137         memory.  Use alloca_account.  Fix memory leak when retrying.
25139 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25141         * version.h (RELEASE): Bump for 2.14 release.
25142         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25144         * config.make.in (RANLIB): Remove entry.
25146 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25148         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25149         (libc.pot): Work around missing support for .ksh extension in xgettext.
25151         [BZ #12684]
25152         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25153         if both request failed.
25154         (send_dg): In case of server errors clear resplen or *resplen2.
25156         [BZ #12454]
25157         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25158         when there are multiple maps.
25159         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25160         (_dl_fini): Remove test here.
25162         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25164 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25166         [BZ #12350]
25167         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25168         bit from old_res_options.
25169         (gaih_inet): Likewise.
25171         [BZ #11099]
25172         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25173         as signed.
25175         * resolv/res_init.c (res_setoptions): Make the code more compact.
25177         [BZ #11558]
25178         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25179         set RES_USEVC.
25181         [BZ #11634]
25182         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25184         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25186         [BZ #11781]
25187         * malloc/malloc.h: Declare malloc hook variables as volatile.
25189         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25190         in last patch.
25192         [BZ #11799]
25193         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25194         raise in the comment.
25195         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25196         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25197         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25199 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25201         [BZ #12811]
25202         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25203         grow the buffers more if it already has to be sufficient.
25204         (build_wcs_upper_buffer): Likewise.
25205         * posix/regexec.c (check_matching): Likewise.
25206         (clean_state_log_if_needed): Likewise.
25207         (extend_buffers): Don't enlarge buffers beyond size of the input
25208         buffer.
25209         Patches mostly by Emil Wojak <emil@wojak.eu>.
25210         * posix/bug-regex32.c: New file.
25211         * posix/Makefile (tests): Add bug-regex32.
25213         * locale/findlocale.c (_nl_find_locale): Return right away if
25214         _nl_explode_name failed.
25215         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25217         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25219         * debug/xtrace.sh: Unify messages.
25220         * malloc/memusage.sh: Likewise.
25222         [BZ #12813]
25223         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25224         time symbol from vDSO.  Substitute with vsyscall if not available.
25225         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25226         __vdso_time.
25228         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25229         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25230         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25231         Add sendmmsg and internal_sendmmsg.
25232         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25233         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25234         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25236         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25237         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25238         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25240 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25242         [BZ #12813]
25243         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25244         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25245         available.
25246         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25247         __vdso_getcpu.
25249         [BZ #12814]
25250         * iconvdata/Makefile (tests): Add bug-iconv9.
25251         * iconvdata/bug-iconv9.c: New file.
25253 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25255         [BZ #12814]
25256         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25258 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25260         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25261         (struct user_regs_struct): Change intcs field back to cs.
25263 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25265         * po/ja.po: Update from translation team.
25267 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25269         [BZ #12795]
25270         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25271         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25273 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25275         * stdlib/longlong.h: Update from GCC.
25277 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25279         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25280         parameter name.
25281         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25282         Add parameter name.
25283         (__sysconf): Pass it down.
25285 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25287         [BZ #12671]
25288         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25289         some situations.
25290         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25291         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25292         add in in __libc_use_alloca calls.  Adjust callers.
25293         (glob): Use malloc in some situations.
25295         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25296         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25297         pltexit.
25299 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25301         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25302         and CLOCK_BOOTTIME_ALARM.
25304         [BZ #12782]
25305         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25306         is returned.
25308         * string/_strerror.c (__strerror_r): Print negative errors as signed
25309         numbers.
25311         [BZ #12777]
25312         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25313         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25314         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25316         * configure.in: Fix typo in redirection and correct removal of test
25317         files in two cases.
25319         [BZ #12788]
25320         * locale/setlocale.c (new_composite_name): Fix test to check for
25321         identical name of all categories.
25323         [BZ #12792]
25324         * libio/filedoalloc.c (local_isatty): New function.
25325         (_IO_file_doallocate): Use local_isatty.
25326         * stdio-common/perror.c (perror): In case a new stream is used
25327         forward the stream error.
25328         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25329         error flag.
25331 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25333         [BZ #11869]
25334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25335         alloca.
25336         * include/alloca.h (extend_alloca_account): Define.
25338         [BZ #11857]
25339         * posix/regex.h: Fix comments with documentation of user-accessible
25340         fields after compilation and describe correct free'ing of pattern
25341         after re_compile_pattern.
25342         Patch by Reuben Thomas <rrt@sc3d.org>.
25344 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25346         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25347         and -mno-altivec to prevent the compiler from using Altivec and/or
25348         VSX instructions when the corresponding registers are not available.
25350 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25352         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25354 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25356         * libio/freopen.c (freopen): Use __dup2, not dup2.
25357         * libio/freopen64.c (freopen64): Likewise.
25359 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25361         [BZ #12775]
25362         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25363         * math/Makefile (tests): Add test-powl.
25364         (CFLAGS-test-powl.c): Define.
25365         * math/test-powl.c: New file.
25367 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25369         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25371 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25373         [BZ #11837]
25374         * iconvdata/gb18030.c: Update to GB18020-2005.
25376 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25378         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25379         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25380         Patch by Aharon Robbins <arnold@skeeve.com>.
25382         [BZ #11892]
25383         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25384         on the stack.
25386         [BZ #11895]
25387         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25388         through underflows.
25390         [BZ #12766]
25391         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25392         point to strings before performing equality test for error_one_per_line
25393         mode.
25395         [BZ #11697]
25396         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25398         [BZ #11820]
25399         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25400         (struct user_fpregs_struct): Avoid __uint*_t types.
25402         [BZ #6420]
25403         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25404         symbol info.  Use it instead of calling _dl_addr locally.
25405         (lock_and_info): New function.
25406         (tr_freehook): Call lock_and_info and pass symbol info as additional
25407         parameter to tr_where.
25408         (tr_mallochook): Likewise.
25409         (tr_reallochook): Likewise.
25410         (tr_memalignhook): Likewise.
25412         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25413         used and couldn't be at all thread-safe.
25415 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25417         * libio/freopen.c (freopen): Don't close old file descriptor
25418         before the new one is opened.  Instead dup the new file descriptor
25419         to the old one after the new stream is created.
25420         * libio/freopen64.c (freopen64): Likewise.
25421         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25422         * libio/fileops.c (_IO_new_file_close_it): Handle new
25423         _IO_FLAGS2_NOCLOSE flag.
25424         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25425         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25426         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25427         _IO_FLAGS2_NOCLOSE flag.
25428         * include/unistd.h: Add hidden_proto for dup3.
25429         Define __have_dup3.
25430         * io/dup3.c: Define hidden symbol.
25431         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25433         [BZ #7101]
25434         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25435         when an incomplete long option is used.
25436         * posix/tst-getopt_long1.c: New file.
25437         * posix/Makefile (tests): Add tst-getopt_long1.
25439         [BZ #10138]
25440         * scripts/config.guess: Update from autoconf-2.68.
25441         * scripts/config.sub: Likewise.
25443         [BZ #10157]
25444         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25445         tests into ...
25446         (has_cpuclock): ...this.  New function.
25447         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25448         macro here based on has_cpuclock code.
25450         [BZ #10149]
25451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25452         First byte (not low byte) is now always NUL.
25453         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25455         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25456         Use non-cancelable interfaces.
25458         [BZ #9809]
25459         * locale/iso-639.def: Add entry for Sorani.
25461         [BZ #11901]
25462         * include/stdlib.h: Move include protection to the right place.
25463         Define abort_msg_s.  Declare __abort_msg with it.
25464         * stdlib/abort.c (__abort_msg): Adjust type.
25465         * assert/assert.c (__assert_fail_base): New function.  Majority
25466         of code from __assert_fail.  Allocate memory for __abort_msg with
25467         mmap.
25468         (__assert_fail): Now call __assert_fail_base.
25469         * assert/assert-perr.c: Remove bulk of implementation.  Use
25470         __assert_fail_base.
25471         * include/assert.hL Declare __assert_fail_base.
25472         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25473         mmap.
25474         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25476 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25478         [BZ #11952]
25479         [BZ #12453]
25480         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25481         until all modules are registered in the DTV.
25482         * elf/Makefile: Add rules to build and run tst-tls19.
25483         * elf/tst-tls19.c: New file.
25484         * elf/tst-tls19mod1.c: New file.
25485         * elf/tst-tls19mod2.c: New file.
25486         * elf/tst-tls19mod3.c: New file.
25487         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25489         [BZ #12083]
25490         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25491         correctly.
25493         [BZ #12601]
25494         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25495         two-byte sequence errors.
25496         * iconvdata/Makefile (tests): Add bug-iconv8.
25497         * iconvdata/bug-iconv8.c: New file.
25499         [BZ #12626]
25500         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25501         buf2 definition.
25503         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25505         [BZ #12432]
25506         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25507         (dummy_getcfa): New function.
25508         (init): Get _Unwind_GetCFA address, use dummy if not found.
25509         (backtrace_helper): In recursion check, also check whether CFA changes.
25510         (__backtrace): Completely initialize arg.
25512         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25513         storing incomplete byte sequence in state object.  Avoid testing for
25514         guaranteed too small input if we know there is enough data available.
25516 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25518         * Makeconfig (+link-pie): Indent.
25519         * Rules (binaries-pie): Define if $(have-fpie) and
25520         $(build-shared).
25521         (binaries-shared): Also filter out $(binaries-pie).
25522         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25523         * nscd/Makefile (others-pie): Add nscd.
25524         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25525         ($(objpfx)nscd): Remove command override.
25526         * login/Makefile (others-pie): Add pt_chown.
25527         ($(objpfx)pt_chown): Remove command override.
25528         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25529         remove command overrides.
25531 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25533         * libio/tst_putwc.c: Fix error messages.
25535         [BZ #12724]
25536         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25537         currently writing and seek to current position when not.
25538         * libio/Makefile (tests): Add bug-fclose1.
25539         * libio/bug-fclose1.c: New file.
25541 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25543         [BZ #12511]
25544         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25545         don't set DF_1_NODELETE here.
25546         (do_lookup_x): When entering new entry test for copy relocation
25547         and if necessary set DF_1_NODELETE flag.
25548         * elf/tst-unique4.cc: New file.
25549         * elf/tst-unique4.h: New file.
25550         * elf/tst-unique4lib.cc: New file.
25551         * elf/Makefile: Add rules to build and run tst-unique4.
25552         Patch by Piotr Bury <pbury@goahead.com>.
25554 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25556         [BZ #12052]
25557         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25559         [BZ #12625]
25560         * misc/mntent_r.c (addmntent): Flush the stream after the output
25562         [BZ #12393]
25563         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25564         (is_trusted_path_normalize): Skip initial colon.  Append slash
25565         to empty buffer.  Duplicate is_trusted_path code but allow
25566         constructed patch to be prefix.
25567         (is_dst): Allow $ORIGIN followed by /.
25568         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25569         Correct testing of result of is_trusted_path_normalize
25570         (decompose_rpath): Fix warning.
25572 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25574         [BZ #11257]
25575         * grp/initgroups.c (internal_getgrouplist): When we found the service
25576         list through the initgroups entry in nsswitch.conf do not always
25577         continue on a successful lookup.  Don't always use the
25578         __nss_group_database value if it is set.
25579         * nss/nsswitch.conf (initgroups): Change action for successful db
25580         lookup to continue for compatibility.
25582 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25584         [BZ #11532]
25585         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25586         and CP774 modules.
25587         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25588         and CP774 modules.
25589         * iconvdata/tst-tables.sh: Likewise.
25590         * iconvdata/cp770.c: New file.
25591         * iconvdata/cp771.c: New file.
25592         * iconvdata/cp772.c: New file.
25593         * iconvdata/cp773.c: New file.
25594         * iconvdata/cp774.c: New file.
25595         * iconvdata/testdata/CP770: New file.
25596         * iconvdata/testdata/CP770..UTF8: New file.
25597         * iconvdata/testdata/CP771: New file.
25598         * iconvdata/testdata/CP771..UTF8: New file.
25599         * iconvdata/testdata/CP772: New file.
25600         * iconvdata/testdata/CP772..UTF8: New file.
25601         * iconvdata/testdata/CP773: New file.
25602         * iconvdata/testdata/CP773..UTF8: New file.
25603         * iconvdata/testdata/CP774: New file.
25604         * iconvdata/testdata/CP774..UTF8: New file.
25606         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25607         END CHARMAP line.
25608         * iconvdata/gen-8bit-gap.sh: Likewise.
25609         * iconvdata/gen-8bit.sh: Likewise.
25611         * locale/iso-639.def: Add ary entry.
25613         [BZ #11258]
25614         * locale/C-translit.h.in: Add U20A1 transliteration.
25616         [BZ #12178]
25617         * locale/iso-639.def: Add wae entry.
25618         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25620         [BZ #12545]
25621         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25622         for n.
25624         [BZ #12711]
25625         * locale/C-translit.h.in: Add entry for U20B9.
25626         Patch by pravin.d.s@gmail.com.
25628 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25630         [BZ #12713]
25631         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25632         ENAMETOOLONG use generic getcwd.
25633         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25634         in rtld.  Use *stat64.
25635         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25636         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25637         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25638         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25639         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25640         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25641         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25642         __fstatat64 macros.
25643         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25644         * dirent/rewinddir.c: Add libc_hidden_def.
25645         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25646         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25648         * include/dirent.h (__alloc_dir): Add flags parameter.
25649         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25650         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25651         __alloc_dir.
25652         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25653         from fdopendir if O_CLOEXEC is already set.
25655 2011-03-15  Alan Modra  <amodra@gmail.com>
25657         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25658         l_tls_firstbyte_offset non-zero.  Save padding offset in
25659         l_tls_firstbyte_offset for later use.
25660         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25661         freeing static tls block.
25663 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25665         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25666         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25667         being defined by the kernel headers.
25669 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25671         [BZ #12734]
25672         * resolv/resolv.h: Define RES_NOTLDQUERY.
25673         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25674         no-tld-query and set RES_NOTLDQUERY.
25675         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25676         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25677         modern BIND to search name as TLD unless forbidden.
25679 2011-05-07  Petr Baudis  <pasky@suse.cz>
25680             Ulrich Drepper  <drepper@gmail.com>
25682         [BZ #12393]
25683         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25684         (is_trusted_path): ...to here.
25685         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25686         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25687         using is_trusted_path_normalize() in setuid scripts.
25689 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25691         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25692         __BEGIN/__END_DECLS.
25694 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25696         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25697         NSS_STATUS_NOTFOUND if no record was found.
25699 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25701         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25702         (headers-not-in-tirpc): Remove rpc/netdb.h
25703         * resolv/netdb.h: Revert last change.
25705 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25707         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25708         circular dependency between libgcc.a and libc.a.
25710 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25712         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25713         * nis/Makefile: Don't install rpcsvc/*.
25714         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25715         instead of <rpc/types.h>.
25716         (MAXHOSTNAMELEN): Define.
25718 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25720         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25722 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25724         [BZ #12714]
25725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25726         gethostbyname4_r when IPv6 results are possible.
25728 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25730         [BZ #12723]
25731         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25732         _PC_PIPE_BUF handling.
25734 2011-04-30  Bruno Haible  <bruno@clisp.org>
25736         [BZ #12717]
25737         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25738         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25739         to 'int'.
25740         * inet/getnameinfo.c (getnameinfo): Likewise.
25742 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25744         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25745         to groups setting in database lookup.
25746         * nss/nsswitch.conf: Add initgroups entry.
25748 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25750         [BZ #12685]
25751         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25752         mode string.
25753         Patch by Eric Blake <eblake@redhat.com>.
25755 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25757         * sunrpc/Makefile (need-export-routines): Add svc_run.
25758         (routines): Remove svc_run.
25759         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25760         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25761         * sunrpc/svc_run.c (svc_run): Likewise.
25762         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25764 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25766         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25767         problem in reallocation in last patch.
25769 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25771         * sunrpc/Makefile: Move inclusion of Rules.
25773 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25775         * nss/nss_files/files-initgroups.c: New file.
25776         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25777         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25778         _nss_files_initgroups_dyn.
25780 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25782         * elf/elf.h (R_ARM_IRELATIVE): Define.
25784 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25786         * po/ru.po: Update from translation team.
25788 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25790         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25791         dependencies.
25793 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25795         [BZ #12653]
25796         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25797         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25798         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25799         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25800         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25802 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25804         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25805         differing bytes.
25806         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25807         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25808         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25810 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25812         [BZ #12420]
25813         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25814         storing it.
25815         * stdlib/bug-getcontext.c: New file.
25816         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25818 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25820         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25821         instructions into .machine "z9-109".
25822         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25823         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25825 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25827         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25828         between environment variables and auxiliary vector.
25830 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25832         * Makefile: Add rules to build linkobj/libc.so.
25833         * include/libc-symbols.h: Define libc_hidden_nolink.
25834         * include/rpc/auth.h: Mark functions which are to be hidden.
25835         * include/rpc/auth_des.h: Likewise.
25836         * include/rpc/auth_unix.h: Likewise.
25837         * include/rpc/clnt.h: Likewise.
25838         * include/rpc/des_crypt.h: Likewise.
25839         * include/rpc/key_prot.h: Likewise.
25840         * include/rpc/pmap_clnt.h: Likewise.
25841         * include/rpc/pmap_prot.h: Likewise.
25842         * include/rpc/pmap_rmt.h: Likewise.
25843         * include/rpc/rpc_msg.h: Likewise.
25844         * include/rpc/svc.h: Likewise.
25845         * include/rpc/svc_auth.h: Likewise.
25846         * include/rpc/xdr.h: Likewise.
25847         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25848         * nss/Makefile: Likewise.
25849         * sunrpc/Makefile: Don't install headers.  Build library with normal
25850         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25851         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25852         for the compat linking library.  Remove use of INTDEF/INTUSE.
25853         * sunrpc/auth_none.c: Likewise.
25854         * sunrpc/auth_unix.c: Likewise.
25855         * sunrpc/authdes_prot.c: Likewise.
25856         * sunrpc/authuxprot.c: Likewise.
25857         * sunrpc/clnt_gen.c: Likewise.
25858         * sunrpc/clnt_perr.c: Likewise.
25859         * sunrpc/clnt_raw.c: Likewise.
25860         * sunrpc/clnt_simp.c: Likewise.
25861         * sunrpc/clnt_tcp.c: Likewise.
25862         * sunrpc/clnt_udp.c: Likewise.
25863         * sunrpc/clnt_unix.c: Likewise.
25864         * sunrpc/des_crypt.c: Likewise.
25865         * sunrpc/des_soft.c: Likewise.
25866         * sunrpc/get_myaddr.c: Likewise.
25867         * sunrpc/key_call.c: Likewise.
25868         * sunrpc/key_prot.c: Likewise.
25869         * sunrpc/netname.c: Likewise.
25870         * sunrpc/pm_getmaps.c: Likewise.
25871         * sunrpc/pm_getport.c: Likewise.
25872         * sunrpc/pmap_clnt.c: Likewise.
25873         * sunrpc/pmap_prot.c: Likewise.
25874         * sunrpc/pmap_prot2.c: Likewise.
25875         * sunrpc/pmap_rmt.c: Likewise.
25876         * sunrpc/publickey.c: Likewise.
25877         * sunrpc/rpc_cmsg.c: Likewise.
25878         * sunrpc/rpc_common.c: Likewise.
25879         * sunrpc/rpc_dtable.c: Likewise.
25880         * sunrpc/rpc_prot.c: Likewise.
25881         * sunrpc/rpc_thread.c: Likewise.
25882         * sunrpc/rtime.c: Likewise.
25883         * sunrpc/svc.c: Likewise.
25884         * sunrpc/svc_auth.c: Likewise.
25885         * sunrpc/svc_authux.c: Likewise.
25886         * sunrpc/svc_raw.c: Likewise.
25887         * sunrpc/svc_run.c: Likewise.
25888         * sunrpc/svc_simple.c: Likewise.
25889         * sunrpc/svc_tcp.c: Likewise.
25890         * sunrpc/svc_udp.c: Likewise.
25891         * sunrpc/svc_unix.c: Likewise.
25892         * sunrpc/svcauth_des.c: Likewise.
25893         * sunrpc/xcrypt.c: Likewise.
25894         * sunrpc/xdr.c: Likewise.
25895         * sunrpc/xdr_array.c: Likewise.
25896         * sunrpc/xdr_float.c: Likewise.
25897         * sunrpc/xdr_intXX_t.c: Likewise.
25898         * sunrpc/xdr_mem.c: Likewise.
25899         * sunrpc/xdr_rec.c: Likewise.
25900         * sunrpc/xdr_ref.c: Likewise.
25901         * sunrpc/xdr_sizeof.c: Likewise.
25902         * sunrpc/xdr_stdio.c: Likewise.
25904 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25906         [BZ #12650]
25907         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25908         * sysdeps/ia64/dl-tls.h: Likewise.
25909         * sysdeps/powerpc/dl-tls.h: Likewise.
25910         * sysdeps/s390/dl-tls.h: Likewise.
25911         * sysdeps/sh/dl-tls.h: Likewise.
25912         * sysdeps/sparc/dl-tls.h: Likewise.
25913         * sysdeps/x86_64/dl-tls.h: Likewise.
25914         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25916 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25918         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25919         rpath element also skip the following colon.
25920         (expand_dynamic_string_token): Add is_path parameter and pass
25921         down to DL_DST_REQUIRED and _dl_dst_substitute.
25922         (decompose_rpath): Call expand_dynamic_string_token with
25923         non-zero is_path.  Ignore empty rpaths.
25924         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25925         with zero is_path.
25927 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25930         Make cancelable.
25932 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25934         [BZ #12655]
25935         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25936         Patch by Filipe David Manana <fdmanana@apache.org>.
25938 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25940         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25941         Maintain aligned stack.
25942         (CHECK_RSP): Remove unused macro.
25944 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25946         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25947         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25949 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25951         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25953         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25955 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25957         [BZ #12518]
25958         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25959         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25960         * sysdeps/x86_64/memmove.c: New file.
25961         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25962         (memcpy): Renamed to ...
25963         (__new_memcpy): This.
25964         (memcpy): Provide GLIBC_2_14 memcpy.
25965         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25966         (memcpy): Provide GLIBC_2_2_5 memcpy.
25968 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25970         [BZ #12631]
25971         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25973 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25975         * misc/syncfs.c: New file.
25976         * misc/Makefile (routines): Add syncfs.
25977         * posix/unistd.h: Declare syncfs.
25978         * sysdeps/unix/syscalls.list: Add syncfs.
25980 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25982         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25983         open_by_handle_at.
25984         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25985         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25986         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25987         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25989         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25990         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25992 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25994         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25995         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25996         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25997         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25998         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26000         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26002         * io/Makefile: Compile fallocate.c, fallocate64.c, and
26003         sync_file_range.c with -fexceptions.
26004         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26005         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26006         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26007         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26008         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26009         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26010         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
26011         sync_file_range as cancellation point
26012         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
26013         now a wrapper around __call_sync_file_range with cancellation handling.
26014         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26015         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
26016         function name to __call_sync_file_range.
26017         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26018         Add call_sync_file_range.
26020 2011-04-01  Andreas Schwab  <schwab@redhat.com>
26022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26023         bits/timex.h.
26025 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
26027         * iconv/iconv.h: Fix typo in comment.
26028         * io/fcntl.h: Likewise.
26029         * libio/stdio.h: Likewise.
26030         * posix/spawn.h: Likewise.
26031         * posix/unistd.h: Likewise.
26032         * stdlib/stdlib.h: Likewise.
26033         * time/time.h: Likewise.
26034         * wcsmbs/wchar.h: Likewise.
26036         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26037         open_by_handle): Add.
26038         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26039         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
26040         Augment a few comments.
26041         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26042         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26043         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26045         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26046         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26047         open_by_handle.
26049         * io/fcntl.h (AT_EMPTY_PATH): Define.
26051 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26053         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26054         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26055         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26056         to...
26057         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26058         * Versions.def: Add GLIBC_2.14.
26059         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26060         Export.
26062 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26064         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26065         round counter.
26066         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26068 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26070         [BZ #12597]
26071         * string/test-strncmp.c (do_page_test): New function.
26072         (check2): Likewise.
26073         (test_main): Call check2.
26074         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26076 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26078         [BZ #12587]
26079         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26080         Handle cache information in CPU leaf 4.
26081         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26083 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26085         [BZ #12583]
26086         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26087         character representation.
26088         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26090 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26092         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26093         END(__isnan) to END(__isnanf) to match function entry point/label
26094         EALIGN(__isnanf,...).
26096 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26098         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26100 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26102         [BZ #12510]
26103         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26104         copy from the symbol referenced in the relocation to initialize the
26105         used variable.
26106         Patch by Piotr Bury <pbury@goahead.com>.
26107         * elf/Makefile: Add rules to build and tst-unique3.
26108         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26109         * elf/tst-unique3.cc: New file.
26110         * elf/tst-unique3.h: New file.
26111         * elf/tst-unique3lib.cc: New file.
26112         * elf/tst-unique3lib2.cc: New file.
26114         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26116 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26118         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26119         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26120         to _start.
26122 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26124         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26125         to-be-loaded object along a path to loader is ld.so.
26127 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26128             Ulrich Drepper  <drepper@gmail.com>
26130         * sysdeps/x86_64/memset.S: After aligning destination, code
26131         branches to different locations depending on the value of
26132         misalignment, when multiarch is enabled. Fix this.
26134 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26136         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26137         Set _x86_64_preferred_memory_instruction for AMD processsors.
26138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26139         Set bit_Prefer_SSE_for_memop for AMD processors.
26141 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26143         * libio/fmemopen.c (fmemopen): Optimize a bit.
26145 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26147         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26149 2011-03-03  Roland McGrath  <roland@redhat.com>
26151         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26153 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26155         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26156         __bzero_ultra1 instead of __memset_ultra1.
26158 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26159             Ulrich Drepper  <drepper@gmail.com>
26161         [BZ #12509]
26162         * include/link.h (struct link_map): Add l_orig_initfini.
26163         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26164         returning unsuccessfully.
26165         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26166         close of a file loaded at startup, restore the original l_initfini
26167         list.
26168         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26169         list, store the pointer.
26170         * elf/Makefile ($(objpfx)noload-mem): New rule.
26171         (noload-ENV): Define.
26172         (tests): Add $(objpfx)noload-mem.
26173         * elf/noload.c: Include <memcheck.h>.
26174         (main): Call mtrace.  Close all opened handles.
26176 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26178         [BZ #12454]
26179         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26180         dependencies are missing.
26182 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26184         Fix __if_freereq crash: Unlike the generic version which uses free,
26185         Hurd needs munmap.
26186         * sysdeps/mach/hurd/ifreq.h: New file.
26188 2011-01-27  Petr Baudis  <pasky@suse.cz>
26189             Ulrich Drepper  <drepper@gmail.com>
26191         [BZ 12445]#
26192         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26193         to extend_alloca().
26194         * stdio-common/bug23.c: New file.
26195         * stdio-common/Makefile (tests): Add bug23.
26197 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26198             Ulrich Drepper  <drepper@gmail.com>
26200         [BZ #12489]
26201         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26202         before performing relro protection.  At old place add assertion
26203         to make sure nothing changed.
26205 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26206             Glauber de Oliveira Costa  <glommer@gmail.com>
26208         * elf/elf.h: Add new ARM TLS relocs.
26210 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26213         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26214         cast from r3.
26215         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26216         'tests' variable.
26217         * sysdeps/wordsize-64/tst-writev.c: New file.
26219 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26221         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26222         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26223         insns in _dl_start to prevent a TOC reference before relocs are
26224         resolved.
26226 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26228         [BZ #12469]
26229         * Makeconfig: Remove RANLIB definition.
26230         * Makerules: Don't use RANLIB.
26231         * aclocal.m4: Remove ranlib test.
26232         * configure.in: No need to check for ranlib.
26233         * elf/rtld-Rules: Don't use RANLIB.
26235 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26237         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26238         protection macro.
26239         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26240         inclusion protection macro.
26242         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26243         SIGRTMIN and SIGRTMAX and print information in that case only when
26244         SIGRTMIN is defined.
26246 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26248         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26249         arginfo fn returning -1.
26251         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26252         and thousands string is zero terminated.
26254 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26256         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26257         sysdeps/unix/sysv/linux/bits/socket.h.
26259 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26261         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26262         (__CPU_COUNT): Remove old macros.
26263         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26264         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26265         (__CPU_ALLOC, __CPU_FREE): Add macros.
26266         (__sched_cpualloc, __sched_cpufree): Add declarations.
26268 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26270         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26271         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26272         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26273         (readdhstai): Return value of addhstaiX call.
26274         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26275         (addgrbyX): Return value returned by cache_addgr.
26276         (readdgrbyname): Return value returned by addgrbyX.
26277         (readdgrbygid): Likewise.
26278         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26279         (addpwbyX): Return value returned by cache_addpw.
26280         (readdpwbyname): Return value returned by addhstbyX.
26281         (readdpwbyuid): Likewise.
26282         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26283         (addservbyX): Return value returned by cache_addserv.
26284         (readdservbyname): Return value returned by addservbyX:
26285         (readdservbyport): Likewise.
26286         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26287         (addhstbyX): Return value returned by cache_addhst.
26288         (readdhstbyname): Return value returned by addhstbyX.
26289         (readdhstbyaddr): Likewise.
26290         (readdhstbynamev6): Likewise.
26291         (readdhstbyaddrv6): Likewise.
26292         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26293         (readdinitgroups): Return value returned by addinitgroupsX.
26294         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26295         (prune_cache): Keep track of timeout value of re-added entries.
26296         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26297         * nscd/nscd.h: Adjust prototypes of readd* functions.
26299 2011-02-04  Roland McGrath  <roland@redhat.com>
26301         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26302         (nis_stats): Likewise.
26303         * nis/nis_modify.c (nis_modify): Likewise.
26304         * nis/nis_remove.c (nis_remove): Likewise.
26305         * nis/nis_add.c (nis_add): Likewise.
26307         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26309         * posix/fnmatch_loop.c: Add some consts.
26311         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26313 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26315         [BZ #12460]
26316         * config.make.in (config-cflags-novzeroupper): Define.
26317         * configure.in: Substitute libc_cv_cc_novzeroupper.
26318         * elf/Makefile (AVX-CFLAGS): Define.
26319         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26320         (CFLAGS-tst-auditmod4a.c): Likewise.
26321         (CFLAGS-tst-auditmod4b.c): Likewise.
26322         (CFLAGS-tst-auditmod6b.c): Likewise.
26323         (CFLAGS-tst-auditmod6c.c): Likewise.
26324         (CFLAGS-tst-auditmod7b.c): Likewise.
26325         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26327 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26329         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26330         function to the callback.
26331         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26333 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26335         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26336         of errno.
26338 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26340         [BZ #11724]
26341         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26342         of constructors.
26343         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26344         of destructors.
26345         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26347         [BZ #11724]
26348         * elf/Makefile: Add rules to build and run new test.
26349         * elf/tst-initorder.c: New file.
26350         * elf/tst-initorder.exp: New file.
26351         * elf/tst-initordera1.c: New file.
26352         * elf/tst-initordera2.c: New file.
26353         * elf/tst-initordera3.c: New file.
26354         * elf/tst-initordera4.c: New file.
26355         * elf/tst-initorderb1.c: New file.
26356         * elf/tst-initorderb2.c: New file.
26357         * elf/tst-order-a1.c: New file.
26358         * elf/tst-order-a2.c: New file.
26359         * elf/tst-order-a3.c: New file.
26360         * elf/tst-order-a4.c: New file.
26361         * elf/tst-order-b1.c: New file.
26362         * elf/tst-order-b2.c: New file.
26363         * elf/tst-order-main.c: New file.
26364         New test case by George Gensure <werkt0@gmail.com>.
26366 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26368         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26369         decoding ACE if AI_CANONIDN.
26371 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26373         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26375 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26377         * version.h (RELEASE): Bump for 2.13 release.
26378         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26380         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26382         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26383         MADV_NOHUGEPAGE.
26384         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26385         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26386         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26387         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26388         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26389         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26391         * posix/getconf.c: Update copyright year.
26392         * catgets/gencat.c: Likewise.
26393         * csu/version.c: Likewise.
26394         * debug/catchsegv.sh: Likewise.
26395         * debug/xtrace.sh: Likewise.
26396         * elf/ldconfig.c: Likewise.
26397         * elf/ldd.bash.in: Likewise.
26398         * elf/sprof.c (print_version): Likewise.
26399         * iconv/iconv_prog.c: Likewise.
26400         * iconv/iconvconfig.c: Likewise.
26401         * locale/programs/locale.c: Likewise.
26402         * locale/programs/localedef.c: Likewise.
26403         * malloc/memusage.sh: Likewise.
26404         * malloc/mtrace.pl: Likewise.
26405         * nscd/nscd.c (print_version): Likewise.
26406         * nss/getent.c: Likewise.
26408         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26409         PF_CAIF, and PF_ALG.
26410         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26412 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26414         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26415         (modules-names): Use them.
26416         (ifunc-test-modules, ifunc-pie-tests): Define.
26417         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26418         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26419         (test-extras): Likewise.
26420         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26421         $(compile-command.c).
26422         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26423         (all-built-dso): Define.
26424         (check-textrel.out, check-execstack.out): Depend on it.
26426         * configure.in: Don't override --enable-multi-arch.
26428 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26430         [BZ #6812]
26431         * nscd/hstcache.c (tryagain): Define.
26432         (cache_addhst): Return tryagain not notfound for temporary errors.
26433         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26434         failed.
26436 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26438         [BZ #10563]
26439         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26440         to make the syscall.
26441         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26443         [BZ #12378]
26444         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26445         and fall back to matching as normal character if the string ends before
26446         the matching ']' is found.  This is what POSIX requires.
26447         * posix/testfnm.c: Adjust test result.
26448         * posix/globtest.sh: Adjust test result.  Add new test.
26449         * posix/tst-fnmatch.input: Likewise.
26450         * posix/tst-fnmatch2.c: Add new test.
26452 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26454         * elf/Makefile (check-execstack): Revert last change.  Depend on
26455         check-execstack.h.
26456         (check-execstack.h): New target.
26457         (generated): Add check-execstack.h.
26458         * elf/check-execstack.c: Include "check-execstack.h".
26459         (main): Revert last change.
26460         (handle_file): Return zero if GNU_STACK is absent and
26461         DEFAULT_STACK_PERMS doesn't include PF_X.
26463 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26465         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26466         in child fails because the descriptor is already closed.
26467         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26468         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26469         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26471         [BZ #12397]
26472         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26473         syscall.
26475         [BZ #10484]
26476         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26477         temporary buffer used to handle multi lookups locally.
26478         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26480 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26482         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26483         loader is ld.so.
26485 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26487         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26488         alignment for SSE2.
26490 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26492         [BZ #12394]
26493         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26494         characters.  When rounding increased number of integer digits recompute
26495         number of groups.
26496         * stdio-common/tst-grouping.c: New file.
26497         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26499 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26501         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26502         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26504         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26505         void.
26506         * bits/select.h: Likewise.
26508 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26510         * po/ja.po: Update from translation team.
26512 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26514         [BZ #11155]
26515         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26516         implementation just like for lxstat, fxstatat, et al.
26518 2010-12-27  Jim Meyering  <meyering@redhat.com>
26520         [BZ #12348]
26521         * posix/regexec.c (build_trtable): Return failure indication upon
26522         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26524 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26526         [BZ #12201]
26527         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26528         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26529         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26530         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26532         [BZ #12207]
26533         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26535         [BZ #12204]
26536         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26537         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26539 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26541         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26542         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26543         script has SORT_BY_INIT_PRIORITY.
26544         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26545         NO_CTORS_DTORS_SECTIONS is defined.
26546         * elf/soinit.c: Likewise.
26547         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26548         NO_CTORS_DTORS_SECTIONS is defined.
26549         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26550         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26551         * sysdeps/sh/init-first.c: Likewise.
26552         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26554 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26556         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26557         always use the slow path.
26559 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26561         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26562         similar rule which adds the sysdep directories to the header search in
26563         order to pick up the correct platform stackinfo.h.
26564         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26565         perform test if it is, otherwise return successfully without testing.
26566         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26567         DEFAULT_STACK_PERMS define in stackinfo.h.
26568         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26569         defined in stackinfo.h.
26570         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26571         DEFAULT_STACK_PERMS defined in stackinfo.h.
26572         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26573         * sysdeps/ia64/stackinfo.h: Likewise.
26574         * sysdeps/s390/stackinfo.h: Likewise.
26575         * sysdeps/sh/stackinfo.h: Likewise.
26576         * sysdeps/sparc/stackinfo.h: Likewise.
26577         * sysdeps/x86_64/stackinfo.h: Likewise.
26578         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26579         PF_X for powerpc64.  Retain PF_X for powerpc32.
26581 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26583         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26584         accurately.
26585         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26586         GETDENTS_64BIT_ALIGNED.
26588 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26590         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26592 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26594         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26595         _GNU_SOURCE.
26597         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26598         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26599         Remove __restrict.
26600         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26601         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26603 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26605         [BZ #11655]
26606         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26607         are initialized.
26609 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26611         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26613 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26615         * po/it.po: Update from translation team.
26617 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26620         unused codes.
26622 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26624         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26626 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26628         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26629         specially.
26630         (gaih_getanswer_slice): Likewise.
26632 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26634         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26636 2010-05-31  Petr Baudis  <pasky@suse.cz>
26638         [BZ #11149]
26639         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26640         silently even in the chroot mode.
26642 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26644         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26645         last patch a bit.  Pretty printing
26647 2010-05-31  Petr Baudis <pasky@suse.cz>
26649         [BZ #10085]
26650         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26651         initialization of skip_initgroups_dyn.
26653 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26655         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26656         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26658 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26660         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26662 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26664         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26665         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26666         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26667         ($(objpfx)tst-fnmatch-mem): New rule.
26668         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26669         * posix/tst-fnmatch.c (main): Call mtrace.
26671 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26674         Support Intel processor model 6 and model 0x2c.
26676 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26678         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26679           signed comparison.
26681 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26683         [BZ #12205]
26684         * string/test-strncasecmp.c (check_result): New function.
26685         (do_one_test): Use it.
26686         (check1): New function.
26687         (test_main): Use it.
26688         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26689         Support strcasecmp and strncasecmp.
26691 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26693         [BZ #12194]
26694         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26695         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26697 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26699         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26700         IFUNC support.
26701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26702         memset-x86-64.
26703         * sysdeps/x86_64/multiarch/bzero.S: New file.
26704         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26705         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26706         * sysdeps/x86_64/multiarch/memset.S: New file.
26707         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26709         Set bit_Prefer_SSE_for_memop for Intel processors.
26710         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26711         Define.
26712         (index_Prefer_SSE_for_memop): Define.
26713         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26715 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26717         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26718         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26720 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26722         [BZ #12191]
26723         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26724         (__x86_64_raw_data_cache_size_half): Likewise.
26725         (__x86_64_raw_shared_cache_size): Likewise.
26726         (__x86_64_raw_shared_cache_size_half): Likewise.
26728         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26729         (__x86_64_raw_data_cache_size_half): Likewise.
26730         (__x86_64_raw_shared_cache_size): Likewise.
26731         (__x86_64_raw_shared_cache_size_half): Likewise.
26732         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26733         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26734         and __x86_64_raw_shared_cache_size_half.  Round
26735         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26736         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26737         to multiple of 256 bytes.
26739 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26741         [BZ #12167]
26742         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26743         of inacessible symlinks.  Verify result of symlink before returning it.
26744         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26745         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26747 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26749         * math/math.h (isinf): Fix typo in comment.
26751 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26753         * po/da.po: Update from translation team.
26755 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26757         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26758         is added to the list.
26760 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26761             Ulrich Drepper  <drepper@gmail.com>
26763         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26764         the global list here.  Move code to...
26765         (_dl_add_to_namespace_list): ...here.  New function.
26766         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26767         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26768         * elf/dl-load.c (lose): Don't remove the element from the list.
26769         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26770         (_dl_map_object): Likewise.
26772 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26774         [BZ #12159]
26775         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26776         into all bytes of SSE register.
26777         Patch by Richard Li <richardpku@gmail.com>.
26779 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26781         [BZ #12140]
26782         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26783         perturbing.
26785 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26787         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26788         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26789         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26790         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26792         submachine.
26793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26795 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26797         * include/dlfcn.h (__RTLD_SECURE): Define.
26798         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26799         mode & __RTLD_SECURE instead.
26800         (open_path): Rename preloaded parameter to secure.
26801         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26802         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26803         * elf/dl-deps.c (openaux): Likewise.
26804         * elf/rtld.c (struct map_args): Remove is_preloaded.
26805         (map_doit): Don't use it.
26806         (dl_main): Likewise.
26807         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26808         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26810 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26812         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26813         (sysd-rules-targets): Remove duplicates.
26814         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26815         rtld-%.$o dependency.
26817 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26819         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26820         _dl_map_object do it.
26822 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26824         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26825         fast fma builtins, define the macros in the C99 standard.
26826         (FP_FAST_FMAF): Likewise.
26827         (FP_FAST_FMAL): Likewise.
26828         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26830         * bits/mathdef.h: Update copyright year.
26831         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26833 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26835         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26836         builtins, define the macros in the C99 standard.
26837         (FP_FAST_FMAF): Likewise.
26838         (FP_FAST_FMAL): Likewise.
26839         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26840         multiply/add.
26841         (FP_FAST_FMAF): Likewise.
26843 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26845         [BZ #3268]
26846         * math/libm-test.inc (fma_test): Some new testcases.
26847         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26848         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26849         y and infinite z.  Do multiplication by C already in long double.
26850         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26852         y and infinite z.  Do bitwise or of inexact bit into u.d.
26853         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26854         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26855         * sysdeps/i386/fpu/s_fma.S: Removed.
26856         * sysdeps/i386/fpu/s_fmal.S: Removed.
26858 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26860         [BZ #3268]
26861         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26863         computation is not scheduled after fetestexcept.  Fix value
26864         of minimum denormal long double.
26866 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26868         [BZ #3268]
26869         * math/libm-test.inc (fma_test): Add some more tests.
26870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26871         correctly.
26873 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26875         * scripts/data/localplt-s390-linux-gnu.data: New file.
26876         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26878 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26880         [BZ #3268]
26881         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26882         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26883         instead of dbl-64.
26884         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26885         inlines.
26886         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26888         if one of x and y is very large and the other is subnormal.
26889         * sysdeps/s390/fpu/s_fmaf.c: New file.
26890         * sysdeps/s390/fpu/s_fma.c: New file.
26891         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26892         * sysdeps/powerpc/fpu/s_fma.S: New file.
26893         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26894         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26895         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26897 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26899         [BZ #3268]
26900         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26901         fma tests.
26902         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26903         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26904         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26905         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26906         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26907         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26908         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26910 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26912         [BZ #12078]
26913         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26914         * posix/bug-regex31.input: Add test case.
26916 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26918         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26919         * posix/bug-regex31.input: New file.
26921         [BZ #12078]
26922         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26923         (parse_sub_exp): Fix last change, use postorder.
26925         * posix/bug-regex31.c: New file.
26926         * posix/Makefile: Add rules to build and run bug-regex31.
26928         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26930         [BZ #12078]
26931         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26933         [BZ #12108]
26934         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26935         to have entries in sys_siglist.
26937         [BZ #12093]
26938         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26939         be NULL.
26941 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26943         [BZ #3268]
26944         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26945         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26946         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26947         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26948         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26949         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26950         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26951         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26952         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26953         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26954         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26955         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26956         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26957         * math/ftestexcept.c (fetestexcept): Likewise.
26958         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26959         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26960         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26961         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26962         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26963         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26964         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26966 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26968         [BZ #12107]
26969         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26970         newline.
26972 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26974         * string/bug-strstr1.c: New file.
26975         * string/Makefile: Add rules to build and run bug-strstr1.
26977 2010-10-05  Eric Blake  <eblake@redhat.com>
26979         [BZ #12092]
26980         * string/str-two-way.h (two_way_long_needle): Always clear memory
26981         when skipping input due to the shift table.
26983 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26985         [BZ #12005]
26986         * malloc/mcheck.c: Handle large requests.
26988         [BZ #12077]
26989         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26990         for strncmp and strncasecmp.
26991         * string/stratcliff.c: Add tests for strcmp and strncmp.
26992         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26994 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26996         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26997         __set_fpscr.
26999 2010-09-30  Andreas Jaeger  <aj@suse.de>
27001         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27002         (CGROUP_SUPER_MAGIC): Define.
27003         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27004         Handle btrfs and cgroup file systems.
27005         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27006         Likewise.
27008 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
27010         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27011         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27013 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27015         [BZ #12067]
27016         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27017         trying to locate the ELF header.
27019 2010-09-27  Andreas Schwab  <schwab@redhat.com>
27021         [BZ #11611]
27022         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27023         Mask out sign-bit copies when constructing f_fsid.
27025 2010-09-24  Petr Baudis <pasky@suse.cz>
27027         * debug/stack_chk_fail_local.c: Add missing licence exception.
27028         * debug/warning-nop.c: Likewise.
27030 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
27032         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27033         implementing getdents64 using getdents syscall, set d_type if
27034         __ASSUME_GETDENTS32_D_TYPE.
27036 2010-09-16  Andreas Schwab  <schwab@redhat.com>
27038         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27039         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27041 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
27043         [BZ #12037]
27044         * posix/unistd.h: Undo change of feature selection for ftruncate from
27045         2010-01-11.
27047 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
27049         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27050         detection.
27052 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27054         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27055         fanotify_mark.
27056         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27058 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27060         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27061         variables after CHECK_SP call.
27062         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27064 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27065             Ulrich Drepper  <drepper@redhat.com>
27067         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27068         re-relocationg ld.so.
27069         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27070         _dl_init_paths call.
27071         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27072         here anymore.
27074 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27076         * resolv/res_init.c (__res_vinit): Count the default server we added.
27078 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27079             Ulrich Drepper  <drepper@redhat.com>
27081         [BZ #11968]
27082         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27083         (____longjmp_chk): Use %ebx for saving value across system call.
27084         Add unwind info.
27086 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27088         * manual/Makefile: Don't mix pattern rules with normal rules.
27090 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27092         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27093         operation.
27094         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27095         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27096         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27097         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27098         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27099         Likewise.
27101 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27103         [BZ #11979]
27104         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27105         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27107 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27109         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27110         * sysdeps/x86_64/addmul_1.S: Likewise.
27111         * sysdeps/x86_64/lshift.S: Likewise.
27112         * sysdeps/x86_64/mul_1.S: Likewise.
27113         * sysdeps/x86_64/rshift.S: Likewise.
27114         * sysdeps/x86_64/sub_n.S: Likewise.
27115         * sysdeps/x86_64/submul_1.S: Likewise.
27117 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27119         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27120         Define __sched_param instead of SCHED_* and sched_param when
27121         <bits/sched.h> is included with __need_schedparam defined.
27122         * bits/sched.h [__need_schedparam]
27123         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27124         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27125         (__defined_schedparam): Define to 1.
27126         (__sched_param): New structure, identical to sched_param.
27127         (__need_schedparam): Undefine.
27129 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27131         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27132         (epoll_create1): Declare.
27134         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27136 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27138         [BZ #7066]
27139         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27140         shifting retval into place.
27142 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27144         * nis/rpcsvc/nis.h: Update copyright notice.
27145         * nis/rpcsvc/nis.x: Likewise.
27146         * nis/rpcsvc/nis_callback.h: Likewise.
27147         * nis/rpcsvc/nis_callback.x: Likewise.
27148         * nis/rpcsvc/nis_object.x: Likewise.
27149         * nis/rpcsvc/nis_tags.h: Likewise.
27150         * nis/rpcsvc/yp.h: Likewise.
27151         * nis/rpcsvc/yp.x: Likewise.
27152         * nis/rpcsvc/ypupd.h: Likewise.
27153         * nis/yp_xdr.c: Likewise.
27154         * nis/ypupdate_xdr.c: Likewise.
27156         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27157         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27158         (pmap_getport): Use __libc_rpc_getport.
27159         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27160         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27161         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27163 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27166         fanotify_mark.
27168 2010-08-27  Roland McGrath  <roland@redhat.com>
27170         * sysdeps/i386/i686/multiarch/Makefile
27171         (CFLAGS-varshift.c): New variable.
27173 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27175         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27176         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27178         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27180         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27182 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27184         * sysdeps/x86_64/strlen.S: Unroll the loop.
27185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27186         strlen-sse2 strlen-sse2-bsf.
27187         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27188         __strlen_no_bsf if bit_Slow_BSF is set.
27189         (__strlen_sse42): Removed.
27190         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27191         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27193 2010-08-25  Roland McGrath  <roland@redhat.com>
27195         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27196         * sysdeps/x86_64/multiarch/varshift.c: New file.
27197         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27198         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27199         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27200         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27202 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27204         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27205         strlen-sse2 strlen-sse2-bsf.
27206         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27207         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27208         (__strlen_sse2): Removed.
27209         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27210         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27212         bit_Slow_BSF for Atom.
27213         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27214         (index_Slow_BSF): Define.
27215         (HAS_SLOW_BSF): Define.
27217 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27219         [BZ #10851]
27220         * resolv/res_init.c (__res_vinit): When no server address at all
27221         is given default to loopback.
27223 2010-08-24  Roland McGrath  <roland@redhat.com>
27225         * configure.in: Remove config-name.h generation.
27226         * configure: Regenerated.
27227         * config-name.in: File removed.
27228         * scripts/config-uname.sh: New file.
27229         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27230         ($(objdir)config-name.h): New target.
27232         * sunrpc/rpc_parse.h: Avoid nested comment.
27234 2010-08-24  Richard Henderson  <rth@redhat.com>
27235             Ulrich Drepper  <drepper@redhat.com>
27236             H.J. Lu  <hongjiu.lu@intel.com>
27238         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27239         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27240         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27241         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27242         _mm_alignr_epi8 with _mm_loadu_si128.
27243         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27244         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27245         (__m128i_shift_right): Removed.
27246         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27247         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27248         * sysdeps/x86_64/multiarch/varshift.h: New file.
27249         * sysdeps/x86_64/multiarch/varshift.S: New file.
27251 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27253         * configure.in: Move assembler checks to before sysdep dir checking.
27255 2010-08-20  Petr Baudis  <pasky@suse.cz>
27257         * LICENSES: Sync the sunrpc license.
27259 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27261         * sunrpc/auth_des.c: Update copyright notice once again.
27262         * sunrpc/auth_none.c: Likewise.
27263         * sunrpc/auth_unix.c: Likewise.
27264         * sunrpc/authdes_prot.c: Likewise.
27265         * sunrpc/authuxprot.c: Likewise.
27266         * sunrpc/bindrsvprt.c: Likewise.
27267         * sunrpc/clnt_gen.c: Likewise.
27268         * sunrpc/clnt_perr.c: Likewise.
27269         * sunrpc/clnt_raw.c: Likewise.
27270         * sunrpc/clnt_simp.c: Likewise.
27271         * sunrpc/clnt_tcp.c: Likewise.
27272         * sunrpc/clnt_udp.c: Likewise.
27273         * sunrpc/clnt_unix.c: Likewise.
27274         * sunrpc/des_crypt.c: Likewise.
27275         * sunrpc/des_soft.c: Likewise.
27276         * sunrpc/get_myaddr.c: Likewise.
27277         * sunrpc/getrpcport.c: Likewise.
27278         * sunrpc/key_call.c: Likewise.
27279         * sunrpc/key_prot.c: Likewise.
27280         * sunrpc/openchild.c: Likewise.
27281         * sunrpc/pm_getmaps.c: Likewise.
27282         * sunrpc/pm_getport.c: Likewise.
27283         * sunrpc/pmap_clnt.c: Likewise.
27284         * sunrpc/pmap_prot.c: Likewise.
27285         * sunrpc/pmap_prot2.c: Likewise.
27286         * sunrpc/pmap_rmt.c: Likewise.
27287         * sunrpc/rpc/auth.h: Likewise.
27288         * sunrpc/rpc/auth_unix.h: Likewise.
27289         * sunrpc/rpc/clnt.h: Likewise.
27290         * sunrpc/rpc/des_crypt.h: Likewise.
27291         * sunrpc/rpc/key_prot.h: Likewise.
27292         * sunrpc/rpc/netdb.h: Likewise.
27293         * sunrpc/rpc/pmap_clnt.h: Likewise.
27294         * sunrpc/rpc/pmap_prot.h: Likewise.
27295         * sunrpc/rpc/pmap_rmt.h: Likewise.
27296         * sunrpc/rpc/rpc.h: Likewise.
27297         * sunrpc/rpc/rpc_des.h: Likewise.
27298         * sunrpc/rpc/rpc_msg.h: Likewise.
27299         * sunrpc/rpc/svc.h: Likewise.
27300         * sunrpc/rpc/svc_auth.h: Likewise.
27301         * sunrpc/rpc/types.h: Likewise.
27302         * sunrpc/rpc/xdr.h: Likewise.
27303         * sunrpc/rpc_clntout.c: Likewise.
27304         * sunrpc/rpc_cmsg.c: Likewise.
27305         * sunrpc/rpc_common.c: Likewise.
27306         * sunrpc/rpc_cout.c: Likewise.
27307         * sunrpc/rpc_dtable.c: Likewise.
27308         * sunrpc/rpc_hout.c: Likewise.
27309         * sunrpc/rpc_main.c: Likewise.
27310         * sunrpc/rpc_parse.c: Likewise.
27311         * sunrpc/rpc_parse.h: Likewise.
27312         * sunrpc/rpc_prot.c: Likewise.
27313         * sunrpc/rpc_sample.c: Likewise.
27314         * sunrpc/rpc_scan.c: Likewise.
27315         * sunrpc/rpc_scan.h: Likewise.
27316         * sunrpc/rpc_svcout.c: Likewise.
27317         * sunrpc/rpc_tblout.c: Likewise.
27318         * sunrpc/rpc_util.c: Likewise.
27319         * sunrpc/rpc_util.h: Likewise.
27320         * sunrpc/rpcinfo.c: Likewise.
27321         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27322         * sunrpc/rpcsvc/key_prot.x: Likewise.
27323         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27324         * sunrpc/rpcsvc/mount.x: Likewise.
27325         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27326         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27327         * sunrpc/rpcsvc/rex.x: Likewise.
27328         * sunrpc/rpcsvc/rstat.x: Likewise.
27329         * sunrpc/rpcsvc/rusers.x: Likewise.
27330         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27331         * sunrpc/rpcsvc/spray.x: Likewise.
27332         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27333         * sunrpc/rtime.c: Likewise.
27334         * sunrpc/svc.c: Likewise.
27335         * sunrpc/svc_auth.c: Likewise.
27336         * sunrpc/svc_authux.c: Likewise.
27337         * sunrpc/svc_raw.c: Likewise.
27338         * sunrpc/svc_run.c: Likewise.
27339         * sunrpc/svc_simple.c: Likewise.
27340         * sunrpc/svc_tcp.c: Likewise.
27341         * sunrpc/svc_udp.c: Likewise.
27342         * sunrpc/svc_unix.c: Likewise.
27343         * sunrpc/svcauth_des.c: Likewise.
27344         * sunrpc/xcrypt.c: Likewise.
27345         * sunrpc/xdr.c: Likewise.
27346         * sunrpc/xdr_array.c: Likewise.
27347         * sunrpc/xdr_float.c: Likewise.
27348         * sunrpc/xdr_mem.c: Likewise.
27349         * sunrpc/xdr_rec.c: Likewise.
27350         * sunrpc/xdr_ref.c: Likewise.
27351         * sunrpc/xdr_sizeof.c: Likewise.
27352         * sunrpc/xdr_stdio.c: Likewise.
27354         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27355         handling.
27357 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27359         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27361 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27363         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27364         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27365         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27366         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27367         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27368         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27369         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27370         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27371         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27372         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27373         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27374         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27375         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27376         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27378 2010-07-26  Anton Blanchard  <anton@samba.org>
27380         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27381         * malloc/arena.c (heap_trim): Likewise.
27383 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27385         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27386         here.  Not...
27387         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27388         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27390 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27392         * sysdeps/i386/elf/Makefile: New file.
27394 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27396         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27397         from fanotify_init.
27398         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27399         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27401 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27403         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27404         of strncasecmp_l.
27405         * sysdeps/multiarch/strcmp.S: Likewise.
27407 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27409         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27410         strncase_l-nonascii.
27411         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27412         Add strncase_l-ssse3.
27413         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27414         * sysdeps/x86_64/strcmp.S: Likewise.
27415         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27416         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27417         * sysdeps/x86_64/strncase.S: New file.
27418         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27419         * sysdeps/x86_64/strncase_l.S: New file.
27420         * string/Makefile (strop-tests): Add strncasecmp.
27421         * string/test-strncasecmp.c: New file.
27423         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27424         warning.
27426         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27427         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27429 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27431         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27433 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27435         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27436         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27437         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27439 2010-05-01  Alan Modra  <amodra@gmail.com>
27441         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27442         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27443         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27444         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27445         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27446         tidying.  Don't tail-call __sigjmp_save for static lib.
27447         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27448         save location.
27449         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27450         (CALL_MCOUNT): Add eh info, and nop after bl.
27451         (TAIL_CALL_SYSCALL_ERROR): New macro.
27452         (PSEUDO_RET): Use it.
27453         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27454         Correct save location of integer regs and cr.
27455         (_dl_profile_resolve): Correct cr save location.  Delete nops
27456         after bl when SHARED.  Reduce cfi size a little by better
27457         placement of cfi directives.
27458         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27459         make a stack frame.  Instead use parm save area as a temp.
27460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27461         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27463         Don't make a stack frame for parent, use parm save area.
27464         Increase child stack frame to 112 bytes.  Don't save unused reg,
27465         and adjust reg usage.  Set up cfi on error recovery and
27466         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27468         (__makecontext): Add dummy nop after jump to exit.
27469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27470         Use correct parm save area and cr save, reduce stack frame.
27471         Correct cfi for possible PSEUDO_RET frame setup.
27472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27473         Branch to local label emitted by PSEUDO_RET rather than
27474         __syscall_error.
27476 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27478         [BZ #11904]
27479         * locale/programs/locale.c (print_assignment): New function.
27480         (show_locale_vars): Use it.
27482 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27484         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27485         field.
27486         (struct statfs64): Likewise.
27487         (_STATFS_F_FLAGS): Define.
27488         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27489         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27490         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27491         (ST_VALID): Define locally.
27492         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27493         __statvfs_getflags, use the provided value.
27494         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27495         __ASSUME_STATFS_F_FLAGS.
27497         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27499         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27500         Add sys/fanotify.h.
27501         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27502         fanotify_mask for GLIBC_2.13.
27503         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27504         fanotify_init and fanotify_mark.
27505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27506         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27508         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27509         Add prlimit.
27510         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27511         prlimit64 for GLIBC_2.13.
27512         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27513         prlimit64.
27514         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27515         syscall.
27516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27517         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27518         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27519         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27520         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27521         add prlimit alias.
27522         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27524         [BZ #11903]
27525         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27526         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27528         * nss/Makefile: Add rules to build and run tst-nss-test1.
27529         * shlib-versions: Add entry for libnss_test1.
27530         * nss/nss_test1.c: New file.
27531         * nss/tst-nss-test1.c: New file.
27533         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27534         (__nss_configure_lookup): Set appropriate entry in
27535         __nss_configure_lookup to true.
27536         * nss/nsswitch.h: Define enum with indeces of databases in
27537         databases and __nss_database_custom arrays.  Declare
27538         __nss_database_custom.
27539         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27540         to avoid using nscd when custom rules are installed.
27541         * nss/getXXbyYY_r.c: Likewise.
27542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27544         * nss/nss_files/files-parse.c: Whitespace fixes.
27546 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27548         [BZ #11883]
27549         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27550         * posix/fnmatch_loop.c: Likewise.
27552 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27554         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27555         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27556         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27557         * Versions.def [GLIBC_2.13]: Add.
27559 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27561         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27562         Also fail if tpwd after pwuid call is NULL.
27564 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27566         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27567         when converting to ms.
27569 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27571         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27572         EOPNOTSUPP errors with ENOTTY.
27573         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27574         EOPNOTSUPP errors with ENOTTY.
27576 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27578         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27579         Add strcasecmp_l-ssse3.
27580         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27581         strcasecmp.
27582         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27583         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27584         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27586 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27588         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27590         * string/Makefile (strop-tests): Add strcasecmp.
27591         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27592         strcasecmp_l-nonascii.
27593         (gen-as-const-headers): Add locale-defines.sym.
27594         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27595         * sysdeps/x86_64/strcasecmp.S: New file.
27596         * sysdeps/x86_64/strcasecmp_l.S: New file.
27597         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27598         * sysdeps/x86_64/locale-defines.sym: New file.
27599         * string/test-strcasecmp.c: New file.
27601         * string/test-strcasestr.c: Test both ends of the range of characters.
27602         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27604 2010-07-29  Roland McGrath  <roland@redhat.com>
27606         [BZ #11856]
27607         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27609 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27611         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27612         for ld.so.
27614 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27616         * manual/memory.texi (Malloc Tunable Parameters): Document
27617         M_PERTURB.
27619 2010-07-26  Roland McGrath  <roland@redhat.com>
27621         [BZ #11840]
27622         * configure.in (-fgnu89-inline check): Set and substitute
27623         gnu89_inline, not libc_cv_gnu89_inline.
27624         * configure: Regenerated.
27625         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27627 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27629         * string/test-strnlen.c: New file.
27630         * string/Makefile (strop-tests): Add strnlen.
27631         * string/tester.c (test_strnlen): Add a few more test cases.
27632         * string/tst-strlen.c: Better error reporting.
27634         * sysdeps/x86_64/strnlen.S: New file.
27636 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27638         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27639         lower-latency instructions.
27641 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27643         * string/test-strcasestr.c: New file.
27644         * string/test-strstr.c: New file.
27645         * string/Makefile (strop-tests): Add strstr and strcasestr.
27646         * string/str-two-way.h: Don't undefine MAX.
27647         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27649 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27652         strcasestr-nonascii.
27653         (CFLAGS-strcasestr-nonascii.c): Define.
27654         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27655         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27656         Remove unused attribute.
27658 2010-07-20  Roland McGrath  <roland@redhat.com>
27660         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27661         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27662         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27663         like LD_HWCAP_MASK can disable hwcaps.
27665 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27667         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27669 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27671         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27672         call in strcasestr.
27673         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27674         __strcasestr_sse42_nonascii.
27675         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27676         strcasestr-nonascii.c.
27677         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27679 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27681         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27682         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27683         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27684         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27686 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27688         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27689         fcntl.
27691 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27693         [BZ #11577]
27694         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27695         dl_signal_cerror.
27697 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27699         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27700         _PC_PIPE_BUF using F_GETPIPE_SZ.
27702 2010-07-05  Roland McGrath  <roland@redhat.com>
27704         * manual/arith.texi (Rounding Functions): Fix rint description
27705         implicit in round description.
27707 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27709         * elf/Makefile: Fix linking for a few tests to make recent linker
27710         happy.
27712 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27714         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27715         $(common-objpfx)libc_nonshared.a.
27717 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27719         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27720         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27721         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27722         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27723         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27724         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27725         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27726         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27741         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27742         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27743         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27744         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27745         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27746         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27747         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27748         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27749         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27750         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27751         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27752         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27768 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27770         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27771         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27772         * string/memmove.c (memmove): Renamed to ...
27773         (MEMMOVE): ...this.  Default to memmove.
27774         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27775         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27776         (END_CHK): Define.
27777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27778         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27779         mempcpy-ssse3-back memmove-ssse3-back.
27780         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27781         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27782         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27783         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27784         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27785         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27786         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27787         * sysdeps/x86_64/multiarch/memmove.c: New file.
27788         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27789         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27790         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27791         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27792         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27793         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27794         Define.
27795         (index_Fast_Copy_Backward): Define.
27796         (HAS_ARCH_FEATURE): Define.
27797         (HAS_FAST_REP_STRING): Define.
27798         (HAS_FAST_COPY_BACKWARD): Define.
27800 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27802         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27803         Restore proper fallback handling.
27805 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27807         [BZ #11701]
27808         * posix/group_member.c (__group_member): Correct checking loop.
27810         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27811         OOM in getpwuid_r correctly.  Return error number when the caller
27812         should return, otherwise -1.
27813         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27814         call returning > 0 value.
27815         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27817 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27819         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27820         libc_nonshared.a from targets in modules-names.
27822 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27824         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27825         requires it.
27827 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27829         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27830         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27831         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27832         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27834 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27836         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27838 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27840         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27841         and F_GETPIPE_SZ.
27842         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27843         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27844         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27845         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27846         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27847         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27849 2010-06-14  Roland McGrath  <roland@redhat.com>
27851         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27853 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27855         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27856         __REDIRECT followed by __THROW.
27857         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27858         * posix/getopt.h (getopt): Likewise.
27860 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27862         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27863         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27864         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27865         in AT_FLAGS.
27866         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27867         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27869 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27871         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27873 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27875         [BZ #11640]
27876         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27877         Properly check family and model.
27879 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27881         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27883 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27885         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27887 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27889         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27890         symbol reference.
27892 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27894         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27895         symbol reference.
27897 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27899         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27900         and internal_recvmmsg.
27901         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27902         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27903         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27904         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27906         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27907         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27908         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27910 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27912         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27914 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27916         POWER7 optimizations.
27917         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27918         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27920 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27922         * version.h: Update for 2.13 development version.
27924 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27926         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27927         exceptions.  Return 0.
27929 2010-05-07  Roland McGrath  <roland@redhat.com>
27931         * elf/ldconfig.c (main): Add a const.
27933 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27935         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27936         (args_options): Add no-idn option.
27937         (ahosts_keys_int): Add idn_flags to ai_flags.
27938         (parse_option): Handle 'i' option to clear idn_flags.
27940         * malloc/malloc.c (_int_free): Possible race in the most recently
27941         added check.  Only act on the data if no current modification
27942         happened.
27944 See ChangeLog.17 for earlier changes.