Add generic POSIX implementation of C11 timespec_get.
[glibc.git] / ChangeLog
blobb5a2c704c1c6ca760baa5ec0e86a429eb08e459a
1 2013-04-23  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/posix/timespec_get.c: New file.
5 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8         POWER.
9         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10         for POWER.
11         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12         powerpc/power5/fpu folders.
13         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14         * benchtests/Makefile: Add modf testcase.
15         * benchtests/bench-modf.c: New file: Benchmark test for mo
17 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19         [BZ #14888]
20         * time/Makefile (tests): Add tst-strptime-whitespace.
21         * time/strptime_l.c (get_number): Use ISSPACE.
22         (__strptime_internal): Likewise.
23         * time/tst-strptime-whitespace.c: New test case.
25 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28         member.
29         (_nss_files_init): Set it here.
31 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
35         unsigned.
37 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
39         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
41 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44         size just once.
46 2013-04-21  David S. Miller  <davem@davemloft.net>
48         * po/ru.po: Update Russion translation from translation project.
50 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53         and setfsgid.
55 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
57         * configure.in: Remove i386 configure warning. Remove i386 case.
58         * configure: Regenerate.
59         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
60         Add example to error message.
61         * sysdeps/i386/configure: Regenerate.
63 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65         * benchtests/Makefile (bench): Add cos, tan, slowcos and
66         slowtan.
67         * benchtests/cos-inputs: New file.
68         * benchtests/slowcos-inputs: New file.
69         * benchtests/slowcos.c: New file.
70         * benchtests/slowtan-inputs: New file.
71         * benchtests/slowtan.c: New file.
72         * benchtests/tan-inputs: New file.
74 2013-04-16  Roland McGrath  <roland@hack.frob.com>
76         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
77         considered kosher.
79 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
81         * benchtests/Makefile: Include cppflags-iterator.mk to add
82         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
84         * Makefile.in (bench-clean): New target.
85         * benchtests/Makefile (bench-clean): Likewise.
87 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
89         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
91 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
93         * stdio-common/tstdiomisc.c: Fix coding-style violation.
95 2013-04-15  Andreas Schwab  <schwab@suse.de>
97         * nscd/grpcache.c (cache_addgr): Properly check for short write.
98         * nscd/initgrcache.c (addinitgroupsX): Likewise.
99         * nscd/pwdcache.c (cache_addpw): Likewise.
100         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
101         more than recsize.
103 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
105         * benchtests/Makefile (bench): Write all output to
106         bench-out.tmp together.
108 2013-04-15  Andreas Schwab  <schwab@suse.de>
110         * nscd/nscd.c (main): Don't fork again after closing files.
112 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
114         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
116         * benchtests/Rules (bench-deps): Collect dependencies into a
117         single variable.  Add Makefile to dependencies.
118         ($(objpfx)bench-%.c): Depend on bench-deps.
120 2013-04-12  Roland McGrath  <roland@hack.frob.com>
121             Xavier Roche  <roche+kml2@exalead.com>
123         [BZ #15361]
124         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
125         just that it's a file descriptor.
126         * manual/llio.texi (Synchronizing AIO Operations): Update description
127         for EBADF error from aio_fsync.
129 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
131         * Rules (bench): Move target definition...
132         * benchtests/Makefile: ... here.
134 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
136         * math/libm-test.inc (cos_test): Fix PI/2 test.
137         (sincos_test): Likewise.
138         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
139         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
141 2013-04-11  Andreas Schwab  <schwab@suse.de>
143         [BZ #13988]
144         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
145         accept exponent character only when digits were seen.
146         * stdio-common/Makefile (tests): Add bug26.
147         * stdio-common/bug26.c: New file.
149         [BZ #14293]
150         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
151         non-freeable.
153 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
155         * Makeconfig (rtld-prefix): Define built linker prefix.
156         * Rules (run-bench): Use it.
157         * math/Makefile (run-regen-ulps): Likewise.
159         * Rules (bench): Remove eval.
161 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
162             Roland McGrath  <roland@hack.frob.com>
163             Ondrej Bilka  <neleai@seznam.cz>
165         [BZ #15346]
166         * time/getdate.c: Include ctype.h and alloca.h.
167         (__getdate_r): Trim leading and trailing spaces of input.
168         * time/tst-getdate.c (tests): Add tests with leading and
169         trailing spaces.
171 2013-04-08  Roland McGrath  <roland@hack.frob.com>
173         [BZ #14280]
174         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
175         when computing value.
177 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
179         * math/README.libm-test (How can I generate "libm-test-ulps"?):
180         Use testrun.sh to run libm tests.
182         [BZ #15309]
183         * elf/dl-open.c (dl_open_worker): memset all of seen array.
185 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
187         [BZ #15264]
188         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
190 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
192         * Makefile.in (regen-ulps): New target.
193         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
194         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
195         [ifneq (no,$(PERL)] (regen-ulps): New target.
196         [ifeq (no,$(PERL)] (regen-ulps): New target.
197         * math/libm-test.inc (ulps_file_name): Define.
198         (output_dir): New variable.
199         (options): Add "output-dir" option.
200         (parse_opt): Handle 'o' case.
201         (main): If output_dir is non-NULL use it as a prefix
202         otherwise use "".
203         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
205 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
207         [BZ #10060, #10062]
208         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
209         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
210         fail configure if __sync_val_compare_and_swap is not inlined.
211         * sysdeps/i386/configure: Regenerate.
212         * configure.in: Build for i686 when configured for i386.
213         * configure: Regenerate.
214         * README: Remove i386 reference.
216 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
218         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
219         * sysdeps/s390/s390-64/sysdep.h: Likewise.
221 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
223         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
224         (lmsnanval): New variables.
225         (F): Add conversion tests.
226         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
227         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
229         * stdio-common/tstdiomisc.c (F): Properly collect individual
230         tests' results.
232         [BZ #14686, #15336]
233         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
234         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
235         Instead, use input NaN values or generate a qNaN by arithmetic
236         operation.  Also fix bugs to comply with the standard.
237         * math/libm-test.inc (remainder_test): Add more tests.
239         [BZ #15335, #15342]
240         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
241         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
242         input NaN values or generate a qNaN by arithmetic operation.
244         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
245         unreachable code.
247         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
248         definitions.
250 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
252         [BZ #14478]
253         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
254         underflowed result.
255         * math/s_cexpf.c (__cexpf): Likewise.
256         * math/s_cexpl.c (__cexpl): Likewise.
257         * math/libm-test.inc (cexp_test): Add more tests.
259 2013-04-03  Andreas Schwab  <schwab@suse.de>
261         [BZ #15330]
262         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
263         order arrays from heap if bigger than alloca cutoff.
265 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
267         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
268         (SNAN_TESTS_double): Refer to GCC PR56831.
269         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
270         GCC PR56828.
272 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
274         * Rules (bench): Move bench.out after the run is complete.
276         * Rules (bench): Echo currently running benchmark.
278         * benchtests/Makefile (bench): Add atan and slowatan.
279         * benchtests/atan-inputs: New file.
280         * benchtests/slowatan-inputs: New file.
281         * benchtests/slowatan.c: New file.
283         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
284         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
285         its value.
287         [BZ #15305]
288         * sysdeps/unix/sysv/linux/kernel-features.h
289         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
290         __ASSUME_XFS_RESTRICTED_CHOWN.
291         * sysdeps/unix/sysv/linux/pathconf.c
292         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
293         Save and restore errno.
295 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
297         [BZ #15327]
298         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
299         arguments using __kernel_casinh.
300         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
301         arguments using __kernel_casinhf.
302         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
303         arguments using __kernel_casinhl.
304         * math/libm-test.inc (cacosh_test): Add more tests.
305         * sysdeps/i386/fpu/libm-test-ulps: Update.
306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
308 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
310         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
313         * bench/Makefile (bench): Add sin and slowsin.
314         * benchtests/sin-inputs: New file.
315         * benchtests/slowsin-inputs: New file.
316         * benchtests/slowsin.c: New file.
318         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
319         (bench): Add slowexp and slowpow.
320         (exp-ITER): Increase iterations.
321         (pow-ITER): Likewise.
322         * benchtests/exp-inputs: Change input.
323         * benchtests/pow-inputs: Likewise.
324         * benchtests/slowexp-inputs: New file.
325         * benchtests/slowexp.c: New file.
326         * benchtests/slowpow-inputs: New file.
327         * benchtests/slowpow.c: New file.
329 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
331         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
332         instructions.
333         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
334         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
335         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
336         * benchtests/Makefile: Add rint benchtest.
337         * benchtests/rint-inputs: Input for rint benchtest.
339 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
341         * Versions.def (libm): Add GLIBC_2.18.
342         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
343         hidden libm prototypes.
344         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
345         * math/Makefile (libm-calls): Add s_issignaling.
346         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
347         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
348         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
349         declaration.
350         * math/math.h [__USE_GNU] (issignaling): New macro.
351         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
352         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
353         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
354         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
355         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
356         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
357         * manual/arith.texi (issignaling): New section.
358         * manual/libm-err-tab.pl (@all_functions): Update comment.
359         * math/gen-libm-test.pl (parse_args): Apply special handling for
360         issignaling.
361         * math/libm-test.inc (print_float, issignaling_test): New
362         functions.
363         (check_float_internal): Add issignaling checks.
364         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
365         default definition.
366         * sysdeps/powerpc/math-tests.h: New file.
367         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
368         tests.
369         * math/test-snan.c (TEST_FUNC): Likewise.
371 2013-03-30  David S. Miller  <davem@davemloft.net>
373         * po/de.po: Update from translation team.
375 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
377         [BZ #10357]
378         * math/k_casinh.c (__kernel_casinh): Handle arguments with
379         imaginary part less than 1.0 and real part less than 0.5
380         specially.
381         * math/k_casinhf.c (__kernel_casinhf): Likewise.
382         * math/k_casinhl.c (__kernel_casinhl): Likewise.
383         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
384         (cacos_test): Add more tests.
385         (casin_test): Likewise.
386         (casinh_test): Likewise.
387         * sysdeps/i386/fpu/libm-test-ulps: Update.
388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
390 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
392         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
393         ONE with its value.
395         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
396         (__pow_mp): Replace ONE and MONE with their values.
397         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
398         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
399         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
400         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
401         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
402         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
404         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
406         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
407         (__pow_mp): Replace ZERO and MZERO with their values.
408         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
409         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
410         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
411         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
412         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
413         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
414         (__sqr): Likewise.
416         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
418         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
420 2013-03-28  Roland McGrath  <roland@hack.frob.com>
422         * include/stdlib.h [!SHARED] (__call_tls_dtors):
423         Declare with __attribute__ ((weak)).
424         * stdlib/exit.c (__libc_atexit) [!SHARED]:
425         Call __call_tls_dtors only if it's not NULL.
427 2013-03-28  Roland McGrath  <roland@hack.frob.com>
429         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
430         didn't do it already, then set _dl_phdr and _dl_phnum based on the
431         magic __ehdr_start linker symbol if it's defined.
432         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
433         them up here if it was already done.
435         * elf/dl-support.c (_dl_phdr): Make pointer to const.
436         (_dl_aux_init): Use const in cast when setting it.
437         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
438         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
439         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
441         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
442         Declare them here.
443         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
444         * csu/libc-tls.c: Nor here.
445         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
447         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
448         (__libc_message): Never call vsyslog.
450 2013-03-28  Alan Modra  <amodra@gmail.com>
452         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
453         Define as empty.
454         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
455         Likewise.
457 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
459         [BZ #15214]
460         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
461         underflow.
462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
464 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
466         [BZ #15304]
467         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
468         Don't add gid passed as argument.
470         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
472 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
474         [BZ #15307]
475         * math/k_casinh.c (__kernel_casinh): Handle arguments with
476         imaginary part between 1.0 and 1.5 and real part less than 0.5
477         specially.
478         * math/k_casinhf.c (__kernel_casinhf): Likewise.
479         * math/k_casinhl.c (__kernel_casinhl): Likewise.
480         * math/libm-test.inc (cacos_test): Add more tests.
481         (casin_test): Likewise.
482         (casinh_test): Likewise.
483         * sysdeps/i386/fpu/libm-test-ulps: Update.
484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
486 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
488         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
489         constants.
490         (norm): Likewise.
491         (denorm): Likewise.
492         (__dbl_mp): Likewise.
493         (add_magnitudes): Likewise.
494         (sub_magnitudes): Likewise.
495         (__add): Likewise.
496         (__sub): Likewise.
497         (__mul): Likewise.
498         (__sqr): Likewise.
499         (__inv): Likewise.
500         (__dvd): Likewise.
502         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
503         commented code.
504         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
505         (__dubcos): Likewise.
506         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
507         (__ieee754_acos): Likewise.
508         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
509         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
510         (__exp1): Likewise.
511         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
512         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
513         (log1): Likewise.
514         (my_log2): Likewise.
515         (checkint): Likewise.
516         * sysdeps/ieee754/dbl-64/e_remainder.c
517         (__ieee754_remainder): Likewise.
518         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
519         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
520         (bsloww): Likewise.
521         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
523         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
524         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
525         MANTISSA_STORE_T to store computations on mantissa.  Use
526         macros for rounding and division.
527         (denorm): Likewise.
528         (__dbl_mp): Likewise.
529         (add_magnitudes): Likewise.
530         (sub_magnitudes): Likewise.
531         (__mul): Likewise.
532         (__sqr): Likewise.
533         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
534         powers of two in terms of TWOPOW macro.
535         (mp_no): Make type of mantissa as MANTISSA_T.
536         [!RADIXI]: Define RADIXI.
537         [!TWO52]: Define TWO52.
538         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
540 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
542         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
543         llroundl symbol when building for PPC32.
545 2013-03-24  Mark H Weaver  <mhw@netris.org>
547         * manual/arith.texi (Normalization Functions): Fix prototypes for
548         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
550 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
552         [BZ #13889]
553         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
554         high value to check if expl overflow.
555         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
556         to check for underflow and overflow.
557         * math/libm-test.inc: Add exp test.
559 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
561         [BZ #11120]
562         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
563         with NOT_IN_libc.
565 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
567         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
568         symbol.
570 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
572         * math/gen-libm-test.pl (parse_args, special_functions): Properly
573         wrap blocks consisting of several statements.
575         * sysdeps/generic/math-tests.h: New file.
576         * sysdeps/i386/fpu/math-tests.h: Likewise.
577         * math/test-snan.c: Include it.
578         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
580 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
582         [BZ #15285]
583         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
584         (__ieee754_j0l): Do not improve calculations using cos of twice
585         input for inputs above LDBL_MAX / 2.0L.
586         (__ieee754_y0l): Likewise.
587         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
588         (__ieee754_j1l): Do not improve calculations using cos of twice
589         input for inputs above LDBL_MAX / 2.0L.
590         (__ieee754_y1l): Likewise.
591         * math/libm-test.inc (j0_test): Add another test.
592         (j1_test): Likewise.
593         (y0_test): Likewise.
594         (y1_test): Likewise.
595         * sysdeps/i386/fpu/libm-test-ulps: Update.
597 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
599         * Rules ($(objpfx)bench-%.c): Include code from a C source
600         file.
602 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
604         [BZ #15287]
605         * math/k_casinh.c (__kernel_casinh): Handle arguments with
606         imaginary part 1.0 and real part less than 0.5 specially.
607         * math/k_casinhf.c (__kernel_casinhf): Likewise.
608         * math/k_casinhl.c (__kernel_casinhl): Likewise.
609         * math/libm-test.inc (cacos_test): Add more tests.
610         (casin_test): Likewise.
611         (casinh_test): Likewise.
612         * sysdeps/i386/fpu/libm-test-ulps: Update.
613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
615 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
617         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
618         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
620 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
622         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
623         * config.make.in (config-cflags-sse4): Remove variable.
624         (config-cflags-avx): Likewise.
625         (config-cflags-sse2avx): Likewise.
626         (config-cflags-novzeroupper): Likewise.
627         (config-asflags-i686): Likewise.
628         (have-mfma4): Likewise.
629         (have-as-vis3): Likewise.
630         (MIG): Likewise.
631         * configure.in (MIG): Do not AC_SUBST.
632         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
633         (libc_cv_cc_sse4): Do not AC_SUBST.
634         (libc_cv_cc_avx): Likewise.
635         (libc_cv_cc_sse2avx): Likewise.
636         (libc_cv_cc_novzeroupper): Likewise.
637         (libc_cv_cc_fma4): Likewise.
638         (libc_cv_as_i686): Likewise.
639         (libc_cv_sparc_as_vis3): Likewise.
640         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
641         LIBC_CONFIG_VAR.
642         (config-asflags-i686): Likewise.
643         (config-cflags-avx): Likewise.
644         (config-cflags-sse2avx): Likewise.
645         (have-mfma4): Likewise.
646         (config-cflags-novzeroupper): Likewise.
647         * sysdeps/mach/configure.in (MIG): Likewise.
648         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
649         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
650         LIBC_CONFIG_VAR.
651         (config-cflags-avx): Likewise.
652         (config-cflags-sse2avx): Likewise.
653         (have-mfma4): Likewise.
654         (config-cflags-novzeroupper): Likewise.
655         * configure: Regenerated.
656         * sysdeps/i386/configure: Likewise.
657         * sysdeps/mach/configure: Likewise.
658         * sysdeps/sparc/configure: Likewise.
659         * sysdeps/x86_64/configure: Likewise.
661 2013-03-20  Roland McGrath  <roland@hack.frob.com>
663         [BZ #14812]
664         * locale/programs/localedef.c (options): Put N_ translation marker
665         on argument names, not just descriptions.
667 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
669         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
671 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
673         [BZ #14176]
674         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
676 2013-03-19  Roland McGrath  <roland@hack.frob.com>
678         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
679         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
680         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
681         [!BEFORE_ABORT] (before_abort): New function.
682         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
683         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
684         (writev_for_fatal): New function.
685         (WRITEV_FOR_FATAL): New macro; call that.
686         (backtrace_and_maps): New function.
687         (BEFORE_ABORT): New macro; call that.
688         (struct str_list): Type removed.
689         (__libc_message, __libc_fatal): Functions removed.
690         Include <sysdeps/posix/libc_fatal.c> instead.
692 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
694         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
695         constants.
696         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
697         double constants.
699 2013-03-19  Andreas Schwab  <schwab@suse.de>
701         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
702         * sysdeps/gnu/configure: Regenerate.
704         * configure.in: Substitute libc_cv_rtlddir.
705         * configure: Regenerate.
706         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
707         * Makeconfig (rtlddir, inst_rtlddir): New variables.
708         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
709         * elf/Makefile (install-others, CFLAGS-interp.c)
710         (ldso_install, common-ldd-rewrite): Likewise.
711         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
712         $(inst_slibdir)/$(rtld-installed-name).
713         * scripts/rellns-sh: Add -p option.
714         * Makerules (make-shlib-link): Use rellns-sh to get relative name
715         for source.
717 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
719         * manual/nptl.texi: Renamed to ...
720         * manual/threads.texi: ... this.
721         * manual/Makefile (chapters): Update.
723 2013-03-18  Roland McGrath  <roland@hack.frob.com>
725         [BZ #14812]
726         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
727         on argument names, not just descriptions.
728         * malloc/memusagestat.c (options): Likewise.
729         * nss/getent.c (options): Likewise.
731 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
733         [BZ #14812]
734         * iconv/iconv_prog.c (options): Put N_ translation marker
735         on argument names, not just descriptions.
736         * iconv/iconvconfig.c (options): Likewise.
738 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
740         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
741         implementation which is faster on all x86_64 architectures.
742         Tested on AMD, Intel Nehalem, SNB, IVB.
743         * sysdeps/x86_64/strnlen.S: Likewise.
745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
746         Remove all multiarch strlen and strnlen versions.
747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
748         Remove strlen and strnlen related parts.
750         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
751         Inline strlen part.
752         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
754         * sysdeps/x86_64/multiarch/strlen.S: Remove.
755         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
756         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
757         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
758         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
759         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
761 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
763         * manual/memory.texi (Malloc Tunable Parameters):
764         Sort parameters alphabetically. Add comments for missing entries.
766 2013-03-17  David S. Miller  <davem@davemloft.net>
768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
770 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
772         [BZ #15283]
773         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
774         for arguments at most half maximum finite value.
775         * math/libm-test.inc (j0_test): Add more tests.
776         (j1_test): Likewise.
777         (y0_test): Likewise.
778         (y1_test): Likewise.
779         * sysdeps/i386/fpu/libm-test-ulps: Update.
780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
782         [BZ #14155]
783         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
784         1 / x and functions P and Q for arguments above 0x1p256L.
785         (__ieee754_y0l): Likewise.
786         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
787         (__ieee754_y1l): Likewise.
788         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
789         (j1_test): Likewise.
790         (y0_test): Likewise.
791         (y1_test): Likewise.
793 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
795         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
796         variable.
798 2013-03-15  Roland McGrath  <roland@hack.frob.com>
800         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
801         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
802         zero since it's initialized to EXEC_PAGESIZE.
804         * sysdeps/unix/sysv/linux/ldsodefs.h
805         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
806         * sysdeps/generic/ldsodefs.h: ... here.
808 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
810         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
812         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
813         math/test-snan.c.
814         * math/test-snan.c: Renamed from
815         sysdeps/powerpc/fpu/test-powerpc-snan.c.
816         * math/Makefile (tests): Add test-snan.
817         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
818         test-powerpc-snan.
820         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
821         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
822         functions.
823         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
824         __builtin_nan family of functions.
825         * math/libm-test.inc (initialize): Initialize qnan_value with
826         __builtin_nan family of functions.
827         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
828         Remove variables.
829         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
830         Remove functions.
831         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
832         storage class.  Initialize qNaN_var and sNaN_var with
833         __builtin_nan and __builtin_nans families of functions,
834         respectively.
836         * math/libm-test.inc (acosh_test): Also test with qNaN input.
837         (sqrt_test): Remove duplicate test with qNaN input.
838         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
839         (round_test, signbit_test, significand_test): Note missing +/-Inf
840         as well as qNaN tests.
842         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
843         qNaN_var.  Fix a few strings, too.
844         * math/libm-test.inc (nan_value): Rename to qnan_value.
845         * math/gen-libm-test.pl (%beautify): Adjust to that.
846         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
847         * math/test-misc.c (main): Likewise.
848         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
849         to __qnan_bytes, and __qnan_union, respectively.
850         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
851         Likewise.
852         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
853         and lqnanval, respectively.
854         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
855         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
856         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
857         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
859         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
860         * math/test-misc.c (main) [__x86_64__]: Enable test for long
861         doubles.
863         * math/test-misc.c (main): Fix copy'n'pastos.
864         * misc/tst-efgcvt.c (special): Likewise.
866         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
867         Remove declarations.
869 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
871         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
872         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
873         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
874         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
876 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
878         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
879         macro to return vdso values correctly in IFUNC implementations.
880         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
881         Optimization by using IFUNC.
883 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
884             Richard Henderson  <rth@redhat.com>
885             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
887         * Makefile.in (bench): New target.
888         * NEWS: Mention the benchmark framework.
889         * Rules (bench): Likewise.
890         (binaries-bench): Generate binaries for functions to
891         benchmark.
892         * benchtests/Makefile: New makefile for benchmark tests.
893         * benchtests/bench-skeleton.c: New skeleton file for benchmark
894         programs.
895         * benchtests/exp-inputs: New input file for EXP function.
896         * benchtests/pow-inputs: New input file for POW function.
897         * scripts/bench.pl: New script to generate source files for
898         benchmark programs.
900 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
902         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
903         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
904         computations on mantissa.  Use macros for rounding and
905         division.
906         (denorm): Likewise.
907         (__dbl_mp): Likewise.
908         (add_magnitudes): Likewise.
909         (sub_magnitudes): Likewise.
910         (__mul): Likewise.
911         (__sqr): Likewise.
912         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
913         powers of two in terms of TWOPOW macro.
914         (mp_no): Make type of mantissa as MANTISSA_T.
915         [!RADIXI]: Define RADIXI.
916         [!TWO52]: Define TWO52.
917         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
919         * manual/nptl.texi (cindex): Modify threads to pthreads.
921 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
923         * sysdeps/x86_64/preconfigure: Regenerated.
925 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
927         [BZ #14155]
928         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
929         0x1p28 and above.
930         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
931         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
932         0x1p28 and above.
933         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
934         * math/libm-test.inc (j0_test): Do not allow one spurious
935         underflow exception.
936         (y1_test): Likewise.
938 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
940         * manual/Makefile (chapters): Add nptl.
941         * manual/debug.texi (Debugging Support): Add link to Threads
942         chapter.
943         * manual/nptl.texi: New file.
945         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
947 2013-03-14  Petr Baudis  <pasky@ucw.cz>
949         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
950         for non-NULL pointer before the memory validity test. Pointed
951         out by Holger Brunck <holger.brunck@keymile.com>.
953 2013-03-13  Andreas Schwab  <schwab@suse.de>
955         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
956         instead of .os.
958 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
960         * timezone/zic.c: Update from tzcode 2013b.
962 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
964         * manual/install.texi (Configuring and compiling):
965         Mention i686 and i586.
966         * INSTALL: Regenerate.
968 2013-03-12  Roland McGrath  <roland@hack.frob.com>
970         * sysdeps/init_array/elf-init.c: New file.
971         * csu/elf-init.c
972         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
973         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
975         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
976         __gmon_start__ as global, but as static with a .preinit_array pointer.
977         * sysdeps/init_array/gmon-start.c: New file.  Use that.
978         * sysdeps/init_array/crti.S: New file, empty except for comments.
979         * sysdeps/init_array/crtn.S: Likewise.
981 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
983         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
984         definining bcopy.
985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
986         Remove Prefer_SSE_for_memop.
987         * sysdeps/x86_64/multiarch/init-arch.h: Remove
988         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
989         HAS_PREFER_SSE_FOR_MEMOP.
990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
991         memset-x86-64.
992         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
993         Remove bzero, memset ifunc support.
994         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
995         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
996         * sysdeps/x86_64/multiarch/memset.S: Likewise.
997         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
999 2013-03-11  Andreas Schwab  <schwab@suse.de>
1001         [BZ #15234]
1002         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1003         by SHLIB_COMPAT.
1004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1005         (GLIBC_2.16): Remove pthread_atfork.
1007 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1009         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1010         (ptestcases.h): Likewise.
1012 2013-03-08  Roland McGrath  <roland@hack.frob.com>
1014         * Makeconfig ($(common-objpfx)config.status): Depend on
1015         sysdeps/*/preconfigure{,.in} too.
1017 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1019         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1020         (__free_hook): Use void * instead of __malloc_ptr_t.
1021         (__malloc_hook): Likewise.
1022         (__realloc_hook): Likewise.
1023         (__memalign_hook): Likewise.
1024         (__after_morecore_hook): Likewise.
1025         * malloc/arena.c (save_malloc_hook): Likewise.
1026         (save_free_hook): Likewise.
1027         * malloc/hooks.c (malloc_hook_ini): Likewise.
1028         (realloc_hook_ini): Likewise.
1029         (memalign_hook_ini): Likewise.
1030         * malloc/malloc.c (malloc_hook_ini): Likewise.
1031         (realloc_hook_ini): Likewise.
1032         (memalign_hook_ini): Likewise.
1033         (__free_hook): Likewise.
1034         (__malloc_hook): Likewise.
1035         (__realloc_hook): Likewise.
1036         (__memalign_hook): Likewise.
1037         (__libc_malloc): Likewise.
1038         (__libc_free): Likewise.
1039         (__libc_realloc): Likewise.
1040         (__libc_memalign): Likewise.
1041         (__libc_valloc): Likewise.
1042         (__libc_pvalloc): Likewise.
1043         (__libc_calloc): Likewise.
1044         (__posix_memalign): Likewise.
1045         * malloc/morecore.c (__sbrk): Likewise.
1046         (__default_morecore): Likewise.
1048         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1050         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1051         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1052         __malloc_ptrdiff_t.
1054         * malloc/malloc.h (__malloc_size_t): Remove macro.
1055         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1056         __malloc_size_t.
1057         (old_memalign_hook): Likewise.
1058         (old_realloc_hook): Likewise.
1059         (struct hdr): Likewise.
1060         (flood): Likewise.
1061         (mallochook): Likewise.
1062         (memalignhook): Likewise.
1063         (reallochook): Likewise.
1064         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1065         (tr_old_realloc_hook): Likewise.
1066         (tr_old_memalign_hook): Likewise.
1067         (tr_mallochook): Likewise.
1068         (tr_reallochook): Likewise.
1069         (tr_memalignhook): Likewise.
1071 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1073         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1074         default_ldbl_pack and using as default implementation.
1075         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1076         implementation.
1077         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1078         redundant definition.
1079         (ldbl_insert_mantissa): Likewise.
1080         (ldbl_canonicalize): Likewise.
1081         (ldbl_nearbyint): Likewise.
1082         (ldbl_pack): Rename to ldbl_pack_ppc.
1083         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1084         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1085         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1087 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1090         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1091         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1092         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1094         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1095         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1096         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1098 2013-03-07  Andreas Jaeger  <aj@suse.de>
1100         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1101         bits/mman-linux.h.
1103 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1105         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1106         Include mpa.h and declare __MPEXP.
1107         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1108         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1109         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1110         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1111         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1112         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1113         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1115         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1116         (__slowpow): Use long double EXPL and LOGL functions to
1117         compute POW.
1118         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1119         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1120         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1121         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1122         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1123         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1125         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1126         intermediate variable to calculate exponent.
1127         (__sqr): Likewise.
1128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1129         Likewise.
1130         (__sqr): Likewise.
1132         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1133         [!NO__SQR]: Define __sqr.
1134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1135         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1136         sysdeps/ieee754/dbl-64/mpa.c.
1137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1139         [BZ #12723]
1140         * posix/Makefile (tests): Add tst-pathconf.
1141         * posix/tst-pathconf.c: New test case.
1142         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1143         _PC_PIPE_BUF.
1144         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1146 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1148         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1150 2013-03-06  Andreas Jaeger  <aj@suse.de>
1152         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1153         definition via __MAP_ANONYMOUS.
1155         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1156         it's not part of Linux headers.
1158         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1159         (MAP_HUGE_MASK): Define.
1161         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1162         Define.
1163         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1164         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1165         Define.
1166         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1167         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1168         Define.
1169         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1170         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1171         Define.
1172         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1174         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1175         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1176         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1177         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1178         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1179         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1181         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1182         Handle f2fs.
1184         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1185         Handle f2fs and efivarfs.
1187         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1188         f2fs.
1190         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1191         (EFIVARFS_MAGIC): Add.
1192         (F2FS_LINK_MAX): Add.
1194 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1196         * stdio-common/vfprintf.c: Replace __builtin_expect with
1197         __glibc_unlikely.
1199 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1201         [BZ #13550]
1202         * sysdeps/generic/bp-sym.h: Remove file.
1203         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1204         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1205         <bp-sym.h> and <bp-asm.h>.
1206         (__longjmp): Don't use BP_SYM.
1207         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1208         and <bp-asm.h>.
1209         (memcpy): Don't use BP_SYM.
1210         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1211         <bp-sym.h> and <bp-asm.h>.
1212         (memcpy): Don't use BP_SYM.
1213         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1214         <bp-asm.h>.
1215         (memcpy): Don't use BP_SYM.
1216         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1217         <bp-asm.h>.
1218         (memset): Don't use BP_SYM.
1219         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1220         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1221         (__bzero): Don't use BP_SYM.
1222         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1223         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1224         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1225         <bp-sym.h> and <bp-asm.h>.
1226         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1227         pointers.
1228         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1229         <bp-sym.h> and <bp-asm.h>.
1230         (memcpy): Don't use BP_SYM.
1231         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1232         <bp-sym.h> and <bp-asm.h>.
1233         (memset): Don't use BP_SYM.
1234         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1235         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1236         (__bzero): Don't use BP_SYM.
1237         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1238         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1239         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1240         <bp-sym.h> and <bp-asm.h>.
1241         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1242         pointers.
1243         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1244         <bp-sym.h> and <bp-asm.h>.
1245         (memcpy): Don't use BP_SYM.
1246         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1247         <bp-sym.h> and <bp-asm.h>.
1248         (memset): Don't use BP_SYM.
1249         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1250         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1251         (__bzero): Don't use BP_SYM.
1252         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1253         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1254         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1255         <bp-sym.h> and <bp-asm.h>.
1256         (__memchr): Don't use BP_SYM.
1257         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1258         <bp-sym.h> and <bp-asm.h>.
1259         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1260         pointers.
1261         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1262         <bp-sym.h> and <bp-asm.h>.
1263         (memcpy): Don't use BP_SYM.
1264         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1265         <bp-sym.h> and <bp-asm.h>.
1266         (__mempcpy): Don't use BP_SYM.
1267         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1268         <bp-sym.h> and <bp-asm.h>.
1269         (__memrchr): Don't use BP_SYM.
1270         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1271         <bp-sym.h> and <bp-asm.h>.
1272         (memset): Don't use BP_SYM.
1273         (__bzero): Likewise.
1274         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1275         <bp-sym.h> and <bp-asm.h>.
1276         (__rawmemchr): Don't use BP_SYM.
1277         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1278         <bp-sym.h> and <bp-asm.h>.
1279         (__STRCMP): Don't use BP_SYM.
1280         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1281         <bp-sym.h> and <bp-asm.h>.
1282         (strchr): Don't use BP_SYM.
1283         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1284         <bp-sym.h> and <bp-asm.h>.
1285         (__strchrnul): Don't use BP_SYM.
1286         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1287         <bp-sym.h> and <bp-asm.h>.
1288         (strlen): Don't use BP_SYM.
1289         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1290         <bp-sym.h> and <bp-asm.h>.
1291         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1292         pointers.
1293         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1294         <bp-sym.h> and <bp-asm.h>.
1295         (__strnlen): Don't use BP_SYM.
1296         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1297         <bp-sym.h> and <bp-asm.h>.
1298         (__GI__setjmp): Don't use BP_SYM.
1299         (_setjmp): Likewise.
1300         (__sigsetjmp): Likewise.
1301         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1302         (L(start_addresses)): Don't use BP_SYM.
1303         (_start): Likewise.
1304         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1305         <bp-asm.h>.
1306         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1307         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1308         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1309         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1310         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1311         <bp-asm.h>.
1312         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1313         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1314         about bounded pointers.
1315         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1316         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1317         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1318         <bp-asm.h>.
1319         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1320         about bounded pointers.  Remove GKM FIXME comments.
1321         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1322         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1323         <bp-asm.h>.
1324         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1325         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1326         Remove GKM FIXME comments.
1327         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1328         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1329         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1330         <bp-asm.h>.
1331         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1332         about bounded pointers.  Remove GKM FIXME comment.
1333         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1334         and <bp-asm.h>.
1335         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1336         pointers.
1337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1338         <bp-sym.h> and <bp-asm.h>.
1339         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1341         <bp-sym.h> and <bp-asm.h>.
1342         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1343         comment.
1345 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1347         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1348         call free(NULL).
1350 2013-03-05  David S. Miller  <davem@davemloft.net>
1352         * po/es.po: Update from translation team.
1354 2013-03-05  Andreas Jaeger  <aj@suse.de>
1356         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1357         <bits/mman-linux.h>.
1358         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1359         is fine.
1360         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1361         <bits/mman-linux.h> to end of file.
1362         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1363         is fine.
1364         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1365         <bits/mman-linux.h> to end of file.
1366         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1367         is fine.
1368         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1369         <bits/mman-linux.h> to end of file.
1371         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1372         (MCL_CURRENT, MCL_FUTURE): Define here.
1374 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1376         [BZ #15232]
1377         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1378         attribute_hidden.
1379         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1381 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1383         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1384         fourth parameter needed for rt_sigprocmask syscall.
1385         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1386         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1387         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1388         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1389         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1390         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1392 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1394         [BZ #13550]
1395         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1396         comment about bounded pointers.
1397         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1398         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1400 2013-03-04  Andreas Jaeger  <aj@suse.de>
1402         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1403         common definitions.
1405         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1406         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1407         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1408         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1409         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1410         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1412 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1414         [BZ #15055]
1415         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1416         __ieee754_sqrl instead of __sqrl.
1418 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1420         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1421         * sysdeps/powerpc/fpu_control.h: ... here.
1422         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1423         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1424         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1425         * sysdeps/powerpc/bits/mathinline.h: ... here.
1427 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1429         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1430         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1431         to just [NEED_DL_SYSINFO_DSO].
1432         * elf/dl-support.c: Likewise.
1433         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1434         * elf/rtld.c (dl_main): Likewise.
1435         * elf/setup-vdso.h (setup_vdso): Likewise.
1436         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1437         * sysdeps/unix/sysv/linux/dl-sysdep.c
1438         (_dl_discover_osversion): Likewise.
1440 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1442         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1443         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1445 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1447         * NEWS: Mention libm performance improvements and non-x86 PI
1448         futex support.
1450         * csu/libc-start.c (__pthread_initialize_minimal): Change
1451         function arguments.
1452         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1454 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1456         [BZ #13550]
1457         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1458         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1459         <bp-sym.h> and <bp-asm.h>.
1460         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1461         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1462         and <bp-asm.h>.
1463         (memcpy): Don't use BP_SYM.
1464         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1465         <bp-asm.h>.
1466         (__mpn_add_n): Don't use BP_SYM.
1467         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1468         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1469         and <bp-asm.h>.
1470         (__mpn_addmul_1): Don't use BP_SYM.
1471         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1472         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1473         <bp-sym.h>.
1474         (_setjmp): Don't use BP_SYM.
1475         (__novmx_setjmp): Likewise.
1476         (__GI__setjmp): Likewise.
1477         (__vmx_setjmp): Likewise.
1478         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1479         <bp-sym.h>.
1480         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1481         (__bzero): Don't use BP_SYM.
1482         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1483         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1484         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1485         <bp-sym.h> and <bp-asm.h>.
1486         (memcpy): Don't use BP_SYM.
1487         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1488         <bp-sym.h> and <bp-asm.h>.
1489         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1490         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1491         <bp-sym.h> and <bp-asm.h>.
1492         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1493         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1494         <bp-asm.h>.
1495         (__mpn_lshift): Don't use BP_SYM.
1496         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1497         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1498         <bp-asm.h>.
1499         (memset): Don't use BP_SYM.
1500         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1501         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1502         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1503         <bp-asm.h>.
1504         (__mpn_mul_1): Don't use BP_SYM.
1505         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1506         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1507         <bp-sym.h> and <bp-asm.h>.
1508         (memcmp): Don't use BP_SYM.
1509         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1510         <bp-sym.h> and <bp-asm.h>.
1511         (memcpy): Don't use BP_SYM.
1512         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1513         <bp-sym.h> and <bp-asm.h>.
1514         (memset): Don't use BP_SYM.
1515         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1516         <bp-sym.h> and <bp-asm.h>.
1517         (strncmp): Don't use BP_SYM.
1518         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1519         <bp-sym.h> and <bp-asm.h>.
1520         (memcpy): Don't use BP_SYM.
1521         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1522         <bp-sym.h> and <bp-asm.h>.
1523         (memset): Don't use BP_SYM.
1524         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1525         <bp-sym.h> and <bp-asm.h>.
1526         (__memchr): Don't use BP_SYM.
1527         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1528         <bp-sym.h> and <bp-asm.h>.
1529         (memcmp): Don't use BP_SYM.
1530         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1531         <bp-sym.h> and <bp-asm.h>.
1532         (memcpy): Don't use BP_SYM.
1533         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1534         <bp-sym.h> and <bp-asm.h>.
1535         (__mempcpy): Don't use BP_SYM.
1536         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1537         <bp-sym.h> and <bp-asm.h>.
1538         (__memrchr): Don't use BP_SYM.
1539         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1540         <bp-sym.h> and <bp-asm.h>.
1541         (memset): Don't use BP_SYM.
1542         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1543         <bp-sym.h> and <bp-asm.h>.
1544         (__rawmemchr): Don't use BP_SYM.
1545         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1546         <bp-sym.h> and <bp-asm.h>.
1547         (__STRCMP): Don't use BP_SYM.
1548         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1549         <bp-sym.h> and <bp-asm.h>.
1550         (strchr): Don't use BP_SYM.
1551         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1552         <bp-sym.h> and <bp-asm.h>.
1553         (__strchrnul): Don't use BP_SYM.
1554         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1555         <bp-sym.h> and <bp-asm.h>.
1556         (strlen): Don't use BP_SYM.
1557         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1558         <bp-sym.h> and <bp-asm.h>.
1559         (strncmp): Don't use BP_SYM.
1560         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1561         <bp-sym.h> and <bp-asm.h>.
1562         (__strnlen): Don't use BP_SYM.
1563         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1564         <bp-asm.h>.
1565         (__mpn_rshift): Don't use BP_SYM.
1566         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1567         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1568         <bp-sym.h> and <bp-asm.h>.
1569         (__sigsetjmp): Don't use BP_SYM.
1570         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1571         (L(start_addresses)): Don't use BP_SYM.
1572         (_start): Likewise.
1573         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1574         <bp-asm.h>.
1575         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1576         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1577         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1578         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1579         <bp-asm.h>.
1580         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1581         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1582         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1583         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1584         <bp-asm.h>.
1585         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1586         comments.
1587         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1588         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1589         <bp-asm.h>.
1590         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1591         FIXME comments.
1592         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1593         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1594         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1595         <bp-asm.h>.
1596         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1597         comment.
1598         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1599         and <bp-asm.h>.
1600         (strncmp): Don't use BP_SYM,
1601         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1602         <bp-asm.h>.
1603         (__mpn_sub_n): Don't use BP_SYM.
1604         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1605         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1606         and <bp-asm.h>.
1607         (__mpn_submul_1): Don't use BP_SYM.
1608         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1610         <bp-sym.h> and <bp-asm.h>.
1611         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1613         <bp-sym.h> and <bp-asm.h>.
1614         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1615         comment.
1617 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1619         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1620         Use ZK to minimize writes to Z.
1621         (sub_magnitudes): Simplify code a bit.
1622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1623         Use ZK to minimize writes to Z.
1624         (sub_magnitudes): Simplify code a bit.
1626 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1628         * csu/gmon-start.c: Add special exception to license text.
1630 2013-02-27  Richard Henderson  <rth@redhat.com>
1632         * scripts/config.guess: Update from config.git.
1633         * scripts/config.sub: Likewise.
1635 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1637         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1639         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1641         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1643         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1645         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1647 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1649         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1650         [$(build-shared = yes].
1652 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1654         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1655         (__mul): Reduce iterations for calculating mantissa.
1657         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1658         MPTWO.
1659         (__mpranred): Likewise.
1661         [BZ #15160]
1662         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1663         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1665 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1667         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1668         Define __attribute__.
1670 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1672         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1673         unused.
1674         * posix/regex_internal.h (__attribute): Remove.
1675         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1676         (re_string_context_at): Likewise.
1677         (bitset_not): Use __attribute__ and mark function as possibly
1678         unused.
1679         (bitset_merge): Likewise.
1680         (bitset_mask): Likewise.
1681         (re_string_char_size_at): Likewise.
1682         (re_string_wchar_at): Likewise.
1683         (re_string_elem_size_at): Likewise.
1685 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1687         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1688         code.
1689         (cc32): Likewise.
1691         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1692         (__acr): Likewise.
1693         (__cpy): Likewise.
1694         (norm): Likewise.
1695         (denorm): Likewise.
1696         (__dbl_mp): Likewise.
1697         (add_magnitudes): Likewise.
1698         (sub_magnitudes): Likewise.
1699         (__mul): Likewise.
1700         (__inv): Likewise.
1702         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1703         style.
1705         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1706         style.
1708         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1709         code.
1711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1712         up changes with default code.
1713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1714         Likewise.
1716 2013-02-24  Allan McRae  <allan@archlinux.org>
1718         * manual/socket.texi (The Internet Namespace): Order menu items
1719         to match that in the file.
1721         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1722         node listing of the info page menu.
1724 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1726         [BZ #13550]
1727         * sysdeps/i386/bp-asm.h: Remove file.
1728         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1729         (PARMS): Do not use macros from bp-asm.h.
1730         (S1): Likewise.
1731         (S2): Likewise.
1732         (SIZE): Likewise.
1733         (__mpn_add_n): Do not use BP_SYM
1734         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1735         "bp-asm.h".
1736         (PARMS): Do not use macros from bp-asm.h.
1737         (S1): Likewise.
1738         (SIZE): Likewise.
1739         (__mpn_addmul_1): Do not use BP_SYM
1740         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1741         "bp-asm.h".
1742         (PARMS): Do not use macros from bp-asm.h.
1743         (SIGMSK): Likewise.
1744         (_setjmp): Likewise.  Do not use BP_SYM.
1745         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1746         "bp-asm.h".
1747         (PARMS): Do not use macros from bp-asm.h.
1748         (SIGMSK): Likewise.
1749         (setjmp): Likewise.  Do not use BP_SYM.
1750         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1751         "bp-asm.h".
1752         (PARMS): Do not use macros from bp-asm.h.
1753         (__frexp): Do not use BP_SYM.
1754         (frexp): Likewise.
1755         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1756         "bp-asm.h".
1757         (PARMS): Do not use macros from bp-asm.h.
1758         (__frexpf): Do not use BP_SYM.
1759         (frexpf): Likewise.
1760         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1761         "bp-asm.h".
1762         (PARMS): Do not use macros from bp-asm.h.
1763         (__frexpl): Do not use BP_SYM.
1764         (frexpl): Likewise.
1765         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1766         "bp-asm.h".
1767         (PARMS): Do not use macros from bp-asm.h.
1768         (__remquo): Do not use BP_SYM.
1769         (remquo): Likewise.
1770         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1771         "bp-asm.h".
1772         (PARMS): Do not use macros from bp-asm.h.
1773         (__remquof): Do not use BP_SYM.
1774         (remquof): Likewise.
1775         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1776         "bp-asm.h".
1777         (PARMS): Do not use macros from bp-asm.h.
1778         (__remquol): Do not use BP_SYM.
1779         (remquol): Likewise.
1780         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1781         "bp-asm.h".
1782         (PARMS): Do not use macros from bp-asm.h.
1783         (DEST): Likewise.
1784         (SRC): Likewise.
1785         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1786         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1787         "bp-asm.h".
1788         (PARMS): Do not use macros from bp-asm.h.
1789         (strlen): Do not use BP_SYM.
1790         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1791         "bp-asm.h".
1792         (PARMS): Do not use macros from bp-asm.h.
1793         (S1): Likewise.
1794         (S2): Likewise.
1795         (SIZE): Likewise.
1796         (__mpn_add_n): Do not use BP_SYM.
1797         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1798         "bp-asm.h".
1799         (PARMS): Do not use macros from bp-asm.h.
1800         (S1): Likewise.
1801         (SIZE): Likewise.
1802         (__mpn_addmul_1): Do not use BP_SYM.
1803         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1804         weak_alias.
1805         (bzero): Likewise.
1806         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1807         "bp-asm.h".
1808         (PARMS): Do not use macros from bp-asm.h.
1809         (S): Likewise.
1810         (SIZE): Likewise.
1811         (__mpn_lshift): Do not use BP_SYM.
1812         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1813         "bp-asm.h".
1814         (PARMS): Do not use macros from bp-asm.h.
1815         (DEST): Likewise.
1816         (SRC): Likewise.
1817         (LEN): Likewise.
1818         (memcpy): Likewise.  Do not use BP_SYM.
1819         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1820         libc_hidden_def and weak_alias.
1821         (mempcpy): Do not use BP_SYM in weak_alias.
1822         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1823         "bp-asm.h".
1824         (PARMS): Do not use macros from bp-asm.h.
1825         (DEST): Likewise.
1826         (LEN): Likewise.
1827         [!BZERO_P] (CHR): Likewise.
1828         (memset): Likewise.  Do not use BP_SYM.
1829         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1830         "bp-asm.h".
1831         (PARMS): Do not use macros from bp-asm.h.
1832         (S1): Likewise.
1833         (SIZE): Likewise.
1834         (__mpn_mul_1): Do not use BP_SYM.
1835         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1836         "bp-asm.h".
1837         (PARMS): Do not use macros from bp-asm.h.
1838         (S): Likewise.
1839         (SIZE): Likewise.
1840         (__mpn_rshift): Do not use BP_SYM.
1841         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1842         "bp-asm.h".
1843         (PARMS): Do not use macros from bp-asm.h.
1844         (STR): Likewise.
1845         (CHR): Likewise.
1846         (strchr): Likewise.  Do not use BP_SYM.
1847         (index): Do not use BP_SYM in weak_alias.
1848         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1849         "bp-asm.h".
1850         (PARMS): Do not use macros from bp-asm.h.
1851         (DEST): Likewise.
1852         (SRC): Likewise.
1853         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1854         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1855         "bp-asm.h".
1856         (PARMS): Do not use macros from bp-asm.h.
1857         (strlen): Do not use BP_SYM.
1858         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1859         "bp-asm.h".
1860         (PARMS): Do not use macros from bp-asm.h.
1861         (S1): Likewise.
1862         (S2): Likewise.
1863         (SIZE): Likewise.
1864         (__mpn_sub_n): Do not use BP_SYM.
1865         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1866         "bp-asm.h".
1867         (PARMS): Do not use macros from bp-asm.h.
1868         (S1): Likewise.
1869         (SIZE): Likewise.
1870         (__mpn_submul_1): Do not use BP_SYM.
1871         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1872         "bp-asm.h".
1873         (PARMS): Do not use macros from bp-asm.h.
1874         (S1): Likewise.
1875         (S2): Likewise.
1876         (SIZE): Likewise.
1877         (__mpn_add_n): Do not use BP_SYM.
1878         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1879         weak_alias.
1880         (bzero): Likewise.
1881         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1882         "bp-asm.h".
1883         (PARMS): Do not use macros from bp-asm.h.
1884         (BLK2): Likewise.
1885         (LEN): Likewise.
1886         (memcmp): Do not use BP_SYM.
1887         (bcmp): Do not use BP_SYM in weak_alias.
1888         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1889         "bp-asm.h".
1890         (PARMS): Do not use macros from bp-asm.h.
1891         (DEST): Likewise.
1892         (SRC): Likewise.
1893         (LEN): Likewise.
1894         (memcpy): Likewise.  Do not use BP_SYM.
1895         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1896         "bp-asm.h".
1897         (PARMS): Do not use macros from bp-asm.h.
1898         (DEST): Likewise.
1899         (SRC): Likewise.
1900         (LEN): Likewise.
1901         (memmove): Likewise.  Do not use BP_SYM.
1902         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1903         "bp-asm.h".
1904         (PARMS): Do not use macros from bp-asm.h.
1905         (DEST): Likewise.
1906         (SRC): Likewise.
1907         (LEN): Likewise.
1908         (__mempcpy): Likewise.  Do not use BP_SYM.
1909         (mempcpy): Do not use BP_SYM in weak_alias.
1910         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1911         "bp-asm.h".
1912         (PARMS): Do not use macros from bp-asm.h.
1913         (DEST): Likewise.
1914         (LEN): Likewise.
1915         [!BZERO_P] (CHR): Likewise.
1916         (memset): Likewise.  Do not use BP_SYM.
1917         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1918         "bp-asm.h".
1919         (PARMS): Do not use macros from bp-asm.h.
1920         (STR2): Likewise.
1921         (strcmp): Do not use BP_SYM.
1922         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1923         "bp-asm.h".
1924         (PARMS): Do not use macros from bp-asm.h.
1925         (STR): Likewise.
1926         (DELIM): Likewise.
1927         [USE_AS_STRTOK_R] (SAVE): Likewise.
1928         (FUNCTION): Likewise.  Do not use BP_SYM.
1929         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1930         aliases.
1931         (strtok_r): Likewise.
1932         (__GI___strtok_r): Likewise.
1933         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1934         (PARMS): Do not use macros from bp-asm.h.
1935         (S): Likewise.
1936         (SIZE): Likewise.
1937         (__mpn_lshift): Do not use BP_SYM.
1938         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1939         (PARMS): Do not use macros from bp-asm.h.
1940         (STR): Likewise.
1941         (CHR): Likewise.
1942         (__memchr): Do not use BP_SYM.
1943         (memchr): Do not use BP_SYM in weak_alias.
1944         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1945         (PARMS): Do not use macros from bp-asm.h.
1946         (BLK2): Likewise.
1947         (LEN): Likewise.
1948         (memcmp): Do not use BP_SYM.
1949         (bcmp): Do not use BP_SYM in weak_alias.
1950         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1951         (PARMS): Do not use macros from bp-asm.h.
1952         (S1): Likewise.
1953         (SIZE): Likewise.
1954         (__mpn_mul_1): Do not use BP_SYM.
1955         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1956         "bp-asm.h".
1957         (PARMS): Do not use macros from bp-asm.h.
1958         (STR): Likewise.
1959         (CHR): Likewise.
1960         (__rawmemchr): Do not use BP_SYM.
1961         (rawmemchr): Do not use BP_SYM in weak_alias.
1962         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1963         (PARMS): Do not use macros from bp-asm.h.
1964         (S): Likewise.
1965         (SIZE): Likewise.
1966         (__mpn_rshift): Do not use BP_SYM.
1967         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1968         (PARMS): Do not use macros from bp-asm.h.
1969         (SIGMSK): Likewise.
1970         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1971         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1972         (_start): Do not use BP_SYM.
1973         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1974         (PARMS): Do not use macros from bp-asm.h.
1975         (DEST): Likewise.
1976         (SRC): Likewise.
1977         (__stpcpy): Likewise.  Do not use BP_SYM.
1978         (stpcpy): Do not use BP_SYM in weak_alias.
1979         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1980         "bp-asm.h".
1981         (PARMS): Do not use macros from bp-asm.h.
1982         (DEST): Likewise.
1983         (SRC): Likewise.
1984         (LEN): Likewise.
1985         (__stpncpy): Likewise.  Do not use BP_SYM.
1986         (stpncpy): Do not use BP_SYM in weak_alias.
1987         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1988         (PARMS): Do not use macros from bp-asm.h.
1989         (STR): Likewise.
1990         (CHR): Likewise.
1991         (strchr): Likewise.  Do not use BP_SYM.
1992         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1993         "bp-asm.h".
1994         (PARMS): Do not use macros from bp-asm.h.
1995         (STR): Likewise.
1996         (CHR): Likewise.
1997         (__strchrnul): Likewise.  Do not use BP_SYM.
1998         (strchrnul): Do not use BP_SYM in weak_alias.
1999         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2000         "bp-asm.h".
2001         (PARMS): Do not use macros from bp-asm.h.
2002         (STOP): Likewise.
2003         (strcspn): Do not use BP_SYM.
2004         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2005         "bp-asm.h".
2006         (PARMS): Do not use macros from bp-asm.h.
2007         (STR): Likewise.
2008         (STOP): Likewise.
2009         (strpbrk): Likewise.  Do not use BP_SYM.
2010         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2011         "bp-asm.h".
2012         (PARMS): Do not use macros from bp-asm.h.
2013         (STR): Likewise.
2014         (CHR): Likewise.
2015         (strrchr): Likewise.  Do not use BP_SYM.
2016         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2017         (PARMS): Do not use macros from bp-asm.h.
2018         (SKIP): Likewise.
2019         (strspn): Do not use BP_SYM.
2020         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2021         (PARMS): Do not use macros from bp-asm.h.
2022         (STR): Likewise.
2023         (DELIM): Likewise.
2024         (SAVE): Likewise.
2025         (FUNCTION): Likewise.  Do not use BP_SYM.
2026         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2027         aliases.
2028         (strtok_r): Likewise.
2029         (__GI___strtok_r): Likewise.
2030         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2031         (PARMS): Do not use macros from bp-asm.h.
2032         (S1): Likewise.
2033         (S2): Likewise.
2034         (SIZE): Likewise.
2035         (__mpn_sub_n): Do not use BP_SYM.
2036         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2037         "bp-asm.h".
2038         (PARMS): Do not use macros from bp-asm.h.
2039         (S1): Likewise.
2040         (SIZE): Likewise.
2041         (__mpn_submul_1): Do not use BP_SYM.
2042         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2043         <bp-sym.h>.
2044         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2045         and <bp-asm.h>.
2046         (PARMS): Do not use macros from bp-asm.h.
2047         (FLAGS): Likewise.
2048         (PTID): Likewise.
2049         (TLS): Likewise.
2050         (CTID): Likewise.
2051         (__clone): Do not use BP_SYM.
2052         (clone): Do not use BP_SYM in weak_alias.
2053         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2054         and <bp-asm.h>.
2055         (PARMS): Do not use macros from bp-asm.h.
2056         (LEN): Likewise.
2057         (__mmap64): Do not use BP_SYM.
2058         (mmap64): Do not use BP_SYM in weak_alias.
2059         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2060         <bp-sym.h> and <bp-asm.h>.
2061         (PARMS): Do not use macros from bp-asm.h.
2062         (__posix_fadvise64_l64): Do not use BP_SYM.
2063         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2064         (PARMS): Do not use macros from bp-asm.h.
2065         (NSOPS): Likewise.
2066         (semtimedop): Do not use BP_SYM.
2067         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2068         and <bp-asm.h>.
2070 2013-02-21  Allan McRae  <allan@archlinux.org>
2072         * manual/message.texi (Charset conversion in gettext):
2073         Move @end statement to beginning of line.
2075 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2078         static.
2079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2080         Likewise.
2082         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2083         (denorm): Likewise.
2084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2087 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2089         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2090         tail-call to the resolved function if pltexit isn't needed.
2092 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2095         or Y being zero as being unlikely.
2096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2097         Likewise.
2099 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2101         * manual/nss.texi (System Databases and Name Service Switch):
2102         Remove frobnicate @pxref.
2104 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2106         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2107         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2109 2013-02-20  Petr Machata  <pmachata@redhat.com>
2111         * elf/elf.h (R_ARM_TARGET1): New macro.
2112         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2113         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2114         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2115         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2116         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2117         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2118         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2119         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2120         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2121         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2122         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2123         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2124         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2125         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2126         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2127         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2128         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2129         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2130         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2131         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2132         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2133         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2134         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2135         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2136         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2137         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2138         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2139         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2140         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2141         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2142         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2143         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2144         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2145         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2146         (R_ARM_THM_GOT_BREL12): Likewise.
2147         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2148         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2149         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2150         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2151         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2152         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2153         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2154         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2155         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2157 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2159         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2160         __attribute_used__ to __attribute__ ((unused)).
2162 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2164         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2165         powerpc mpa.c.
2166         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2167         comment formatting.
2168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2170 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2172         [BZ #13550]
2173         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2174         Remove macro.
2175         (ENTER): Remove both macro definitions.
2176         (LEAVE): Likewise.
2177         (CHECK_BOUNDS_LOW): Likewise.
2178         (CHECK_BOUNDS_HIGH): Likewise.
2179         (CHECK_BOUNDS_BOTH): Likewise.
2180         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2181         (RETURN_BOUNDED_POINTER): Likewise.
2182         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2183         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2184         (POP_ERRNO_LOCATION_RETURN): Likewise.
2185         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2186         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2187         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2188         macros.
2189         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2190         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2191         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2192         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2193         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2194         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2195         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2196         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2197         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2198         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2199         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2200         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2201         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2202         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2203         removed macros.
2204         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2205         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2206         macros.
2207         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2208         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2209         * sysdeps/i386/i586/memset.S (memset): Likewise.
2210         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2211         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2212         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2213         macros.
2214         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2215         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2216         Change uses of L(2) to L(out).
2217         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2218         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2219         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2220         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2221         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2222         removed macros.
2223         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2224         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2225         macros.
2226         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2227         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2228         (RETURN): Do not use macro LEAVE.
2229         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2230         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2231         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2232         * sysdeps/i386/i686/memset.S (memset): Likewise.
2233         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2234         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2235         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2236         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2237         Likewise.
2238         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2239         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2240         L(1_2) and L(1_3) into L(1).
2241         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2242         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2243         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2244         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2245         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2246         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2247         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2248         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2249         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2250         macros.
2251         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2252         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2253         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2254         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2255         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2256         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2257         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2258         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2259         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2260         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2261         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2262         * sysdeps/i386/strspn.S (strspn): Likewise.
2263         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2264         conditional code.
2265         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2266         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2267         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2268         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2269         L(1_3) into L(1_1).
2270         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2271         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2272         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2273         macros.
2274         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2276 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2278         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2279         macro.
2281 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2283         * math/atest-exp.c (exp_mpn): Remove ROUND.
2284         * math/atest-exp2.c (exp_mpn): Likewise.
2285         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2287         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2288         * stdlib/tst-tls-atexit-lib.c: Likewise.
2289         * stdlib/tst-tls-atexit.c: Likewise.
2291 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2293         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2294         and __attribute_alloc_size__.
2296 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2298         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2299         __attribute_alloc_size__.
2300         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2301         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2303 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2305         * include/programs/xmalloc.h: New file.
2306         * catgets/gencat.c: Include it.
2307         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2308         * elf/pldd.c: Likewise.
2309         * iconv/iconv_charmap.c: Likewise.
2310         * iconv/iconvconfig.c: Likewise.
2311         * iconv/strtab.c: Likewise.
2312         * locale/programs/locale.c: Likewise.
2313         * locale/programs/localedef.h: Likewise.
2314         * locale/programs/simple-hash.c: Likewise.
2315         * nscd/nscd.h: Likewise.
2316         * nss/makedb.c: Likewise.
2317         * sysdeps/generic/ldconfig.h: Likewise.
2319 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2321         * Versions.def: Add GLIBC_2.18.
2322         * include/link.h (struct link_map): New member l_tls_dtor_count.
2323         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2324         (__call_tls_dtors): Likewise.
2325         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2326         __cxa_thread_atexit_impl.
2327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2328         Likewise.
2329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2330         Likewise.
2331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2332         Likewise.
2333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2334         Likewise.
2335         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2337         Likewise.
2338         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2339         Likewise.
2340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2342         Likewise.
2343         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2344         (tests): Add test case tst-tls-atexit.
2345         (modules-names): Add shared library for tst-tls-atexit.
2346         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2347         (GLIBC_PRIVATE): Add __call_tls_dtors.
2348         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2349         for libstdc++.
2350         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2351         * stdlib/tst-tls-atexit.c: New test case.
2352         * stdlib/tst-tls-atexit-lib.c: New test case.
2354         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2356         * elf/Versions (ld): Add _dl_find_dso_for_object.
2357         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2358         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2359         (dl_open_worker): Use _dl_find_dso_for_object.
2360         * elf/dl-sym.c (do_sym): Likewise.
2361         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2363 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2365         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2366         Syntactic changes only.
2367         (_dl_runtime_profile): Do a tail-call to the resolved function.
2369 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2371         [BZ #13550]
2372         * sysdeps/x86_64/bp-asm.h: Remove file.
2373         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2374         <bp-sym.h> and <bp-asm.h>.
2375         (__clone): Do not use BP_SYM.
2376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2377         <bp-sym.h> and <bp-asm.h>.
2378         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2379         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2380         "bp-asm.h".
2381         (_setjmp): Do not use BP_SYM.
2382         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2383         "bp-asm.h".
2384         (setjmp): Do not use BP_SYM.
2385         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2386         libc_hidden_def.
2387         (mempcpy): Do not use BP_SYM in weak_alias.
2388         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2389         "bp-asm.h".
2390         (strchr): Do not use BP_SYM.
2391         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2392         "bp-asm.h".
2393         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2394         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2395         (_start): Do not use BP_SYM.
2396         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2397         "bp-asm.h".
2398         (strcat): Do not use BP_SYM.
2399         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2400         "bp-asm.h".
2401         (STRCMP): Do not use BP_SYM.
2402         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2403         "bp-asm.h".
2404         (STRCPY): Do not use BP_SYM.
2405         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2406         "bp-asm.h".
2407         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2408         "bp-asm.h".
2409         (FUNCTION): Do not use BP_SYM.
2410         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2411         weak_alias.
2412         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2414 2013-02-17  Andreas Jaeger  <aj@suse.de>
2416         * time/Versions: Sort entries.
2417         * string/Versions: Likewise.
2418         * resolv/Versions: Likewise.
2419         * posix/Versions: Likewise.
2420         * iconv/Versions: Likewise.
2421         * elf/Versions: Likewise.
2422         * wcsmbs/Versions: Likewise.
2424 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2426         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2427         loop termination condition.
2429         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2430         variable to calculate EZ.
2431         (__sqr): Likewise.
2433         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2434         the lower precision input.
2436 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2438         [BZ #13550]
2439         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2440         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2441         (run-via-rtld-prefix): Do not handle %-bp tests.
2442         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2443         (all-object-suffixes): Remove .ob.
2444         (bppfx): Remove variable.
2445         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2446         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2447         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2448         [$(build-bounded) = yes] (libtype.ob): Likewise.
2449         * Makerules (elide-routines.ob): Remove variable.
2450         (do-tests-clean): Do not handle *-bp.out.
2451         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2452         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2453         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2454         (tests): Do not include $(tests-bp.out).
2455         (xtests): Do not include $(xtests-bp.out).
2456         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2457         [$(build-bounded) = yes] ($(addprefix
2458         $(objpfx),$(binaries-bounded))): Remove rule.
2459         ($(objpfx)%-bp.out): Remove rule.
2460         * config.make.in (build-bounded): Remove variable.
2461         * crypt/Makefile [$(build-bounded) = yes]
2462         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2463         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2464         append to variable.
2465         [$(build-bounded) = yes] (install-lib): Likewise.
2466         [$(build-bounded) = yes] (generated): Likewise.
2467         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2468         Remove rule.
2469         * intl/Makefile [$(build-bounded) = yes]
2470         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2471         * math/Makefile [$(build-bounded) = yes]
2472         ($(tests:%=$(objpfx)%-bp): Likewise.
2473         * misc/Makefile [$(build-bounded) = yes]
2474         ($(objpfx)tst-tsearch-bp): Likewise.
2475         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2476         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2477         Remove dependency.
2478         * string/Makefile (o-objects.ob): Remove variable.
2479         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2480         (CFLAGS-.ob): Remove variable.
2481         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2482         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2483         both definitions of variable.
2484         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2485         (ASFLAGS-.ob): Remove variable.
2487 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2489         [BZ #13550]
2490         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2491         Remove __BOUNDED_POINTERS__ from condition.
2492         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2493         * string/bits/string2.h [!__NO_STRING_INLINES &&
2494         !__BOUNDED_POINTERS__]: Likewise.
2495         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2496         Likewise.
2497         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2498         Remove conditional code.
2499         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2500         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2501         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2502         condition.
2504         [BZ #13550]
2505         * csu/libc-start.c: Do not include <bp-sym.h>.
2506         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2507         * elf/dl-open.c: Do not include <bp-sym.h>.
2508         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2509         * math/fegetenv.c: Do not include <bp-sym.h>.
2510         (fegetenv): Do not use BP_SYM in versioned symbols.
2511         * nptl/sysdeps/pthread/bits/libc-lockP.h
2512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2513         <bp-sym.h>.
2514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2515         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2517         (__pthread_mutex_destroy): Likewise.
2518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2519         (__pthread_mutex_lock): Likewise.
2520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2521         (__pthread_mutex_trylock): Likewise.
2522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2523         (__pthread_mutex_unlock): Likewise.
2524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2525         (__pthread_mutexattr_init): Likewise.
2526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2527         (__pthread_mutexattr_destroy): Likewise.
2528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2529         (__pthread_mutexattr_settype): Likewise.
2530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2531         (__pthread_rwlock_init): Likewise.
2532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2533         (__pthread_rwlock_destroy): Likewise.
2534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2535         (__pthread_rwlock_rdlock): Likewise.
2536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2537         (__pthread_rwlock_tryrdlock): Likewise.
2538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2539         (__pthread_rwlock_wrlock): Likewise.
2540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2541         (__pthread_rwlock_trywrlock): Likewise.
2542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2543         (__pthread_rwlock_unlock): Likewise.
2544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2545         (__pthread_key_create): Likewise.
2546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2547         (__pthread_setspecific): Likewise.
2548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2549         (__pthread_getspecific): Likewise.
2550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2551         Likewise.
2552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2553         (_pthread_cleanup_push_defer): Likewise.
2554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2555         (_pthread_cleanup_pop_restore): Likewise.
2556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2557         (pthread_setcancelstate): Likewise.
2558         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2559         <bp-sym.h>.
2560         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2561         (memchr): Do not use BP_SYM in weak_alias.
2562         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2563         (fegetenv): Do not use BP_SYM in versioned symbols.
2564         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2565         (fesetenv): Do not use BP_SYM in versioned symbols.
2566         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2567         (feupdateenv): Do not use BP_SYM in versioned symbols.
2568         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2569         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2570         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2571         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2572         (open64): Do not use BP_SYM in weak_alias.
2573         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2574         (fegetenv): Do not use BP_SYM in versioned symbols.
2575         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2576         (fesetenv): Do not use BP_SYM in versioned symbols.
2577         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2578         (feupdateenv): Do not use BP_SYM in versioned symbols.
2579         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2580         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2581         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2582         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2583         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2584         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2585         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2586         <bp-sym.h>.
2587         (__libc_start_main): Do not use BP_SYM.
2589 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2592         redundant return line.
2593         (norm): Likewise.
2594         (denorm): Likewise.
2595         (dbl_mp): Likewise.
2596         (sub_magnitudes): Likewise.
2597         (__add): Likewise.
2598         (__sub): Likewise.
2599         (__mul): Likewise.
2600         (__inv): Likewise.
2601         (__dvd): Likewise.
2602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2603         (norm): Likewise.
2604         (denorm): Likewise.
2605         (dbl_mp): Likewise.
2606         (sub_magnitudes): Likewise.
2607         (__add): Likewise.
2608         (__sub): Likewise.
2609         (__mul): Likewise.
2610         (__inv): Likewise.
2611         (__dvd): Likewise.
2613         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2614         instead of __mul.
2615         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2616         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2617         (cc32): Likewise.
2619         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2620         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2622         of __mul for squares.
2623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2624         function
2625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2626         Likewise.
2627         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2628         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2630 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2632         [BZ #13550]
2633         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2634         code.
2635         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2636         prototype or function definition.  Rename ubp_* variables and
2637         parameters.  Remove argv definitions conditional on
2638         [__BOUNDED_POINTERS__].
2639         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2640         * elf/dl-runtime.c (_dl_fixup): Likewise.
2641         * include/set-hooks.h (RUN_HOOK): Likewise.
2642         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2643         definition.
2644         * string/strcpy.c (strcpy): Do not use __unbounded.
2645         * sysdeps/generic/frame.h (struct layout): Likewise.
2646         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2647         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2648         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2649         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2650         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2651         (__backtrace): Likewise.
2652         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2653         use __ptrvalue.
2654         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2655         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2656         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2657         Likewise.
2658         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2659         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2660         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2661         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2662         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2663         Do not use __unbounded.
2664         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2665         Rename __unboundedrlimits parameter to rlimits in prototype.
2666         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2667         Do not use __unbounded.
2668         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2669         not use __ptrvalue.
2670         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2671         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2672         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2673         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2674         __ptrvalue or __unbounded.
2675         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2676         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2677         use __unbounded.
2678         (__new_msgctl): Do not use __ptrvalue.
2679         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2680         __unbounded.
2681         (__libc_msgrcv): Do not use __ptrvalue.
2682         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2683         startup_info): Do not use __unbounded.
2684         (__libc_start_main): Likewise.  Rename ubp_* variables and
2685         parameters.  Remove argv definitions conditional on
2686         [__BOUNDED_POINTERS__].
2687         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2688         __ptrvalue.
2689         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2690         use __unbounded.
2691         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2692         or __ptrvalue.
2693         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2694         use __unbounded.
2695         (__new_shmctl): Do not use __ptrvalue.
2696         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2697         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2698         Likewise.
2699         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2700         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2701         (__libc_sigaction): Likewise.
2702         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2703         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2704         Likewise.
2705         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2707 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2709         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2711         * string/mempcpy.c: Implement by calling memcpy.
2713 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2715         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2718         evaluation.
2720         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2721         values in the mantissa.
2723         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2724         minimize writes to Z.
2725         (sub_magnitudes): Simplify code a bit.
2727 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2729         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2730         from the message.  The linker prefixes all warnings with that already.
2732 2013-02-12  Andreas Schwab  <schwab@suse.de>
2734         [BZ #15078]
2735         * posix/regexec.c (extend_buffers): Add parameter min_len.
2736         (check_matching): Pass minimum needed length.
2737         (clean_state_log_if_needed): Likewise.
2738         (get_subexp): Likewise.
2739         * posix/Makefile (tests): Add bug-regex34.
2740         (bug-regex34-ENV): Define.
2741         * posix/bug-regex34.c: New file.
2743         [BZ #11561]
2744         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2745         elements compare against the byte sequence of it, not its name.
2746         * posix/Makefile (tests): Add bug-regex35.
2747         (bug-regex35-ENV): Define.
2748         * posix/bug-regex35.c: New file.
2750 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2752         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2753         comment.
2754         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2755         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2756         (CHECK_EOL): Add undef.
2758 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2760         * bits/stdlib-bsearch.h: New file.
2761         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2762         * stdlib/stdlib.h: Likewise.
2764 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2766         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2767         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2768         declaration.
2769         * manual/search.texi (Array Search Function): Add missing const in
2770         lfind prototype.
2771         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2772         declaration to use rlim_t.
2773         (Basic Scheduling Functions): Remove erroneous const from
2774         sched_getparam prototype.  Remove erroneous * from
2775         sched_get_priority_max and sched_get_priority_min prototypes.
2776         (Resource Usage): Fix summary @comment on vtimes to refer to
2777         sys/vtimes.h rather than vtimes.h.
2778         Add missing *s in vtimes prototype.
2779         (Limits on Resources): Fix ulimit prototype to return long int.
2780         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2781         prototypes to use long int rather than double.
2782         (BSD Random): Fix initstate and setstate to use char *, not void *.
2783         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2784         prototype to make second argument 'struct aiocb64 *const[]'.
2785         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2786         (Status of AIO Operations): Remove erroneous const in aio_return and
2787         aio_return64 prototypes.
2788         (Synchronizing I/O): Fix sync prototype to return void.
2789         * manual/startup.texi (Suboptions): Remove an erroneous const in
2790         getsubopt prototype.
2791         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2792         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2793         use size_t rather than int.
2794         (Scanning All Users): Likewise for getpwent_r.
2795         (Setting Groups): Add missing const to setgroups prototype.
2796         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2797         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2798         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2799         'const void *' rather than 'const char *'.
2800         (Host Address Functions): Likewise for inet_ntop.
2801         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2802         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2803         ssize_t for return value.
2804         (Sending Data): Likewise for send, sendto, sendmsg.
2805         (Socket Option Functions): Add a missing const in setsockopt prototype.
2806         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2807         use wchar_t for the argument.
2808         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2809         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2810         take no arguments.
2811         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2812         double/float/long double for second argument.
2813         Fix return types of significand, significandf, significandl.
2814         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2815         argument in fchmod prototype.
2816         (File Owner): Use uid_t and gid_t in fchown prototype.
2817         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2818         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2819         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2820         use 'const struct dirent **' as argument types to CMP function pointer
2821         argument.
2822         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2823         (File Times): Fix summary magic @comment for struct utimbuf and utime
2824         to refer to utime.h, not time.h.
2825         * manual/string.texi (Argz Functions): Add missing const in
2826         argz_extract and argz_next prototypes.
2827         (Finding Tokens in a String): Likewise for basename.
2828         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2829         (Copying and Concatenation): Fix typo in wmemmove prototype.
2830         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2831         (Signal Stack): Remove erroneous const in sigstack prototype.
2832         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2833         prototype.
2834         (Simple Calendar Time): Likewise for stime.
2835         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2836         prototype.
2837         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2838         say sys/sysctl.h instead.
2839         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2840         and vsyslog prototypes.
2842 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2844         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2845         Remove.
2847 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2849         * misc/sys/mman.h: Fix typo in mremap comment.
2851 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2853         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2854         the '\0' terminator.
2856 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2858         [BZ #13550]
2859         * debug/segfault.c: Don't include <bp-checks.h>.
2860         * sysdeps/generic/bp-checks.h: Remove file.
2861         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2862         (__GETDENTS): Don't use CHECK_N.
2863         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2864         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2865         (__getgroups): Don't use CHECK_N.
2866         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2867         (setgroups): Don't use CHECK_N.
2868         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2869         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2870         (__libc_msgrcv): Don't use CHECK_N.
2871         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2872         (__libc_msgsnd): Don't use CHECK_N.
2873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2874         <bp-checks.h>.
2875         (__libc_pread): Don't use CHECK_N.
2876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2877         include <bp-checks.h>.
2878         (__libc_pread64): Don't use CHECK_N.
2879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2880         include <bp-checks.h>.
2881         (__libc_pwrite): Don't use CHECK_N.
2882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2883         include <bp-checks.h>.
2884         (__libc_pwrite64): Don't use CHECK_N.
2885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2886         <bp-checks.h>.
2887         (__libc_pread): Don't use CHECK_N.
2888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2889         include <bp-checks.h>.
2890         (__libc_pread64): Don't use CHECK_N.
2891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2892         include <bp-checks.h>.
2893         (__libc_pwrite): Don't use CHECK_N.
2894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2895         include <bp-checks.h>.
2896         (__libc_pwrite64): Don't use CHECK_N.
2897         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2898         (do_pread): Don't use CHECK_N.
2899         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2900         (do_pread64): Don't use CHECK_N.
2901         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2902         (do_pwrite): Don't use CHECK_N.
2903         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2904         (do_pwrite64): Don't use CHECK_N.
2905         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2906         (__libc_readv): Don't use CHECK_N.
2907         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2908         (semop): Don't use CHECK_N.
2909         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2910         <bp-checks.h>.
2911         (semtimedop): Don't use CHECK_N.
2912         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2913         (__libc_pread): Don't use CHECK_N.
2914         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2915         <bp-checks.h>.
2916         (__libc_pread64): Don't use CHECK_N.
2917         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2918         <bp-checks.h>.
2919         (__libc_pwrite): Don't use CHECK_N.
2920         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2921         <bp-checks.h>.
2922         (__libc_pwrite64): Don't use CHECK_N.
2923         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2924         <bp-checks.h>.
2925         (__libc_msgrcv): Don't use CHECK_N.
2926         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2927         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2928         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2929         (__libc_writev): Don't use CHECK_N.
2931 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2933         * string/strcpy.c: Removed unused variable.
2935         * Makeconfig (+sysdep-includes): Define with := rather than =.
2936         Use an existing include/ subdir of each sysdeps dir before it.
2938 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2940         * nscd/connection.c (register_traced_file): Comment function.
2941         [HAVE_INOTIFY] (union __inev): Define.
2942         [HAVE_INOTIFY] (inotify_check_files): New function.
2943         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2944         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2945         clear_db_cache.
2946         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2948 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2950         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2951         loaded if not already and that a failure is permanent.
2953 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2955         [BZ #15006]
2956         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2957         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2959 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2961         [BZ #13550]
2962         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2963         (CHECK_1_NULL_OK): Likewise.
2964         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2965         (__fxstat): Do not use CHECK_1.
2966         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2967         <bp-checks.h>.
2968         (___fxstat64): Do not use CHECK_1.
2969         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2970         <bp-checks.h>.
2971         (__fxstatat): Do not use CHECK_1.
2972         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2973         <bp-checks.h>.
2974         (__fxstatat64): Do not use CHECK_1.
2975         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2976         <bp-checks.h>.
2977         (__fxstat): Do not use CHECK_1.
2978         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2979         <bp-checks.h>.
2980         (__fxstatat): Do not use CHECK_1.
2981         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2982         <bp-checks.h>.
2983         (__getresgid): Do not use CHECK_1.
2984         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2985         <bp-checks.h>.
2986         (__getresuid): Do not use CHECK_1.
2987         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2988         <bp-checks.h>.
2989         (__lxstat): Do not use CHECK_1.
2990         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2991         <bp-checks.h>.
2992         (__old_msgctl): Do not use CHECK_1.
2993         (__new_msgctl): Likewise.
2994         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2995         <bp-checks.h>.
2996         (__new_setrlimit): Do not use CHECK_1.
2997         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2998         <bp-checks.h>.
2999         (__old_shmctl): Do not use CHECK_1.
3000         (__new_shmctl): Likewise.
3001         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3002         <bp-checks.h>.
3003         (__xstat): Do not use CHECK_1.
3004         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3005         (__lxstat): Do not use CHECK_1.
3006         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3007         <bp-checks.h>.
3008         (___lxstat64): Do not use CHECK_1.
3009         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3010         (__old_msgctl): Do not use CHECK_1.
3011         (__new_msgctl): Likewise.
3012         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3013         <bp-checks.h>.
3014         (__gettimeofday): Do not use CHECK_1.
3015         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3016         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3017         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3018         <bp-checks.h>.
3019         (__gettimeofday): Do not use CHECK_1.
3020         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3021         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3022         (__new_shmctl): Do not use CHECK_1.
3023         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3024         <bp-checks.h>.
3025         (do_sigtimedwait): Do not use CHECK_1.
3026         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3027         <bp-checks.h>.
3028         (do_sigwaitinfo): Do not use CHECK_1.
3029         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3030         <bp-checks.h>.
3031         (msgctl): Do not use CHECK_1.
3032         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3033         <bp-checks.h>.
3034         (shmctl): Do not use CHECK_1.
3035         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3036         (ustat): Do not use CHECK_1.
3037         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3038         <bp-checks.h>.
3039         (__fxstat): Do not use CHECK_1.
3040         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3041         <bp-checks.h>.
3042         (__fxstatat): Do not use CHECK_1.
3043         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3044         <bp-checks.h>.
3045         (__lxstat): Do not use CHECK_1.
3046         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3047         <bp-checks.h>.
3048         (__xstat): Do not use CHECK_1.
3049         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3050         (__xstat): Do not use CHECK_1.
3051         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3052         (___xstat64): Do not use CHECK_1.
3054         [BZ #13550]
3055         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3056         definitions.
3057         (CHECK_BOUNDS_HIGH): Likewise.
3058         * string/strcpy.c: Do not include <bp-checks.h>.
3059         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3061 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3063         * nscd/nscd-client.h (__nscd_drop_map_ref):
3064         Add __attribute__ ((unused)).
3065         * nis/nss-nisplus.h (niserr2nss): Likewise.
3067         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3068         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3070         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3071         Remove inline keyword.
3072         * include/rounding-mode.h (round_away): Likewise.
3073         * libio/wfileops.c (adjust_wide_data): Likewise.
3074         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3075         (__m128i_strloadu_tolower): Likewise.
3076         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3077         (__m128i_strloadu_tolower): Likewise.
3078         * time/mktime.c (ydhms_diff): Likewise.
3079         * locale/elem-hash.h (elem_hash): Likewise.
3080         * locale/setlocale.c (setdata): Likewise.
3081         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3082         (re_string_wchar_at): Likewise.
3083         (bitset_not, bitset_merge, bitset_mask): Likewise.
3084         [!(__GNUC__ > 3)] (inline): Remove macro.
3085         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3086         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3087         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3088         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3089         * string/memcmp.c (memcmp_bytes): Likewise.
3090         * locale/programs/locarchive.c (compute_hashval): Likewise.
3091         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3092         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3093         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3094         * nss/getent.c (print_rpc, print_protocols): Likewise.
3095         (print_passwd, print_group, print_aliases): Likewise.
3096         * nis/nss-nisplus.h (niserr2nss): Likewise.
3097         * nscd/connections.c (restart_p): Likewise.
3098         Change return type to bool.
3100 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3102         * Makeconfig (all-Depend-files): Add existing
3103         $(sorted-subdirs:=/Depend) files.
3104         (all-subdirs): Remove nss.
3105         * sysdeps/unix/inet/Subdirs: Add it here instead.
3106         * hesiod/Depend: New file.
3108         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3109         instead of calling alloca.
3111         * io/lseek.c (__lseek): Rename to __libc_lseek.
3112         Define __lseek as an alias.
3114         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3116 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3118         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3119         else clause and remove check for non-standard endianness.
3121 2013-02-04  David S. Miller  <davem@davemloft.net>
3123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3125 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3127         [BZ #13550]
3128         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3129         (__ubp_memchr): Remove prototype.
3130         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3131         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3132         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3133         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3134         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3135         Remove alias.
3136         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3137         (__ubp_memchr): Likewise.
3138         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3139         (__ubp_memchr): Likewise.
3140         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3141         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3142         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3143         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3144         CHECK_STRING.
3145         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3146         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3147         (__getcwd): Do not use CHECK_STRING.
3148         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3149         <bp-checks.h>.
3150         (__real_chown): Do not use CHECK_STRING.
3151         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3152         <bp-checks.h>.
3153         (fchownat): Do not use CHECK_STRING.
3154         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3155         CHECK_STRING.
3156         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3157         <bp-checks.h>.
3158         (__lchown): Do not use CHECK_STRING.
3159         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3160         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3161         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3162         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3164         include <bp-checks.h>.
3165         (truncate64): Do not use CHECK_STRING.
3166         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3167         <bp-checks.h>.
3168         (__real_chown): Do not use CHECK_STRING.
3169         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3170         <bp-checks.h>.
3171         (__lchown): Do not use CHECK_STRING.
3172         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3173         <bp-checks.h>.
3174         (__chown): Do not use CHECK_STRING.
3175         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3176         <bp-checks.h>.
3177         (truncate64): Do not use CHECK_STRING.
3178         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3179         Likewise.
3180         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3181         (__xmknod): Do not use CHECK_STRING.
3182         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3183         <bp-checks.h>.
3184         (__xmknodat): Do not use CHECK_STRING.
3185         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3186         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3188 2013-02-04  Andreas Schwab  <schwab@suse.de>
3190         [BZ #14142]
3191         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3192         * include/netdb.h: Likewise for h_errno.
3193         * elf/tst-stackguard1.c: Include <tls.h>.
3195 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3197         * elf/link.h (struct link_map): Extend the l_addr comment.
3198         * include/link.h (struct link_map): Likewise.
3200 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3202         [BZ #13550]
3203         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3204         (BOUNDED_1): Remove macro.
3205         * debug/backtrace.c: Don't include <bp-checks.h>.
3206         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3207         (__backtrace): Likewise.
3208         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3209         <bp-checks.h>.
3210         (__backtrace): Don't use BOUNDED_1.
3211         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3212         <bp-checks.h>.
3213         (__backtrace): Don't use BOUNDED_1.
3214         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3215         (__backtrace): Don't use BOUNDED_1.
3216         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3217         (shmat): Don't use BOUNDED_N.
3219 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3221         [BZ #13550]
3222         * sysdeps/generic/bp-start.h: Remove file.
3223         * csu/libc-start.c: Don't include <bp-start.h>.
3224         (LIBC_START_MAIN): Set up __environ directly instead of using
3225         INIT_ARGV_and_ENVIRON.
3226         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3227         <bp-start.h>.
3229         [BZ #13550]
3230         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3231         definitions.
3232         (CHECK_FCNTL): Likewise.
3233         (CHECK_N_PAGES): Likewise.
3235         [BZ #13550]
3236         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3237         definitions.
3238         (CHECK_SIGSET_NULL_OK): Likewise.
3239         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3240         <bp-checks.h>.
3241         (sigpending): Don't use CHECK_SIGSET.
3242         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3243         <bp-checks.h>.
3244         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3245         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3246         <bp-checks.h>.
3247         (do_sigsuspend): Don't use CHECK_SIGSET.
3248         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3249         use CHECK_SIGSET.
3250         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3251         (do_sigwait): Don't use CHECK_SIGSET.
3252         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3253         use CHECK_SIGSET.
3254         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3255         include <bp-checks.h>.
3256         (sigpending): Don't use CHECK_SIGSET.
3257         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3258         include <bp-checks.h>.
3259         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3260         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3261         <bp-checks.h>.
3262         (sigpending): Don't use CHECK_SIGSET.
3263         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3264         <bp-checks.h>.
3265         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3267         [BZ #13550]
3268         * sysdeps/generic/bp-semctl.h: Remove file.
3269         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3270         <bp-checks.h> and <bp-semctl.h>.
3271         (__old_semctl): Don't use CHECK_SEMCTL.
3272         (__new_semctl): Likewise.
3273         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3274         and <bp-semctl.h>.
3275         (__old_semctl): Don't use CHECK_SEMCTL.
3276         (__new_semctl): Likewise.
3277         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3278         <bp-checks.h> and <bp-semctl.h>.
3279         (__old_semctl): Don't use CHECK_SEMCTL.
3280         (__new_semctl): Likewise.
3281         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3282         <bp-checks.h> and <bp-semctl.h>.
3283         (semctl): Don't use CHECK_SEMCTL.
3285         [BZ #13550]
3286         * Makerules (elide-bp-thunks): Remove variable.
3287         (elide-routines.oS): Don't use $(elide-bp-thunks).
3288         (elide-routines.os): Likewise.
3289         (elide-routines.o): Likewise.
3290         (elide-routines.op): Likewise.
3291         (elide-routines.og): Likewise.
3292         (objects): Don't use $(bp-thunks).
3293         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3294         include.
3295         (common-generated): Do not add s-proto-bp.d.
3296         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3297         (int): Likewise.
3298         (typ): Likewise.
3299         Do not generate makefile rules for bounded-pointer thunks.
3300         * sysdeps/generic/bp-thunks.h: Remove file.
3301         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3302         * sysdeps/unix/s-proto-bp.S: Likewise.
3304         [BZ #15062]
3305         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3306         parts of result separately when argument is not close to line from
3307         -i to i and one part of argument is small.
3308         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3309         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3310         * math/libm-test.inc (cacos_test): Add more tests.
3311         (casin_test): Likewise.
3312         (casinh_test): Likewise.
3313         * sysdeps/i386/fpu/libm-test-ulps: Update.
3314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3316 2013-01-31  David S. Miller  <davem@davemloft.net>
3318         * po/de.po: Update from translation team.
3320 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3322         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3324 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3326         * configure.in (_AC_PROG_CC_C89): New definition.
3327         * configure: Regenerate.
3329         * configure.in (AC_PROG_CPP): New definition.
3330         * configure: Regenerate.
3332 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3334         * debug/tst-backtrace.h: New file.
3335         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3336         (ret): Remove variable.
3337         (x): Likewise.
3338         (FAIL): Remove macro.
3339         (NO_INLINE): Likewise.
3340         (fn1): Use match function instead of strstr.
3341         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3342         (ret): Remove variable.
3343         (x): Likewise.
3344         (FAIL): Remove macro.
3345         (NO_INLINE): Likewise.
3346         (fn): Use match function instead of strstr.
3347         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3348         (ret): Remove variable.
3349         (x): Likewise.
3350         (FAIL): Remove macro.
3351         (NO_INLINE): Likewise.
3352         (handle_signal): Use match function instead of strstr.
3353         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3354         (ret): Remove variable.
3355         (x): Likewise.
3356         (FAIL): Remove macro.
3357         (NO_INLINE): Likewise.
3358         (handle_signal): Use match function instead of strstr.
3360 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3362         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3364 2013-01-23  David S. Miller  <davem@davemloft.net>
3366         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3367         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3368         argument of CAS if possible.
3369         * sysdeps/sparc/sparc64/bits/atomic.h
3370         (__arch_compare_and_exchange_val_32_acq): Likewise.
3371         (__arch_compare_and_exchange_val_64_acq): Likewise.
3373 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3375         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3376         * sysdeps/posix/ulimit.c: ... this.
3377         Include <limits.h>.
3378         * sysdeps/unix/bsd/ulimit.c: Remove file.
3380 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3382         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3383         (LDFLAGS-tst-array5): Likewise.
3385 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3387         [BZ #15036]
3388         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3389         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3390         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3391         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3393 2013-01-21  David S. Miller  <davem@davemloft.net>
3395         * sysdeps/sparc/backtrace.c: New file.
3396         * sysdeps/sparc/sparc32/backtrace.h: New file.
3397         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3398         * sysdeps/sparc/sparc64/backtrace.h: New file.
3399         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3400         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3401         -funwind-tables.
3403 2013-01-21  Andreas Schwab  <schwab@suse.de>
3405         [BZ #15020]
3406         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3407         closed its stdout.
3409 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3412         "mpa2.h".
3413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3415 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3416             Mark Mitchell  <mark@codesourcery.com>
3417             Tom de Vries  <tom@codesourcery.com>
3418             Paul Pluzhnikov  <ppluzhnikov@google.com>
3420         * debug/tst-backtrace2.c: New file.
3421         * debug/tst-backtrace3.c: Likewise.
3422         * debug/tst-backtrace4.c: Likewise.
3423         * debug/tst-backtrace5.c: Likewise.
3424         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3425         (CFLAGS-tst-backtrace3.c): Likewise.
3426         (CFLAGS-tst-backtrace4.c): Likewise.
3427         (CFLAGS-tst-backtrace5.c): Likewise.
3428         (LDFLAGS-tst-backtrace2): Likewise.
3429         (LDFLAGS-tst-backtrace3): Likewise.
3430         (LDFLAGS-tst-backtrace4): Likewise.
3431         (LDFLAGS-tst-backtrace5): Likewise.
3432         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3433         tst-backtrace4 and tst-backtrace5.
3435 2013-01-18  Anton Blanchard  <anton@samba.org>
3436             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3438         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3439         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3440         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3441         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3443         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3444         "+r" and remove output regs list as redundant.  Add explicit inline
3445         asm to specify register of return val to work around compiler codegen
3446         bug.  Remove (int) cast on return value.  Add return type parameter to
3447         use in macro so that this macro does not truncate return value for
3448         64-bit values.
3449         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3450         pass to INTERNAL_VSYSCALL_NCS.
3451         (INLINE_VSYSCALL): Add 'long int' as return type to
3452         INTERNAL_VSYSCALL_NCS macro invocation.
3453         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3454         INTERNAL_VSYSCALL_NCS macro invocation.
3455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3457 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3459         [BZ #14496]
3460         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3461         Fix application of SIMD FP exception mask.
3463         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3464         mp_no from a power of two.
3465         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3466         __mpexp_twomm1.  Use __pow_mp.
3468         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3469         multiplication.
3471 2013-01-17  David S. Miller  <davem@davemloft.net>
3473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3475 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3477         [BZ #15023]
3478         * include/complex.h: Condition contents on [!_COMPLEX_H].
3479         (__kernel_casinhf): New prototype.
3480         (__kernel_casinh): Likewise.
3481         (__kernel_casinhl): Likewise.
3482         * math/Makefile (libm_calls): Add k_casinh.
3483         * math/k_casinh.c: New file.
3484         * math/k_casinhf.c: Likewise.
3485         * math/k_casinhl.c: Likewise.
3486         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3487         finite nonzero arguments.
3488         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3489         finite nonzero arguments.
3490         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3491         finite nonzero arguments.
3492         * math/s_casinh.c: Do not include <float.h>.
3493         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3494         * math/s_casinhf.c: Do not include <float.h>.
3495         (__casinhf): Move code for finite nonzero arguments to
3496         k_casinhf.c.
3497         * math/s_casinhl.c: Do not include <float.h>.
3498         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3499         redefine.
3500         (__casinhl): Move code for finite nonzero arguments to
3501         k_casinhl.c.
3502         * math/libm-test.inc (cacos_test): Add more tests.
3503         * sysdeps/i386/fpu/libm-test-ulps: Update.
3504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3506 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3508         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3509         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3510         [!HAVE_MREMAP]: Remove [defined linux] case.
3511         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3513 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3515         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3517 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3519         * elf/elf.h (R_386_SIZE32): New relocation.
3520         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3521         R_386_SIZE32.
3522         (elf_machine_rela): Likewise.
3523         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3524         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3526 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3528         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3529         (FP_FAST_FMA): Do not define.
3530         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3531         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3532         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3533         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3534         !_SOFT_FLOAT]: Likewise.
3535         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3536         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3537         value.
3538         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3539         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3540         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3541         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3542         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3543         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3544         file.
3546 2013-01-16  Andreas Schwab  <schwab@suse.de>
3548         [BZ #14327]
3549         * include/stdlib.h (__mktemp): Add declaration.
3550         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3551         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3553 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3555         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3556         definitions.
3557         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3558         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3559         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3560         definitions here.
3561         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3562         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3563         definitions.
3564         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3565         and ONE.
3566         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3567         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3568         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3569         definitions.
3570         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3571         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3572         definitions.
3573         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3575         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3577 2013-01-15  David S. Miller  <davem@davemloft.net>
3579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3580         trunc{,f} to libm-sysdep_routes.
3581         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3583         file.
3584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3586         file.
3587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3588         file.
3589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3591         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3592         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3593         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3594         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3595         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3596         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3599         nearbyint{,f} to libm-sysdep_routes.
3600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3602         New file.
3603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3604         file.
3605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3606         New file.
3607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3608         file.
3609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3611         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3612         file.
3613         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3614         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3615         file.
3616         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3617         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3618         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3620         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3621         libc_feholdexcept and libc_fesetenv.
3623 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3625         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3627 2013-01-14  David S. Miller  <davem@davemloft.net>
3629         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3630         (SPARC_ASM_VIS2_IFUNC): Likewise.
3631         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3633         use of 'siam' instruction.
3634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3635         Likewise.
3636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3637         Likewise.
3638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3639         Likewise.
3640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3641         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3645         file.
3646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3647         file.
3648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3649         file.
3650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3651         file.
3652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3657         new VIS2 routines.
3658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3661         Likewise.
3662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3664         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3667         routines to libm-sysdep_routines.
3668         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3671         fdim/fdimf to libm-sysdep_routines.
3672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3673         file.
3674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3676         file.
3677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3680         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3681         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3682         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3683         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3685 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3687         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3688         to optimize copies.
3690         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3692         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3694         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3695         local variable MPTWO.
3696         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3697         Likewise.
3699 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3701         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3702         GLOB_NOESCAPE.
3704 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3706         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3708 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3710         * manual/pattern.texi (glob_t): Document gl_flags.
3711         (glob64_t): Likewise.
3713 2013-01-11  David S. Miller  <davem@davemloft.net>
3715         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3716         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3717         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3718         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3719         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3720         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3721         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3722         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3723         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3724         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3725         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3726         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3727         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3729         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3730         sparc V9 rather than using V8 code.
3731         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3732         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3734         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3735         Move to...
3736         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3737         Here.
3739 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3741         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3742         not in the main loop.
3743         * configure: Regenerated.
3745 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3747         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3748         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3749         to just #else.
3750         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3751         [!__GLIBC_HAVE_LONG_LONG] case.
3752         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3753         condition to just #else.
3754         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3755         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3756         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3757         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3758         unconditional.
3759         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3760         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3761         #elif condition to just #else.
3762         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3763         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3764         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3765         #elif condition to just #else.
3767 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3769         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3770         (EF_MIPS_ARCH_64): Fix value.
3771         (EF_MIPS_ARCH_32R2): New.
3772         (EF_MIPS_ARCH_64R2): New.
3774 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3776         * Makeconfig (+link-pie-before-libc): New.
3777         (+link-pie-after-libc): Likewise.
3778         (+link-pie-tests): Likewise.
3779         (+link-pie): Rewritten.
3780         (link-before-libc): Remove $(config-LDFLAGS).
3781         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3782         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3783         (config-LDFLAGS): Renamed to ...
3784         (rtld-LDFLAGS): This.
3785         (rtld-tests-LDFLAGS): New macro.
3786         (link-libc-rpath-link): Likewise.
3787         (link-libc-tests-rpath-link): Likewise.
3788         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3789         (link-libc): Prepand $(link-libc-rpath-link).
3790         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3791         (test-program-prefix): New macro.
3792         (test-via-rtld-prefix): Likewise.
3793         (test-program-cmd): Likewise.
3794         (host-test-program-cmd): Likewise.
3795         * Makefile ($(common-objpfx)testrun.sh): Replace
3796         $(run-program-prefix) with $(test-program-prefix).
3797         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3798         $(rtld-LDFLAGS).
3799         ($(common-objpfx)shlib.lds): Likewise.
3800         (build-module-helper): Likewise.
3801         ($(common-objpfx)format.lds): Likewise.
3802         * Rules (binaries-pie-tests): New.
3803         (binaries-pie-notests): Likewise.
3804         (binaries-pie): Rewritten.
3805         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3806         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3807         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3808         (make-test-out): Replace $(host-built-program-cmd) with
3809         $(host-test-program-cmd).
3810         * config.make.in (build-hardcoded-path-in-tests): New variable.
3811         * configure.in (--enable-hardcoded-path-in-tests): New configure
3812         option.
3813         (hardcoded_path_in_tests): New AC_SUBST.
3814         * configure: Regenerated.
3815         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3816         $(built-program-cmd) with $(test-program-cmd).
3817         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3818         (test_program_cmd): This.
3819         * elf/Makefile ($(objpfx)order.out): Run test with
3820         $(test-program-prefix).
3821         ($(objpfx)order2.out): Likewise.
3822         ($(objpfx)tst-initorder.out): Likewise.
3823         ($(objpfx)tst-initorder2.out): Likewise.
3824         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3825         $(test-program-cmd).
3826         ($(objpfx)tst-array1-static.out): Likewise.
3827         ($(objpfx)tst-array2.out): Likewise.
3828         ($(objpfx)tst-array3.out): Likewise.
3829         ($(objpfx)tst-array4.out): Likewise.
3830         ($(objpfx)tst-array5.out): Likewise.
3831         ($(objpfx)tst-array5-static.out): Likewise.
3832         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3833         $(test-program-cmd).
3834         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3835         $(run-program-prefix) with $(test-program-prefix).
3836         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3837         (test_program_prefix): This.
3838         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3839         $(run-program-prefix) with $(test-program-prefix).
3840         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3841         (test_program_prefix): This.
3842         * iconvdata/tst-tables.sh: Likewise.
3843         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3844         $(run-program-prefix) with $(test-program-prefix).
3845         ($(objpfx)tst-translit.out): Likewise.
3846         ($(objpfx)tst-gettext2.out): Likewise.
3847         ($(objpfx)tst-gettext4.out): Likewise.
3848         ($(objpfx)tst-gettext6.out): Likewise.
3849         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3850         (test_program_prefix): This.
3851         * intl/tst-gettext2.sh: Likewise.
3852         * intl/tst-gettext4.sh  Likewise.
3853         * intl/tst-gettext6.sh: Likewise.
3854         * intl/tst-translit.sh: Likewise.
3855         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3856         with $(test-program-cmd).
3857         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3858         $(run-program-prefix) with $(test-program-prefix).
3859         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3860         (test_program_prefix): This.
3861         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3862         $(run-program-prefix) with $(test-program-prefix).
3863         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3864         (test_program_prefix): This.
3865         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3866         * posix/Makefile ($(objpfx)globtest.out): Replace
3867         $(run-via-rtld-prefix) and $(test-wrapper) with
3868         $(test-program-prefix) and $(test-via-rtld-prefix).
3869         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3870         $(test-program-prefix).
3871         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3872         $(host-test-program-cmd).
3873         (tst-spawn-ARGS): Likewise.
3874         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3875         $(test-program-prefix).
3876         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3877         (test_via_rtld_prefix): This.
3878         (test_wrapper): Renamed to ...
3879         (test_program_prefix): This.
3880         (run_program_prefix): Replaced by test_program_prefix.
3881         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3882         (test_program_prefix): This.
3883         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3884         with $(host-test-program-cmd).
3885         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3886         $(run-program-prefix) with $(test-program-prefix).
3887         ($(objpfx)tst-printf.out): Likewise.
3888         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3889         $(test-program-cmd).
3890         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3891         (test_program_prefix): This.
3892         * stdio-common/tst-unbputc.sh: Likewise.
3893         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3894         $(run-program-prefix) with $(test-program-prefix).
3895         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3896         (test_program_prefix): This.
3897         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3898         $(built-program-cmd) with $(test-program-cmd).
3900 2013-01-11  Andreas Jaeger  <aj@suse.de>
3902         [BZ #15003]
3903         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3904         value. Sync with Linux 3.7.
3906 2013-01-10  David S. Miller  <davem@davemloft.net>
3908         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3909         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3910         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3912 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3914         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3915         never set.
3916         * configure: Regenerated.
3918 2013-01-10  David S. Miller  <davem@davemloft.net>
3920         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3921         sparc V9 rather than using V8 code.
3922         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3923         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3925 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3927         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3928         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3929         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3930         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3931         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3932         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3933         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3934         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3935         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3936         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3937         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3938         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3939         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3940         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3941         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3942         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3943         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3944         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3945         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3946         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3947         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3948         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3949         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3950         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3951         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3952         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3953         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3955 2013-01-10  David S. Miller  <davem@davemloft.net>
3957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3959 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3961         * posix/Makefile (tests-static): New variable.
3962         (tests): Add $(tests-static).
3963         (tst-exec-static-ARGS): New variable.
3964         (tst-spawn-static-ARGS): Likewise.
3965         * posix/tst-exec-static.c: New file.
3966         * posix/tst-spawn-static.c: Likewise.
3967         * posix/tst-exec.c: Support run directly.
3968         * posix/tst-spawn.c: Likewise.
3970 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3972         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3973         long.
3974         * math/bits/mathcalls.h (llrint): Likewise.
3975         (llround): Likewise.
3976         * stdlib/stdlib.h (struct drand48_data): Likewise.
3977         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3978         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3979         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3980         Likewise.
3981         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3982         Likewise.
3983         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3984         (elf_greg_t): Likewise.
3985         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3986         (__jmp_buf): Likewise.
3987         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3988         definitions.
3989         (llrint): Likewise, for all definitions.
3990         (llrintl): Likewise.
3992         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3993         Remove [__GNUC__] condition.
3994         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3995         condition to just [__USE_ISOC99].
3996         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3998 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
4000         [BZ #14200]
4001         * sysdeps/unix/sysv/linux/x86/bits/environments.h
4002         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4003         defined.
4004         (_POSIX_V6_ILP32_OFF32): Likewise.
4005         (_XBS5_ILP32_OFF32): Likewise.
4006         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4007         (__ILP32_OFFBIG_LDFLAGS): Likewise.
4009 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4011         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4013         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4014         doubles __mpexp_twomm1.  Adjust usage.
4015         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4016         Remove.
4018 2013-01-10  Andreas Schwab  <schwab@suse.de>
4020         [BZ #14964]
4021         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4022         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4024 2013-01-09  David S. Miller  <davem@davemloft.net>
4026         [BZ #15003]
4027         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4028         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4029         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4030         TCP_FASTOPEN): Define.
4031         (tcp_repair_opt): New structure.
4032         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4033         enum values.
4034         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4035         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4036         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4037         (tcp_cookie_transactions): New structure.
4039 2013-01-09  Anton Blanchard  <anton@samba.org>
4041         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4042         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4043         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4044         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4046 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4048         * include/features.h (__USE_ANSI): Remove.
4050 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4052         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4054         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4056 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4058         * sysdeps/s390/fpu/libm-test-ulps: Update.
4060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4062         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4063         (__acr): Likewise.
4064         (__cpy): Likewise.
4065         (norm): Likewise.
4066         (denorm): Likewise.
4067         (__mp_dbl): Likewise.
4068         (__dbl_mp): Likewise.
4069         (add_magnitudes): Likewise.
4070         (sub_magnitudes): Likewise.
4071         (__add): Likewise.
4072         (__sub): Likewise.
4073         (__mul): Likewise.
4074         (__inv): Likewise.
4075         (__dvd): Likewise.
4076         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4077         (__acr): Likewise.
4078         (__cpy): Likewise.
4079         (norm): Likewise.
4080         (denorm): Likewise.
4081         (__mp_dbl): Likewise.
4082         (__dbl_mp): Likewise.
4083         (add_magnitudes): Likewise.
4084         (sub_magnitudes): Likewise.
4085         (__add): Likewise.
4086         (__sub): Likewise.
4087         (__mul): Likewise.
4088         (__inv): Likewise.
4089         (__dvd): Likewise.
4090         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4091         (__acr): Likewise.
4092         (__cpy): Likewise.
4093         (norm): Likewise.
4094         (denorm): Likewise.
4095         (__mp_dbl): Likewise.
4096         (__dbl_mp): Likewise.
4097         (add_magnitudes): Likewise.
4098         (sub_magnitudes): Likewise.
4099         (__add): Likewise.
4100         (__sub): Likewise.
4101         (__mul): Likewise.
4102         (__inv): Likewise.
4103         (__dvd): Likewise.
4105 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4107         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4108         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4109         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4110         2 && __USE_EXTERN_INLINES]: Likewise.
4112 2013-01-08  Andreas Jaeger  <aj@suse.de>
4114         [BZ# 14985]
4115         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4116         Remove.
4117         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4118         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4120 2013-01-07  Anton Blanchard  <anton@samba.org>
4122         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4123         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4124         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4125         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4126         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4127         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4128         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4129         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4131         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4132         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4133         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4134         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4135         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4136         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4137         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4138         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4139         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4140         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4141         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4142         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4143         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4144         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4145         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4146         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4147         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4148         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4149         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4150         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4151         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4152         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4154         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4155         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4156         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4157         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4158         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4159         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4160         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4161         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4162         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4163         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4164         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4166 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4168         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4169         (__MALLOC_PMT): Likewise.
4170         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4171         [__GNUC__], only on [_LIBC].
4172         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4173         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4174         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4175         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4176         forward declaration.
4177         (realloc_hook_ini): Likewise.
4178         (memalign_hook_ini): Likewise.
4179         (__libc_memalign): Do not use __MALLOC_PMT in variable
4180         declaration.
4181         (__libc_valloc): Likewise.
4182         (__libc_pvalloc): Likewise.
4183         (__libc_calloc): Likewise.
4184         (__posix_memalign): Likewise.
4186         [BZ #14996]
4187         * math/s_casinh.c: Include <float.h>.
4188         (__casinh): Do not do computation with squaring and square root
4189         for large arguments.
4190         * math/s_casinhf.c: Include <float.h>.
4191         (__casinhf): Do not do computation with squaring and square root
4192         for large arguments.
4193         * math/s_casinhl.c: Include <float.h>.
4194         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4195         (__casinhl): Do not do computation with squaring and square root
4196         for large arguments.
4197         * math/libm-test.inc (casin_test): Add more tests.
4198         (casinh_test): Likewise.
4199         * sysdeps/i386/fpu/libm-test-ulps: Update.
4200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4202 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4204         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4205         (__x86_64_raw_data_cache_size): Likewise.
4206         (__x86_64_data_cache_size_half): Likewise.
4207         (__x86_64_raw_data_cache_size_half): Likewise.
4208         (__x86_64_shared_cache_size): Likewise.
4209         (__x86_64_raw_shared_cache_size): Likewise.
4210         (__x86_64_shared_cache_size_half): Likewise.
4211         (__x86_64_raw_shared_cache_size_half): Likewise.
4212         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4213         to ...
4214         (__x86_data_cache_size): This.
4215         (__x86_64_raw_data_cache_size): Renamed to ...
4216         (__x86_raw_data_cache_size): This.
4217         (__x86_64_data_cache_size_half): Renamed to ...
4218         (__x86_data_cache_size_half): This.
4219         (__x86_64_raw_data_cache_size_half): Renamed to ...
4220         (__x86_raw_data_cache_size_half): This.
4221         (__x86_64_shared_cache_size): Renamed to ...
4222         (__x86_shared_cache_size): This.
4223         (__x86_64_raw_shared_cache_size): Renamed to ...
4224         (__x86_raw_shared_cache_size): This.
4225         (__x86_64_shared_cache_size_half): Renamed to ...
4226         (__x86_shared_cache_size_half): This.
4227         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4228         (__x86_raw_shared_cache_size_half): This.
4229         * sysdeps/x86_64/memcpy.S: Updated.
4230         * sysdeps/x86_64/memset.S: Likewise.
4231         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4232         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4233         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4235 2013-01-04  David S. Miller  <davem@davemloft.net>
4237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4239 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4241         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4242         1 to avoid redefinition warning.
4243         (__USE_GNU): Don't define.
4244         (init_signaling_nan): Protoize.
4246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4248 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4250         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4252         (__cpymn): Likewise.
4253         (norm): Remove commented code.
4254         (denorm): Likewise.
4255         (__mp_dbl): Likewise.
4256         (__inv): Likewise.
4257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4258         (__cpymn): Likewise.
4259         (norm): Remove commented code.
4260         (denorm): Likewise.
4261         (__mp_dbl): Likewise.
4262         (__inv): Likewise.
4264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4265         mp_no value for 1.0 and 2.0.
4266         (norm): Use RADIXI instead of radixi.d.
4267         (denorm): Likewise.
4268         (__mul): Use 0.0 instead of zero.d.
4269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4270         mp_no value for 1.0 and 2.0.
4271         (norm): Use RADIXI instead of radixi.d.
4272         (denorm): Likewise.
4273         (__mul): Use 0.0 instead of zero.d.
4275 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4277         [BZ #14994]
4278         * math/s_casinh.c (__casinh): Reduce finite argument to first
4279         quadrant then set signs of results at the end.
4280         * math/s_casinhf.c (__casinhf): Likewise.
4281         * math/s_casinhl.c (__casinhl): Likewise.
4282         * math/libm-test.inc (casin_test): Add more tests.
4283         (casinh_test): Likewise.
4284         * sysdeps/i386/fpu/libm-test-ulps: Update.
4285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4287 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4289         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4291         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4293         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4294         declarations.
4295         (denorm): Likewise.
4296         (__mp_dbl): Likewise.
4297         (__inv): Likewise.
4299         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4300         and adjust the header comment.
4302         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4303         variable name from declaration.
4305 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4308         Initialize COMMON_CPUID_INDEX_7 element.
4309         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4310         (CPUID_RTM): Likewise.
4311         (HAS_RTM): Likewise.
4312         (COMMON_CPUID_INDEX_7): New enum.
4314 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4316         [BZ #14981]
4317         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4318         size is zero, record memory as freed.
4320 2013-01-03  Andreas Jaeger  <aj@suse.de>
4322         * po/ia.po: Add new Interlingua translation.
4324 2012-01-03  Allan McRae  <allan@archlinux.org>
4326         * locale/programs/localedef.c: Fix description of '--posix' flag.
4328 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4330         * NEWS: Update dates in second copyright notice.
4331         * README: Update copyright dates in example.
4332         * manual/libc.texinfo: Update copyright dates.
4333         * scripts/test-installation.pl: Update copyright date in --version
4334         output.
4336         * hurd/ctty-input.c: Fix copyright notice formatting.
4337         * hurd/ctty-output.c: Likewise.
4338         * hurd/dtable.c: Likewise.
4339         * hurd/hurd-raise.c: Likewise.
4340         * hurd/hurdprio.c: Likewise.
4341         * hurd/msgportdemux.c: Likewise.
4342         * misc/sys/file.h: Likewise.
4343         * misc/sys/ioctl.h: Likewise.
4344         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4345         * sysdeps/mach/hurd/chdir.c: Likewise.
4346         * sysdeps/mach/hurd/fchdir.c: Likewise.
4347         * sysdeps/mach/hurd/rename.c: Likewise.
4348         * sysdeps/mach/hurd/rmdir.c: Likewise.
4349         * sysdeps/mach/hurd/seekdir.c: Likewise.
4350         * sysdeps/mach/hurd/setsid.c: Likewise.
4351         * sysdeps/posix/wait3.c: Likewise.
4353         * All files with FSF copyright notices: Update copyright dates
4354         using scripts/update-copyrights.
4355         * intl/plural.c: Regenerated.
4356         * locale/programs/charmap-kw.h: Likewise.
4357         * locale/programs/locfile-kw.h: Likewise.
4359 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4361         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4362         four values.
4364         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4365         calculation loop and add branch prediction.
4367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4368         check access beyond bounds of m1np.
4370         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4371         MPTWO.
4372         (__inv): Remove local variable MPTWO to use the global
4373         constant.
4374         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4375         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4376         variable MPTWO.
4377         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4378         MP3HALFS static const.
4380 2013-01-01  David S. Miller  <davem@davemloft.net>
4382         * po/ca.po: Update from translation team.
4384 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4386         * scripts/update-copyrights: New file.
4387         * Makeconfig: Reformat copyright notice.
4388         * ctype/ctype.h: Likewise.
4389         * debug/swprintf_chk.c: Likewise.
4390         * elf/dl-cache.c: Likewise.
4391         * elf/dl-debug.c: Likewise.
4392         * elf/dl-object.c: Likewise.
4393         * grp/initgroups.c: Likewise.
4394         * hurd/Makefile: Likewise.
4395         * hurd/hurd/signal.h: Likewise.
4396         * hurd/hurdfault.c: Likewise.
4397         * hurd/hurdioctl.c: Likewise.
4398         * hurd/hurdlookup.c: Likewise.
4399         * hurd/intr-msg.c: Likewise.
4400         * iconv/gconv_open.c: Likewise.
4401         * libio/swprintf.c: Likewise.
4402         * locale/lc-ctype.c: Likewise.
4403         * locale/nl_langinfo.c: Likewise.
4404         * mach/Machrules: Likewise.
4405         * mach/Makefile: Likewise.
4406         * malloc/obstack.h: Likewise.
4407         * manual/Makefile: Likewise.
4408         * manual/tsort.awk: Likewise.
4409         * misc/bits/stab.def: Likewise.
4410         * nis/nis_print_group_entry.c: Likewise.
4411         * nis/nis_table.c: Likewise.
4412         * nis/nss_compat/compat-pwd.c: Likewise.
4413         * nis/nss_compat/compat-spwd.c: Likewise.
4414         * po/Makefile: Likewise.
4415         * posix/fnmatch.c: Likewise.
4416         * posix/regex.h: Likewise.
4417         * resolv/Makefile: Likewise.
4418         * resolv/nss_dns/dns-network.c: Likewise.
4419         * resolv/res_hconf.c: Likewise.
4420         * scripts/gen-sorted.awk: Likewise.
4421         * soft-fp/soft-fp.h: Likewise.
4422         * stdio-common/printf.h: Likewise.
4423         * stdlib/monetary.h: Likewise.
4424         * stdlib/random.c: Likewise.
4425         * stdlib/random_r.c: Likewise.
4426         * sysdeps/generic/Makefile: Likewise.
4427         * sysdeps/gnu/Makefile: Likewise.
4428         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4429         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4430         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4431         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4432         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4433         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4434         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4435         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4436         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4437         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4438         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4439         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4440         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4441         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4442         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4443         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4444         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4445         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4446         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4447         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4448         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4449         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4450         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4451         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4452         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4453         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4454         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4455         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4456         * sysdeps/mach/hurd/errnos.awk: Likewise.
4457         * sysdeps/mach/hurd/fork.c: Likewise.
4458         * sysdeps/mach/hurd/getcwd.c: Likewise.
4459         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4460         * sysdeps/mach/hurd/mmap.c: Likewise.
4461         * sysdeps/mach/hurd/utimes.c: Likewise.
4462         * sysdeps/mach/hurd/xmknod.c: Likewise.
4463         * sysdeps/posix/profil.c: Likewise.
4464         * sysdeps/posix/readdir_r.c: Likewise.
4465         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4466         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4467         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4468         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4469         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4470         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4471         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4472         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4474         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4475         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4476         * sysdeps/pthread/lio_listio.c: Likewise.
4477         * sysdeps/sparc/dl-procinfo.h: Likewise.
4478         * sysdeps/unix/i386/sysdep.S: Likewise.
4479         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4480         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4481         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4482         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4484         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4485         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4486         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4487         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4488         * sysdeps/wordsize-32/divdi3.c: Likewise.
4489         * time/sys/time.h: Likewise.
4490         * wcsmbs/Makefile: Likewise.
4492 2013-01-01  David S. Miller  <davem@davemloft.net>
4494         * po/fr.po: Update from translation team.
4496         * catgets/gencat.c: Update copyright year.
4497         * csu/version.c: Likewise.
4498         * debug/catchsegv.sh: Likewise.
4499         * debug/pcprofiledump.c: Likewise.
4500         * debug/xtrace.sh: Likewise.
4501         * elf/ldconfig.c: Likewise.
4502         * elf/ldd.bash.in: Likewise.
4503         * elf/pldd.c: Likewise.
4504         * elf/sotruss.ksh: Likewise.
4505         * elf/sprof.c: Likewise.
4506         * iconv/iconv_prog.c: Likewise.
4507         * iconv/iconvconfig.c: Likewise.
4508         * locale/programs/locale.c: Likewise.
4509         * locale/programs/localedef.c: Likewise.
4510         * login/programs/pt_chown.c: Likewise.
4511         * malloc/memusage.sh: Likewise.
4512         * malloc/memusagestat.c: Likewise.
4513         * malloc/mtrace.pl: Likewise.
4514         * nscd/nscd.c: Likewise.
4515         * nss/getent.c: Likewise.
4516         * nss/makedb.c: Likewise.
4517         * posix/getconf.c: Likewise.
4519 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4521         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4522         numbers.
4524 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4526         * math/bits/mathcalls.h (modf): Use __nonnull.
4528 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4530         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4531         (split): Use macro CN instead of the bare value.
4532         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4533         could be used.
4534         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4535         instead of the bare value.
4536         (power1): Likewise.
4538 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4540         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4541         __ATAN_TWOM.
4542         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4544         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4545         their values.
4546         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4547         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4548         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4549         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4551 2012-12-28  Andreas Jaeger  <aj@suse.de>
4553         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4554         values are from Linux 3.7.
4556         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4557         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4559 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4561         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4562         TRUE case.
4564         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4565         (norm): Likewise.
4566         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4567         variables with preprocessor constants.
4568         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4569         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4570         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4572 2012-12-27  Bruno Haible  <bruno@clisp.org>
4574         [BZ #14317]
4575         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4576         only if needed.
4578 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4581         and use variable directly.
4582         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4584         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4585         MPONE.
4586         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4587         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4588         variable MPONE.
4589         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4590         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4591         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4592         include directive.  Remove local variable MPONE.
4593         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4594         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4595         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4597 2012-12-25  David S. Miller  <davem@davemloft.net>
4599         * version.h (RELEASE): Set to "development".
4600         (VERSION): Set to "2.17.90".
4601         * NEWS: Add 2.18 section.
4603 2012-12-21  David S. Miller  <davem@davemloft.net>
4605         * po/hr.po: Update from translation team.
4607 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4609         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4611 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4613         * NEWS:  Mention new memcpy for MIPS.
4615 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4617         * manual/contrib.texi (Contributors): Spelling correction.
4619 2012-12-15  David S. Miller  <davem@davemloft.net>
4621         * po/ru.po: Update from translation team.
4623 2012-12-13  David S. Miller  <davem@davemloft.net>
4625         * NEWS: Mention IFUNC testsuite enhancements.
4627         * po/pl.po: Update from translation team.
4628         * po/bg.po: Likewise.
4630         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4631         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4633 2012-12-11  David S. Miller  <davem@davemloft.net>
4635         * po/sv.po: Update from translation team.
4637         * po/vi.po: Update from translation team.
4639         * po/cs.po: Update from translation team.
4641         * po/de.po: Update from translation team.
4642         * po/eo.po: Likewise.
4643         * po/nl.po: Likewise.
4645 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4647         [BZ #14246]
4648         * manual/argp.texi (Argp Helper Functions): Move node to follow
4649         Argp Parsing State.
4651         [BZ #14872]
4652         * manual/conf.texi (Limits on File System Capacity): Mention if
4653         terminating null is included in the max size.
4655 2012-12-10  Andreas Jaeger  <aj@suse.de>
4657         * po/cs.po: Update from translation team.
4659 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4661         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4662         void pointer and cast to uintptr_t.
4663         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4664         path.
4665         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4666         * sysdeps/s390/s390-64/memset.S: Likewise.
4668 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4670         [BZ #14833]
4671         * menual/message.texi (Message Translation): Fix typos.
4672         (Helper programs for gettext): Likewise.
4674 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4676         [BZ #14898]
4677         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4678         Change to -1.
4680 2012-12-07  David S. Miller  <davem@davemloft.net>
4682         * po/libc.pot: Update.
4684 2012-12-07  Richard Henderson  <rth@redhat.com>
4686         [BZ #10114]
4687         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4688         normal/normal case to before the switch.
4689         (_FP_DIV): Likewise.
4691 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4692             Mike Frysinger  <vapier@gentoo.org>
4694         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4695         check for __NR_fadvise64_64.
4697 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4699         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4700         0, not just to plain "0" as a statement.
4701         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4702         with cw.
4704 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4706         * NEWS: Use sourceware.org in Bugzilla URL.
4708 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4711         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4713         * stdio-common/tst-put-error.c (do_test): Add newline to the
4714         padded test to ensure flush.
4716 2012-12-05  Jeff Law  <law@redhat.com>
4718         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4720 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4722         * README: Don't refer to ports add-on as distributed separately.
4723         Mention AArch64 in list of systems supported in the ports add-on.
4725         * LICENSES: Add more non-FSF copyright and license notices.
4727         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4728         ((unused)).
4730         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4732         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4733         10000 as width of padded output.
4735 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4737         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4739         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4740         variable LX with __attribute__ ((unused)).
4741         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4742         Likewise.
4743         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4744         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4745         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4746         with __attribute__ ((unused)).
4748 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4750         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4752 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4754         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4755         (CFLAGS-nldbl-acos.c): New variable.
4756         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4757         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4758         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4759         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4760         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4761         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4762         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4763         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4764         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4765         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4766         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4767         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4768         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4769         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4770         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4771         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4772         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4773         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4774         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4775         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4776         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4777         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4778         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4779         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4780         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4781         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4782         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4783         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4784         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4785         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4786         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4787         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4788         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4789         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4790         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4791         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4792         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4793         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4794         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4795         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4796         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4797         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4798         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4799         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4800         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4801         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4802         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4803         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4804         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4805         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4806         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4807         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4808         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4809         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4810         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4811         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4812         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4813         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4814         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4815         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4816         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4817         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4818         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4819         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4820         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4821         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4822         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4823         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4824         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4825         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4826         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4827         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4828         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4829         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4830         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4831         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4832         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4833         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4834         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4835         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4836         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4837         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4838         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4839         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4840         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4841         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4842         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4843         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4844         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4845         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4846         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4847         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4848         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4849         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4850         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4851         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4852         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4855         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4857         [BZ #14914]
4858         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4859         whole low double instead of just low 47 bits when splitting values
4860         into two parts.
4862 2012-12-03  Allan McRae  <allan@archlinux.org>
4864         * manual/stdio.texi (Predefined Printf Handlers): Remove
4865         @hsep and @vsep usage.
4867 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4869         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4870         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4872 2012-12-03  Jeff Law  <law@redhat.com>
4874         * time/sys/time.h (settimeofday): Do not mark TV argument
4875         as __nonnull.
4877 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4879         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4880         when currently writing and seek to current position when not.
4881         * libio/Makefile (tests): Remove bug-fclose1.
4882         * libio/bug-fclose1.c: Delete.
4884 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4886         * manual/arith.texi (feenableexcept): Fix typo.
4887         (fedisableexcept): Likewise.
4889 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4891         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4892         second, differently-typed declaration, rather than a cast.
4894 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4896         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4897         * include/rpc/svc.h: ... here.
4899 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4901         [BZ #13013]
4902         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4903         depending n and resplen2 to catch cases where answer
4904         equals answerp2.
4906 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4908         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4909         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4911 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4913         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4915 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4917         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4919 2012-11-28  Jeff Law  <law@redhat.com>
4921         [BZ #13761]
4922         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4923         dataset_temporary.  Track alloca usage into alloca_used.
4924         If dataset is large allocate and release it via malloc/free.
4926 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4928         [BZ #14197]
4929         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4931 2012-11-28  David S. Miller  <davem@davemloft.net>
4933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4935 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4937         [BZ #14803]
4938         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4939         of pi/2 rounded to nearest to 64 bits.
4940         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4941         nearest to 64 bits.
4942         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4943         bits.
4945 2012-11-28  Jeff Law <law@redhat.com>
4946             Martin Osvald <mosvald@redhat.com>
4948         [BZ #14889]
4949         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4950         * sunrpc/svc.c: Include time.h.
4951         (__svc_accept_failed): New function.
4952         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4953         any reason other than EINTR, call __svc_accept_failed.
4954         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4955         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4957 2012-11-28  Andreas Schwab  <schwab@suse.de>
4959         * scripts/abilist.awk: Also handle indirect functions in .opd
4960         section.
4962 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4964         [BZ #13881]
4965         * sysdeps/x86/fpu/powl_helper.c: New file.
4966         * sysdeps/x86/fpu/Makefile: Likewise.
4967         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4968         (p3): New object.
4969         (__ieee754_powl): Use __powl_helper for finite arguments except
4970         integer exponents below 8.
4971         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4972         (p3): New object.
4973         (__ieee754_powl): Use __powl_helper for finite arguments except
4974         integer exponents below 8.
4975         * math/libm-test.inc (pow_test): Add more tests and enable some
4976         previously disabled tests.
4977         * sysdeps/i386/fpu/libm-test-ulps: Update.
4978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4980 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4981             Carlos O'Donell  <carlos_odonell@mentor.com>
4983         * nss/makedb.c (is_prime): Assert that input is odd and greater
4984         than 4.  Note that fact in a comment too.
4985         (next_prime): Add 4 to input.
4987 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4989         [BZ #11741]
4990         * libio/Makefile (tests): Add test case tst-fwrite-error.
4991         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4992         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4993         * libio/tst-fwrite-error.c: New test case.
4995 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4997         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4998         before casting to void *.
4999         * include/libc-internal.h (__pointer_type): New macro.
5000         (__integer_if_pointer_type_sub): Likewise.
5001         (__integer_if_pointer_type): Likewise.
5002         (cast_to_integer): Likewise.
5003         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5004         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5005         before casting to atomic64_t.
5006         (atomic_exchange_acq): Likewise.
5007         (__arch_exchange_and_add_body): Likewise.
5008         (__arch_add_body): Likewise.
5009         (atomic_add_negative): Likewise.
5010         (atomic_add_zero): Likewise.
5012 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
5014         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5015         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5016         (add_fdes): Likewise.
5017         (linear_search_fdes): Likewise.
5018         (binary_search_unencoded_fdes): Likewise.
5020 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5022         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5024 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5026         * configure.in: Autodetect C++ header directories.
5027         * configure: Regenerated.
5029 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5031         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5033 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5037 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5039         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5040         LDBL_MANT_DIG == 106]: Disable some tests.
5041         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5042         Likewise.
5043         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5044         Likewise.
5046         [BZ #14871]
5047         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5048         input for small inputs.  Return +/- pi/2 for large inputs.
5049         * math/libm-test.inc (atan_test): Add more tests.
5051         * sysdeps/generic/unwind-dw2-fde-glibc.c
5052         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5053         __attribute__ ((unused)).
5055         [BZ #14645]
5056         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5057         x * y if x and y are nonzero and z is zero.
5059         [BZ #14811]
5060         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5061         nonzero exponents with absolute value below 0x1p-117 to +/-
5062         0x1p-117.
5064         [BZ #14869]
5065         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5066         up arguments below 2**-450, not just those below 2**-500.
5067         * math/libm-test.inc (hypot_test): Add another test.
5069         [BZ #14868]
5070         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5071         Return a+b for ratio over 2**120, not 2**60.
5072         * math/libm-test.inc (hypot_test): Add another test.
5074         * math/libm-test.inc (clog_test): Use
5075         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5076         (clog10_test): Likewise.
5078         [BZ #6778]
5079         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5081 2012-11-22  Andreas Schwab  <schwab@suse.de>
5083         * sysdeps/i386/fpu/libm-test-ulps: Update.
5085 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5087         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5088         printf output with newline.
5090 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5092         [BZ #14865]
5093         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5094         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5095         -z nodlopen, -z initfirst and -z execstack support.
5096         * configure: Regenerated.
5098         * elf/elf.h (DF_1_NODIRECT): New macro.
5099         (DF_1_IGNMULDEF): Likewise.
5100         (DF_1_NOKSYMS): Likewise.
5101         (DF_1_NOHDR): Likewise.
5102         (DF_1_EDITED): Likewise.
5103         (DF_1_NORELOC): Likewise.
5104         (DF_1_SYMINTPOSE): Likewise.
5105         (DF_1_GLOBAUDIT): Likewise.
5106         (DF_1_SINGLETON): Likewise.
5107         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5108         DT_1_SUPPORTED_MASK bits.
5109         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5111 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5113         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5115 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5117         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5118         macro.
5120         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5121         (sendmmsg): Move declarations...
5122         * socket/sys/socket.h: ... here.
5123         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5124         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5125         include it from...
5126         * socket/recvmmsg.c: ... this new file.
5127         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5128         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5129         definition of __sendmmsg hidden.
5130         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5131         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5132         Move ENOSYS stub into and include it from...
5133         * socket/sendmmsg.c: ... this new file.
5134         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5135         (sysdep_routines): Move recvmmsg and sendmmsg...
5136         * socket/Makefile (routines): ... here.
5137         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5138         (GLIBC_PRIVATE): Add __sendmmsg.
5139         * include/sys/socket.h (__sendmmsg): Add declarations.
5140         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5141         sendmmsg.
5143 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5145         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5146         variable I1 with __attribute__ ((unused)).
5147         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5149 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5151         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5152         DUMMY variables with __attribute__ ((unused)).
5154         * bits/byteswap.h: Include <bits/types.h>.
5155         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5157 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5159         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5160         string_t.  Do not manually set errno.
5161         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5162         length with __strnlen.  Make sure to both set errno and return it on
5163         failure.
5165 2012-11-19  David S. Miller  <davem@davemloft.net>
5167         With help from Joseph Myers.
5168         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5169         very large arguments properly.
5170         * math/libm-test.inc (atan_test): New tests.
5171         (atan2_test): New tests.
5172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5173         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5175 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5177         [BZ #14856]
5178         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5179         Define to 3.
5181         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5182         [POSIX] (EADDRNOTAVAIL): Likewise.
5183         [POSIX] (EAFNOSUPPORT): Likewise.
5184         [POSIX] (EALREADY): Likewise.
5185         [POSIX] (ECONNABORTED): Likewise.
5186         [POSIX] (ECONNREFUSED): Likewise.
5187         [POSIX] (ECONNRESET): Likewise.
5188         [POSIX] (EDESTADDRREQ): Likewise.
5189         [POSIX] (EDQUOT): Likewise.
5190         [POSIX] (EHOSTUNREACH): Likewise.
5191         [POSIX] (EIDRM): Likewise.
5192         [POSIX] (EISCONN): Likewise.
5193         [POSIX] (ELOOP): Likewise.
5194         [POSIX] (EMULTIHOP): Likewise.
5195         [POSIX] (ENETDOWN): Likewise.
5196         [POSIX] (ENETUNREACH): Likewise.
5197         [POSIX] (ENOBUFS): Likewise.
5198         [POSIX] (ENODATA): Likewise.
5199         [POSIX] (ENOLINK): Likewise.
5200         [POSIX] (ENOMSG): Likewise.
5201         [POSIX] (ENOPROTOOPT): Likewise.
5202         [POSIX] (ENOSR): Likewise.
5203         [POSIX] (ENOSTR): Likewise.
5204         [POSIX] (ENOTCONN): Likewise.
5205         [POSIX] (ENOTSOCK): Likewise.
5206         [POSIX] (EOPNOTSUPP): Likewise.
5207         [POSIX] (EOVERFLOW): Likewise.
5208         [POSIX] (EPROTO): Likewise.
5209         [POSIX] (EPROTONOSUPPORT): Likewise.
5210         [POSIX] (EPROTOTYPE): Likewise.
5211         [POSIX] (ESTALE): Likewise.
5212         [POSIX] (ETIME): Likewise.
5213         [POSIX] (ETXTBSY): Likewise.
5214         [POSIX] (EWOULDBLOCK): Likewise.
5215         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5216         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5217         [POSIX] (SEEK_CUR): Likewise.
5218         [POSIX] (SEEK_END): Likewise.
5219         [POSIX || UNIX98] (mode_t): Do not require.
5220         [POSIX] (off_t): Likewise.
5221         [POSIX] (pid_t): Likewise.
5222         [POSIX] (sys/stat.h): Do not allow header.
5223         [POSIX] (unistd.h): Likewise.
5224         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5225         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5226         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5227         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5228         require.
5229         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5230         sigevent): Specify elements.
5231         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5232         entry.
5233         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5234         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5236         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5237         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5238         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5239         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5240         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5241         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5242         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5243         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5244         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5245         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5246         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5247         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5248         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5249         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5250         Likewise.
5251         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5252         Likewise.
5253         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5254         Likewise.
5255         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5256         Likewise.
5257         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5258         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5259         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5260         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5261         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5262         Specify lower bound on value.
5263         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5264         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5265         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5266         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5267         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5268         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5269         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5270         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5271         value.
5272         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5273         as optional.
5274         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5275         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5276         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5277         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5278         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5279         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5280         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5281         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5282         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5283         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5284         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5285         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5286         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5287         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5288         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5289         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5290         entry.
5291         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5292         optional.
5293         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5294         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5295         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5296         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5297         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5298         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5299         Likewise.
5300         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5301         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5302         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5303         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5304         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5305         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5306         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5307         as optional.
5308         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5309         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5310         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5311         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5312         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5313         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5314         specify as optional.
5315         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5316         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5317         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5318         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5319         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5320         [XPG3] (NL_LANGMAX): Likewise.
5321         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5322         [POSIX || XPG3] (NL_NMAX): Likewise.
5323         [POSIX || XPG3] (NL_SETMAX): Likewise.
5324         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5325         [XPG3] (NZERO): Likewise.
5326         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5327         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5328         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5329         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5330         (REG_ERANGE): Expect.
5331         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5332         optional-constant.
5333         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5334         Use (void) in prototype.
5335         [POSIX] (*_t): Allow.
5336         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5337         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5338         (WRDE_BADVAL): Expect.
5340         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5341         expect.
5342         [XPG3 || XPG4] (O_RSYNC): Likewise.
5343         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5344         Likewise.
5345         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5346         [XPG3 || XPG4] (sigqueue): Likewise.
5347         [XPG3 || XPG4] (sigtimedwait): Likewise.
5348         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5349         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5350         [XPG3 || XPG4] (vsnprintf): Likewise.
5351         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5352         Likewise.
5353         [XPG3 || XPG4] (blksize_t): Likewise.
5354         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5355         Likewise.
5356         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5357         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5358         [XPG3 || XPG4] (struct itimerspec): Likewise.
5359         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5360         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5361         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5362         [XPG3 || XPG4] (clockid_t): Likewise.
5363         [XPG3 || XPG4] (timer_t): Likewise.
5364         [XPG3 || XPG4] (clock_getres): Likewise.
5365         [XPG3 || XPG4] (clock_gettime): Likewise.
5366         [XPG3 || XPG4] (clock_settime): Likewise.
5367         [XPG3 || XPG4] (nanosleep): Likewise.
5368         [XPG3 || XPG4] (timer_create): Likewise.
5369         [XPG3 || XPG4] (timer_delete): Likewise.
5370         [XPG3 || XPG4] (timer_gettime): Likewise.
5371         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5372         [XPG3 || XPG4] (timer_settime): Likewise.
5373         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5374         [XPG3 || XPG4] (getlogin_r): Likewise.
5375         [XPG3 || XPG4] (pread): Likewise.
5376         [XPG3 || XPG4] (pthread_atfork): Likewise.
5377         [XPG3 || XPG4] (pwrite): Likewise.
5379         [BZ #14835]
5380         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5381         <bits/siginfo.h>.
5383 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5385         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5386         finalizing MALLSTREAM.
5388         * sysdeps/mach/hurd/syncfs.c: New file.
5390 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5392         [BZ #14719]
5393         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5394         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5395         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5396         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5397         (_nss_dns_gethostbyname4_r): Likewise.
5398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5399         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5401 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5403         [BZ #13763]
5404         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5406 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5408         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5409         * elf/cache.c (print_entry): Print ",AArch64" for
5410         FLAG_AARCH64_LIB64
5412         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5413         * elf/cache.c (print_entry): Print ",hard-float" for
5414         FLAG_ARM_LIBHF.
5416 2012-11-18  David S. Miller  <davem@davemloft.net>
5418         With help from Joseph Myers.
5419         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5420         cutoff to 2**-13.
5421         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5422         cutoff to 2**-25.
5423         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5424         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5425         small.
5426         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5427         * math/libm-test.inc (y0_test): New tests.
5428         (y1_test): New tests.
5429         * sysdeps/i386/fpu/libm-test-ulps: Update.
5430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5433 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5435         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5436         64-bit targets.
5437         * configure: Regenerated.
5439 2012-11-17  David S. Miller  <davem@davemloft.net>
5441         [BZ #14811]
5442         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5443         nonzero exponents with absolute value below 0x1p-128 to +/-
5444         0x1p-128.
5446 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5448         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5450         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5452         * posix/getconf-speclist.c: New file.
5453         * posix/posix-envs.def: Likewise.
5454         * posix/confstr.c (START_ENV_GROUP): New macro.
5455         (END_ENV_GROUP): Likewise.
5456         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5457         (KNOWN_PRESENT_ENV_STRING): Likewise.
5458         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5459         (UNKNOWN_ENVIRONMENT): Likewise.
5460         (confstr): Include posix-envs.def instead of handling
5461         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5462         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5463         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5464         (END_ENV_GROUP): Likewise.
5465         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5466         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5467         (UNKNOWN_ENVIRONMENT): Likewise.
5468         (__sysconf): Include posix-envs.def instead of handling associated
5469         cases directly here.
5470         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5471         preprocessing getconf-speclist.c rather than running getconf or
5472         generating empty file.
5474 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5476         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5478 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5480         [BZ #14672]
5481         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5483 2012-11-16  David S. Miller  <davem@davemloft.net>
5485         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5486         smaller than LDBL_EPSILON/2.0L, just return xm1.
5488 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5490         * elf/tst-array1.c (init): Set constructor priority to 1000.
5491         (fini): Set destructor priority to 1000.
5492         * elf/tst-array2dep.c: Likewise.
5494 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5496         [BZ #11741]
5497         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5498         (_IO_new_file_xsputn): Also return EOF if none of the input
5499         data was written when overflow failed.
5500         * libio/iopadn.c (_IO_padn): Likewise.
5501         * libio/iowpadn.c (_IO_wpadn): Likewise.
5502         * stdio-common/tst-put-error.c: Add copyright notice.
5503         (do_test): Add case for printing padded string.
5504         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5505         _IO_padn returned error.
5506         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5507         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5508         return EOF.
5510 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5512         * libio/libioP.h: Add comment note that the references to C++
5513         bits are now obsolete.
5515 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5517         * math/libm-test.inc (check_complex): Use asprintf.
5519 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5521         * debug/pcprofiledump.c (print_version): Update copyright year.
5522         * malloc/memusagestat.c (print_version): Likewise.
5524 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5526         [BZ #14831]
5527         * elf/Makefile (tests): Add tst-audit8.
5528         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5529         ($(objpfx)tst-audit8.out): New target.
5530         (tst-audit8-ENV): New variable.
5531         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5532         audit if l_reloc_result is NULL.
5533         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5534         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5535         * elf/tst-audit8.c: New file.
5537 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5539         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5540         * misc/Makefile (CFLAGS-select.c): Define.
5541         * posix/Makefile (CFLAGS-pause.c): Define.
5543 2012-11-13  David S. Miller  <davem@davemloft.net>
5545         * crypt/Makefile: Move test targets after toplevel Rules
5546         inclusion.  Grab any necessary sysdep routines when linking.
5547         * crypt/md5.c (md5_process_block): Remove define, we will always
5548         name it __md5_process_block.
5549         (md5_finish_ctx): Update md5_process_block call.
5550         (md5_stream): Likewise.
5551         (md5_process_bytes): Likewise.
5552         (md5_process_block): Rename to __md5_process_block and move to ...
5553         * crypt/md5-block.c: ... here.
5554         * crypt/sha256.c (sha256_process_block): Move to ...
5555         * crypt/sha256-block.c: ... here.
5556         * crypt/sha512.c (sha512_process_block): Move to ...
5557         * crypt/sha512-block.c: ... here.
5558         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5559         path.
5560         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5561         * sysdeps/sparc/sparc64/multiarch/Makefile
5562         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5563         crypt subdir.
5564         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5565         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5566         multiarch changes.
5567         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5568         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5569         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5570         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5571         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5572         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5573         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5574         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5575         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5576         file.
5577         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5578         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5579         file.
5580         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5582 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5584         * timezone/tzselect.ksh: Update from tzcode git revision
5585         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5586         * timezone/zdump.c: Likewise.
5587         * timezone/zic.c: Likewise.
5588         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5589         in TZVERSION setting, not $(PKGVERSION).
5590         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5591         REPORT_BUGS_TO settings.
5593         [BZ #14838]
5594         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5595         macro.
5597 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5599         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5600         detection to immediately after _FP_ROUND().
5601         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5602         bits are 0.
5604 2012-11-11  David S. Miller  <davem@davemloft.net>
5606         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5607         inttypes.h
5608         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5609         __close rather than their public counterparts.
5611 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5613         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5614         file.
5615         [UNIX98] (sem_timedwait): Do not expect.
5616         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5617         [XPG4 || UNIX98] (sockatmark): Do not expect.
5618         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5619         (clock_getcpuclockid): Do not expect.
5620         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5621         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5622         Do not expect.
5623         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5624         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5625         [UNIX98] (vwscanf): Likewise.
5626         [UNIX98] (vswscanf): Likewise.
5628 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5630         * timezone/version.h: Remove file.
5631         * timezone/README: Do not refer to version.h.
5632         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5633         $(objpfx)version.h.
5634         ($(objpfx)zdump.o): Likewise.
5635         ($(objpfx)version.h): New target.
5637         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5638         2012i.
5639         * timezone/README: Don't mention modification to tzselect.ksh.
5640         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5641         work on unmodified tzselect.ksh.  Substitute version numbers in
5642         tzselect.ksh.
5644         * Makefile (format-me): Remove.
5645         (INSTALL): Adjust indentation.  Use commands directly instead of
5646         using $(format-me).
5648         * aclocal.m4 (ACX_PKGVERSION): New macro.
5649         (ACX_BUGURL): Likewise.
5650         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5651         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5652         (REPORT_BUGS_TO): Likewise.
5653         * configure: Regenerated.
5654         * config.h.in (PKGVERSION): New macro.
5655         (REPORT_BUGS_TO): Likewise.
5656         * config.make.in (PKGVERSION): New variable.
5657         (PKGVERSION_TEXI): Likewise.
5658         (REPORT_BUGS_TO): Likewise.
5659         (REPORT_BUGS_TEXI): Likewise.
5660         * Makefile (format-me): Use -I$(common-objpfx)manual.
5661         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5662         ($(common-objpfx)manual/%): New target.
5663         (manual/%): Remove target.
5664         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5665         (print_version): Use PKGVERSION.
5666         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5667         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5668         and REPORT_BUGS_TO.
5669         ($(objpfx)xtrace): Likewise.
5670         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5671         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5672         (print_version): Use PKGVERSION.
5673         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5674         (do_version): Use PKGVERSION.
5675         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5676         REPORT_BUGS_TO.
5677         (common-ldd-rewrite): Likewise.
5678         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5679         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5680         (print_version): Use PKGVERSION.
5681         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5682         * elf/pldd.c (argp_program_bug_address): Remove variable.
5683         (more_help): New function.
5684         (argp): Use more_help.
5685         (print_version): Use PKGVERSION.
5686         * elf/sln.c (main): Use PKGVERSION.
5687         (usage): Use REPORT_BUGS_TO.
5688         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5689         (top level): Use PKGVERSION.
5690         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5691         (print_version): Use PKGVERSION.
5692         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5693         (print_version): Use PKGVERSION.
5694         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5695         (print_version): Use PKGVERSION.
5696         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5697         (print_version): Use PKGVERSION.
5698         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5699         (print_version): Use PKGVERSION.
5700         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5701         (print_version): Use PKGVERSION.
5702         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5703         and BUGURL.
5704         ($(objpfx)memusage): Likewise.
5705         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5706         (do_version): Use PKGVERSION.
5707         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5708         (print_version): Use PKGVERSION.
5709         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5710         ($PKGVERSION): New variable.
5711         ($REPORT_BUGS_TO): Likewise.
5712         (usage): Use $REPORT_BUGS_TO.
5713         (top level): Use $PKGVERSION.
5714         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5715         ($(objpfx)pkgvers.texi): New rule.
5716         ($(objpfx)stamp-pkgvers): Likewise.
5717         * manual/install.texi: Include pkgvers.texi.
5718         (--with-pkgversion): Document new configure option.
5719         (--with-bugurl): Likewise.
5720         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5721         than necessarily for this particular distribution.  Use
5722         REPORT_BUGS_TO for where to report bugs.
5723         * INSTALL: Regenerated.
5724         * manual/libc.texinfo: Include pkgvers.texi.
5725         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5726         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5727         (print_version): Use PKGVERSION.
5728         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5729         (print_version): Use PKGVERSION.
5730         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5731         (print_version): Use PKGVERSION.
5732         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5733         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5734         macro.
5735         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5736         (print_version): Use PKGVERSION.
5737         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5738         (print_version): Use PKGVERSION.
5739         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5740         and PKGVERSION.
5742         * timezone/checktab.awk: Update from tzcode 2012i.
5743         * timezone/ialloc.c: Likewise.
5744         * timezone/private.h: Likewise.
5745         * timezone/scheck.c: Likewise.
5746         * timezone/tzfile.h: Likewise.
5747         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5748         (TZVERSION): Hardcode tzcode version number.
5749         * timezone/zdump.c: Update from tzcode 2012i.
5750         * timezone/zic.c: Likewise.
5751         * timezone/version.h: New file.
5752         * timezone/README: Describe version.h.  Update upstream location.
5754         [BZ #14824]
5755         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5756         (mktemp): Enable declaration.
5757         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5758         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5759         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5760         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5761         Likewise.
5762         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5763         Likewise.
5764         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5765         Likewise.
5766         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5767         Likewise.
5768         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5769         Likewise.
5770         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5771         Likewise.
5773         [BZ #14821]
5774         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5775         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5776         for copies of such integer values.
5777         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5778         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5780 2012-11-09  Andreas Jaeger  <aj@suse.de>
5782         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5783         definitions and declarations that are provided by
5784         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5786 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5788         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5789         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5790         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5791         definition.
5793 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5795         * elf/elf.h: Update comment before AArch64 relocations.
5797 2012-11-07  David S. Miller  <davem@davemloft.net>
5799         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5800         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5801         (__start_context): Declare.
5802         (__makecontext_ret): Delete.
5803         (__makecontext): Hook up __start_context instead of
5804         __makecontext_ret.
5805         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5806         (sysdep_routines): Add __start_context when in stdlib.
5808 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5810         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5811         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5812         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5813         hardcoded "nm".
5814         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5815         (READELF): New variable.  Use it instead of hardcoded "readelf".
5817 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5819         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5820         * sysdeps/x86/Makefile: Here.
5821         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5822         * sysdeps/x86/tst-xmmymm.sh: This.
5824 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5826         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5827         expectations.
5828         [UNIX98] (pthread_barrier_t): Do not expect.
5829         [UNIX98] (pthread_barrierattr_t): Likewise.
5830         [UNIX98] (pthread_spinlock_t): Likewise.
5831         [UNIX98] (pthread_barrier_destroy): Likewise.
5832         [UNIX98] (pthread_barrier_init): Likewise.
5833         [UNIX98] (pthread_barrier_wait): Likewise.
5834         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5835         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5836         [UNIX98] (pthread_barrierattr_init): Likewise.
5837         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5838         [UNIX98] (pthread_getcpuclockid): Likewise.
5839         [UNIX98] (pthread_mutex_timedlock): Likewise.
5840         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5841         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5842         [UNIX98] (pthread_sigmask): Likewise.
5843         [UNIX98] (pthread_spin_destroy): Likewise.
5844         [UNIX98] (pthread_spin_init): Likewise.
5845         [UNIX98] (pthread_spin_lock): Likewise.
5846         [UNIX98] (pthread_spin_trylock): Likewise.
5847         [UNIX98] (pthread_spin_unlock): Likewise.
5848         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5849         Do not expect.
5850         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5851         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5852         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5853         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5854         [XPG3 || XPG4] (pthread_key_t): Likewise.
5855         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5856         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5857         [XPG3 || XPG4] (pthread_once_t): Likewise.
5858         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5859         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5860         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5861         [XPG3 || XPG4] (pthread_t): Likewise.
5863         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5864         not expect.
5865         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5867         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5868         Change function return type to int.
5870         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5871         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5872         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5873         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5874         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5875         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5876         [!POSIX] (posix_madvise): Likewise.
5877         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5878         && !UNIX98].
5879         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5880         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5881         (mode_t): Likewise.
5882         (posix_mem_offset): Likewise.
5883         (posix_typed_mem_get_info): Likewise.
5884         (posix_typed_mem_open): Likewise.
5886         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5887         Change condition to [XOPEN2K8].
5889         * conform/conformtest.pl: Preprocess allow-header data with -x c
5890         instead of from stdin.
5891         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5892         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5893         [C99-based standards] (cerfc): Likewise.
5894         [C99-based standards] (cexp2): Likewise.
5895         [C99-based standards] (cexpm1): Likewise.
5896         [C99-based standards] (clog10): Likewise.
5897         [C99-based standards] (clog1p): Likewise.
5898         [C99-based standards] (clog2): Likewise.
5899         [C99-based standards] (clgamma): Likewise.
5900         [C99-based standards] (ctgamma): Likewise.
5901         [C99-based standards] (cerff): Likewise.
5902         [C99-based standards] (cerfcf): Likewise.
5903         [C99-based standards] (cexp2f): Likewise.
5904         [C99-based standards] (cexpm1f): Likewise.
5905         [C99-based standards] (clog10f): Likewise.
5906         [C99-based standards] (clog1pf): Likewise.
5907         [C99-based standards] (clog2f): Likewise.
5908         [C99-based standards] (clgammaf): Likewise.
5909         [C99-based standards] (ctgammaf): Likewise.
5910         [C99-based standards] (cerfl): Likewise.
5911         [C99-based standards] (cerfcl): Likewise.
5912         [C99-based standards] (cexp2l): Likewise.
5913         [C99-based standards] (cexpm1l): Likewise.
5914         [C99-based standards] (clog10l): Likewise.
5915         [C99-based standards] (clog1pl): Likewise.
5916         [C99-based standards] (clog2l): Likewise.
5917         [C99-based standards] (clgammal): Likewise.
5918         [C99-based standards] (ctgammal): Likewise.
5919         * conform/data/inttypes.h-data [C99-based standards]: Include
5920         stdint.h-data.  Remove all expectations for stdint.h contents.
5921         [C99-based standards] (PRI*): Do not allow.
5922         [C99-based standards] (SCN*): Likewise.
5923         [C99-based standards] (*_t): Likewise.
5924         [C99-based-standards] (PRId8): Expect macro.
5925         [C99-based-standards] (PRIi8): Likewise.
5926         [C99-based-standards] (PRIo8): Likewise.
5927         [C99-based-standards] (PRIu8): Likewise.
5928         [C99-based-standards] (PRIx8): Likewise.
5929         [C99-based-standards] (PRIX8): Likewise.
5930         [C99-based-standards] (SCNd8): Likewise.
5931         [C99-based-standards] (SCNi8): Likewise.
5932         [C99-based-standards] (SCNo8): Likewise.
5933         [C99-based-standards] (SCNu8): Likewise.
5934         [C99-based-standards] (SCNx8): Likewise.
5935         [C99-based-standards] (PRIdLEAST8): Likewise.
5936         [C99-based-standards] (PRIiLEAST8): Likewise.
5937         [C99-based-standards] (PRIoLEAST8): Likewise.
5938         [C99-based-standards] (PRIuLEAST8): Likewise.
5939         [C99-based-standards] (PRIxLEAST8): Likewise.
5940         [C99-based-standards] (PRIXLEAST8): Likewise.
5941         [C99-based-standards] (SCNdLEAST8): Likewise.
5942         [C99-based-standards] (SCNiLEAST8): Likewise.
5943         [C99-based-standards] (SCNoLEAST8): Likewise.
5944         [C99-based-standards] (SCNuLEAST8): Likewise.
5945         [C99-based-standards] (SCNxLEAST8): Likewise.
5946         [C99-based-standards] (PRIdFAST8): Likewise.
5947         [C99-based-standards] (PRIiFAST8): Likewise.
5948         [C99-based-standards] (PRIoFAST8): Likewise.
5949         [C99-based-standards] (PRIuFAST8): Likewise.
5950         [C99-based-standards] (PRIxFAST8): Likewise.
5951         [C99-based-standards] (PRIXFAST8): Likewise.
5952         [C99-based-standards] (SCNdFAST8): Likewise.
5953         [C99-based-standards] (SCNiFAST8): Likewise.
5954         [C99-based-standards] (SCNoFAST8): Likewise.
5955         [C99-based-standards] (SCNuFAST8): Likewise.
5956         [C99-based-standards] (SCNxFAST8): Likewise.
5957         [C99-based-standards] (PRId16): Likewise.
5958         [C99-based-standards] (PRIi16): Likewise.
5959         [C99-based-standards] (PRIo16): Likewise.
5960         [C99-based-standards] (PRIu16): Likewise.
5961         [C99-based-standards] (PRIx16): Likewise.
5962         [C99-based-standards] (PRIX16): Likewise.
5963         [C99-based-standards] (SCNd16): Likewise.
5964         [C99-based-standards] (SCNi16): Likewise.
5965         [C99-based-standards] (SCNo16): Likewise.
5966         [C99-based-standards] (SCNu16): Likewise.
5967         [C99-based-standards] (SCNx16): Likewise.
5968         [C99-based-standards] (PRIdLEAST16): Likewise.
5969         [C99-based-standards] (PRIiLEAST16): Likewise.
5970         [C99-based-standards] (PRIoLEAST16): Likewise.
5971         [C99-based-standards] (PRIuLEAST16): Likewise.
5972         [C99-based-standards] (PRIxLEAST16): Likewise.
5973         [C99-based-standards] (PRIXLEAST16): Likewise.
5974         [C99-based-standards] (SCNdLEAST16): Likewise.
5975         [C99-based-standards] (SCNiLEAST16): Likewise.
5976         [C99-based-standards] (SCNoLEAST16): Likewise.
5977         [C99-based-standards] (SCNuLEAST16): Likewise.
5978         [C99-based-standards] (SCNxLEAST16): Likewise.
5979         [C99-based-standards] (PRIdFAST16): Likewise.
5980         [C99-based-standards] (PRIiFAST16): Likewise.
5981         [C99-based-standards] (PRIoFAST16): Likewise.
5982         [C99-based-standards] (PRIuFAST16): Likewise.
5983         [C99-based-standards] (PRIxFAST16): Likewise.
5984         [C99-based-standards] (PRIXFAST16): Likewise.
5985         [C99-based-standards] (SCNdFAST16): Likewise.
5986         [C99-based-standards] (SCNiFAST16): Likewise.
5987         [C99-based-standards] (SCNoFAST16): Likewise.
5988         [C99-based-standards] (SCNuFAST16): Likewise.
5989         [C99-based-standards] (SCNxFAST16): Likewise.
5990         [C99-based-standards] (PRId32): Likewise.
5991         [C99-based-standards] (PRIi32): Likewise.
5992         [C99-based-standards] (PRIo32): Likewise.
5993         [C99-based-standards] (PRIu32): Likewise.
5994         [C99-based-standards] (PRIx32): Likewise.
5995         [C99-based-standards] (PRIX32): Likewise.
5996         [C99-based-standards] (SCNd32): Likewise.
5997         [C99-based-standards] (SCNi32): Likewise.
5998         [C99-based-standards] (SCNo32): Likewise.
5999         [C99-based-standards] (SCNu32): Likewise.
6000         [C99-based-standards] (SCNx32): Likewise.
6001         [C99-based-standards] (PRIdLEAST32): Likewise.
6002         [C99-based-standards] (PRIiLEAST32): Likewise.
6003         [C99-based-standards] (PRIoLEAST32): Likewise.
6004         [C99-based-standards] (PRIuLEAST32): Likewise.
6005         [C99-based-standards] (PRIxLEAST32): Likewise.
6006         [C99-based-standards] (PRIXLEAST32): Likewise.
6007         [C99-based-standards] (SCNdLEAST32): Likewise.
6008         [C99-based-standards] (SCNiLEAST32): Likewise.
6009         [C99-based-standards] (SCNoLEAST32): Likewise.
6010         [C99-based-standards] (SCNuLEAST32): Likewise.
6011         [C99-based-standards] (SCNxLEAST32): Likewise.
6012         [C99-based-standards] (PRIdFAST32): Likewise.
6013         [C99-based-standards] (PRIiFAST32): Likewise.
6014         [C99-based-standards] (PRIoFAST32): Likewise.
6015         [C99-based-standards] (PRIuFAST32): Likewise.
6016         [C99-based-standards] (PRIxFAST32): Likewise.
6017         [C99-based-standards] (PRIXFAST32): Likewise.
6018         [C99-based-standards] (SCNdFAST32): Likewise.
6019         [C99-based-standards] (SCNiFAST32): Likewise.
6020         [C99-based-standards] (SCNoFAST32): Likewise.
6021         [C99-based-standards] (SCNuFAST32): Likewise.
6022         [C99-based-standards] (SCNxFAST32): Likewise.
6023         [C99-based-standards] (PRId64): Likewise.
6024         [C99-based-standards] (PRIi64): Likewise.
6025         [C99-based-standards] (PRIo64): Likewise.
6026         [C99-based-standards] (PRIu64): Likewise.
6027         [C99-based-standards] (PRIx64): Likewise.
6028         [C99-based-standards] (PRIX64): Likewise.
6029         [C99-based-standards] (SCNd64): Likewise.
6030         [C99-based-standards] (SCNi64): Likewise.
6031         [C99-based-standards] (SCNo64): Likewise.
6032         [C99-based-standards] (SCNu64): Likewise.
6033         [C99-based-standards] (SCNx64): Likewise.
6034         [C99-based-standards] (PRIdLEAST64): Likewise.
6035         [C99-based-standards] (PRIiLEAST64): Likewise.
6036         [C99-based-standards] (PRIoLEAST64): Likewise.
6037         [C99-based-standards] (PRIuLEAST64): Likewise.
6038         [C99-based-standards] (PRIxLEAST64): Likewise.
6039         [C99-based-standards] (PRIXLEAST64): Likewise.
6040         [C99-based-standards] (SCNdLEAST64): Likewise.
6041         [C99-based-standards] (SCNiLEAST64): Likewise.
6042         [C99-based-standards] (SCNoLEAST64): Likewise.
6043         [C99-based-standards] (SCNuLEAST64): Likewise.
6044         [C99-based-standards] (SCNxLEAST64): Likewise.
6045         [C99-based-standards] (PRIdFAST64): Likewise.
6046         [C99-based-standards] (PRIiFAST64): Likewise.
6047         [C99-based-standards] (PRIoFAST64): Likewise.
6048         [C99-based-standards] (PRIuFAST64): Likewise.
6049         [C99-based-standards] (PRIxFAST64): Likewise.
6050         [C99-based-standards] (PRIXFAST64): Likewise.
6051         [C99-based-standards] (SCNdFAST64): Likewise.
6052         [C99-based-standards] (SCNiFAST64): Likewise.
6053         [C99-based-standards] (SCNoFAST64): Likewise.
6054         [C99-based-standards] (SCNuFAST64): Likewise.
6055         [C99-based-standards] (SCNxFAST64): Likewise.
6056         [C99-based-standards] (PRIdMAX): Likewise.
6057         [C99-based-standards] (PRIiMAX): Likewise.
6058         [C99-based-standards] (PRIoMAX): Likewise.
6059         [C99-based-standards] (PRIuMAX): Likewise.
6060         [C99-based-standards] (PRIxMAX): Likewise.
6061         [C99-based-standards] (PRIXMAX): Likewise.
6062         [C99-based-standards] (SCNdMAX): Likewise.
6063         [C99-based-standards] (SCNiMAX): Likewise.
6064         [C99-based-standards] (SCNoMAX): Likewise.
6065         [C99-based-standards] (SCNuMAX): Likewise.
6066         [C99-based-standards] (SCNxMAX): Likewise.
6067         [C99-based-standards] (PRIdPTR): Likewise.
6068         [C99-based-standards] (PRIiPTR): Likewise.
6069         [C99-based-standards] (PRIoPTR): Likewise.
6070         [C99-based-standards] (PRIuPTR): Likewise.
6071         [C99-based-standards] (PRIxPTR): Likewise.
6072         [C99-based-standards] (PRIXPTR): Likewise.
6073         [C99-based-standards] (SCNdPTR): Likewise.
6074         [C99-based-standards] (SCNiPTR): Likewise.
6075         [C99-based-standards] (SCNoPTR): Likewise.
6076         [C99-based-standards] (SCNuPTR): Likewise.
6077         [C99-based-standards] (SCNxPTR): Likewise.
6078         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6079         allow.
6080         * conform/data/stdint.h-data: Update comments to clarify
6081         requirements.
6082         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6083         type.
6084         [C99-based standards] (INT8_MAX): Likewise.
6085         [C99-based standards] (INT16_MIN): Likewise.
6086         [C99-based standards] (INT16_MAX): Likewise.
6087         [C99-based standards] (INT32_MIN): Likewise.
6088         [C99-based standards] (INT32_MAX): Likewise.
6089         [C99-based standards] (INT64_MIN): Likewise.
6090         [C99-based standards] (INT64_MAX): Likewise.
6091         [C99-based standards] (UINT8_MAX): Likewise.
6092         [C99-based standards] (UINT16_MAX): Likewise.
6093         [C99-based standards] (UINT32_MAX): Likewise.
6094         [C99-based standards] (UINT64_MAX): Likewise.
6095         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6096         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6097         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6098         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6099         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6100         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6101         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6102         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6103         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6104         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6105         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6106         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6107         [C99-based standards] (INT_FAST8_MIN): Likewise.
6108         [C99-based standards] (INT_FAST8_MAX): Likewise.
6109         [C99-based standards] (INT_FAST16_MIN): Likewise.
6110         [C99-based standards] (INT_FAST16_MAX): Likewise.
6111         [C99-based standards] (INT_FAST32_MIN): Likewise.
6112         [C99-based standards] (INT_FAST32_MAX): Likewise.
6113         [C99-based standards] (INT_FAST64_MIN): Likewise.
6114         [C99-based standards] (INT_FAST64_MAX): Likewise.
6115         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6116         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6117         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6118         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6119         [C99-based standards] (INTPTR_MIN): Likewise.
6120         [C99-based standards] (INTPTR_MAX): Likewise.
6121         [C99-based standards] (UINTPTR_MAX): Likewise.
6122         [C99-based standards] (INTMAX_MIN): Likewise.
6123         [C99-based standards] (INTMAX_MAX): Likewise.
6124         [C99-based standards] (UINTMAX_MAX): Likewise.
6125         [C99-based standards] (PTRDIFF_MIN): Likewise.
6126         [C99-based standards] (PTRDIFF_MAX): Likewise.
6127         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6128         [C99-based standards] (SIZE_MAX): Likewise.
6129         [C99-based standards] (WCHAR_MAX): Likewise.
6130         [C99-based standards] (WINT_MAX): Likewise.
6131         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6132         constraint on value.
6133         [C99-based standards] (WCHAR_MIN): Likewise.
6134         [C99-based standards] (WINT_MIN): Likewise.
6135         [C99-based standards] (*_t): Allow.
6136         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6137         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6138         Include math.h-data and complex.h-data.  Remove all expectations
6139         of math.h and complex.h contents.
6140         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6141         at end of line.
6142         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6143         (struct tm): Expect tag.
6144         [C99-based-standards] (wcstof): Expect function.
6145         [C99-based-standards] (wcstold): Likewise.
6146         [C99-based-standards] (wcstoll): Likewise.
6147         [C99-based-standards] (wcstoull): Likewise.
6148         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6149         macro-int-constant.  Specify type.
6150         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6151         constraint on value.
6152         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6153         Specify type.
6154         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6155         Specify value.
6156         [ISO C standards]: Do not allow headers.
6157         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6158         wcs[abcdefghijklmnopqrstuvwxyz]*.
6159         [ISO C standards] (*_t): Do not allow.
6160         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6161         Expect function.
6162         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6163         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6164         Specify type.
6165         [ISO C standards]: Do not allow headers.
6166         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6167         is[abcdefghijklmnopqrstuvwxyz]*.
6168         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6169         to[abcdefghijklmnopqrstuvwxyz]*.
6170         [ISO C standards] (*_t): Do not allow.
6171         * conform/data/stdalign.h-data: New file.
6172         * conform/data/stdbool.h-data: Likewise.
6173         * conform/data/stdnoreturn.h-data: Likewise.
6175 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6177         [BZ #14815]
6178         * manual/filesys.texi (Directory Entries): Typo fix.
6179         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6181 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6183         * elf/elf.h (EM_AARCH64): New macro.
6184         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6185         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6186         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6187         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6188         (R_AARCH64_TLSDESC): Likewise.
6189         (NT_ARM_TLS): Likewise.
6190         (NT_ARM_HW_BREAK): Likewise.
6191         (NT_ARM_HW_WATCH): Likewise.
6193 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6195         [BZ #14811]
6196         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6197         (__ieee754_powl): Saturate nonzero exponents with absolute value
6198         below 0x1p-79 to +/- 0x1p-79.
6199         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6200         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6201         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6202         nonzero exponents with absolute value below 0x1p-32 to +/-
6203         0x1p-32.
6204         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6205         (__ieee754_powl): Saturate nonzero exponents with absolute value
6206         below 0x1p-79 to +/- 0x1p-79.
6207         * math/libm-test.inc (pow_test): Add more tests.
6209 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6211         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6212         _dl_s390_cap_flags with kernel. Increase string length.
6213         (_dl_s390_platforms): Add z196 and zEC12.
6215 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6217         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6218         Change XOPEN21K to XOPEN2K.
6220 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6222         * string/memmove.c: Use memcpy when possible.
6224 2012-11-06  Andreas Jaeger  <aj@suse.de>
6226         * po/eo.po: Update from translation team.
6228 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6230         [BZ #14793]
6231         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6232         exponent and small x and y exponents, scale x or y up.  Increase
6233         by 2 the exponent used in scaling up.
6234         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6235         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6236         * math/libm-test.inc (fma_test): Add more tests.
6237         (fma_test_towardzero): Likewise.
6238         (fma_test_downward): Likewise.
6239         (fma_test_upward): Likewise.
6241 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6243         [BZ #14805]
6244         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6245         fenv_t *.
6247         [BZ #14801]
6248         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6249         namespace for names of struct fields.
6250         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6251         fenv_t fields.
6252         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6253         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6255 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6257         [BZ #3665]
6258         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6260 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6262         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6263         PTR_DEMANGLE.
6265         [BZ #5246]
6266         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6267         PTR_DEMANGLE.
6269 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6271         [BZ #14797]
6272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6273         definitely overflow as x * y not x * y + z.
6274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6276         * math/libm-test.inc (fma_test): Add more tests.
6277         (fma_test_towardzero): Likewise.
6278         (fma_test_downward): Likewise.
6279         (fma_test_upward): Likewise.
6281 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6283         [BZ #157]
6285         * include/stub-tag.h: Remove file.
6286         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6287         '#include' of it.
6288         * manual/maint.texi (Porting): Don't reference it.
6289         * Makerules ($(objpfx)stubs): Likewise.
6290         * dirent/closedir.c: Don't include <stub-tag.h>.
6291         * dirent/dirfd.c: Likewise.
6292         * dirent/fdopendir.c: Likewise.
6293         * dirent/getdents.c: Likewise.
6294         * dirent/getdents64.c: Likewise.
6295         * dirent/opendir.c: Likewise.
6296         * dirent/readdir.c: Likewise.
6297         * dirent/readdir64.c: Likewise.
6298         * dirent/readdir64_r.c: Likewise.
6299         * dirent/readdir_r.c: Likewise.
6300         * dirent/rewinddir.c: Likewise.
6301         * dirent/seekdir.c: Likewise.
6302         * dirent/telldir.c: Likewise.
6303         * gmon/profil.c: Likewise.
6304         * grp/setgroups.c: Likewise.
6305         * inet/if_index.c: Likewise.
6306         * io/access.c: Likewise.
6307         * io/chdir.c: Likewise.
6308         * io/chmod.c: Likewise.
6309         * io/chown.c: Likewise.
6310         * io/close.c: Likewise.
6311         * io/dup.c: Likewise.
6312         * io/dup2.c: Likewise.
6313         * io/dup3.c: Likewise.
6314         * io/euidaccess.c: Likewise.
6315         * io/faccessat.c: Likewise.
6316         * io/fchdir.c: Likewise.
6317         * io/fchmod.c: Likewise.
6318         * io/fchmodat.c: Likewise.
6319         * io/fchown.c: Likewise.
6320         * io/fchownat.c: Likewise.
6321         * io/fcntl.c: Likewise.
6322         * io/flock.c: Likewise.
6323         * io/fstatfs.c: Likewise.
6324         * io/fstatfs64.c: Likewise.
6325         * io/fstatvfs.c: Likewise.
6326         * io/fstatvfs64.c: Likewise.
6327         * io/futimens.c: Likewise.
6328         * io/fxstat.c: Likewise.
6329         * io/fxstat64.c: Likewise.
6330         * io/fxstatat.c: Likewise.
6331         * io/fxstatat64.c: Likewise.
6332         * io/getcwd.c: Likewise.
6333         * io/isatty.c: Likewise.
6334         * io/lchmod.c: Likewise.
6335         * io/lchown.c: Likewise.
6336         * io/link.c: Likewise.
6337         * io/linkat.c: Likewise.
6338         * io/lseek.c: Likewise.
6339         * io/lseek64.c: Likewise.
6340         * io/lxstat64.c: Likewise.
6341         * io/mkdir.c: Likewise.
6342         * io/mkdirat.c: Likewise.
6343         * io/mkfifo.c: Likewise.
6344         * io/mkfifoat.c: Likewise.
6345         * io/open.c: Likewise.
6346         * io/open64.c: Likewise.
6347         * io/openat.c: Likewise.
6348         * io/openat64.c: Likewise.
6349         * io/pipe.c: Likewise.
6350         * io/pipe2.c: Likewise.
6351         * io/poll.c: Likewise.
6352         * io/posix_fadvise.c: Likewise.
6353         * io/posix_fadvise64.c: Likewise.
6354         * io/posix_fallocate.c: Likewise.
6355         * io/posix_fallocate64.c: Likewise.
6356         * io/read.c: Likewise.
6357         * io/readlink.c: Likewise.
6358         * io/readlinkat.c: Likewise.
6359         * io/rmdir.c: Likewise.
6360         * io/sendfile.c: Likewise.
6361         * io/sendfile64.c: Likewise.
6362         * io/statfs.c: Likewise.
6363         * io/statfs64.c: Likewise.
6364         * io/statvfs.c: Likewise.
6365         * io/statvfs64.c: Likewise.
6366         * io/symlink.c: Likewise.
6367         * io/symlinkat.c: Likewise.
6368         * io/ttyname.c: Likewise.
6369         * io/ttyname_r.c: Likewise.
6370         * io/umask.c: Likewise.
6371         * io/unlink.c: Likewise.
6372         * io/unlinkat.c: Likewise.
6373         * io/utime.c: Likewise.
6374         * io/utimensat.c: Likewise.
6375         * io/write.c: Likewise.
6376         * io/xmknod.c: Likewise.
6377         * io/xmknodat.c: Likewise.
6378         * io/xstat.c: Likewise.
6379         * io/xstat64.c: Likewise.
6380         * login/getpt.c: Likewise.
6381         * login/grantpt.c: Likewise.
6382         * login/unlockpt.c: Likewise.
6383         * math/e_acoshl.c: Likewise.
6384         * math/e_acosl.c: Likewise.
6385         * math/e_asinl.c: Likewise.
6386         * math/e_atan2l.c: Likewise.
6387         * math/e_atanhl.c: Likewise.
6388         * math/e_coshl.c: Likewise.
6389         * math/e_expl.c: Likewise.
6390         * math/e_fmodl.c: Likewise.
6391         * math/e_gammal_r.c: Likewise.
6392         * math/e_hypotl.c: Likewise.
6393         * math/e_j0l.c: Likewise.
6394         * math/e_j1l.c: Likewise.
6395         * math/e_jnl.c: Likewise.
6396         * math/e_lgammal_r.c: Likewise.
6397         * math/e_log10l.c: Likewise.
6398         * math/e_log2l.c: Likewise.
6399         * math/e_logl.c: Likewise.
6400         * math/e_powl.c: Likewise.
6401         * math/e_rem_pio2l.c: Likewise.
6402         * math/e_sinhl.c: Likewise.
6403         * math/e_sqrtl.c: Likewise.
6404         * math/fclrexcpt.c: Likewise.
6405         * math/fedisblxcpt.c: Likewise.
6406         * math/feenablxcpt.c: Likewise.
6407         * math/fegetenv.c: Likewise.
6408         * math/fegetexcept.c: Likewise.
6409         * math/fegetround.c: Likewise.
6410         * math/feholdexcpt.c: Likewise.
6411         * math/fesetenv.c: Likewise.
6412         * math/fesetround.c: Likewise.
6413         * math/feupdateenv.c: Likewise.
6414         * math/fgetexcptflg.c: Likewise.
6415         * math/fraiseexcpt.c: Likewise.
6416         * math/fsetexcptflg.c: Likewise.
6417         * math/ftestexcept.c: Likewise.
6418         * math/k_cosl.c: Likewise.
6419         * math/k_rem_pio2l.c: Likewise.
6420         * math/k_sinl.c: Likewise.
6421         * math/k_tanl.c: Likewise.
6422         * math/s_asinhl.c: Likewise.
6423         * math/s_atanl.c: Likewise.
6424         * math/s_cbrtl.c: Likewise.
6425         * math/s_erfl.c: Likewise.
6426         * math/s_expm1l.c: Likewise.
6427         * math/s_log1pl.c: Likewise.
6428         * math/s_tanhl.c: Likewise.
6429         * misc/acct.c: Likewise.
6430         * misc/brk.c: Likewise.
6431         * misc/chflags.c: Likewise.
6432         * misc/chroot.c: Likewise.
6433         * misc/fchflags.c: Likewise.
6434         * misc/fgetxattr.c: Likewise.
6435         * misc/flistxattr.c: Likewise.
6436         * misc/fremovexattr.c: Likewise.
6437         * misc/fsetxattr.c: Likewise.
6438         * misc/fsync.c: Likewise.
6439         * misc/ftruncate.c: Likewise.
6440         * misc/futimes.c: Likewise.
6441         * misc/futimesat.c: Likewise.
6442         * misc/getdomain.c: Likewise.
6443         * misc/getdtsz.c: Likewise.
6444         * misc/gethostid.c: Likewise.
6445         * misc/gethostname.c: Likewise.
6446         * misc/getloadavg.c: Likewise.
6447         * misc/getpagesize.c: Likewise.
6448         * misc/getsysstats.c: Likewise.
6449         * misc/getxattr.c: Likewise.
6450         * misc/gtty.c: Likewise.
6451         * misc/ioctl.c: Likewise.
6452         * misc/lgetxattr.c: Likewise.
6453         * misc/listxattr.c: Likewise.
6454         * misc/llistxattr.c: Likewise.
6455         * misc/lremovexattr.c: Likewise.
6456         * misc/lsetxattr.c: Likewise.
6457         * misc/lutimes.c: Likewise.
6458         * misc/madvise.c: Likewise.
6459         * misc/mincore.c: Likewise.
6460         * misc/mlock.c: Likewise.
6461         * misc/mlockall.c: Likewise.
6462         * misc/mmap.c: Likewise.
6463         * misc/mprotect.c: Likewise.
6464         * misc/msync.c: Likewise.
6465         * misc/munlock.c: Likewise.
6466         * misc/munlockall.c: Likewise.
6467         * misc/munmap.c: Likewise.
6468         * misc/preadv.c: Likewise.
6469         * misc/preadv64.c: Likewise.
6470         * misc/ptrace.c: Likewise.
6471         * misc/pwritev.c: Likewise.
6472         * misc/pwritev64.c: Likewise.
6473         * misc/readv.c: Likewise.
6474         * misc/reboot.c: Likewise.
6475         * misc/remap_file_pages.c: Likewise.
6476         * misc/removexattr.c: Likewise.
6477         * misc/revoke.c: Likewise.
6478         * misc/select.c: Likewise.
6479         * misc/setdomain.c: Likewise.
6480         * misc/setegid.c: Likewise.
6481         * misc/seteuid.c: Likewise.
6482         * misc/sethostid.c: Likewise.
6483         * misc/sethostname.c: Likewise.
6484         * misc/setregid.c: Likewise.
6485         * misc/setreuid.c: Likewise.
6486         * misc/setxattr.c: Likewise.
6487         * misc/sstk.c: Likewise.
6488         * misc/stty.c: Likewise.
6489         * misc/swapoff.c: Likewise.
6490         * misc/swapon.c: Likewise.
6491         * misc/sync.c: Likewise.
6492         * misc/syncfs.c: Likewise.
6493         * misc/syscall.c: Likewise.
6494         * misc/truncate.c: Likewise.
6495         * misc/ualarm.c: Likewise.
6496         * misc/usleep.c: Likewise.
6497         * misc/ustat.c: Likewise.
6498         * misc/utimes.c: Likewise.
6499         * misc/vhangup.c: Likewise.
6500         * misc/writev.c: Likewise.
6501         * posix/_exit.c: Likewise.
6502         * posix/alarm.c: Likewise.
6503         * posix/execve.c: Likewise.
6504         * posix/fexecve.c: Likewise.
6505         * posix/fork.c: Likewise.
6506         * posix/fpathconf.c: Likewise.
6507         * posix/getaddrinfo.c: Likewise.
6508         * posix/getegid.c: Likewise.
6509         * posix/geteuid.c: Likewise.
6510         * posix/getgid.c: Likewise.
6511         * posix/getgroups.c: Likewise.
6512         * posix/getlogin.c: Likewise.
6513         * posix/getlogin_r.c: Likewise.
6514         * posix/getpgid.c: Likewise.
6515         * posix/getpid.c: Likewise.
6516         * posix/getppid.c: Likewise.
6517         * posix/getresgid.c: Likewise.
6518         * posix/getresuid.c: Likewise.
6519         * posix/getsid.c: Likewise.
6520         * posix/getuid.c: Likewise.
6521         * posix/glob64.c: Likewise.
6522         * posix/nanosleep.c: Likewise.
6523         * posix/pathconf.c: Likewise.
6524         * posix/pause.c: Likewise.
6525         * posix/posix_madvise.c: Likewise.
6526         * posix/pread.c: Likewise.
6527         * posix/pread64.c: Likewise.
6528         * posix/pwrite.c: Likewise.
6529         * posix/pwrite64.c: Likewise.
6530         * posix/sched_getaffinity.c: Likewise.
6531         * posix/sched_getp.c: Likewise.
6532         * posix/sched_gets.c: Likewise.
6533         * posix/sched_primax.c: Likewise.
6534         * posix/sched_primin.c: Likewise.
6535         * posix/sched_rr_gi.c: Likewise.
6536         * posix/sched_setaffinity.c: Likewise.
6537         * posix/sched_setp.c: Likewise.
6538         * posix/sched_sets.c: Likewise.
6539         * posix/sched_yield.c: Likewise.
6540         * posix/setgid.c: Likewise.
6541         * posix/setlogin.c: Likewise.
6542         * posix/setpgid.c: Likewise.
6543         * posix/setresgid.c: Likewise.
6544         * posix/setresuid.c: Likewise.
6545         * posix/setsid.c: Likewise.
6546         * posix/setuid.c: Likewise.
6547         * posix/sleep.c: Likewise.
6548         * posix/spawni.c: Likewise.
6549         * posix/sysconf.c: Likewise.
6550         * posix/times.c: Likewise.
6551         * posix/wait.c: Likewise.
6552         * posix/wait3.c: Likewise.
6553         * posix/wait4.c: Likewise.
6554         * posix/waitpid.c: Likewise.
6555         * resolv/gai_sigqueue.c: Likewise.
6556         * resource/getpriority.c: Likewise.
6557         * resource/getrlimit.c: Likewise.
6558         * resource/getrusage.c: Likewise.
6559         * resource/nice.c: Likewise.
6560         * resource/setpriority.c: Likewise.
6561         * resource/setrlimit.c: Likewise.
6562         * resource/ulimit.c: Likewise.
6563         * rt/aio_cancel.c: Likewise.
6564         * rt/aio_fsync.c: Likewise.
6565         * rt/aio_read.c: Likewise.
6566         * rt/aio_sigqueue.c: Likewise.
6567         * rt/aio_suspend.c: Likewise.
6568         * rt/aio_write.c: Likewise.
6569         * rt/clock_getres.c: Likewise.
6570         * rt/clock_gettime.c: Likewise.
6571         * rt/clock_nanosleep.c: Likewise.
6572         * rt/clock_settime.c: Likewise.
6573         * rt/lio_listio.c: Likewise.
6574         * rt/mq_close.c: Likewise.
6575         * rt/mq_getattr.c: Likewise.
6576         * rt/mq_notify.c: Likewise.
6577         * rt/mq_open.c: Likewise.
6578         * rt/mq_receive.c: Likewise.
6579         * rt/mq_send.c: Likewise.
6580         * rt/mq_setattr.c: Likewise.
6581         * rt/mq_timedreceive.c: Likewise.
6582         * rt/mq_timedsend.c: Likewise.
6583         * rt/mq_unlink.c: Likewise.
6584         * rt/shm_open.c: Likewise.
6585         * rt/shm_unlink.c: Likewise.
6586         * rt/timer_create.c: Likewise.
6587         * rt/timer_delete.c: Likewise.
6588         * rt/timer_getoverr.c: Likewise.
6589         * rt/timer_gettime.c: Likewise.
6590         * rt/timer_settime.c: Likewise.
6591         * setjmp/__longjmp.c: Likewise.
6592         * setjmp/setjmp.c: Likewise.
6593         * signal/kill.c: Likewise.
6594         * signal/killpg.c: Likewise.
6595         * signal/raise.c: Likewise.
6596         * signal/sigaction.c: Likewise.
6597         * signal/sigaltstack.c: Likewise.
6598         * signal/sigblock.c: Likewise.
6599         * signal/sigignore.c: Likewise.
6600         * signal/sigintr.c: Likewise.
6601         * signal/signal.c: Likewise.
6602         * signal/sigpause.c: Likewise.
6603         * signal/sigpending.c: Likewise.
6604         * signal/sigqueue.c: Likewise.
6605         * signal/sigreturn.c: Likewise.
6606         * signal/sigset.c: Likewise.
6607         * signal/sigsetmask.c: Likewise.
6608         * signal/sigstack.c: Likewise.
6609         * signal/sigsuspend.c: Likewise.
6610         * signal/sigtimedwait.c: Likewise.
6611         * signal/sigvec.c: Likewise.
6612         * signal/sigwait.c: Likewise.
6613         * signal/sigwaitinfo.c: Likewise.
6614         * signal/sysv_signal.c: Likewise.
6615         * socket/accept.c: Likewise.
6616         * socket/accept4.c: Likewise.
6617         * socket/bind.c: Likewise.
6618         * socket/connect.c: Likewise.
6619         * socket/getpeername.c: Likewise.
6620         * socket/getsockname.c: Likewise.
6621         * socket/getsockopt.c: Likewise.
6622         * socket/isfdtype.c: Likewise.
6623         * socket/listen.c: Likewise.
6624         * socket/recv.c: Likewise.
6625         * socket/recvfrom.c: Likewise.
6626         * socket/recvmsg.c: Likewise.
6627         * socket/send.c: Likewise.
6628         * socket/sendmsg.c: Likewise.
6629         * socket/sendto.c: Likewise.
6630         * socket/setsockopt.c: Likewise.
6631         * socket/shutdown.c: Likewise.
6632         * socket/sockatmark.c: Likewise.
6633         * socket/socket.c: Likewise.
6634         * socket/socketpair.c: Likewise.
6635         * stdio-common/ctermid.c: Likewise.
6636         * stdio-common/cuserid.c: Likewise.
6637         * stdio-common/remove.c: Likewise.
6638         * stdio-common/rename.c: Likewise.
6639         * stdio-common/renameat.c: Likewise.
6640         * stdio-common/tempname.c: Likewise.
6641         * stdlib/getcontext.c: Likewise.
6642         * stdlib/makecontext.c: Likewise.
6643         * stdlib/setcontext.c: Likewise.
6644         * stdlib/swapcontext.c: Likewise.
6645         * stdlib/system.c: Likewise.
6646         * streams/fattach.c: Likewise.
6647         * streams/fdetach.c: Likewise.
6648         * streams/getmsg.c: Likewise.
6649         * streams/getpmsg.c: Likewise.
6650         * streams/putmsg.c: Likewise.
6651         * streams/putpmsg.c: Likewise.
6652         * sysdeps/unix/bsd/getpt.c: Likewise.
6653         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6654         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6655         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6657         Likewise.
6658         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6659         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6660         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6661         * sysvipc/msgctl.c: Likewise.
6662         * sysvipc/msgget.c: Likewise.
6663         * sysvipc/msgrcv.c: Likewise.
6664         * sysvipc/msgsnd.c: Likewise.
6665         * sysvipc/semctl.c: Likewise.
6666         * sysvipc/semget.c: Likewise.
6667         * sysvipc/semop.c: Likewise.
6668         * sysvipc/semtimedop.c: Likewise.
6669         * sysvipc/shmat.c: Likewise.
6670         * sysvipc/shmctl.c: Likewise.
6671         * sysvipc/shmdt.c: Likewise.
6672         * sysvipc/shmget.c: Likewise.
6673         * termios/tcdrain.c: Likewise.
6674         * termios/tcflow.c: Likewise.
6675         * termios/tcflush.c: Likewise.
6676         * termios/tcgetattr.c: Likewise.
6677         * termios/tcgetpgrp.c: Likewise.
6678         * termios/tcsendbrk.c: Likewise.
6679         * termios/tcsetattr.c: Likewise.
6680         * termios/tcsetpgrp.c: Likewise.
6681         * time/adjtime.c: Likewise.
6682         * time/clock.c: Likewise.
6683         * time/getitimer.c: Likewise.
6684         * time/gettimeofday.c: Likewise.
6685         * time/setitimer.c: Likewise.
6686         * time/settimeofday.c: Likewise.
6687         * time/stime.c: Likewise.
6688         * time/time.c: Likewise.
6690 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6692         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6693         /usr/old/bin.
6695         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6696         instead of spaces.
6697         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6699 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6701         [BZ #14796]
6702         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6703         FE_TONEAREST before applying Dekker multiplication and Knuth
6704         addition.  Clear inexact exceptions and check for exact zero
6705         results afterwards.
6706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6707         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6708         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6709         * math/libm-test.inc (fma_test): Add more tests.
6710         (fma_test_towardzero): Likewise.
6711         (fma_test_downward): Likewise.
6712         (fma_test_upward): Likewise.
6713         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6714         function.
6715         (libc_fesetround): New macro.
6716         (libc_fesetroundf): Likewise.
6717         (libc_fesetroundl): Likewise.
6718         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6719         function.
6720         (libc_fesetround_387): Likewise.
6721         (libc_fesetroundf): New macro.
6722         (libc_fesetround): Likewise.
6723         (libc_fesetroundl): Likewise.
6724         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6725         function.
6726         (libc_fesetroundf): New macro.
6727         (libc_fesetround): Likewise.
6728         (libc_fesetroundl): Likewise.
6729         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6730         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6731         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6732         libm_hidden_ver.
6733         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6734         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6735         libm_hidden_def.
6736         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6737         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6738         libm_hidden_ver.
6739         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6740         libm_hidden_def.
6742         [BZ #3439]
6743         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6744         integer constant usable in #if and use that to give value to enum
6745         constant.
6746         (FE_DIVBYZERO): Likewise.
6747         (FE_UNDERFLOW): Likewise.
6748         (FE_OVERFLOW): Likewise.
6749         (FE_INVALID): Likewise.
6750         (FE_INVALID_SNAN): Likewise.
6751         (FE_INVALID_ISI): Likewise.
6752         (FE_INVALID_IDI): Likewise.
6753         (FE_INVALID_ZDZ): Likewise.
6754         (FE_INVALID_IMZ): Likewise.
6755         (FE_INVALID_COMPARE): Likewise.
6756         (FE_INVALID_SOFTWARE): Likewise.
6757         (FE_INVALID_SQRT): Likewise.
6758         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6759         (FE_TONEAREST): Likewise.
6760         (FE_TOWARDZERO): Likewise.
6761         (FE_UPWARD): Likewise.
6762         (FE_DOWNWARD): Likewise.
6763         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6764         (FE_DIVBYZERO): Likewise.
6765         (FE_OVERFLOW): Likewise.
6766         (FE_UNDERFLOW): Likewise.
6767         (FE_INEXACT): Likewise.
6768         (FE_TONEAREST): Likewise.
6769         (FE_DOWNWARD): Likewise.
6770         (FE_UPWARD): Likewise.
6771         (FE_TOWARDZERO): Likewise.
6772         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6773         (FE_UNDERFLOW): Likewise.
6774         (FE_OVERFLOW): Likewise.
6775         (FE_DIVBYZERO): Likewise.
6776         (FE_INVALID): Likewise.
6777         (FE_TONEAREST): Likewise.
6778         (FE_TOWARDZERO): Likewise.
6779         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6780         (FE_OVERFLOW): Likewise.
6781         (FE_UNDERFLOW): Likewise.
6782         (FE_DIVBYZERO): Likewise.
6783         (FE_INEXACT): Likewise.
6784         (FE_TONEAREST): Likewise.
6785         (FE_TOWARDZERO): Likewise.
6786         (FE_UPWARD): Likewise.
6787         (FE_DOWNWARD): Likewise.
6788         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6789         (FE_DIVBYZERO): Likewise.
6790         (FE_OVERFLOW): Likewise.
6791         (FE_UNDERFLOW): Likewise.
6792         (FE_INEXACT): Likewise.
6793         (FE_TONEAREST): Likewise.
6794         (FE_DOWNWARD): Likewise.
6795         (FE_UPWARD): Likewise.
6796         (FE_TOWARDZERO): Likewise.
6798 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6800         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6802 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6804         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6805         commands.  Quote $PWD.
6806         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6807         -x" by "export".
6808         (remove_newlines): Remove.
6810 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6812         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6813         * stdlib/stdlib.h (atof): Moved to ...
6814         * include/bits/stdlib-float.h: Here.  New file.
6815         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6816         * stdlib/bits/stdlib-float.h: New file.
6817         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6818         -mno-sse -mno-mmx.
6819         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6820         <xmmintrin.h>.
6822 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6824         * conform/conformtest.pl (@headers): Add fenv.h.
6825         * conform/data/fenv.h-data: New file.
6826         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6827         include of <math/fenv.h>.
6829         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6830         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6831         && !UNIX98].  Enables tests for XOPEN2K8.
6832         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6833         POSIX2008]: Likewise.
6835         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6836         (struct rusage): Do not expect type or its members.
6838         [BZ #3439]
6839         * math/math.h (FP_NAN): Define macro to integer constant usable in
6840         #if and use that to give value to enum constant.
6841         (FP_INFINITE): Likewise.
6842         (FP_ZERO): Likewise.
6843         (FP_SUBNORMAL): Likewise.
6844         (FP_NORMAL): Likewise.
6846 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6848         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6849         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6850         arguments.
6852 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6854         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6855         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6856         autoconf-time if not.
6857         * configure.in: Remove AC_PREREQ.
6859 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6861         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6862         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6863         of the internal implementation.
6865 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6867         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6868         except include of <misc/sys/syslog.h>.
6870 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6873         function returns with a NULL context exit with zero.
6875 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6877         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6879 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6881         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6882         (run_program_cmd): This.
6883         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6884         (tst_langinfo): New variable.  Use it.
6886 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6888         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6889         floating point opcodes.
6891 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6893         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6894         variable.
6896         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6898         * sysdeps/mach/hurd/powerpc: Remove directory.
6899         * sysdeps/mach/powerpc: Likewise.
6901 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6903         * scripts/check-local-headers.sh: Ignore c++ headers.
6905 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6907         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6908         __libc_cleanup_region_start argument.
6910 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6912         [BZ #14784]
6913         [BZ #14785]
6914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6915         x * y using scaling, not as x * y + z.
6916         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6917         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6918         * math/libm-test.inc (fma_test): Add more tests.
6919         (fma_test_towardzero): Likewise.
6920         (fma_test_downward): Likewise.
6921         (fma_test_upward): Likewise.
6923 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6925         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6927 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6929         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6930         New variable.
6932 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6934         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6936 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6939         Fix sort order.
6940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6941         Likewise.
6943 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6946         Fix the order of the list for glibc 2.17.
6947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6948         Likewise.
6950 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6954 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6956         [BZ #14610]
6957         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6958         for low part of x being zero before using __atanl (y).
6959         * math/libm-test.inc (atan2_test): Add another test.
6961         * manual/install.texi (Configuring and compiling): Document
6962         general use of test-wrapper and test-wrapper-env.
6963         * INSTALL: Regenerated.
6965         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6966         (__fma): Do not extract and scale down low bits on after-rounding
6967         systems when result rounded to normal precision would have normal
6968         exponent.
6969         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6970         (__fmal): Do not extract and scale down low bits on after-rounding
6971         systems when result rounded to normal precision would have normal
6972         exponent.
6973         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6974         (__fmal): Do not extract and scale down low bits on after-rounding
6975         systems when result rounded to normal precision would have normal
6976         exponent.
6977         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6978         macro.
6979         (fma_test): Add more tests.
6980         (fma_test_towardzero): Likewise.
6981         (fma_test_downward): Likewise.
6982         (fma_test_upward): Likewise.
6984 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6986         * sysdeps/i386/tininess.h: Renamed to ...
6987         * sysdeps/x86/tininess.h: This.
6988         * sysdeps/x86_64/tininess.h: Removed.
6990 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6992         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6993         input.  Use $(build-program-cmd).
6994         ($(objpfx)tst-array1-static.out): Likewise.
6995         ($(objpfx)tst-array2.out): Likewise.
6996         ($(objpfx)tst-array3.out): Likewise.
6997         ($(objpfx)tst-array4.out): Likewise.
6998         ($(objpfx)tst-array5.out): Likewise.
6999         ($(objpfx)tst-array5-static.out): Likewise.
7001 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
7003         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7004         if defined.
7006         * nss/nsswitch.h (nss_interface_function): Provide new
7007         macro for use with NSS functions.
7008         * grp/initgroups.c: Use new macro.
7009         * nss/getXXbyYY.c: Likewise.
7010         * nss/getXXbyYY_r.c: Likewise.
7011         * nss/getXXent.c: Likewise.
7012         * nss/getXXent_r.c: Likewise.
7013         * sysdeps/posix/getaddrinfo.c: Likewise.
7015 2012-10-30  Andreas Jaeger  <aj@suse.de>
7017         * po/ru.po: Update Russion translation from translation project.
7019 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7021         [BZ #14152]
7022         [BZ #14783]
7023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7024         result and shift together with sticky bit instead of replicating
7025         round-to-nearest rounding.
7026         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7027         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7028         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7029         missing underflow exceptions.
7030         (fma_test_towardzero): Add more tests.
7031         (fma_test_downward): Likewise.
7032         (fma_test_upward): Likewise.
7034         [BZ #14047]
7035         * sysdeps/generic/tininess.h: New file.
7036         * sysdeps/i386/tininess.h: Likewise.
7037         * sysdeps/sh/tininess.h: Likewise.
7038         * sysdeps/x86_64/tininess.h: Likewise.
7039         * stdlib/tst-strtod-underflow.c: Likewise.
7040         * stdlib/tst-tininess.c: Likewise.
7041         * stdlib/strtod_l.c: Include <tininess.h>.
7042         (round_and_return): Do not set errno for exact underflow cases.
7043         Force an underflow exception when setting errno for underflow.
7044         Determine underflow based on rounding to normal precision if
7045         TININESS_AFTER_ROUNDING.
7046         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7047         ERANGE for exact underflow cases.
7048         * stdlib/Makefile (tests): Add tst-tininess and
7049         tst-strtod-underflow.
7050         ($(objpfx)tst-tininess): Use $(link-libm).
7051         ($(objpfx)tst-strtod-underflow): Likewise.
7053 2012-10-30  Andreas Jaeger  <aj@suse.de>
7055         [BZ#14767]
7056         * elf/Makefile (tests): Remove conditional for have-initfini-array
7057         since this is now always required and the variable does not exist
7058         anymore.
7059         (tests-static): Likewise.
7060         (modules-names): Likewise.
7062         * po/eo.po: Add Esperanto translation from translation project.
7064         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7065         merged with constructor/destructor.
7066         (init_array): Likewise.
7067         * elf/tst-array2dep.c (fini_array): Likewise.
7068         (init_array): Likewise.
7070 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7072         * manual/message.texi: Delete @cartouche tags.
7074 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7076         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7077         EOPNOTSUPP.
7078         * sysdeps/mach/hurd/fsync.c: Likewise.
7080         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7081         [_POSIX_REALTIME_SIGNALS]: Change condition to
7082         [_POSIX_REALTIME_SIGNALS > 0].
7084 2012-10-27  Andreas Jaeger  <aj@suse.de>
7086         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7087         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7088         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7089         [__WORDSIZE != 64]: Likewise.
7091 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7093         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7094         *  iconvdata/tst-tables.sh: Likewise.
7096 2012-10-25  David S. Miller  <davem@davemloft.net>
7098         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7099         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7100         of strtoull.
7102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7103         ifunc-impl-list.c
7104         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7105         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7106         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7107         file.
7109 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7111         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7112         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7113         __getdirentries.
7115 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7116             Jim Blandy  <jimb@codesourcery.com>
7118         * scripts/cross-test-ssh.sh: New file.
7119         * manual/install.texi (Configuring and compiling): Document use of
7120         cross-test-ssh.sh.
7121         * INSTALL: Regenerated.
7123 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7125         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7126         EOPNOTSUPP.
7128 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7130         * Makeconfig (run-program-prefix): Fix comment.
7132 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7133             Jim Blandy  <jimb@codesourcery.com>
7135         * Makeconfig (test-wrapper): New variable,
7136         (test-wrapper-env): Likewise.
7137         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7138         (run-built-tests): Define to yes.
7139         (run-program-prefix): Use $(test-wrapper).
7140         (built-program-cmd): Likewise.
7141         * Rules (make-test-out): Use $(test-wrapper-env) and
7142         $(host-built-program-cmd).
7143         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7144         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7145         tst-pathopt.sh.
7146         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7147         $(test-wrapper-env) to tst-rtld-load-self.sh.
7148         ($(objpfx)order2.out): Use $(test-wrapper).
7149         ($(objpfx)tst-initorder.out): Likewise.
7150         ($(objpfx)tst-initorder2.out): Likewise.
7151         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7152         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7153         (test_wrapper_env): New variable.  Use it to run ld.so.
7154         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7155         Use it to run ld.so.
7156         (test_wrapper_env): Likewise.
7157         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7158         $(test-wrapper) to run-iconv-test.sh.
7159         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7160         (ICONV): Use $test_wrapper.
7161         * posix/Makefile ($(objpfx)globtest.out): Pass
7162         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7163         globtest.sh, not $(run-program-prefix).
7164         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7165         (test_wrapper): Likewise.
7166         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7167         set together with run_via_rtld_prefix.
7168         (run_program_prefix): Define in terms of test_wrapper and
7169         run_via_rtld_prefix.
7171 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7173         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7174         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7175         Targets removed.
7177         [BZ #14743]
7178         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7179         Declare __clock_getres, __clock_gettime, __clock_settime,
7180         __clock_nanosleep, and __clock_getcpuclockid.
7181         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7182         Remove librt_hidden_def (clock_gettime).
7183         * sysdeps/unix/clock_gettime.c: Likewise.
7184         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7185         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7186         * rt/clock_getres.c: Define __clock_getres as an alias.
7187         * sysdeps/posix/clock_getres.c: Likewise.
7188         * rt/clock_settime.c: Define __clock_settime as an alias.
7189         * sysdeps/unix/clock_settime.c: Likewise.
7190         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7191         * sysdeps/unix/clock_nanosleep.c: Likewise.
7192         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7193         * rt/clock-compat.c: New file.
7194         * rt/Makefile (librt-routines): Add clock-compat and move
7195         $(clock-routines) to ...
7196         (routines): ... here, new variable.
7197         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7198         Don't add get_clockfreq here.
7199         * rt/Versions (libc: GLIBC_2.17): New version set.
7200         Add clock_* symbols here.
7201         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7202         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7203         (GLIBC_2.17): Add clock_* symbols.
7204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7206         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7208         Likewise.
7209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7210         Likewise.
7211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7212         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7215         * NEWS: Mention the move.
7217         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7218         Use __open, __read, __close rather than their public counterparts.
7219         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7220         (__get_clockfreq_via_cpuinfo): Likewise.
7221         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7222         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7224         * config.h.in (HAVE_IFUNC): New #undef.
7225         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7226         was successful.
7227         * configure: Regenerated.
7229 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7231         * configure.in: Move READELF check to start of file.
7232         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7233         libc_cv_asm_gnu_indirect_function in the process.
7234         * configure: Regenerated.
7236 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7238         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7239         send the output to /dev/null.
7240         (libc_cv_cc_with_libunwind): Likewise.
7241         (libc_cv_as_noexecstack): Likewise.
7242         * configure: Regenerate.
7244 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7246         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7248         * posix/globtest.sh (TMPDIR): Do not set.
7249         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7250         (testout): Likewise.
7252 2012-10-24  Andreas Jaeger  <aj@suse.de>
7254         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7255         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7256         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7257         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7258         posix_fadvise64, posix_fallocate64.
7260         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7261         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7262         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7263         Likewise.
7264         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7265         Likewise.
7266         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7268         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7269         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7270         <bits/fcntl-linux.h>.
7271         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7273         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7274         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7275         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7276         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7277         [__WORDSIZE != 64]: Likewise.
7279 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7281         * Makeconfig (run-built-tests): New variable.
7282         * Rules [$(cross-compiling) = yes]: Change condition to
7283         [$(run-built-tests) = no].
7284         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7285         to [$(run-built-tests) = yes].
7286         * elf/Makefile [$(cross-compiling) = no]: Likewise
7287         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7288         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7289         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7290         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7291         * io/Makefile [$(cross-compiling) = no]: Likewise.
7292         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7293         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7294         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7295         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7296         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7297         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7298         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7299         * string/Makefile [$(cross-compiling) = no]: Likewise.
7301         * posix/Makefile ($(objpfx)globtest.out): Pass
7302         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7303         $(rtld-installed-name).
7304         * posix/globtest.sh (elf_objpfx): Remove variable.
7305         (rtld_installed_name): Likewise.
7306         (library_path): Likewise.
7307         (run_program_prefix): New variable.  Use for running globtest
7308         binary.
7310 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7311             Joseph Myers  <joseph@codesourcery.com>
7313         * Makeconfig (host-built-program-cmd): New variable.
7314         * elf/Makefile (tst-stackguard1-ARGS): Use
7315         $(host-built-program-cmd).
7316         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7317         (tst-spawn-ARGS): Likewise.
7318         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7320 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7321             Jim Blandy  <jimb@codesourcery.com>
7323         * Makeconfig (run-via-rtld-prefix): New variable.
7324         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7325         (built-program-cmd): Likewise.
7327 2012-10-22  Andreas Jaeger  <aj@suse.de>
7329         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7330         __O_RSYNC if it exists, otherwise to O_SYNC.
7332 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7333             Joseph Myers  <joseph@codesourcery.com>
7335         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7336         /dev/null.
7337         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7338         from /dev/null
7339         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7340         /dev/null.
7342 2012-10-22  Andreas Jaeger  <aj@suse.de>
7344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7345         Define always.
7346         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7348         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7349         bits/fcntl-linux.h.
7351         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7352         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7354         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7355         to __O_LARGEFILE.
7356         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7357         to __O_LARGEFILE.
7359 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7360             Joseph Myers  <joseph@codesourcery.com>
7362         * config.make.in (NM): New variable.
7364 2012-10-21  Andreas Jaeger  <aj@suse.de>
7366         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7367         definitions and declarations that are provided by
7368         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7370 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7372         [BZ #14683]
7373         * elf/Makefile (tests-static): Add tst-leaks1-static.
7374         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7375         ($(objpfx)tst-leaks1-static): New rule.
7376         ($(objpfx)tst-leaks1-static-mem): Likewise.
7377         (tst-leaks1-static-ENV): New macro.
7378         * elf/dl-open.c (dl_open_worker): Check the main application
7379         only if SHARED is defined.
7380         * elf/tst-leaks1-static.c: New file.
7382 2012-10-20  Andreas Jaeger  <aj@suse.de>
7384         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7385         generic values for Linux.
7386         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7387         and declarations that are provided by <bits/fcntl-linux.h> and
7388         include <bits/fcntl-linux.h>.
7389         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7392 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7394         * io/fcntl.h: Move include of <bits/types.h> to the top and
7395         include it unconditionally.
7397 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7399         * wcsmbs/Makefile (tests-ifunc): New variable.
7400         (tests): Add $(tests-ifunc).
7401         * wcsmbs/test-wcschr-ifunc.c: New file.
7402         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7403         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7404         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7405         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7406         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7408         * string/Makefile (tests-ifunc): New variable.
7409         (tests): Add $(tests-ifunc).
7410         * string/test-memccpy.c (TEST_NAME): New macro.
7411         * string/test-memchr.c (TEST_NAME): Likewise.
7412         * string/test-memcmp.c (TEST_NAME): Likewise.
7413         * string/test-memcpy.c (TEST_NAME): Likewise.
7414         * string/test-memmem.c (TEST_NAME): Likewise.
7415         * string/test-memmove.c (TEST_NAME): Likewise.
7416         * string/test-memset.c (TEST_NAME): Likewise.
7417         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7418         * string/test-stpcpy.c (TEST_NAME): Likewise.
7419         * string/test-stpncpy.c (TEST_NAME): Likewise.
7420         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7421         * string/test-strcasestr.c (TEST_NAME): Likewise.
7422         * string/test-strcat.c (TEST_NAME): Likewise.
7423         * string/test-strchr.c (TEST_NAME): Likewise.
7424         * string/test-strcmp.c(TEST_NAME): Likewise.
7425         * string/test-strcpy.c (TEST_NAME): Likewise.
7426         * string/test-strcspn.c (TEST_NAME): Likewise.
7427         * string/test-strlen.c (TEST_NAME): Likewise.
7428         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7429         * string/test-strncmp.c (TEST_NAME): Likewise.
7430         * string/test-strncpy.c (TEST_NAME): Likewise.
7431         * string/test-strnlen.c (TEST_NAME): Likewise.
7432         * string/test-strpbrk.c (TEST_NAME): Likewise.
7433         * string/test-strrchr.c (TEST_NAME): Likewise.
7434         * string/test-strspn.c (TEST_NAME): Likewise.
7435         * string/test-strstr.c (TEST_NAME): Likewise.
7436         * string/test-bcopy-ifunc.c: New file.
7437         * string/test-bzero-ifunc.c: Likewise.
7438         * string/test-memccpy-ifunc.c: Likewise.
7439         * string/test-memchr-ifunc.c: Likewise.
7440         * string/test-memcmp-ifunc.c: Likewise.
7441         * string/test-memcpy-ifunc.c: Likewise.
7442         * string/test-memmem-ifunc.c: Likewise.
7443         * string/test-memmove-ifunc.c: Likewise.
7444         * string/test-mempcpy-ifunc.c: Likewise.
7445         * string/test-memset-ifunc.c: Likewise.
7446         * string/test-rawmemchr-ifunc.c: Likewise.
7447         * string/test-stpcpy-ifunc.c: Likewise.
7448         * string/test-stpncpy-ifunc.c: Likewise.
7449         * string/test-strcasecmp-ifunc.c: Likewise.
7450         * string/test-strcasestr-ifunc.c: Likewise.
7451         * string/test-strcat-ifunc.c: Likewise.
7452         * string/test-strchr-ifunc.c: Likewise.
7453         * string/test-strchrnul-ifunc.c: Likewise.
7454         * string/test-strcmp-ifunc.c: Likewise.
7455         * string/test-strcpy-ifunc.c: Likewise.
7456         * string/test-strcspn-ifunc.c: Likewise.
7457         * string/test-strlen-ifunc.c: Likewise.
7458         * string/test-strncasecmp-ifunc.c: Likewise.
7459         * string/test-strncat-ifunc.c: Likewise.
7460         * string/test-strncmp-ifunc.c: Likewise.
7461         * string/test-strncpy-ifunc.c: Likewise.
7462         * string/test-strnlen-ifunc.c: Likewise.
7463         * string/test-strpbrk-ifunc.c: Likewise.
7464         * string/test-strrchr-ifunc.c: Likewise.
7465         * string/test-strspn-ifunc.c: Likewise.
7466         * string/test-strstr-ifunc.c: Likewise.
7468         * debug/Makefile (tests-ifunc): New variable.
7469         (tests): Add $(tests-ifunc).
7470         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7471         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7472         * debug/test-stpcpy_chk-ifunc.c: New file.
7473         * debug/test-strcpy_chk-ifunc.c: Likewise.
7475 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7477         [BZ #13601]
7478         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7479         header is not read in.
7481 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7483         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7484         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7485         directly.  Pass built executable to script as
7486         $(built-program-cmd).
7487         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7488         $testprogram without using LD_LIBRARY_PATH and $ldso.
7490         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7491         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7492         $(rtld-installed-name).
7493         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7494         (rtld_installed_name): Likewise.
7495         (library_path): Likewise.
7496         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7497         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7498         $(run-program-prefix) to tst-tables.sh.
7499         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7500         it to run tst-table-from and tst-table-to.
7501         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7502         Pass it to tst-table.sh.
7503         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7504         $(run-program-prefix) to tst-gettext.sh.
7505         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7506         tst-translit.sh.
7507         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7508         tst-gettext2.sh.
7509         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7510         to run tst-gettext.
7511         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7512         to run tst-gettext2.
7513         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7514         to run tst-translit.
7515         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7516         $(run-program-prefix) to tst-mtrace.sh.
7517         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7518         to run tst-mtrace.
7519         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7520         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7521         $(rtld-installed-name).
7522         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7523         (rtld_installed_name): Likewise.
7524         (run_program_prefix): New variable.  Use it to run wordexp-test.
7526         * Makeconfig (ARCH): Remove all definitions.
7527         (machine): Likewise.
7528         [ARCH]: Remove conditional code.
7529         [!objdir]: Give error.
7530         [!objdir] (objpfx): Remove.
7531         [!objdir] (common-objpfx): Likewise.
7532         [!objdir] (common-objdir): Likewise.
7533         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7534         AC_CONFIG_FILES call.
7535         * configure: Regenerated.
7537         [BZ #13888]
7538         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7539         or TMPDIR.
7540         (testout): Likewise.
7542         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7543         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7544         $(rtld-installed-name).
7545         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7546         (rtld_installed_name): Likwise.
7547         (runit): Remove function.
7548         (run_getconf): New variable,  Use it for running getconf binary.
7550 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7552         [BZ #14716]
7553         * string/test-memmem.c (check_result): New function.
7554         (do_one_test): Use it.
7555         (check1): New function.
7556         (test_main): Use it.
7558 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7560         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7562 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7564         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7565         (_G_LSEEK64): Likewise.
7566         (_G_MMAP64): Likewise.
7567         (_G_FSTAT64): Likewise.
7568         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7569         (_G_LSEEK64): Likewise.
7570         (_G_MMAP64): Likewise.
7571         (_G_FSTAT64): Likewise.
7572         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7573         unconditional.  Call __mmap64 directly.
7574         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7575         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7576         __lseek64 directly.
7577         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7578         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7579         __mmap64 directly.
7580         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7581         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7582         __lseek64 directly.
7583         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7584         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7585         __lseek64 directly.
7586         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7587         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7588         __lseek64 directly.
7589         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7590         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7591         __fxstat64 directly.
7592         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7593         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7594         unconditional.
7595         (freopen64) [!_G_OPEN64]: Remove conditional code.
7596         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7597         unconditional.
7598         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7599         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7600         unconditional.
7601         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7602         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7603         unconditional.
7604         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7605         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7606         unconditional.
7607         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7608         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7609         unconditional.
7610         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7611         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7612         unconditional.
7613         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7614         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7615         unconditional.
7616         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7618 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7620         [BZ #12140]
7621         * manual/memory.texi (Malloc Tunable Parameters): Add note
7622         about free list pointers overwriting some perturb bytes.
7623         Wording suggested by Roland McGrath.
7625 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7627         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7628         (lgamma_test): Likewise.
7629         (tgamma_test): Likewise.
7631 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7633         [BZ #14700]
7634         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7635         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7637 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7639         * NEWS: Mention BZ #14716.
7640         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7641         when removing AVAILABLE1_USES_J macro.
7643 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7645         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7646         (__bswap_64): __uint64_t for unsigned 64-bit int.
7648 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7650         * include/string.h (memmem): Declare libc hidden alias.
7651         * string/memmem.c (memmem): Define libc hidden alias.
7652         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7653         __read, __close instead of open, read, close.
7655 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7658         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7659         global and hidden.
7660         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7661         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7662         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7663         Likewise.
7664         (__rawmemchr_sse2): Likewise.
7665         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7666         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7667         (__strchr_sse2): Likewise.
7668         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7669         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7670         (__strcasecmp_sse2): Likewise.
7671         (__strncasecmp_sse2): Likewise.
7672         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7673         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7674         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7675         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7676         (__strrchr_sse2): Likewise.
7677         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7678         ifunc-impl-list.c.
7679         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7680         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7681         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7682         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7683         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7684         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7685         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7686         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7687         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7688         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7689         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7690         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7691         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7692         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7693         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7694         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7695         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7696         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7697         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7698         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7699         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7700         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7701         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7702         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7703         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7704         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7705         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7706         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7707         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7708         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7710         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7711         global and hidden.
7712         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7713         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7714         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7715         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7716         Likewise.
7717         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7718         Likewise.
7719         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7720         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7721         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7722         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7723         ifunc-impl-list.c.
7724         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7725         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7726         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7727         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7728         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7729         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7730         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7731         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7732         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7733         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7734         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7735         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7736         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7737         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7738         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7739         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7740         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7741         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7742         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7743         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7744         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7745         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7746         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7747         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7748         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7749         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7750         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7751         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7752         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7753         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7754         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7755         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7756         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7757         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7758         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7759         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7760         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7761         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7762         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7763         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7764         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7766         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7767         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7768         * include/ifunc-impl-list.h: New file.
7769         * misc/ifunc-impl-list.c: Likewise.
7770         * misc/Makefile (routines): Add ifunc-impl-list.
7771         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7772         * string/test-string.h: Include <ifunc-impl-list.h>.
7773         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7774         impl_array): New variables.
7775         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7776         are defined.
7777         (test_init): Call __libc_ifunc_impl_list to initialize
7778         func_list if TEST_IFUNC and TEST_NAME are defined.
7780         * string/Makefile (strop-tests): Add bcopy and bzero.
7781         * string/test-bcopy.c: New file.
7782         * string/test-bzero.c: Likewise.
7783         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7784         defined.
7785         * string/test-memset.c: Support bzero test if TEST_BZERO is
7786         defined.
7787         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7788         __libc_memmove.
7789         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7790         __libc_memset.
7791         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7792         of memset.
7794 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7796         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7797         * configure: Regenerated.
7799         * Makeconfig (+link-static-before-libc): Don't include
7800         $(link-static-libc).
7802         * libio/libio.h (_IO_pos_t): Remove.
7804 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7806         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7807         McGrath.
7809 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7811         * crypt/crypt-entry.c: Include fips-private.h.
7812         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7813         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7814         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7815         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7817 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7819         * crypt/crypt-private.h: Include stdbool.h.
7820         (_ufc_setup_salt_r): Return bool.
7821         * crypt/crypt-entry.c: Include errno.h.
7822         (__crypt_r): Return NULL with EINVAL for bad salt.
7823         * crypt/crypt_util.c (bad_for_salt): New.
7824         (_ufc_setup_salt_r): Check that salt is long enough and within
7825         the specified alphabet.
7826         * crypt/badsalttest.c: New file.
7827         * crypt/Makefile (tests): Add it.
7828         ($(objpfx)badsalttest): New.
7830 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7832         * NEWS: Add entry for BZ #14602.
7834 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7836         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7837         type-generic.
7838         * math/libm-test.inc: Update comment listing what functions and
7839         macros are tested.
7840         (isgreater_test): New function.
7841         (isgreaterequal_test): Likewise.
7842         (isless_test): Likewise.
7843         (islessequal_test): Likewise.
7844         (islessgreater_test): Likewise.
7845         (isunordered_test): Likewise.
7846         (main): Call the new functions.
7848 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7850         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7851         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7852         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7853         * sysdeps/i386/configure: Regenerated.
7854         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7855         * sysdeps/mach/configure: Regenerated.
7856         * sysdeps/mach/hurd/configure: Regenerated.
7857         * sysdeps/powerpc/configure: Regenerated.
7858         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7859         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7860         * sysdeps/s390/s390-32/configure: Regenerated.
7861         * sysdeps/s390/s390-64/configure: Regenerated.
7862         * sysdeps/sh/configure: Regenerated.
7863         * sysdeps/sparc/configure: Regenerated.
7864         * sysdeps/unix/sysv/linux/configure: Regenerated.
7865         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7866         * sysdeps/x86_64/configure: Regenerated.
7868         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7869         defined.  Don't check if MAP is NULL.
7871 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7873         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7874         (_G_stat64): Likewise.
7875         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7876         (_G_stat64): Likewise.
7877         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7878         instead of struct _G_stat64.
7879         * libio/fileops.c (mmap_remap_check): Likewise.
7880         (decide_maybe_mmap): Likewise.
7881         (_IO_new_file_seekoff): Likewise.
7882         (_IO_file_stat): Likewise.
7883         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7884         _G_off64_t.
7885         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7886         instead of struct _G_stat64.
7887         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7889 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7891         [BZ #14602]
7892         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7893         Replace with ...
7894         (CHECK_EOL): New macro.
7895         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7896         CHECK_EOL.
7897         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7898         Replace with CHECK_EOL.
7899         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7900         Replace with CHECK_EOL.
7902 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7904         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7905         type-generic.
7906         * math/libm-test.inc: Update comment listing what functions and
7907         macros are tested.
7908         (finite_test): New function.
7909         (isinf_test): Likewise.
7910         (isnan_test): Likewise.
7911         (fpclassify_test): Test subnormal input.
7912         (isfinite_test): Likewise.
7913         (isnormal_test): Likewise.
7914         (main): Call the new functions.
7916 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7918         [BZ #14660]
7919         * Makerules (%.dynsym): Force C locale when running
7920         $(OBJDUMP) --dynamic-syms.
7922 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7924         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7925         <stdint.h>.
7927 2012-10-06  David S. Miller  <davem@davemloft.net>
7929         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7930         upper 32-bits of the length value in %o2 since we use branch-on-register
7931         tests which consider the entire 64-bit register.
7933 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7935         * string/test-strstr.c (check2): Add a test for page boundary.
7937 2012-10-05  David S. Miller  <davem@davemloft.net>
7939         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7940         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7941         file.
7942         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7943         sysdep_routines.
7944         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7945         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7946         and bzero when HWCAP_SPARC_CRYPTO is present.
7948 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7950         [BZ #14602]
7951         * string/test-strstr.c (check2): New function.
7952         (test_main): Call check2.
7954         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7955         and bug-strchr1.
7956         * string/bug-strcasestr1.c (do_test): Moved to ...
7957         * string/test-strcasestr.c (check1): Here.  New function.
7958         (do_one_test): Break out result checking code into ...
7959         (check_result): This.  New function.
7960         (do_one_test): Call check_result.
7961         (test_main): Call check1.
7962         * string/bug-strchr1.c (do_test): Moved to ...
7963         * string/test-strchr.c (check1): Here.  New function.
7964         (do_one_test): Break out result checking code into ...
7965         (check_result): This.  New function.
7966         (do_one_test): Call check_result.
7967         (test_main): Call check1.
7968         * string/bug-strstr1.c (main): Moved to ...
7969         * string/test-strstr.c (check1): Here.  New function.
7970         (do_one_test): Break out result checking code into ...
7971         (check_result): This.  New function.
7972         (do_one_test): Call check_result.
7973         (test_main): Call check1.
7974         * string/bug-strcasestr1.c: Removed.
7975         * string/bug-strchr1.c: Likewise.
7976         * string/bug-strstr1.c: Likewise.
7978         * elf/Makefile (dl-routines): Add hwcaps.
7979         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7980         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7981         (_dl_important_hwcaps): Moved to ...
7982         * elf/dl-hwcaps.c: Here.  New file.
7983         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7985         [BZ #14557]
7986         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7987         if IS_IN_rtld isn't defined.
7989         * elf/dl-support.c (_dl_sysinfo_map): New.
7990         Include "get-dynamic-info.h" and "setup-vdso.h".
7991         (_dl_non_dynamic_init): Call setup_vdso.
7992         * elf/dynamic-link.h: Don't include <assert.h>.
7993         (elf_get_dynamic_info): Moved to ...
7994         * elf/get-dynamic-info.h: Here.  New file.
7995         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7996         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7997         * elf/setup-vdso.h: Here.  New file.
7998         * elf/rtld.c: Include "setup-vdso.h".
7999         (dl_main): Call setup_vdso.
8001 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
8003         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8004         creal in comment listing functions tested.  List finite, isinf,
8005         isnan, isless, islessequal, isgreater, isgreaterequal,
8006         islessgreater, isunordered, lgamma_r and pow10 as functions and
8007         macros not tested.  Mention which functions not tested are aliases
8008         for other functions.  Fix typo.  Note that signs of NaNs are not
8009         tested.
8011         * scripts/config.guess: Update from config.git.
8012         * scripts/config.sub: Likewise.
8014 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8016         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8017         * misc/madvise.c (madvise): Renamed to __madvise.
8018         Make madvise a weak alias.
8019         * include/sys/mman.h: Declare __madvise.
8020         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8021         * sysdeps/unix/syscalls.list
8022         (madvise): Make __madvise the strong name, and madvise a weak alias.
8023         * sysdeps/unix/sysv/linux/syscalls.list
8024         (madvise, mmap): Remove redundant entries.
8025         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8026         * malloc/malloc.c (mtrim): Likewise.
8027         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8029 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8031         * sysdeps/mach/hurd/dl-cache.c: File removed.
8032         * config.h.in (USE_LDCONFIG): New #undef.
8033         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8034         * configure: Regenerated.
8035         * elf/Makefile (dl-routines): Add dl-cache only under
8036         [$(use-ldconfig) = yes].
8037         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8038         cache on [USE_LDCONFIG].
8039         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8040         [USE_LDCONFIG].
8041         * elf/rtld.c (dl_main): Likewise.
8043 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8045         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8046         _SC_LEVEL4_CACHE_LINESIZE.
8048 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8050         * sysdeps/unix/bsd/confstr.h: File removed.
8052 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8054         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8055         sys/sdt-config.h.
8057 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8059         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8060         Make 'mapoff' field ElfW(Off) rather than off_t.
8062 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8064         * nscd/Makefile: Remove nscd-cflags and all its users.
8065         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8066         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8068         [BZ #10631]
8069         * malloc.c (malloc_printerr): Clarify error message.
8071 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8073         [BZ #14648]
8074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8075         Set bit_FMA_Usable if FMA is supported.
8076         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8077         macro.
8078         (bit_FMA4_Usable): Updated.
8079         (index_FMA_Usable): New macro.
8080         (CPUID_FMA): Likewise
8081         (HAS_FMA): Defined with bit_FMA_Usable.
8083 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8085         * bits/types.h (__swblk_t): Type removed.
8086         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8087         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8088         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8089         (__SWBLK_T_TYPE): Likewise.
8090         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8091         (__SWBLK_T_TYPE): Likewise.
8092         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8093         (__SWBLK_T_TYPE): Likewise.
8094         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8095         (__SWBLK_T_TYPE): Likewise.
8097 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8098             Honza Horak <hhorak@redhat.com>
8100         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8101         (xdr_mapname): Use YPMAXMAP as maxsize.
8102         (xdr_peername): Use YPMAXPEER as maxsize.
8103         (xdr_keydat): Use YPAXRECORD as maxsize.
8104         (xdr_valdat): Use YPMAXRECORD as maxsize.
8106 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8108         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8110         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8111         * csu/init-first.c: ... here.
8112         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8113         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8114         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8115         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8116         * sysdeps/i386/init-first.c: File removed.
8117         * sysdeps/sh/init-first.c: File removed.
8119 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8121         [BZ #14645]
8122         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8123         if x * y might underflow to zero and z is zero.
8124         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8125         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8126         * math/libm-test.inc (min_subnorm_value): New variable.
8127         (fma_test): Add more tests.
8128         (fma_test_towardzero): Likewise.
8129         (fma_test_downward): Likewise
8130         (fma_test_upward): Likewise.
8131         (initialize): Set min_subnorm_value.
8133 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8135         [BZ #14638]
8136         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8137         0 + 0.
8138         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8139         mode for addition resulting in exact zero.
8140         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8141         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8142         exact 0 + 0.
8143         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8145         * math/libm-test.inc (fma_test): Add more tests.
8146         (fma_test_towardzero): New function.
8147         (fma_test_downward): Likewise.
8148         (fma_test_upward): Likewise.
8149         (main): Call the new functions.
8151 2012-09-28  David S. Miller  <davem@davemloft.net>
8153         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8155 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8157         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8158         instead of SIGALRM.
8160         * sysdeps/gnu/_G_config.h: Moved to ...
8161         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8162         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8163         * sysdeps/generic/_G_config.h: ... here.
8165         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8167         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8169         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8170         Conditionalize target on [libnss_test1.so-version].
8172         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8174         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8175         (elfobjdir): Move out of conditionals.
8177         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8178         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8179         (__nss_lookup_function): Conditionalize label remove_from_tree on
8180         [!DO_STATIC_NSS || SHARED], matching its only use.
8182 2012-09-28  David S. Miller  <davem@davemloft.net>
8184         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8185         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8186         file.
8187         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8188         sysdep_routines.
8189         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8190         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8191         when HWCAP_SPARC_CRYPTO is present.
8193 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8195         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8197 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8199         [BZ #6530]
8200         * stdio-common/vfprintf.c (process_string_arg): Revert
8201         2000-07-22 change.
8203 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8205         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8206         for testcase.
8207         * stdio-common/tst-sprintf.c: Include <locale.h>
8208         (main): Test sprintf's handling of incomplete multibyte
8209         characters.
8211 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8213         * elf/dl-runtime.c (VERSYMIDX): Removed.
8214         * elf/dl-version.c (VERSYMIDX): Likewise.
8215         * elf/do-rel.h (VERSYMIDX): Likewise.
8216         (VALIDX): Likewise.
8217         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8218         * elf/rtld.c (VALIDX): Likewise.
8219         (ADDRIDX): Likewise.
8220         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8221         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8222         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8223         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8224         (VALIDX): Likewise.
8225         (ADDRIDX): Likewise.
8227 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8229         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8231 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8233         [BZ #11438]
8234         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8235         to global scope.
8236         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8237         addresses are in the same scope as 192.0.2/24.
8238         * posix/gai.conf: Document new scope table defaults.
8240 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8242         [BZ #5298]
8243         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8244         for ftell.  Compute offsets from write pointers instead.
8245         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8247 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8249         [BZ #14543]
8250         * libio/Makefile (tests): New test case tst-fseek.
8251         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8252         combination works in wide mode.
8253         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8254         state when the external buffer state changes.
8256 2012-09-27  David S. Miller  <davem@davemloft.net>
8258         [BZ #14376]
8259         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8260         pass reloc->r_addend in as the 'high' argument to
8261         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8265 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8267         * rt/tst-aio2.c: Include <pthread.h>.
8268         * rt/tst-aio3.c: Likewise.
8270 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8272         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8274 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8276         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8277         contents on [SHARED].
8279 2012-09-26  Marek Polacek  <polacek@redhat.com>
8281         [BZ #14530]
8282         [BZ #13741]
8283         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8284         for C++ and GCC <4.3 as well as for non GCC compilers.
8286 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8290 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8292         * Makefile.in (all, install): Declare with .PHONY.
8293         Reported by Michael Hope <michael.hope@linaro.org>.
8295 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8297         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8298         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8299         system header.
8300         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8301         Likewise.
8302         (sydep_routines): Add the new and the internal functions.
8303         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8304         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8306         (GLIBC_2.17): Add the new function.
8307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8308         (GLIBC_2.17): Likewise.
8309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8310         (GLIBC_2.17): Likewise.
8311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8312         (GLIBC_2.17): Likewise.
8313         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8315 2012-09-25  Alan Modra  <amodra@gmail.com>
8317         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8318         Add release barrier before setting once_control to say
8319         initialisation is done.  Add hints on lwarx.  Use macro in
8320         place of isync.
8321         (clear_once_control): Add release barrier.
8323 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8325         [BZ #13629]
8326         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8327         specially.
8328         * math/s_clog10.c (__clog10): Likewise.
8329         * math/s_clog10f.c (__clog10f): Likewise.
8330         * math/s_clog10l.c (__clog10l): Likewise.
8331         * math/s_clogf.c (__clogf): Likewise.
8332         * math/s_clogl.c (__clogl): Likewise.
8333         * math/Makefile (libm-calls): Add x2y2m1.
8334         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8335         (__x2y2m1): Likewise.
8336         (__x2y2m1l): Likewise.
8337         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8338         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8339         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8340         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8341         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8342         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8343         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8344         * sysdeps/i386/fpu/libm-test-ulps: Update.
8345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8347         [BZ #14621]
8348         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8349         int as type of variable DEPTH.
8350         (glob): Use size_t instead of int as type of variables NEWCOUNT
8351         and OLD_PATHC.
8353 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8355         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8356         Add s_sincosf-sse2.
8357         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8358         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8359         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8360         macros for using routine as __sincosf_ia32.
8361         Use macro for function declaration and weak_alias.
8362         * sysdeps/i386/fpu/libm-test-ulps: Update.
8364         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8367         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8368         subnormal argument.
8369         * math/s_cexpf.c (__cexpf): Likewise.
8370         * math/s_csinf.c (__csinf): Likewise.
8371         * math/s_csinhf.c (__csinhf): Likewise.
8372         * math/s_ctanf.c (__ctanf): Likewise.
8373         * math/s_ctanhf.c (__ctanhf): Likewise.
8374         * math/s_ccosh.c (__ccoshf): Likewise.
8375         * math/s_cexp.c (__cexpl): Likewise.
8376         * math/s_csin.c (__csin): Likewise.
8377         * math/s_csinh.c (__csinh): Likewise.
8378         * math/s_ctan.c (__ctan): Likewise.
8379         * math/s_ctanh.c (ctanh): Likewise.
8380         * math/s_ccoshl.c (__ccoshl): Likewise.
8381         * math/s_cexpl.c (__cexpl): Likewise.
8382         * math/s_csinl.c (__csinl): Likewise.
8383         * math/s_csinhl.c (__csinhl): Likewise.
8384         * math/s_ctanl.c (__ctanl): Likewise.
8385         * math/s_ctanhl.c (__ctanhl): Likewise.
8387 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8389         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8390         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8391         (_IO_off_t): Define to __off_t, not _G_off_t.
8392         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8393         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8394         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8395         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8396         type of __dummy and __dummy2 fields.
8397         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8398         (_G_ssize_t): Likewise.
8399         (_G_off_t): Likewise.
8400         (_G_pid_t): Likewise.
8401         (_G_uid_t): Likewise.
8402         (_G_wchar_t): Likewise.
8403         (_G_wint_t): Likewise.
8404         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8405         (_G_ssize_t): Likewise.
8406         (_G_off_t): Likewise.
8407         (_G_pid_t): Likewise.
8408         (_G_uid_t): Likewise.
8409         (_G_wchar_t): Likewise.
8410         (_G_wint_t): Likewise.
8411         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8412         (_G_ssize_t): Likewise.
8413         (_G_off_t): Likewise.
8414         (_G_pid_t): Likewise.
8415         (_G_uid_t): Likewise.
8416         (_G_wchar_t): Likewise.
8417         (_G_wint_t): Likewise.
8419 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8421         * malloc/arena.c: Include malloc-sysdep.h.
8422         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8423         is sufficient to shrink the heap or an unmap is needed.
8424         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8425         new function check_may_shrink_heap.
8426         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8427         new function check_may_shrink_heap.
8429 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8431         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8432         comments.
8434 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8436         * catgets/test-gencat.sh: Add "set -e".
8437         * elf/tst-pathopt.sh: Likewise.
8438         * grp/tst_fgetgrent.sh: Likewise.
8439         * iconvdata/run-iconv-test.sh: Likewise.
8440         * intl/tst-gettext.sh: Likewise.
8441         * intl/tst-gettext2.sh: Likewise.
8442         * intl/tst-gettext4.sh: Likewise.
8443         * intl/tst-gettext6.sh: Likewise.
8444         * intl/tst-translit.sh: Likewise.
8445         * io/ftwtest-sh: Likewise.
8446         * libio/test-freopen.sh: Likewise.
8447         * malloc/tst-mtrace.sh: Likewise.
8448         * posix/globtest.sh: Likewise.
8449         * posix/tst-getconf.sh: Likewise.
8450         * posix/wordexp-tst.sh: Likewise.
8451         * stdio-common/tst-printf.sh: Likewise.
8452         * stdio-common/tst-unbputc.sh: Likewise.
8453         * stdlib/tst-fmtmsg.sh: Likewise.
8454         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8455         * catgets/Makefile: Do not specify -e option when running
8456         testsuite shell scripts.
8457         * elf/Makefile: Likewise.
8458         * grp/Makefile: Likewise.
8459         * iconvdata/Makefile: Likewise.
8460         * intl/Makefile: Likewise.
8461         * io/Makefile: Likewise.
8462         * libio/Makefile: Likewise.
8463         * malloc/Makefile: Likewise.
8464         * posix/Makefile: Likewise.
8465         * stdio-common/Makefile: Likewise.
8466         * stdlib/Makefile: Likewise.
8467         * sysdeps/x86_64/Makefile: Likewise.
8469         * io/ftwtest-sh: Add copyright header.
8470         * posix/globtest.sh: Likewise.
8471         * posix/tst-getconf.sh: Likewise.
8472         * posix/wordexp-tst.sh: Likewise.
8473         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8475 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8477         [BZ #13679]
8478         * Makeconfig (+link): Defined as $(+link-static) if
8479         $(build-shared) isn't yes.
8480         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8481         isn't yes.
8482         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8484         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8486         [BZ #14562]
8487         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8488         new chunk size with MALLOC_ALIGN_MASK.
8490 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8492         [BZ #5044]
8493         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8494         <rounding-mode.h>.
8495         (__printf_fphex): Determine rounding using get_rounding_mode and
8496         round_away.
8497         * stdio-common/tst-printf-round.c (struct hex_test): New
8498         structure.
8499         (hex_tests): New variable.
8500         (test_hex_in_one_mode): New function.
8501         (do_test): Also run tests for hex float output.
8503 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8505         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8506         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8507         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8508         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8509         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8510         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8511         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8512         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8514 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8516         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8517         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8518         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8519         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8521 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8523         [BZ #14579]
8524         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8525         mode only.
8526         * elf/tst-rtld-load-self.sh: New test.
8527         * elf/Makefile: Run it.
8529 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8531         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8532         (tst-writev-ENV): Remove.
8533         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8535 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8537         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8539 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8541         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8542         unconditional.
8543         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8544         Likewise.
8545         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8546         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8547         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8548         Likewise.
8550 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8552         [BZ #14587]
8553         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8554         * config.make.in (have-cpp-asm-debuginfo): Removed.
8555         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8556         * configure: Regenerated.
8558 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8560         [BZ #5044]
8561         * stdio-common/printf_fp.c: Include <stdbool.h> and
8562         <rounding-mode.h>.
8563         (___printf_fp): Determine rounding using get_rounding_mode and
8564         round_away.
8565         * stdio-common/tst-printf-round.c: New file.
8566         * stdio-common/Makefile (tests): Add tst-printf-round.
8567         (link-libm): New variable.
8568         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8570 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8572         [BZ #14576]
8573         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8574         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8575         Likewise.
8576         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8577         Likewise.
8579 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8581         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8582         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8583         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8584         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8586 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8588         [BZ #14518]
8589         * include/rounding-mode.h: New file.
8590         * sysdeps/generic/get-rounding-mode.h: Likewise.
8591         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8592         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8593         (MAX_VALUE): New macro.
8594         (MIN_VALUE): Likewise.
8595         (overflow_value): New function.
8596         (underflow_value): Likewise.
8597         (round_and_return): Use overflow_value and underflow_value to
8598         determine return values in overflow and underflow cases.  Use
8599         round_away to determine rounding depending on rounding mode.
8600         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8601         determine return values in overflow and underflow cases.
8602         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8603         (struct test_results): New structure.
8604         (struct test): Use struct test_results to store expected results
8605         for all rounding modes.
8606         (TEST): Include expected results for all rounding modes.
8607         (test_in_one_mode): New function.
8608         (do_test): Use test_in_one_mode to compute and check results.
8609         Check results for all rounding modes.
8610         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8611         $(link-libm).
8613 2012-12-09  Allan McRae  <allan@archlinux.org>
8615         * sysdeps/i386/fpu/libm-test-ulps: Update
8617 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8619         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8620         (_G_int32_t): Likewise.
8621         (_G_uint16_t): Likewise.
8622         (_G_uint32_t): Likewise.
8623         (_G_HAVE_BOOL): Likewise.
8624         (_G_HAVE_ATEXIT): Likewise.
8625         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8626         (_G_HAVE_IO_FILE_OPEN): Likewise.
8627         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8628         (_G_int32_t): Likewise.
8629         (_G_uint16_t): Likewise.
8630         (_G_uint32_t): Likewise.
8631         (_G_HAVE_BOOL): Likewise.
8632         (_G_HAVE_ATEXIT): Likewise.
8633         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8634         (_G_HAVE_IO_FILE_OPEN): Likewise.
8635         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8636         (_G_int32_t): Likewise.
8637         (_G_uint16_t): Likewise.
8638         (_G_uint32_t): Likewise.
8639         (_G_HAVE_BOOL): Likewise.
8640         (_G_HAVE_ATEXIT): Likewise.
8641         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8642         (_G_HAVE_IO_FILE_OPEN): Likewise.
8644 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8646         * csu/libc-tls.c: Update copyright years.
8648 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8650         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8651         [!_G_USING_THUNKS]: Remove conditional code.
8652         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8653         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8655         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8656         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8657         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8658         (_G_VTABLE_LABEL_PREFIX): Likewise.
8659         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8660         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8661         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8662         (_G_VTABLE_LABEL_PREFIX): Likewise.
8663         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8664         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8665         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8666         (_G_VTABLE_LABEL_PREFIX): Likewise.
8667         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8669 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8671         * libio/Makefile: Include ../Makeconfig before tests.
8672         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8673         only if $(build-shared) is yes.
8675         * iconv/gconv_db.c: Update copyright years.
8677 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8679         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8680         unwind info if defined PIC. Fix special cases description.
8681         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8683         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8684         DP_HI_MASK entry.
8685         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8687 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8689         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8691         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8692         is NULL.
8694         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8695         (LDLIBS-tst-chk4): This.
8696         (LDFLAGS-tst-chk5): Renamed to ...
8697         (LDLIBS-tst-chk5): This.
8698         (LDFLAGS-tst-chk6): Renamed to ...
8699         (LDLIBS-tst-chk6): This.
8700         (LDFLAGS-tst-lfschk4): Renamed to ...
8701         (LDLIBS-tst-lfschk4): This.
8702         (LDFLAGS-tst-lfschk5): Renamed to ...
8703         (LDLIBS-tst-lfschk5): This.
8704         (LDFLAGS-tst-lfschk6): Renamed to ...
8705         (LDLIBS-tst-lfschk6): This.
8707         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8708         on $(common-objpfx)soversions.mk.
8710 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8712         [BZ #10014]
8713         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8714         example host name.
8716 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8718         * malloc/arena.c (arena_get_retry): New function that gets
8719         another arena for the caller to try its request on.
8720         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8721         current arena cannot fulfill the request.
8722         (__libc_memalign): Likewise.
8723         (__libc_memalign): Likewise.
8724         (__libc_pvalloc): Likewise.
8725         (__libc_calloc): Likewise.
8727 2012-09-05  John Tobey  <john.tobey@gmail.com>
8729         [BZ #13542]
8730         * manual/arith.texi (Operations on Complex): Fix description
8731         of carg branch cut.
8733 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8735         [BZ #10014]
8736         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8737         host name.
8739         [BZ #10038]
8740         * manual/memory.texi (Memory): Make order of menu items match
8741         order of sections.
8743 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8745         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8746         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8747         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8749 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8751         * csu/libc-tls.c (static_dtv): Renamed to ...
8752         (_dl_static_dtv): This.  Make it global.
8753         (_dl_initial_dtv): Removed.
8754         (__libc_setup_tls): Updated.
8755         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8756         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8757         DL_INITIAL_DTV.
8759 2012-09-06  Petr Machata  <pmachata@redhat.com>
8761         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8762         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8763         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8764         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8766 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8768         [BZ #14545]
8769         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8770         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8771         freeing dtv[-1].
8773 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8775         [BZ #14544]
8776         * Makeconfig (link-static-before-libc): Replace $(+prector)
8777         with $(+prectorT).
8778         (link-static-after-libc): Replace $(+postctor) with
8779         $(+postctorT).
8780         (link-bounded): Replace $(+prector)/$(+postctor) with
8781         $(+prectorT)/$(+postctorT).
8782         (+prectorT): New macro.
8783         (+postctorT): Likewise.
8785 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8787         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8788         (round_str): Handle values above the maximum for IBM long double
8789         as inexact.
8790         * stdlib/tst-strtod-round.c (tests): Regenerated.
8792 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8794         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8795         assembler flag.
8796         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8797         zarch_nohighgprs around the zarch optimized routines.
8798         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8799         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8800         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8801         for zarch.
8803 2012-09-05  David S. Miller  <davem@davemloft.net>
8805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8807         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8808         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8809         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8810         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8811         entries.
8813 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8815         * malloc/arena.c: Fold copyright years.
8816         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8818 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8820         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8822 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8824         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8826 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8828         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8829         change internal state upon failure.
8831 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8833         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8834         * malloc/memusage.c (mmap): Likewise.
8835         (mmap64, mremap): Likewise.  Adjust name in comment.
8837 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8839         * libio/fileops.c: Fix typos in comments.
8840         * libio/oldfileops.c: Likewise.
8841         * libio/wfileops.c: Likewise.
8843 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8845         [BZ #1349]
8846         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8847         (tst-malloc-usable-ENV): Set environment for test case.
8848         * malloc/hooks.c (malloc_check_get_size): New function to get
8849         requested size.
8850         * malloc/malloc.c (musable): Use malloc_check_get_size.
8851         * malloc/tst-malloc-usable.c: New test case.
8853 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8855         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8857 2012-09-05  Allan McRae  <allan@archlinux.org>
8859         [BZ #13966]
8860         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8861         determine header location.
8862         * configure: Regenerated.
8864 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8866         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8867         float format.
8868         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8869         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8870         format.
8871         (test): Regenerate.
8873 2012-09-04  David S. Miller  <davem@davemloft.net>
8875         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8876         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8877         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8879 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8881         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8882         failures.
8884         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8886 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8888         [BZ #9914]
8889         * libio/iogetdelim.c: Include <limits.h>.
8890         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8891         + len + 1 would overflow.
8893 2012-09-03  Andreas Jaeger  <aj@suse.de>
8895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8896         * sysdeps/i386/fpu/libm-test-ulps: Update.
8898 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8900         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8901         Add s_sinf-sse2, s_conf-sse2.
8903         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8904         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8905         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8906         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8908         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8909         for using routine as __sinf_ia32.
8910         Use macro for function declaration and weak_alias.
8911         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8912         for using routine as __cosf_ia32.
8913         Use macro for function declaration and weak_alias.
8915         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8916         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8918         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8919         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8920         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8922         * math/libm-test.inc (cos_test): Add more test cases.
8923         (sin_test): Likewise.
8924         (sincos_test): Likewise.
8926 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8928         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8929         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8930         hidden.
8931         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8933 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8935         [BZ #14538]
8936         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8937         first element of the GOT.
8938         (elf_machine_load_address): Return the difference between
8939         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8941 2012-09-01  Allan McRae  <allan@archlinux.org>
8943         [BZ #13412]
8944         * configure.in (AWK): Require gawk version 3.0 or later.
8945         * configure: Regenerated.
8947 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8949         * sysdeps/unix/sysv/linux/kernel-features.h
8950         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8951         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8952         [__NR_clock_getres]: Make code unconditional.
8953         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8954         (clock_getcpuclockid): Remove code left unreachable by removal of
8955         conditionals.
8956         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8957         code unconditional.
8958         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8959         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8960         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8961         Make code unconditional.
8962         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8963         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8964         * sysdeps/unix/sysv/linux/clock_settime.c
8965         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8966         conditional code.
8967         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8968         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8970 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8972         [BZ #14476]
8973         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8974         scripts/test-installation.pl.
8976         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8977         and $ld_so_version if it is set.
8979 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8981         [BZ #14516]
8982         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8983         failure if reading from procfs failed.
8984         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8986 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8988         * sysdeps/unix/sysv/linux/kernel-features.h
8989         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8990         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8991         Remove conditional code.
8992         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8993         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8994         Remove conditional code.
8995         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8996         * sysdeps/unix/sysv/linux/i386/fxstat.c
8997         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8998         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8999         * sysdeps/unix/sysv/linux/i386/fxstatat.c
9000         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9001         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9002         * sysdeps/unix/sysv/linux/i386/lxstat.c
9003         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9004         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9005         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9006         Remove conditional code.
9007         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9008         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9009         Remove conditional code.
9010         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9011         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9012         <kernel-features.h>.
9013         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9014         Remove.
9015         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9016         Remove conditional code.
9017         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9018         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9019         Remove conditional.
9021 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9023         [BZ #5400]
9024         * NEWS: Add fixed bug number.
9026 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9028         [BZ #14519]
9029         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9030         underflowing exponent in case of negative sign.
9031         * stdlib/tst-strtod-round-data: Add more tests.
9032         * stdlib/tst-strtod-round.c (tests): Regenerated.
9034         [BZ #3479]
9035         * stdlib/strtod_l.c (NDIG): Remove.
9036         (HEXNDIG): Likewise.
9037         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9038         smallest representable value.
9039         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9040         lie within an exact representation of 1/2 ulp of the result.
9041         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9042         unconditionally.
9043         (TENS_P9_IDX): Define unconditionally.
9044         (TENS_P9_SIZE): Likewise.
9045         (TENS_P10_IDX): Likewise.
9046         (TENS_P10_SIZE): Likewise.
9047         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9048         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9049         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9050         entries for 10^2^13 and 10^2^14.
9051         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9052         (TENS_P13_IDX): Define.
9053         (TENS_P13_SIZE): Likewise.
9054         (TENS_P14_IDX): Likewise.
9055         (TENS_P14_SIZE): Likewise.
9056         (_fpioconst_pow10): Change array size to
9057         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9058         unconditional.
9059         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9060         1024]: Add entries for 10^2^13 and 10^2^14.
9061         [LAST_POW10 > _LAST_POW10]: Remove #error.
9062         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9063         (_fpioconst_pow10): Change array size to
9064         FPIOCONST_POW10_ARRAY_SIZE.
9065         * stdlib/gen-fpioconst.c: New file.
9066         * stdlib/gen-tst-strtod-round.c: Likewise.
9067         * stdlib/tst-strtod-round-data: Likewise.
9068         * stdlib/tst-strtod-round.c: Likewise.
9069         * stdlib/Makefile (tests): Add tst-strtod-round.
9071         [BZ #14459]
9072         * stdlib/strtod_l.c: Include <stdint.h>.
9073         (NDEBUG): Do not define.
9074         (round_and_return): Change EXPONENT parameter to type intmax_t.
9075         Rearrange calculations to avoid internal overflow possibilities.
9076         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9077         Rearrange calculations to avoid internal overflow possibilities.
9078         Assert that number fits inside MPNSIZE limbs.
9079         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9080         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9081         calculations and add assertions to avoid internal overflow
9082         possibilities.  Add casts to avoid signed/unsigned operations.
9083         * stdlib/tst-strtod-overflow.c: New file.
9084         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9086 2012-08-25  Marek Polacek  <polacek@redhat.com>
9088         * time/time.h: Fix some typos in comments.
9090 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9092         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9093         * posix/tst-rfc3484-2.c: Likewise.
9094         * posix/tst-rfc3484-3.c: Likewise.
9096 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9098         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9099         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9101 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9103         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9104         #include of fxstatat64.c.
9106 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9108         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9109         * shadow/getspent_r.c: Likewise.
9110         * shadow/getspnam.c: Likewise.
9111         * shadow/getspnam_r.c: Likewise.
9112         * gshadow/getsgent.c: Likewise.
9113         * gshadow/getsgent_r.c: Likewise.
9114         * gshadow/getsgnam.c: Likewise.
9115         * gshadow/getsgnam_r.c: Likewise.
9116         * inet/getnetbyad.c: Likewise.
9117         * inet/getnetbyad_r.c: Likewise.
9118         * inet/getnetbynm.c: Likewise.
9119         * inet/getnetbynm_r.c: Likewise.
9120         * inet/getnetent.c: Likewise.
9121         * inet/getnetent_r.c: Likewise.
9122         * inet/getproto.c: Likewise.
9123         * inet/getproto_r.c: Likewise.
9124         * inet/getprtent.c: Likewise.
9125         * inet/getprtent_r.c: Likewise.
9126         * inet/getprtname.c: Likewise.
9127         * inet/getprtname_r.c: Likewise.
9128         * inet/getrpcbyname.c: Likewise.
9129         * inet/getrpcbyname_r.c: Likewise.
9130         * inet/getrpcbynumber.c: Likewise.
9131         * inet/getrpcbynumber_r.c: Likewise.
9132         * inet/getrpcent.c: Likewise.
9133         * inet/getrpcent_r.c: Likewise.
9134         * inet/getaliasent.c: Likewise.
9135         * inet/getaliasent_r.c: Likewise.
9136         * inet/getaliasname.c: Likewise.
9137         * inet/getaliasname_r.c: Likewise.
9138         * nscd/getgrgid_r.c: Likewise.
9139         * nscd/getgrnam_r.c: Likewise.
9140         * nscd/gethstbyad_r.c: Likewise.
9141         * nscd/gethstbynm3_r.c: Likewise.
9142         * nscd/getpwnam_r.c: Likewise.
9143         * nscd/getpwuid_r.c: Likewise.
9144         * nscd/getsrvbynm_r.c: Likewise.
9145         * nscd/getsrvbypt_r.c: Likewise.
9146         * nscd/gai.c: Likewise.
9148         * configure.in (build_nscd): New substituted variable, set
9149         by --disable-build-nscd and defaults to $use_nscd.
9150         * configure: Regenerated.
9151         * config.make.in (build-nscd): New substituted variable.
9152         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9153         Change conditional to require [$(build-nscd) = yes] as well.
9154         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9156         [BZ# 13696]
9157         * configure.in (use_nscd): New substituted variable, set by
9158         --disable-nscd.  If enabled, define USE_NSCD.
9159         * configure: Regenerated.
9160         * config.h.in: Add USE_NSCD.
9161         * config.make.in (use-nscd): New substituted variable.
9162         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9163         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9164         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9165         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9166         (CFLAGS-getgrnam_r.c): Likewise.
9167         (CFLAGS-initgroups.c): Likewise.
9168         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9169         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9170         Variables removed.
9171         * inet/getnetgrent_r.c
9172         (nscd_setnetgrent): New function, broken out of ...
9173         (setnetgrent): ... here.  Call it.
9174         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9175         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9176         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9177         * nscd/Makefile (routines, aux): Move definitions after include of
9178         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9179         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9180         Conditionalize on [USE_NSCD].
9181         (is_nscd, nscd_init_cb): Likewise.
9182         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9183         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9184         * nss/nss_db/db-init.c: Likewise.
9185         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9186         [USE_NSCD].
9187         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9188         (make_request): Use it.
9189         (cache_valid_p): New function.
9190         (__check_pf): Use it.
9191         * NEWS: Add item for --disable-nscd.
9193 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9195         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9196         to support sed >= 4.2.1-20-ga9bf076.
9197         * configure: Regenerated.
9199 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9201         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9202         Conditionalize whole body on [IREL].
9204 2012-08-22  Jeff Law <law@redhat.com>
9206         [BZ #14505]
9207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9208         if the family is PF_UNSPEC.
9210 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9212         * Makerules (lib-version): Rename from V.
9213         (install-lib-nosubdir): Change V to lib-version.
9215 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9217         [BZ #14252]
9218         * powerpc32/power6/wcschr.c: New file.
9219         * powerpc32/power6/wcscpy.c: New file.
9220         * powerpc32/power6/wcsrchr.c: New file.
9221         * powerpc64/power6/wcschr.c: New file.
9222         * powerpc64/power6/wcscpy.c: New file.
9223         * powerpc64/power6/wcsrchr.c: New file.
9225 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9227         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9228         (two_way_short_needle): Use it.
9229         * string/strstr.c (AVAILABLE1_USES_J): Define.
9230         * string/strcasestr.c: Likewise.
9232         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9233         array references.
9234         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9236         [BZ #11607]
9237         * NEWS: Add an entry.
9238         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9239         define their defaults.
9240         (two_way_short_needle): Detect end-of-string on-the-fly.
9241         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9242         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9243         * string/bug-strcasestr1.c: New test.
9244         * string/Makefile: Run it.
9246 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9248         [BZ #11607]
9249         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9250         the first character.
9252 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9254         * csu/elf-init.c (__libc_csu_irel): Function removed.
9255         * csu/libc-start.c (apply_irel): New function.
9256         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9258 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9260         * sysdeps/unix/sysv/linux/kernel-features.h
9261         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9262         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9263         <kernel-features.h>.
9264         [__NR_fadvise64_64]: Make code unconditional.
9265         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9266         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9267         !__NR_fadvise64_64)]: Likewise.
9268         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9269         !__NR_fadvise64_64))]: Likewise.
9270         [__NR_fadvise64]: Make code unconditional.
9271         [!__NR_fadvise64]: Remove conditional code.
9272         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9273         <kernel-features.h>.
9274         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9275         unconditional.
9276         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9277         conditional code.
9278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9279         not include <kernel-features.h>.
9280         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9281         unconditional.
9282         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9283         conditional code.
9284         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9285         include <kernel-features.h>.
9286         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9287         unconditional.
9288         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9289         conditional code.
9291 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9293         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9294         slight instruction rearrangements per scrollpipe analysis.
9295         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9297 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9299         * manual/syslog.texi (syslog; vsyslog, closelog):
9300         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9301         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9303         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9304         DSOCAPS to match condition on defining it.
9306 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9308         * sysdeps/unix/sysv/linux/kernel-features.h
9309         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9311         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9312         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9314         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9315         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9317         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9318         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9320         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9321         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9323         * sysdeps/unix/sysv/linux/kernel-features.h
9324         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9325         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9326         unconditional.
9327         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9328         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9329         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9330         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9331         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9332         Make code unconditional.
9333         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9334         (__mmap64) [!__NR_mmap2]: Likewise.
9335         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9336         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9337         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9338         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9339         [__NR_mmap2]: Make code unconditional.
9340         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9341         (__mmap64) [!__NR_mmap2]: Likewise.
9343 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9345         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9347 2012-08-18  Andreas Jaeger  <aj@suse.de>
9349         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9351 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9353         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9354         * include/unistd.h (__have_sock_cloexec): Likewise.
9355         (__have_pipe2): Likewise.
9356         (__have_dup3): Likewise.
9358 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9360         [BZ #9685]
9361         * include/unistd.h (__have_pipe2): Change define into an extern int.
9362         (__have_dup3): Likewise.
9363         * socket/have_sock_cloexec.c: Include fcntl.h.
9364         (__have_pipe2): New variable.
9365         (__have_dup3): Likewise.
9367 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9369         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9371 2012-08-17  Marek Polacek  <polacek@redhat.com>
9373         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9374         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9376 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9378         * configure.in: Add AC_SUBST for sysheaders.
9379         * configure: Regenerated.
9380         * config.make.in (sysheaders): New substituted variable.
9382         * sysdeps/unix/mkfifo.c: Moved ...
9383         * sysdeps/posix/mkfifo.c: ... here.
9384         * sysdeps/unix/mkfifoat.c: Moved ...
9385         * sysdeps/posix/mkfifoat.c: ... here.
9387         * sysdeps/unix/utime.c: Moved ...
9388         * sysdeps/posix/utime.c: ... here.
9390         * sysdeps/unix/time.c: Moved ...
9391         * sysdeps/posix/time.c: ... here.
9392         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9393         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9395         * sysdeps/unix/nice.c: Moved ...
9396         * sysdeps/posix/nice.c: ... here.
9398         * sysdeps/unix/alarm.c: Moved ...
9399         * sysdeps/posix/alarm.c: ... here.
9401         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9403 2012-08-17  Jeff Law <law@redhat.com>
9405         * intl/Makefile (codeset_mo): New variable.
9406         ($(codeset_mo)): New target.
9407         (tst-codeset.out): Depend on that.  Remove explicit rule.
9408         (tst-gettext3.out, tst-gettext5.out): Likewise.
9409         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9410         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9411         * intl/tst-codeset.sh: Remove.
9412         * intl/tst-gettext3.sh: Likewise.
9413         * intl/tst-gettext5.sh: Likewise.
9415 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9417         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9418         * sysdeps/unix/syscalls.list: ... here.
9420         * sysdeps/posix/getaddrinfo.c
9421         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9422         (gaiconf_init, gaiconf_reload): Use them.
9423         [!_STATBUF_ST_NSEC]
9424         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9425         Define using time_t rather than struct timespec.
9427         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9428         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9429         Macros removed.
9430         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9431         [!NO_THREADS].
9432         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9433         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9434         Likewise.
9436         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9437         __libc_cleanup_push argument.
9439         * bits/param.h: New file.
9440         * misc/sys/param.h: New file.
9441         * include/sys/param.h: New file.
9442         * misc/Makefile (headers): Add bits/param.h.
9443         * sysdeps/generic/sys/param.h: File removed.
9444         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9445         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9446         * sysdeps/mach/hurd/bits/param.h: New file.
9447         * sysdeps/mach/hurd/sys/param.h: File removed.
9449         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9450         last change.
9452         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9453         [_IO_MTSAFE_IO].
9454         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9455         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9456         New macros.
9458         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9459         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9460         rather than -D_IO_MTSAFE_IO conditionally.
9461         * stdio-common/Makefile (CPPFLAGS): Likewise.
9462         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9463         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9464         Use $(libio-mtsafe).
9465         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9466         of -D_IO_MTSAFE_IO.
9467         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9468         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9469         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9470         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9471         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9472         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9473         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9474         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9475         (CFLAGS-fread_u_chk.c): Likewise.
9476         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9477         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9478         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9479         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9480         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9481         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9482         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9483         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9484         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9486         * libio/Makefile: Test [$(libc-reentrant) = yes]
9487         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9489         * Makeconfig
9490         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9491         * sysdeps/pthread/configure: File removed.
9492         * sysdeps/pthread/Makeconfig: New file.
9493         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9494         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9496 2012-08-16  Gary Benson  <gbenson@redhat.com>
9498         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9499         unmapping the first object in a namespace.
9501 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9503         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9504         (__internal_setnetgrent): ... this.  Add internal_function to
9505         definition.  Add libc_hidden_def.
9506         (setnetgrent): Update caller.
9507         (internal_endnetgrent): Renamed to ...
9508         (__internal_endnetgrent): ... this.  Add internal_function to
9509         definition.  Add libc_hidden_def.
9510         (endnetgrent): Update caller.
9511         (internal_getnetgrent_r): Renamed to ...
9512         (__internal_getnetgrent_r): ... this.  Add internal_function to
9513         definition.  Add libc_hidden_def.
9514         (__getnetgrent_r): Update caller.
9515         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9517 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9519         * stdlib/longlong.h: Update from GCC.
9521 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9523         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9524         on _QL, which is set by umul_ppmm but never used.
9525         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9526         variables, which are set by GMP macros but never used.
9527         * stdio-common/_itowa.c (_itowa): Likewise.
9528         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9529         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9531 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9533         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9534         struct La_sh_regs is not constant.
9535         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9536         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9537         and struct La_sparc64_regs are not constant.
9539 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9541         * sysdeps/unix/sysv/linux/kernel-features.h
9542         (__ASSUME_POSIX_TIMERS): Remove.
9543         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9544         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9545         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9546         Make code unconditional.
9547         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9548         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9549         Make code unconditional.
9550         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9551         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9552         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9553         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9554         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9555         Make code unconditional.
9556         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9557         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9558         (__libc_missing_posix_timers): Remove.
9560 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9562         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9563         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9565         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9567         * elf/dl-sym.c: Include <stdlib.h>.
9569         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9570         constants, which avoids warnings in 32-bit builds.
9572         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9573         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9575         * misc/lseek.c: File moved to ...
9576         * io/lseek.c: ... here.
9578         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9580         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9581         shifting LEN more than 31 bits at once.
9583 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9585         [BZ #14195]
9586         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9587         segmentation fault for a case of two empty input strings.
9588         * string/test-strncasecmp.c (check1): Renamed to...
9589         (bz12205): ...this.
9590         (bz14195): Add new testcase for two empty input strings and N > 0.
9591         (test_main): Call new testcase, adapt for renamed function.
9593 2012-08-15  Andreas Jaeger  <aj@suse.de>
9595         [BZ #14090]
9596         * crypt/md5test2.c: New test, based on test supplied by Serge
9597         Belyshev <belyshev@depni.sinp.msu.ru>.
9598         * crypt/Makefile (xtests): Add md5test-giant..
9599         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9601 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9603         [BZ #14090]
9604         * crypt/md5.c (md5_process_block): Don't assume the buffer
9605         length is less than 2**32.
9606         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9607         length is less than 2**64.
9609 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9611         * string/str-two-way.h: Include <sys/param.h>.
9612         (MAX): Macro removed.
9614         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9615         Move #define and #undef of memmove to just before and after
9616         including <string.h>.
9618         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9619         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9620         and after including <string.h>.  Move declarations of
9621         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9622         to before #include "string/memmove.c".
9624         * include/dirent.h: Declare __getdirentries.
9626         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9627         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9629 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9631         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9632         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9633         * sysdeps/i386/configure: Regenerated.
9634         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9635         STABS_CURRENT_FILE, and STABS_FUN.
9636         (END): Remove call to STABS_FUN_END.
9637         (STABS_CURRENT_FILE1): Delete.
9638         (STABS_CURRENT_FILE): Likewise.
9639         (STABS_FUN): Likewise.
9640         (STABS_FUN_END): Likewise.
9641         (STABS_FUN2): Likewise.
9642         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9643         * sysdeps/x86_64/configure: Regenerated.
9645 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9647         * elf/dl-open.c: Include <atomic.h>.
9648         * elf/dl-lookup.c: Likewise.
9650 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9652         * sysdeps/unix/sysv/linux/kernel-features.h
9653         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9654         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9655         unconditionally.
9656         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9657         unconditionally.
9658         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9659         condition on __ASSUME_CLONE_THREAD_FLAGS.
9661 2012-08-14  Andreas Jaeger  <aj@suse.de>
9663         * sysdeps/i386/fpu/libm-test-ulps: Update.
9665 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9667         * include/atomic.h (atomic_exchange_and_add): Split into ...
9668         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9669         New atomic macros.
9671 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9675 2012-08-13  Jeff Law <law@redhat.com>
9677         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9678         null byte in the output string.
9680 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9682         * sysdeps/unix/sysv/linux/kernel-features.h
9683         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9684         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9685         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9686         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9687         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9688         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9689         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9691 2012-08-09  Jeff Law <law@redhat.com>
9693         [BZ #13939]
9694         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9695         When avoid_arena is set, don't retry in the that arena.  Pick the
9696         next one, whatever it might be.
9697         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9698         (arena_lock): Pass in new parameter to arena_get2.
9699         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9700         arena_get2.
9701         (__libc_malloc): Unify retrying after main arena failure with
9702         __libc_memalign version.
9703         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9705 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9707         [BZ #14166]
9708         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9709         to __redirect_strstr.
9710         (__strstr_sse42): Use typeof __redirect_strstr.
9711         (__strstr_ia32): Likewise.
9712         (__libc_strstr): New prototype.
9713         (strstr): Renamed to ...
9714         (__libc_strstr): This.
9715         (strstr): New strong alias of __libc_strstr.
9716         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9717         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9718         __redirect_time.
9719         Include <time.h>.
9720         (__libc_time): New prototype.
9721         (time_ifunc): Replace time with __libc_time.
9722         (time): New strong alias and hidden definition of __libc_time.
9723         (__GI_time): Remove strong alias.
9724         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9725         Include <stddef.h>.
9726         (memmove): Redefined to __redirect_memmove.
9727         (__memmove_sse2): Use typeof __redirect_memmove.
9728         (__memmove_ssse3): Likewise.
9729         (__memmove_ssse3_back): Likewise.
9730         (__libc_memmove): New prototype.
9731         (memmove): Renamed to ...
9732         (__libc_memmove): This.
9733         (memmove): New strong alias of __libc_memmove.
9735 2012-08-08  Mark Salter  <msalter@redhat.com>
9737         * elf/elf.h
9738         (R_MN10300_TLS_GD): Define.
9739         (R_MN10300_TLS_LD): Likewise.
9740         (R_MN10300_TLS_LDO): Likewise.
9741         (R_MN10300_TLS_GOTIE): Likewise.
9742         (R_MN10300_TLS_IE): Likewise.
9743         (R_MN10300_TLS_LE): Likewise.
9744         (R_MN10300_TLS_DTPMOD): Likewise.
9745         (R_MN10300_TLS_DTPOFF): Likewise.
9746         (R_MN10300_TLS_TPOFF): Likewise.
9747         (R_MN10300_SYM_DIFF): Likewise.
9748         (R_MN10300_ALIGN): Likewise.
9749         (R_MN10300_NUM): Update.
9751 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9753         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9754         Remove.
9756 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9758         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9760         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9761         sysdeps/unix -> sysdeps/posix move.
9762         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9764 2012-08-07      Allan McRae     <allan@archlinux.org>
9766         [BZ #14303]
9767         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9768         (SUNOS_CPP): Likewise.
9769         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9770         not found.
9771         (open_input): Call CPP using execvp.
9773 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9775         * sysdeps/unix/sysv/linux/kernel-features.h
9776         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9777         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9778         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9779         (__ASSUME_WAITID_SYSCALL): Likewise.
9780         * sysdeps/unix/sysv/linux/dl-execstack.c
9781         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9782         code unconditional.
9783         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9784         conditional code.
9785         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9786         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9787         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9788         code.
9789         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9790         unconditional.
9791         [__ASSUME_WAITID_SYSCALL]: Likewise.
9792         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9794 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9796         * sysdeps/unix/closedir.c: Renamed to ...
9797         * sysdeps/posix/closedir.c: ... here.
9798         * sysdeps/unix/dirfd.c: Renamed to ...
9799         * sysdeps/posix/dirfd.c: ... here.
9800         * sysdeps/unix/dirstream.h: Renamed to ...
9801         * sysdeps/posix/dirstream.h: ... here.
9802         * sysdeps/unix/fdopendir.c: Renamed to ...
9803         * sysdeps/posix/fdopendir.c: ... here.
9804         * sysdeps/unix/opendir.c: Renamed to ...
9805         * sysdeps/posix/opendir.c: ... here.
9806         * sysdeps/unix/readdir.c: Renamed to ...
9807         * sysdeps/posix/readdir.c: ... here.
9808         * sysdeps/unix/readdir_r.c: Renamed to ...
9809         * sysdeps/posix/readdir_r.c: ... here.
9810         * sysdeps/unix/rewinddir.c: Renamed to ...
9811         * sysdeps/posix/rewinddir.c: ... here.
9812         * sysdeps/unix/seekdir.c: Renamed to ...
9813         * sysdeps/posix/seekdir.c: ... here.
9814         * sysdeps/unix/telldir.c: Renamed to ...
9815         * sysdeps/posix/telldir.c: ... here.
9816         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9817         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9818         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9819         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9821         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9822         * bits/fcntl.h: ... here.
9824         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9825         not 0.
9826         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9827         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9828         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9829         (struct flock): Move l_start, l_len to the beginning.
9830         Use __pid_t for l_pid.
9831         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9832         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9833         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9834         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9835         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9836         [__USE_LARGEFILE64] (struct flock64): New type.
9837         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9839         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9840         * bits/dirent.h: ... here.
9842         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9843         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9845 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9847         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9848         Change from 2.6.0 to 2.6.16.
9849         * sysdeps/unix/sysv/linux/configure: Regenerated.
9850         * sysdeps/unix/sysv/linux/kernel-features.h
9851         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9852         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9853         version.
9854         (__ASSUME_UTIMES): Likewise.
9855         (__ASSUME_CLONE_STOPPED): Remove.
9856         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9857         architectures, not kernel version.
9858         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9859         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9860         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9861         (__ASSUME_WAITID_SYSCALL): Likewise.
9862         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9863         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9864         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9865         refer to older versions.
9867 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9869         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9870         Define alphasort64 as an alias.
9871         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9872         Define versionsort64 as an alias.
9873         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9874         Define scandir64 as an alias.
9875         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9876         Define scandirat64 as an alias.
9877         * dirent/alphasort64.c (alphasort64):
9878         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9879         * dirent/versionsort64.c: Likewise.
9880         * dirent/scandir64.c: Likewise.
9881         * dirent/scandirat64.c: Likewise.
9882         * sysdeps/wordsize-64/alphasort.c: File removed.
9883         * sysdeps/wordsize-64/alphasort64.c: File removed.
9884         * sysdeps/wordsize-64/scandir.c: File removed.
9885         * sysdeps/wordsize-64/scandir64.c: File removed.
9886         * sysdeps/wordsize-64/scandirat.c: File removed.
9887         * sysdeps/wordsize-64/scandirat64.c: File removed.
9888         * sysdeps/wordsize-64/versionsort.c: File removed.
9889         * sysdeps/wordsize-64/versionsort64.c: File removed.
9890         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9891         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9892         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9893         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9894         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9895         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9896         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9897         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9899         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9900         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9901         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9903         [defined __arch64__ || defined __sparcv9]
9904         (__INO_T_MATCHES_INO64_T): New macro.
9905         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9906         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9907         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9908         * sysdeps/unix/sysv/linux/bits/dirent.h
9909         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9910         (_DIRENT_MATCHES_DIRENT64): New macro.
9912         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9913         Define lockf64 as an alias.
9914         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9915         Define fseeko64 as an alias.
9916         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9917         Define ftello64 as an alias.
9918         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9919         Define _IO_fgetpos64 and fgetpos64 as aliases.
9920         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9921         Define _IO_fsetpos64 and fsetpos64 as aliases.
9922         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9923         Conditionalize body on this.
9924         * libio/fseeko64.c: Likewise.
9925         * libio/ftello64.c: Likewise.
9926         * libio/iofgetpos64.c: Likewise.
9927         * libio/iofsetpos64.c: Likewise.
9928         * sysdeps/wordsize-64/lockf.c: File removed.
9929         * sysdeps/wordsize-64/lockf64.c: File removed.
9930         * sysdeps/wordsize-64/fseeko.c: File removed.
9931         * sysdeps/wordsize-64/fseeko64.c: File removed.
9932         * sysdeps/wordsize-64/ftello.c: File removed.
9933         * sysdeps/wordsize-64/ftello64.c: File removed.
9934         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9935         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9936         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9937         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9938         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9939         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9940         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9941         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9942         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9943         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9944         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9945         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9946         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9947         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9949         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9950         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9951         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9952         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9953         [defined __arch64__ || defined __sparcv9]
9954         (__OFF_T_MATCHES_OFF64_T): New macro.
9955         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9956         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9957         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9958         (__OFF_T_MATCHES_OFF64_T): New macro.
9960 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9962         * stdlib/secure-getenv.c (__secure_getenv): Replace
9963         GLIBC_2_16 with GLIBC_2_17.
9965 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9967         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9968         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9970 2012-08-03  David S. Miller  <davem@davemloft.net>
9972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9974 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9976         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9977         Remove.
9978         (__ASSUME_CORRECT_SI_PID): Likewise.
9979         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9980         (__ASSUME_TMPFS_NAME): Likewise.
9981         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9982         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9983         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9984         (HAVE_AUX_SECURE): Make definition unconditional.
9985         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9986         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9988 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9990         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9991         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9992         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9993         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9994         __eloop_threshold instead of SYMLOOP_MAX.
9996         * sysdeps/generic/eloop-threshold.h: New file.
9997         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9998         of MAXSYMLINKS.
9999         * elf/chroot_canon.c (chroot_canon): Likewise.
10001 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
10003         [BZ #13717]
10004         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10005         Change to 2.6.0 everywhere.
10006         * sysdeps/unix/sysv/linux/configure: Regenerated.
10007         * sysdeps/unix/sysv/linux/kernel-features.h
10008         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10009         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10010         kernel versions.
10011         (__ASSUME_POSIX_TIMERS): Define unconditionally.
10012         (__ASSUME_FUTEX_REQUEUE): Remove.
10013         (__ASSUME_STATFS64): Define unconditionally.
10014         (__ASSUME_AT_SECURE): Likewise.
10015         (__ASSUME_CORRECT_SI_PID): Likewise.
10016         (__ASSUME_TGKILL): Define without depending on kernel version for
10017         i386.
10018         (__ASSUME_UTIMES): Likewise.
10019         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10020         kernel version.
10021         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10022         (__ASSUME_TMPFS_NAME): Likewise.
10023         * README: Update reference to Linux kernel versions.
10025 2012-08-02  Marek Polacek  <polacek@redhat.com>
10027         [BZ# 14150]
10028         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10029         libc_cv_asm_type_prefix with %.
10030         * configure: Regenerated.
10031         * include/libc-symbols.h: Remove comment about
10032         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10033         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10034         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10035         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10036         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10037         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10038         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10039         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10040         * elf/tst-unique2mod1.c: Likewise.
10041         * elf/tst-unique1mod2.c: Likewise.
10042         * elf/tst-unique1mod1.c: Likewise.
10043         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10044         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10045         Replace ASM_TYPE_DIRECTIVE with .type.
10046         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10047         * sysdeps/i386/sysdep.h: Likewise.
10048         * sysdeps/x86_64/sysdep.h: Likewise.
10049         * sysdeps/sh/sysdep.h: Likewise.
10050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10051         Do not define ASM_TYPE_DIRECTIVE.
10052         * sysdeps/powerpc/sysdep.h: Likewise.
10053         * sysdeps/powerpc/powerpc32/sysdep.h:
10054         Replace ASM_TYPE_DIRECTIVE with .type.
10055         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10056         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10057         * sysdeps/i386/fpu/e_powf.S: Likewise.
10058         * sysdeps/i386/fpu/e_expl.S: Likewise.
10059         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10060         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10061         * sysdeps/i386/fpu/e_pow.S: Likewise.
10062         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10063         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10064         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10065         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10066         * sysdeps/i386/fpu/e_log2.S: Likewise.
10067         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10068         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10069         * sysdeps/i386/fpu/e_powl.S: Likewise.
10070         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10071         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10072         * sysdeps/i386/fpu/e_logl.S: Likewise.
10073         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10074         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10075         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10076         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10077         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10078         * sysdeps/i386/fpu/e_log.S: Likewise.
10079         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10080         * sysdeps/i386/fpu/e_logf.S: Likewise.
10081         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10082         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10083         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10084         * sysdeps/i386/fpu/e_log10.S: Likewise.
10085         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10086         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10087         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10088         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10089         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10090         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10091         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10092         * sysdeps/i386/i686/strtok.S: Likewise.
10093         * sysdeps/i386/i386-mcount.S: Likewise.
10094         * sysdeps/i386/strtok.S: Likewise.
10095         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10096         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10097         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10098         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10099         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10100         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10101         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10102         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10103         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10104         * sysdeps/x86_64/_mcount.S: Likewise.
10105         * sysdeps/x86_64/strtok.S: Likewise.
10106         * sysdeps/sh/_mcount.S: Likewise.
10108 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10110         * libio/iofopen.c: Include <fcntl.h>.
10111         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10112         (_IO_fopen64, fopen64): Define as aliases.
10113         * libio/iofopen64.c: Include <fcntl.h>.
10114         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10115         Conditionalize body on this.
10116         * sysdeps/wordsize-64/iofopen.c: File removed.
10117         * sysdeps/wordsize-64/iofopen64.c: File removed.
10119 2012-08-01  Marek Polacek  <polacek@redhat.com>
10121         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10122         Use dlfcn directly instead of a variable.
10123         (binfmt-subdir): Do not define.
10124         (dlfcn): Likewise.
10126 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10128         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10129         Remove all definitions.
10130         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10131         <kernel-features.h>.
10132         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10133         (miss_F_GETOWN_EX): Remove all definitions.
10134         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10135         macro definition.
10136         [!__ASSUME_FCNTL64]: Remove conditional code.
10137         [__ASSUME_FCNTL64]: Make code unconditional.
10138         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10139         <kernel-features.h>.
10140         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10141         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10142         (lockf64) [__NR_fcntl64]: Make code unconditional.
10143         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10145         * sysdeps/unix/sysv/linux/kernel-features.h
10146         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10147         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10148         Make code unconditional.
10149         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10150         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10152         [__NR_vfork]: Make code unconditional.
10153         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10154         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10156         [__NR_vfork]: Make code unconditional.
10157         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10158         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10160 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10162         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10163         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10165         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10166         Define mkstemp64 as an alias.
10167         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10168         Define mkstemps64 as an alias.
10169         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10170         Define mkostemp64 as an alias.
10171         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10172         Define mkostemps64 as an alias.
10173         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10174         Conditionalize body on this.
10175         * misc/mkostemp64.c: Likewise.
10176         * misc/mkostemps64.c: Likewise.
10177         * misc/mkstemps64.c: Likewise.
10178         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10179         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10180         * sysdeps/wordsize-64/mkostemp.c: File removed.
10181         * sysdeps/wordsize-64/mkstemp.c: File removed.
10182         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10183         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10184         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10185         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10187         [BZ #14138]
10188         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10189         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10190         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10191         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10193         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10194         compat_symbol macros from <shlib-compat.h> rather than the underlying
10195         default_symbol_version and symbol_version macros, so that DEFAULT
10196         lines in shlib-versions are respected.
10197         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10199 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10201         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10202         Declare with warn_unused_result.
10203         (setgid, setregid, setegid, setresgid): Likewise.
10204         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10205         Likewise.
10206         * WUR-REPORT: Remove set*id functions.
10208 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10210         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10212 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10214         * include/sys/socket.h (__libc_accept, __libc_accept4):
10215         Add attribute_hidden.
10216         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10218         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10219         use of PTR_MANGLE.
10220         * inet/getnetgrent_r.c (setup): Likewise.
10222         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10224 2012-07-31  David S. Miller  <davem@davemloft.net>
10226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10228 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10230         [BZ #13629]
10231         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10232         value between 1.0 and 2.0 and smaller part has absolute value less
10233         than 1.0.
10234         * math/s_clog10.c (__clog10): Likewise.
10235         * math/s_clog10f.c (__clog10f): Likewise.
10236         * math/s_clog10l.c (__clog10l): Likewise.
10237         * math/s_clogf.c (__clogf): Likewise.
10238         * math/s_clogl.c (__clogl): Likewise.
10239         * math/libm-test.inc (clog_test): Add more tests.
10240         (clog10_test): Likewise.
10241         * sysdeps/i386/fpu/libm-test-ulps: Update.
10242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10244 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10246         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10247         Exit with zero in case no suitable GID is found, and write a
10248         message to standard error.
10250 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10252         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10253         rather than to 1.
10254         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10255         (MAXPATHLEN): Removed.
10256         (NOGROUP, NODEV): New macros.
10257         (setbit, clrbit, isset, isclr): New macros.
10258         (howmany, roundup, powerof2): New macros.
10259         (DEV_BSIZE): New macro.
10261         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10262         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10264         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10265         definition on [!__NO_LONG_DOUBLE_MATH].
10267         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10268         PTR_MANGLE and PTR_DEMANGLE.
10270         * socket/accept4.c (accept4): Rename to __libc_accept4.
10271         Define accept4 as a weak alias.
10273         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10274         on [_DIRENT_HAVE_D_TYPE].
10275         * io/ftw.c (ftw_dir): Likewise.
10277         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10279         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10281         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10282         Use the BSD numbers rather than the arbitrary ones we had.
10283         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10284         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10285         (SIGXCPU, SIGXFSZ): New macros.
10286         (_NSIG): Now 32.
10288         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10289         initializer on [_LIBC_REENTRANT].
10291         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10292         definitions inside [_POSIX_MAPPED_FILES].
10294         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10296         * dirent/opendir.c: Include <fcntl.h>.
10298         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10299         (__libc_getspecific): Likewise.
10300         (__libc_key_create): Likewise.
10302         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10303         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10304         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10305         (tmpfile64): Define as alias.
10306         * sysdeps/wordsize-64/tmpfile.c: File removed.
10307         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10308         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10309         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10311         * stdio-common/vfscanf.c: Include <stdbool.h>.
10312         * nss/makedb.c: Likewise.
10313         * stdio-common/_i18n_number.h: Likewise.
10314         * argp/argp-help.c: Likewise.
10315         * posix/wordexp.c: Likewise.
10316         * sysdeps/posix/spawni.c: Likewise.
10317         * nss/nss_files/files-initgroups.c: Likewise.
10318         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10319         * nss/nss_files/files-initgroups.c: Likewise.
10320         * nss/nss_db/db-netgrp.c: Likewise.
10321         * nss/nss_db/db-initgroups.c: Likewise.
10322         * io/fchmodat.c: Include <sys/stat.h>.
10324         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10325         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10327         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10328         [HAVE_MMAP].
10330         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10331         Add multiple inclusion protection.
10333 2012-07-27  David S. Miller  <davem@davemloft.net>
10335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10337 2012-07-27  Gary Benson  <gbenson@redhat.com>
10339         [BZ #14298]
10340         * elf/rtld.c: Include <stap-probe.h>.
10341         (dl_main): Added static probes "init_start" and "init_complete".
10342         * elf/dl-load.c: Include <stap-probe.h>.
10343         (lose): Take new parameter "nsid".
10344         Added static probe "map_failed".
10345         (_dl_map_object_from_fd): Pass namespace id to lose.
10346         Added static probe "map_start".
10347         (open_verify): Pass namespace id to lose.
10348         * elf/dl-open.c: Include <stap-probe.h>.
10349         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10350         and "reloc_complete".
10351         * elf/dl-close.c: Include <stap-probe.h>.
10352         (_dl_close_worker): Added static probes "unmap_start" and
10353         "unmap_complete".
10354         * elf/rtld-debugger-interface.txt: New file documenting the above.
10356 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10358         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10359         rather than a string variable.
10360         * sunrpc/rpc_main.c (h_output): Likewise.
10361         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10363 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10365         * inet/check_native.c: New file.
10367 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10369         [BZ #13629]
10370         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10371         if larger part has absolute value 1.0.
10372         * math/s_clog10.c (__clog10): Likewise.
10373         * math/s_clog10f.c (__clog10f): Likewise.
10374         * math/s_clog10l.c (__clog10l): Likewise.
10375         * math/s_clogf.c (__clogf): Likewise.
10376         * math/s_clogl.c (__clogl): Likewise.
10377         * math/libm-test.inc (clog_test): Add more tests.
10378         (clog10_test): Likewise.
10379         * sysdeps/i386/fpu/libm-test-ulps: Update.
10380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10382         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10383         (pltexit): Likewise.
10384         (La_regs): Likewise.
10385         (La_retval): Likewise.
10386         (int_retval): Likewise.
10387         Update #error for removed macros to refer only to definitions in
10388         tst-audit.h.
10389         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10390         macro.
10391         (pltexit): Likewise.
10392         (La_regs): Likewise.
10393         (La_retval): Likewise.
10394         (int_retval): Likewise.
10395         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10396         macro.
10397         (pltexit): Likewise.
10398         (La_regs): Likewise.
10399         (La_retval): Likewise.
10400         (int_retval): Likewise.
10401         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10402         macro.
10403         (pltexit): Likewise.
10404         (La_regs): Likewise.
10405         (La_retval): Likewise.
10406         (int_retval): Likewise.
10407         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10408         macro.
10409         (pltexit): Likewise.
10410         (La_regs): Likewise.
10411         (La_retval): Likewise.
10412         (int_retval): Likewise.
10413         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10414         macro.
10415         (pltexit): Likewise.
10416         (La_regs): Likewise.
10417         (La_retval): Likewise.
10418         (int_retval): Likewise.
10419         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10420         macro.
10421         (pltexit): Likewise.
10422         (La_regs): Likewise.
10423         (La_retval): Likewise.
10424         (int_retval): Likewise.
10425         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10426         macro definitions in tst-audit.h.
10427         * sysdeps/i386/tst-audit.h: New file.
10428         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10429         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10430         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10431         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10432         * sysdeps/sh/tst-audit.h: Likewise.
10433         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10434         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10435         * sysdeps/x86_64/tst-audit.h: Likewise.
10437 2012-07-26  Andreas Jaeger  <aj@suse.de>
10439         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10440         ptrace.
10442         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10443         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10444         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10445         PTRACE_O_MASK.
10446         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10447         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10448         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10450         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10451         value.
10453         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10454         _sigsys.
10455         (si_call_addr, si_syscall, si_arch): Define new macro.
10456         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10457         _sigsys.
10458         (si_call_addr, si_syscall, si_arch): Define new marcro.
10459         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10460         _sigsys.
10461         (si_call_addr, si_syscall, si_arch): Define new macro.
10462         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10463         _sigsys.
10464         (si_call_addr, si_syscall, si_arch): Define new macro.
10466 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10468         [BZ #13717]
10469         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10470         Change to 2.4.21 where previously 2.4.1.
10471         * sysdeps/unix/sysv/linux/configure: Regenerated.
10472         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10473         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10474         Linux kernel version.
10475         (__ASSUME_STD_AUXV): Remove.
10476         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10477         kernel version.
10478         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10479         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10480         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10481         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10482         (__ASSUME_NETLINK_SUPPORT): Likewise.
10483         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10484         (__no_netlink_support): Remove conditional definition.
10485         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10486         Remove.
10487         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10488         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10489         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10490         (if_nameindex_ioctl): Remove.
10491         (if_nameindex_netlink): Do not handle __no_netlink_support.
10492         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10493         code.
10494         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10495         Remove conditional code.
10496         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10497         code.
10498         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10499         unconditional.
10500         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10501         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10502         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10503         Remove.
10504         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10505         [!__ASSUME_STD_AUXV]: Remove conditional code.
10506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10507         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10508         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10510         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10511         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10512         code.
10513         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10515         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10516         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10517         conditional code.
10518         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10520         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10521         code.
10522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10523         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10524         conditional code.
10525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10526         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10527         code unconditional.
10528         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10529         conditional code.
10530         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10531         unconditional.
10532         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10533         conditional code.
10534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10535         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10536         unconditional.
10537         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10538         conditional code.
10539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10540         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10541         code unconditional.
10542         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10543         conditional code.
10544         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10545         unconditional.
10546         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10547         conditional code.
10548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10549         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10550         code unconditional.
10551         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10552         conditional code.
10553         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10554         unconditional.
10555         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10556         conditional code.
10558 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10560         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10561         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10562         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10563         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10564         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10565         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10566         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10567         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10568         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10569         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10570         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10571         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10572         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10573         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10574         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10575         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10576         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10577         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10578         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10580         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10581         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10582         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10584 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10586         * Versions.def: Add GLIBC_2.17.
10587         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10588         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10589         Introduce __libc_secure_getenv.
10590         * stdlib/Versions (2.17): Add secure_getenv
10591         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10592         * stdlib/secure-getenv.c: Rename __secure_getenv to
10593         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10594         symbol __secure_getenv for GLIBC_2.0.
10595         * stdlib/tst-secure-getenv.c: New.
10596         * stdlib/Makefile (tests): Add testcase.
10597         * manual/startup.texi (Environment Access): Document
10598         secure_getenv.
10599         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10600         __libc_secure_getenv.
10601         * inet/ruserpass.c (ruserpass): Likewise.
10602         * malloc/mtrace.c (mtrace): Likewise.
10603         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10604         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10605         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10606         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10607         HAVE_SECURE_GETENV.
10608         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10609         __secure_getenv to __libc_secure_getenv.
10610         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10612         Likewise.
10613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10614         Likewise.
10615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10617         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10623 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10625         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10626         (struct La_i86_retval): Likewise.
10627         (struct La_x86_64_regs): Likewise.
10628         (struct La_x86_64_retval): Likewise.
10629         (struct La_x32_regs): Likewise.
10630         (struct La_x32_retval): Likewise.
10631         (struct La_ppc32_regs): Likewise.
10632         (struct La_ppc32_retval): Likewise.
10633         (struct La_ppc64_regs): Likewise.
10634         (struct La_ppc64_retval): Likewise.
10635         (struct La_sh_regs): Likewise.
10636         (struct La_sh_retval): Likewise.
10637         (struct La_s390_32_regs): Likewise.
10638         (struct La_s390_32_retval): Likewise.
10639         (struct La_s390_64_regs): Likewise.
10640         (struct La_s390_64_retval): Likewise.
10641         (struct La_sparc32_regs): Likewise.
10642         (struct La_sparc32_retval): Likewise.
10643         (struct La_sparc64_regs): Likewise.
10644         (struct La_sparc64_retval): Likewise.
10645         (struct audit_ifaces): Remove architecture-specific pltenter and
10646         pltexit members.
10647         * sysdeps/i386/ldsodefs.h: New file.
10648         * sysdeps/powerpc/ldsodefs.h: Likewise.
10649         * sysdeps/s390/ldsodefs.h: Likewise.
10650         * sysdeps/sh/ldsodefs.h: Likewise.
10651         * sysdeps/sparc/ldsodefs.h: Likewise.
10652         * sysdeps/x86_64/ldsodefs.h: Likewise.
10654 2012-07-25  Marek Polacek  <polacek@redhat.com>
10656         [BZ #6808]
10657         * math/libm-test.inc (yn_test): Add another test.
10658         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10659         to ERANGE when the result is +-Inf.
10660         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10661         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10662         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10663         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10665 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10667         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10668         equal to 0.
10669         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10670         clock_t.
10671         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10673 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10675         * configure.in <sysdeps resolving>: Correct printing
10676         Implies_before.
10677         * configure: Regenerate.
10679 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10681         * math/w_ilogb.c: Include <limits.h>.
10682         * math/w_ilogbl.c: Likewise.
10684 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10686         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10687         va_copy.  Document allowing for unavailable va_copy only as
10688         pre-C99 compatibility.
10689         * manual/string.texi (Copying and Concatenation): Use va_copy
10690         instead of __va_copy in concat example.
10692 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10694         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10695         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10696         it if not null.
10698         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10699         with O_NOLINK passed to __file_name_lookup.
10701         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10702         with O_NOLINK passed to __file_name_lookup.
10704         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10705         negative N or less than NGIDS.
10707         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10708         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10709         enough.  Use memcpy instead of strncpy.
10711 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10713         * elf/Makefile (check-data): Remove.
10714         (localplt.data): New vpath directive.
10715         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10716         instead of $(check-data).
10717         * scripts/data/localplt-generic.data: Move to ...
10718         * sysdeps/generic/localplt.data: ... here.
10719         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10720         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10721         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10723         ... here.
10724         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10726         ... here.
10727         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10729         ... here.
10730         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10732         ... here.
10733         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10735         ... here.
10736         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10738         ... here.
10740 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10742         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10743         PPC32 and PPC64 files.
10744         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10745         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10747 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10749         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10750         __makecontext_ret to ...
10751         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10752         ... here and call exit if uc_link is NULL.  New file.
10753         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10754         __makecontext_ret.S.
10755         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10756         __makecontext_ret to ...
10757         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10758         ... here and call exit if uc_link is NULL.  New file.
10759         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10760         __makecontext_ret.S.
10762 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10764         * elf/elf.h (R_390_IRELATIVE): New definition.
10765         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10766         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10767         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10768         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10769         (elf_machine_lazy_rel): Likewise.
10770         * sysdeps/s390/dl-irel.h: New file.
10771         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10772         * sysdeps/s390/s390-64/memset.S: New asm code.
10773         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10774         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10775         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10776         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10777         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10778         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10779         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10780         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10781         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10782         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10783         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10784         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10785         * sysdeps/s390/s390-32/memset.S: New asm code.
10786         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10788 2012-07-17  Marek Polacek  <polacek@redhat.com>
10790         [BZ #14349]
10791         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10792         * sysdeps/s390/s390-64/configure.in: Likewise.
10793         * sysdeps/sparc/configure.in: Likewise.
10794         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10795         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10796         * sysdeps/i386/configure.in: Likewise.
10797         * sysdeps/x86_64/configure.in: Likewise.
10798         * sysdeps/sh/configure.in: Likewise.
10799         * sysdeps/s390/s390-32/configure: Regenerated.
10800         * sysdeps/s390/s390-64/configure: Likewise.
10801         * sysdeps/x86_64/configure: Likewise.
10802         * sysdeps/sh/configure: Likewise.
10803         * sysdeps/powerpc/powerpc64/configure: Likewise.
10804         * sysdeps/powerpc/powerpc32/configure: Likewise.
10805         * sysdeps/sparc/configure: Likwise.
10806         * sysdeps/i386/configure: Likewise.
10808         * elf/dl-open.c: Comment fixes.
10810 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10812         * Makefile [CXX] (check-data): Remove.
10813         [CXX] (c++-types.data): New vpath directive.
10814         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10815         vpath.  Do not allow for C++ type data being missing.
10816         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10817         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10818         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10819         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10820         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10821         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10822         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10824         ... here.
10825         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10827         ... here.
10828         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10830         ... here.
10831         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10833         ... here.
10834         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10836         ... here.
10837         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10839         ... here.
10840         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10842         ... here.
10843         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10846         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10847         definitions to architecture-specific files.
10848         (TLS_IE): Likewise.
10849         (TLS_LD): Likewise.
10850         (TLS_GD): Likewise.
10851         * sysdeps/i386/tls-macros.h: New file.
10852         * sysdeps/powerpc/tls-macros.h: Likewise.
10853         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10854         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10855         * sysdeps/sh/tls-macros.h: Likewise.
10856         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10857         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10858         * sysdeps/x86_64/tls-macros.h: Likewise.
10860 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10862         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10863         zero value for regular exit case.
10865         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10866         (__start_context): Preserve zero value for regular exit case.
10868 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10869             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10871         * manual/setjmp.texi (setcontext): Clarify normal process
10872         termination when uc_link is the null pointer.
10873         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10874         exit call.
10876 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10878         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10879         preprocessor.  Test for each exception mask separately.
10881 2012-07-16  Andreas Jaeger  <aj@suse.de>
10883         * po/ru.po: Update from translation team.
10885 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10887         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10888         equal to 0.
10889         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10890         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10891         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10892         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10893         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10895 2012-07-13  Andreas Jaeger  <aj@suse.de>
10897         * po/fr.po: Update from translation team.
10899 2012-07-12  Marek Polacek  <polacek@redhat.com>
10901         [BZ #14173]
10902         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10903         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10904         loop condition.
10906 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10908         [BZ #13717]
10909         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10910         Change to 2.4.1 where previously 2.4.0.
10911         * sysdeps/unix/sysv/linux/configure: Regenerated.
10912         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10913         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10914         version.
10915         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10916         (__ASSUME_AT_CLKTCK): Remove.
10917         (__ASSUME_AT_PAGESIZE): Likewise.
10918         (__ASSUME_AT_XID): Likewise.
10919         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10920         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10921         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10922         unconditionally.
10923         (HAVE_AUX_PAGESIZE): Likewise.
10924         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10925         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10926         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10928 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10930         [BZ #14307]
10931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10932         the temporary buffer used to invoke __gethostbyname2_r,
10933         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10934         host_data / struct gaih_addrtuple.
10935         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10936         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10937         header file nss/nsswitch.h.
10938         * nss/nsswitch.h (global scope): Add definition of implementation
10939         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10940         resolv/nss_dns/dns-host.c).
10942 2012-07-11  Andreas Jaeger  <aj@suse.de>
10944         * po/fr.po: Update from translation team.
10946         * po/sv.po: Update from translation team
10947         * po/fr.po: Another update from translation team.
10949 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10951         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10952         for subnormals or multiply small sinh result by itself.
10953         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10954         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10956 2012-07-11  David S. Miller  <davem@davemloft.net>
10958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10960 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10962         [BZ #14347]
10963         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10964         (INTERNAL_MARK): Shift it here.
10966 2012-07-10  Marek Polacek  <polacek@redhat.com>
10968         [BZ #14151]
10969         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10970         libc_cv_asm_global_directive with .globl.
10971         * configure: Regenerated.
10972         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10973         with .globl.
10974         * sysdeps/i386/configure: Regenerated.
10975         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10976         with .globl.
10977         * sysdeps/x86_64/configure: Regenerated.
10978         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10979         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10980         * elf/tst-unique2mod2.c: Likewise.
10981         * elf/tst-unique2mod1.c: Likewise.
10982         * elf/tst-unique1mod2.c: Likewise.
10983         * elf/tst-unique1mod1.c: Likewise.
10984         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10985         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10986         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10987         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10988         * sysdeps/mach/sysdep.h: Likewise.
10989         * sysdeps/i386/sysdep.h: Likewise.
10990         * sysdeps/i386/i386-mcount.S: Likewise.
10991         * sysdeps/x86_64/_mcount.S: Likewise.
10992         * sysdeps/x86_64/sysdep.h: Likewise.
10993         * sysdeps/sh/_mcount.S: Likewise.
10994         * sysdeps/sh/sysdep.h: Likewise.
10995         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10996         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10997         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10998         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10999         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11000         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11001         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11002         * locale/localeinfo.h: Likewise.
11003         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11004         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11006 2012-07-09  Roland McGrath  <roland@hack.frob.com>
11008         [BZ #14336]
11009         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11010         system".
11011         * manual/message.texi (The Uniforum approach): Likewise.
11012         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11013         (glibc iconv Implementation): Likewise.
11015 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11017         [BZ #14337]
11018         * math/s_clog.c (__clog): Avoid scaling a value down where that
11019         could result in underflow.
11020         * math/s_clog10.c (__clog10): Likewise.
11021         * math/s_clog10f.c (__clog10f): Likewise.
11022         * math/s_clog10l.c (__clog10l): Likewise.
11023         * math/s_clogf.c (__clogf): Likewise.
11024         * math/s_clogl.c (__clogl): Likewise.
11025         * math/libm-test.inc (clog_test): Add more tests.
11026         (clog10_test): Likewise.
11027         * sysdeps/i386/fpu/libm-test-ulps: Update.
11028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11030 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11032         [BZ #14283]
11033         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11034         by 7 not 8 to examine high bit of fractional part.
11036         [BZ #14042]
11037         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11038         for call to __mcount_internal.
11039         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11040         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11041         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11043 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11045         [BZ #14154]
11046         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11047         approximation for values within 0x1p-13f of an odd multiple of
11048         pi/4.
11049         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11050         exception.  Add more tests.
11051         * sysdeps/i386/fpu/libm-test-ulps: Update.
11053         [BZ #6778]
11054         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11055         inputs and return -1 for them.  Do not check for +Inf in case not
11056         reachable for +Inf.
11057         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11058         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11059         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11060         and return -1 for them.  Do not check for +Inf in case not
11061         reachable for +Inf.
11062         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11063         define.
11064         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11065         and return -1 for them.  Do not check for +Inf in case not
11066         reachable for +Inf.
11067         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11068         spurious underflow.
11069         * sysdeps/i386/fpu/libm-test-ulps: Update.
11070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11072 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11074         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11076 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11078         [BZ #14157]
11079         [BZ #14331]
11080         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11081         could result in spurious underflow.  Scale down values above
11082         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11083         * math/s_csqrtf.c (__csqrtf): Likewise.
11084         * math/s_csqrtl.c (__csqrtl): Likewise.
11085         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11086         spurious underflow.
11087         * sysdeps/i386/fpu/libm-test-ulps: Update.
11088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11090 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11092         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11093         xopen-msg.sed.
11094         * catgets/xopen-msg.awk: New file.
11095         * catgets/xopen-msg.sed: Removed.
11097         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11098         po2text.sed.
11099         * intl/po2test.awk: New file.
11100         * intl/po2test.sed: Removed.
11102 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11104         [BZ #14328]
11105         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11106         or multiply small sinh result by itself.
11107         * math/s_ctanf.c (__ctanf): Likewise.
11108         * math/s_ctanh.c (__ctanh): Likewise.
11109         * math/s_ctanhf.c (__ctanhf): Likewise.
11110         * math/s_ctanhl.c (__ctanhl): Likewise.
11111         * math/s_ctanl.c (__ctanl): Likewise.
11112         * math/libm-test.inc (ctan_test_tonearest): New function.
11113         (ctan_test_towardzero): Likewise.
11114         (ctan_test_downward): Likewise.
11115         (ctan_test_upward): Likewise.
11116         (ctanh_test_tonearest): Likewise.
11117         (ctanh_test_towardzero): Likewise.
11118         (ctanh_test_downward): Likewise.
11119         (ctanh_test_upward): Likewise.
11120         (main): Call these new functions.
11121         * sysdeps/i386/fpu/libm-test-ulps: Update.
11122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11124 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11126         * .gitignore: Delete /ports entry.
11128 2012-07-03  Andreas Jaeger  <aj@suse.de>
11130         * po/bg.po: Update from translation team.
11131         * po/cs.po: Likewise.
11132         * po/de.po: Likewise.
11133         * po/hr.po: Likewise.
11134         * po/nl.pl: Likewise.
11135         * po/pl.po: Likewise.
11136         * po/vi.po: Likewise.
11138 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11140         * Makeconfig [!+link] (+link-before-libc): New variable.
11141         [!+link] (+link-after-libc): Likewise.
11142         [!+link] (+link-tests): Likewise.
11143         [!+link] (+link): Define in terms of $(+link-before-libc) and
11144         $(+link-after-libc).
11145         [!+link-static] (+link-static-before-libc): New variable.
11146         [!+link-static] (+link-static-after-libc): Likewise.
11147         [!+link-static] (+link-static-tests): Likewise.
11148         [!+link-static] (+link-static): Define in terms of
11149         $(+link-static-before-libc) and $(+link-static-after-libc).
11150         [build-shared] (link-libc-before-gnulib): New variable.
11151         [build-shared] (link-libc-tests): Likewise.
11152         [build-shared] (link-libc): Define in terms of
11153         $(link-libc-before-gnulib).
11154         [!build-shared] (link-libc-tests): New variable.
11155         (link-libc-static-tests): New variable.
11156         [!gnulib] (gnulib-arch): New variable.
11157         [!gnulib] (gnulib-tests): Likewise.
11158         [!gnulib] (static-gnulib-arch): Likewise.
11159         [!gnulib] (static-gnulib-tests): Likewise.
11160         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11161         Define with "=" instead of ":=".
11162         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11163         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11164         * Rules (binaries-all-notests): New variable.
11165         (binaries-all-tests): Likewise.
11166         (binaries-static-notests): Likewise.
11167         (binaries-static-tests): Likewise.
11168         (binaries-all): Define using $(binaries-all-notests) and
11169         $(binaries-all-tests).
11170         (binaries-static): Define using $(binaries-static-notests) and
11171         $(binaries-static-tests).
11172         (binaries-shared-tests): New variable.
11173         (binaries-shared-notests): Likewise.
11174         (binaries-shared): Remove variable.
11175         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11176         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11177         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11178         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11179         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11180         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11181         * elf/Makefile (sln-modules): New variable.
11182         (extra-objs): Add $(sln-modules:=.o).
11183         (ldconfig-modules): Add static-stubs.
11184         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11185         * elf/static-stubs.c: New file.
11187         [BZ #14283]
11188         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11189         by 7 not 8 to examine high bit of fractional part.  Use volatile
11190         variables when splitting into final array of floats if
11191         __FLT_EVAL_METHOD__ != 0.
11192         * math/libm-test.inc (cos_test): Add another test.
11193         (sin_test): Likewise.
11194         * sysdeps/i386/fpu/libm-test-ulps: Update.
11196         [BZ #14273]
11197         * math/libm-test.inc (cosh_test): Add more tests.
11199         * version.h (RELEASE): Set to "development".
11200         (VERSION): Set to "2.16.90".
11202 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11204         * NEWS: Update copyright. Remove last-updated date.
11205         Mention math library bug fixes and timezone data changes.
11206         * README: Mention GNU/Hurd, x32, and HPPA support status.
11208 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11210         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11212 2012-06-27  Andreas Jaeger  <aj@suse.de>
11214         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11216 2012-06-25  Andreas Jaeger  <aj@suse.de>
11218         * sysdeps/s390/fpu/libm-test-ulps: Update.
11220 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11221             Thomas Schwinge  <thomas@codesourcery.com>
11223         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11224         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11225         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11226         fanotify_mark.
11228 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11230         * sysdeps/mach/start.c: Remove file.
11231         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11232         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11233         * sysdeps/sh/init-first.c: Likewise.
11235         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11236         registers for frame unwinding purposes, add CFI directives.
11237         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11238         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11239         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11240         Likewise.
11242         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11243         __fortify_fail returning.
11244         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11246         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11247         sysdeps/sh/____longjmp_chk.S.
11248         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11249         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11250         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11251         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11253         * sysdeps/sh/abort-instr.h: New file.
11254         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11255         process in case exit returns.
11257         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11258         initialize the GOT register before use.
11260         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11261         calculation of ARGC > 4.
11263         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11264         meaningful names to some local labels.
11266 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11267             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11269         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11270         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11271         (__arch_compare_and_exchange_val_16_acq): Likewise.
11272         (__arch_compare_and_exchange_val_32_acq): Likewise.
11273         (atomic_exchange_and_add): Fix gUSA sequence.
11274         (atomic_add): Likewise.
11275         (atomic_add_negative): Likewise.
11276         (atomic_add_zero): Likewise.
11277         (atomic_bit_test_set): Likewise.
11279 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11281         [BZ #13579]
11282         * include/link.h (struct link_map): Add l_free_initfini.
11283         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11284         l_initfini.
11285         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11286         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11287         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11288         set.
11290 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11292         * configure.in: Use AC_LANG_SOURCE.
11293         * configure: Regenerate.
11295 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11297         * configure.in (libc_cv_localstatedir): New substituted variable.
11298         * configure: Regenerated.
11299         * config.make.in (localstatedir): New variable, substituted from
11300         libc_cv_localstatedir.
11301         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11302         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11303         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11304         * sysdeps/gnu/configure: Regenerated.
11306 2012-06-21  Jeff Law  <law@redhat.com>
11308         [BZ #14277]
11309         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11310         free.  Simplify list management for _LIBC case.
11312 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11314         [BZ #14273]
11315         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11316         Clear sign bit of 64-bit integer value before comparing against
11317         overflow value.
11319         * sysdeps/mach/configure: Regenerated.
11321 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11323         [BZ #14278]
11324         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11326 2012-06-21  Jeff Law  <law@redhat.com>
11328         [BZ #13882]
11329         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11330         uint16_t for elements in the "seen" array to avoid char overflows.
11331         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11332         * elf/dl-open.c (dl_open_worker): Likewise.
11334 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11336         * scripts/list-sources.sh: Scan PORTS for translations.
11337         * po/libc.pot: Regenerated.
11339 2012-06-21  Andreas Jaeger  <aj@suse.de>
11341         [BZ #12194]
11342         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11343         warning.
11344         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11345         * bits/byteswap-16.h (__bswap_16): Likewise.
11346         * bits/byteswap.h (__bswap_constant_16): Likewise.
11348 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11350         [BZ #14117]
11351         * sysdeps/i386/fpu_control.h: Removed.
11352         * sysdeps/x86_64/fpu_control.h: Moved to ...
11353         * sysdeps/x86/fpu_control.h: Here.
11355         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11356         (_FPU_SETCW): Likewise.
11358 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11360         [BZ #14117]
11361         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11362         * sysdeps/x86/fpu/bits/mathinline.h: This.
11363         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11365         [BZ #14050]
11366         [BZ #14117]
11367         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11368         functions if __x86_64__ is defined.
11370 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11372         * string/endian.h: Add !__ASSEMBLER__ condition for including
11373         conversion interfaces.
11375 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11377         [BZ #14241]
11378         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11379         of ABS(x) in calculating zero to negative powers other than odd
11380         integers.
11381         * math/libm-test.inc (pow_test): Add more tests.
11383 2012-06-15  Andreas Jaeger  <aj@suse.de>
11385         * manual/contrib.texi (Contributors): Update entry of Liubov
11386         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11387         Machado Filho.
11389 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11391         * string/string.h: Add __wur to GNU version of strerror_r.
11393 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11395         [BZ #14229]
11396         * string/Makefile (tests): Add tst-strtok_r.
11397         * string/tst-strtok_r.c: New file.
11398         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11399         RAX_LP/RDX_LP on SAVE_PTR.
11401 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11403         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11405 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11407         * libm_test.inc (csqrt_test): Allow more spurious underflow
11408         exceptions.
11409         (j0_test): Likewise.
11410         (j1_test): Likewise.
11411         (y0_test): Likewise.
11412         (y1_test): Likewise.
11414 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11416         * po/Makefile (libc.pot): Use UTF-8 charset.
11418 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11420         [BZ #14210]
11421         Suppress sign-conversion warning from FD_SET.
11422         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11423         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11424         not unsigned long int.
11425         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11427 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11429         [BZ #14050]
11430         [BZ #14117]
11431         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11432         __extern_always_inline instead of __extern_inline.
11433         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11434         (__signbit): Likewise.
11435         (__signbitl): Support C++ namespace.
11436         (lrintf): New inline function.
11437         (lrint): Likewise.
11438         (llrintf): Likewise.
11439         (llrint): Likewise.
11440         (fmaxf): Likewise.
11441         (fmax): Likewise.
11442         (fminf): Likewise.
11443         (fmin): Likewise.
11444         (rint): Likewise.
11445         (rintf): Likewise.
11446         (ceil): Likewise.
11447         (ceilf): Likewise.
11448         (floor): Likewise.
11449         (floorf): Likewise.
11450         (nearbyint): Likewise.
11451         (nearbyintf): Likewise.
11453 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11455         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11456         non-default versions.
11458 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11460         [BZ #14218]
11461         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11463 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11465         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11466         (FE_UPWARD, FE_DOWNWARD): Don't define.
11467         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11468         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11470         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11471         reading it.
11472         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11473         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11475 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11477         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11478         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11479         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11480         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11482 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11484         [BZ #14117]
11485         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11486         * sysdeps/i386/fpu/Implies: New file.
11487         * sysdeps/x86_64/fpu/Implies: Likewise.
11488         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11489         * sysdeps/x86/fpu/bits/fenv.h: This.
11491         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11492         __SSE_MATH__.
11494 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11496         [BZ #14134]
11497         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11498         character 0xffff that matches the last element of the
11499         conversion table.
11501 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11503         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11504         fmodl commit.
11506 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11508         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11509         values higher than 25.6283.
11511 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11513         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11514         subnormal exponent extraction and add some __builtin_expect.
11515         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11516         Fix for subnormal mantissa calculation.
11518 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11520         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11521         cpu2 is -1 and errno is not ENOSYS.
11523 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11525         [BZ #14117]
11526         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11527         * sysdeps/x86/bits/string.h: This.
11528         * sysdeps/x86_64/bits/string.h: Removed.
11530         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11531         if not compiling for x86-64, but compiling for >= i486.
11533         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11534         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11536         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11537         New macro from Linux kernel 3.4.0.
11538         (FP_XSTATE_MAGIC2): Likewise.
11539         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11540         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11541         (struct _fpx_sw_bytes): New struct.
11542         (struct _xsave_hdr): Likewise.
11543         (struct _ymmh_state): Likewise.
11544         (struct _xstate): Likewise.
11546         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11547         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11548         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11549         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11550         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11551         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11553         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11554         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11555         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11556         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11557         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11558         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11560 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11562         [BZ #13743]
11563         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11564         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11565         (sysdep_headers): Include sys/platform/ppc.h.
11566         * sysdeps/powerpc/test-gettimebase.c: Test for
11567         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11568         * manual/Makefile (appendices): Include platform.texi.
11569         * manual/contrib.texi (Contributors): Update @node pointers.
11570         * manual/maint.texi (Maintenance): Likewise.
11571         (Platform): New node.
11572         * manual/platform.texi: New file.  Document the new features.
11574 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11575             Jakub Jelinek  <jakub@redhat.com>
11577         [BZ #14188]
11578         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11579         where __builtin_expect is unavailable.
11581 2012-06-03  David S. Miller  <davem@davemloft.net>
11583         * stdlib/longlong.h: Updated from GCC.
11585 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11587         [BZ #14042]
11588         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11589         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11590         __mcount_internal.
11591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11592         (GLIBC_2.16): Likewise.
11594 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11596         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11598 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11601         (default-abi): New variable.
11602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11603         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11604         variable.
11605         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11606         Likewise.
11607         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11608         Likewise.
11609         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11610         Likewise.
11612         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11613         definition.  Document in comment.
11615 2012-06-01  David S. Miller  <davem@davemloft.net>
11617         * stdlib/longlong.h: Updated from GCC.
11619 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11621         [BZ #14117]
11622         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11623         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11624         sys/debugreg.h sys/io.h here.
11625         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11626         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11627         sys/io.h.
11628         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11629         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11630         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11631         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11632         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11633         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11635         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11636         Define only if __x86_64__ is defined.
11638 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11640         [BZ #14048]
11641         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11642         Use int64_t for variable i.
11643         * math/libm-test.inc (fmod_test): Add more tests.
11645         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11646         z computation is not scheduled after fetestexcept.
11647         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11648         Use math_force_eval instead of asm to ensure calculation scheduled
11649         before exception test.
11650         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11651         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11653 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11656         computation is not scheduled after fetestexcept.
11658 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11660         [BZ #14117]
11661         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11662         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11664 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11666         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11667         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11669 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11671         [BZ #14117]
11672         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11673         <bits/wordsize.h>.
11674         (__WCHAR_MIN): Support __WORDSIZE == 64.
11675         (__WCHAR_MAX): Likewise.
11677         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11678         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11680         [BZ #14183]
11681         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11682         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11684         [BZ #14117]
11685         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11686         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11688         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11689         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11691         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11692         Defined to 1 if __x86_64__ isn't defined.
11693         (_STAT_VER_LINUX_OLD): New.
11694         (st_atime): Remove duplicate.
11695         (st_mtime): Likewise.
11696         (st_ctime): Likewise.
11698 2012-05-31  David S. Miller  <davem@davemloft.net>
11700         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11701         entries.
11703 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11705         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11706         gen-libm-test.pl.
11708         [BZ #14132]
11709         * elf/dl-reloc.c: Include <_itoa.h>.
11710         (_dl_reloc_bad_type): Remove use of INTUSE.
11711         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11712         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11713         * stdio-common/psiginfo.c (psiginfo): Likewise.
11714         * stdio-common/psignal.c (psignal): Likewise.
11715         * string/strsignal.c (strsignal): Likewise.
11716         * include/signal.h (_sys_siglist): Declare hidden proto.
11717         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11718         INTVARDEF with libc_hidden_data_def.
11719         * stdio-common/itoa-udigits.c: Likewise.
11720         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11721         (_itoa_lower_digits_internal): Remove declaration.
11722         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11723         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11724         (_sys_sigabbrev_internal): Remove aliases.
11725         (_sys_siglist): Define hidden alias.
11727 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11729         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11730         bits/sysctl.h.
11732 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11734         [BZ #14117]
11735         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11736         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11738         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11739         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11740         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11741         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11742         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11743         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11745         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11746         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11747         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11749         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11750         with __addr.
11751         (insw): Likewise.
11752         (insl): Likewise.
11753         (outsb): Likewise.
11754         (outsw): Likewise.
11755         (outsl): Likewise.
11757         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11758         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11759         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11761         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11762         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11763         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11764         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11765         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11766         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11768         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11769         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11771         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11772         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11774         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11775         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11776         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11778         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11779         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11780         to ...
11781         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11783         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11784         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11785         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11787         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11788         for x86-64.
11789         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11791 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11793         * math/math.h (M_El): Use two more decimal places.
11794         (M_LOG2El): Likewise.
11795         (M_LOG10El): Likewise.
11796         (M_LN2l): Likewise.
11797         (M_LN10l): Likewise.
11798         (M_PIl): Likewise.
11799         (M_PI_2l): Likewise.
11800         (M_PI_4l): Likewise.
11801         (M_1_PIl): Likewise.
11802         (M_2_PIl): Likewise.
11803         (M_2_SQRTPIl): Likewise.
11804         (M_SQRT2l): Likewise.
11805         (M_SQRT1_2l): Likewise.
11807 2012-05-31  David S. Miller  <davem@davemloft.net>
11809         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11810         values between float registers.
11811         * sysdeps/sparc/sparc64/memset.S: Likewise.
11812         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11814 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11816         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11817         -D_FORTIFY_SOURCE=1.
11818         (CPPFLAGS-tst-longjmp_chk.c): Define.
11819         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11820         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11821         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11822         CFLAGS-tst-wchar-h.c.
11824 2012-05-31  Marek Polacek  <polacek@redhat.com>
11826         [BZ #14132]
11827         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11828         __endmntent_internal): Remove declaration.
11829         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11830         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11831         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11833 2012-05-30  David S. Miller  <davem@davemloft.net>
11835         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11836         (___Q_simulate_exceptions): Use real FP ops rather than writing
11837         into the %fsr.
11838         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11839         Likewise.
11841 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11843         [BZ #14117]
11844         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11845         * sysdeps/x86/bits/xtitypes.h: This.
11847         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11848         * sysdeps/x86/bits/wordsize.h: This.
11850         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11851         * sysdeps/x86/bits/huge_vall.h: This.
11853         * sysdeps/i386/bits/select.h: Removed.
11854         * sysdeps/x86_64/bits/select.h: Renamed to ...
11855         * sysdeps/x86/bits/select.h: This.
11857         * sysdeps/i386/bits/setjmp.h: Removed.
11858         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11859         * sysdeps/x86/bits/setjmp.h: This.
11861         * sysdeps/i386/bits/mathdef.h: Removed.
11862         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11863         * sysdeps/x86/bits/mathdef.h: This.
11865 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11867         [BZ #14132]
11868         * include/sys/socket.h (__connect_internal)
11869         (__libc_sa_len_internal): Remove declaration.
11870         (__connect, __libc_sa_len): Declare hidden_proto.
11871         (SA_LEN): Remove use of INTUSE.
11872         * socket/connect.c: Add libc_hidden_def.
11873         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11874         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11875         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11876         alias.
11877         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11878         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11879         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11880         of adding _internal alias.
11882 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11884         [BZ #14117]
11885         * sysdeps/i386/bits/link.h: Removed.
11886         * sysdeps/i386/bits/linkmap.h: Likewise.
11887         * sysdeps/x86_64/bits/link.h: Renamed to ...
11888         * sysdeps/x86/bits/link.h: This.
11889         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11890         * sysdeps/x86/bits/linkmap.h: This.
11892         * sysdeps/i386/bits/endian.h: Removed.
11893         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11894         * sysdeps/x86/bits/endian.h: This.
11896         * sysdeps/i386/bits/byteswap.h: Removed.
11897         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11898         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11899         * sysdeps/x86/bits/byteswap.h: This.
11900         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11901         * sysdeps/x86/bits/byteswap-16.h: This.
11902         * sysdeps/i386/Implies: Add x86.
11903         * sysdeps/x86_64/Implies: Likewise.
11905 2012-05-30  David S. Miller  <davem@davemloft.net>
11907         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11908         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11909         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11910         (FP_TRAPPING_EXCEPTIONS): Define.
11911         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11912         (FP_TRAPPING_EXCEPTIONS): Define.
11913         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11914         subnormals only when inexact has been signalled or underflow
11915         exceptions are enabled.
11916         (_FP_PACK_CANONICAL): Likewise.
11918 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11920         [BZ #14183]
11921         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11922         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11924 2012-05-30  Richard Henderson  <rth@twiddle.net>
11926         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11927         with #ifndef NOT_IN_libc.
11929         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11930         marked to avoid plt entry.
11932 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11934         [BZ #14112]
11935         * Makeconfig (default-abi): New macro.
11936         (abi-includes): Likewise.
11937         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11938         $(abi-$(default-abi)-lib-soname) for soname if defined.
11939         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11940         abi-variants.
11941         * Makefile (installed-stubs): Likewise.
11942         * include/stubs-biarch.h: Removed.
11943         * scripts/lib-names.awk: Only handle one library at a time.
11944         * scripts/soversions.awk: Remove WORDSIZE support.
11945         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11946         entries.
11947         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11948         Removed.
11949         (syscall-list-default-condition): Likewise.
11950         (syscall-list-default-condition): Likewise.
11951         (syscall-list-includes): Likewise.
11952         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11953         syscall-list-* with abi-*.  Handle undefined abi-variants.
11954         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11955         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11956         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11957         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11958         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11959         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11960         Removed.
11961         (syscall-list-32-options): Likewise.
11962         (syscall-list-32-condition): Likewise.
11963         (syscall-list-64-options): Likewise.
11964         (syscall-list-64-condition): Likewise.
11965         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11966         macro.
11967         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11968         Renamed to ...
11969         (abi-*): This.
11970         (abi-64-ld-soname): New macro.
11971         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11972         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11973         Renamed to ...
11974         (abi-*): This.
11975         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11976         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11978 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11980         * sysdeps/unix/sysv/linux/kernel-features.h
11981         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11982         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11983         include <kernel-features.h>.
11984         [!__NR_ftruncate64]: Remove conditional code.
11985         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11986         [__NR_ftruncate64]: Make code unconditional.
11987         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11988         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11989         include <kernel-features.h>.
11990         [!__NR_ftruncate64]: Remove conditional code.
11991         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11992         [__NR_ftruncate64]: Make code unconditional.
11993         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11995         include <kernel-features.h>.
11996         [!__NR_ftruncate64]: Remove conditional code.
11997         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11998         [__NR_ftruncate64]: Make code unconditional.
11999         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12001         include <kernel-features.h>.
12002         [!__NR_ftruncate64]: Remove conditional code.
12003         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12004         [__NR_ftruncate64]: Make code unconditional.
12005         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12007         * configure.in (libc_cv_fpie): Weaken to a compile test using
12008         LIBC_TRY_CC_OPTION.
12009         * configure: Regenerated.
12011 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12015         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12017         Refreshed.
12018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12024         Refreshed.
12026 2012-05-27  David S. Miller  <davem@davemloft.net>
12028         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12029         (___Q_zero): New.
12030         (__Q_simulate_exceptions): Return void.  Change to simulate
12031         exceptions by writing into the %fsr.
12032         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12033         (__Qp_handle_exceptions): Likewise.
12034         (numbers): Delete.
12035         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12036         __Qp_handle_exceptions.
12037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12038         __Qp_handle_exceptions.
12039         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12040         as unused and give dummy FP_RND_NEAREST initializer.
12041         (FP_INHIBIT_RESULTS): Define.
12042         (___Q_simulate_exceptions): Update declaration.
12043         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12044         formatting.
12045         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12046         as unused and give dummy FP_RND_NEAREST initializer.
12047         (__Qp_handle_exceptions): Update declaration.
12048         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12049         formatting.
12051 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12053         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12054         the temporary FPU control word.
12055         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12056         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12057         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12058         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12059         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12060         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12061         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12062         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12063         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12064         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12065         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12067 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12069         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12070         fields.
12072 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12074         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12075         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12076         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12077         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12078         Likewise.
12079         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12080         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12081         Likewise.
12083 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12085         * po/h.po: Update from translation team.
12087 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12089         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12091         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12092         handling of denormals.
12093         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12094         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12095         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12096         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12097         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12098         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12099         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12100         Likewise.
12102 2012-05-26  Marek Polacek  <polacek@redhat.com>
12104         [BZ #14152]
12105         * math/libm-test.inc (fma_test): Don't always expect underflow
12106         exception.
12108 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12110         [BZ #12416]
12111         * elf/tst-execstack.c: Include stackinfo.h.
12112         (do_test): Adjust test case to ensure that pthread_getattr_np
12113         behaviour remains the same after marking stack executable.
12115 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12117         * sysdeps/unix/sysv/linux/kernel-features.h
12118         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12119         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12120         kernel-features.h.
12121         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12122         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12123         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12124         kernel-features.h.
12125         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12126         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12128 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12130         * configure.in: Define the default includes to being none.
12131         * configure: Regenerated.
12133 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12135         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12136         * sysdeps/x86_64/setjmp.S: Likewise.
12137         * sysdeps/i386/bsd-setjmp.S: Likewise.
12138         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12139         * sysdeps/i386/setjmp.S: Likewise.
12140         * sysdeps/i386/__longjmp.S: Likewise.
12141         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12142         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12144         * include/stap-probe.h: New file.
12145         * configure.in: Handle --enable-systemtap.
12146         * configure: Regenerated.
12147         * config.h.in (USE_STAP_PROBE): New #undef.
12148         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12149         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12150         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12152 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12154         [BZ #13717]
12155         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12156         to 2.4.0 where earlier.
12157         * sysdeps/unix/sysv/linux/configure: Regenerated.
12158         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12159         <kernel-features.h>.
12160         [__ASSUME_32BITUIDS]: Make code unconditional.
12161         [!__ASSUME_32BITUIDS]: Remove conditional code.
12162         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12163         <kernel-features.h>.
12164         [__ASSUME_32BITUIDS]: Make code unconditional.
12165         [!__ASSUME_32BITUIDS]: Remove conditional code.
12166         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12167         [__ASSUME_32BITUIDS]: Make code unconditional.
12168         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12169         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12170         <kernel-features.h>.
12171         [__ASSUME_32BITUIDS]: Make code unconditional.
12172         [!__ASSUME_32BITUIDS]: Remove conditional code.
12173         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12174         <kernel-features.h>.
12175         [__ASSUME_32BITUIDS]: Make code unconditional.
12176         [!__ASSUME_32BITUIDS]: Remove conditional code.
12177         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12178         <kernel-features.h>.
12179         [__ASSUME_32BITUIDS]: Make code unconditional.
12180         [!__ASSUME_32BITUIDS]: Remove conditional code.
12181         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12182         <kernel-features.h>.
12183         [__ASSUME_32BITUIDS]: Make code unconditional.
12184         [!__ASSUME_32BITUIDS]: Remove conditional code.
12185         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12186         <kernel-features.h>.
12187         [__ASSUME_32BITUIDS]: Make code unconditional.
12188         [!__ASSUME_32BITUIDS]: Remove conditional code.
12189         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12190         <kernel-features.h>.
12191         [__ASSUME_32BITUIDS]: Make code unconditional.
12192         [!__ASSUME_32BITUIDS]: Remove conditional code.
12193         * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.c: Do not include
12202         <kernel-features.h>.
12203         [__ASSUME_32BITUIDS]: Make code unconditional.
12204         [!__ASSUME_32BITUIDS]: Remove conditional code.
12205         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12206         <kernel-features.h>.
12207         [__ASSUME_32BITUIDS]: Make code unconditional.
12208         [!__ASSUME_32BITUIDS]: Remove conditional code.
12209         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12210         <kernel-features.h>.
12211         [__NR_setresgid] (__setresgid): Do not declare.
12212         [__ASSUME_32BITUIDS]: Make code unconditional.
12213         [!__ASSUME_32BITUIDS]: Remove conditional code.
12214         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12215         <kernel-features.h>.
12216         [__NR_setresuid] (__setresuid): Do not declare.
12217         [__ASSUME_32BITUIDS]: Make code unconditional.
12218         [!__ASSUME_32BITUIDS]: Remove conditional code.
12219         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12220         <kernel-features.h>.
12221         [__ASSUME_32BITUIDS]: Make code unconditional.
12222         [!__ASSUME_32BITUIDS]: Remove conditional code.
12223         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12224         <kernel-features.h>.
12225         [__ASSUME_32BITUIDS]: Make code unconditional.
12226         [!__ASSUME_32BITUIDS]: Remove conditional code.
12227         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12228         <kernel-features.h>.
12229         [__ASSUME_32BITUIDS]: Make code unconditional.
12230         [!__ASSUME_32BITUIDS]: Remove conditional code.
12231         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12232         <kernel-features.h>.
12233         [__ASSUME_32BITUIDS]: Make code unconditional.
12234         [!__ASSUME_32BITUIDS]: Remove conditional code.
12235         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12236         <kernel-features.h>.
12237         [__ASSUME_32BITUIDS]: Make code unconditional.
12238         [!__ASSUME_32BITUIDS]: Remove conditional code.
12239         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12240         <kernel-features.h>.
12241         [__ASSUME_32BITUIDS]: Make code unconditional.
12242         [!__ASSUME_32BITUIDS]: Remove conditional code.
12243         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12244         <kernel-features.h>.
12245         [__ASSUME_32BITUIDS]: Make code unconditional.
12246         [!__ASSUME_32BITUIDS]: Remove conditional code.
12247         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12248         <kernel-features.h>.
12249         [__ASSUME_32BITUIDS]: Make code unconditional.
12250         [!__ASSUME_32BITUIDS]: Remove conditional code.
12251         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12252         <kernel-features.h>.
12253         [__ASSUME_32BITUIDS]: Make code unconditional.
12254         [!__ASSUME_32BITUIDS]: Remove conditional code.
12255         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12256         <kernel-features.h>.
12257         [__ASSUME_32BITUIDS]: Make code unconditional.
12258         [!__ASSUME_32BITUIDS]: Remove conditional code.
12259         * sysdeps/unix/sysv/linux/kernel-features.h
12260         (__ASSUME_SETRESUID_SYSCALL): Remove.
12261         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12262         (__ASSUME_32BITUIDS): Likewise.
12263         (__ASSUME_LDT_WORKS): Likewise.
12264         (__ASSUME_O_DIRECTORY): Likewise.
12265         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12266         architecture but not kernel version.
12267         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12268         (__ASSUME_MMAP2_SYSCALL): Likewise.
12269         (__ASSUME_STAT64_SYSCALL): Likewise.
12270         (__ASSUME_IPC64): Likewise.
12271         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12272         <kernel-features.h>.
12273         [__ASSUME_32BITUIDS]: Make code unconditional.
12274         [!__ASSUME_32BITUIDS]: Remove conditional code.
12275         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12276         <kernel-features.h>.
12277         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12278         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12279         132096]: Remove conditional code.
12280         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12281         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12282         <kernel-features.h>.
12283         [__ASSUME_32BITUIDS]: Make code unconditional.
12284         [!__ASSUME_32BITUIDS]: Remove conditional code.
12285         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12286         <kernel-features.h>.
12287         [__ASSUME_32BITUIDS]: Make code unconditional.
12288         [!__ASSUME_32BITUIDS]: Remove conditional code.
12289         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12290         <kernel-features.h>.
12291         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12292         unconditional.
12293         (__setresgid): Do not declare.
12294         [__ASSUME_32BITUIDS]: Make code unconditional.
12295         [!__ASSUME_32BITUIDS]: Remove conditional code.
12296         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12297         <kernel-features.h>.
12298         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12299         unconditional.
12300         (__setresuid): Do not declare.
12301         [__ASSUME_32BITUIDS]: Make code unconditional.
12302         [!__ASSUME_32BITUIDS]: Remove conditional code.
12303         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12304         <kernel-features.h>.
12305         [__ASSUME_32BITUIDS]: Make code unconditional.
12306         [!__ASSUME_32BITUIDS]: Remove conditional code.
12307         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12308         <kernel-features.h>.
12309         [__ASSUME_32BITUIDS]: Make code unconditional.
12310         [!__ASSUME_32BITUIDS]: Remove conditional code.
12312 2012-05-25  Richard Henderson  <rth@twiddle.net>
12314         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12315         dl_hwcap to ifunc resolver.
12316         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12317         elf_ifunc_invoke.
12318         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12319         dl_hwcap to ifunc resolver.
12320         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12322 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12324         [BZ #14153]
12325         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12326         for |x| <= 2**-26, not 2**-57.
12327         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12328         exception.
12330 2012-05-24  Jeff Law  <law@redhat.com>
12332         * stdio-common/Makefile (tests): Add bug25.
12333         * stdio-common/bug25.c: New test.
12335 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12337         [BZ #13576]
12338         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12339         multiple of MALLOC_ALIGNMENT in size.
12340         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12342 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12344         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12345         Require >= 256.
12346         (FILENAME_MAX): Use macro-int-constant.
12347         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12348         (_IOFBF): Use macro-int-constant.
12349         (_IOLBF): Likewise.
12350         (_IONBF): Likewise.
12351         (SEEK_CUR): Likewise.
12352         (SEEK_END): Likewise.
12353         (SEEK_SET): Likewise.
12354         (TMP_MAX): Likewise.
12355         (EOF): Use macro-int-constant.  Require < 0.
12356         (NULL): Use macro-constant.  Require == 0.
12357         (stdin): Require type to be FILE *.
12358         (stdout): Likewise.
12359         (stderr): Likewise.
12360         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12361         macro-int-constant.
12362         (EXIT_SUCCESS): Likewise.
12363         (NULL): Use macro-constant.  Require == 0.
12364         (RAND_MAX): Use macro-int-constant.
12365         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12366         [C99-based standards] (strtof): Require function.
12367         [C99-based standards] (strtold): Likewise.
12368         [C99-based standards] (strtoll): Likewise.
12369         [C99-based standards] (strtoull): Likewise.
12370         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12371         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12372         [ISO || ISO99 || ISO11] (math.h): Likewise.
12373         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12374         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12375         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12377 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12379         [BZ #14132]
12380         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12381         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12382         * intl/dgettext.c (DCGETTEXT): Likewise.
12383         * intl/gettext.c (DCGETTEXT): Likewise.
12384         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12385         * posix/regex_internal.h (gettext): Likewise.
12386         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12387         Remove declaration.
12388         * include/argz.h (__argz_count_internal)
12389         (__argz_stringify_internal): Remove declaration.
12390         (__argz_count, __argz_stringify): Declare hidden proto.
12391         * intl/dcgettext.c: Remove use of INTDEF.
12392         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12393         * string/argz-stringify.c: Likewise.
12394         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12395         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12396         Declare hidden proto.
12397         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12398         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12399         Declare hidden proto.
12400         * include/stdio.h (__asprintf_internal): Don't declare.
12401         (__asprintf): Don't define as macro.  Declare hidden proto.
12402         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12403         (__fsetlocking): Declare hidden proto.
12404         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12405         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12406         hidden proto.
12407         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12408         (_IO_setlinebuf): Remove use of INTUSE.
12409         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12410         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12411         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12412         Remove declaration.
12413         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12414         (_IO_do_flush): Remove use of INTUSE.
12415         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12416         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12417         (_IO_adjust_column, _IO_least_wmarker)
12418         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12419         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12420         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12421         (_IO_default_doallocate, _IO_wdefault_doallocate)
12422         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12423         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12424         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12425         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12426         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12427         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12428         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12429         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12430         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12431         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12432         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12433         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12434         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12435         proto.
12436         (_IO_flush_all_internal, _IO_adjust_column_internal)
12437         (_IO_default_uflow_internal, _IO_default_finish_internal)
12438         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12439         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12440         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12441         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12442         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12443         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12444         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12445         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12446         (_IO_file_close_internal, _IO_file_close_it_internal)
12447         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12448         (_IO_file_init_internal, _IO_file_attach_internal)
12449         (_IO_file_fopen_internal, _IO_file_read_internal)
12450         (_IO_file_sync_internal, _IO_file_seek_internal)
12451         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12452         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12453         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12454         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12455         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12456         (_IO_list_all_internal, _IO_link_in_internal)
12457         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12458         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12459         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12460         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12461         (_IO_do_write_internal, _IO_padn_internal)
12462         (_IO_getline_info_internal, _IO_getline_internal)
12463         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12464         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12465         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12466         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12467         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12468         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12469         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12470         with libc_hidden_ver, remove use of INTUSE.
12471         * libio/genops.c: Likewise.
12472         * libio/freopen.c: Likewise.
12473         * libio/freopen64.c: Likewise.
12474         * libio/iofclose.c: Likewise.
12475         * libio/iofdopen.c: Likewise.
12476         * libio/iofflush.c: Likewise.
12477         * libio/iofflush_u.c: Likewise.
12478         * libio/iofgets.c: Likewise.
12479         * libio/iofgets_u.c: Likewise.
12480         * libio/iofopen.c: Likewise.
12481         * libio/iofopncook.c: Likewise.
12482         * libio/iofread.c: Likewise.
12483         * libio/iofread_u.c: Likewise.
12484         * libio/ioftell.c: Likewise.
12485         * libio/iofwrite.c: Likewise.
12486         * libio/iogetline.c: Likewise.
12487         * libio/iogets.c: Likewise.
12488         * libio/iogetwline.c: Likewise.
12489         * libio/iopadn.c: Likewise.
12490         * libio/iopopen.c: Likewise.
12491         * libio/ioseekoff.c: Likewise.
12492         * libio/ioseekpos.c: Likewise.
12493         * libio/iosetbuffer.c: Likewise.
12494         * libio/iosetvbuf.c: Likewise.
12495         * libio/ioungetc.c: Likewise.
12496         * libio/ioungetwc.c: Likewise.
12497         * libio/iovdprintf.c: Likewise.
12498         * libio/iovsprintf.c: Likewise.
12499         * libio/iovsscanf.c: Likewise.
12500         * libio/memstream.c: Likewise.
12501         * libio/obprintf.c: Likewise.
12502         * libio/oldfileops.c: Likewise.
12503         * libio/oldiofclose.c: Likewise.
12504         * libio/oldiofdopen.c: Likewise.
12505         * libio/oldiofopen.c: Likewise.
12506         * libio/oldiopopen.c: Likewise.
12507         * libio/oldstdfiles.c: Likewise.
12508         * libio/putc.c: Likewise.
12509         * libio/setbuf.c: Likewise.
12510         * libio/setlinebuf.c: Likewise.
12511         * libio/stdfiles.c: Likewise.
12512         * libio/strops.c: Likewise.
12513         * libio/vasprintf.c: Likewise.
12514         * libio/vscanf.c: Likewise.
12515         * libio/vsnprintf.c: Likewise.
12516         * libio/vswprintf.c: Likewise.
12517         * libio/wfiledoalloc.c: Likewise.
12518         * libio/wfileops.c: Likewise.
12519         * libio/wgenops.c: Likewise.
12520         * libio/wmemstream.c: Likewise.
12521         * libio/wstrops.c: Likewise.
12522         * libio/__fpurge.c: Likewise.
12523         * libio/__fsetlocking.c: Likewise.
12524         * assert/assert.c: Likewise.
12525         * debug/fgets_chk.c: Likewise.
12526         * debug/fgets_u_chk.c: Likewise.
12527         * debug/fread_chk.c: Likewise.
12528         * debug/fread_u_chk.c: Likewise.
12529         * debug/gets_chk.c: Likewise.
12530         * debug/obprintf_chk.c: Likewise.
12531         * debug/vasprintf_chk.c: Likewise.
12532         * debug/vdprintf_chk.c: Likewise.
12533         * debug/vsnprintf_chk.c: Likewise.
12534         * debug/vsprintf_chk.c: Likewise.
12535         * malloc/mtrace.c: Likewise.
12536         * misc/error.c: Likewise.
12537         * misc/syslog.c: Likewise.
12538         * stdio-common/asprintf.c: Likewise.
12539         * stdio-common/fxprintf.c: Likewise.
12540         * stdio-common/getw.c: Likewise.
12541         * stdio-common/isoc99_fscanf.c: Likewise.
12542         * stdio-common/isoc99_scanf.c: Likewise.
12543         * stdio-common/isoc99_vfscanf.c: Likewise.
12544         * stdio-common/isoc99_vscanf.c: Likewise.
12545         * stdio-common/isoc99_vsscanf.c: Likewise.
12546         * stdio-common/printf-prs.c: Likewise.
12547         * stdio-common/printf_fp.c: Likewise.
12548         * stdio-common/printf_fphex.c: Likewise.
12549         * stdio-common/printf_size.c: Likewise.
12550         * stdio-common/putw.c: Likewise.
12551         * stdio-common/scanf.c: Likewise.
12552         * stdio-common/sprintf.c: Likewise.
12553         * stdio-common/tmpfile.c: Likewise.
12554         * stdio-common/vfprintf.c: Likewise.
12555         * stdio-common/vfscanf.c: Likewise.
12556         * stdlib/strfmon_l.c: Likewise.
12557         * sunrpc/openchild.c: Likewise.
12558         * sunrpc/xdr_stdio.c: Likewise.
12559         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12560         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12562 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12564         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12566         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12567         in the third column, to generate for the shared library an IFUNC
12568         that uses _dl_vdso_vsym.
12569         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12570         * Makeconfig (object-suffixes-noshared): New variable.
12572         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12573         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12574         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12575         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12577         [BZ #14132]
12578         * include/sys/time.h (__gettimeofday): Remove macro.
12579         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12580         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12581         Remove INTDEF.
12582         (__gettimeofday): Add libc_hidden_def.
12583         (gettimeofday): Add libc_hidden_weak.
12584         * sysdeps/mach/gettimeofday.c: Likewise.
12585         * sysdeps/posix/gettimeofday.c: Likewise.
12586         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12587         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12588         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12589         (__gettimeofday_internal): Remove strong_alias.
12590         (__gettimeofday): Add libc_hidden_def.
12591         (gettimeofday): Add libc_hidden_weak.
12592         * sysdeps/unix/syscalls.list (gettimeofday):
12593         Remove __gettimeofday_internal alias.
12595 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12596             H.J. Lu  <hongjiu.lu@intel.com>
12598         [BZ #12495]
12599         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12600         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12601         (largebin_index_32_big): New.
12602         (largebin_index): Use it for 16-byte alignment.
12603         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12604         correction with front_misalign.
12606 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12610         Likewise.
12611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12612         Likewise.
12613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12614         Likewise.
12615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12616         Likewise.
12617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12618         Likewise.
12619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12620         Likewise.
12621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12622         Likewise.
12623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12624         Likewise.
12625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12626         Likewise.
12627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12628         Likewise.
12629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12630         Likewise.
12631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12632         Likewise.
12634         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12635         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12637 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12639         [BZ #10846]
12640         [BZ #14036]
12641         * math/libm-test.inc (exp_test): Add test from bug 14036.
12642         (pow_test): Add test from bug 10846.
12644         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12645         and other flags.
12646         (special_function): Do not include flags in test name.
12647         (parse_args): Likewise.
12648         * sysdeps/i386/fpu/libm-test-ulps: Update.
12649         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12650         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12651         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12654         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12655         exceptions.
12656         * math/libm-test.inc ("Philosophy"): Update comment about
12657         exception testing.
12658         (UNDERFLOW_EXCEPTION): New macro.
12659         (UNDERFLOW_EXCEPTION_OK): Likewise.
12660         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12661         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12662         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12663         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12664         (INVALID_EXCEPTION_OK): Update value.
12665         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12666         (OVERFLOW_EXCEPTION_OK): Likewise.
12667         (IGNORE_ZERO_INF_SIGN): Likewise.
12668         (test_exceptions): Handle underflow exceptions.
12669         (acos_test): Update for underflow exception expectations.
12670         (cexp_test): Likewise.
12671         (clog_test): Likewise.
12672         (clog10_test): Likewise.
12673         (csqrt_test): Likewise.
12674         (ctan_test): Likewise.
12675         (ctanh_test): Likewise.
12676         (exp_test): Likewise.
12677         (exp10_test): Likewise.
12678         (exp2_test): Likewise.
12679         (expm1_test): Likewise.
12680         (fma_test): Likewise.
12681         (j0_test): Likewise.
12682         (jn_test): Likewise.
12683         (nexttoward_test): Likewise.
12684         (pow_test): Likewise.
12685         (scalbn_test): Likewise.
12686         (scalbln_test): Likewise.
12687         (tan_test): Likewise.
12688         (y1_test): Likewise.
12689         * sysdeps/i386/fpu/libm-test-ulps: Update.
12690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12692 2012-05-23  David S. Miller  <davem@davemloft.net>
12694         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12695         (__libc_sigaction): Remove unused local variables.
12697 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12699         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12701 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12703         mktime: avoid signed integer overflow
12704         * time/mktime.c (__mktime_internal): Do not mishandle the case
12705         where diff == INT_MIN.
12707         mktime: simplify computation of average
12708         * time/mktime.c (ranged_convert): Use new time_t_avg function
12709         instead of rolling our own (probably-slower) code.
12711         mktime: do not assume signed right shift propagates sign bit
12712         * time/mktime.c (isdst_differ): New static function.
12713         (__mktime_internal): No need to normalize tm_isdst now.
12714         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12715         tm_isdst values.
12717         mktime: merge another wrapv change from gnulib
12718         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12719         from some compilers.
12721         mktime: remove incorrect attempt at unusual arithmetics
12722         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12723         The code didn't really work on such machines anyway.
12724         (TYPE_MINIMUM): Assume two's complement.
12725         (twos_complement_arithmetic): Verify that long_int and time_t
12726         are two's complement (or unsigned, in the latter case).
12728         mktime: check signed shifts on long_int and time_t, too
12729         * time/mktime.c (SHR): Check that shifts work as desired
12730         on the types long_int and time_t too, as SHR is used on
12731         such types.
12733         mktime: do not assume 'long' is wide enough
12734         * time/mktime.c (verify): Move decl up.
12735         (long_int): New type.
12736         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12737         to remove assumption in the code that 'long' is wide enough to
12738         store year values.  This assumption is not true on x32 and on
12739         some non-glibc platforms.
12741         mktime: merge wrapv change from gnulib
12742         * time/mktime.c (WRAPV): New macro.
12743         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12744         (guess_time_tm, __mktime_internal): Do not assume that signed
12745         integer overflow wraps around; modern compilers generate code
12746         where this assumption is no longer valid.
12748 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12750         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12751         Replace "jmp L(pseudo_end)" with "ret".
12752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12753         Likewise.
12755 2012-05-23  Andreas Jaeger  <aj@suse.de>
12757         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12758         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12760 2012-05-23  Andreas Jaeger  <aj@suse.de>
12761             Maximilian Attems  <max@stro.at>
12763         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12764         New macros.
12766 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12768         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12769         code so that pseudo_end is just ret and the stack pointer is
12770         correct also for static library in error case.
12772 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12774         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12775         move to syscalls.list.
12776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12781         * manual/install.texi (Running make install): Do not mention Linux
12782         kernel version for which pt_chown is not needed.
12783         (Linux): Do not mention problems with nscd with 2.0 kernels.
12784         * INSTALL: Regenerated.
12786 2012-05-23  Andreas Jaeger  <aj@suse.de>
12788         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12789         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12790         macro.
12791         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12792         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12793         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12794         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12795         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12796         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12797         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12798         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12799         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12800         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12801         * sysdeps/unix/sysv/linux/bits/in.h
12802         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12804 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12806         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12807         (PREPARE_VERSION): Just use assert instead, it will be elided
12808         under [NDEBUG] anyway.
12810 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12812         * sysdeps/unix/sysv/linux/Makefile: Include
12813         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12814         (sysdep_routines): Remove sysctl.
12815         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12816         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12817         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12818         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12819         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12821 2012-05-22  Andreas Jaeger  <aj@suse.de>
12823         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12824         that pseudo_end is just ret and the stack pointer is correct also
12825         for static library in error case.
12827 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12829         [BZ #14122]
12830         * nss/nsswitch.c (defconfig_entries): New variable.
12831         (__nss_database_lookup): Don't leak defconfig entries.
12832         (nss_parse_service_list): Don't leak on error paths.
12833         (free_database_entries): New function.
12834         (free_defconfig): New function.
12835         (free_mem): Move common code to free_database_entries.
12837 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12839         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12840         Add arch_prctl.
12841         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12843         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12844         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12845         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12846         New macro.
12847         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12848         (INTERNAL_SYSCALL_TYPES): Likewise.
12849         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12850         (LOAD_REGS_TYPES_[1-6]): Likewise.
12851         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12852         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12854 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12856         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12857         copysignl for GLIBC_2_0.
12858         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12859         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12860         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12861         logbl for GLIBC_2_0.
12862         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12863         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12865 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12867         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12868         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12870         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12871         Use "neg %eax".
12873         * time/mktime.c: Update copyright years.
12875 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12877         mktime: merge comment-quoting-style change from gnulib
12878         * time/mktime.c: Quote 'like this' in comments.
12879         The GNU coding standards suggest that we no longer quote `like this',
12880         as "`" and "'" are typically rendered asymmetrically nowadays.
12881         The typical gnulib style is to quote 'like this' when quoting
12882         code, and "like this" when quoting English.
12884         * time/mktime.c (compile-command): Add "-I.".
12886         mktime: merge mktime-internal.h change from gnulib
12887         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12889         mktime: merge time_r change from gnulib
12890         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12892         mktime: merge DEBUG change from gnulib
12893         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12894         case system <time.h> has a #define.
12896         mktime: merge <sys/types.h> change from gnulib
12897         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12898         since <time.t> is now guaranteed to define time_t.
12900         mktime: merge HAVE_CONFIG_H change from gnulib
12901         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12903 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12906         Use "neg %eax".
12908         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12909         __rlim_t cast.
12910         (struct rusage): Use anonymous union to pad each field to
12911         __syscall_slong_t.
12913 2012-05-21  David S. Miller  <davem@davemloft.net>
12915         * Makefules (o-iterator): Remove .s cases.
12916         (compile-command.s): Delete.
12917         (COMPILE.s): Delete.
12918         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12920 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12922         * configure.in (libc_cv_predef_stack_protector): Only consider
12923         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12924         * configure: Regenerated.
12926 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12929         New macro.  Use R*LP on int and pointer.
12930         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12931         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12932         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12933         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12935         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12936         [__WORDSIZE_TIME64_COMPAT32] instead of
12937         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12938         (struct utmp): Likewise.
12939         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12940         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12941         Renamed to ...
12942         (__WORDSIZE_TIME64_COMPAT32): This.
12943         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12944         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12945         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12946         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12947         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12948         (__WORDSIZE_TIME64_COMPAT32): New macro.
12950 2012-05-21  Andreas Jaeger  <aj@suse.de>
12952         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12953         only if [SHARED]. Add prototype for __wcschr_ia32.
12955 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12957         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12958         of %rbp unmolested in the jmp_buf while mangling the low bits.
12959         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12960         unmolested high bits of %rbp while demangling the low bits.
12961         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12963 2012-05-21  Andreas Jaeger  <aj@suse.de>
12965         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12966         * sunrpc/svc_simple.c: Use it for registerrpc.
12967         * sunrpc/xcrypt.c: Use it for passwd2des.
12969         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12971 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12973         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12974         Don't define if [__SYSCALL_WORDSIZE != 32].
12975         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12976         New macro.
12978 2012-05-21  Bruno Haible  <bruno@clisp.org>
12979             Andreas Jaeger  <aj@suse.de>
12981         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12982         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12983         inptr and inend for must_buffer_ch.
12984         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12985         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12986         * stdio-common/Makefile (tests): Remove bug15.
12987         (bug15-ENV): Remove macro.
12988         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12989         anymore.
12991 2012-05-19  Andreas Jaeger  <aj@suse.de>
12992             Roland McGrath  <roland@hack.frob.com>
12994         * manual/contrib.texi: Completely rewritten. It contains now an
12995         alphabetical list of contributors and their contributions.
12997 2012-05-21  Richard Henderson  <rth@twiddle.net>
12999         * misc/getauxval.c (__getauxval): Use unsigned long int.
13000         * misc/sys/auxv.h: Include <sys/cdefs.h>.
13001         (getauxval): Use unsigned long int.
13003 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
13005         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13007 2012-05-21  Roland McGrath  <roland@hack.frob.com>
13009         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13010         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13011         __alignof__ (long double).
13013 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13017 2012-05-20  Richard Henderson  <rth@twiddle.net>
13019         * misc/getauxval.c: New file.
13020         * misc/sys/auxv.h: New file.
13021         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13022         (routines): Add getauxval.
13023         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13024         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13025         * elf/dl-sysdep.c (_dl_auxv): Remove.
13026         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13027         * elf/dl-support.c (_dl_auxv): New variable.
13028         (_dl_aux_init): Initialize it.
13029         * manual/startup.texi (Auxiliary Vector): New node.
13030         * sysdeps/generic/bits/hwcap.h: New file.
13031         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13032         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13033         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13034         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13035         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13036         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13038         Update.
13039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13042         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13048 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13052 2012-05-19  David S. Miller  <davem@davemloft.net>
13054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13056 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13058         [BZ #14123]
13059         * math/s_ccosh.c: Include <float.h>
13060         (__ccosh): Avoid internal overflow calculating sinh and cosh
13061         values before multiplying by sin and cos values.
13062         * math/s_ccoshf.c: Likewise.
13063         * math/s_ccoshl.c: Likewise.
13064         * math/s_csin.c: Likewise.
13065         * math/s_csinf.c: Likewise.
13066         * math/s_csinl.c: Likewise.
13067         * math/s_csinh.c: Likewise.
13068         * math/s_csinhf.c: Likewise.
13069         * math/s_csinhl.c: Likewise.
13070         * math/libm-test.inc (ccos_test): Add more tests.
13071         (ccosh_test): Likewise.
13072         (csin_test): Likewise.
13073         (csinh_test): Likewise.
13074         * sysdeps/i386/fpu/libm-test-ulps: Update.
13075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13077 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13079         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13080         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13082         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13084 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13086         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13087         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13088         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13089         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13090         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13091         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13092         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13093         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13094         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13095         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13096         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13097         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13098         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13099         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13100         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13101         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13102         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13103         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13104         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13105         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13106         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13107         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13108         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13109         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13110         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13111         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13112         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13113         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13114         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13115         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13116         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13118 2012-05-18  Andreas Jaeger  <aj@suse.de>
13120         * csu/.gitignore: Delete.
13122 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13124         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13125         (timex): Use __syscall_slong_t.
13127 2012-05-18  Andreas Jaeger  <aj@suse.de>
13128             Carlos O'Donell  <carlos_odonell@mentor.com>
13130         * manual/install.texi (Configuring and compiling): Update
13131         description about files modified in the source directory.
13132         * INSTALL: Regenerated.
13134 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13136         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13137         value.  Use "or" to set return value to -1.
13138         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13139         negate return value.
13141 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13143         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13144         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13145         failure if the compiler has Graphite support disabled.
13146         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13147         Likewise.
13148         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13149         CFLAGS-memmove.c): Likewise.
13150         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13151         Likewise.
13153 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13155         * sysdeps/x86_64/x32/_itoa.h: New file.
13157         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13158         getdents system call only if kernel and user dirents have the
13159         same d_ino and d_off.
13161         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13162         LLONG_MAX != LONG_MAX.
13163         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13164         (_fitoa_word): Likewise.
13166         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13167         years.
13168         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13169         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13170         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13172         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13173         include <bits/wordsize.h>.  Check __x86_64__ instead of
13174         __WORDSIZE.
13175         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13176         if __x86_64__ is defined.  Use anonymous union on fpstate.
13178         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13179         anonymous union.
13181 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13183         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13184         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13185         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13186         Refer to _rtld_local_ro instead of _rtld_global_ro.
13187         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13188         Likewise.
13189         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13190         Likewise.
13191         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13192         Likewise.
13193         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13194         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13195         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13197         * sysdeps/powerpc/powerpc32/dl-machine.c
13198         (__elf_machine_runtime_setup) [PROF]: Don't reference
13199         _dl_prof_resolve.
13201 2012-05-18  Andreas Jaeger  <aj@suse.de>
13203         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13204         function only available for GCCs before 3.4 since GCC 3.4
13205         introduced a builtin.
13206         (lrint): Likewise.
13207         (llrintf): Likewise.
13208         (llrint): Likewise.
13209         (fmaxf): Likewise.
13210         (fmax): Likewise.
13211         (fminf): Likewise.
13212         (fmin): Likewise.
13213         (rint): Likewise.
13214         (rintf): Likewise.
13215         (nearbyint): Likewise.
13216         (nearbyintf): Likewise.
13217         (ceil): Likewise.
13218         (ceilf): Likewise.
13219         (floor): Likewise.
13220         (floorf): Likewise.
13222 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13224         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13225         on both fields and cast pointer to __syscall_ulong_t.
13227         * bits/types.h (__fsword_t): New type.
13228         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13229         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13230         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13231         (__FSWORD_T_TYPE): Likewise.
13232         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13233         (__FSWORD_T_TYPE): Likewise.
13234         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13235         (__FSWORD_T_TYPE): Likewise.
13236         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13237         (__FSWORD_T_TYPE): Likewise.
13238         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13239         __SWORD_TYPE with __fsword_t.
13240         (statfs64): Likewise.
13242 2012-05-17  David S. Miller  <davem@davemloft.net>
13244         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13246 2012-05-17  Andreas Jaeger  <aj@suse.de>
13248         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13249         warning.
13251 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13253         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13255 2012-05-17  Andreas Jaeger  <aj@suse.de>
13257         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13258         when it is used.
13260 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13262         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13264 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13266         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13267         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13269 2012-05-17  Andreas Jaeger  <aj@suse.de>
13270             Carlos O'Donell  <carlos_odonell@mentor.com>
13272         [BZ #14059]
13273         * sysdeps/x86_64/multiarch/init-arch.h
13274         (bit_YMM_Usable): Rename to...
13275         (bit_AVX_Usable): ... this.
13276         (bit_FMA4_Usable): New macro.
13277         (bit_XMM_state): New macro.
13278         (bit_YMM_state): New macro.
13279         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13280         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13281         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13282         (CPUID_OSXSAVE): New macro.
13283         (CPUID_AVX): New macro.
13284         (CPUID_FMA4): New macro.
13285         (index_YMM_Usable): Rename to...
13286         (index_AVX_Usable): ... this.
13287         (HAS_AVX): Use HAS_ARCH_FEATURE.
13288         (HAS_FMA4): Likewise.
13289         (HAS_YMM_USABLE): Remove.
13290         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13291         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13292         are present.
13293         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13294         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13295         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13296         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13297         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13299 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13301         * math/libm-test.c: Support platforms without multiple rounding modes.
13302         * math/bug-nextafter.c: Support platforms without FP exceptions.
13303         * math/bug-nexttoward.c: Likewise.
13304         * math/test-fenv.c: Likewise.
13305         * math/test-misc.c: Likewise.
13306         * stdlib/bug-getcontext.c: Likewise.
13308 2012-05-17  Andreas Jaeger  <aj@suse.de>
13310         * manual/examples/search.c (critter_cmp): Change signature to
13311         avoid warnings.
13312         * manual/string.texi (Collation Functions): Likewise.
13314 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13316         * bits/types.h: Fold copyright years.
13317         * bits/typesizes.h: Likewise.
13318         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13319         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13320         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13321         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13322         * time/time.h: Likewise.
13324 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13326         [BZ #208]
13327         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13328         in instead of returning them.  Return void.
13329         (__libc_mallinfo): Accumulate over all arenas.
13330         (__malloc_stats): Adjust for change in int_mallinfo interface.
13332 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13334         [BZ #10375]
13335         * configure.in (NM): Add AC_CHECK_TOOL for it.
13336         (libc_extra_cflags): New substituted variable.
13337         Check for -fstack-protector being used implicitly.
13338         * configure: Regenerated.
13339         * config.make.in (config-extra-cflags): New variable,
13340         gets @libc_extra_cflags@.
13341         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13343         [BZ #10375]
13344         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13345         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13346         * configure: Regenerated.
13347         * config.make.in (CPPUNDEFS): New substituted variable.
13348         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13349         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13350         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13352 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13354         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13355         (mq_attr): Use __syscall_slong_t.
13357 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13359         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13360         Check __x86_64__ instead of __WORDSIZE.
13361         (_STAT_VER_LINUX): Likewise.
13362         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13363         __syscall_ulong_t and __syscall_slong_t.
13364         (stat64): Likewise.
13366 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13368         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13370 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13372         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13374 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13376         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13377         __syscall_ulong_t.
13379         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13380         include <bits/wordsize.h>.  Check __x86_64__ instead of
13381         __WORDSIZE.
13382         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13383         defined.
13384         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13386         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13387         include <bits/wordsize.h>.  Check __x86_64__ instead of
13388         __WORDSIZE.
13389         (user_regs_struct): Use "__extension__ unsigned long long"
13390         instead of "unsigned long" if __x86_64__ is defined.
13391         (user): Likewise.  Pad after pointer field if __ILP32__ is
13392         defined.
13394 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13396         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13397         versions 5 to 9.
13398         * configure: Regenerated.
13399         * manual/install.texi (texinfo): Increase version requirement to
13400         4.5 or later.
13401         * INSTALL: Regenerated.
13403         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13405 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13407         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13409         * sysdeps/x86_64/x32/ffs.c: New file.
13411         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13412         __syscall_ulong_t.
13413         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13414         defined.  Use __syscall_ulong_t.
13415         (shminfo): Use __syscall_ulong_t.
13416         (shm_info): Likewise.
13418         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13419         __syscall_ulong_t.
13421         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13422         <bits/wordsize.h>.
13423         (msgqnum_t): Use __syscall_ulong_t.
13424         (msglen_t): Likewise.
13425         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13426         __syscall_ulong_t.
13428         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13429         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13431         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13433         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13434         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13436         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13437         __syscall_slong_t.
13439         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13440         include <bits/wordsize.h>.  Check __x86_64__ instead of
13441         __WORDSIZE.
13443         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13444         "unsigned long long int" if __x86_64__ is defined.
13445         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13447         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13448         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13449         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13451         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13452         <stdint.h>.
13453         (GET_PC): Cast to uintptr_t first.
13454         (GET_FRAME): Likewise.
13455         (GET_STACK): Likewise.
13457         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13458         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13459         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13460         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13461         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13462         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13463         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13464         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13465         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13466         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13467         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13468         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13469         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13470         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13471         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13472         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13473         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13474         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13475         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13476         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13477         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13478         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13479         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13480         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13481         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13482         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13483         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13484         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13485         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13487 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13489         * Makerules (+depfiles): Also collect depfiles from .oS in
13490         $(extra-objs).
13491         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13492         .oS, $(libnldbl-routines)).
13494         * Makerules (native-compile-mkdep-flags): Define.
13495         * sunrpc/Makefile (extra-objs): Add $(addprefix
13496         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13497         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13498         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13499         calling $(make-target-directory).
13501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13503         * bits/types.h (__snseconds_t): Removed.
13504         * time/time.h (struct timespec): Replace __snseconds_t with
13505         __syscall_slong_t.
13506         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13507         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13508         Likewise.
13509         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13510         (__SNSECONDS_T_TYPE): Likewise.
13511         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13512         (__SNSECONDS_T_TYPE): Likewise.
13513         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13514         (__SNSECONDS_T_TYPE): Likewise.
13516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13518         * sysdeps/mach/hurd/bits/typesizes.h
13519         (__SYSCALL_SLONG_TYPE): New macro.
13520         (__SYSCALL_ULONG_TYPE): Likewise.
13522 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13524         * bits/types.h (__syscall_slong_t): New type.
13525         (__syscall_ulong_t): Likewise.
13527         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13528         (__SYSCALL_ULONG_TYPE): Likewise.
13529         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13530         (__SYSCALL_SLONG_TYPE): Likewise.
13531         (__SYSCALL_ULONG_TYPE): Likewise.
13532         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13533         (__SYSCALL_SLONG_TYPE): Likewise.
13534         (__SYSCALL_ULONG_TYPE): Likewise.
13535         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13536         (__SYSCALL_SLONG_TYPE): Likewise.
13537         (__SYSCALL_ULONG_TYPE): Likewise.
13539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13541         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13542         Add sigaltstack-offsets.sym.
13543         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13544         <sigaltstack-offsets.h>.
13545         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13546         longjmp_msg pointer.
13547         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13548         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13549         signal stack.
13550         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13552 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13554         * elf/stackguard-macros.h: Remove file.
13555         * sysdeps/generic/stackguard-macros.h: New file.
13556         * sysdeps/i386/stackguard-macros.h: Likewise.
13557         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13558         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13559         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13560         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13561         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13562         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13563         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13564         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13565         <elf/stackguard-macros.h>.
13567         [BZ #14109]
13568         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13569         __aligned__ in attribute.
13570         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13571         (gregset_t): Likewise.
13573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13575         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13576         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13577         * sysdeps/x86_64/x32/Implies-after: New file.
13579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13581         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13582         and access return value for _dl_profile_fixup.  Use R10_LP to
13583         load frame size.
13585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13587         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13591         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13592         * sysdeps/x86_64/x32/sysdep.h: New file.
13594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13596         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13597         * sysdeps/x86_64/setjmp.S: Likewise.
13599 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13601         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13602         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13603         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13604         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13605         remove unused global constant.
13607 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13609         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13610         include of <not-cancel.h>.
13612 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13614         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13616 2012-05-15  Jeff Law  <law@redhat.com>
13617             Andreas Jaeger  <aj@suse.de>
13619         [BZ #13594]
13620         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13621         out from...
13622         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13623         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13624         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13625         code changing __hst_map_handle.map.
13627 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13629         * configure.in (sysnames): Look for Implies-before and Implies-after
13630         files.
13631         * configure: Regenerated.
13633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13635         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13636         8-byte data alignment with LP_SIZE alignment.
13638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13640         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13641         into R10_LP.
13643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13645         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13649         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13650         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13651         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13652         Likewise.
13653         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13657         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13658         (stackinfo_sub_sp): Likewise.
13660 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13662         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13663         RAX_LP.
13665 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13667         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13668         into R*_LP.
13670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13672         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13673         sizes into R*_LP.
13675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13677         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13681         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13682         into R11_LP and load __x86_64_shared_cache_size_half into
13683         R8_LP.
13685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13687         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13688         R8_LP.
13690 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13692         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13693         logb for POWER7.
13694         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13695         logbf for POWER7.
13696         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13697         logbl for POWER7.
13698         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13699         powerpc32/power7/fpu/s_logb.c via #include.
13700         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13701         powerpc32/power7/fpu/s_logbf.c via #include.
13702         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13703         powerpc32/power7/fpu/s_logbl.c via #include.
13705 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13707         * README.libm: Remove file.
13709 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13711         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13712         count for x32.  Use R*_LP and omit operand-size suffix.
13714 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13716         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13717         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13718         * sysdeps/x86_64/x32/shlib-versions: New file.
13720 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13722         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13723         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13724         Use _dl_fatal_printf instead.
13726 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13728         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13729         set if not set by the user.  Do not allow for being unset.
13730         * sysdeps/unix/sysv/linux/configure: Regenerated.
13732 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13734         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13735         the `q' suffix from lea and replace .quad with ASM_ADDR.
13737 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13740         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13741         instead of $17.
13742         (PTR_DEMANGLE): Likewise.
13744 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13746         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13747         (LP_OP): Likewise.
13748         (ASM_ADDR): Likewise.
13749         (RAX_LP): Likewise.
13750         (RBP_LP): Likewise.
13751         (RBX_LP): Likewise.
13752         (RCX_LP): Likewise.
13753         (RDI_LP): Likewise.
13754         (RSI_LP): Likewise.
13755         (RSP_LP): Likewise.
13756         (R8_LP): Likewise.
13757         (R9_LP): Likewise.
13758         (R10_LP): Likewise.
13759         (R10_LP): Likewise.
13760         (R11_LP): Likewise.
13761         (R12_LP): Likewise.
13762         (R13_LP): Likewise.
13763         (R14_LP): Likewise.
13764         (R15_LP): Likewise.
13766 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13768         * sysdeps/x86_64/x32/dl-machine.h: New file.
13770 2012-05-14  Andreas Jaeger  <aj@suse.de>
13772         * manual/Makefile (subdir): Remove export of subdir.
13773         (all): Remove target.
13774         (.PHONY): Remove all from list.
13775         (mkinstalldirs): Remove.
13776         (.PHONY): Remove installdirs from list.
13777         ($(inst_infodir)/libc.info): Use make-target-directory.
13778         (installdirs): Remove.
13779         (subdir_%): Remove.
13780         (glibc-targets): Remove.
13781         (lib): Remove.
13782         (stubs): Remove.
13783         ($(objpfx)stubs ../po/manual.pot): Remove.
13784         ($(objpfx)stamp%): Remove.
13785         (make-target-directory): Remove.
13786         (subdir_install): Remove.
13787         (routines): Remove.
13788         (aux): Remove.
13789         (sources): Remove.
13790         (objects): Remove.
13791         (headers): Remove.
13793         [BZ #13750]
13794         * manual/.gitignore: Remove, it's not needed anymore.
13795         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13796         all files in it.
13797         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13798         directory.
13799         (texis): Renamed to $(objpfx)texis.
13800         (texis-path): New, contains path to generated files.
13801         (chapters.%): Use texis-path for complete path, add extra argument
13802         libc-texinfo.sh.
13803         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13804         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13805         (summary,texi, stamp-summary): Use complete path of
13806         files. Generate files in build dir.
13807         (dir-add.texi): Build in build dir.
13808         (libm-err.texi,stamp-libm-err): Likewise.
13809         (version.texi, stamp-version): Likewise.
13810         (.%c.texi): Likewise.
13811         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13812         (mostlyclean): Remove target.
13813         (realclean): Remove target.
13814         (generated): Add new variable with contents from mostlyclean and
13815         realclean, remove entries duplicated in common-mostlyclean, add
13816         stamp-libm-err and stamp-version.
13817         (generated-dirs): Add libc directory.
13818         ($(inst_infodir)/libc.info): Install files from build dir.
13820         * manual/install.texi (Configuring and compiling): Adjust since
13821         the info files are not part of the tar ball anymore.
13823 2012-05-14  Andreas Jaeger  <aj@suse.de>
13825         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13826         variable.
13828 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13830         [BZ #13717]
13831         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13832         to 2.2.0 where earlier.
13833         * sysdeps/unix/sysv/linux/configure: Regenerated.
13834         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13835         Remove conditional code.
13836         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13837         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13838         Remove conditional code.
13839         [!__NR_lchown]: Likewise.
13840         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13841         [__NR_lchown]: Likewise.
13842         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13843         comment referencing __ASSUME_LCHOWN_SYSCALL.
13844         * sysdeps/unix/sysv/linux/i386/sigaction.c
13845         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13846         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13847         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13848         Remove conditional code.
13849         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13850         (__protocol_available): Remove #if 0 code.
13851         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13852         conditional code.
13853         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13854         * sysdeps/unix/sysv/linux/kernel-features.h
13855         (__ASSUME_GETCWD_SYSCALL): Don't define.
13856         (__ASSUME_REALTIME_SIGNALS): Likewise.
13857         (__ASSUME_PREAD_SYSCALL): Likewise.
13858         (__ASSUME_PWRITE_SYSCALL): Likewise.
13859         (__ASSUME_POLL_SYSCALL): Likewise.
13860         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13861         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13862         non-SPARC.
13863         (__ASSUME_SIOCGIFNAME): Don't define.
13864         (__ASSUME_MSG_NOSIGNAL): Likewise.
13865         (__ASSUME_SENDFILE): Define unconditionally.
13866         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13867         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13868         conditional code.
13869         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13870         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13871         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13872         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13873         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13874         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13875         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13877         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13878         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13880         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13881         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13883         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13884         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13886         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13887         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13889         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13890         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13892         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13893         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13895         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13896         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13898         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13899         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13900         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13901         Remove conditional code.
13902         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13903         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13904         Remove conditional code.
13905         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13906         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13907         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13908         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13909         Remove conditional code.
13910         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13911         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13912         Remove conditional code.
13913         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13914         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13915         Remove conditional code.
13916         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13917         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13918         Remove conditional code.
13919         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13920         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13921         Remove conditional code.
13922         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13923         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13924         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13925         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13926         * sysdeps/unix/sysv/linux/sigaction.c
13927         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13928         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13929         * sysdeps/unix/sysv/linux/sigpending.c
13930         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13931         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13932         * sysdeps/unix/sysv/linux/sigprocmask.c
13933         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13934         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13935         * sysdeps/unix/sysv/linux/sigsuspend.c
13936         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13937         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13938         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13939         (__libc_missing_rt_sigs): Remove.
13940         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13941         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13942         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13943         Remove conditional code.
13944         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13945         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13946         return 1.
13947         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13948         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13949         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13950         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13952 2012-05-14  Andreas Jaeger  <aj@suse.de>
13954         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13955         it's not used in glibc.
13956         (__coshm1): Likewise.
13957         (__acosh1p): Likewise.
13958         (__sgn): Likewise.
13960         * manual/string.texi (Copying and Concatenation): Add missing
13961         variable in concat example.
13962         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13964 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13966         [BZ #14103]
13967         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13968         __builtin_clzl with __builtin_clzll.
13970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13972         [BZ #14104]
13973         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13974         libc_freeres_ptr.
13976 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13978         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13979         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13980         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13981         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13983 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13985         * NEWS: Update ia64 info.
13987 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13989         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13990         used as bcopy.
13992 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13994         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13995         * sysdeps/unix/syscalls.list (dup3): Likewise.
13996         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13997         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13999 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14001         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14002         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14004 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14006         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14007         thread pointer.
14008         (TLS_IE): Use mov/add instead of movq/addq to load thread
14009         pointer.
14010         (TLS_GD_PREFIX): New.
14011         (TLS_GD): Use it.
14013 2012-05-11  David S. Miller  <davem@davemloft.net>
14015         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14016         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14017         (_FPU_SETCW): Likewise.
14019 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14021         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14022         is 32-byte aligned.
14024 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14026         [BZ #11837]
14027         * iconvdata/gb18030.c: Update tables.
14028         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14029         characters specially.
14030         (BODY for TO_LOOP): Add encoding of missing ranges.
14032 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14034         [BZ #13673]
14035         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14036         * sysdeps/mach/hurd/dup3.c: Likewise.
14037         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14038         * sysdeps/powerpc/memmove.c:: Likewise.
14040 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14042         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14043         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14045 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14047         * elf/elf.h (R_X86_64_RELATIVE64): New.
14048         (R_X86_64_NUM): Updated.
14049         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14050         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14051         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14052         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14053         tst-quad1pie tst-quad2pie
14054         (modules-names): Add tst-quadmod1 tst-quadmod2.
14055         ($(objpfx)tst-quad1): New dependency.
14056         ($(objpfx)tst-quad2): Likewise.
14057         ($(objpfx)tst-quad1pie): Likewise.
14058         ($(objpfx)tst-quad2pie): Likewise.
14059         * sysdeps/x86_64/tst-quad1.c: New file.
14060         * sysdeps/x86_64/tst-quad1pie.c: New file.
14061         * sysdeps/x86_64/tst-quad2.c: Likewise.
14062         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14063         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14064         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14065         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14066         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14068 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14070         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14071         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14072         * streams/stropts.h (t_scalar_t): Define type.
14074         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14075         (_PATH_PRESERVE): Set to "/var/lib".
14076         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14078         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14079         instead of int.
14081         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14082         if __dir_mkfile succeeded.
14084         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14085         checking for _hurd_dtablesize.  Unlock it right after having
14086         finished _hurd_dtable allocation.
14088 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14090         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14091         * sysdeps/mach/hurd/configure: Regenerated.
14092         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14093         special-casing to...
14094         * sysdeps/gnu/configure.in: ... this new file.
14095         * sysdeps/unix/sysv/linux/configure: Regenerated.
14096         * sysdeps/gnu/configure: New generated file.
14098         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14099         for Linux: use nsec instead of usec, as well as:
14100         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14101         members of type struct timespec.
14102         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14103         New macros.
14104         (struct stat64): Likewise.
14105         (_STATBUF_ST_NSEC): New macro.
14106         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14108         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14109         __strtoul_internal rather than strtoul.
14111 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14113         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14114         and reject them.
14116 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14118         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14119         which preserves existing values.
14120         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14122 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14124         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14125         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14126         greater than FD_SETSIZE.
14128 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14130         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14131         allocated, call __vm_protect to finish enabling the existing space, and
14132         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14133         allocate the remainder.
14135 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14137         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14138         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14142         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14143         sysdeps/mach/hurd/readlink.c.
14145         * posix/tst-sysconf.c (posix_options): Only use
14146         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14147         _POSIX_SYNCHRONIZED_IO when they are defined
14148         * sysdeps/mach/hurd/bits/posix_opt.h:
14149         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14150         (_XOPEN_REALTIME): Undefine macro.
14151         (_XOPEN_REALTIME_THREADS): Undefine macro.
14152         (_XOPEN_SHM): Undefine macro.
14153         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14154         macro to -1.
14155         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14156         macro to -1.
14157         (_POSIX_ASYNC_IO): Undefine macro.
14158         (_POSIX_PRIORITIZED_IO): Undefine macro.
14159         (_POSIX_SPIN_LOCKS): Define macro to -1.
14161         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14162         SA_NODEFER, SA_RESETHAND.
14163         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14164         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14165         F_DUPFD_CLOEXEC.
14167 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14169         * elf/Makefile (pldd-modules): Define unconditionally.
14171 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14173         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14175 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14177         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14178         Return ENOENT when name is empty.
14179         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14183         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14185         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14187 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14189         Fix mlock in all cases except non-readable pages.
14190         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14191         instead of VM_PROT_ALL as parameter to __vm_wire function.
14193         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14194         (__mkdir): When path is `/', just fail with EEXIST.
14195         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14197 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14199         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14200         <sys/uio.h> (for writev).
14201         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14202         and <sys/param.h> (for MIN).
14204 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14206         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14207         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14208         if interrupted.
14210 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14212         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14213         Depend on against $(link-rpcuserlibs).
14215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14217         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14218         (__libc_stack_end): Do not use attribute_relro.
14219         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14220         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14221         to libthread-provided value.
14222         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14223         attribute_relro.
14225 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14227         [BZ #3748]
14228         * bits/libc-lock.h (__libc_once_get): New macro.
14229         * sysdeps/mach/bits/libc-lock.h: Likewise.
14230         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14231         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14232         instead of using implementation details.
14234         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14235         * libio/freopen.c: Likewise.
14236         * libio/freopen64.c: Likewise.
14237         * misc/syslog.c: Likewise.
14238         * nscd/connections.c: Likewise.
14239         * nscd/netgroupcache.c: Likewise.
14240         * sysdeps/posix/getcwd.c: Likewise.
14242 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14244         * math/w_ilogbf.c: Add #include <limits.h>.
14246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14248         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14249         path instead of returning without unlocking.
14251         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14252         immediate-write ioctls.
14253         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14255 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14257         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14258         __builtin_frame_address instead of making assumptions about the
14259         location of the return address relative to DATA.  Force early load of
14260         the return address.
14261         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14262         __builtin_frame_address.
14264         dup3 for GNU Hurd.
14265         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14266         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14267         implement dup3 and do some further code clean-ups.
14268         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14269         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14271 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14273         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14275         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14276         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14277         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14278         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14279         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14280         d->port.lock.
14282         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14283         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14284         when handler == SIG_ERR, not when handler != SIG_ERR.
14286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14288         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14289         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14290         definitions.
14292         accept4 for GNU Hurd.
14293         * include/sys/socket.h (__libc_accept4): New prototype.
14294         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14295         to implement __libc_accept4.
14296         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14297         __libc_accept4.
14298         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14300         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14301         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14302         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14303         signal-defines.sym.
14305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14307         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14309 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14311         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14312         assertion on O_CLOEXEC flag.
14313         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14314         * hurd/intern-fd.c: Likewise.
14315         * hurd/port2fd.c: Likewise.
14317 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14319         [BZ #3906]
14320         * bits/in.h (IPV6_PKTINFO): Define new macro.
14321         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14323 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14325         [BZ #13954]
14326         [BZ #13955]
14327         [BZ #13956]
14328         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14329         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14330         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14331         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14332         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14333         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14334         * math/libm-test.inc (logb_test) : Additional logb tests.
14336 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14337             Andreas Jaeger  <aj@suse.de>
14339         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14340         * configure: Regenerated.
14341         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14342         * config.make.in (link-obsolete-rpc): New substituted variable.
14343         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14344         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14345         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14346         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14347         so that libc.a contains the symbols.
14348         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14349         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14350         * sunrpc/auth_none.c: Likewise.
14351         * sunrpc/auth_unix.c: Likewise.
14352         * sunrpc/authdes_prot.c: Likewise.
14353         * sunrpc/authuxprot.c: Likewise.
14354         * sunrpc/clnt_gen.c: Likewise.
14355         * sunrpc/clnt_perr.c: Likewise.
14356         * sunrpc/clnt_raw.c: Likewise.
14357         * sunrpc/clnt_simp.c: Likewise.
14358         * sunrpc/clnt_tcp.c: Likewise.
14359         * sunrpc/clnt_udp.c: Likewise.
14360         * sunrpc/clnt_unix.c: Likewise.
14361         * sunrpc/des_crypt.c: Likewise.
14362         * sunrpc/des_soft.c: Likewise.
14363         * sunrpc/get_myaddr.c: Likewise.
14364         * sunrpc/key_call.c: Likewise.
14365         * sunrpc/key_prot.c: Likewise.
14366         * sunrpc/netname.c: Likewise.
14367         * sunrpc/pm_getmaps.c: Likewise.
14368         * sunrpc/pm_getport.c: Likewise.
14369         * sunrpc/pmap_clnt.c: Likewise.
14370         * sunrpc/pmap_prot.c: Likewise.
14371         * sunrpc/pmap_prot2.c: Likewise.
14372         * sunrpc/pmap_rmt.c: Likewise.
14373         * sunrpc/publickey.c: Likewise.
14374         * sunrpc/rpc_cmsg.c: Likewise.
14375         * sunrpc/rpc_common.c: Likewise.
14376         * sunrpc/rpc_dtable.c: Likewise.
14377         * sunrpc/rpc_prot.c: Likewise.
14378         * sunrpc/rpc_thread.c: Likewise.
14379         * sunrpc/rtime.c: Likewise.
14380         * sunrpc/svc.c: Likewise.
14381         * sunrpc/svc_auth.c: Likewise.
14382         * sunrpc/svc_raw.c: Likewise.
14383         * sunrpc/svc_run.c: Likewise.
14384         * sunrpc/svc_tcp.c: Likewise.
14385         * sunrpc/svc_udp.c: Likewise.
14386         * sunrpc/svc_unix.c: Likewise.
14387         * sunrpc/svcauth_des.c: Likewise.
14388         * sunrpc/xcrypt.c: Likewise.
14389         * sunrpc/xdr.c: Likewise.
14390         * sunrpc/xdr_array.c: Likewise.
14391         * sunrpc/xdr_float.c: Likewise.
14392         * sunrpc/xdr_intXX_t.c: Likewise.
14393         * sunrpc/xdr_mem.c: Likewise.
14394         * sunrpc/xdr_rec.c: Likewise.
14395         * sunrpc/xdr_ref.c: Likewise.
14396         * sunrpc/xdr_sizeof.c: Likewise.
14397         * sunrpc/xdr_stdio.c: Likewise.
14399 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14401         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14402         change.  Update copyright years.
14404 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14406         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14408 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14409             Joseph Myers  <joseph@codesourcery.com>
14410             Paul Pluzhnikov  <ppluzhnikov@google.com>
14412         [BZ #14012]
14413         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14414         requiring rpcgen.
14415         [cross-compiling] (extra-libs): Likewise.
14416         [cross-compiling] (extra-libs-others): Likewise.
14417         [cross-compiling] (librpcsvc-routines): Likewise.
14418         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14419         [cross-compiling] (omit-deps): Likewise.
14420         (sunrpc-CPPFLAGS): New variable.
14421         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14422         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14423         (cross-rpcgen-objs): New variable.
14424         (extra-objs): Append $(cross-rpcgen-objs).
14425         ($(cross-rpcgen-objs)): New rule.
14426         ($(objpfx)cross-rpcgen): Likewise.
14427         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14428         comment.
14429         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14430         ($(objpfx)x%.stmp): Likewise.
14431         * sunrpc/proto.h [IS_IN_build] (_): Define.
14432         [IS_IN_build] (_libc_intl_domainname): Likewise.
14434 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14436         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14437         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14438         and R_X86_64_TPOFF64.
14440 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14442         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14443         sysdeps/unix/sysv/syscalls.list.
14444         (stime): Likewise.
14445         (utime): Likewise.
14446         * sysdeps/unix/sysv/syscalls.list: Remove file.
14448 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14450         [BZ #3440]
14451         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14452         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14453         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14454         (__LC_IDENTIFICATION): Make these macros useful in #if
14455         expressions, as required by C99.
14457 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14459         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14460         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14461         after this.
14463 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14465         * stdlib/longlong.h: Updated from GCC.
14467 2012-05-09  Andreas Jaeger  <aj@suse.de>
14469         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14470         default is first entry.
14471         (run_mode): Set type.
14472         (main): Remove informal message about syslog.
14473         (options): Fix typo.
14475         [BZ #14053]
14476         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14477         to asm.
14478         (lrint): Likewise.
14479         (llrintf): Likewise.
14480         (llrint): Likewise.
14481         (rint): Likewise.
14482         (rintf): Likewise.
14483         (nearbyint): Likewise.
14484         (nearbyintf): Likewise.
14486 2012-05-09  Andreas Jaeger  <aj@suse.de>
14487             Pedro Alves  <palves@redhat.com>
14489         * nscd/nscd.c (run_mode): Use enum.
14490         (main): Cleanup coding style issue.
14492 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14493             Andreas Jaeger  <aj@suse.de>
14495         * nscd/nscd.c (go_background): Replaced with...
14496         (run_mode): ... this.
14497         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14498         (options): Add -F --foreground.
14499         (main): Implement it.
14500         (parse_opt): Parse it.
14502 2012-05-09  Andreas Jaeger  <aj@suse.de>
14504         [BZ #14083]
14505         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14506         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14507         -Wconversion warning.
14508         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14509         Likewise.
14511 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14513         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14514         == 0.
14515         (LC_ALL): Use macro-int-constant.
14516         (LC_COLLATE): Likewise.
14517         (LC_CTYPE): Likewise.
14518         (LC_MESSAGES): Likewise.
14519         (LC_MONETARY): Likewise.
14520         (LC_NUMERIC): Likewise.
14521         (LC_TIME): Likewise.
14522         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14523         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14524         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14525         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14526         Specify type.
14527         [C99-based standards] (float_t): Expect type.
14528         [C99-based standards] (double_t): Expect type.
14529         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14530         type.
14531         [C99-based standards] (HUGE_VALL): Likewise.
14532         [C99-based standards] (INFINITY): Likewise.
14533         [C99-based standards] (NAN): Likewise.
14534         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14535         [C99-based standards] (FP_NAN): Likewise.
14536         [C99-based standards] (FP_NORMAL): Likewise.
14537         [C99-based standards] (FP_SUBNORMAL): Likewise.
14538         [C99-based standards] (FP_ZERO): Likewise.
14539         [C99-based standards] (FP_FAST_FMA): Use
14540         optional-macro-int-constant.  Specify type.  Require == 1.
14541         [C99-based standards] (FP_FAST_FMAF): Likewise.
14542         [C99-based standards] (FP_FAST_FMAL): Likewise.
14543         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14544         [C99-based standards] (FP_ILOGBNAN): Likewise.
14545         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14546         Specify type.
14547         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14548         [C99-based standards] (math_errhandling): Specify type.
14549         [ISO99 || ISO11] (signgam): Do not allow.
14550         [non-C99-based standards] (copysignf): Do not allow.
14551         [non-C99-based standards] (exp2f): Likewise.
14552         [non-C99-based standards] (log2f): Likewise.
14553         [non-C99-based standards] (modff): Allow.
14554         [non-C99-based standards] (erff): Do not allow.
14555         [non-C99-based standards] (erfcf): Likewise.
14556         [non-C99-based standards] (gammaf): Likewise.
14557         [non-C99-based standards] (hypotf): Likewise.
14558         [non-C99-based standards] (j0f): Likewise.
14559         [non-C99-based standards] (j1f): Likewise.
14560         [non-C99-based standards] (jnf): Likewise.
14561         [non-C99-based standards] (lgammaf): Likewise.
14562         [non-C99-based standards] (tgammaf): Likewise.
14563         [non-C99-based standards] (y0f): Likewise.
14564         [non-C99-based standards] (y1f): Likewise.
14565         [non-C99-based standards] (ynf): Likewise.
14566         [non-C99-based standards] (isnanf): Likewise.
14567         [non-C99-based standards] (acoshf): Likewise.
14568         [non-C99-based standards] (asinhf): Likewise.
14569         [non-C99-based standards] (atanhf): Likewise.
14570         [non-C99-based standards] (cbrtf): Likewise.
14571         [non-C99-based standards] (expm1f): Likewise.
14572         [non-C99-based standards] (ilogbf): Likewise.
14573         [non-C99-based standards] (log1pf): Likewise.
14574         [non-C99-based standards] (logbf): Likewise.
14575         [non-C99-based standards] (nextafterf): Likewise.
14576         [non-C99-based standards] (remainderf): Likewise.
14577         [non-C99-based standards] (rintf): Likewise.
14578         [non-C99-based standards] (scalbf): Likewise.
14579         [non-C99-based standards] (copysignl): Likewise.
14580         [non-C99-based standards] (exp2l): Likewise.
14581         [non-C99-based standards] (log2l): Likewise.
14582         [non-C99-based standards] (modfl): Allow.
14583         [non-C99-based standards] (erfl): Do not allow.
14584         [non-C99-based standards] (erfcl): Likewise.
14585         [non-C99-based standards] (gammal): Likewise.
14586         [non-C99-based standards] (hypotl): Likewise.
14587         [non-C99-based standards] (j0l): Likewise.
14588         [non-C99-based standards] (j1l): Likewise.
14589         [non-C99-based standards] (jnl): Likewise.
14590         [non-C99-based standards] (lgammal): Likewise.
14591         [non-C99-based standards] (tgammal): Likewise.
14592         [non-C99-based standards] (y0l): Likewise.
14593         [non-C99-based standards] (y1l): Likewise.
14594         [non-C99-based standards] (ynl): Likewise.
14595         [non-C99-based standards] (isnanl): Likewise.
14596         [non-C99-based standards] (acoshl): Likewise.
14597         [non-C99-based standards] (asinhl): Likewise.
14598         [non-C99-based standards] (atanhl): Likewise.
14599         [non-C99-based standards] (cbrtl): Likewise.
14600         [non-C99-based standards] (expm1l): Likewise.
14601         [non-C99-based standards] (ilogbl): Likewise.
14602         [non-C99-based standards] (log1pl): Likewise.
14603         [non-C99-based standards] (logbl): Likewise.
14604         [non-C99-based standards] (nextafterl): Likewise.
14605         [non-C99-based standards] (remainderl): Likewise.
14606         [non-C99-based standards] (rintl): Likewise.
14607         [non-C99-based standards] (scalbl): Likewise.
14608         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14609         [non-C99-based standards] (FP_*): Do not allow.
14610         [C99-based standards] (FP_*): Change to
14611         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14612         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14613         allow.
14614         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14615         (SIG_ERR): Likewise.
14616         [X/Open-based standards] (SIG_HOLD): Likewise.
14617         (SIG_IGN): Likewise.
14618         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14619         positive value.
14620         (SIGFPE): Likewise.
14621         (SIGILL): Likewise.
14622         (SIGINT): Likewise.
14623         (SIGSEGV): Likewise.
14624         (SIGTER): Likewise.
14625         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14626         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14627         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14628         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14629         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14630         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14631         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14632         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14633         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14634         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14635         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14636         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14637         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14638         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14639         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14640         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14641         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14642         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14643         [X/Open-based standards] (SIGTRAP): Likewise.
14644         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14645         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14646         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14647         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14648         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14649         allow.
14651 2012-05-08  Ian Wienand  <ianw@vmware.com>
14653         [BZ #14080]
14654         * time/tzset.c (__tzset_parse_tz): Update default rules for
14655         daylight time changes in the Energy Policy Act of 2005.
14657 2012-05-09  Andreas Jaeger  <aj@suse.de>
14659         [BZ #13983]
14660         * elf/ldconfig.c (parse_conf): Change string to make clear that
14661         ldconfig only issued a warning if ld.so.conf does not exist.
14663 2012-05-08  David S. Miller  <davem@davemloft.net>
14665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14666         movxtod instead of popping the value on the stack.
14668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14670 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14672         * config.h.in: Add HAVE_ARM_PCS_VFP.
14674 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14676         [BZ #13979]
14677         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14678         checking but the checks are disabled for any reason.
14680 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14682         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14683         and ELF64_R_TYPE with ELFW(R_TYPE).
14685 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14687         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14688         (ulimit): Likewise.
14690         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14691         (settimeofday): Likewise.
14693 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14695         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14696         a struct th_u2 inside the union, and move tu_block/tu_code into
14697         a new th_u3 union of tu_block/tu_code inside of that.  Move
14698         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14699         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14700         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14701         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14702         (th_stuff): Change to th_u1.tu_stuff.
14703         (th_data): Define.
14704         (th_msg): Change to th_u1.th_u2.tu_data.
14706 2012-05-07  David S. Miller  <davem@davemloft.net>
14708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14710         [BZ #14074]
14711         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14712         (SETUP_PIC_REG): Use it.
14713         (SETUP_PIC_REG_LEAF): Use it.
14715 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14717         [BZ #13885]
14718         [BZ #13923]
14719         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14720         USE_AS_EXPM1L.
14721         (EXPL_FINITE): Likewise.
14722         (FLDLOG): Likewise.
14723         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14724         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14725         e_expl.S.
14726         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14727         USE_AS_EXPM1L.
14728         (EXPL_FINITE): Likewise.
14729         (FLDLOG): Likewise.
14730         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14731         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14732         e_expl.S.
14733         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14734         test of -max_value argument for long double.
14735         * sysdeps/i386/fpu/libm-test-ulps: Update.
14736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14738 2012-05-06  David S. Miller  <davem@davemloft.net>
14740         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14741         quad soft-float symbols whose references which are compiler
14742         generated.
14743         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14745 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14747         [BZ #13884]
14748         [BZ #13914]
14749         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14750         USE_AS_EXP10L.
14751         (EXPL_FINITE): Likewise.
14752         (FLDLOG): Likewise.
14753         (c0): Likewise.
14754         (c1): Likewise.
14755         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14756         Adjust comments for base varying.
14757         (__expl_finite): Change alias to EXPL_FINITE.
14758         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14759         e_expl.S.
14760         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14761         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14762         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14763         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14764         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14765         USE_AS_EXP10L.
14766         (EXPL_FINITE): Likewise.
14767         (FLDLOG): Likewise.
14768         (c0): Likewise.
14769         (c1): Likewise.
14770         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14771         Adjust comments for base varying.
14772         (__expl_finite): Change alias to EXPL_FINITE.
14773         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14774         tests for bugs.
14775         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14777         [BZ #14064]
14778         * math/libm-test.inc (check_float_internal): Correct ulp
14779         calculation for subnormal expected results.
14781 2012-05-06  Andreas Jaeger  <aj@suse.de>
14783         * Makeconfig (+math-flags): New, set to -frounding-math.
14784         (+cflags): Add +math-flags so that all of glibc gets compiled with
14785         it.
14787         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14789 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14791         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14792         Disable one test.
14794         [BZ #13787]
14795         [BZ #13922]
14796         [BZ #14036]
14797         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14798         (__ieee754_expl): Allow for and saturate large arguments.
14799         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14800         (u_threshold): Likewise.
14801         (__exp): Call __ieee754_exp before checking for overflow and
14802         underflow.
14803         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14804         (u_threshold): Likewise.
14805         (__expf): Call __ieee754_expf before checking for overflow and
14806         underflow.
14807         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14808         (u_threshold): Likewise.
14809         (__expl): Call __ieee754_expl before checking for overflow and
14810         underflow.
14811         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14812         (__ieee754_expl): Allow for and saturate large arguments.
14813         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14814         missing overflow exception on overflow.
14815         (expm1_test): Do not allow missing overflow exception on overflow.
14817         * sysdeps/i386/fpu/e_expl.c: Move to ...
14818         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14819         rather than using inline asm.
14820         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14821         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14822         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14824         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14825         (nice): Likewise.
14826         (poll): Likewise.
14827         (signal): Likewise.
14828         (time): Likewise.
14829         (times): Likewise.
14831 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14833         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14834         sysdeps/unix/common/syscalls.list.
14835         (fchmod): Likewise.
14836         (fchown): Likewise.
14837         (ftruncate): Likewise.
14838         (getrusage): Likewise.
14839         (gettimeofday): Likewise.
14840         (setpgid): Likewise.
14841         (setregid): Likewise.
14842         (setreuid): Likewise.
14843         (sigaction): Likewise.
14844         (truncate): Likewise.
14845         (vhangup): Likewise.
14846         * sysdeps/unix/common/syscalls.list: Remove file.
14847         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14848         * sysdeps/unix/sysv/linux/Implies: Likewise.
14850 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14852         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14854         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14855         Moved to ...
14856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14857         Here.
14858         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14859         to ...
14860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14861         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14862         to ...
14863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14864         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14865         to ...
14866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14867         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14868         to ...
14869         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14870         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14871         to ...
14872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14873         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14874         to ...
14875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14876         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14877         to ...
14878         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14879         Here.
14880         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14881         to ...
14882         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14883         Here.
14884         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14885         to ...
14886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14887         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14888         Moved to ...
14889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14890         Here.
14891         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14892         to ...
14893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14895 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14897         * sysdeps/unix/common/bits/dirent.h: Remove file.
14898         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14900         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14901         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14902         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14903         * sysdeps/unix/bsd/isatty.c: Likewise.
14904         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14905         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14906         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14908 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14910         [BZ #13563]
14911         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14912         long double comparison inaccuracies.
14913         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14916 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14918         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14919         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14921 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14923         [BZ #14049]
14924         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14925         nonzero digits before rounding a hex value.
14926         * stdlib/tst-strtod.c (tests): Add another test.
14928 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14930         * sysdeps/s390/fpu/libm-test-ulps: Update.
14932 2012-05-03  Andreas Jaeger  <aj@suse.de>
14934         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14935         does not get optimized out.
14936         (malloc_opt_barrier): New.
14938 2012-05-03  Andreas Jaeger  <aj@suse.de>
14939             Roland McGrath  <roland@hack.frob.com>
14941         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14942         intermediate file deletion.
14943         (generated): Add .symlist files.
14945 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14947         [BZ #13775]
14948         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14949         Redirect under this condition.
14950         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14951         [__USE_GNU] (__dprintf_chk): Not under this condition.
14952         [__USE_GNU] (__vdprintf_chk): Likewise.
14953         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14954         under this condition.
14955         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14956         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14957         [__USE_XOPEN2K8] (vdprintf): Likewise.
14958         [__USE_GNU] (__dprintf_chk): Not under this condition.
14959         [__USE_GNU] (__vdprintf_chk): Likewise.
14960         [__USE_GNU] (dprintf): Likewise.
14961         [__USE_GNU] (vdprintf): Likewise.
14963 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14965         * elf/Makefile (common-generated): Set this instead of generated for
14966         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14967         $(all-built-dso)-derived lists.
14969 2012-05-03  Andreas Jaeger  <aj@suse.de>
14971         * sysdeps/i386/fpu/libm-test-ulps: Update.
14973         * FAQ: Removed.
14974         * FAQ.in: Likewise.
14975         * scripts/gen-FAQ.pl: Likewise.
14976         * manual/install.texi (Installation): Point to online location of
14977         FAQ.
14978         * Makefile (files-for-dist): Remove FAQ.
14979         (FAQ): Remove.
14981 2012-05-02  Allan McRae  <allan@archlinux.org>
14983         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14984         (LDFLAGS-reldepmod5.so): Likewise.
14985         (LDFLAGS-reldep6mod1.so): Likewise.
14986         (LDFLAGS-reldep6mod4.so): Likewise.
14987         (LDFLAGS-reldep8mod3.so): Likewise.
14988         (LDFLAGS-unload4mod1.so): Likewise.
14989         (LDFLAGS-unload4mod2.so): Likewise.
14990         (LDFLAGS-tst-initorder): Likewise.
14991         (LDFLAGS-tst-initordera2.so): Likewise.
14992         (LDFLAGS-tst-initordera3.so): Likewise.
14993         (LDFLAGS-tst-initordera4.so): Likewise.
14994         (LDFLAGS-tst-initorderb2.so): Likewise.
14995         (LDFLAGS-noload): Likewise.
14996         (LDFLAGS-next): Likewise.
14997         (LDFLAGS-order2mod1.so): Likewise.
14998         (LDFLAGS-order2mod2.so): Likewise.
14999         (LDFLAGS-tst-initorder2): Likewise.
15000         (LDFLAGS-tst-initorder2a.so): Likewise.
15001         (LDFLAGS-tst-initorder2b.so): Likewise.
15002         (LDFLAGS-tst-initorder2c.so): Likewise.
15003         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15005 2012-05-02  David S. Miller  <davem@davemloft.net>
15007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15009 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
15011         [BZ #14055]
15012         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15014 2012-05-02  Andreas Jaeger  <aj@suse.de>
15016         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15017         since we manipulate rounding mode.
15018         (CPPFLAGS-test-idouble.c): Likewise.
15019         (CPPFLAGS-test-ifloat.c): Likewise.
15020         (CFLAGS-test-ldouble.c): Likewise.
15021         (CFLAGS-test-double.c): Likewise.
15022         (CFLAGS-test-float.c): Likewise.
15023         (CFLAGS-test-misc.c): Likewise.
15024         (CFLAGS-test-test-fenv.c): Likewise.
15026 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15028         [BZ #2550]
15029         [BZ #2570]
15030         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15031         comparisons to determine direction to adjust input.
15033 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15035         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15036         output to the target.
15038         * scripts/localplt.awk: New file.
15039         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15040         (check-localplt-CFLAGS): Variable removed.
15041         ($(all-built-dso:=.jmprel)): New static pattern rule.
15042         (generated): Add those targets.
15043         (localplt-built-dso): New variable.
15044         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15046         * elf/check-localplt.c: File removed.
15048         * scripts/check-execstack.awk: New file.
15049         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15050         (check-execstack-CFLAGS): Variable removed.
15051         ($(objpfx)check-execstack.h): Target removed.
15052         ($(objpfx)execstack-default): New target.
15053         (generated): Add that instead of check-execstack.h.
15054         ($(all-built-dso:=.phdr)): New static pattern rule.
15055         (generated): Add those targets.
15056         * elf/check-execstack.c: File removed.
15058         * scripts/check-textrel.awk: New file.
15059         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15060         (check-textrel-CFLAGS): Variable removed.
15061         (all-built-dso): Use := to define.o
15062         ($(all-built-dso:=.dyn)): New static pattern rule.
15063         (generated): Add those targets.
15064         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15065         * config.make.in (READELF): New substituted variable.
15066         * elf/check-textrel.c: File removed.
15068 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15070         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15071         allow.
15072         * conform/data/ctype.h-data [C99-based standards] (isblank):
15073         Expect function.
15074         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15075         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15076         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15077         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15078         Specify type.  Require positive value.
15079         (EILSEQ): Likewise.
15080         (ERANGE): Likewise.
15081         [ISO || POSIX] (EILSEQ): Do not expect.
15082         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15083         Specify type.  Require positive value.
15084         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15085         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15086         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15087         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15088         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15089         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15090         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15091         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15092         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15093         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15094         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15095         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15096         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15097         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15098         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15099         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15100         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15101         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15102         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15103         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15104         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15105         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15106         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15107         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15108         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15109         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15110         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15111         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15112         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15113         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15114         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15115         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15116         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15117         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15118         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15119         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15120         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15121         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15122         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15123         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15124         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15125         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15126         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15127         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15128         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15129         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15130         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15131         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15132         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15133         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15134         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15135         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15136         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15137         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15138         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15139         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15140         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15141         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15142         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15143         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15144         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15145         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15146         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15147         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15148         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15149         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15150         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15151         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15152         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15153         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15154         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15155         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15156         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15157         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15158         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15159         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15160         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15161         Require >= 2.
15162         (FLT_ROUNDS): Expect as macro, not constant.
15163         (FLT_MANT_DIG): Use macro-int-constant.
15164         (DBL_MANT_DIG): Likewise.
15165         (LDBL_MANT_DIG): Likewise.
15166         (FLT_DIG): Likewise.
15167         (DBL_DIG): Likewise.
15168         (LDBL_DIG): Likewise.
15169         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15170         (DBL_MIN_EXP): Likewise.
15171         (LDBL_MIN_EXP): Likewise.
15172         (FLT_MAX_EXP): Use macro-int-constant.
15173         (DBL_MAX_EXP): Likewise.
15174         (LDBL_MAX_EXP): Likewise.
15175         (FLT_MAX_10_EXP): Likewise.
15176         (DBL_MAX_10_EXP): Likewise.
15177         (LDBL_MAX_10_EXP): Likewise.
15178         (FLT_MAX): Use macro-constant.
15179         (DBL_MAX): Likewise.
15180         (LDBL_MAX): Likewise.
15181         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15182         (DBL_EPSILON): Likewise.
15183         (LDBL_EPSILON): Likewise.
15184         (FLT_MIN): Likewise.
15185         (DBL_MIN): Likewise.
15186         (LDBL_MIN): Likewise.
15187         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15188         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15189         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15190         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15191         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15192         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15193         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15194         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15195         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15196         [ISO11] (FLT_TRUE_MIN): Likewise.
15197         [ISO11] (LDBL_TRUE_MIN): Likewise.
15198         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15199         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15200         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15201         (SCHAR_MAX): Likewise.
15202         (UCHAR_MAX): Likewise.
15203         (CHAR_MIN): Likewise.
15204         (CHAR_MAX): Likewise.
15205         (MB_LEN_MAX): Use macro-int-constant.
15206         (SHRT_MIN): Use macro-int-constant.  Specify type.
15207         (SHRT_MAX): Likewise.
15208         (USHRT_MAX): Likewise.
15209         (INT_MAX): Likewise.
15210         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15211         bound negative.
15212         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15213         bound with "U".
15214         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15215         bound with "L".
15216         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15217         bound negative.  Suffix upper bound with "L".
15218         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15219         bound with "UL".
15220         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15221         Specify type.
15222         [C99-based standards] (LLONG_MAX): Likewise.
15223         [C99-based standards] (ULLONG_MAX): Likewise.
15224         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15225         == 0.
15226         [ISO11] (max_align_t): Require type.
15227         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15229         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15230         from $CFLAGS, without defining away __attribute__ calls.
15231         (checknamespace): Use $CFLAGS_namespace.
15233         * conform/conformtest.pl (@keywords): Only include C99 keywords
15234         for standards based on C99 or C11.
15236         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15237         Disable tests.
15238         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15239         UNIX98]: Likewise.
15241         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15242         usability of symbols in #if.
15244         * conform/conformtest.pl: If macro or constant types start
15245         "promoted:", expect the symbol to be of the following type
15246         promoted by the integer promotions.
15248         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15249         in one place.  Also handle "macro-constant".
15251         * conform/conformtest.pl: Only accept expected macro values with
15252         "==".  Parse all "macro" lines in one place.
15253         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15255         * conform/conformtest.pl: Handle braced types on "constant" lines
15256         instead of handling "typed-constant".
15257         * conform/data/signal.h-data: Use "constant" instead of
15258         "typed-constant".
15260         * conform/conformtest.pl: Handle "optional-" at start of lines in
15261         one place rather than duplicating several cases.  Handle each
15262         format of "macro" line with initial "optional-".
15264         * conform/conformtest.pl: Only accept expected constant or
15265         optional-constant values with "==".  Parse all "constant" lines in
15266         one place.  Parse all "optional-constant" lines in one place.
15267         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15268         * conform/data/fmtmsg.h-data: Likewise.
15269         * conform/data/netinet/in.h-data: Likewise.
15270         * conform/data/tar.h-data: Likewise.
15271         * conform/data/limits.h-data: Use "==" form on "constant" and
15272         "optional-constant" lines.
15274         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15275         Use -std=c99 for XOPEN2K.
15276         (@knownproblems): Remove.
15277         (newtoken): Don't check %isknown.
15279         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15280         Do not expect macro.
15281         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15282         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15283         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15284         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15285         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15286         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15287         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15288         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15289         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15290         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15291         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15292         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15293         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15294         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15295         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15296         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15297         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15298         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15299         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15300         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15301         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15302         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15303         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15304         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15305         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15306         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15307         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15308         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15309         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15310         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15311         [XPG3] (acosh): Likewise.
15312         [XPG3] (asinh): Likewise.
15313         [XPG3] (atanh): Likewise.
15314         [XPG3] (cbrt): Likewise.
15315         [XPG3] (expm1): Likewise.
15316         [XPG3] (ilogb): Likewise.
15317         [XPG3] (log1p): Likewise.
15318         [XPG3] (logb): Likewise.
15319         [XPG3] (nextafter): Likewise.
15320         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15321         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15322         [XPG3] (remainder): Likewise.
15323         [XPG3] (rint): Likewise.
15324         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15325         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15326         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15327         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15328         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15329         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15330         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15331         [UNIX98 || XOPEN2K] (scalb): Expect.
15332         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15333         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15334         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15335         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15336         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15337         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15338         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15339         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15340         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15341         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15342         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15343         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15344         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15345         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15346         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15347         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15348         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15349         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15350         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15351         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15352         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15353         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15354         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15355         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15356         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15357         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15358         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15359         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15360         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15361         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15362         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15363         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15364         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15365         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15366         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15367         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15368         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15369         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15370         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15371         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15372         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15373         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15374         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15375         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15376         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15377         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15378         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15379         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15380         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15381         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15382         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15383         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15384         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15385         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15386         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15387         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15388         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15389         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15390         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15391         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15392         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15393         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15394         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15395         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15396         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15397         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15398         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15399         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15400         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15401         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15402         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15403         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15404         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15405         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15406         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15407         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15408         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15409         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15410         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15411         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15412         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15413         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15414         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15415         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15416         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15417         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15418         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15419         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15420         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15421         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15422         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15423         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15424         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15425         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15426         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15427         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15428         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15429         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15430         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15431         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15432         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15433         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15434         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15435         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15436         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15437         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15438         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15439         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15440         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15441         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15442         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15443         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15444         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15445         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15446         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15447         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15448         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15449         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15450         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15451         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15452         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15453         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15454         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15455         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15456         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15457         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15458         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15459         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15460         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15461         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15462         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15463         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15464         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15465         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15466         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15467         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15468         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15470         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15471         _XOPEN_SOURCE_EXTENDED for XPG4.
15473         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15475         * Makeconfig (localtime): Remove variable.
15476         (inst_localtime-file): Likewise.
15478 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15481         Update.
15482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15483         Update.
15484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15485         Update.
15486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15487         Update.
15488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15489         Update.
15490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15491         Update.
15492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15493         Update.
15494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15495         Update.
15496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15497         Update.
15499 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15501         [BZ #2550]
15502         [BZ #2570]
15503         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15504         comparisons to determine direction to adjust input.
15505         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15506         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15507         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15508         Likewise.
15509         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15510         Likewise.
15511         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15512         Likewise.
15513         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15514         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15515         Likewise.
15516         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15517         Likewise.
15518         * math/libm-test.inc (nexttoward_test): Add more tests.
15520 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15522         [BZ #14040]
15523         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15524         in version GLIBC_2.1, not GLIBC_2.0.
15525         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15526         Likewise.
15528 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15530         [BZ #13942]
15531         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15532         (1 - x) * (1 + x).
15533         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15534         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15535         * math/libm-test.inc (acos_test): Add more tests.
15536         (asin_test): Likewise.
15537         * sysdeps/i386/fpu/libm-test-ulps: Update.
15538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15540         [BZ #14034]
15541         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15542         of square root.
15543         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15544         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15545         * math/libm-test.inc (acos_test_tonearest): New function.
15546         (acos_test_towardzero): Likewise.
15547         (acos_test_downward): Likewise.
15548         (acos_test_upward): Likewise.
15549         (asin_test_tonearest): Likewise.
15550         (asin_test_towardzero): Likewise.
15551         (asin_test_downward): Likewise.
15552         (asin_test_upward): Likewise.
15553         (main): Call the new functions.
15554         * sysdeps/i386/fpu/libm-test-ulps: Update.
15555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15557         [BZ #13884]
15558         [BZ #13924]
15559         * math/e_exp10.c: Include <float.h>.
15560         (__ieee754_exp10): Handle underflow here rather than multiplying
15561         large negative argument by M_LN10.
15562         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15563         of __ieee754_expf.
15564         * math/e_exp10l.c: Include <float.h>.
15565         (__ieee754_exp10l): Handle underflow here rather than multiplying
15566         large negative argument by M_LN10l.
15567         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15568         spurious overflow exception on underflow.
15570 2012-04-29  Marek Polacek  <polacek@redhat.com>
15572         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15573         (__fortify_function): New macro.
15574         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15575         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15576         __extern_always_inline.
15577         * libio/bits/stdio2.h: Likewise.
15578         * libio/bits/stdio.h: Likewise.
15579         * string/string.h: Likewise.
15580         * string/bits/string3.h: Likewise.
15581         * include/stdio.h: Likewise.
15582         * stdlib/bits/stdlib.h: Likewise.
15583         * stdlib/stdlib.h: Likewise.
15584         * rt/bits/mqueue2.h: Likewise.
15585         * rt/mqueue.h: Likewise.
15586         * posix/bits/unistd.h: Likewise.
15587         * posix/unistd.h: Likewise.
15588         * io/bits/poll2.h: Likewise.
15589         * io/bits/fcntl2.h: Likewise.
15590         * io/fcntl.h: Likewise.
15591         * io/sys/poll.h: Likewise.
15592         * misc/bits/syslog.h: Likewise.
15593         * misc/bits/syslog-ldbl.h: Likewise.
15594         * misc/sys/syslog.h: Likewise.
15595         * socket/bits/socket2.h: Likewise.
15596         * socket/sys/socket.h: Likewise.
15597         * debug/tst-chk1.c: Likewise.
15598         * wcsmbs/bits/wchar2.h: Likewise.
15599         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15600         * wcsmbs/wchar.h: Likewise.
15602 2012-04-29  Andreas Jaeger  <aj@suse.de>
15604         * Makerules (tests): Remove enable-check-abi protection.
15605         (check-abi-warn): Remove.
15606         (check-abi-%): Remove check-abi-warn usage.
15608         * configure.in: Remove check-abi configure option.
15609         * configure: Regenerated.
15610         * config.make.in (enable-check-abi): Remove.
15612 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15614         [BZ #14033]
15615         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15616         double functions to double *_finite functions.
15618         [BZ #13941]
15619         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15620         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15621         LDBL_MIN_EXP.
15622         * stdio-common/Makefile (tests): Add tst-sprintf3.
15623         * stdio-common/tst-sprintf3.c: New file.
15625         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15626         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15628 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15630         * conform/conformtest.pl: Remove duplicate typed-constant
15631         handling.
15633 2012-04-28  David S. Miller  <davem@davemloft.net>
15635         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15636         (check-abi-%): Remove AWK script prerequisite and explicit
15637         abilist directory.
15638         (check-abi): Rewrite to just diff the symlist with the abilist.
15639         (config-tls, config-abi-config): Delete, no longer used.
15640         (update-abi-%): Remove AWK script and explicit abilist directory.
15641         (update-abi): Rewrite to simply compare and conditionally copy the
15642         symlist and the sysdep abilist file.  Remove update-abi-config
15643         checks.
15644         * abilist/ld.abilist: Remove.
15645         * abilist/libBrokenLocale.abilist: Remove.
15646         * abilist/libanl.abilist: Remove.
15647         * abilist/libcrypt.abilist: Remove.
15648         * abilist/libdl.abilist: Remove.
15649         * abilist/librt.abilist: Remove.
15650         * abilist/libthread_db.abilist: Remove.
15651         * abilist/libutil.abilist: Remove.
15652         * scripts/extract-abilist.awk: Remove.
15653         * scripts/merge-abilist.awk: Remove.
15654         * sysdeps/generic/libcidn.abilist: New file.
15655         * sysdeps/generic/libnss_compat.abilist: New file.
15656         * sysdeps/generic/libnss_db.abilist: New file.
15657         * sysdeps/generic/libnss_dns.abilist: New file.
15658         * sysdeps/generic/libnss_files.abilist: New file.
15659         * sysdeps/generic/libnss_hesiod.abilist: New file.
15660         * sysdeps/generic/libnss_nis.abilist: New file.
15661         * sysdeps/generic/libnss_nisplus.abilist: New file.
15662         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15663         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15664         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15665         file.
15666         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15667         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15668         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15669         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15670         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15671         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15672         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15673         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15674         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15675         file.
15676         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15677         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15678         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15679         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15680         file.
15681         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15682         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15683         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15684         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15685         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15686         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15687         file.
15688         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15689         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15690         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15691         file.
15692         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15693         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15694         New file.
15695         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15696         New file.
15697         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15698         New file.
15699         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15700         New file.
15701         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15702         New file.
15703         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15704         New file.
15705         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15706         New file.
15707         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15708         New file.
15709         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15710         New file.
15711         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15712         New file.
15713         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15714         New file.
15715         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15716         New file.
15717         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15718         New file.
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15720         file.
15721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15722         New file.
15723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15724         New file.
15725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15726         file.
15727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15728         New file.
15729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15730         New file.
15731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15732         file.
15733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15734         New file.
15735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15736         New file.
15737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15738         New file.
15739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15740         New file.
15741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15742         New file.
15743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15744         New file.
15745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15747         file.
15748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15749         New file.
15750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15751         file.
15752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15753         file.
15754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15755         file.
15756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15757         file.
15758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15759         file.
15760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15761         New file.
15762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15763         file.
15764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15765         file.
15766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15767         New file.
15768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15769         file.
15770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15772         file.
15773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15774         New file.
15775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15776         file.
15777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15778         file.
15779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15780         file.
15781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15782         file.
15783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15784         file.
15785         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15786         New file.
15787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15788         file.
15789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15790         file.
15791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15792         New file.
15793         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15794         file.
15795         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15796         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15797         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15798         file.
15799         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15800         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15801         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15802         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15803         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15804         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15805         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15806         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15807         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15808         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15811         file.
15812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15813         New file.
15814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15815         file.
15816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15817         file.
15818         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15819         file.
15820         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15821         file.
15822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15823         file.
15824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15825         New file.
15826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15827         New file.
15828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15829         file.
15830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15831         New file.
15832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15833         file.
15834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15836         file.
15837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15838         New file.
15839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15840         file.
15841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15842         file.
15843         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15844         file.
15845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15846         file.
15847         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15848         file.
15849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15850         New file.
15851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15852         New file.
15853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15854         file.
15855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15856         New file.
15857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15858         file.
15860 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15862         * conform/conformtest.pl: Fix typo in handling typed-constant from
15863         allow-header.
15865 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15867         * README: Cut down references to pre-2.6 Linux kernels and
15868         Linuxthreads.  Update lists of configurations in libc and ports
15869         and sort alphabetically.  Say "or newer" with Linux kernel version
15870         requirements.
15872         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15874 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15876         [BZ #887]
15877         * math/libm-test.inc (logb_test_downward): New test to expose
15878         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15879         rounding mode.
15881 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15883         [BZ #14027]
15884         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15885         to be done.
15886         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15887         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15889 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15891         * sysdeps/unix/i386/brk.S: Remove file.
15892         * sysdeps/unix/i386/dl-brk.S: Likewise.
15893         * sysdeps/unix/i386/pipe.S: Likewise.
15894         * sysdeps/unix/i386/sigreturn.S: Likewise.
15895         * sysdeps/unix/i386/syscall.S: Likewise.
15896         * sysdeps/unix/i386/vfork.S: Likewise.
15897         * sysdeps/unix/i386/wait.S: Likewise.
15899         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15900         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15902         * configure.in (arm*-none*): Do not allow without
15903         --enable-hacker-mode.
15904         (netbsd*): Remove case setting base_os.
15905         (386bsd*): Likewise.
15906         (freebsd*): Likewise.
15907         (bsdi*): Likewise.
15908         (osf*): Likewise.
15909         (sunos*): Likewise.
15910         (ultrix*): Likewise.
15911         (newsos*): Likewise.
15912         (dynix*): Likewise.
15913         (*bsd*): Likewise.
15914         (sysv*): Likewise.
15915         (isc*): Likewise.
15916         (esix*): Likewise.
15917         (sco*): Likewise.
15918         (minix*): Likewise.
15919         (irix4*): Likewise.
15920         (irix6*): Likewise.
15921         (solaris[2-9]*): Likewise.
15922         (none): Likewise.
15923         * configure: Regenerated.
15925 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15927         [BZ #11521]
15928         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15929         overflow or cancellation in calculating denominator.
15930         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15932         down expression to avoid unexpected rounding in newer GCCs.
15933         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15935 2012-04-26  David S. Miller  <davem@davemloft.net>
15937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15938         long-double compat symbols.
15939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15946         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15953 2012-04-25  David S. Miller  <davem@davemloft.net>
15955         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15956         HWCAP_* values only after the memory barriers have been defined.
15957         (atomic_full_barrier): Define.
15958         (atomic_read_barrier): Define.
15959         (atomic_write_barrier): Define.
15961 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15963         * shlib-versions: Add libgcc_s version information.
15964         * sysdeps/generic/libgcc_s.h: Remove.
15965         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15966         libgcc_s.h.
15967         * sysdeps/gnu/unwind-resume.c: Likewise.
15968         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15970 2012-04-25  David S. Miller  <davem@davemloft.net>
15972         * sysdeps/unix/sparc/brk.S: Delete.
15973         * sysdeps/unix/sparc/dl-brk.S: Delete.
15974         * sysdeps/unix/sparc/pipe.S: Delete.
15975         * sysdeps/unix/sparc/sysdep.S: Delete.
15976         * sysdeps/unix/sparc/sysdep.h: Delete.
15977         * sysdeps/unix/sparc/vfork.S: Delete.
15978         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15979         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15980         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15981         ret_ERRVAL, r0, r1, MOVE): Define.
15982         (JUMPTARGET): Remove.
15983         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15984         sysdeps/unix/sparc/sysdep.h
15985         (ENTRY, END): Remove.
15986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15988 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15990         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15991         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15992         -DIS_IN_build.
15994         * timezone/README: Update upstream location and email address for
15995         tzcode and tzdata.
15996         * timezone/zdump.c: Update from tzcode 2012b.
15997         * timezone/zic.c: Likewise.
15999         * configure.in (libc_cv_as_needed): Remove test.
16000         * configure: Regenerated.
16001         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16002         conditional definition.
16003         [$(have-as-needed) != yes] (no-as-needed): Likewise.
16004         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16005         * config.make.in (have-as-needed): Remove variable.
16007 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16008             Paul Pluzhnikov  <ppluzhnikov@google.com>
16010         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16011         strings correctly.
16013 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16015         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16016         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16017         * sysdeps/sh/strlen.S: Likewise.
16019 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16021         * sysdeps/unix/fork.S: Remove file.
16022         * sysdeps/unix/i386/fork.S: Likewise.
16023         * sysdeps/unix/sparc/fork.S: Likewise.
16025         * sysdeps/unix/system.c: Remove file.
16026         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16028         * sysdeps/unix/getegid.S: Remove file.
16029         * sysdeps/unix/geteuid.S: Likewise.
16031 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16033         * scripts/check-localplt.awk: New file.
16034         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16035         of diff.
16036         * scripts/data/localplt-generic.data: Add a comment.
16038         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16039         NODE when __dir_mkfile failed.
16040         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16041         Reported by Ludovic Courtès <ludo@gnu.org>.
16043 2012-04-24  Andreas Jaeger  <aj@suse.de>
16045         * Makerules (common-clean): Also remove gen-as-const-headers
16046         files.
16048 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16050         * Makerules (native-compile): Do not change working directory for
16051         build.  Use $(OUTPUT_OPTION) in command.
16052         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16054 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16056         [BZ #13886]
16057         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16058         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16059         * math/libm-test.inc (floor_test): Add more tests.
16060         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16062 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16064         * sysdeps/unix/getdents.c: Remove file.
16065         * sysdeps/unix/sysv/getdents.c: Likewise.
16066         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16068         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16069         sysdeps/unix/mman/syscalls.list.
16070         (mmap): Likewise.
16071         (mprotect): Likewise.
16072         (msync): Likewise.
16073         (munmap): Likewise.
16074         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16075         * sysdeps/unix/mman/syscalls.list: Remove.
16076         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16078         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16079         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16080         * configure: Regenerated.
16081         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16082         $(libgcc_s_suffix).
16083         * config.make.in (libgcc_s_suffix): Remove variable.
16085 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16087         * sysdeps/unix/sysv/gethostname.c: Move to ...
16088         * sysdeps/posix/gethostname.c: ... here.
16090         * sysdeps/unix/execve.S: Remove file.
16092         * sysdeps/unix/_exit.S: Remove file.
16094 2012-04-23  Andreas Jaeger  <aj@suse.de>
16096         [BZ #13739]
16097         * manual/Makefile: Remove make dist support, there's no
16098         need for a stand-alone documentation tar ball.
16099         (TEXI2DVI): Define always, it's not in Makeconfig.
16100         (dist): Removed.
16101         (tar-it): Removed.
16102         (edition): Removed.
16103         (glibc-doc-$(edition).tar): Removed
16104         (%.Z): Removed.
16105         (%.gz): Removed.
16106         (%.uu): Removed.
16107         (ETAGS): Remove, it's in Makeconfig.
16108         (move-if-change): Remove, it's in Makeconfig.
16110 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16112         [BZ #13970]
16113         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16114         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16115         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16116         (strtod_l, strtof_l, strtold_l): Remove __wur.
16117         It is not necessarily an error to ignore strtol's return value.
16118         One can reliably look at the stored endptr to decide whether
16119         the number had valid syntax.
16121 2012-04-21  Andreas Jaeger  <aj@suse.de>
16123         [BZ #13739]
16124         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16126 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16128         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16129         * sysdeps/unix/sysv/Versions: Remove file.
16131 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16133         [BZ #13927]
16134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16136 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16138         [BZ #7064]
16139         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16140         version from __vm86.
16142 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16144         * sysdeps/unix/common/lxstat.c: Remove file.
16145         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16147         * sysdeps/unix/sysv/Makefile: Remove file.
16149         * sysdeps/unix/sysv/direct.h: Remove file.
16151         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16152         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16153         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16154         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16155         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16156         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16157         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16159         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16161         * sysdeps/unix/xmknod.c: Remove file.
16162         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16164         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16166         * sysdeps/unix/sysv/i386/time.S: Remove file.
16168         * sysdeps/unix/fxstat.c: Remove file.
16169         * sysdeps/unix/xstat.c: Likewise.
16170         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16172         * sysdeps/unix/sysv/sigaction.c: Remove file.
16174         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16175         (sysdep_headers): Remove variable.
16176         [termio.h not in sysdep_headers] (generated): Likewise.
16177         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16178         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16179         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16180         * sysdeps/unix/sysv/tcflow.c: Likewise.
16181         * sysdeps/unix/sysv/tcflush.c: Likewise.
16182         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16183         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16184         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16185         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16186         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16188         * sysdeps/unix/siglist.c: Remove file.
16190         * sysdeps/unix/getppid.S: Remove file.
16192         * sysdeps/unix/mkdir.c: Remove file.
16193         * sysdeps/unix/rmdir.c: Likewise.
16195 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16197         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16198         ERR_MAX value.
16199         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16200         errlist-compat value.
16202 2012-04-18  David S. Miller  <davem@davemloft.net>
16204         * sysdeps/generic/memcopy.h (reg_char): Delete.
16205         * debug/strcat_chk.c: Use char, not reg_char.
16206         * debug/strcpy_chk.c: Likewise.
16207         * debug/strncat_chk.c: Likewise.
16208         * debug/strncpy_chk.c: Likewise.
16209         * string/memchr.c: Likewise.
16210         * string/memrchr.c: Likewise.
16211         * string/rawmemchr.c: Likewise.
16212         * string/strcat.c: Likewise.
16213         * string/strchr.c: Likewise.
16214         * string/strchrnul.c: Likewise.
16215         * string/strcmp.c: Likewise.
16216         * string/strcpy.c: Likewise.
16217         * string/strncat.c: Likewise.
16218         * string/strncmp.c: Likewise.
16219         * string/strncpy.c: Likewise.
16221 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16223         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16224         __builtin_memcopy is called when src and dest ranges are known to not
16225         overlap.
16227 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16229         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16230         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16231         fwd_align_merge macro call.
16232         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16233         bwd_align_merge macro call.
16234         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16236 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16238         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16239         bwd_align_merge macros.
16240         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16241         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16242         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16244 2012-04-18  David S. Miller  <davem@davemloft.net>
16246         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16248 2012-04-18  Andreas Jaeger  <aj@suse.de>
16250         [BZ# 6794]
16251         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16252         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16253         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16255         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16256         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16257         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16259         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16260         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16261         Adjust for changed ldbl-128 files.
16263         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16264         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16265         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16267 2012-04-17  David S. Miller  <davem@davemloft.net>
16269         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16271 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16273         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16274         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16275         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16276         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16277         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16278         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16280 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16282         [BZ #6794]
16283         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16284         * math/libm-test.inc: Add ilogb errno and exception tests.
16285         * math/w_ilogb.c: New file: ilogb wrapper.
16286         * math/w_ilogbf.c: New file: ilogbf wrapper.
16287         * math/w_ilogbl.c: New file: ilogbl wrapper.
16288         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16289         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16290         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16291         exception being thrown with 0.0 as argument.
16292         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16293         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16294         exception being thrown with 0.0 as argument.
16295         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16296         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16297         exception being thrown with 0.0 as argument.
16298         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16299         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16300         exception being thrown with 0.0 as argument.
16301         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16302         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16303         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16304         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16305         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16306         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16307         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16308         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16309         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16311 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16313         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16314         with altivec.
16316 2012-04-16  Marek Polacek  <polacek@redhat.com>
16318         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16320 2012-04-16  Marek Polacek  <polacek@redhat.com>
16322         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16323         operands of fdivp instruction.
16325 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16327         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16328         * elf/tst-auditmod3b.c: Likewise.
16329         * elf/tst-auditmod4b.c: Likewise.
16330         * elf/tst-auditmod5b.c: Likewise.
16331         * elf/tst-auditmod6b.c: Likewise.
16332         * elf/tst-auditmod6c.c: Likewise.
16333         * elf/tst-auditmod7b.c: Likewise.
16334         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16335         * sysdeps/x86_64/preconfigure.in: Likewise.
16336         * sysdeps/x86_64/preconfigure: Regenerated.
16338 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16340         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16341         __ILP32__.
16343 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16345         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16346         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16348 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16350         [BZ #13973]
16351         * locale/iso-639.def: Fix gl language name. Spotted by
16352         Yaron Shahrabani.
16354 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16356         [BZ #2074]
16357         * libio/libio.h (__io_write_fn): Update comment.
16359 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16361         [BZ #2074]
16362         * stdio.texi (Hook Functions): The user provided writer function
16363         is not allowed to return -1.
16365 2012-04-11  David S. Miller  <davem@davemloft.net>
16367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16369 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16371         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16372         Add a leading slash to rtkaio.
16374 2012-04-11  Jim Meyering  <meyering@redhat.com>
16376         [BZ #11959]
16377         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16378         It is not necessarily an error to ignore fwrite's return
16379         value.  One can reliably use ferror to test for errors after
16380         the fact.
16382 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16384         * bits/types.h (__snseconds_t): New type.
16385         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16387         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16388         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16389         (__SNSECONDS_T_TYPE): Likewise.
16390         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16391         (__SNSECONDS_T_TYPE): Likewise.
16392         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16393         (__SNSECONDS_T_TYPE): Likewise.
16395 2012-04-10  Andreas Jaeger  <aj@suse.de>
16397         [BZ #2636]
16398         * manual/time.texi (Processor Time): Return type of times is
16399         elapsed real time since an arbitrary point in the past.
16400         (CPU Time): Move CLK_TCK from here...
16401         (Processor Time): ...to here.  Correct description.
16402         * manual/conf.texi (Constants for Sysconf): Correct description of
16403         _SC_CLK_TCK.
16405 2012-04-10  David S. Miller  <davem@davemloft.net>
16407         [BZ #13967]
16408         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16409         where the is a gap between DT_REL(A) and DT_JMPREL.
16411 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16413         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16414         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16415         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16417 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16419         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16420         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16421         (dl_main): Handle --inhibit-cache.
16422         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16423         _dl_inhibit_cache.
16424         * elf/dl-load.c (_dl_map_object): Use it.
16425         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16427 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16429         [BZ #13872]
16430         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16431         (__ieee754_powl): Saturate large exponents rather than testing for
16432         overflow of y*log2(x).
16433         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16434         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16435         exceptions.
16437         [BZ #11521]
16438         * math/s_ctan.c: Include <float.h>.
16439         (__ctan): Avoid internal overflow or cancellation in calculating
16440         denominator.
16441         * math/s_ctanf.c: Likewise.
16442         * math/s_ctanl.c: Likewise.
16443         * math/s_ctanh.c: Likewise.
16444         * math/s_ctanhf.c: Likewise.
16445         * math/s_ctanhl.c: Likewise.
16446         * math/libm-test.inc (ctan_test): Add more tests.
16447         (ctanh_test): Likewise.
16448         * sysdeps/i386/fpu/libm-test-ulps: Update.
16449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16451 2012-04-09  Andreas Jaeger  <aj@suse.de>
16453         [BZ #6894]
16454         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16455         is an optional BSD extension.
16457         [BZ #10254]
16458         * manual/stdio.texi (Opening Streams): Document additional fopen
16459         parameters.
16461 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16463         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16464         %eax without telling the compiler.
16466 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16468         [BZ # 13963]
16469         * manual/install.texi: Use sourceware.org.
16471 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16473         [BZ #13873]
16474         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16475         (__ieee754_pow): Generate overflow and underflow using huge*huge
16476         and tiny*tiny rather than just returning constant infinity or zero
16477         for large exponents.
16478         * math/libm-test.inc (pow_test): Require overflow exceptions for
16479         applicable cases of large exponents.
16481         [BZ #706]
16482         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16483         (__ieee754_pow): Use iterative multiplication algorithm only for
16484         integer exponents with absolute value below 1024.  Check for odd
16485         integer exponents when using algorithm for real exponents.
16486         * math/libm-test.inc (pow_test): Add more tests.
16487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16489 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16491         [BZ #13705]
16492         * math/libm-test.inc (exp_test): Do not allow overflow exception
16493         on underflow test.
16495 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16497         [BZ #13705]
16498         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16499         instead of __kernel_standard_f.
16501 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16503         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16504         * sysdeps/x86_64/memset_chk.S: Likewise.
16506 2012-04-08  Andreas Jaeger  <aj@suse.de>
16508         [BZ #10153]
16509         * manual/startup.texi (Environment Access): Describe return value
16510         for putenv and setenv.
16512         [BZ #6895]
16513         * manual/filesys.texi (Directory Entries): Add description for
16514         DT_LNK.
16516         [BZ #6890]
16517         * manual/filesys.texi (Directory Entries): Clarify that it's file
16518         system not operating system in the description of DT_UNKNOWN.
16520         [BZ #6578]
16521         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16523 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16525         [BZ #6649]
16526         * manual/llio.texi (Opening and Closing Files): Add cross
16527         reference to explain mode argument.
16529 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16531         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16532         * sysdeps/x86_64/memset_chk.S: Likewise.
16534 2012-04-07  David S. Miller  <davem@davemloft.net>
16536         * elf/elf.h (R_SPARC_WDISP10): Define.
16537         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16538         R_SPARC_SIZE32.
16539         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16540         R_SPARC_SIZE64 and R_SPARC_H34.
16542 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16544         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16545         conditions and remove no longer applicable assertion.
16547 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16549         * bits/byteswap.h: Include <features.h>.
16550         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16551         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16553 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16555         * bits/byteswap.h (__bswap_16): Removed.
16556         Include <bits/byteswap-16.h> to get __bswap_16.
16557         * sysdeps/i386/bits/byteswap.h: Likewise.
16558         * sysdeps/s390/bits/byteswap.h: Likewise.
16559         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16560         * bits/byteswap-16.h: New file.
16561         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16562         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16563         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16564         * string/Makefile (headers): Add bits/byteswap-16.h.
16566 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16568         [BZ #13895]
16569         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16570         extra indirection.
16571         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16572         * nss/tst-nss-static.c: New.
16574 2012-04-06  Robert Millan  <rmh@gnu.org>
16576         [BZ #6486]
16577         * manual/llio.texi (File Position Primitive): lseek
16578         refers to WHENCE when it really means OFFSET.
16580 2012-04-06  Andreas Jaeger  <aj@suse.de>
16582         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16583         strncmp declarations.
16585         * abilist/libc.abilist: Add __poll and __ppoll.
16587 2012-04-05  David S. Miller  <davem@davemloft.net>
16589         * scripts/check-local-headers.sh: Accept a host triplet in the
16590         path matched by the exclude regexp.
16592         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16593         definition.
16594         * sysdeps/powerpc/powerpc32/dl-machine.h
16595         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16596         * sysdeps/s390/s390-32/dl-machine.h
16597         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16598         * sysdeps/sparc/sparc32/dl-machine.h
16599         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16600         * sysdeps/sparc/sparc64/dl-machine.h
16601         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16603         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16604         lazy binding.
16605         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16606         undefined symbol errors.
16608         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16609         DT_NEEDED entries.
16611 2012-04-05  Michael Matz  <matz@suse.de>
16613         [BZ #13592]
16614         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16616 2012-04-05  Andreas Jaeger  <aj@suse.de>
16618         [BZ #13908]
16619         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16620         comment.
16622 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16624         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16625         which ROUND is no valid rounding mode.
16627 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16629         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16630         read again.
16631         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16633 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16635         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16636         an exception using FPU order intentionally.
16638 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16640         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16641         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16642         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16643         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16645 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16647         [BZ #12340]
16648         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16649         EINVAL when BUFLEN is too smal.
16651 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16653         [BZ #13553]
16654         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16655         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16657 2012-04-03  Andreas Jaeger  <aj@suse.de>
16659         [BZ #13938]
16660         * manual/setjmp.texi (System V contexts): Fix sentence.
16662         [BZ #13926]
16663         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16664         New macro for this case.
16665         [!__GNUC__] (__bswap_64): New inline function for this case.
16666         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16667         * bits/byteswap.h: Likewise.
16668         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16669         ull, guard with __GLIBC_HAVE_LONG_LONG.
16671         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16672         __GLIBC_HAVE_LONG_LONG.
16674         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16675         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16677 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16679         [BZ #13691]
16680         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16681         inptr and inend, rather than using last_ch.
16683 2012-04-02  David S. Miller  <davem@davemloft.net>
16685         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16686         * stdio-common/printf-parse.h (read_int): Change return type to
16687         'int', return -1 on INT_MAX overflow.
16688         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16689         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16690         overflows INT_MAX.  Check for overflow of in-format-string precision
16691         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16692         SIZE_MAX not INT_MAX for integer overflow test.
16693         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16694         skip the construct in the format string but do not record anything.
16695         * stdio-common/bug22.c: Adjust to test both width/prevision
16696         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16697         explicitly for proper errno values.
16699 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16701         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16702         CHAR_MAX.
16703         * string/test-strcmp.c [! WIDE]: Likewise.
16704         * time/tst-mktime2.c: Likewise for INT_MAX.
16705         * string/test-string.h: #include <sys/param.h> for MIN.
16707         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16708         * sysdeps/i386/init-first.c (init): Likewise.
16709         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16710         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16711         * sysdeps/sh/init-first.c (init): Likewise.
16713 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16715         * po/ru.po: Update from translation team.
16716         * po/vi.po: Likewise.
16718 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16720         * resolv/nss_dns/dns-host.c: Merge copyright years.
16722 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16724         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16725         Optimize memcpy with prefetch if
16726         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16727         src, dst pointers have unequal 16 byte alignments.
16729 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16731         [BZ #13928]
16732         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16733         from a CNAME entry and return the minimum ttl for the query.
16734         (gaih_getanswer_slice): Likewise.
16736 2012-03-30  Jeff Law  <law@redhat.com>
16738         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16739         due to long keys.
16740         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16741         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16743         * resolv/nss_dns/dns-host.c: Update copyright year.
16745 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16747         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16748         requests to save a system call.  Fix check that all bytes are sent.
16750         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16751         comments for sendmmsg.
16753 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16755         [BZ #13691]
16756         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16757         with only 1 character between 0x0041 and 0x01b0.
16758         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16759         * wcsmbs/tst-mbsnrtowcs.c: New file.
16761 2012-03-29  David S. Miller  <davem@davemloft.net>
16763         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16764         small copies by hand.
16766 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16768         [BZ #13761]
16769         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16770         _nss_compat_initgroups_dyn): Fall back to malloc/free
16771         for large group memberships.
16773 2012-03-28  David S. Miller  <davem@davemloft.net>
16775         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16776         that branches into memcpy.
16777         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16778         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16780         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16781         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16782         bits.
16783         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16784         implementation too.
16785         * sysdeps/sparc/mempcpy.S: New file.
16787         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16788         the IFUNC routine in the libc case.
16789         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16791         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16792         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16793         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16794         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16795         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16796         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16797         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16798         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16800         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16801         loop to 256 bytes instead of 64 bytes and fix test signedness.
16803         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16804         * sysdeps/sparc/sparc32/Makefile: rather than here...
16805         * sysdeps/sparc/sparc64/Makefile: and here.
16807 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16809         * malloc/mallocbug.c: Avoid warnings about unused variables.
16811 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16813         [BZ #13760]
16814         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16815         in the right place. Discard and retry query if response is
16816         larger than input buffer size.
16818 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16820         [BZ #369]
16821         [BZ #2678]
16822         [BZ #3866]
16823         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16824         x for large integer exponent.
16825         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16826         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16827         sign of result as needed afterwards.
16828         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16829         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16830         result for underflowing pow the same as for overflow.
16831         (__kernel_standard_l): Handle powl overflow and underflow here
16832         rather than calling __kernel_standard.
16833         * math/libm-test.inc (pow_test): Add more tests.
16835         [BZ #3868]
16836         [BZ #13879]
16837         [BZ #13910]
16838         [BZ #13911]
16839         [BZ #13912]
16840         [BZ #13913]
16841         [BZ #13915]
16842         [BZ #13916]
16843         [BZ #13917]
16844         [BZ #13918]
16845         [BZ #13919]
16846         [BZ #13920]
16847         [BZ #13921]
16848         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16849         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16850         (__kernel_standard_l): New function.
16851         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16852         __kernel_standard.
16853         * math/w_acosl.c (__acosl): Likewise.
16854         * math/w_asinl.c (__asinl): Likewise.
16855         * math/w_atan2l.c (__atan2l): Likewise.
16856         * math/w_atanhl.c (__atanhl): Likewise.
16857         * math/w_coshl.c (__coshl): Likewise.
16858         * math/w_exp10l.c (__exp10l): Likewise.
16859         * math/w_exp2l.c (__exp2l): Likewise.
16860         * math/w_fmodl.c (__fmodl): Likewise.
16861         * math/w_hypotl.c (__hypotl): Likewise.
16862         * math/w_j0l.c (__j0l, __y0l): Likewise.
16863         * math/w_j1l.c (__j1l, __y1l): Likewise.
16864         * math/w_jnl.c (__jnl, __ynl): Likewise.
16865         * math/w_lgammal.c (__lgammal): Likewise.
16866         * math/w_log10l.c (__log10l): Likewise.
16867         * math/w_log2l.c (__log2l): Likewise.
16868         * math/w_logl.c (__logl): Likewise.
16869         * math/w_powl.c (__powl): Likewise.
16870         * math/w_remainderl.c (__remainderl): Likewise.
16871         * math/w_scalbl.c (sysv_scalbl): Likewise.
16872         * math/w_sinhl.c (__sinhl): Likewise.
16873         * math/w_sqrtl.c (__sqrtl): Likewise.
16874         * math/w_tgammal.c (__tgammal): Likewise.
16875         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16876         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16877         * math/libm-test.inc (acos_test): Add more tests.
16878         (acosh_test): Likewise.
16879         (asin_test): Likewise.
16880         (atanh_test): Likewise.
16881         (exp_test): Likewise.
16882         (exp10_test): Likewise.
16883         (exp2_test): Likewise.
16884         (expm1_test): Likewise.
16885         (lgamma_test): Likewise.
16886         (log_test): Likewise.
16887         (log10_test): Likewise.
16888         (log1p_test): Likewise.
16889         (log2_test): Likewise.
16890         (pow_test): Do not allow some spurious overflow exceptions.
16891         (sqrt_test): Add more tests.
16892         (tgamma_test): Likewise.
16893         (y0_test): Likewise.
16894         (y1_test): Likewise.
16895         (yn_test): Likewise.
16897 2012-03-27  Anton Blanchard  <anton@samba.org>
16899         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16900         MAP_HUGETLB.
16901         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16902         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16903         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16905 2012-03-27  David S. Miller  <davem@davemloft.net>
16907         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16909         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16910         have-as-vis3 check.
16912 2012-03-27  Andreas Jaeger  <aj@suse.de>
16914         * sysdeps/x86_64/elf/configure.in: Moved to ...
16915         * sysdeps/x86_64/configure.in: ... here.
16916         * sysdeps/x86_64/elf/start.S: Moved to ...
16917         * sysdeps/x86_64/start.S: ... here.
16918         * sysdeps/x86_64/elf/configure: Delete.
16920         * sysdeps/x86_64/configure.in: Merge contents from
16921         sysdeps/i386/configure.in (without i686 check).
16923         * sysdeps/i386/elf/Versions: Merge into ...
16924         * sysdeps/i386/Versions: ... this.
16925         * sysdeps/i386/elf/Versions: Delete file.
16926         * sysdeps/i386/elf/start.S: Moved to ...
16927         * sysdeps/i386/start.S: ...here.
16928         * sysdeps/i386/elf/configure.in: Merge into...
16929         * sysdeps/i386/configure.in: ...here.
16930         * sysdeps/i386/elf/configure.in: Delete file.
16931         * sysdeps/i386/elf/configure: Delete file.
16933         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16934         * debug/backtracesyms.c: ... here.
16935         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16936         * debug/backtracesymsfd.c: ... here.
16937         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16938         * sysdeps/generic/ifunc-sel.h: ... here.
16940         * sysdeps/unix/i386/start.c: Delete file.
16941         * sysdeps/unix/sparc/start.c: Delete file.
16942         * sysdeps/unix/start.c: Delete file.
16944         * sysdeps/sh/elf/configure.in: Moved to ...
16945         * sysdeps/sh/configure.in: ... here.
16946         * sysdeps/sh/elf/start.S: Moved to ...
16947         * sysdeps/sh/start.S: ... here.
16948         * sysdeps/sh/elf/configure: Delete file.
16950         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16951         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16952         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16953         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16954         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16955         * sysdeps/powerpc/powerpc64/start.S: here.
16956         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16957         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16958         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16959         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16960         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16962         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16963         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16964         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16965         * sysdeps/powerpc/powerpc32/start.S: ... here.
16966         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16967         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16968         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16970         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16971         * sysdeps/powerpc/ifunc-sel.h: ... here.
16972         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16973         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16975         * sysdeps/sparc/elf/configure.in: Moved to ...
16976         * sysdeps/sparc/configure.in: ... here.
16977         * sysdeps/sparc/elf/configure: Delete file.
16978         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16979         * sysdeps/sparc/sparc32/start.S: ... here.
16980         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16981         * sysdeps/sparc/sparc64/start.S: ... here.
16982         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16983         * sysdeps/sparc/sparc32/Makefile: ... this.
16984         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16985         * sysdeps/sparc/sparc64/Makefile: ... this.
16987         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16988         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16989         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16990         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16991         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16992         * sysdeps/s390/s390-32/setjmp.S: ... here.
16993         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16994         * sysdeps/s390/s390-32/configure.in: ... here.
16995         * sysdeps/s390/s390-32/elf/configure: Delete file.
16996         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16997         * sysdeps/s390/s390-32/start.S: ... here.
16999         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17000         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17001         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17002         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17003         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17004         * sysdeps/s390/s390-64/setjmp.S: ... here.
17005         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17006         * sysdeps/s390/s390-64/configure.in: ... here
17007         * sysdeps/s390/s390-64/elf/configure: Delete file.
17008         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17009         * sysdeps/s390/s390-64/start.S: ... here.
17010         * sysdeps/s390/s390-64/elf/configure: Delete.
17012         * configure.in: Remove support for elf directories in sysdeps.
17014         * configure: Regenerated.
17015         * sysdeps/i386/configure: Regenerated.
17016         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17017         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17018         * sysdeps/s390/s390-32/configure: Regenerated.
17019         * sysdeps/s390/s390-64/configure: Regenerated.
17020         * sysdeps/sh/configure: Regenerated.
17021         * sysdeps/sparc/configure: Regenerated.
17022         * sysdeps/x86_64/configure: Regenerated.
17024 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17028         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17029         denormal result into account.
17031 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17033         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17034         Reported by Allan McRae <allan@archlinux.org>.
17036 2012-03-23  Jeff Law  <law@redhat.com>
17038         * nss/getnssent.c (__nss_getent): Fix typo.
17040 2012-03-23  David S. Miller  <davem@davemloft.net>
17042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17044 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17046         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17047         to pad to uint64_t for each field.
17048         (dl_tls_index): Replace unsigned long with uint64_t.
17050 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17051         Paul Pluzhnikov  <ppluzhnikov@google.com>
17053         [BZ #6528]
17054         * grp/Makefile (otherlibs): Don't set it.
17055         * inet/Makefile (otherlibs): Likewise.
17056         * login/Makefile (otherlibs): Likewise.
17057         * nscd/Makefile (otherlibs): Likewise.
17058         * posix/Makefile (otherlibs): Likewise.
17059         * pwd/Makefile (otherlibs): Likewise.
17060         * rt/Makefile (otherlibs): Likewise.
17061         * sunrpc/Makefile (otherlibs): Likewise.
17062         * nss/Makefile (otherlibs): Likewise.
17063         Add libnss_files to routines and static-only-routines.
17064         ($(objpfx)getent): Remove rule.
17065         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17066         static-only-routines.
17068 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17070         [BZ #13892]
17071         * math/s_cexp.c: Include <float.h>.
17072         (__cexp): Handle exp result overflowing not necessarily
17073         overflowing both real and imaginary parts of result.
17074         * math/s_cexpf.c: Likewise.
17075         * math/s_cexpl.c: Likewise.
17076         * math/libm-test.inc (cexp_test): Add more tests.
17077         * sysdeps/i386/fpu/libm-test-ulps: Update.
17078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17080 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17082         * include/link.h (ELFW): New macro.
17083         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17084         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17086 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17088         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17089         with uint64_t.
17091 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17093         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17094         declaration.
17095         (struct La_x32_retval): Likewise.
17097 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17099         * sysdeps/x86_64/preconfigure.in: New file.
17100         * sysdeps/x86_64/preconfigure: New generated file.
17102 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17104         [BZ #13824]
17105         * math/e_exp2l.c: Include <float.h>.
17106         (__ieee754_exp2l): Handle overflow and underflow cases
17107         separately.  Only pass fractional part of argument to
17108         __ieee754_expl.
17109         * math/libm-test.inc (exp2_test): Add more tests.
17111         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17112         negating x to take absolute value.
17113         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17114         Likewise.
17115         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17116         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17117         Likewise.
17118         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17119         computing low part if x was negated.
17120         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17122 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17124         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17125         la_x32_gnu_pltexit.
17126         (pltexit): Cast int_retval to ptrdiff_t.
17127         * elf/tst-auditmod3b.c: Likewise.
17128         * elf/tst-auditmod4b.c: Likewise.
17129         * elf/tst-auditmod5b.c: Likewise.
17130         * elf/tst-auditmod6b.c: Likewise.
17131         * elf/tst-auditmod6c.c: Likewise.
17132         * elf/tst-auditmod7b.c: Likewise.
17134         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17135         and x32_gnu_pltexit.
17137         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17138         __ELF_NATIVE_CLASS.
17139         (La_x32_regs): New macro.
17140         (La_x32_retval): Likewise.
17141         (la_x32_gnu_pltenter): New function prototype.
17142         (la_x32_gnu_pltexit): Likewise.
17144 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17146         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17147         exponent.
17149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17151         * configure.in (libc_cv_cc_nofma): Check for option to disable
17152         generation of FMA instructions.
17153         * configure: Regenerate.
17154         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17155         * sysdeps/ieee754/dbl-64/Makefile: New file.
17156         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17157         Remove brandred-fma4.
17158         (CFLAGS-brandred-fma4.c): Remove.
17159         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17160         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17161         define.
17162         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17163         define.
17165 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17167         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17168         LLONG_MAX != LONG_MAX.
17169         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17170         (_fitoa_word): Likewise.
17171         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17172         LLONG_MAX != LONG_MAX.
17173         * stdio-common/_itowa.h: Include <_itoa.h>.
17174         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17175         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17176         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17177         only if not defined.
17178         (_ITOA_WORD_TYPE): Likewise.
17179         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17180         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17182 2012-03-21  David S. Miller  <davem@davemloft.net>
17184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17186 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17188         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17189         of x86_64 when setting libc_cv_slibdir, libdir and
17190         libc_cv_localedir.
17191         * sysdeps/unix/sysv/linux/configure: Regenerated.
17193 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17195         * manual/lang.texi (Old Varargs): Remove section.
17196         (How Variadic): Update menu.
17197         (va_start): Do not mention varargs.h.
17199 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17200             Joseph Myers  <joseph@codesourcery.com>
17202         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17203         link test.
17204         * configure: Regenerated.
17206 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17208         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17209         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17210         conformtest.pl
17212 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17214         * NOTES: Remove.
17215         * Makefile (files-for-dist): Remove NOTES.
17216         (NOTES): Remove rule.
17217         * README: Don't refer to NOTES.
17218         * manual/creature.texi: Don't include macros.texi.
17219         * manual/intro.texi (creature.texi): Remove comment referring to
17220         NOTES.
17222         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17223         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17224         * configure: Regenerated.
17225         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17226         LIBC_TRY_CC_OPTION.
17227         (libc_cv_as_i686): Likewise.
17228         (libc_cv_cc_avx): Likewise.
17229         (libc_cv_cc_sse2avx): Likewise.
17230         (libc_cv_cc_fma4): Likewise.
17231         (libc_cv_cc_novzeroupper): Likewise.
17232         * sysdeps/i386/configure: Regenerated.
17234         [BZ #13883]
17235         * sysdeps/i386/fpu/s_cexp.S: Remove.
17236         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17237         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17238         * math/libm-test.inc (cexp_test): Add more tests.
17239         * sysdeps/i386/fpu/libm-test-ulps: Update.
17240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17242 2012-03-21  Allan McRae  <allan@archlinux.org>
17244         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17246 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17248         [BZ #13871]
17249         * math/w_exp2.c: Do not include <float.h>.
17250         (o_threshold, u_threshold): Remove.
17251         (__exp2): Calculate result before checking finiteness and calling
17252         __kernel_standard.
17253         * math/w_exp2f.c: Likewise.
17254         * math/w_exp2l.c: Likewise.
17255         * math/libm-test.inc (exp2_test): Require overflow exception for
17256         1e6 input.
17258         [BZ #3866]
17259         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17260         range of signed 64-bit integers before using fistpll.  Remove
17261         checks for whether integers fit in mantissa bits.
17262         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17263         the range of signed 32-bit integers before using fistpl.  Remove
17264         checks for whether integers fit in mantissa bits.
17265         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17266         (__ieee754_powl): Test for y outside the range of signed 64-bit
17267         integers before using fistpll.  Reduce 64-bit values to 63-bit
17268         ones as needed.
17269         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17270         divide-by-zero is raised for zero to large negative powers.
17271         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17272         (__ieee754_powl): Test for y outside the range of signed 64-bit
17273         integers before using fistpll.  Reduce 64-bit values to 63-bit
17274         ones as needed.
17275         * math/libm-test.inc (pow_test): Add more tests.
17277 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17279         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17280         <stdio-common/_itoa.h>.
17281         * debug/segfault.c: Likewise.
17282         * elf/dl-cache.c: Likewise.
17283         * elf/dl-minimal.c: Likewise.
17284         * elf/dl-misc.c: Likewise.
17285         * elf/dl-sysdep.c: Likewise.
17286         * elf/dl-version.c: Likewise.
17287         * elf/rtld.c: Likewise.
17288         * hurd/hurdsock.c: Likewise.
17289         * hurd/lookup-retry.c: Likewise.
17290         * malloc/malloc.c: Likewise.
17291         * malloc/mtrace.c: Likewise.
17292         * nscd/nscd_getgr_r.c: Likewise.
17293         * nscd/nscd_getpw_r.c: Likewise.
17294         * nscd/nscd_getserv_r.c: Likewise.
17295         * posix/getopt_init.c: Likewise.
17296         * posix/wordexp.c: Likewise.
17297         * stdio-common/_itoa.c: Likewise.
17298         * stdio-common/printf_fphex.c: Likewise.
17299         * stdio-common/vfprintf.c: Likewise.
17300         * string/_strerror.c: Likewise.
17301         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17302         * sysdeps/i386/i686/hp-timing.h: Likewise.
17303         * sysdeps/mach/_strerror.c: Likewise.
17304         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17305         * sysdeps/mach/hurd/sethostid.c: Likewise.
17306         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17307         * sysdeps/mach/xpg-strerror.c: Likewise.
17308         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17309         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17310         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17311         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17312         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17313         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17314         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17315         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17316         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17317         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17318         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17319         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17320         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17321         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17322         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17323         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17324         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17325         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17326         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17327         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17328         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17330         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17332         * stdio-common/_itoa.h: Moved to ...
17333         * sysdeps/generic/_itoa.h: Here.
17335         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17337         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17338         instead of "_itoa.h" and "_itowa.h".
17339         * stdio-common/vfprintf.: Likewise.
17341 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17343         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17344         <bits/wordsize.h>.
17345         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17346         (__signbit): Likwise.
17347         (llrintf): Likwise.
17348         (llrint): Likwise.
17350 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17352         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17353         __WORDSIZE != 64.
17355 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17357         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17358         OVERFLOW_EXCEPTION_OK.
17359         * math/libm-test.inc ("Philosophy"): Update comment about
17360         exception testing.
17361         (OVERFLOW_EXCEPTION): Define.
17362         (OVERFLOW_EXCEPTION_OK): Likewise.
17363         (INVALID_EXCEPTION_OK): Renumber.
17364         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17365         (IGNORE_ZERO_INF_SIGN): Likewise.
17366         (test_exceptions): Handle FE_OVERFLOW.
17367         (exp10_test): Expect overflow exceptions.
17368         (exp2_test): Likewise.
17369         (expm1_test): Likewise.
17370         (nextafter_test): Likewise.
17371         (pow_test): Likewise.
17372         (scalbn_test): Likewise.
17373         (scalbln_test): Likewise.
17375 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17377         * sysdeps/x86_64/bits/atomic.h
17378         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17379         64bit integer.
17380         (atomic_exchange_acq): Likewise.
17381         (__arch_exchange_and_add_body): Likewise.
17382         (__arch_add_body): Likewise.
17383         (atomic_add_negative): Likewise.
17384         (atomic_add_zero): Likewise.
17386 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17388         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17389         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17391 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17393         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17394         Check __x86_64__ instead of __WORDSIZE.
17396 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17398         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17400 2012-03-19  David S. Miller  <davem@davemloft.net>
17402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17404         * sysdeps/sparc/fpu/fenv_private.h: New file.
17405         * sysdeps/sparc/fpu/math_private.h: Use it.
17406         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17407         Remove.
17408         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17409         (libc_feholdexcept_setroundl): Remove.
17410         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17411         Remove.
17412         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17413         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17415 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17417         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17418         int64_t instead of long int.
17419         (INSERT_WORDS64): Likwise.
17421 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17423         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17424         _Unwind_GetCFA return to _Unwind_Ptr first.
17426 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17428         [BZ #13629]
17429         * math/s_clog.c: Include <float.h>.
17430         (__clog): Scale large or subnormal inputs.
17431         * math/s_clogf.c: Likewise.
17432         * math/s_clogl.c: Likewise.
17433         * math/s_clog10.c: Include <float.h>.
17434         (M_LOG10_2): Define.
17435         (__clog10): Scale large or subnormal inputs.
17436         * math/s_clog10f.c: Likewise.
17437         * math/s_clog10l.c: Likewise.
17438         * math/libm-test.inc (clog_test): Add more tests.
17439         (clog10_test): Likewise.
17440         * sysdeps/i386/fpu/libm-test-ulps: Update.
17441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17443         [BZ #11451]
17444         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17445         x and y.
17446         * math/libm-test.inc (atan2_test): Add another test.
17448         * Makerules (common-objdir-compile): Remove.
17449         * sysdeps/unix/Makefile (config-generated): Do not add
17450         $(unix-generated) to variable.
17451         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17452         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17453         Remove rule.
17454         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17455         Likewise.
17456         [generic bits/local_lim.h] (before-compile): Do not append to
17457         variable.
17458         [generic bits/local_lim.h] (common-generated): Likewise.
17459         [generic sys/param.h] (before-compile): Do not append to variable.
17460         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17461         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17462         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17463         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17464         include.
17465         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17466         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17467         [generic sys/param.h] ($(addprefix
17468         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17469         [generic sys/param.h] (common-generated): Do not append to
17470         variable.
17471         [generic sys/param.h] (sysdep_headers): Likewise.
17472         [generic bits/errno.h] (before-compile): Do not append to
17473         variable.
17474         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17475         rule.
17476         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17477         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17478         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17479         [generic bits/errno.h] (common-generated): Do not append to
17480         variable.
17481         [generic bits/ioctls.h] (before-compile): Do not append to
17482         variable.
17483         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17484         rule.
17485         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17486         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17487         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17488         rule.
17489         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17490         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17491         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17492         [generic bits/ioctls.h] (common-generated): Do not append to
17493         variable.
17494         [generic sys/syscall.h] (syscall.h): Remove variable.
17495         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17496         rule.
17497         [generic sys/syscall.h] (before-compile): Do not append to
17498         variable.
17499         [generic sys/syscall.h] (common-generated): Likewise.
17500         * sysdeps/unix/errnos-tmpl.c: Remove file.
17501         * sysdeps/unix/errnos.awk: Likewise.
17502         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17503         * sysdeps/unix/ioctls.awk: Likewise.
17504         * sysdeps/unix/mk-local_lim.c: Likewise.
17505         * sysdeps/unix/snarf-ioctls: Likewise.
17507 2012-03-19  Richard Henderson  <rth@twiddle.net>
17509         * sysdeps/i386/fpu/fenv_private.h: New file.
17510         * sysdeps/i386/fpu/math_private.h: Use it.
17511         (math_opt_barrier, math_force_eval): Remove.
17512         (libc_feholdexcept_setround_53bit): Remove.
17513         (libc_feupdateenv_53bit): Remove.
17514         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17515         (math_opt_barrier, math_force_eval): Remove.
17516         (libc_feholdexcept): Remove.
17517         (libc_feholdexcept_setround): Remove.
17518         (libc_fetestexcept, libc_fesetenv): Remove.
17519         (libc_feupdateenv_test): Remove.
17520         (libc_feupdateenv, libc_feholdsetround): Remove.
17521         (libc_feresetround): Remove.
17523         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17524         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17526         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17527         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17528         (libc_feupdateenv_testl): New.
17529         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17530         (libc_feupdateenv_testf): New.
17531         (libc_feupdateenv): Use libc_feupdateenv_test.
17532         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17533         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17535         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17536         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17537         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17538         (libc_feresetround_noex): New.
17539         (libc_feresetround_noexf): New.
17540         (libc_feresetround_noexl): New.
17541         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17542         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17543         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17544         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17545         SET_RESTORE_ROUND.
17546         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17547         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17548         (__cos): Likewise.
17549         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17550         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17551         SET_RESTORE_ROUND_NOEX.
17552         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17553         SET_RESTORE_ROUND_NOEXF.
17554         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17555         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17556         (libc_feholdsetroundf): New.
17557         (libc_feresetround, libc_feresetroundf): New.
17559         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17560         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17561         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17563         * sysdeps/generic/math_private.h: Include <fenv.h>.
17564         (default_libc_feholdexcept): New.
17565         (default_libc_feholdexcept_setround): New.
17566         (default_libc_fesetenv, default_libc_feupdateenv): New.
17567         (libc_feholdexcept): Only define if undefined.
17568         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17569         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17570         (libc_feholdexcept_setroundl): Likewise.
17571         (libc_feholdexcept_setround_53bit): Likewise.
17572         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17573         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17574         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17575         (libc_feupdateenv_53bit): Likewise.
17576         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17577         (libc_feholdexcept): Convert from macro to inline function.
17578         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17579         (libc_fesetenv, libc_feupdateenv): Likewise.
17581         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17582         not previously defined.
17583         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17584         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17585         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17586         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17587         * sysdeps/ieee754/flt-32/math_private.h: New file.
17588         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17589         math_private.h below SET_FLOAT_WORD.
17590         (__isnan, __isinf_ns, __finite): Remove.
17591         (__isnanf, __isinf_nsf, __finitef): Remove.
17593 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17597 2012-03-17  David S. Miller  <davem@davemloft.net>
17599         [BZ #6471]
17600         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17601         for 2.16.
17603 2012-03-16  David S. Miller  <davem@davemloft.net>
17605         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17606         warnings.
17608         [BZ #6471]
17609         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17610         properly.
17611         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17612         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17613         sysdep_routines when subdir is sysvipc.
17614         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17615         __getshmlba helper.
17617         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17619 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17621         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17622         [__LP64__].
17624 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17626         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17627         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17628         (__lround): Renamed to ...
17629         (__llround): This.  Replace long int with long long int.
17630         Define lround functions as aliases of llround functions.
17631         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17633 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17635         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17636         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17637         adresses to uintptr_t.  Replace "long int" and "unsigned long
17638         int" with "greg_t" on va_arg.
17640 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17642         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17643         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17645         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17646         Move e_machine check before EI_CLASS check.  Handle x32
17647         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17648         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17649         SKIP_EM_IA_64 and include
17650         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17652         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17653         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17654         (add_system_dir): New macro.
17656         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17657         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17659 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17661         [BZ #2551]
17662         [BZ #2552]
17663         [BZ #2553]
17664         [BZ #2554]
17665         [BZ #2562]
17666         [BZ #2563]
17667         [BZ #2565]
17668         [BZ #2566]
17669         [BZ #2576]
17670         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17671         (y0): Likewise.
17672         * math/w_j0f.c (j0f): Likewise.
17673         (y0f): Likewise.
17674         * math/w_j0l.c (__j0l): Likewise.
17675         (__y0l): Likewise.
17676         * math/w_j1.c (j1): Likewise.
17677         (y1): Likewise.
17678         * math/w_j1f.c (j1f): Likewise.
17679         (y1f): Likewise.
17680         * math/w_j1l.c (__j1l): Likewise.
17681         (__y1l): Likewise.
17682         * math/w_jn.c (jn): Likewise.
17683         (yn): Likewise.
17684         * math/w_jnf.c (jnf): Likewise.
17685         (ynf): Likewise.
17686         * math/w_jnl.c (__jnl): Likewise.
17687         (__ynl): Likewise.
17688         * math/libm-test.inc (j0_test): Add more tests.
17689         (j1_test): Likewise.
17690         (jn_test): Likewise.  Add trailing semicolon to existing test.
17691         (y0_test): Likewise.
17692         (y1_test): Likewise.
17693         * sysdeps/i386/fpu/libm-test-ulps: Update.
17694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17696         [BZ #13851]
17697         [BZ #13854]
17698         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17699         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17700         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17701         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17702         (__tanl): Set errno for infinite argument.
17703         * sysdeps/i386/fpu/mptan.c: Remove.
17704         * sysdeps/i386/fpu/s_tan.S: Likewise.
17705         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17706         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17707         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17708         * math/libm-test.inc (tan_test): Add more tests and enable more
17709         tests for double and long double.
17710         * sysdeps/i386/fpu/libm-test-ulps: Update.
17711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17713 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17715         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17716         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17718 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17720         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17721         * configure.in: Use it for both main tree and add-ons.
17722         * configure: Regenerated.
17724 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17726         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17728 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17730         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17731         in comment.
17733         [BZ #13851]
17734         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17735         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17736         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17737         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17738         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17739         infinite argument.
17740         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17741         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17742         != 0 for prec == 2.
17743         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17744         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17745         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17746         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17747         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17748         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17749         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17750         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17751         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17752         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17753         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17754         * math/libm-test.inc (cos_test): Add more tests and enable more
17755         tests for long double.
17756         (sin_test): Likewise.
17757         (sincos_test): Likewise.
17758         * sysdeps/i386/fpu/libm-test-ulps: Update.
17759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17761 2012-03-16  David S. Miller  <davem@davemloft.net>
17763         * sysdeps/sparc/fpu/math_private.h: New file.
17765 2012-03-15  David S. Miller  <davem@davemloft.net>
17767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17768         file.
17769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17771         file.
17772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17777         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17778         sysdep routines.
17779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17781         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17782         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17784         * sysdeps/sparc/sparc-ifunc.h: New file.
17785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17786         sparc-ifunc.h
17787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17789         Likewise.
17790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17791         Likewise.
17792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17796         Likewise.
17797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17802         Likewise.
17803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17804         Likewise.
17805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17811         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17812         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17813         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17814         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17816         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17817         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17819         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17820         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17821         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17822         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17823         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17824         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17825         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17826         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17827         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17828         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17830 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17832         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17833         scaling.
17834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17836 2012-03-15  Andreas Jaeger  <aj@suse.de>
17838         [BZ #13852]
17839         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17840         ieee754/flt-32 implementation for sin, cos and sincos.
17841         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17842         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17843         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17844         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17845         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17846         ieee754/flt-32 implementation for tan.
17848         * math/libm-test.inc (cos_test): Enable some large input tests for
17849         float as well
17850         (sin_test): Likewise.
17851         (sincos_test): Likewise.
17852         (tan_test): Add tests for large input.
17854         * sysdeps/i386/fpu/libm-test-ulps: Update.
17856 2012-03-15  Andreas Jaeger  <aj@suse.de>
17858         [BZ #13658]
17859         * math/libm-test.inc (cos_test): Add more test cases.
17860         (sin_test): Likewise.
17861         (sincos_test): Likewise.
17863 2012-03-15  Andreas Jaeger  <aj@suse.de>
17865         [BZ #13837]
17866         * math/libm-test.inc (cos_test): Add a test case for large input
17867         value.
17868         (sin_test): Likewise.
17869         (sincos_test): Likewise.
17871 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17872         Joseph Myers  <joseph@codesourcery.com>
17874         [BZ #13658]
17875         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17876         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17877         * sysdeps/i386/fpu/branred.c: Likewise.
17878         * sysdeps/i386/fpu/dosincos.c: Likewise.
17879         * sysdeps/i386/fpu/mpa.c: Likewise.
17880         * sysdeps/i386/fpu/s_cos.S: Likewise.
17881         * sysdeps/i386/fpu/s_sin.S: Likewise.
17882         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17883         * sysdeps/i386/fpu/sincos32.c: Likewise.
17885         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17886         Define.
17887         (libc_feupdateenv_53bit): Define.
17888         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17889         Define.
17890         (libc_feupdateenv_53bit): Define.
17892         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17893         53 bit (without extend i386 double precision).
17895         * math/libm-test.inc (sincos_test): Add tests for large input.
17896         (sin): Likewise.
17897         (cos): Likewise.
17899         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17901 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17905 2012-03-15  David S. Miller  <davem@davemloft.net>
17907         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17908         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17909         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17910         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17915         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17916         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17917         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17918         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17919         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17923         file.
17924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17926         file.
17927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17929         file.
17930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17932         file.
17933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17934         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17935         fmin/fmax sysdep routines.
17936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17938 2012-03-14  David S. Miller  <davem@davemloft.net>
17940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17941         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17942         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17944         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17945         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17946         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17947         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17948         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17949         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17950         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17951         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17952         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17953         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17954         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17955         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17956         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17957         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17959         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17960         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17961         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17962         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17963         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17964         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17965         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17966         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17967         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17968         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17969         routines.
17970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17971         file.
17972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17974         file.
17975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17977         file.
17978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17980         file.
17981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17983         file.
17984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17986         file.
17987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17988         file.
17989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17990         file.
17991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17992         file.
17993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17994         New file.
17995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17996         file.
17997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17998         file.
17999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
18000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18001         file.
18002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
18003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18004         file.
18005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
18006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18007         file.
18008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
18009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18010         VIS3 routines.
18012         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18013         New file.
18015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18017         * sysdeps/sparc/configure.in: New file.
18018         * sysdeps/sparc/configure: Generate.
18019         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18020         * configure: Regenerate.
18021         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18022         * config.make.in (have-as-vis3): New.
18023         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18024         available use -Av9d instead of -Av9a.
18025         * sysdeps/sparc/sparc64/Makefile: Likewise.
18026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18028         New file.
18029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18030         file.
18031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18032         New file.
18033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18034         file.
18035         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18036         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18037         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18038         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18039         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18041         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18042         fzeros/fnegs to load 0x80000000 into a float register instead of
18043         using the stack.
18044         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18046 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18048         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18049         bits/syscall.h.
18050         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18051         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18052         ($(inst_includedir)/bits/syscall.h): Remove rule.
18053         ($(objpfx)bits/syscall.d): Include instead of
18054         $(objpfx)syscall-list.d.
18055         (generated): Change syscall-list.h and syscall-list.d to
18056         bits/syscall.h and bits/syscall.d.
18058 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18060         [BZ #13846]
18061         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18063 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18065         [BZ #13841]
18066         * math/s_csqrt.c: Include <float.h>.
18067         (__csqrt): Scale large or subnormal inputs.
18068         * math/s_csqrtf.c: Likewise.
18069         * math/s_csqrtl.c: Likewise.
18070         * math/libm-test.inc (csqrt_test): Add more tests.
18071         * sysdeps/i386/fpu/libm-test-ulps: Update.
18072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18074         [BZ #13840]
18075         * math/libm-test.inc (hypot_test): Add more tests.
18077 2012-03-13  David S. Miller  <davem@davemloft.net>
18079         [BZ #13840]
18080         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18081         double-precision for the calculation instead of scaling.
18083 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18085         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18086         manipulate bits before adding and subtracting TWO52[sx].
18087         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18088         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18089         Likewise.
18090         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18092 2012-03-13  David S. Miller  <davem@davemloft.net>
18094         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18095         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18096         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18097         rtld-global-offsets.h
18098         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18100         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18101         large parameters.
18103         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18105         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18106         'err' in the ifdef scope in which it is actually used.
18108         * nss/nss_db/db-init.c: Include string.h
18110 2012-03-12  David S. Miller  <davem@davemloft.net>
18112         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18113         masking out of the most significant byte of random value used.
18114         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18115         Fix coding style in previous change.
18117         * sysdeps/unix/sysv/linux/kernel-features.h
18118         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18119         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18120         expression.
18121         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18122         later.
18124 2012-03-11  David S. Miller  <davem@davemloft.net>
18126         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18127         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18128         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18129         for 'resultvar' otherwise things get truncated on 64-bit.
18131         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18132         Fix masking out of the most significant byte of random value used.
18134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18136 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18138         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18140 2012-03-09  David S. Miller  <davem@davemloft.net>
18142         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18143         variables with appropriate CPP guards.
18144         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18145         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18146         on resulting framesize and the management of the outregs buffer for pltexit.
18147         Preserve floating point return values across _dl_call_pltexit call.
18148         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18149         framesize and the management of the outregs buffer for pltexit.
18150         Preserve floating point return values across _dl_call_pltexit
18151         call.
18152         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18153         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18154         (print_exit): Fix format string for return register value.
18156 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18158         * sunrpc/Makefile (others): Add rpcgen.
18159         ($(objpfx)rpcgen): Remove special build rule and dependency on
18160         libc.
18161         * sunrpc/rpcgen.c: New file.
18163 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18165         [BZ #13673]
18166         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18167         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18168         * sysdeps/i386/crti.S: Likewise.
18169         * sysdeps/i386/crtn.S: Likewise.
18170         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18171         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18172         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18173         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18174         * sysdeps/sh/crti.S: Likewise.
18175         * sysdeps/sh/crtn.S: Likewise.
18176         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18178         [BZ #13673]
18179         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18180         with URL.
18181         * locale/programs/locfile-kw.gperf: Likewise.
18182         * locale/programs/charmap-kw.h: Regenerated.
18183         * locale/programs/locfile-kw.h: Likewise.
18185         [BZ #13673]
18186         * intl/plural.y: Replace FSF snail mail address with URL.
18187         * intl/plural.c: Regenerated.
18189 2012-03-09  Richard Henderson  <rth@twiddle.net>
18191         * include/math_private.h: Remove file.
18192         * math/math_private.h: Move file ...
18193         * sysdeps/generic/math_private.h: ... here.
18195         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18196         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18197         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18199         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18200         and <math_private.h>.
18201         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18202         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18203         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18204         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18205         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18206         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18207         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18208         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18209         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18210         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18212         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18213         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18214         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18215         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18216         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18217         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18218         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18219         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18220         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18221         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18222         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18223         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18224         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18225         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18226         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18227         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18228         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18229         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18230         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18231         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18232         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18233         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18234         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18235         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18236         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18237         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18238         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18239         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18240         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18241         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18242         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18243         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18244         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18245         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18246         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18247         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18248         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18249         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18250         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18251         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18252         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18253         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18254         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18255         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18256         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18257         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18258         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18259         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18260         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18261         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18262         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18263         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18264         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18265         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18266         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18267         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18268         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18269         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18270         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18271         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18272         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18273         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18274         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18275         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18276         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18277         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18278         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18279         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18280         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18281         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18282         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18283         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18284         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18285         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18286         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18287         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18288         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18289         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18290         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18291         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18292         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18293         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18294         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18295         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18296         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18297         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18298         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18299         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18300         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18301         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18302         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18303         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18304         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18305         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18306         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18307         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18308         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18309         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18310         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18311         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18312         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18313         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18314         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18315         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18316         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18317         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18318         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18319         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18320         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18321         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18322         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18323         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18324         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18325         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18326         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18327         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18328         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18329         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18330         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18331         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18332         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18333         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18334         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18335         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18336         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18337         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18338         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18339         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18340         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18341         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18342         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18343         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18344         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18345         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18346         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18347         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18348         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18349         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18350         * sysdeps/ieee754/k_standard.c: Likewise.
18351         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18352         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18353         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18354         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18355         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18356         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18357         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18358         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18359         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18360         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18361         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18362         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18363         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18364         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18365         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18366         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18367         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18368         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18369         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18370         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18371         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18372         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18373         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18374         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18375         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18376         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18377         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18378         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18379         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18380         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18381         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18382         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18383         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18384         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18385         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18386         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18387         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18388         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18389         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18390         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18391         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18392         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18393         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18394         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18395         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18396         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18397         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18398         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18399         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18400         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18401         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18402         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18403         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18404         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18405         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18406         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18407         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18408         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18409         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18410         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18411         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18412         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18413         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18414         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18415         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18416         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18417         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18418         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18419         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18420         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18421         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18422         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18423         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18424         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18425         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18426         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18427         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18428         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18429         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18430         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18431         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18432         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18433         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18434         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18435         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18436         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18437         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18438         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18439         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18440         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18441         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18442         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18443         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18444         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18445         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18446         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18447         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18448         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18449         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18450         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18451         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18452         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18453         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18454         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18455         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18456         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18457         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18458         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18459         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18460         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18461         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18462         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18463         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18464         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18465         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18466         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18467         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18468         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18469         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18470         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18471         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18472         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18473         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18474         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18475         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18476         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18477         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18478         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18479         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18480         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18481         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18482         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18483         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18484         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18485         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18486         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18487         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18488         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18489         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18490         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18491         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18492         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18493         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18494         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18495         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18496         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18497         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18498         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18499         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18500         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18501         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18502         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18503         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18504         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18505         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18506         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18507         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18508         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18509         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18510         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18511         * sysdeps/ieee754/s_lib_version.c: Likewise.
18512         * sysdeps/ieee754/s_matherr.c: Likewise.
18513         * sysdeps/ieee754/s_signgam.c: Likewise.
18514         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18515         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18516         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18517         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18518         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18519         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18520         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18521         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18522         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18523         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18524         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18525         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18526         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18527         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18528         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18529         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18530         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18531         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18532         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18533         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18534         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18536 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18538         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18539         * sunrpc/rpc_main.c: Likewise.
18540         * sunrpc/rpc_svcout.c: Likewise.
18542 2012-03-09  David S. Miller  <davem@davemloft.net>
18544         * include/math_private.h: New file.
18546 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18548         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18549         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18550         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18551         from <bits/socket_type.h>.
18552         (enum __socket_type): Don't define here.
18553         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18555         bits/socket_type.h.
18557         [BZ #13566]
18558         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18559         checking __USE_GNU.
18561         * Makerules ($(inst_includedir)/%.h): New rule.
18562         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18563         (install-others): Remove variable setting.
18564         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18566 2012-03-08  Richard Henderson  <rth@twiddle.net>
18568         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18569         from macro to inline function; merge with the
18570         !__LIBC_INTERNAL_MATH_INLINES version.
18571         (__ieee754_sqrtf): Likewise.
18573         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18574         to inline function.
18575         (__rintf, __floor, __floorf): Likewise.
18577         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18578         macro to inline function.
18579         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18581         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18582         not <math/math_private.h>.
18584 2012-03-08  David S. Miller  <davem@davemloft.net>
18586         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18587         copyright year.
18588         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18590 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18592         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18593         normalization.
18594         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18595         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18597 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18599         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18600         be defined individually, they must be defined as a block.  Define
18601         S for printing a string instead of hidint the different by using a
18602         macro for adding the 'l'.
18603         * stdio-common/tst-fphex-wide.c: Adjust.
18605 2012-03-07  Marek Polacek  <polacek@redhat.com>
18607         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18609 2012-03-08  Marek Polacek  <polacek@redhat.com>
18611         [BZ #13806]
18612         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18613         * stdio-common/tst-fphex.c: Define a few macros to make the
18614         test reusable.  Use them.
18615         * stdio-common/tst-fphex-wide.c: New file.
18617 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18619         [BZ #6911]
18620         * manual/macros.texi (gnusystems): New macro.
18621         (nongnusystems): Likewise.
18622         (gnulinuxhurdsystems): Likewise.
18623         (gnuhurdsystems): Likewise..
18624         (gnulinuxsystems): Likewise.
18625         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18626         variants of the GNU system, not "GNU system".
18627         * manual/conf.texi: Likewise.
18628         * manual/errno.texi: Likewise.  Update example of errno macro
18629         expansion.
18630         * manual/filesys.texi: Likewise.
18631         (getumask): Document as specific to GNU/Hurd.
18632         * manual/install.texi: Likewise.  Reword some references to
18633         GNU/Linux.
18634         * manual/intro.texi: Likewise.
18635         * manual/io.texi: Likewise.
18636         (File Name Portability): Detail which constraints are inapplicable
18637         to all GNU systems and which are only inapplicable to GNU/Hurd.
18638         * manual/job.texi: Likewise.
18639         * manual/llio.texi: Likewise.
18640         (O_NOCTTY): Document as present on GNU/Linux.
18641         * manual/maint.texi: Likewise.
18642         * manual/memory.texi: Likewise.
18643         * manual/pattern.texi: Likewise.
18644         * manual/pipe.texi: Likewise.
18645         * manual/process.texi: Likewise.
18646         * manual/resource.texi: Likewise.
18647         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18648         child on GNU/Hurd.
18649         * manual/setjmp.texi: Likewise.
18650         * manual/signal.texi: Likewise.
18651         * manual/startup.texi: Likewise.
18652         * manual/stdio.texi: Likewise.
18653         * manual/terminal.texi: Likewise.
18654         (ONLCR): Document as POSIX.
18655         (OXTABS): Document availability on GNU/Linux as XTABS.
18656         (ONOEOT): Document availability separately from other bits.
18657         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18658         * manual/time.texi: Likewise.
18659         * manual/users.texi: Likewise.
18660         * INSTALL: Regenerated.
18661         * sysdeps/gnu/errlist.c: Regenerated.
18663         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18664         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18665         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18666         puts.
18667         * configure: Regenerated.
18669 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18671         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18672         default includes instead of AC_HEADER_CHECK.
18673         * sysdeps/i386/configure: Regenerated.
18675         [BZ #10716]
18676         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18677         * math/s_cacoshf.c (__cacoshf): Likewise.
18678         * math/s_cacoshl.c (__cacoshl): Likewise.
18679         * math/s_casinh.c (__casinh): Set signs of result from argument.
18680         * math/s_casinhf.c (__casinhf): Likewise.
18681         * math/s_casinhl.c (__casinhl): Likewise.
18682         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18683         (casinh_test): Add more tests.
18684         * sysdeps/i386/fpu/libm-test-ulps: Update.
18685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18687 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18689         * po/zh_TW.po: Update from translation team.
18691         * login/Makefile (distribute): Remove variable.
18692         * catgets/Makefile: Likewise.
18693         * mach/Makefile: Likewise.
18694         * malloc/Makefile: Likewise.
18695         * misc/Makefile: Likewise.
18696         * iconv/Makefile: Likewise.
18697         * nscd/Makefile: Likewise.
18698         * hurd/Makefile: Likewise.
18699         * manual/Makefile: Likewise.
18700         * locale/Makefile: Likewise.
18701         * intl/Makefile: Likewise.
18702         * conform/Makefile: Likewise.
18703         * nss/Makefile: Likewise.
18704         * time/Makefile: Likewise.
18705         * soft-fp/Makefile: Likewise.
18706         * dirent/Makefile: Likewise.
18707         * gmon/Makefile: Likewise.
18708         * po/Makefile: Likewise.
18709         * rt/Makefile: Likewise.
18710         * socket/Makefile: Likewise.
18711         * math/Makefile: Likewise.
18712         * signal/Makefile: Likewise.
18713         * debug/Makefile: Likewise.
18714         * elf/Makefile: Likewise.
18715         * timezone/Makefile: Likewise.
18716         * stdlib/Makefile: Likewise.
18717         * iconvdata/Makefile: Likewise.
18718         * sunrpc/Makefile: Likewise.
18719         * io/Makefile: Likewise.
18720         * argp/Makefile: Likewise.
18721         * inet/Makefile: Likewise.
18722         * hesiod/Makefile: Likewise.
18723         * grp/Makefile: Likewise.
18724         * csu/Makefile: Likewise.
18725         * wctype/Makefile: Likewise.
18726         * crypt/Makefile: Likewise.
18727         * libio/Makefile: Likewise.
18728         * string/Makefile: Likewise.
18729         * nis/Makefile: Likewise.
18730         * resolv/Makefile: Likewise.
18731         * stdio-common/Makefile: Likewise.
18732         * wcsmbs/Makefile: Likewise.
18733         * dlfcn/Makefile: Likewise.
18734         * posix/Makefile: Likewise.
18736         [BZ #6959]
18737         * timezone/Makefile: Don't install timezone files, just the programs
18738         and scripts.
18740 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18742         * nss/databases.def: Add missing gshadow entry.
18744         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18746 2012-03-06  Marek Polacek  <polacek@redhat.com>
18748         [BZ #13726]
18749         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18750         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18751         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18752         * stdio-common/tst-long-dbl-fphex.c: New file.
18754 2012-03-06  David S. Miller  <davem@davemloft.net>
18756         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18757         (set_obp_int): New function.
18758         (get_obp_int): New function.
18759         (__get_clockfreq_via_dev_openprom): Likewise.
18760         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18761         Avoid unused variable warnings on 'val' and use builtin_expect.
18762         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18763         __builtin_expect.
18764         (INLINE_CLONE_SYSCALL): Likewise.
18766 2012-03-05  David S. Miller  <davem@davemloft.net>
18768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18770 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18774         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18775         only for |x| >= 40.
18776         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18778 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18780         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18781         Replace gettimeofday with __vdso_gettimeofday.
18783         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18784         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18785         __vdso_clock_gettime and __vdso_getcpu.
18787         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18788         time with __vdso_time.
18790 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18792         * manual/lang.texi (size_t): Note types to which size_t may be
18793         equivalent with the GNU C Library, but do not describe when
18794         differences between them are significant.
18796 2012-03-05  Andreas Jaeger  <aj@suse.de>
18798         * sysdeps/i386/fpu/libm-test-ulps: Update.
18800 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18802         [BZ #3976]
18803         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18804         (__ieee754_pow): Save and restore rounding mode and use
18805         round-to-nearest for main computations.
18806         * math/libm-test.inc (pow_test_tonearest): New function.
18807         (pow_test_towardzero): Likewise.
18808         (pow_test_downward): Likewise.
18809         (pow_test_upward): Likewise.
18810         (main): Call the new functions.
18811         * sysdeps/i386/fpu/libm-test-ulps: Update.
18812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18814         [BZ #3976]
18815         * math/libm-test.inc (cosh_test_tonearest): New function.
18816         (cosh_test_towardzero): Likewise.
18817         (cosh_test_downward): Likewise.
18818         (cosh_test_upward): Likewise.
18819         (sinh_test_tonearest): Likewise.
18820         (sinh_test_towardzero): Likewise.
18821         (sinh_test_downward): Likewise.
18822         (sinh_test_upward): Likewise.
18823         (main): Call the new functions.
18824         * sysdeps/i386/fpu/libm-test-ulps: Update.
18825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18827 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18829         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18830         default stack guard is set in last bytes.
18831         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18833 2012-03-05  Kees Cook  <keescook@chromium.org>
18835         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18837         [BZ #13656]
18838         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18839         possibly allocate from heap instead of stack.
18840         * stdio-common/bug-vfprintf-nargs.c: New file.
18841         * stdio-common/Makefile (tests): Add nargs overflow test.
18843 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18847 2012-03-03  Marek Polacek  <polacek@redhat.com>
18849         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18850         * math/math_private.h: Likewise.
18851         * stdlib/tst-strtod.c: Likewise.
18852         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18853         * sysdeps/x86_64/bits/atomic.h: Likewise.
18855 2012-03-02  David S. Miller  <davem@davemloft.net>
18857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18861         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18862         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18863         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18864         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18866 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18868         [BZ #13792]
18869         * manual/examples/README: New file, says the example source files
18870         can be used under GPL>=2.
18871         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18872         line containing just "*/".
18873         * manual/examples/add.c: Add copyright header (GPL>=2).
18874         * manual/examples/argp-ex1.c: Likewise.
18875         * manual/examples/argp-ex2.c: Likewise.
18876         * manual/examples/argp-ex3.c: Likewise.
18877         * manual/examples/argp-ex4.c: Likewise.
18878         * manual/examples/atexit.c: Likewise.
18879         * manual/examples/db.c: Likewise.
18880         * manual/examples/dir.c: Likewise.
18881         * manual/examples/dir2.c: Likewise.
18882         * manual/examples/execinfo.c: Likewise.
18883         * manual/examples/filecli.c: Likewise.
18884         * manual/examples/filesrv.c: Likewise.
18885         * manual/examples/fmtmsgexpl.c: Likewise.
18886         * manual/examples/genpass.c: Likewise.
18887         * manual/examples/inetcli.c: Likewise.
18888         * manual/examples/inetsrv.c: Likewise.
18889         * manual/examples/isockad.c: Likewise.
18890         * manual/examples/longopt.c: Likewise.
18891         * manual/examples/memopen.c: Likewise.
18892         * manual/examples/memstrm.c: Likewise.
18893         * manual/examples/mkfsock.c: Likewise.
18894         * manual/examples/mkisock.c: Likewise.
18895         * manual/examples/mygetpass.c: Likewise.
18896         * manual/examples/pipe.c: Likewise.
18897         * manual/examples/popen.c: Likewise.
18898         * manual/examples/rprintf.c: Likewise.
18899         * manual/examples/search.c: Likewise.
18900         * manual/examples/select.c: Likewise.
18901         * manual/examples/setjmp.c: Likewise.
18902         * manual/examples/sigh1.c: Likewise.
18903         * manual/examples/sigusr.c: Likewise.
18904         * manual/examples/stpcpy.c: Likewise.
18905         * manual/examples/strdupa.c: Likewise.
18906         * manual/examples/strftim.c: Likewise.
18907         * manual/examples/strncat.c: Likewise.
18908         * manual/examples/subopt.c: Likewise.
18909         * manual/examples/swapcontext.c: Likewise.
18910         * manual/examples/termios.c: Likewise.
18911         * manual/examples/testopt.c: Likewise.
18912         * manual/examples/testpass.c: Likewise.
18913         * manual/examples/timeval_subtract.c: Likewise.
18915         [BZ #13792]
18916         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18917         function to ...
18918         * manual/timeval_subtract.c.texi: ... here, new file.
18920 2012-03-02  David S. Miller  <davem@davemloft.net>
18922         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18924 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18926         [BZ #3976]
18927         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18928         (__sin): Save and restore rounding mode and use round-to-nearest
18929         for all computations.
18930         (__cos): Save and restore rounding mode and use round-to-nearest
18931         for all computations.
18932         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18933         <fenv.h>.
18934         (tan): Save and restore rounding mode and use round-to-nearest for
18935         all computations.
18936         * math/libm-test.inc (cos_test_tonearest): New function.
18937         (cos_test_towardzero): Likewise.
18938         (cos_test_downward): Likewise.
18939         (cos_test_upward): Likewise.
18940         (sin_test_tonearest): Likewise.
18941         (sin_test_towardzero): Likewise.
18942         (sin_test_downward): Likewise.
18943         (sin_test_upward): Likewise.
18944         (tan_test_tonearest): Likewise.
18945         (tan_test_towardzero): Likewise.
18946         (tan_test_downward): Likewise.
18947         (tan_test_upward): Likewise.
18948         (main): Call the new functions.
18949         * sysdeps/i386/fpu/libm-test-ulps: Update.
18950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18952         [BZ #10135]
18953         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18954         small n, then large n, before computing and testing k+n.
18955         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18956         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18957         Likewise.
18958         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18959         Likewise.
18960         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18961         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18962         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18963         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18964         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18965         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18966         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18967         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18968         * math/libm-test.inc (scalbn_test): Add more tests.
18969         (scalbln_test): Likewise.
18971         * manual/filesys.texi (mode_t): Describe constraints on size and
18972         signedness, not exact equivalence to a particular type.
18973         (ino_t): Likewise.
18974         (ino64_t): Likewise.
18975         (dev_t): Likewise.
18976         (nlink_t): Likewise.
18977         (blkcnt_t): Likewise.
18978         (blkcnt64_t): Likewise.
18979         * manual/llio.texi (off_t): Likewise.
18981         [BZ #3976]
18982         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18983         (__ieee754_exp): Save and restore rounding mode and use
18984         round-to-nearest for all computations.
18985         * math/libm-test.inc (exp_test_tonearest): New function.
18986         (exp_test_towardzero): Likewise.
18987         (exp_test_downward): Likewise.
18988         (exp_test_upward): Likewise.
18989         (main): Call the new functions.
18990         * sysdeps/i386/fpu/libm-test-ulps: Update.
18991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18993 2012-03-01  Chris Demetriou  <cgd@google.com>
18995         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18996         have predictable order.
18998 2012-03-01  David S. Miller  <davem@davemloft.net>
19000         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19002         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19003         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19004         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19005         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19007         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19008         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19009         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19011         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19012         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19013         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19014         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19015         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19019         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19020         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19021         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19023         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19024         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19025         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19026         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19027         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19028         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19029         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19030         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19031         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19032         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19033         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19034         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19036         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19037         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19038         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19039         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19040         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19041         * sysdeps/sparc/elf/configure: Regenerated.
19043 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19045         * configure.in (AS, LD): Require binutils 2.20 or later.
19046         * configure: Regenerated.
19047         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19048         as required minimum version.
19049         * INSTALL: Regenerated.
19051         [BZ #2541]
19052         [BZ #4108]
19053         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19054         before squaring exponent.
19055         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19056         bottom long double and 27 bits of top long double before squaring
19057         exponent.
19058         * math/libm-test.inc (erfc_test): Add more tests.
19059         * sysdeps/i386/fpu/libm-test-ulps: Update.
19060         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19063 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19065         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19066         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19067         containing bit-fields.
19068         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19069         * soft-fp/single.h (_FP_UNION_S): Likewise.
19070         * soft-fp/double.h (_FP_UNION_D): Likewise.
19072 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19074         [BZ #13786]
19075         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19076         not include ../strcmp.S.
19077         [USE_AS_STRNCASECMP_L]: Likewise.
19078         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19079         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19080         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19081         (__strncasecmp_l_ia32): Define as alias to
19082         __strncasecmp_l_nonascii.
19084         [BZ #5794]
19085         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19086         * sysdeps/i386/fpu/libm-test-ulps: Update.
19087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19089         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19092 2012-02-29  Jeff Law  <law@redhat.com>
19094         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19095         out of bounds read.
19097 2012-02-29  Marek Polacek  <polacek@redhat.com>
19099         [BZ #13706]
19100         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19101         * elf/Makefile: Add rules to run tst-unused-dep.out.
19103 2012-02-28  David S. Miller  <davem@davemloft.net>
19105         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19106         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19107         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19108         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19109         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19110         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19112 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19114         * math/libm-test.inc (llround_test): Move one test from
19115         lround_test.  Use TEST_f_L in moved test.
19116         (lround_test): Move misplaced test to llround_test.  Add testcase
19117         from bug 2561.
19119 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19121         * sysdeps/x86_64/fpu/e_expf.S: New file.
19122         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19124 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19126         [BZ #13637]
19127         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19128         of remain_len that may cause incomplete multi-byte character and
19129         false match.
19130         * posix/bug-regex33.c: New file.
19131         * posix/Makefile (tests): Add bug-regex33.
19133 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19135         * manual/macros.texi: New file.
19136         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19137         * manual/libc.texinfo: Include macros.texi.
19138         * manual/creatute.texi: Likewise.
19139         * manual/install.texi: Likewise.
19140         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19141         @glibcadj{} in references to the GNU C Library.
19142         * manual/charset.texi: Likewise.
19143         * manual/conf.texi: Likewise.
19144         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19145         when not using those macros.
19146         * manual/creature.texi: Likewise.
19147         * manual/crypt.texi: Likewise.
19148         * manual/errno.texi: Likewise.
19149         * manual/filesys.texi: Likewise.
19150         * manual/header.texi: Likewise.
19151         * manual/install.texi: Likewise.
19152         * manual/intro.texi: Likewise.
19153         * manual/io.texi: Likewise.
19154         * manual/job.texi: Likewise.
19155         * manual/lang.texi: Likewise.
19156         * manual/libc.texiinfo: Likewise.
19157         * manual/llio.texi: Likewise.
19158         * manual/locale.texi: Likewise.
19159         * manual/maint.texi: Likewise.
19160         * manual/math.texi: Likewise.
19161         * manual/memory.texi: Likewise.
19162         * manual/message.texi: Likewise.
19163         * manual/nss.texi: Likewise.
19164         * manual/pattern.texi: Likewise.
19165         * manual/process.texi: Likewise.
19166         * manual/resource.texi: Likewise.
19167         * manual/search.texi: Likewise.
19168         * manual/setjmp.texi: Likewise.
19169         * manual/signal.texi: Likewise.
19170         * manual/socket.texi: Likewise.
19171         * manual/startup.texi: Likewise.
19172         * manual/stdio.texi: Likewise.
19173         * manual/string.texi: Likewise.
19174         * manual/sysinfo.texi: Likewise.
19175         * manual/syslog.texi: Likewise.
19176         * manual/terminal.texi: Likewise.
19177         * manual/time.texi: Likewise.
19178         * manual/users.texi: Likewise.
19179         * INSTALL: Regenerated.
19180         * NOTES: Regenerated.
19181         * sysdeps/gnu/errlist.c: Regenerated.
19183 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19185         * include/dirent.h: Include <dirstream.h> before
19186         <dirent/dirent.h>.
19188 2012-02-28  David S. Miller  <davem@davemloft.net>
19190         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19191         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19192         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19193         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19195 2012-02-27  David S. Miller  <davem@davemloft.net>
19197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19199         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19200         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19203         frame pointer instead of stack pointer relative arg slot.
19204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19205         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19206         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19208 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19210         [BZ #3992]
19211         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19213 2012-02-27  David S. Miller  <davem@davemloft.net>
19215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19219         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19220         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19221         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19222         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19224 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19226         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19227         later.  Allow versions 5-9.
19228         * configure: Regenerated.
19229         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19230         required minimum version and 4.6 as recommended version.  Do not
19231         mention bugs in GCC 2.7 and 2.8.
19232         * INSTALL: Regenerated.
19234 2012-02-27  David S. Miller  <davem@davemloft.net>
19236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19240         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19241         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19242         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19243         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19245         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19246         manipulate bits before adding and subtracting TWO112[sx].
19247         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19249 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19251         [BZ #13775]
19252         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19253         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19254         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19255         being in POSIX, because they are in 1003.1-2008.
19257         * rt/tst-aio.c: Include <fcntl.h>.
19258         * rt/tst-aio7.c: Likewise.
19259         * rt/tst-aio64.c: Likewise.
19261         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19263 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19265         * manual/install.texi (--with-headers): Describe headers as
19266         interface headers, not private headers.
19267         (Specific advice for GNU/Linux systems): Describe use of headers
19268         from "make headers_install", not private headers from older
19269         kernels.
19270         * INSTALL: Regenerated.
19271         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19272         Change to 2.6.19.
19273         * sysdeps/unix/sysv/linux/configure: Regenerated.
19275         * manual/llio.texi (fclean): Remove documentation.
19277         * manual/Makefile (libc-texi-generated): New variable.  Include
19278         version.texi.
19279         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19280         $(libc-texi-generated), not duplicated list of files.
19281         (version.texi, stamp-version): New rules.
19282         (realclean): Remove $(libc-texi-generated), not individual files
19283         from that list.  Do not remove dir-add.texinfo.
19284         * manual/libc.texinfo: Comment out uses of edition numbers and
19285         references to printed manual.  Remove last-updated dates.
19286         (EDITION): Comment out.
19287         (ISBN): Likewise.
19288         (VERSION, UPDATED): Remove.
19289         (version.texi): Include.
19291 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19293         * sysdeps/posix/spawni.c: Include <signal.h>.
19294         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19295         * sysdeps/pthread/aio_fsync.c: Likewise.
19297 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19299         * conform/Makefile (tests): Run only when not cross-compiling and
19300         when fast-check is not defined.
19302         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19303         * conform/data/limits.h-data: Fixes for POSIX2008.
19304         * conform/run-conformtest.sh: Run all tests.
19305         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19306         headers.
19307         * include/bits/dlfcn.h: Likewise.
19308         * include/langinfo.h: Likewise.
19309         * include/monetary.h: Likewise.
19310         * include/sys/poll.h: Likewise.
19312         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19313         for __USE_GNU.
19314         * posix/spawn.h: Define __need_sigset_t.
19315         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19316         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19317         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19318         to get sigevent_t only.
19319         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19320         only for __USE_GNU.
19321         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19322         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19323         process_vm_writev only for __USE_GNU.
19324         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19326         * conform/Makefile: For now ignore errors from run-conformtest.
19327         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19328         POSIX to avoid namespace pollution.  Don't prepend headers.
19329         * conform/data/aio.h-data: Fixes for POSIX testing.
19330         * conform/data/fcntl.h-data: Likewise.
19331         * conform/data/glob.h-data: Likewise.
19332         * conform/data/grp.h-data: Likewise.
19333         * conform/data/pthread.h-data: Likewise.
19334         * conform/data/pwd.h-data: Likewise.
19335         * conform/data/signal.h-data: Likewise.
19336         * conform/data/spawn.h-data: Likewise.
19337         * conform/data/stdio.h-data: Likewise.
19338         * conform/data/stdlib.h-data: Likewise.
19339         * conform/data/stropts.h-data: Likewise.
19340         * conform/data/sys/mman.h-data: Likewise.
19341         * conform/data/sys/stat.h-data: Likewise.
19342         * conform/data/sys/types.h-data: Likewise.
19343         * conform/data/sys/wait.h-data: Likewise.
19344         * conform/data/time.h-data: Likewise.
19345         * conform/data/unistd.h-data: Likewise.
19346         * conform/data/utime.h-data: Likewise.
19348         * io/sys/stat.h: fchmod was always in POSIX.
19349         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19350         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19351         * rt/aio.h: Define __need_timespec before including <time.h>.
19352         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19353         struct.  Add forward declaration of pthread_attr_t and use it in
19354         sigevent.
19355         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19356         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19357         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19358         always remove CLK_TCK definition.
19360 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19362         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19364 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19366         * conform/run-conformtest.sh: New file.
19367         * conform/Makefile: Run run-conformtest for tests.
19368         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19369         support.
19371         * conform/data/uchar.h-data: New file.
19372         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19373         * conform/data/arpa/inet.h-data: Likewise.
19374         * conform/data/assert.h-data: Likewise.
19375         * conform/data/complex.h-data: Likewise.
19376         * conform/data/cpio.h-data: Likewise.
19377         * conform/data/ctype.h-data: Likewise.
19378         * conform/data/dirent.h-data: Likewise.
19379         * conform/data/dlfcn.h-data: Likewise.
19380         * conform/data/errno.h-data: Likewise.
19381         * conform/data/fcntl.h-data: Likewise.
19382         * conform/data/float.h-data: Likewise.
19383         * conform/data/fmtmsg.h-data: Likewise.
19384         * conform/data/fnmatch.h-data: Likewise.
19385         * conform/data/ftw.h-data: Likewise.
19386         * conform/data/glob.h-data: Likewise.
19387         * conform/data/grp.h-data: Likewise.
19388         * conform/data/iconv.h-data: Likewise.
19389         * conform/data/inttypes.h-data: Likewise.
19390         * conform/data/langinfo.h-data: Likewise.
19391         * conform/data/libgen.h-data: Likewise.
19392         * conform/data/limits.h-data: Likewise.
19393         * conform/data/locale.h-data: Likewise.
19394         * conform/data/math.h-data: Likewise.
19395         * conform/data/monetary.h-data: Likewise.
19396         * conform/data/mqueue.h-data: Likewise.
19397         * conform/data/ndbm.h-data: Likewise.
19398         * conform/data/net/if.h-data: Likewise.
19399         * conform/data/netdb.h-data: Likewise.
19400         * conform/data/netinet/in.h-data: Likewise.
19401         * conform/data/nl_types.h-data: Likewise.
19402         * conform/data/poll.h-data: Likewise.
19403         * conform/data/pthread.h-data: Likewise.
19404         * conform/data/pwd.h-data: Likewise.
19405         * conform/data/regex.h-data: Likewise.
19406         * conform/data/sched.h-data: Likewise.
19407         * conform/data/search.h-data: Likewise.
19408         * conform/data/semaphore.h-data: Likewise.
19409         * conform/data/setjmp.h-data: Likewise.
19410         * conform/data/signal.h-data: Likewise.
19411         * conform/data/spawn.h-data: Likewise.
19412         * conform/data/stdarg.h-data: Likewise.
19413         * conform/data/stdio.h-data: Likewise.
19414         * conform/data/stdlib.h-data: Likewise.
19415         * conform/data/string.h-data: Likewise.
19416         * conform/data/strings.h-data: Likewise.
19417         * conform/data/stropts.h-data: Likewise.
19418         * conform/data/sys/ipc.h-data: Likewise.
19419         * conform/data/sys/mman.h-data: Likewise.
19420         * conform/data/sys/msg.h-data: Likewise.
19421         * conform/data/sys/resource.h-data: Likewise.
19422         * conform/data/sys/select.h-data: Likewise.
19423         * conform/data/sys/sem.h-data: Likewise.
19424         * conform/data/sys/shm.h-data: Likewise.
19425         * conform/data/sys/socket.h-data: Likewise.
19426         * conform/data/sys/stat.h-data: Likewise.
19427         * conform/data/sys/statvfs.h-data: Likewise.
19428         * conform/data/sys/time.h-data: Likewise.
19429         * conform/data/sys/timeb.h-data: Likewise.
19430         * conform/data/sys/times.h-data: Likewise.
19431         * conform/data/sys/types.h-data: Likewise.
19432         * conform/data/sys/uio.h-data: Likewise.
19433         * conform/data/sys/un.h-data: Likewise.
19434         * conform/data/sys/utsname.h-data: Likewise.
19435         * conform/data/sys/wait.h-data: Likewise.
19436         * conform/data/syslog.h-data: Likewise.
19437         * conform/data/tar.h-data: Likewise.
19438         * conform/data/termios.h-data: Likewise.
19439         * conform/data/utime.h-data: Likewise.
19440         * conform/data/utmpx.h-data: Likewise.
19441         * conform/data/varargs.h-data: Likewise.
19442         * conform/data/wchar.h-data: Likewise.
19443         * conform/data/wctype.h-data: Likewise.
19444         * conform/data/wordexp.h-data: Likewise.
19446         * include/stropts.h: New file.
19447         * include/uchar.h: New file.
19448         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19449         * include/assert.h: Likewise.
19450         * include/ctype.h: Likewise.
19451         * include/dirent.h: Likewise.
19452         * include/dlfcn.h: Likewise.
19453         * include/fcntl.h: Likewise.
19454         * include/fnmatch.h: Likewise.
19455         * include/glob.h: Likewise.
19456         * include/grp.h: Likewise.
19457         * include/libio.h: Likewise.
19458         * include/locale.h: Likewise.
19459         * include/math.h: Likewise.
19460         * include/net/if.h: Likewise.
19461         * include/netdb.h: Likewise.
19462         * include/netinet/in.h: Likewise.
19463         * include/pthread.h: Likewise.
19464         * include/pwd.h: Likewise.
19465         * include/regex.h: Likewise.
19466         * include/sched.h: Likewise.
19467         * include/search.h: Likewise.
19468         * include/setjmp.h: Likewise.
19469         * include/signal.h: Likewise.
19470         * include/stdio.h: Likewise.
19471         * include/stdlib.h: Likewise.
19472         * include/string.h: Likewise.
19473         * include/sys/cdefs.h: Likewise.
19474         * include/sys/mman.h: Likewise.
19475         * include/sys/msg.h: Likewise.
19476         * include/sys/resource.h: Likewise.
19477         * include/sys/select.h: Likewise.
19478         * include/sys/socket.h: Likewise.
19479         * include/sys/stat.h: Likewise.
19480         * include/sys/statvfs.h: Likewise.
19481         * include/sys/time.h: Likewise.
19482         * include/sys/times.h: Likewise.
19483         * include/sys/uio.h: Likewise.
19484         * include/sys/utsname.h: Likewise.
19485         * include/sys/wait.h: Likewise.
19486         * include/termios.h: Likewise.
19487         * include/time.h: Likewise.
19488         * include/ulimit.h: Likewise.
19489         * include/unistd.h: Likewise.
19490         * include/utime.h: Likewise.
19491         * include/wchar.h: Likewise.
19492         * include/wctype.h: Likewise.
19493         * include/wordexp.h: Likewise.
19495         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19497         * time/time.h: TIME_UTC must be a macro.
19498         Make timespec_get available for ISO C11 only as well.
19500 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19502         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19503         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19505 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19507         * configure.in: Use -o not -a in test for unsupported multi-arch.
19509 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19511         * manual/texinfo.tex: Update to version 2012-01-19.16.
19513 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19515         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19517 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19519         [BZ #13738]
19520         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19521         * manual/fdl-1.3.texi: New file.
19522         * manual/fdl-1.1.texi: File removed.
19524         [BZ #13738]
19525         * manual/libc.texinfo (FDL_VERSION): New @set.
19526         Use it for mention of FDL in cover text.
19527         (Documentation License): Use it in @include file name.
19529 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19530             Roland McGrath  <roland@hack.frob.com>
19532         [BZ #5461]
19533         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19534         not LONG_LONG_MAX and LONG_LONG_MIN.
19535         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19536         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19537         name.
19538         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19540 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19542         [BZ #2547]
19543         [BZ #11365]
19544         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19545         manipulate bits before adding and subtracting TWO23[sx].
19546         * math/libm-test.inc (nearbyint_test): Add more tests.
19548 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19550         [BZ #2548]
19551         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19552         bits before adding and subtracting TWO23[sx].
19553         * math/libm-test.inc (rint_test): Add more tests.
19554         (rint_test_tonearest): Likewise.
19555         (rint_test_towardzero): Likewise.
19556         (rint_test_downward): Likewise.
19557         (rint_test_upward: Likewise.
19559 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19561         [BZ #10110]
19562         * include/stdc-predef.h: New file.  Extracted from features.h.
19563         * include/features.h: Include stdc-predef.h.
19564         * Makefile (headers): Add stdc-predef.h.
19565         * CONFORMANCE (Compiler limitations): Update.
19567 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19569         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19571 2012-02-21  David S. Miller  <davem@davemloft.net>
19573         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19574         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19576 2012-02-20  David S. Miller  <davem@davemloft.net>
19578         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19579         using a normal save/restore sequence, rather than allocating a
19580         dummy stack frame just to store a frame pointer and restore.
19581         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19583 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19585         * manual/install.texi: Fix stray word in line-wrapped comment.
19587 2012-02-20  David S. Miller  <davem@davemloft.net>
19589         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19590         both binutils and gcc support GOTDATA.
19592         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19593         "rd %pc" in the PIC register setup sequences.
19595         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19596         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19597         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19598         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19599         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19600         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19601         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19602         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19603         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19604         (SYSCALL_ERROR_HANDLER): Likewise.
19605         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19606         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19608         (SYSCALL_ERROR_HANDLER): Likewise.
19610         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19611         (HAVE_GCC_GOTDATA): New.
19612         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19613         relocation support in both binutils and gcc.
19614         * sysdeps/sparc/elf/configure: Regenerate.
19616         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19617         * sysdeps/sparc/sparc32/elf/configure: Delete.
19618         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19619         * sysdeps/sparc/sparc64/elf/configure: Delete.
19620         * sysdeps/sparc/elf/configure.in: New file.
19621         * sysdeps/sparc/elf/configure: Generate.
19623         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19624         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19625         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19626         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19627         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19629 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19631         * manual/install.texi: Do not mention specific glibc version
19632         numbers.
19633         * manual/libc.texinfo (VERSION, UPDATED): Update.
19634         (@copying): Use @copyright{} and range of years.
19636 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19638         [BZ #13695]
19639         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19640         [crti.S not in sysdirs] (generated): Do not append.
19641         [crti.S not in sysdirs] (omit-deps): Likewise.
19642         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19643         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19644         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19645         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19646         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19647         Likewise.
19648         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19649         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19650         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19651         * csu/defs.awk: Remove file.
19652         * sysdeps/generic/initfini.c: Likewise.
19653         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19654         variable.
19655         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19656         Likewise.
19658 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19660         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19661         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19662         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19663         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19664         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19665         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19666         <bits/epoll.h>.
19667         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19668         (__EPOLL_PACKED): Define to empty if not defined by
19669         <bits/epoll.h>.
19670         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19671         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19672         bits/epoll.h.
19674 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19676         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19677         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19678         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19679         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19680         <bits/timerfd.h>.
19681         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19682         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19683         bits/timerfd.h.
19685 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19687         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19688         in C locale.
19689         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19690         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19691         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19694 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19696         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19697         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19699 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19701         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19702         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19703         defined.
19704         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19705         Likewise.
19706         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19707         entry for 2.16.
19709 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19711         * math/w_acos.c: Use non-signaling floating-point comparisons.
19712         * math/w_acosf.c: Likewise.
19713         * math/w_acosh.c: Likewise.
19714         * math/w_acoshf.c: Likewise.
19715         * math/w_acoshl.c: Likewise.
19716         * math/w_acosl.c: Likewise.
19717         * math/w_asin.c: Likewise.
19718         * math/w_asinf.c: Likewise.
19719         * math/w_asinl.c: Likewise.
19720         * math/w_atanh.c: Likewise.
19721         * math/w_atanhf.c: Likewise.
19722         * math/w_atanhl.c: Likewise.
19723         * math/w_exp2.c: Likewise.
19724         * math/w_exp2f.c: Likewise.
19725         * math/w_exp2l.c: Likewise.
19726         * math/w_j0.c: Likewise.
19727         * math/w_j0f.c: Likewise.
19728         * math/w_j0l.c: Likewise.
19729         * math/w_j1.c: Likewise.
19730         * math/w_j1f.c: Likewise.
19731         * math/w_j1l.c: Likewise.
19732         * math/w_jn.c: Likewise.
19733         * math/w_jnf.c: Likewise.
19734         * math/w_log.c: Likewise.
19735         * math/w_log10.c: Likewise.
19736         * math/w_log10f.c: Likewise.
19737         * math/w_log10l.c: Likewise.
19738         * math/w_log2.c: Likewise.
19739         * math/w_log2f.c: Likewise.
19740         * math/w_log2l.c: Likewise.
19741         * math/w_logf.c: Likewise.
19742         * math/w_logl.c: Likewise.
19743         * math/w_sqrt.c: Likewise.
19744         * math/w_sqrtf.c: Likewise.
19745         * math/w_sqrtl.c: Likewise.
19746         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19747         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19748         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19749         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19750         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19752 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19754         [BZ #9739]
19755         * manual/string.texi (strnlen): Use correct parameter name in
19756         equivalent expression.
19758 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19760         [BZ #11174]
19761         * manual/users.texi (seteuid): Consistently use neweuid for
19762         argument name.
19764 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19766         [BZ #13704]
19767         * manual/nss.texi (Services in the NSS configuration): Correct
19768         list of services in example configuration file.
19770 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19772         [BZ #11322]
19773         * manual/arith.texi: Remove statements about negative zero
19774         behaving identically to zero.
19776 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19778         [BZ #5993]
19779         * manual/install.texi: Do not document upgrading from libc5.
19781 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19783         [BZ #4596]
19784         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19786 2012-02-18  David S. Miller  <davem@davemloft.net>
19788         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19789         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19790         %o7 across the call.
19791         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19792         instead.
19793         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19794         SETUP_PIC_REG_LEAF.
19795         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19796         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19797         * sysdeps/sparc/crtn.S: Likewise.
19799 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19801         * aout/Makefile: Remove.
19803 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19805         [BZ #13058]
19806         * manual/examples/argp-ex1.c (main): Format definition in GNU
19807         style.
19808         * manual/examples/argp-ex2.c (main): Likewise.
19809         * manual/examples/argp-ex3.c (main): Likewise.
19810         * manual/examples/argp-ex4.c (main): Likewise.
19811         * manual/examples/longopt.c (main): Use new-style prototype
19812         definition.
19813         * manual/examples/strncat.c (main): Specify return type and use
19814         (void) for arguments.
19815         * manual/examples/subopt.c (main): Use char **argv argument.
19817 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19819         [BZ #5077]
19820         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19821         rounding modes.
19823 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19825         [BZ #6907]
19826         * manual/string.texi (strchr): Change when strchrnul is
19827         recommended.
19829 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19831         [BZ #174]
19832         * manual/locale.texi (setlocale): Document LOCPATH.
19834 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19836         [BZ #10210]
19837         * manual/process.texi (execle): Move @dots{} before last argument.
19839 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19841         [BZ #12047]
19842         * manual/charset.texi (Generic Charset Conversion): Fix typo
19843         (LC_TYPE -> LC_CTYPE).
19845 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19847         [BZ #5805]
19848         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19849         (scalbnf): Likewise.
19850         (scalbnl): Likewise.
19851         (scalbln): Likewise.
19852         (scalblnf): Likewise.
19853         (scalblnl): Likewise.
19854         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19855         (vwarnx): Likewise.
19856         (verr): Likewise.
19857         (verrx): Likewise.
19858         * manual/filesys.texi (telldir): Use braces around return type.
19859         * manual/llio.texi (mmap): Add space after comma.
19860         (mmap64): Likewise.
19861         * manual/math.texi (jn): Use @var{} on parameter names.
19862         (jnf): Likewise.
19863         (jnl): Likewise.
19864         (yn): Likewise.
19865         (ynf): Likewise.
19866         (ynl): Likewise.
19867         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19868         line.
19869         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19870         "...".
19871         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19872         (sched_get_priority_max): Likewise.
19873         * manual/signal.texi (sigvec): Add space after comma.
19874         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19875         names.
19876         (if_indextoname): Likewise.
19877         (if_freenameindex): Likewise.
19878         (sendto): Use ',' instead of '.' in prototype.
19879         * manual/startup.texi (syscall): Use @dots{} instead of literal
19880         "...".
19881         * manual/stdio.texi (__fpending): Separate initial words of
19882         paragraph from @deftypefun line.
19883         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19884         "...".
19885         (vsyslog): Use @var{} on parameter names.
19886         * manual/terminal.texi (stty): Use @var{} on parameter names.
19887         * manual/users.texi (getutmp): Use @var{} on parameter names.
19888         (getutmpx): Likewise.
19890 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19892         [BZ #6884]
19893         * manual/stdio.texi (fopen): Fix typos in description of
19894         ",ccs=STRING".
19896 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19898         [BZ #4026]
19899         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19900         get clock_id definition.
19902 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19904         [BZ #4822]
19905         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19906         (madvise): Cast every argument to void on its own.
19908 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19910         [BZ #9902]
19911         * manual/startup.texi (Exit Status): Fix typo.
19913 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19915         [BZ #10140]
19916         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19917         * manual/examples/argp-ex2.c: Likewise.
19918         * manual/examples/argp-ex3.c: Likewise.
19920 2012-02-16  Richard Henderson  <rth@redhat.com>
19922         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19923         * sysdeps/s390/s390-32/initfini.c: Remove.
19924         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19925         * sysdeps/s390/s390-64/initfini.c: Remove.
19927 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19929         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19930         compiler output for sysdeps/generic/initfini.c.
19931         * sysdeps/sh/elf/initfini.c: Remove file.
19933 2012-02-16  David S. Miller  <davem@davemloft.net>
19935         [BZ #11494]
19936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19938         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19939         * sysdeps/sparc/crti.S: New file.
19940         * sysdeps/sparc/crtn.S: New file.
19941         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19942         * sysdeps/sparc/sparc64/Makefile: Likewise.
19944 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19946         [BZ #3335]
19947         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19949 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19951         [BZ #4822]
19952         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19954         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19955         (write, read, close): Likewise.
19956         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19958 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19960         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19961         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19962         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19963         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19964         <bits/signalfd.h>.
19965         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19966         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19967         bits/signalfd.h.
19969 2012-02-14  Marek Polacek  <polacek@redhat.com>
19971         * sysdeps/x86_64/crti.S: New file.
19972         * sysdeps/x86_64/crtn.S: New file.
19973         * sysdeps/x86_64/elf/initfini.c: Remove file.
19975 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19977         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19978         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19979         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19980         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19981         <bits/inotify.h>.
19982         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19983         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19984         bits/inotify.h.
19986 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19988         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19989         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19990         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19991         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19992         <bits/eventfd.h>.
19993         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19994         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19995         bits/eventfd.h.
19997 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19999         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20000         __feraiseexcept instead of feraiseexcept.
20002         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20003         nanosleep invocations.
20004         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20005         strings, and add error checking for a nanosleep invocations.
20007 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
20009         Replace FSF snail mail address with URLs, as per GNU coding standards.
20010         Most of the snail mail addresses were wrong anyway, and omitting
20011         them makes the source code easier to maintain.  Almost all of the
20012         changes are to license notices and to locale LC_IDENTIFICATION
20013         addresses, except for this one:
20014         * manual/libc.texinfo: In "Published by", give the FSF's URL,
20015         not its snail mail address.
20017 2012-02-09  Richard Henderson  <rth@twiddle.net>
20019         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20020         of kernel-features.h.
20022         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20024 2012-02-08  Marek Polacek  <polacek@redhat.com>
20026         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20027         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20028         * sysdeps/gnu/_G_config.h: Likewise.
20029         * sysdeps/generic/_G_config.h: Likewise.
20031 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20033         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20034         tests.
20035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20037         * sysdeps/powerpc/powerpc32/crti.S: New file.
20038         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20039         * sysdeps/powerpc/powerpc64/crti.S: New file.
20040         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20042         * Makeconfig (have-initfini): Don't set.
20043         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20044         * configure.in (nopic_initfini): Don't substitute.
20045         * config.h.in (HAVE_INITFINI): Don't #undef.
20046         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20047         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20049 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20051         Support crti.S and crtn.S provided directly by architectures.
20052         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20053         [crti.S in sysdirs] (omit-deps): Likewise.
20054         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20055         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20056         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20057         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20058         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20059         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20060         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20061         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20062         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20063         compiler output for sysdeps/generic/initfini.c.
20064         * sysdeps/i386/elf/Makefile: Remove file.
20065         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20067 2012-02-07  Marek Polacek  <polacek@redhat.com>
20069         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20070         * sysdeps/gnu/_G_config.h: Likewise.
20071         * sysdeps/mach/hurd/_G_config.h: Likewise.
20073 2012-02-07  Marek Polacek  <polacek@redhat.com>
20075         * math/Makefile (tests): Add tst-CMPLX2.
20076         * math/tst-CMPLX2.c: New file.
20078 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20080         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20082         * math/libm-test.inc (jn_test): Add missing L suffix.
20084 2012-02-06  Marek Polacek  <polacek@redhat.com>
20086         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20087         * sysdeps/i386/fpu/e_powf.S: Likewise.
20088         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20089         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20090         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20091         * sysdeps/i386/fpu/e_pow.S: Likewise.
20092         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20093         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20094         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20095         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20096         * sysdeps/i386/fpu/e_log2.S: Likewise.
20097         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20098         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20099         * sysdeps/i386/fpu/e_powl.S: Likewise.
20100         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20101         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20102         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20103         * sysdeps/i386/fpu/e_logl.S: Likewise.
20104         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20105         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20106         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20107         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20108         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20109         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20110         * sysdeps/i386/fpu/e_log.S: Likewise.
20111         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20112         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20113         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20114         * sysdeps/i386/fpu/e_logf.S: Likewise.
20115         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20116         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20117         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20118         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20119         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20120         * sysdeps/i386/fpu/e_log10.S: Likewise.
20121         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20122         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20123         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20124         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20125         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20126         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20127         * sysdeps/i386/asm-syntax.h: Likewise.
20128         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20129         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20130         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20131         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20132         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20133         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20134         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20135         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20136         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20137         * sysdeps/powerpc/sysdep.h: Likewise.
20138         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20139         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20141 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20143         [BZ #411]
20144         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20146 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20148         * sysdeps/i386/sysdep.h: Include <features.h>.
20149         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20150         version.
20152 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20154         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20155         Define.
20156         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20157         LOAD_PIC_REG_STR.
20159 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20161         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20162         (SETUP_PIC_REG): Use GET_PC_THUNK.
20163         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20164         macro.
20166 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20168         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20169         for non-PIC compilation.
20170         (SETUP_PIC_REG): Add .p2align directive.
20171         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20172         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20173         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20174         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20175         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20176         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20177         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20178         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20179         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20180         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20181         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20182         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20183         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20184         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20185         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20186         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20187         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20188         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20189         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20190         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20191         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20192         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20193         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20194         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20195         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20196         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20197         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20198         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20199         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20200         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20201         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20202         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20203         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20204         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20205         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20206         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20207         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20208         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20209         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20210         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20211         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20213 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20215         * math/tst-CMPLX.c: Include <stdio.h>.
20217 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20219         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20220         float.
20221         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20222         * sysdeps/sparc/bits/mathdef.h: Likewise.
20224 2012-01-31  Marek Polacek  <polacek@redhat.com>
20226         * libio/libio.h: Don't define _PARAMS.
20227         * locale/programs/config.h: Don't define PARAMS.
20228         * stdlib/strtol_l.c: Likewise.
20229         (__strtol_l): Remove PARAMS from the prototype.
20231 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20233         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20234         names.  Just use the correct names.  Remove unnecessary wrapper
20235         functions.
20236         * malloc/arena.c: Likewise.
20237         * malloc/hooks.c: Likewise.
20239         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20240         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20241         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20243 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20245         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20246         into tail calls.
20247         (update_get_addr): New function.
20248         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20249         GET_ADDR_MODULE parameter.
20251 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20253         * crypt/cert.c: Remove __STDC__ conditionals.
20254         * crypt/crypt-entry.c: Likewise.
20255         * crypt/crypt_util.c: Likewise.
20256         * libio/filedoalloc.c: Likewise.
20257         * libio/fileops.c: Likewise.
20258         * libio/genops.c: Likewise.
20259         * libio/iofclose.c: Likewise.
20260         * libio/iofdopen.c: Likewise.
20261         * libio/iofopen.c: Likewise.
20262         * libio/iofopen64.c: Likewise.
20263         * libio/iogetdelim.c: Likewise.
20264         * libio/iopopen.c: Likewise.
20265         * libio/obprintf.c: Likewise.
20266         * libio/oldfileops.c: Likewise.
20267         * libio/oldiofclose.c: Likewise.
20268         * libio/oldiofdopen.c: Likewise.
20269         * libio/oldiofopen.c: Likewise.
20270         * libio/oldiopopen.c: Likewise.
20271         * libio/wfiledoalloc.c: Likewise.
20272         * libio/wgenops.c: Likewise.
20273         * locale/programs/xmalloc.c: Likewise.
20274         * misc/syslog.c: Likewise.
20275         * stdio-common/xbug.c: Likewise.
20276         * string/memchr.c: Likewise.
20277         * string/memcmp.c: Likewise.
20278         * string/memrchr.c: Likewise.
20279         * string/rawmemchr.c: Likewise.
20280         * sysdeps/posix/getcwd.c: Likewise.
20281         * time/strftime_l.c: Likewise.
20283 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20285         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20286         * config.make.in (config-cflags-sse2avx): Define.
20287         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20288         Fix typo.
20290 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20292         * scripts/config.guess: Update from upstream config git repository.
20293         * scripts/config.sub: Likewise.
20295 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20297         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20298         (EM_NUM): Update.
20299         (R_TILEPRO_*, R_TILEGX_*): New macros.
20301         * scripts/firstversions.awk: Fix bug in version range handling.
20303         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20305         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20307         * include/sys/epoll.h: New file.
20308         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20309         libc_hidden_def.
20311 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20313         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20314         Avoid unnecessary __WORDSIZE == 64 test.
20315         (fmaxf): Use VEX format if possible.
20316         (fmax): Likewise.
20317         (fminf): Likewise.
20318         (fmin): Likewise.
20320         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20321         * math/math_private.h: Remove libc_fegetround* and
20322         libc_fesetround*.
20323         * sysdeps/i386/configure.in: Check for -msse2avx.
20324         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20325         also if SSE2AVX is defined.
20326         Remove libc_fegetround* and libc_fesetround*.
20327         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20328         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20329         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20330         of HAS_YMM_USABLE.
20331         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20332         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20333         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20334         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20335         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20337         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20339 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20341         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20342         size is not set.
20343         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20345 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20347         [BZ #13618]
20348         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20349         relocation.
20350         * Makeconfig (libm): Define.
20351         * elf/Makefile: Add rules to build and run tst-relsort1.
20352         * elf/tst-relsort1.c: New file.
20353         * elf/tst-relsort1mod1.c: New file.
20354         * elf/tst-relsort1mod2.c: New file.
20356 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20358         * math/s_ldexp.c: Remove __STDC__ conditionals.
20359         * math/s_ldexpf.c: Likewise.
20360         * math/s_ldexpl.c: Likewise.
20361         * math/s_nextafter.c: Likewise.
20362         * math/s_nexttowardf.c: Likewise.
20363         * math/s_significand.c: Likewise.
20364         * math/s_significandf.c: Likewise.
20365         * math/s_significandl.c: Likewise.
20366         * math/w_jnl.c: Likewise.
20367         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20368         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20369         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20370         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20371         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20372         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20373         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20374         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20375         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20376         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20377         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20378         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20379         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20380         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20381         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20382         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20383         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20384         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20385         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20386         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20387         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20388         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20389         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20390         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20391         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20392         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20393         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20394         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20395         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20396         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20397         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20398         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20399         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20400         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20401         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20402         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20403         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20404         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20405         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20406         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20407         * sysdeps/ieee754/k_standard.c: Likewise.
20408         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20409         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20410         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20411         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20412         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20413         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20414         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20415         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20416         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20417         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20418         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20419         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20420         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20421         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20422         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20423         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20424         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20425         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20426         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20427         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20428         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20429         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20430         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20431         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20432         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20433         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20434         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20435         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20436         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20437         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20438         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20439         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20440         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20441         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20442         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20443         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20444         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20445         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20446         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20447         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20448         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20449         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20450         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20451         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20452         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20453         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20454         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20455         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20456         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20457         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20458         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20459         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20460         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20461         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20462         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20463         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20464         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20465         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20466         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20467         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20468         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20469         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20470         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20471         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20472         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20473         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20474         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20475         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20476         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20477         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20478         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20479         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20480         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20481         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20482         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20483         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20484         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20485         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20486         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20487         * sysdeps/ieee754/s_matherr.c: Likewise.
20488         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20489         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20490         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20491         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20493 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20495         * crypt/md5.h: Remove __STDC__ conditionals.
20496         * libio/libioP.h: Likewise.
20497         * locale/programs/config.h: Likewise.
20498         * sysdeps/generic/sysdep.h: Likewise.
20499         * sysdeps/i386/asm-syntax.h: Likewise.
20500         * sysdeps/s390/asm-syntax.h: Likewise.
20501         * sysdeps/unix/sysdep.h: Likewise.
20502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20505 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20507         * libio/libio.h: Remove __STDC__ conditionals.
20508         * malloc/obstack.h: Likewise.
20509         * math/complex.h: Likewise.
20510         * math/math.h: Likewise.
20511         * sysdeps/generic/_G_config.h: Likewise.
20512         * sysdeps/gnu/_G_config.h: Likewise.
20513         * sysdeps/mach/hurd/_G_config.h: Likewise.
20514         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20515         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20516         * sysdeps/sparc/bits/mathdef.h: Likewise.
20518 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20520         [BZ #13583]
20521         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20522         Clean up HAS_* macros.
20523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20524         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20525         possible.
20526         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20527         HAS_AVX.
20528         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20529         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20530         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20531         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20532         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20534 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20536         * elf/tst-unique3.cc (gets): Remove declaration.
20537         * elf/tst-unique3lib.cc (gets): Likewise.
20538         * elf/tst-unique3lib2.cc (gets): Likewise.
20539         * elf/tst-unique4.cc (gets): Likewise.
20541 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20543         * include/stdio.h: Add C++ protection.  Add gets declarations and
20544         definitions.
20545         * debug/tst-chk1.c: Don't declare gets here.
20546         * stdio-common/tst-gets.c: Likewise.
20548 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20550         * posix/glob: Remove directory.
20552 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20554         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20556 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20558         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20559         of the non-standard EPFNOSUPPORT.
20561 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20563         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20564         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20565         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20567 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20569         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20571 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20573         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20574         transient errors.
20575         * nscd/grpcache.c (cache_addgr): Likewise.
20576         * nscd/hstcache.c (cache_addhst): Likewise.
20577         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20578         * nscd/pwdcache.c (cache_addpw): Likewise.
20579         * nscd/servicescache.c (cache_addserv): Likewise.
20581 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20583         * malloc/malloc.c: Various cleanups.
20584         * malloc/hooks.c: Likewise.
20586         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20587         * stdlib/bug-fmtmsg1.c: New file.
20589         * stdlib/fmtmsg.c (init): Add missing unlock.
20590         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20592 2012-01-12  Marek Polacek  <polacek@redhat.com>
20594         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20595         and _GNU_SOURCE.
20597 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20599         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20600         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20601         macro to ensure uniqueness of label name.
20602         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20603         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20605 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20607         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20609         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20610         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20611         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20612         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20614 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20616         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20618         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20619         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20620         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20622         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20624         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20625         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20626         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20627         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20629         * math/bits/math-finite.h: Add ldexp support.
20631 2012-01-10  Marek Polacek  <polacek@redhat.com>
20633         * locale/programs/localedef.h (show_archive_content): Add noreturn
20634         attribute.
20636 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20638         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20640 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20642         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20644         * io/Makefile (headers): Add bits/poll2.h.
20646 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20649         typo #include statement.
20651 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20653         * include/sys/cdefs.h: Define __attribute_alloc_size.
20654         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20655         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20656         * elf/pldd.c: Likewise.
20657         * iconv/iconv_charmap.c: Likewise.
20658         * iconv/iconvconfig.c: Likewise.
20659         * iconv/strtab.c: Likewise.
20660         * locale/programs/locale.c: Likewise.
20661         * locale/programs/localedef.h: Likewise.
20662         * locale/programs/simple-hash.c: Likewise.
20663         * nscd/nscd.h: Likewise.
20664         * nss/makedb.c: Likewise.
20665         * sysdeps/generic/ldconfig.h: Likewise.
20666         * locale/programs/localedef.c: Remove xmalloc prototype.
20667         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20669 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20671         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20672         appropriate.
20674 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20676         * math/Makefile (tests): Add tst-CMPLX.
20677         * math/tst-CMPLX.c: New file.
20679         * math/complex.h (CMPLXL): Fix typo.
20681         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20682         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20683         GLIBC_2.16.
20684         * debug/tst-chk1.c: Add poll and ppoll tests.
20685         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20686         * include/sys/poll.h: Add hidden proto for ppoll.
20687         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20688         * sysdeps/mach/hurd/ppoll.c: Likewise.
20689         * io/ppoll.c: Likewise.
20690         * debug/poll_chk.c: New file.
20691         * debug/ppoll_chk.c: New file.
20692         * include/bits/poll2.h: New file.
20693         * io/bits/poll2.h: New file.
20695         [BZ #1350]
20696         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20698         * configure.in: static is always set to yes.  Remove.
20699         * config.make.in: Don't set build-static.
20700         * Makeconfig: Remove use of build-static.
20701         * dlfcn/Makefile: Likewise.
20702         * elf/Makefile: Likewise.
20703         * math/Makefile: Likewise.
20704         * misc/Makefile: Likewise.
20705         * nptl/Makefile: Likewise.
20706         * sysdeps/mach/hurd/Makefile: Likewise.
20708         * configure.in: PWD_P is not used anymore.
20709         * config.make.in: Remove PWD_P entry.
20711         * configure.in: Remove last remnants of RANLIB.
20712         No need to check for signed size_t anymore.
20713         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20714         and IA-64.
20715         Remove __builtin_expect test because we require at least gcc 3.4.
20716         * aclocal.m4: Likewise.
20718         * wcsmbs/mbrtoc16.c: Implement using towc function.
20719         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20720         * wcsmbs/wcsmbsload.c: Likewise.
20721         * iconv/gconv_simple.c: Likewise.
20722         * iconv/gconv_int.h: Likewise.
20723         * iconv/gconv_builtin.h: Likewise.
20724         * iconv/iconv_prog.c: Remove CHAR16 handling.
20726         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20728         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20730         * configure.in: Remove --with-elf and --enable-bounded options.
20731         Dont set base_machine for ia64.  More non-ELF conditions removed.
20732         Remove testing and setting of leading underscore information.
20733         * config.make.in (build-bounded): Set to no.
20734         * config.h.in: Remove NO_UNDERSCORES entry.
20735         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20736         them.
20737         * csu/start.c: Remove !NO_UNDERSCORE code.
20738         * locale/localeinfo.h: Likewise.
20739         * sysdeps/generic/machine-gmon.h: Likewise.
20740         * sysdeps/generic/sysdep.h: Likewise.
20741         * sysdeps/i386/sysdep.h: Likewise.
20742         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20743         * sysdeps/mach/sysdep.h: Likewise.
20744         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20745         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20746         * sysdeps/sh/sysdep.h: Likewise.
20747         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20748         * sysdeps/unix/i386/sysdep.S: Likewise.
20749         * sysdeps/unix/sparc/start.c: Likewise.
20750         * sysdeps/unix/sparc/sysdep.S: Likewise.
20751         * sysdeps/unix/sparc/sysdep.h: Likewise.
20752         * sysdeps/unix/start.c: Likewise.
20753         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20754         * sysdeps/x86_64/sysdep.h: Likewise.
20756 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20758         [BZ #13553]
20759         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20760         for non-gcc.
20761         * argp/argp-fmtstream.h: Use const instead __const.
20762         * argp/argp.h: Likewise.
20763         * assert/assert.h: Likewise.
20764         * bits/fenv.h: Likewise.
20765         * bits/sched.h: Likewise.
20766         * bits/sigset.h: Likewise.
20767         * bits/sigthread.h: Likewise.
20768         * catgets/nl_types.h: Likewise.
20769         * conform/data/pthread.h-data: Likewise.
20770         * crypt/crypt-private.h: Likewise.
20771         * crypt/crypt.h: Likewise.
20772         * crypt/crypt_util.c: Likewise.
20773         * ctype/ctype.h: Likewise.
20774         * debug/execinfo.h: Likewise.
20775         * debug/mbsnrtowcs_chk.c: Likewise.
20776         * debug/mbsrtowcs_chk.c: Likewise.
20777         * debug/wcsnrtombs_chk.c: Likewise.
20778         * debug/wcsrtombs_chk.c: Likewise.
20779         * debug/wcstombs_chk.c: Likewise.
20780         * dirent/dirent.h: Likewise.
20781         * dlfcn/dlfcn.h: Likewise.
20782         * elf/neededtest4.c: Likewise.
20783         * grp/grp.h: Likewise.
20784         * gshadow/gshadow.h: Likewise.
20785         * iconv/gconv.h: Likewise.
20786         * iconv/gconv_int.h: Likewise.
20787         * iconv/gconv_simple.c: Likewise.
20788         * iconv/iconv.h: Likewise.
20789         * iconv/loop.c: Likewise.
20790         * iconv/skeleton.c: Likewise.
20791         * include/aio.h: Likewise.
20792         * include/aliases.h: Likewise.
20793         * include/argz.h: Likewise.
20794         * include/arpa/inet.h: Likewise.
20795         * include/assert.h: Likewise.
20796         * include/dirent.h: Likewise.
20797         * include/dlfcn.h: Likewise.
20798         * include/execinfo.h: Likewise.
20799         * include/fcntl.h: Likewise.
20800         * include/fenv.h: Likewise.
20801         * include/glob.h: Likewise.
20802         * include/grp.h: Likewise.
20803         * include/libintl.h: Likewise.
20804         * include/mntent.h: Likewise.
20805         * include/netdb.h: Likewise.
20806         * include/pwd.h: Likewise.
20807         * include/rpc/netdb.h: Likewise.
20808         * include/sched.h: Likewise.
20809         * include/search.h: Likewise.
20810         * include/shadow.h: Likewise.
20811         * include/signal.h: Likewise.
20812         * include/stdio.h: Likewise.
20813         * include/stdlib.h: Likewise.
20814         * include/string.h: Likewise.
20815         * include/sys/socket.h: Likewise.
20816         * include/sys/stat.h: Likewise.
20817         * include/sys/statfs.h: Likewise.
20818         * include/sys/statvfs.h: Likewise.
20819         * include/sys/syslog.h: Likewise.
20820         * include/sys/time.h: Likewise.
20821         * include/sys/uio.h: Likewise.
20822         * include/time.h: Likewise.
20823         * include/unistd.h: Likewise.
20824         * include/utmp.h: Likewise.
20825         * include/wchar.h: Likewise.
20826         * include/wctype.h: Likewise.
20827         * inet/aliases.h: Likewise.
20828         * inet/arpa/inet.h: Likewise.
20829         * inet/netinet/ether.h: Likewise.
20830         * inet/netinet/in.h: Likewise.
20831         * intl/libintl.h: Likewise.
20832         * io/bits/fcntl2.h: Likewise.
20833         * io/fcntl.h: Likewise.
20834         * io/ftw.h: Likewise.
20835         * io/sys/poll.h: Likewise.
20836         * io/sys/stat.h: Likewise.
20837         * io/sys/statfs.h: Likewise.
20838         * io/sys/statvfs.h: Likewise.
20839         * io/utime.h: Likewise.
20840         * libio/bits/stdio.h: Likewise.
20841         * libio/bits/stdio2.h: Likewise.
20842         * libio/libio.h: Likewise.
20843         * libio/libioP.h: Likewise.
20844         * libio/stdio.h: Likewise.
20845         * locale/lc-ctype.c: Likewise.
20846         * locale/locale.h: Likewise.
20847         * login/utmp.h: Likewise.
20848         * malloc/arena.c: Likewise.
20849         * malloc/malloc.c: Likewise.
20850         * malloc/malloc.h: Likewise.
20851         * malloc/mcheck.c: Likewise.
20852         * malloc/mtrace.c: Likewise.
20853         * math/bits/mathcalls.h: Likewise.
20854         * math/fenv.h: Likewise.
20855         * math/math_private.h: Likewise.
20856         * misc/bits/error.h: Likewise.
20857         * misc/bits/syslog.h: Likewise.
20858         * misc/err.h: Likewise.
20859         * misc/error.h: Likewise.
20860         * misc/fstab.h: Likewise.
20861         * misc/mntent.h: Likewise.
20862         * misc/regexp.h: Likewise.
20863         * misc/search.h: Likewise.
20864         * misc/sgtty.h: Likewise.
20865         * misc/sys/mman.h: Likewise.
20866         * misc/sys/syslog.h: Likewise.
20867         * misc/sys/uio.h: Likewise.
20868         * misc/sys/xattr.h: Likewise.
20869         * misc/ttyent.h: Likewise.
20870         * nis/rpcsvc/ypclnt.h: Likewise.
20871         * nss/nss.h: Likewise.
20872         * posix/bits/unistd.h: Likewise.
20873         * posix/fnmatch.h: Likewise.
20874         * posix/glob.h: Likewise.
20875         * posix/sched.h: Likewise.
20876         * posix/spawn.h: Likewise.
20877         * posix/sys/wait.h: Likewise.
20878         * posix/unistd.h: Likewise.
20879         * posix/wordexp.h: Likewise.
20880         * pwd/pwd.h: Likewise.
20881         * resolv/netdb.h: Likewise.
20882         * resource/sys/resource.h: Likewise.
20883         * rt/aio.h: Likewise.
20884         * rt/bits/mqueue2.h: Likewise.
20885         * rt/mqueue.h: Likewise.
20886         * shadow/shadow.h: Likewise.
20887         * signal/signal.h: Likewise.
20888         * socket/send.c: Likewise.
20889         * socket/sendto.c: Likewise.
20890         * socket/sys/socket.h: Likewise.
20891         * stdio-common/printf.h: Likewise.
20892         * stdlib/bits/stdlib.h: Likewise.
20893         * stdlib/fmtmsg.h: Likewise.
20894         * stdlib/monetary.h: Likewise.
20895         * stdlib/stdlib.h: Likewise.
20896         * stdlib/ucontext.h: Likewise.
20897         * streams/stropts.h: Likewise.
20898         * string/argz.h: Likewise.
20899         * string/bits/string2.h: Likewise.
20900         * string/string.h: Likewise.
20901         * string/strings.h: Likewise.
20902         * sunrpc/rpc/auth.h: Likewise.
20903         * sunrpc/rpc/auth_des.h: Likewise.
20904         * sunrpc/rpc/clnt.h: Likewise.
20905         * sunrpc/rpc/netdb.h: Likewise.
20906         * sunrpc/rpc/pmap_clnt.h: Likewise.
20907         * sunrpc/rpc/xdr.h: Likewise.
20908         * sysdeps/generic/inttypes.h: Likewise.
20909         * sysdeps/generic/net/if.h: Likewise.
20910         * sysdeps/generic/sys/swap.h: Likewise.
20911         * sysdeps/gnu/net/if.h: Likewise.
20912         * sysdeps/gnu/utmpx.h: Likewise.
20913         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20914         * sysdeps/i386/i486/bits/string.h: Likewise.
20915         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20916         * sysdeps/s390/bits/string.h: Likewise.
20917         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20918         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20919         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20920         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20921         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20922         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20923         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20924         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20925         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20926         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20927         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20928         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20929         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20930         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20931         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20932         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20933         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20934         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20935         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20936         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20937         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20938         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20939         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20940         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20941         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20942         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20943         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20944         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20945         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20946         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20947         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20948         * sysvipc/sys/ipc.h: Likewise.
20949         * sysvipc/sys/msg.h: Likewise.
20950         * sysvipc/sys/sem.h: Likewise.
20951         * sysvipc/sys/shm.h: Likewise.
20952         * termios/termios.h: Likewise.
20953         * time/sys/time.h: Likewise.
20954         * time/time.h: Likewise.
20955         * wcsmbs/bits/wchar2.h: Likewise.
20956         * wcsmbs/uchar.h: Likewise.
20957         * wcsmbs/wchar.h: Likewise.
20958         * wctype/wctype.h: Likewise.
20960         [BZ #13551]
20961         * Makeconfig: Remove all but ELF support including AIX support.
20962         * Makerules: Likewise.
20963         * config.h.in: Likewise.
20964         * config.make.in: Likewise.
20965         * configure: Likewise.
20966         * configure.in: Likewise.
20967         * csu/Makefile: Likewise.
20968         * csu/version.c: Likewise.
20969         * debug/Makefile: Likewise.
20970         * dlfcn/Makefile: Likewise.
20971         * elf/Makefile: Likewise.
20972         * extra-lib.mk: Likewise.
20973         * iconv/Makefile: Likewise.
20974         * include/libc-symbols.h: Likewise.
20975         * include/shlib-compat.h: Likewise.
20976         * resolv/Makefile: Likewise.
20977         * resolv/res_libc.c: Likewise.
20978         * rt/Makefile: Likewise.
20979         * sysdeps/i386/asm-syntax.h: Likewise.
20980         * sysdeps/i386/sysdep.h: Likewise.
20981         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20982         * sysdeps/mach/sysdep.h: Likewise.
20983         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20984         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20985         * sysdeps/s390/asm-syntax.h: Likewise.
20986         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20987         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20988         * sysdeps/sh/sysdep.h: Likewise.
20989         * sysdeps/unix/sparc/sysdep.h: Likewise.
20990         * sysdeps/wordsize-32/divdi3.c: Likewise.
20991         * sysdeps/x86_64/sysdep.h: Likewise.
20993         * argp/Versions: Remove _argp_unlock_xxx.
20995         [BZ #13559]
20996         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20997         * abilist/libBrokenLocale.abilist: Likewise.
20998         * abilist/libanl.abilist: Likewise.
20999         * abilist/libc.abilist: Likewise.
21000         * abilist/libcrypt.abilist: Likewise.
21001         * abilist/libdl.abilist: Likewise.
21002         * abilist/libm.abilist: Likewise.
21003         * abilist/libnsl.abilist: Likewise.
21004         * abilist/libpthread.abilist: Likewise.
21005         * abilist/libresolv.abilist: Likewise.
21006         * abilist/librt.abilist: Likewise.
21007         * abilist/libthread_db.abilist: Likewise.
21008         * abilist/libutil.abilist: Likewise.
21009         * abilist/libnss_db.abilist: New file.
21011         * scripts/abilist.awk: Add support for indirect functions.
21013         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21015         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21017         * shlib-versions: Remove entries for ports architectures.
21019         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21020         files in ports.
21021         * elf/stackguard-macros.h: Remove support for IA-64.
21022         * elf/tst-auditmod1.c: Likewise.
21023         * sysdeps/generic/ldsodefs.h: Likewise.
21025         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21026         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21027         configure files.
21029         [BZ #13552]
21030         * configure.in: Remove --enable-omitfp support.
21031         * FAQ.in: Adjust.
21032         * config.make.in: Likewise.
21033         * Makeconfig: Likewise.
21034         * manual/install.texi: Likewise.
21036         In case anyone cares, the IA-64 architecture could move to ports.
21037         * sysdeps/ia64/*: Removed.
21038         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21039         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21041         [BZ #13555]
21042         * configure.in: Remove entries for unsupported architectures.
21044         [BZ #13533]
21045         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21046         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21047         routines.
21048         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21049         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21050         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21051         fall back to using wcrtomb.
21052         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21053         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21054         renaming.
21055         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21056         * wcsmbs/tst-c16c32-1.c: New file.
21058         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21059         local variable.
21061         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21063         * elf/tst-unique3.cc: Add explicit declaration of gets.
21064         * elf/tst-unique3lib.cc: Likewise.
21065         * elf/tst-unique3lib2.cc: Likewise.
21066         * elf/tst-unique4.cc: Likewise.
21068         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21070 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21072         [BZ #13566]
21073         * assert/assert.h (static_assert): Don't define for C++.
21074         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21075         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21077 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21079         * iconv/loop.c (single loop): Fix assertion in storing of
21080         remaining bytes.
21082         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21084 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21086         * posix/getconf.c: Update copyright year.
21087         * nss/getent.c: Likewise.
21088         * nss/makedb.c: Likewise.
21089         * iconv/iconvconfig.c: Likewise.
21090         * iconv/iconv_prog.c: Likewise.
21091         * elf/ldconfig.c: Likewise.
21092         * elf/pldd.c: Likewise.
21093         * elf/sotruss.ksh: Likewise.
21094         * catgets/gencat.c: Likewise.
21095         * csu/version.c: Likewise.
21096         * elf/ldd.bash.in: Likewise.
21097         * elf/sprof.c (print_version): Likewise.
21098         * locale/programs/locale.c: Likewise.
21099         * locale/programs/localedef.c: Likewise.
21100         * login/programs/pt_chown.c: Likewise.
21101         * nscd/nscd.c (print_version): Likewise.
21102         * debug/xtrace.sh: Likewise.
21103         * malloc/memusage.sh: Likewise.
21104         * malloc/mtrace.pl: Likewise.
21105         * debug/catchsegv.sh: Likewise.
21107 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21109         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21110         pure attribute.
21112 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21114         [BZ #13533]
21115         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21116         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21117         transformations.
21118         * iconv/gconv_int.h: Likewise.
21119         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21120         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21121         from libc for GLIBC_2.16.
21122         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21123         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21124         * wcsmbs/uchar.h: Really define mbstate_t.
21125         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21126         * wcsmbs/c16rtomb.c: New file.
21127         * wcsmbs/mbrtoc16.c: New file.
21128         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21129         for C/POSIX locale.
21130         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21131         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21133         * wcsmbs/wchar.h: Add missing __restrict.
21135 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21137         [BZ #13532]
21138         * time/Makefile (routines): Add timespec_get.
21139         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21140         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21141         timespec for ISO C11.
21142         * time/timespec_get.c: New file.
21143         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21144         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21146         [BZ #13531]
21147         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21148         * stdlib/stdlib.h: Declare aligned_alloc.
21149         * Versions.def: Add GLIBC_2.16 for libc.
21150         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21152         [BZ 13527]
21153         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21154         ISO C11.
21156         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21157         code.
21159         [BZ #13528]
21160         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21162         [BZ #13529]
21163         * assert/assert.h (static_assert): Define.
21165         * version.h: Update for 2.16 development version.
21167         [BZ #13526]
21168         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21169         _ISOC11_SOURCE.
21171         * version.h (RELEASE): Bump for 2.15 release.
21172         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21174         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21175         Patch by Marek Polacek <mpolacek@redhat.com>.
21177         * bits/byteswap.h: Protect long long constants with __extension__.
21178         * sysdeps/i386/bits/byteswap.h: Likewise.
21179         * sysdeps/ia64/bits/byteswap.h: Likewise.
21180         * sysdeps/s390/bits/byteswap.h: Likewise.
21181         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21183 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21185         [BZ #13540]
21186         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21187         destination buffer.
21188         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21190 2011-12-23  Marek Polacek  <polacek@redhat.com>
21192         * elf/dl-addr.c (determine_info): Add inline keyword.
21193         * elf/tst-auditmod4b.c (check_avx): Likewise.
21194         * elf/tst-auditmod6b.c (check_avx): Likewise.
21195         * elf/tst-auditmod6c.c (check_avx): Likewise.
21196         * elf/tst-auditmod7b.c (check_avx): Likewise.
21198 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21200         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21201         !__SSE_MATH__.
21203 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21205         [BZ #13540]
21206         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21207         processing for last bytes.
21209 2011-08-06  Bruno Haible  <bruno@clisp.org>
21211         [BZ #13061]
21212         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21213         U+0385, not to U+1FEE.
21215         [BZ #13062]
21216         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21217         entry for U+00A5 U+0301.
21219 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21221         [BZ #13166]
21222         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21223         buffer for the output is too small.
21225         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21226         optimization.
21228         [BZ #13185]
21229         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21230         SSE flags if possible.
21232 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21234         [BZ #13540]
21235         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21236         processing for last bytes.
21238 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21240         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21241         (syscall-list-default-options, syscall-list-default-condition)
21242         (syscall-list-includes): Define.
21243         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21244         list of ABIs and options and #if conditions for each ABI.  Do not
21245         handle common syscalls between ABIs specially.
21246         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21247         Remove.
21248         (syscall-list-variants, syscall-list-32bit-options)
21249         (syscall-list-32bit-condition, syscall-list-64bit-options)
21250         (syscall-list-64bit-condition): Define.
21251         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21252         (syscall-list-variants, syscall-list-32bit-options)
21253         (syscall-list-32bit-condition, syscall-list-64bit-options)
21254         (syscall-list-64bit-condition): Define.
21255         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21256         Remove.
21257         (syscall-list-variants, syscall-list-32bit-options)
21258         (syscall-list-32bit-condition, syscall-list-64bit-options)
21259         (syscall-list-64bit-condition): Define.
21260         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21261         Remove.
21262         (syscall-list-variants, syscall-list-32bit-options)
21263         (syscall-list-32bit-condition, syscall-list-64bit-options)
21264         (syscall-list-64bit-condition): Define.
21266 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21268         * locale/iso-639.def: Add brx entry.
21270         [BZ #13328]
21271         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21272         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21274         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21275         __feraiseexcept_renamed.
21277 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21279         [BZ #13538]
21280         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21281         EPOLLET with unsigned values.
21282         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21283         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21285         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21286         to large cancellation.
21287         * math/s_cacoshf.c: Likewise.
21288         * math/s_cacoshl.c: Likewise.
21290 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21292         [BZ #13305]
21293         [BZ #12786]
21294         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21295         * math/s_cacoshf.c: Likewise.
21296         * math/s_cacoshl.c: Likewise.
21298 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21300         [BZ #13439]
21301         * iconv/gconv.h: Define __GCONV_SWAP.
21302         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21303         * iconvdata/utf-16.c: Likewise.
21304         * iconvdata/utf-32.c: Likewise.
21306 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21308         [BZ #13524]
21309         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21310         numerator after shifting it by one limb.
21312 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21314         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21315         under [__USE_EXTERN_INLINES].
21317 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21319         [BZ #13446]
21320         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21322 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21324         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21325         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21326         optimized code.
21327         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21328         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21329         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21330         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21331         for strncasecmp/strncasecmp_l compilation.
21332         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21333         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21335 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21337         [BZ #13484]
21338         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21339         of __asm__.
21341 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21343         [BZ #13506]
21344         * time/tzfile.c (__tzfile_read): Check values from file header.
21346 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21348         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21349         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21350         * powerpc/powerpc32/dl-start.S: Likewise.
21351         * powerpc/powerpc32/elf/start.S: Likewise.
21352         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21353         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21354         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21355         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21356         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21357         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21358         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21359         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21360         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21361         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21362         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21363         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21364         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21365         * powerpc/powerpc32/memset.S: Likewise.
21366         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21367         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21368         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21369         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21370         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21371         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21372         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21373         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21374         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21375         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21376         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21377         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21378         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21380 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21382         * math/libm-test.inc: Added more nearbyint tests.
21383         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21384         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21385         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21386         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21388 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21390         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21391         FD_CLOEXEC.
21393 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21395         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21396         Add wcscpy-ssse3 wcscpy-c.
21397         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21398         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21399         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21400         * sysdeps/x86_64/wcschr.S: New file.
21401         * sysdeps/x86_64/wcsrchr.S: New file.
21402         * string/test-strcmp.c: Remove checking of wcscmp function for
21403         wrong alignments.
21404         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21405         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21406         wcsrchr-sse2 wcsrchr-c.
21407         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21408         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21409         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21410         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21411         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21412         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21413         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21414         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21415         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21416         * wcsmbc/wcschr.c (WCSCHR): New macro.
21418 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21420         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21421         * wcsmbs/test-wcsrchr.c: New file.
21422         * string/test-strrchr.c: Add wcsrchr support.
21423         (WIDE): New macro.
21424         * wcsmbs/test-wcscpy.c: New file.
21425         * string/test-strcpy.c: Add wcscpy support.
21426         (WIDE): New macro.
21428 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21430         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21431         the inner loop.
21433 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21435         [BZ #13472]
21436         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21438 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21440         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21441         Minor optimizations.
21443         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21444         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21445         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21447 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21449         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21450         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21451         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21452         for gcc to avoid warnings.
21453         * inet/Makefile (tests): Add tst-checks.
21454         * inet/tst-checks.c: New file.
21456         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21457         warning.
21459         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21460         __wmemcmp_sse2.
21462         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21463         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21465         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21467 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21469         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21470         problem.
21472         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21474 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21476         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21477         conditional on GCC version.
21478         (__arch_compare_and_exchange_val_8_acq)
21479         (__arch_compare_and_exchange_val_16_acq)
21480         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21481         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21482         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21484 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21486         * sysdeps/sh/backtrace.c: New file.
21488 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21490         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21491         parenthesis.
21493 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21495         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21496         falling back to utime.
21498 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21500         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21501         expectations for float.
21503 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21505         * locale/weight.h (findidx): Add parameter len.
21506         * locale/weightwc.h (findidx): Likewise.
21507         * posix/fnmatch_loop.c (FCT): Adjust caller.
21508         * posix/regcomp.c (build_equiv_class): Likewise.
21509         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21510         * posix/regexec.c (check_node_accept_bytes): Likewise.
21511         * string/strcoll_l.c (STRCOLL): Likewise.
21512         * string/strxfrm_l.c (STRXFRM): Likewise.
21514 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21516         * Makefile.in: Remove CVSOPT handling.
21517         * configure.in: Remove use of AC_REVISION.
21518         * iconvdata/Makefile (distribute): No need to filter out CVS.
21519         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21520         handling.
21522 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21524         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21525         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21526         [USE_AS_STRNCASECMP_L]: Likewise.
21527         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21528         NO_TLS_DIRECT_SEG_REFS.
21529         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21530         Fix argument offsets for non-PIC.
21531         [USE_AS_STRNCASECMP_L]: Likewise.
21532         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21533         NO_TLS_DIRECT_SEG_REFS.
21535 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21537         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21538         O_CLOEXEC.
21539         * locale/loadlocale.c (_nl_load_locale): Likewise.
21541 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21543         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21544         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21545         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21546         (SYSCALL_GETTIME): Set errno on error.
21548         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21549         count references to noai6ai_cached.
21551 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21553         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21555         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21556         FD_CLOEXEC for /proc/self/maps.
21558         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21559         FD_CLOEXEC for /proc/meminfo.
21561         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21562         gai.conf.
21564         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21565         FD_CLOEXEC for given file.
21567         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21569         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21570         FD_CLOEXEC for /etc/hosts.
21571         (_gethtent): Likewise.
21573         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21575         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21576         cancellation and set FD_CLOEXEC for /etc/netgroup.
21578         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21579         reading /etc/publickey.
21581         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21582         allow cancellation when reading /etc/group.
21584         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21585         cancellation.
21586         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21588         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21589         when using data file.
21591         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21593         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21594         (write_nis_obj): Use "c" and "e" in fopen.
21596         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21598         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21600         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21602         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21604         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21605         locale.alias.
21607         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21609         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21611         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21613         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21614         file parsing and set FD_CLOEXEC.
21616 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21618         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21620 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21622         * malloc/arena.c (arena_get2): Don't call reused_arena when
21623         _int_new_arena failed.
21625 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21627         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21628         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21629         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21630         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21631         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21632         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21633         to compile strcasecmp and strncasecmp.
21634         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21635         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21637         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21639 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21641         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21642         locale-defines.sym to gen-as-const-headers.
21643         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21644         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21645         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21646         to compile strcasecmp and strncasecmp.
21647         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21648         strcasecmp_l and strncasecmp_l.
21649         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21650         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21651         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21652         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21653         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21654         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21655         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21656         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21657         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21658         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21659         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21661 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21663         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21664         result of SYSDEP_GETTIME_CPU to retval.
21665         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21666         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21668         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21669         variable.
21671         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21672         mantissa words.
21673         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21675         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21676         from unused variable.
21678         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21679         DWARF definitions.
21680         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21681         for assembling.
21683         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21684         over namespaces.
21686         * sunrpc/rpc_prot.c (rejected): Fix case value.
21688         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21689         unsigned long long int to avoid warnings in shift.
21691         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21692         of use of trans.
21693         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21694         variable tmp.
21696         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21697         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21698         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21700         * nis/nis_table.c (nis_list): Use variable of correct type for
21701         result of __follow_path call.
21703 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21705         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21706         of math functions ceil, trunc, floor, round, and sqrt, when
21707         avaliable on the platform.
21708         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21709         name clash.
21710         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21711         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21712         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21714 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21716         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21717         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21719 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21721         * include/unistd.h: Fix __readlink return type.
21722         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21724 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21726         * stdlib/ucontext.h: Undo last change for makecontext.
21728 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21730         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21732         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21733         * setjmp/setjmp.h: Mark functions as non-leaf.
21734         * setjmp/bits/setjmp2.h: Likewise.
21735         * stdlib/ucontext.h: Likewise.
21737 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21739         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21740         (reused_arena): Don't check arena limit.
21741         (arena_get2): Atomically check arena limit.
21743 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21745         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21746         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21748         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21749         instructions.
21751 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21753         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21754         handler when locking.
21756         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21757         Fix size of allocated buffer.
21759 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21761         [BZ #10103]
21762         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21763         declarations for long double functions.
21764         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21766         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21768 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21770         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21771         installed.
21773         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21774         is disabled.
21776 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21778         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21780 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21782         * include/alloca.h (stackinfo_alloca_round): Define.
21783         (extend_alloca): Use it.
21784         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21785         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21786         here.
21788         * scripts/check-local-headers.sh: Ignore libaudit.h.
21790         * nscd/Makefile (extra-objs): Make recursively expanded.
21792 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21794         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21795         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21797         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21798         * posix/tst-rfc3484-2.c: Likewise.
21799         * posix/tst-rfc3484-3.c: Likewise.
21801         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21802         process_vm_writev.
21803         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21804         process_vm_writev.
21805         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21806         process_vm_writev from libc using GLIBC_2.15 version.
21808         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21810 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21812         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21813         stack usage.
21815 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21817         [BZ #13367]
21818         * nss/getent.c (initgroups_keys): Show error message in case no group
21819         names are given.
21821         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21822         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21823         __bump_nl_timestamp.
21824         * nscd/connections (nscd_init): When host database is served open
21825         netlink socket and request notification about configuration changes.
21826         (main_loop_poll): Track netlink file descriptor and bump timestamp
21827         in case data becomes available.
21828         (main_loop_epoll): Likewise.
21829         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21830         (database_pers_head): Add extra_data fileds.
21831         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21832         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21833         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21834         Adjust caller.
21835         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21836         in6ai data, call __free_in6ai.
21837         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21838         Add -DHAVE_NETLINK.
21839         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21840         interface information.  Reuse previous data if netlink timestamp
21841         is not changed.
21842         (__bump_nl_timestamp): New function.
21843         (__free_in6ai): New function.
21845 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21847         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21848         close_not_cancel_no_status here.
21849         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21851 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21853         [BZ #13276]
21854         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21855         return value.
21857         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21858         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21859         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21861 2011-07-03  Andreas Jaeger  <aj@suse.de>
21863         [BZ #10709]
21864         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21865         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21866         * math/libm-test.inc (sin_test): Add test case.
21868 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21870         [BZ #13337]
21871         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21872         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21874         * elf/chroot_canon.c (chroot_canon): Cleanups.
21876         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21878         [BZ #13335]
21879         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21880         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21882         * string/test-strchr.c: Make usable for strchrnul testing.
21883         * string/test-strchrnul.c: New file.
21884         * string/Makefile (strop-tests): Add strchrnul.
21886         * po/it.po: Update from translation team.
21887         * po/es.po: Likewise.
21889 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21891         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21892         the three constants needed as parameters.  Drop the others.
21893         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21894         __m128i_strloadu_tolower.
21895         Create and initialize variable zero and use it in all the places
21896         where _mm_setzero_si128 was used.
21898         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21899         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21900         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21901         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21902         anymore.
21903         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21904         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21905         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21906         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21907         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21908         __mpranred, __mptan.
21909         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21910         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21911         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21912         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21913         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21914         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21915         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21916         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21917         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21919 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21921         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21922         redefine if SHARED.
21923         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21925         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21926         wide char related routines to wcsmbs subdir.
21928 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21930         [BZ #13344]
21931         * misc/sys/cdefs.h (__THROWNL): Define.
21932         * posix/unistd.h: Use __THREADNL instead of __THREAD
21933         for memory synchronization functions.
21935 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21937         [BZ #13349]
21938         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21939         doesn't exist.
21940         * manual/stdio.texi (Obstack Streams): Node removed.
21942 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21944         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21945         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21946         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21948         * math/math_private.h (math_force_eval): Allow non-addressable
21949         arguments.
21950         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21952 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21954         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21955         file is not needed.
21957         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21958         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21959         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21960         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21961         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21962         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21963         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21964         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21965         Add AVX variants.
21966         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21967         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21968         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21969         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21970         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21971         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21972         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21973         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21974         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21975         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21976         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21977         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21978         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21979         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21980         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21981         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21982         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21983         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21984         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21986         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21987         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21989         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21990         place.  Use VEX encoding when compiling for AVX.
21992 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21994         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21995         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21997         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21999 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22001         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
22002         useless if() expression.
22003         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22004         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22005         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22006         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22007         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22008         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22009         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22010         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22011         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22012         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22013         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22014         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22015         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22016         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22017         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22018         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22019         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22020         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22021         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22023         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22025 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22027         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22028         condition.
22029         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22031 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22033         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22034         .text section.  Avoid duplicate constants.
22035         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22036         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22037         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22038         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22039         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22040         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22041         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22042         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22043         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22044         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22045         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22046         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22047         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22048         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22049         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22050         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22051         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22052         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22053         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22054         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22055         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22056         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22057         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22058         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22059         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22060         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22061         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22062         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22063         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22064         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22065         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22066         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22067         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22068         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22069         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22070         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22071         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22072         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22073         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22074         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22075         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22076         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22077         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22078         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22079         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22081 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22083         * sysdeps/x86_64/dla.h: Move to ...
22084         * sysdeps/x86_64/fpu/dla.h: ...here.
22085         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22086         situations.  Use __builtin_fma only for gcc 4.6 and up.
22088         * config.make.in: Add have-mfma4 entry.
22089         * configure.in: Substitute libc_cv_cc_fma4.
22090         * math/Makefile (dbl-only-routines): Add sincostab.
22091         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22092         Use __sincostab not sincos.
22093         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22094         name is a macro.
22095         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22098         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
22099         using __copysign.
22100         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22101         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22102         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22103         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22104         and __inv.
22105         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22106         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22107         __copysign.
22108         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22109         define aliases when function name is a macro.
22110         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22111         sysdeps/ieee754/dbl-64/sincos.tbl.
22112         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22113         fma4-enabled routines.
22114         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22115         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22116         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22117         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22118         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22119         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22120         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22121         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22122         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22123         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22124         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22125         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22126         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22127         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22128         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22129         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22130         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22131         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22132         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22133         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22134         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22135         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22136         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22137         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22138         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22139         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22140         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22141         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22142         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22143         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22145         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22146         rename.
22147         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22148         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22149         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22150         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22151         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22152         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22153         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22154         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22156 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22158         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22160 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22162         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22164         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22165         prediction.
22166         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22168         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22169         Remove unused variable magic_bits.
22170         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22172         * string/strnlen.c: Define and use STRNLEN macro.
22173         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22174         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22175         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22176         * wcsmbs/wcslen.c: Define and use WCSLEN.
22177         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22178         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22179         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22180         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22181         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22182         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22183         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22185 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22187         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22188         strnlen-sse2-no-bsf.
22189         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22190         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22191         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22192         Add strnlen support.
22193         (USE_AS_STRNLEN): New macro.
22194         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22195         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22196         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22197         * sysdeps/x86_64/wcslen.S: New file.
22199 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22201         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22202         XMM-moves are used for copying on small sizes.
22204 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22206         * wcsmbs/Makefile (strop-tests): Add wcschr.
22207         * wcsmbs/test-wcschr.c: New file.
22208         * string/test-strchr.c: Update.
22209         Add wcschr support.
22210         (WIDE): New macro.
22212 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22214         * wcsmbs/Makefile (strop-tests): Add wcslen.
22215         * wcsmbs/test-wcslen.c: New file.
22216         * string/test-strlen.c: Update.
22217         Add wcslen support.
22218         (WIDE): New macro.
22220 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22222         * po/it.po: Update from translation team.
22224 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22226         * sysdeps/x86_64/wcscmp.S: Update.
22227         Fix wrong comparison semantics.
22228         wcscmp shall use signed comparison not unsigned.
22229         Don't use substraction to avoid overflow bug.
22230         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22231         * wcsmbc/wcscmp.c: Likewise.
22232         * string/test-strcmp.c: Likewise.
22233         Add new tests to check cases with negative values.
22235 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22237         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22238         * sysdeps/x86_64/dla.h: ...here.  New file.
22239         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22240         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22241         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22242         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22243         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22244         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22245         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22246         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22247         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22249 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22251         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22252         __ynl_finite aliases.
22254 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22258         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22259         define DLA_FMA.
22260         [DLA_FMA] (EMULV): Use DLA_FMA.
22261         [DLA_FMA] (MUL12): Use EMULV.
22262         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22263         that are not needed.
22264         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22265         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22266         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22267         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22268         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22269         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22270         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22272 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22274         * math/s_nan.c: Undef __nan.
22275         * math/s_nanf.c: Undef __nanf.
22276         * math/s_nanl.c: Undef __nanl.
22277         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22278         "math_private.h".
22280 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22282         * math/s_catan.c: Add branch predictions.
22283         * math/s_catanf.c: Likewise.
22284         * math/s_catanh.c: Likewise.
22285         * math/s_catanhf.c: Likewise.
22286         * math/s_catanhl.c: Likewise.
22287         * math/s_catanl.c: Likewise.
22288         * math/s_cexp.c: Likewise.
22289         * math/s_cexpf.c: Likewise.
22290         * math/s_cexpl.c: Likewise.
22291         * math/s_clog.c: Likewise.
22292         * math/s_clog10.c: Likewise.
22293         * math/s_clog10f.c: Likewise.
22294         * math/s_clog10l.c: Likewise.
22295         * math/s_clogf.c: Likewise.
22296         * math/s_clogl.c: Likewise.
22297         * math/s_csqrt.c: Likewise.
22298         * math/s_csqrtf.c: Likewise.
22299         * math/s_csqrtl.c: Likewise.
22300         * math/s_ctanf.c: Likewise.
22301         * math/s_ctanh.c: Likewise.
22302         * math/s_ctanhf.c: Likewise.
22303         * math/s_ctanhl.c: Likewise.
22304         * math/s_ctanl.c: Likewise.
22306         * math/math_private.h: Define __nan, __nanf, __nanl.
22307         * math/s_cacosh.c: Include <math_private.h>.
22308         * math/s_cacoshl.c: Likewise.
22309         * math/s_casinh.c: Likewise.
22310         * math/s_casinhf.c: Likewise.
22311         * math/s_casinhl.c: Likewise.
22312         * math/s_ccos.c: Rely entire on ccosh.
22313         * math/s_ccosf.c: Rely entire on ccoshf.
22314         * math/s_ccosl.c: Rely entirely on ccoshl.
22315         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22316         Remove tests for FE_INVALID.
22317         * math/s_ccoshf.c: Likewise.
22318         * math/s_ccoshl.c: Likewise.
22319         * math/s_csin.c: Likewise.
22320         * math/s_csinf.c: Likewise.
22321         * math/s_csinh.c Likewise.
22322         * math/s_csinhf.c: Likewise.
22323         * math/s_csinhl.c: Likewise.
22324         * math/s_csinl.c: Likewise.
22325         * math/s_ctan.c: Likewise.
22326         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22327         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22328         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22330 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22332         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22333         compilation problems.
22335         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22336         __builtin_expect.
22338 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22340         * sysdeps/i386/configure.in: Test for -mfma4 option.
22341         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22342         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22343         COMMON_CPUID_INDEX_80000001.
22344         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22345         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22346         use it if FMA3 is not supported.
22347         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22349         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22350         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22352 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22354         [BZ #12892]
22355         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22356         it would create a cycle with a link time dependency.
22358 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22360         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22361         instruction.
22362         * string/Makefile (strop-tests): Add rawmemchr.
22363         * string/test-rawmemchr.c: New file.
22365         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22366         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22367         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22368         when compiling str{,n}casecmp and when AVX is available.  Hook up
22369         new optimized code in initializers.
22371 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22373         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22374         __feraiseexcept instead of feraiseexcept.
22376 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22378         * math/math_private.h: Define defaults for libc_fetestexcept and
22379         libc_feupdateenv.
22380         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22381         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22382         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22383         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22384         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22385         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22386         libc_fetestexcept and libc_feupdateenv.
22388         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22389         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22390         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22391         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22392         libc_feholdexcept_setround.
22394         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22395         Add s_nearbyint-c and s_nearbyintf-c.
22396         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22397         nearbyintf inlines.
22398         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22399         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22400         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22401         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22403         * math/math_private.h: Define defaults for libc_fegetround,
22404         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22405         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22406         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22407         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22408         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22409         standard functions.
22410         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22411         Remove comments and hacks for old compiler versions.
22412         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22413         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22414         libc_feholdexceptl.
22416 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22418         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22419         (__feraiseexcept_renamed): Add __NTH.
22420         (feraiseexcept): Add __NTH.  Rename local variables to fix
22421         namespace violations.
22423 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22425         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22427         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22429         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22430         recently added interfaces.
22431         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22433         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22434         about macro parameter expansion.
22436         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22437         __NO_MATH_INLINES is defined.  Cleanups.
22439         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22440         and __floorf is target has SSE4.1.
22441         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22442         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22443         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22444         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22446         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22447         name.
22448         (floorf): Likewise.
22450         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22452 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22454         * misc/sys/cdefs.h: Fix last change.
22456         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22457         database lookup.
22459 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22461         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22463         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22464         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22465         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22466         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22467         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22468         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22469         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22470         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22471         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22472         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22473         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22474         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22475         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22476         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22477         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22478         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22479         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22480         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22481         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22482         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22483         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22484         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22486         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22487         ceil, ceilf, floor, floorf.
22489         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22490         Perform IRELATIVE relocations last.
22492         * elf/do-rel.h: Add another parameter nrelative, replacing the
22493         local variable with the same name.  Change name of the function
22494         to end in Rel or Rela (uppercase).
22495         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22496         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22497         elf_dynamic_do_##reloc function.
22499 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22501         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22502         is sufficient, at least on modern CPUs.
22504         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22506         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22507         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22509         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22510         __expl_finite.
22511         * math/bits/math-finite.h: Add entries for exp.
22512         * math/e_expl.c: Add __*_finite alias.
22513         * sysdeps/i386/fpu/e_exp.S: Likewise.
22514         * sysdeps/i386/fpu/e_expf.S: Likewise.
22515         * sysdeps/i386/fpu/e_expl.c: Likewise.
22516         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22517         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22518         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22519         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22520         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22521         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22522         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22524         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22525         is sufficient, at least on modern CPUs.
22527         * ctype/ctype-info.c (__ctype_init): Define.
22528         * include/ctype.h (__ctype_init): Declare.
22529         (__ctype_b_loc): The variable is always initialized.
22530         (__ctype_toupper_loc): Likewise.
22531         (__ctype_tolower_loc): Likewise.
22532         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22533         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22535 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22537         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22539         * configure.in: Also look in $cxxmachine/include for C++ system
22540         headers.
22542 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22544         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22545         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22546         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22547         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22548         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22549         (USE_AS_WMEMCMP): New macro.
22550         Fixing indents.
22551         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22552         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22553         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22554         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22555         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22556         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22557         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22558         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22559         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22560         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22561         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22562         (USE_AS_WMEMCMP): New macro.
22563         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22564         * sysdeps/string/test-memcmp.c: Update.
22565         Fix simple_wmemcmp.
22566         Add new tests.
22567         * wcsmbs/wmemcmp.c: Update.
22568         (WMEMCMP): New macro.
22569         Fix overflow bug.
22571 2011-10-12  Andreas Jaeger  <aj@suse.de>
22573         [BZ #13268]
22574         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22576 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22578         * libio/iofwide.c (do_length): Avoid warning.
22580         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22582 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22584         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22586         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22587         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22588         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22589         * sysdeps/i386/i686/fpu/e_log.S: New file.
22590         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22591         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22593         * ctype/ctype.h: Add support for inlined isXXX functions when
22594         compiling C++ code.
22596 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22598         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22600         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22602 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22604         [BZ #13291]
22605         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22607 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22609         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22610         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22611         feraiseexcept.
22613         * sysdeps/x86_64/memrchr.S: Check for zero size.
22615         * string/stratcliff.c: Add memrchr tests.
22617 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22619         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22620         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22621         rawmemchr-sse2 rawmemchr-sse2-bsf.
22622         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22623         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22624         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22625         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22626         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22627         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22628         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22629         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22630         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22631         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22632         * string/memrchr.c (MEMRCHR): New macro.
22634 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22636         Add integration with gcc's -ffinite-math-only and optimize wrapper
22637         functions in libm.
22638         * Versions.def: Define GLIBC_2.15 version for libm.
22639         * math/Makefile (headers): Add bits/math-finite.h.
22640         * math/bits/math-finite.h: New file.
22641         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22642         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22643         * math/e_acoshl.c: Add __*_finite alias.
22644         * math/e_acosl.c: Likewise.
22645         * math/e_asinl.c: Likewise.
22646         * math/e_atan2l.c: Likewise.
22647         * math/e_atanhl.c: Likewise.
22648         * math/e_coshl.c: Likewise.
22649         * math/e_exp10.c: Likewise.
22650         * math/e_exp10f.c: Likewise.
22651         * math/e_exp10l.c: Likewise.
22652         * math/e_exp2l.c: Likewise.
22653         * math/e_fmodl.c: Likewise.
22654         * math/e_gammal_r.c: Likewise.
22655         * math/e_hypotl.c: Likewise.
22656         * math/e_j0l.c: Likewise.
22657         * math/e_j1l.c: Likewise.
22658         * math/e_jnl.c: Likewise.
22659         * math/e_lgammal_r.c: Likewise.
22660         * math/e_log10l.c: Likewise.
22661         * math/e_log2l.c: Likewise.
22662         * math/e_logl.c: Likewise.
22663         * math/e_powl.c: Likewise.
22664         * math/e_sinhl.c: Likewise.
22665         * math/e_sqrtl.c: Likewise.
22666         * math/e_scalb.c: Completely rewritten and optimized.
22667         * math/e_scalbf.c: Likewise.
22668         * math/e_scalbl.c: Likewise.
22669         * math/w_acos.c: Likewise.
22670         * math/w_acosf.c: Likewise.
22671         * math/w_acosl.c: Likewise.
22672         * math/w_acosh.c: Likewise.
22673         * math/w_acoshf.c: Likewise.
22674         * math/w_acoshl.c: Likewise.
22675         * math/w_asin.c: Likewise.
22676         * math/w_asinf.c: Likewise.
22677         * math/w_asinl.c: Likewise.
22678         * math/w_atan2.c: Likewise.
22679         * math/w_atan2f.c: Likewise.
22680         * math/w_atan2l.c: Likewise.
22681         * math/w_atanh.c: Likewise.
22682         * math/w_atanhf.c: Likewise.
22683         * math/w_atanhl.c: Likewise.
22684         * math/w_exp10.c: Likewise.
22685         * math/w_exp10f.c: Likewise.
22686         * math/w_exp10l.c: Likewise.
22687         * math/w_fmod.c: Likewise.
22688         * math/w_fmodf.c: Likewise.
22689         * math/w_fmodl.c: Likewise.
22690         * math/w_j0.c: Likewise.
22691         * math/w_j0f.c: Likewise.
22692         * math/w_j0l.c: Likewise.
22693         * math/w_j1.c: Likewise.
22694         * math/w_j1f.c: Likewise.
22695         * math/w_j1l.c: Likewise.
22696         * math/w_jn.c: Likewise.
22697         * math/w_jnf.c: Likewise.
22698         * math/w_log.c: Likewise.
22699         * math/w_logf.c: Likewise.
22700         * math/w_logl.c: Likewise.
22701         * math/w_log10.c: Likewise.
22702         * math/w_log10f.c: Likewise.
22703         * math/w_log10l.c: Likewise.
22704         * math/w_log2.c: Likewise.
22705         * math/w_log2f.c: Likewise.
22706         * math/w_log2l.c: Likewise.
22707         * math/w_pow.c: Likewise.
22708         * math/w_powf.c: Likewise.
22709         * math/w_powl.c: Likewise.
22710         * math/w_remainder.c: Likewise.
22711         * math/w_remainderf.c: Likewise.
22712         * math/w_remainderl.c: Likewise.
22713         * math/w_scalb.c: Likewise.
22714         * math/w_scalbf.c: Likewise.
22715         * math/w_scalbl.c: Likewise.
22716         * math/w_sqrt.c: Likewise.
22717         * math/w_sqrtf.c: Likewise.
22718         * math/w_sqrtl.c: Likewise.
22719         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22720         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22721         used.
22722         * math/math_private.h: Declare __kernel_standard_f.
22723         * math/w_cosh.c: Remove cruft and optimize a bit.
22724         * math/w_coshf.c: Likewise.
22725         * math/w_coshl.c: Likewise.
22726         * math/w_exp2.c: Likewise.
22727         * math/w_exp2f.c: Likewise.
22728         * math/w_exp2l.c: Likewise.
22729         * math/w_hypot.c: Likewise.
22730         * math/w_hypotf.c: Likewise.
22731         * math/w_hypotl.c: Likewise.
22732         * math/w_lgamma.c: Likewise.
22733         * math/w_lgamma_r.c: Likewise.
22734         * math/w_lgammaf.c: Likewise.
22735         * math/w_lgammaf_r.c: Likewise.
22736         * math/w_lgammal.c: Likewise.
22737         * math/w_lgammal_r.c: Likewise.
22738         * math/w_sinh.c: Likewise.
22739         * math/w_sinhf.c: Likewise.
22740         * math/w_sinhl.c: Likewise.
22741         * math/w_tgamma.c: Likewise.
22742         * math/w_tgammaf.c: Likewise.
22743         * math/w_tgammal.c: Likewise.
22744         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22745         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22746         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22747         Minor optimizations.  Pretty printing.  Remove cruft.
22748         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22749         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22750         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22751         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22752         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22753         * sysdeps/i386/fpu/e_asin.S: Likewise.
22754         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22755         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22756         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22757         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22758         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22759         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22760         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22761         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22762         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22763         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22764         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22765         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22766         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22767         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22768         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22769         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22770         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22771         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22772         * sysdeps/i386/fpu/e_log.S: Likewise.
22773         * sysdeps/i386/fpu/e_log10.S: Likewise.
22774         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22775         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22776         * sysdeps/i386/fpu/e_log2.S: Likewise.
22777         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22778         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22779         * sysdeps/i386/fpu/e_logf.S: Likewise.
22780         * sysdeps/i386/fpu/e_logl.S: Likewise.
22781         * sysdeps/i386/fpu/e_pow.S: Likewise.
22782         * sysdeps/i386/fpu/e_powf.S: Likewise.
22783         * sysdeps/i386/fpu/e_powl.S: Likewise.
22784         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22785         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22786         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22787         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22788         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22789         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22790         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22791         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22792         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22793         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22794         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22796         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22797         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22798         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22799         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22800         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22801         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22802         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22803         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22804         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22805         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22806         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22807         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22808         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22809         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22810         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22811         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22812         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22813         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22814         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22815         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22816         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22817         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22818         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22819         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22820         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22821         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22822         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22823         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22824         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22825         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22826         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22827         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22828         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22829         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22830         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22831         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22832         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22833         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22834         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22835         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22836         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22837         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22838         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22839         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22840         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22841         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22842         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22843         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22844         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22845         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22846         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22847         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22848         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22849         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22850         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22851         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22852         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22853         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22854         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22855         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22856         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22857         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22858         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22859         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22860         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22861         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22862         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22863         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22864         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22865         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22866         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22867         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22868         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22869         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22870         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22871         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22872         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22873         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22874         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22875         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22876         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22877         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22878         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22879         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22880         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22881         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22882         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22883         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22884         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22885         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22886         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22887         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22888         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22889         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22890         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22891         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22892         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22893         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22894         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22895         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22896         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22897         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22898         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22899         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22900         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22901         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22902         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22903         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22904         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22905         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22906         (__isnanf): Likewise.
22907         (__isinf_ns): Likewise.
22908         (__isinf_nsf): Likewise.
22909         (__finite): Likewise.
22910         (__finitef): Likewise.
22911         (__ieee754_sqrt): Define as macro.
22912         (__ieee754_sqrtf): Define as macro.
22913         (__ieee754_sqrtl): Define as macro.
22914         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22915         inlined copy.
22916         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22917         __FINITE_MATH_ONLY__ consistent.
22918         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22920 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22922         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22923         of rawmemchr.
22925         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22927 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22929         * po/ja.po: Update from translation team.
22931 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22933         * locale/programs/locarchive.c (prepare_address_space): New function.
22934         (create_archive, enlarge_archive, open_archive): Use it.
22936         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22937         inside [SHARED], where it is used.
22939         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22941         * nss/getent.c (netgroup_keys): Remove unused variable.
22942         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22944 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22946         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22947         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22948         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22949         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22950         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22951         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22952         * math/Makefile (libm-calls): Add s_isinf_ns.
22953         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22954         * math/multc3.c: Likewise.
22955         * math/s_casin.c: Likewise.
22956         * math/s_casinf.c: Likewise.
22957         * math/s_casinl.c: Likewise.
22958         * math/s_ccos.c: Likewise.
22959         * math/s_ccosf.c: Likewise.
22960         * math/s_ccosl.c: Likewise.
22961         * math/s_ctan.c: Likewise.
22962         * math/s_ctanf.c: Likewise.
22963         * math/s_ctanh.c: Likewise.
22964         * math/s_ctanhf.c: Likewise.
22965         * math/s_ctanhl.c: Likewise.
22966         * math/s_ctanl.c: Likewise.
22967         * math/w_fmod.c: Likewise.
22968         * math/w_fmodf.c: Likewise.
22969         * math/w_fmodl.c: Likewise.
22970         * math/w_remainder.c: Likewise.
22971         * math/w_remainderf.c: Likewise.
22972         * math/w_remainderl.c: Likewise.
22973         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22974         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22975         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22976         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22977         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22978         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22979         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22980         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22982         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22983         of the number.
22984         * stdio-common/printf_fphex.c: Likewise.
22985         * stdio-common/printf_size.c: Likewise.
22987         * math/e_exp10.c: Include math_private.h using <...> not "...".
22988         * math/e_exp10f.c: Likewise.
22989         * math/e_exp10l.c: Likewise.
22990         * math/e_exp2l.c: Likewise.
22991         * math/e_j0l.c: Likewise.
22992         * math/e_j1l.c: Likewise.
22993         * math/e_jnl.c: Likewise.
22994         * math/e_lgammal_r.c: Likewise.
22995         * math/e_rem_pio2l.c: Likewise.
22996         * math/e_scalb.c: Likewise.
22997         * math/e_scalbf.c: Likewise.
22998         * math/e_scalbl.c: Likewise.
22999         * math/k_cosl.c: Likewise.
23000         * math/k_sinl.c: Likewise.
23001         * math/k_tanl.c: Likewise.
23002         * math/s_cacoshf.c: Likewise.
23003         * math/s_catan.c: Likewise.
23004         * math/s_catanf.c: Likewise.
23005         * math/s_catanh.c: Likewise.
23006         * math/s_catanhf.c: Likewise.
23007         * math/s_catanhl.c: Likewise.
23008         * math/s_catanl.c: Likewise.
23009         * math/s_ccosh.c: Likewise.
23010         * math/s_ccoshf.c: Likewise.
23011         * math/s_ccoshl.c: Likewise.
23012         * math/s_cexp.c: Likewise.
23013         * math/s_cexpf.c: Likewise.
23014         * math/s_cexpl.c: Likewise.
23015         * math/s_clog.c: Likewise.
23016         * math/s_clog10.c: Likewise.
23017         * math/s_clog10f.c: Likewise.
23018         * math/s_clog10l.c: Likewise.
23019         * math/s_clogf.c: Likewise.
23020         * math/s_clogl.c: Likewise.
23021         * math/s_csin.c: Likewise.
23022         * math/s_csinf.c: Likewise.
23023         * math/s_csinh.c: Likewise.
23024         * math/s_csinhf.c: Likewise.
23025         * math/s_csinhl.c: Likewise.
23026         * math/s_csinl.c: Likewise.
23027         * math/s_csqrt.c: Likewise.
23028         * math/s_csqrtf.c: Likewise.
23029         * math/s_csqrtl.c: Likewise.
23030         * math/s_ctan.c: Likewise.
23031         * math/s_ctanf.c: Likewise.
23032         * math/s_ctanh.c: Likewise.
23033         * math/s_ctanhf.c: Likewise.
23034         * math/s_ctanhl.c: Likewise.
23035         * math/s_ctanl.c: Likewise.
23036         * math/s_ldexp.c: Likewise.
23037         * math/s_ldexpf.c: Likewise.
23038         * math/s_ldexpl.c: Likewise.
23039         * math/s_significand.c: Likewise.
23040         * math/s_significandf.c: Likewise.
23041         * math/s_significandl.c: Likewise.
23042         * math/w_acos.c: Likewise.
23043         * math/w_acosf.c: Likewise.
23044         * math/w_acosh.c: Likewise.
23045         * math/w_acoshf.c: Likewise.
23046         * math/w_acoshl.c: Likewise.
23047         * math/w_acosl.c: Likewise.
23048         * math/w_asin.c: Likewise.
23049         * math/w_asinf.c: Likewise.
23050         * math/w_asinl.c: Likewise.
23051         * math/w_atan2.c: Likewise.
23052         * math/w_atan2f.c: Likewise.
23053         * math/w_atan2l.c: Likewise.
23054         * math/w_atanh.c: Likewise.
23055         * math/w_atanhf.c: Likewise.
23056         * math/w_atanhl.c: Likewise.
23057         * math/w_cosh.c: Likewise.
23058         * math/w_coshf.c: Likewise.
23059         * math/w_coshl.c: Likewise.
23060         * math/w_dremf.c: Likewise.
23061         * math/w_exp10.c: Likewise.
23062         * math/w_exp10f.c: Likewise.
23063         * math/w_exp10l.c: Likewise.
23064         * math/w_exp2.c: Likewise.
23065         * math/w_exp2f.c: Likewise.
23066         * math/w_fmod.c: Likewise.
23067         * math/w_fmodf.c: Likewise.
23068         * math/w_fmodl.c: Likewise.
23069         * math/w_hypot.c: Likewise.
23070         * math/w_hypotf.c: Likewise.
23071         * math/w_hypotl.c: Likewise.
23072         * math/w_j0.c: Likewise.
23073         * math/w_j0f.c: Likewise.
23074         * math/w_j0l.c: Likewise.
23075         * math/w_j1.c: Likewise.
23076         * math/w_j1f.c: Likewise.
23077         * math/w_j1l.c: Likewise.
23078         * math/w_jn.c: Likewise.
23079         * math/w_jnf.c: Likewise.
23080         * math/w_jnl.c: Likewise.
23081         * math/w_lgamma.c: Likewise.
23082         * math/w_lgamma_r.c: Likewise.
23083         * math/w_lgammaf.c: Likewise.
23084         * math/w_lgammaf_r.c: Likewise.
23085         * math/w_lgammal.c: Likewise.
23086         * math/w_lgammal_r.c: Likewise.
23087         * math/w_log.c: Likewise.
23088         * math/w_log10.c: Likewise.
23089         * math/w_log10f.c: Likewise.
23090         * math/w_log10l.c: Likewise.
23091         * math/w_log2.c: Likewise.
23092         * math/w_log2f.c: Likewise.
23093         * math/w_log2l.c: Likewise.
23094         * math/w_logf.c: Likewise.
23095         * math/w_logl.c: Likewise.
23096         * math/w_pow.c: Likewise.
23097         * math/w_powf.c: Likewise.
23098         * math/w_powl.c: Likewise.
23099         * math/w_remainder.c: Likewise.
23100         * math/w_remainderf.c: Likewise.
23101         * math/w_remainderl.c: Likewise.
23102         * math/w_scalb.c: Likewise.
23103         * math/w_scalbf.c: Likewise.
23104         * math/w_scalbl.c: Likewise.
23105         * math/w_sinh.c: Likewise.
23106         * math/w_sinhf.c: Likewise.
23107         * math/w_sinhl.c: Likewise.
23108         * math/w_sqrt.c: Likewise.
23109         * math/w_sqrtf.c: Likewise.
23110         * math/w_sqrtl.c: Likewise.
23111         * math/w_tgamma.c: Likewise.
23112         * math/w_tgammaf.c: Likewise.
23113         * math/w_tgammal.c: Likewise.
23115         * po/ja.po: Update from translation team.
23117 2011-09-29  Andreas Jaeger  <aj@suse.de>
23119         [BZ #13179]
23120         * sunrpc/netname.c (netname2host): Fix logic.
23122         [BZ #6779]
23123         [BZ #6783]
23124         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23125         correctly.
23126         * math/w_remainder.c (__remainder): Likewise.
23127         * math/w_remainderf.c (__remainderf): Likewise.
23128         * math/libm-test.inc (remainder_test): Add test cases.
23130 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23132         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23133         sdiv_qrnnd.
23135 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23137         * string/test-memcmp.c: Avoid unncessary #defines.
23138         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23140 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23142         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23143         Use new sse2 version for core i3 - i7 as it's faster
23144         than sse42 version.
23145         (bit_Prefer_PMINUB_for_stringop): New.
23146         * sysdeps/x86_64/rawmemchr.S: Update.
23147         Replace with faster SSE2 version.
23148         * sysdeps/x86_64/memrchr.S: New file.
23149         * sysdeps/x86_64/memchr.S: Update.
23150         Replace with faster SSE2 version.
23152 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23154         * elf/dl-load.c (lose): Add cast to avoid warning.
23156 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23158         * po/ca.po: Update from translation team.
23160         * inet/getnetgrent_r.c: Hook up nscd.
23161         * nscd/Makefile (routines): Add nscd_netgroup.
23162         (nscd-modules): Add netgroupcache.
23163         (CFLAGS-netgroupcache.c): Define.
23164         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23165         (cache_search): Add const to second parameter.
23166         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23167         INNETGR.
23168         (dbs): Add netgrdb entry.
23169         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23170         (verify_persistent_db): Handle netgrdb.
23171         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23172         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23173         GETFDNETGR.
23174         (netgroup_response_header): Define.
23175         (innetgroup_response_header): Define.
23176         (datahead): Add netgroup_response_header and innetgroup_response_header
23177         elements.
23178         * nscd/nscd.conf: Add entries for netgroup cache.
23179         * nscd/nscd.h (dbtype): Add netgrdb.
23180         (_PATH_NSCD_NETGROUP_DB): Define.
23181         (netgroup_iov_disabled): Declare.
23182         (xmalloc, xcalloc, xrealloc): Move declarations here.
23183         (cache_search): Adjust prototype.
23184         Add netgroup-related prototypes.
23185         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23186         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23187         (__nscd_innetgr): Declare.
23188         * nscd/selinux.c (perms): Use access_vector_t as element type and
23189         add netgroup-related initializers.
23190         * nscd/netgroupcache.c: New file.
23191         * nscd/nscd_netgroup.c: New file.
23192         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23193         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23194         For four parameters use innetgr.
23195         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23196         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23197         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23198         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23200         * nscd/connections.c (register_traced_file): Don't register file
23201         for disabled databases.
23203 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23205         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23207         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23208         from tree and freeing node.
23210 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23212         * nss/nsswitch.c (__nss_database_lookup): Handle
23213         nss_parse_service_list out of memory case.
23215 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23217         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23218         out of memory case.
23220 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23222         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23223         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23224         pass it down.
23225         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23226         elf_machine_rela, elf_machine_lazy_rel.
23227         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23228         (ELF_DYNAMIC_DO_REL): Likewise.
23229         (ELF_DYNAMIC_DO_RELA): Likewise.
23230         (ELF_DYNAMIC_RELOCATE): Likewise.
23231         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23232         to ELF_DYNAMIC_DO_REL.
23233         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23234         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23235         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23236         elf_machine_rela.
23237         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23238         skip_ifunc, don't call ifunc function if non-zero.
23239         (elf_machine_rela): Likewise.
23240         (elf_machine_lazy_rel): Likewise.
23241         (elf_machine_lazy_rela): Likewise.
23242         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23243         (elf_machine_lazy_rel): Likewise.
23244         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23245         Likewise.
23246         (elf_machine_lazy_rel): Likewise.
23247         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23248         Likewise.
23249         (elf_machine_lazy_rel): Likewise.
23250         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23251         (elf_machine_lazy_rel): Likewise.
23252         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23253         (elf_machine_lazy_rel): Likewise.
23254         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23255         (elf_machine_lazy_rel): Likewise.
23256         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23257         (elf_machine_lazy_rel): Likewise.
23258         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23259         (elf_machine_lazy_rel): Likewise.
23260         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23261         (elf_machine_lazy_rel): Likewise.
23263 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23265         * nss/nss_files/files-init.c (_nss_files_init): Use static
23266         initialization for all the *_traced_file variables.
23268 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23270         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23272 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23274         [BZ #13226]
23275         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23277 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23279         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23280         Reread the line before reparsing it.
23282 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23284         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23286 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23287             Maxim Kuvyrkov  <maxim@codesourcery.com>
23288             Joseph Myers  <joseph@codesourcery.com>
23290         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23291         if needed for __stack_chk_guard.
23293 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23295         * sysdeps/posix/spawni.c (script_execute): Always define it.
23296         It will be optimized away if unused.
23297         (maybe_script_execute): New function.
23298         (__spawni): Call it.
23300         * Makerules: Don't include tls.make.
23301         (config-tls): Always set to thread.
23302         * tls.make.c: File removed.
23304 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23306         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23307         * config.make.in (CPPFLAGS-config): New substituted variable.
23309 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23311         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23313         [BZ #13192]
23314         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23315         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23317 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23319         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23320         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23321         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23322         (CALL_FAIL): Likewise.
23323         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23324         (CALL_FAIL): Macro removed.
23325         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23327 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23329         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23330         for __FINITE_MATH_ONLY__ == 1.
23332 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23334         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23335         __ieee754_sqrt instead of sqrt.
23336         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23337         __ieee754_sqrtf instead of sqrtf.
23338         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23339         __floorf instead of floorf.
23340         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23341         __floorf, __truncf instead of floorf, truncf.
23343 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23345         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23347         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23348         __extern_always_inline.
23349         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23350         32-bit.
23352 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23354         * elf/rtld.c (dl_main): Also relocate in dependency order when
23355         doing symbol dependency testing.
23357 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23359         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23360         Always define `refsym'.
23362 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23364         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23365         (__FD_ELT): Renamed from __FDELT.
23366         * misc/bits/select2.h (__FD_ELT): Likewise.
23367         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23368         __FD_MASK instead of __FDELT, __FDMASK.
23369         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23370         Likewise.
23371         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23372         Likewise.
23374         * elf/Makefile (gen-ldd): Fix pattern.
23376         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23377         (init_tls): Likewise.
23379 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23381         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23383 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23385         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23386         `struct cmsghdr *' instead of `void *'.
23387         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23388         Likewise.
23390 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23392         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23393         if non-absolute.
23394         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23395         ldd_rewrite_script.
23397 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23399         * configure.in: Remove --with-tls option.
23400         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23401         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23402         out in case it is missing.
23403         * sysdeps/ia64/elf/configure.in: Likewise.
23404         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23405         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23406         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23407         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23408         * sysdeps/sh/elf/configure.in: Likewise.
23409         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23410         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23411         * sysdeps/x86_64/elf/configure.in: Likewise.
23412         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23413         * sysdeps/mach/hurd/tls.h: Likewise.
23415         [BZ #13067]
23416         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23418         [BZ #13090]
23419         * configure.in: Fix use of AC_INIT.
23421         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23423 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23425         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23426         __set_errno.
23427         * malloc/hooks.c: Likewise.
23429         [BZ #11929]
23430         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23431         variables statically.
23432         (narenas): Initialize.
23433         (list_lock): Initialize.
23434         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23435         initializtion of main_arena and list_lock.  Small cleanups.
23436         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23437         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23438         Add initializers to main_arena and mp_.
23439         (malloc_state): Remove pagesize member.  Change all users to use
23440         GLRO(dl_pagesize).
23442         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23443         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23444         is always initialized.
23446         * malloc/malloc.c: Removed unused configurations and dead code.
23447         * malloc/arena.c: Likewise.
23448         * malloc/hooks.c: Likewise.
23449         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23451         * include/tls.h: Removed.  USE___THREAD must always be defined.
23452         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23453         * elf/dl-libc.c: Likewise.
23454         * elf/dl-tsd.c: Likewise.
23455         * include/errno.h: Likewise.
23456         * include/netdb.h: Likewise.
23457         * include/resolv.h: Likewise.
23458         * inet/herrno-loc.c: Likewise.
23459         * inet/herrno.c: Likewise.
23460         * malloc/arena.c: Likewise.
23461         * malloc/hooks.c: Likewise.
23462         * malloc/malloc.c: Likewise.
23463         * resolv/res-state.c: Likewise.
23464         * resolv/res_libc.c: Likewise.
23465         * sysdeps/i386/dl-machine.h: Likewise.
23466         * sysdeps/ia64/dl-machine.h: Likewise.
23467         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23468         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23469         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23470         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23471         * sysdeps/sh/dl-machine.h: Likewise.
23472         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23473         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23474         * sysdeps/unix/i386/sysdep.S: Likewise.
23475         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23476         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23477         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23478         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23479         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23480         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23481         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23483         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23485         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23486         * sysdeps/x86_64/dl-machine.h: Likewise.
23487         * tls.make.c: Likewise.
23489         * configure.in: Remove --with-__thread option.  Make tests for
23490         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23491         tls_model attribute fail if no support is available.  Remove
23492         USE_IN_LIBIO.
23493         * Makeconfig: Adjust for dropped configure option.  All features are
23494         now mandatory.
23495         * Makerules: Likewise.
23496         * Versions.def: Likewise.
23497         * argp/argp-fmtstream.c: Likewise.
23498         * argp/argp-fmtstream.h: Likewise.
23499         * argp/argp-help.c: Likewise.
23500         * assert/assert.c: Likewise.
23501         * config.h.in: Likewise.
23502         * config.make.in: Likewise.
23503         * configure: Likewise.
23504         * configure.in: Likewise.
23505         * csu/Versions: Likewise.
23506         * csu/init.c: Likewise.
23507         * elf/tst-audit2.c: Likewise.
23508         * elf/tst-tls10.c: Likewise.
23509         * elf/tst-tls10.h: Likewise.
23510         * elf/tst-tls11.c: Likewise.
23511         * elf/tst-tls12.c: Likewise.
23512         * elf/tst-tls14.c: Likewise.
23513         * elf/tst-tlsmod11.c: Likewise.
23514         * elf/tst-tlsmod12.c: Likewise.
23515         * elf/tst-tlsmod13.c: Likewise.
23516         * elf/tst-tlsmod13a.c: Likewise.
23517         * elf/tst-tlsmod14a.c: Likewise.
23518         * elf/tst-tlsmod15b.c: Likewise.
23519         * elf/tst-tlsmod16a.c: Likewise.
23520         * elf/tst-tlsmod16b.c: Likewise.
23521         * elf/tst-tlsmod7.c: Likewise.
23522         * elf/tst-tlsmod8.c: Likewise.
23523         * elf/tst-tlsmod9.c: Likewise.
23524         * gmon/gmon.c: Likewise.
23525         * grp/fgetgrent_r.c: Likewise.
23526         * grp/putgrent.c: Likewise.
23527         * hurd/fopenport.c: Likewise.
23528         * include/libc-symbols.h: Likewise.
23529         * include/tls.h: Likewise.
23530         * intl/gettextP.h: Likewise.
23531         * intl/loadinfo.h: Likewise.
23532         * locale/global-locale.c: Likewise.
23533         * locale/localeinfo.h: Likewise.
23534         * mach/devstream.c: Likewise.
23535         * malloc/arena.c: Likewise.
23536         * malloc/set-freeres.c: Likewise.
23537         * misc/err.c: Likewise.
23538         * misc/getttyent.c: Likewise.
23539         * misc/mntent_r.c: Likewise.
23540         * posix/getopt.c: Likewise.
23541         * posix/wordexp.c: Likewise.
23542         * pwd/fgetpwent_r.c: Likewise.
23543         * resolv/Versions: Likewise.
23544         * resolv/res_hconf.c: Likewise.
23545         * shadow/fgetspent_r.c: Likewise.
23546         * shadow/putspent.c: Likewise.
23547         * stdio-common/printf_fphex.c: Likewise.
23548         * stdio-common/tmpfile.c: Likewise.
23549         * stdlib/abort.c: Likewise.
23550         * stdlib/fmtmsg.c: Likewise.
23551         * sunrpc/auth_unix.c: Likewise.
23552         * sunrpc/clnt_perr.c: Likewise.
23553         * sunrpc/clnt_tcp.c: Likewise.
23554         * sunrpc/clnt_udp.c: Likewise.
23555         * sunrpc/clnt_unix.c: Likewise.
23556         * sunrpc/openchild.c: Likewise.
23557         * sunrpc/svc_simple.c: Likewise.
23558         * sunrpc/svc_tcp.c: Likewise.
23559         * sunrpc/svc_udp.c: Likewise.
23560         * sunrpc/svc_unix.c: Likewise.
23561         * sunrpc/xdr.c: Likewise.
23562         * sunrpc/xdr_array.c: Likewise.
23563         * sunrpc/xdr_rec.c: Likewise.
23564         * sunrpc/xdr_ref.c: Likewise.
23565         * sunrpc/xdr_stdio.c: Likewise.
23567 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23569         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23571 2011-07-03  Andreas Jaeger  <aj@suse.de>
23573         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23574         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23575         regenerate with gen-libm-tests.pl.
23577 2010-05-12  Petr Baudis  <pasky@suse.cz>
23579         [BZ #11589]
23580         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23581         around j0() zero points by switching to j1().
23582         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23583         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23584         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23585         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23587 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23589         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23590         instead of 0.
23591         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23592         instead of 0.
23593         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23594         Patch in part by Pavel Roskin <proski@gnu.org>.
23596         [BZ #13138]
23597         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23598         realloc.
23599         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23600         Free memory block if necessary.
23602         [BZ #12847]
23603         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23604         be NULL.  Don't lock in this case.
23606 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23608         * elf/elf.h (ELFOSABI_GNU): New macro.
23609         (ELFOSABI_LINUX): Define to that.
23611 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23613         * string/strncat.c (strncat): Undef the symbol in case it has been
23614         defined in bits/string.h.
23616 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23618         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23620         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23621         link map.
23623 2011-08-17  Andreas Jaeger  <aj@suse.de>
23625         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23627 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23628             Ian Lance Taylor  <iant@google.com>
23630         * math/libm-test.inc (lround_test): New testcase.
23631         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23633 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23635         * Makefile: Remove support for automatic cvs check-ins.
23636         * Makerules: Likewise.
23637         * config.make.in: Likewise.
23638         * configure.in: Likewise.
23639         * intl/Makefile: Likewise.
23640         * locale/Makefile: Likewise.
23641         * po/Makefile: Likewise.
23642         * posix/Makefile: Likewise.
23643         * sysdeps/gnu/Makefile: Likewise.
23644         * sysdeps/mach/hurd/Makefile: Likewise.
23645         * sysdeps/sparc/sparc32/Makefile: Likewise.
23647         [BZ #13118]
23648         * posix/Makefile (bug-regex32-ENV): Define.
23649         Patch by John Stanley <jpsinthemix@verizon.net>.
23651         * misc/Makefile (headers): Add bits/select2.h.
23652         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23653         * misc/bits/select2.h: New file.
23654         * include/bits/select2.h: New file.
23655         * debug/Makefile (routines): Add fdelt_chk.
23656         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23657         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23658         FD_ISSET.
23659         * debug/fdelt_chk.c: New file.
23661         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23662         * wcsmbs/test-wmemcmp.c: Likewise.
23663         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23664         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23666 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23668         * string/Makefile (strop-tests): Add memcmp.
23669         * string/test-wmemcmp.c: New file.
23670         * string/test-memcmp.c: Add wmemcmp support.
23672 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23674         [BZ #13153]
23675         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23676         2011-07-19 change.
23678         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23679         garbage value in a __mach_port_mod_refs call in the cases of the
23680         task-self and thread-self ports.
23682 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23684         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23686 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23688         * elf/dl-load.c (lose): Check for non-null L.
23690 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23692         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23694         * elf/dl-libc.c (dlerror_run): Pass back error code from
23695         dl_catch_error.
23697         [BZ #13123]
23698         * elf/dl-load.c (lose): Free l_origin if it is valid.
23700         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23701         names.
23702         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23703         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23704         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23705         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23706         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23707         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23709 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23711         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23712         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23713         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23714         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23715         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23716         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23717         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23718         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23719         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23720         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23722 2011-08-15  Alan Modra  <amodra@gmail.com>
23724         [BZ #13092]
23725         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23726         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23727         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23728         ppc_mcount to static-only-routines.
23729         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23730         __mcount_internal.
23731         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23732         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23734 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23736         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23737         for finite and infinity parameters.
23739 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23741         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23742         and add nop instructions for throughput optimization.
23743         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23745 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23747         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23748         aligned copy for power7 with vector-scalar instructions.
23749         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23751 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23753         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23754         AVX check.
23756 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23758         [BZ #13144]
23759         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23760         last change.
23762 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23764         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23765         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23766         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23767         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23768         clock_gettime.
23770 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23772         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23773         Forgot to demangle the pointer.
23775         * sysdeps/i386/sysdep.h: Define atom_text_section.
23776         * sysdeps/x86_64/sysdep.h: Likewise.
23777         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23778         section with atom_text_section.
23779         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23780         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23781         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23782         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23783         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23785         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23786         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23787         already be defined.  Change to take two parameters and don't assign
23788         result to variable.  Adjust all users.
23789         Define INTERNAL_GETTIME if not already defined.
23790         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23791         call.
23792         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23793         HAVE_CLOCK_GETTIME_VSYSCALL.
23794         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23796         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23797         gettimeofday vsyscall, just use time.
23799 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23801         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23802         <errno.h>.
23804 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23806         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23807         syscall on x86-64.
23808         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23809         syscall.
23810         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23811         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23812         syscall if possible.
23814 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23816         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23817         e_ident.  Don't pass to find_mapsXX.
23818         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23820 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23823         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23824         * sysdeps/x86_64/multiarch/strchr.S: Update.
23825         Check bit_slow_BSF bit.
23826         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23827         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23828         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23830 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23832         [BZ #13134]
23833         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23834         before glibc 2.15.
23835         (tryshell): Define.
23836         (__spawni): Change last parameter to be flag.  Test
23837         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23838         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23839         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23840         * posix/spawni.c: Likewise.
23841         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23842         * posix/spawnp.c: Likewise.  Change normal version to use
23843         SPAWN_XFLAGS_USE_PATH.
23844         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23845         SPAWN_XFLAGS_TRY_SHELL.
23847         [BZ #13150]
23848         * posix/glob.h: Remove gcc 1.x support.
23850         [BZ #13068]
23851         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23853 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23855         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23856         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23857         strrchr-sse2-bsf
23858         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23859         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23860         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23861         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23862         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23863         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23865 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23867         * sysdeps/x86_64/wcscmp.S: New file.
23869         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23870         wcscmp-c wcscmp-sse2
23871         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23872         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23873         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23874         * wcsmbs/wcscmp.c: Allow renaming.
23876 2011-09-05  David S. Miller  <davem@davemloft.net>
23878         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23879         stack slot, rather than the struct return pointer slot.
23880         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23881         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23883         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23885 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23887         * po/ja.po: Update from translation team.
23889         [BZ #13144]
23890         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23891         kernel in 64-bit binaries.
23893 2011-09-01  David S. Miller  <davem@davemloft.net>
23895         * elf/elf.h (HWCAP_SPARC_*): Move to..
23896         * sysdeps/sparc/sysdep.h: this new file and add new values.
23897         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23898         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23899         _DL_HWCAP_COUNT to 24.
23900         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23901         entries.
23902         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23903         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23904         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23905         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23906         instead of magic constants.
23907         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23909 2011-08-31  David S. Miller  <davem@davemloft.net>
23911         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23912         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23913         Reimplement to do errno handling inline.
23914         (SYSCALL_ERROR_HANDLER): New macro.
23915         (__SYSCALL_STRING): Do not do errno handling in asm.
23916         (__CLONE_SYSCALL_STRING): Delete.
23917         (__INTERNAL_SYSCALL_STRING): Delete.
23918         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23919         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23920         (PSEUDO): Reimplement to do errno handling inline.
23921         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23922         (SYSCALL_ERROR_HANDLER): New macro.
23923         (__SYSCALL_STRING): Do not do errno handling in asm.
23924         (__CLONE_SYSCALL_STRING): Delete.
23925         (__INTERNAL_SYSCALL_STRING): Delete.
23926         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23927         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23928         i386.
23929         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23930         (inline_syscall*): Add 'err' argument.
23931         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23932         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23933         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23934         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23936         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23937         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23939 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23941         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23943 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23945         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23946         directive.
23948 2011-08-24  David S. Miller  <davem@davemloft.net>
23950         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23952 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23954         * elf/Makefile: Add rules to build and run unload8 test.
23955         * elf/unload8.c: New file.
23956         * elf/unload8mod1.c: New file.
23957         * elf/unload8mod1x.c: New file.
23958         * elf/unload8mod2.c: New file.
23959         * elf/unload8mod3.c: New file.
23961         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23962         it wasn't used.
23964 2011-08-23  David S. Miller  <davem@davemloft.net>
23966         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23967         subtract stack bias.
23968         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23969         %sp not %fp in calculations.
23970         (_JMPBUF_UNWINDS_ADJ): Likewise.
23972         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23973         (aio_suspend): Call it to force an exception region around the
23974         AIO_MISC_WAIT() invocation.
23976 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23978         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23979         backslash.
23981 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23983         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23984         protection macro.
23985         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23986         and <dl-machine.h>.
23987         (Elf64_FuncDesc): Remove.
23989 2011-08-22  David S. Miller  <davem@davemloft.net>
23991         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23992         sigaltstack check, add missing cfi directives.
23993         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23994         missing cfi directives, and sigaltstack handling.
23996 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23998         [BZ #11724]
23999         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24000         object is seen twice.
24001         * elf/dl-fini.c (_dl_sort_fini): Likewise.
24003         * elf/Makefile (distribute): Add tst-initorder2.c.
24004         (tests): Add tst-initorder2.
24005         (modules-names): Add tst-initorder2a tst-initorder2b
24006         tst-initorder2c tst-initorder2d.  Add rules to build them.
24007         ($(objpfx)tst-initorder2.out): New rule.
24008         * elf/tst-initorder2.c: New file.
24009         * elf/tst-initorder2.exp: New file.
24011 2011-08-22  Andreas Schwab  <schwab@redhat.com>
24013         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24015         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24016         dependencies back to end of function.
24018         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24019         $(elfobjdir)/ld.so.
24021 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24023         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24024         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24025         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24026         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24027         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24028         of __vdso_gettimeofday.
24029         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24030         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24031         attribute_hidden.
24032         (_libc_vdso_platform_setup): Remove initialization of
24033         __vdso_gettimeofday and __vdso_time.
24035 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24037         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24038         and fgetc_unlocked.
24039         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24040         getc_unlocked.
24042         * elf/dl-open.c (add_to_global): Report additions to the global scope
24043         for LD_DEBUG=scopes.
24044         (dl_open_worker): Also print scope of newly loaded dependencies.
24045         (_dl_show_scope): Indicate if there is no scope.
24047         [BZ #13114]
24048         * stdio-common/Makefile (tests): Add bug24.
24049         * stdio-common/bug24.c: New file.
24051 2011-08-19  Andreas Jaeger  <aj@suse.de>
24053         [BZ #13114]
24054         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24055         non-existant file when using close-on-exec mode.
24057 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24059         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24060         the very first instruction.
24062         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24063         the CFI state in the end.
24064         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24065         inclusion of dl-trampoline.h.
24066         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24068 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24070         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24071         expectations for long double.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24074         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24076 2011-08-14  David S. Miller  <davem@davemloft.net>
24078         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24079         artificual limit depends upon the system page size.
24081 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24083         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24084         * resolv/Makefile: Define CFLAGS-libresolv.
24086 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24088         * nss/makedb.c (compute_tables): Make variables used in nested
24089         function static.
24091 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24093         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24094         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24095         if buffer was too small.
24097         * elf/pldd.c (main): Attach to all threads in the process.
24098         Rewrite /proc handling to use *at functions.
24100 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24102         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24103         specifies first scope to show.
24104         (dl_open_worker): Update callers.  Move printing scope of new
24105         object to before the relocation.
24106         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24107         * sysdeps/generic/ldsodefs.h: Update declaration.
24109         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24110         string for the scope number.
24112 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24114         * nscd/servicescache.c (cache_addserv): Make sure written is always
24115         initialized.
24117 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24119         * sysdeps/i386/i486/bits/atomic.h
24120         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24121         statement expression, so as to suppress "set but not used" warning.
24122         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24124         * string/strncat.c (STRNCAT): Use prototype definition.
24126         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24127         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24128         -Iprograms here.
24129         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24130         (localedef-modules): Add localedef.
24131         (locale-modules): Add locale.
24133         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24134         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24135         to avoid a warning.
24137 2011-08-14  David S. Miller  <davem@davemloft.net>
24139         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24140         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24142 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24144         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24145         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24146         * elf/rtld.c (dl_main): Set l_name of vDSO.
24147         Call _dl_show_scope when DL_DEBUG_SCOPES.
24148         (process_dl_debug): Recognize scopes flag and also set it for all.
24149         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24150         Declare _dl_show_scope.
24152         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24153         (do_dlopen): Pass caller_dlopen to dl_open.
24154         (__libc_dlopen_mode): Initialize caller_dlopen.
24156         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24157         of libc.  Make tolower call locale-independent.  Optimize a bit by
24158         using isdigit instead of isalnum.
24159         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24161 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24163         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24164         was a dependency or dynamically loaded.
24166 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24168         * intl/l10nflist.c: Allow architecture-specific pop function.
24169         * sysdeps/x86_64/l10nflist.c: New file.
24171         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24172         classification.
24174 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24176         * include/dirent.h: Add libc_hidden_proto for scandirat and
24177         scandirat64.  Don't declare __scandirat64.
24178         * dirent/scandirat.c: Add libc_hidden_def.
24179         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24180         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24182 2011-08-10  David S. Miller  <davem@davemloft.net>
24184         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24185         enum.
24186         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24187         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24188         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24190 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24192         * Versions.def [libc]: Add GLIBC_2.15.
24193         * dirent/Makefile (routines): Add scandirat and scandirat64.
24194         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24195         GLIBC_2.15.
24196         * dirent/dirent.h: Declare scandirat and scandirat64.
24197         * dirent/scandirat.c: New file.
24198         * dirent/scandirat64.c: New file.
24199         * sysdeps/wordsize-64/scandirat.c: New file.
24200         * sysdeps/wordsize-64/scandirat64.c: New file.
24201         * dirent/opendir.c: Define opendirat.
24202         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24203         using scandirat.
24204         * dirent/scandir64.c: Adjust for scandir.c change.
24205         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24206         __scandirat64, and __scandir_cancel_handler.
24207         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24208         additional parameter and use openat instead of open (outside of ld.so).
24209         Add new __opendir as wrapper around __opendirat.
24210         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24211         here without requiring old scandirat implementation.
24213 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24215         * dirent/scandir.c (cancel_handler): Renamed to
24216         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24217         defined.  Adjust users.
24218         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24219         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24221 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24223         * string/test-string.h (IMPL): Use __STRING to expand name and then
24224         stringify it.
24226         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24227         of cleanups.
24229 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24231         * string/Makefile: Update.
24232         (strop-tests): Append strncat.
24233         * string/test-wcscmp.c: New file.
24234         New comprehensive test for wcscmp.
24235         * string/test-strcmp.c: Update.
24236         (WIDE): New define.
24238 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24240         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24241         line.
24243 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24246         encoding to ACE if AI_IDN.
24248 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24250         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24251         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24253 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24255         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24256         Fix overflow bug in strncat.
24257         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24259         * string/test-strncat.c: Update.
24260         Add new tests for checking overflow bugs.
24262 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24265         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24266         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24267         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24268         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24269         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24270         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24271         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24272         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24274         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24275         (USE_AS_STRCAT): Define.
24276         Add strcat and strncat support.
24277         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24279 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24281         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24282         __n bigger than INT_MAX+1.
24283         (__strncmp_g): Likewise.
24285 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24287         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24288         * libio/stido.h: Likewise.
24290         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24291         (AF_NFC): Define.
24292         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24293         (AF_NFC): Define.
24295         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24296         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24297         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24298         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24299         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24301         [BZ #13021]
24302         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24303         installed.
24305         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24306         typo.
24307         (_dl_x86_64_save_sse): Likewise.
24309 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24311         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24312         OSXSAVE.
24313         (_dl_x86_64_save_sse): Likewise.
24315         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24317         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24319 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24321         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24322         change.
24323         (_dl_x86_64_save_sse): Use correct AVX check.
24325 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24327         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24328         bug in strncpy/strncat.
24329         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24331 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24333         * string/tester.c (test_strcat): Add tests for different alignments
24334         of source and destination.
24335         (test_strncat): Likewise.
24337 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24339         [BZ #12852]
24340         * posix/glob.c (glob): Check passed in values before using them in
24341         expressions to avoid some overflows.
24342         (glob_in_dir): Likewise.
24344         [BZ #13007]
24345         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24346         check for AVX enablement so that we don't crash with old kernels and
24347         new hardware.
24348         * elf/tst-audit4.c: Add same checks here.
24349         * elf/tst-audit6.c: Likewise.
24351         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24353 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24355         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24357 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24359         * po/cs.po: Update from translation team.
24360         * po/bg.po: Likewise.
24362 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24364         * misc/sys/cdefs.h: Add support for const attribute.
24365         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24366         to gnu_dev_{major,minor,makedev} functions.
24368 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24370         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24372 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24374         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24375         strlen results.
24377 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24380         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24381         register in order to avoid conflicts with the soft frame pointer
24382         being held in r11 when necessary.
24383         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24384         (INTERNAL_VSYSCALL_NCS): Likewise.
24386 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24388         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24389         * elf/dl-fini.c (_dl_fini): Adjust caller.
24390         * elf/dl-close.c (_dl_close_worker): Likewise.
24391         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24393 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24395         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24396         "aux_cache->nlibs < 0".
24398         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24399         in the reload-count case.
24401 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24404         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24405         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24406         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24407         * sysdeps/x86_64/multiarch/strcat.S: New file.
24408         * sysdeps/x86_64/multiarch/strncat.S: New file.
24409         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24410         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24411         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24412         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24413         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24414         (USE_AS_STRCAT): Define.
24415         Add strcat and strncat support.
24416         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24417         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24418         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24419         * string/strncat.c: Update.
24420         (USE_AS_STRNCAT): Define.
24421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24422         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24423         and i7.
24424         * sysdeps/x86_64/multiarch/init-arch.h
24425         (bit_Prefer_PMINUB_for_stringop): New.
24426         (index_Prefer_PMINUB_for_stringop): Likewise.
24427         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24428         bit_Prefer_PMINUB_for_stringop.
24430 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24432         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24433         buffer64.
24434         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24435         of casting of buffer.
24436         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24437         buffer32 and buffer64.
24438         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24439         writes instead of casting of buffer.
24440         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24441         buffer32.
24442         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24443         casting of buffer.
24445 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24447         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24449 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24451         * nscd/nscd.c (termination_handler): Don't do anything for a database
24452         if it has not yet been initialized.
24454 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24456         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24458 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24460         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24462 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24464         * po/nl.po: Update from translation team.
24465         * po/sv.po: Likewise.
24467 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24469         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24470         now disallowed by GCC.
24472         * configure.in (use-default-link): Default to yes if a test -shared
24473         link meets our qualifications.
24474         * configure: Regenerated.
24476         * config.make.in (output-format): New variable.
24477         * configure.in: Check for ld --print-output-format support.
24478         * configure: Regenerated.
24479         * Makerules ($(common-objpfx)format.lds)
24480         [$(output-format) != unknown]: Just use $(output-format),
24481         instead of the linker-script munging.
24483 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24485         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24486         of $(common-objpfx)shlib.lds.
24487         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24489         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24490         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24492         * configure.in (-z relro check): Adjust test code to add a large
24493         writable data section after it.
24494         * configure: Regenerated.
24496 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24498         * configure.in (-z relro check): Fix test code to make the variable
24499         truly const.
24500         * configure: Regenerated.
24502 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24504         * nscd/nscd.h (struct traced_file): Define.
24505         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24506         elements.  Add traced_files.
24507         (inotify_fd): Declare.
24508         (register_traced_file): Declare.
24509         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24510         (inotify_fd): Export.
24511         (resolv_conf_descr): Remove.
24512         (nscd_init): Move inotify descriptor creation to main.
24513         Don't register files for notification here.
24514         (register_traced_file): New function.
24515         (invalidate_cache): Don't use reset_res to determine whether to call
24516         res_init, go through the list of registered files.
24517         (main_loop_poll): The inotify descriptors are now stored in the
24518         structures for the traced files.
24519         (main_loop_epoll): Likewise
24520         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24521         to __nss_disable_nscd.
24522         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24523         for a database anymore.  Check the records for all the registered
24524         files instead.
24525         * nss/Makefile (libnss_files-routines): Add files-init.
24526         (libnss_db-routines): Add db-init.
24527         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24528         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24529         * nss/nss_db/db-init.c: New file.
24530         * nss/nss_files/files-init.c: New file.
24531         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24532         __nss_lookup_function.
24533         (__nss_lookup_function): Call nss_load_library.
24534         (nss_load_all_libraries): New function.
24535         (__nss_disable_nscd): Take parameter with callback function for files
24536         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24537         used for the cached services.
24538         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24539         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24540         options for features to all the files in nscd.
24542         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24544 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24546         * csu/elf-init.c (__libc_csu_init): Comment typo.
24548 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24550         * po/pl.po: Update from translation team.
24551         * po/ja.po: Likewise.
24552         * po/ru.po: Likewise.
24553         * po/ko.po: Likewise.
24554         * po/fr.po: Likewise.
24556 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24558         * configure.in (.ctors/.dtors header and trailer check):
24559         Use an empirical test on a built program.
24560         * configure: Regenerated.
24562         * configure.in (-z relro check): Use an empirical test on a built DSO.
24563         Detect, but do not require, on ia64.
24564         * configure: Regenerated.
24566         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24567         Update tests that use readelf to use $READELF instead.
24568         * configure: Regenerated.
24570 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24572         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24573         if the result is not used.
24575 2011-07-05  Andreas Jaeger  <aj@suse.de>
24577         [BZ#9696]
24578         * stdlib/tst-strtod.c: Add testcase.
24580 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24582         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24583         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24584         The latter has a higher limit.  Take additional parameter to pass to
24585         the new function.
24586         (__pathconf): Pass file to __statfs_link_max.
24587         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24588         __statfs_link_max.
24589         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24590         __statfs_link_max.
24592         [BZ #12868]
24593         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24594         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24595         Handle Lustre.
24596         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24597         (__statfs_filesize_max): Likewise.
24598         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24600 2011-07-05  Andreas Jaeger  <aj@suse.de>
24602         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24604 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24606         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24607         `status' variable.
24608         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24609         Likewise.
24611 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24613         * Makefile (strop-tests): Add strncat.
24614         * string/test-strncat.c: New file.
24616 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24618         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24620 2011-06-21  Andreas Jaeger  <aj@suse.de>
24622         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24623         Copy rule from iconvdata/Makefile.
24625 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24627         [BZ #12922]
24628         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24629         but no long options are defined, just return 'W'.
24631 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24633         [BZ #9696]
24634         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24636 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24638         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24639         netgroups to read.
24640         (innetgr): Likewise.
24642 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24644         * config.make.in (install_root): Default to $(DESTDIR).
24646 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24648         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24650 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24652         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24654         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24655         containing directory rather than embedding absolute directory names.
24657         * scripts/check-local-headers.sh: Rewritten using awk.
24658         Match by word, not by line.  Print error messages for matches.
24659         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24661         * Makerules [shlib-lds-flags empty]:
24662         ($(common-objpfx)libc_pic.opts): New target.
24663         ($(common-objpfx)libc_pic.os.clean): New target.
24664         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24666         * config.make.in (OBJCOPY): New variable.
24667         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24668         * configure: Regenerated.
24670         * config.make.in (use-default-link): New variable.
24671         * configure.in (use_default_link): Grok --with-default-link to set it.
24672         * configure: Regenerated.
24673         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24674         (shlib-lds, shlib-lds-flags): Define to empty.
24676         * Makerules (shlib-lds): New variable.
24677         (shlib-lds-flags): New variable.
24678         (build-shlib, build-moduile, build-module-asneeded): Use it.
24679         ($(common-objpfx)libc.so): Use $(shlib-lds).
24680         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24681         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24683         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24684         DT_FLAGS/DT_FLAGS_1 with zero flags.
24686         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24687         linker script munging.
24689 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24691         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24692         as 128-bit value.
24693         * crypt/sha512.c (sha512_process_block): Perform total addition using
24694         128-bit if possible.
24695         (__sha512_finish_ctx): Likewise.
24696         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24697         as 64-bit value.
24698         * crypt/sha256.c (SWAP64): Define.
24699         (sha256_process_block): Perform total addition using 64-bit if
24700         possible.
24701         (__sha256_finish_ctx): Likewise.
24703 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24705         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24706         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24707         * nscd/hstcache.c (cache_addhst): Likewise.
24708         * nscd/grpcache.c (cache_addgr): Likewise.
24709         * nscd/aicache.c (addhstaiX): Likewise
24710         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24712 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24714         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24715         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24716         * nscd/hstcache.c (cache_addhst): Likewise.
24717         * nscd/grpcache.c (cache_addgr): Likewise.
24718         * nscd/aicache.c (addhstaiX): Likewise
24720 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24722         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24723         domain only when needed.
24725 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24728         is always restored.
24730 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24732         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24733         are re-adding the entry.
24734         * nscd/servicescache.c (cache_addserv): Likewise.
24736 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24738         * sysdeps/generic/dl-irel.h: fix protection against multiple
24739         inclusions.
24740         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24742 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24744         [BZ #12935]
24745         * malloc/memusage.sh: Fix quoting in message.
24746         * debug/xtrace.sh: Likewise.
24748         * configure.in: Remove support for --experimental-malloc option, make
24749         it the default.
24750         * config.make.in: Likewise.
24751         * malloc/Makefile: Likewise.
24753 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24755         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24756         two-byte characters.
24758 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24760         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24761         AC_CACHE_CHECK invocation.
24762         * configure: Regenerated.
24764         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24766 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24768         [BZ #12350]
24769         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24770         bit from old_res_options.
24772         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24774         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24775         value type for setfct.
24777 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24779         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24780         __gettimeofday instead of gettimeofday.
24782 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24784         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24786 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24788         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24790         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24791         info.
24793 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24796         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24797         strcpy-sse2-unaligned strncpy-sse2-unaligned
24798         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24799         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24800         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24801         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24802         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24803         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24804         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24805         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24806         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24807         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24808         (STRCPY): Support SSE2 and SSSE3 versions.
24810 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24812         [BZ #12874]
24813         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24814         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24815         kernels which artificially limit size of requests.
24817 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24819         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24820         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24821         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24822         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24823         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24824         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24825         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24826         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24827         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24828         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24829         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24830         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24831         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24832         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24833         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24835         Enable unaligned load optimization for Intel Core i3, i5 and i7
24836         processors.
24837         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24838         Define.
24839         (index_Fast_Unaligned_Load): Define.
24840         (HAS_FAST_UNALIGNED_LOAD): Define.
24842 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24844         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24846 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24848         [BZ #12907]
24849         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24850         until it is clear that the information is realy needed.
24851         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24853 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24857 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24859         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24860         /sys/devices/system/cpu/online if it is usable.
24862         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24863         reading the information from the /proc filesystem to once a second.
24865 2011-06-21  Andreas Jaeger  <aj@suse.de>
24867         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24868         NULL after inclusion of kernel headers.
24870 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24872         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24873         calls to internal_setent.
24875         [BZ #12885]
24876         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24877         addresses using gethostbyname4_r ignore IPv4 addresses.
24879         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24880         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24882         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24884 2011-06-20  David S. Miller  <davem@davemloft.net>
24886         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24887         inclusions.
24888         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24890         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24891         (elf_irel): Use it.
24892         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24893         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24894         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24895         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24896         * sysdeps/x86_64/dl-irel.h: Likewise.
24898         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24899         * elf/dl-sym.c: Likewise.
24901 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24903         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24904         need to dereference resplen2.
24906 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24908         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24910 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24912         * Makeconfig: Define vardbdir and inst_vardbdir.
24913         * nss/Makefile: Add rules to install db-Makefile.
24915         * nss/nss_db/db-XXX.c: Cleanup.
24917         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24918         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24919         GLIBC_PRIVATE.
24920         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24921         * nss/makedb.c: Implement -g option to specify that value strings
24922         are generated and should not be added to table iterated over for
24923         get*ent calls.
24924         * nss/nss_db/db-initgroups.c: New file.
24926         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24927         interface.
24929         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24930         (internal_getgrouplist): Adjust to name change.
24931         Update use_initgroups_entry if this is not the first call.
24932         * nss/databases.def: Add initgroups entry.
24934         * nss/makedb.c (compute_tables): Check result of multiple hash table
24935         sizes to minimize maximum chain length.
24937 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24939         * Versions.def: Add entry for libnss_db.
24940         * shlib-versions: Likewise.
24941         * nss/Makefile: Add rules to build libnss_db.
24942         * nss/Versions: Add libnss_db information.  Organize libnss_files
24943         entries better.
24944         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24945         makedb progra.  Some minor improvements to generate smaller files.
24946         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24947         here from...
24948         * nss/makedb.c: ...here.
24949         Improve database format to be smaller and require less memory at
24950         runtime.
24951         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24952         db anymore.
24953         * nss/nss_db/db-netgrp.c: Likewise.
24954         * nss/nss_db/db-open.c: Likewise.
24955         * nss/nss_files/flies-XXX.x: Adjust comments.
24956         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24957         * nss/nss_files/files-grp.c: Likewise.
24958         * nss/nss_files/files-hosts.c: Likewise.
24959         * nss/nss_files/files-network.c: Likewise.
24960         * nss/nss_files/files-proto.c: Likewise.
24961         * nss/nss_files/files-pwd.c: Likewise.
24962         * nss/nss_files/files-rpc.c: Likewise.
24963         * nss/nss_files/files-service.c: Likewise.
24964         * nss/nss_files/files-sgrp.c: Likewise.
24965         * nss/nss_files/files-spwd.c: Likewise.
24966         * nss/nss_db/db-alias.c: Removed.
24967         * nss/nss_db/dummy-db.h: Removed.
24969 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24971         * nss/makedb.c: Rewritten to not use database library.
24972         * nss/Makefile: Update to build new makedb program.
24974 2011-06-14  Andreas Jaeger  <aj@suse.de>
24976         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24977         memset declaration.
24979 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24982         tmpbuf.
24984 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24986         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24987         * elf/Makefile ($(objpfx)ld.so): Likewise.
24989         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24990         Don't list ld.so twice in dependencies.
24992         * posix/bug-regex31.c: Include <stdlib.h>.
24994         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24996         * nis/nss_compat/compat-spwd.c
24997         (getspent_next_nss_netgr): Remove unused variable.
24998         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25000         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25001         nonmembers" output to use the right array.
25003         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25005         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25007         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25008         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25009         * catgets/gencat.c (read_input_file): Likewise.
25010         * locale/programs/locarchive.c (enlarge_archive): Likewise.
25012         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25013         variable definition inside #if's controlling its use.
25015         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25017         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25019         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25021         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25022         unreachable code.
25024         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25026         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25027         * configure: Regenerated.
25029         * Makerules: Revert last change.
25030         * elf/Makefile: Likewise.
25032 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25034         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25035         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25036         (reloc-link): Likewise.
25038 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25040         * elf/Makefile: Add rules to build pldd.
25041         * elf/pldd.c: New file.
25042         * elf/pldd-xx.c: New file.
25044 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25046         * version.h: Update for 2.15 development version.
25048 2011-06-07  David S. Miller  <davem@davemloft.net>
25050         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25051         ifuncs.
25052         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25053         elf_machine_lazy_rel): Likewise.
25054         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25055         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25056         elf_machine_lazy_rel): Likewise.
25057         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25058         dl_hwcap via passed in argument.
25059         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25060         Likewise.
25062 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25064         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25066 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25068         [BZ #12849]
25069         * manual/fdl-1.1.texi: New file, verbatim from:
25070         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25071         * manual/lgpl-2.1.texi: New file, verbatim from:
25072         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25073         * manual/Makefile (licenses): New variable, list those new file names.
25074         (texis): Use it.
25075         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25077         * manual/fdl.texi: File removed.
25078         * manual/lesser.texi: File removed.
25079         * manual/libc.texinfo (Copying, Documentation License):
25080         Use new @include file names, put @appendix directive before @include.
25082 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25084         [BZ #12841]
25085         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25086         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25087         (mq_open): Add __NTH.
25089 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25092         Assume Intel Core i3/i5/i7 processor if AVX is available.
25094 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25096         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25097         typo.
25099 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25101         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25102         memory.  Use alloca_account.  Fix memory leak when retrying.
25104 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25106         * version.h (RELEASE): Bump for 2.14 release.
25107         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25109         * config.make.in (RANLIB): Remove entry.
25111 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25113         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25114         (libc.pot): Work around missing support for .ksh extension in xgettext.
25116         [BZ #12684]
25117         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25118         if both request failed.
25119         (send_dg): In case of server errors clear resplen or *resplen2.
25121         [BZ #12454]
25122         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25123         when there are multiple maps.
25124         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25125         (_dl_fini): Remove test here.
25127         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25129 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25131         [BZ #12350]
25132         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25133         bit from old_res_options.
25134         (gaih_inet): Likewise.
25136         [BZ #11099]
25137         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25138         as signed.
25140         * resolv/res_init.c (res_setoptions): Make the code more compact.
25142         [BZ #11558]
25143         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25144         set RES_USEVC.
25146         [BZ #11634]
25147         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25149         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25151         [BZ #11781]
25152         * malloc/malloc.h: Declare malloc hook variables as volatile.
25154         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25155         in last patch.
25157         [BZ #11799]
25158         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25159         raise in the comment.
25160         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25161         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25162         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25164 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25166         [BZ #12811]
25167         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25168         grow the buffers more if it already has to be sufficient.
25169         (build_wcs_upper_buffer): Likewise.
25170         * posix/regexec.c (check_matching): Likewise.
25171         (clean_state_log_if_needed): Likewise.
25172         (extend_buffers): Don't enlarge buffers beyond size of the input
25173         buffer.
25174         Patches mostly by Emil Wojak <emil@wojak.eu>.
25175         * posix/bug-regex32.c: New file.
25176         * posix/Makefile (tests): Add bug-regex32.
25178         * locale/findlocale.c (_nl_find_locale): Return right away if
25179         _nl_explode_name failed.
25180         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25182         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25184         * debug/xtrace.sh: Unify messages.
25185         * malloc/memusage.sh: Likewise.
25187         [BZ #12813]
25188         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25189         time symbol from vDSO.  Substitute with vsyscall if not available.
25190         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25191         __vdso_time.
25193         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25194         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25195         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25196         Add sendmmsg and internal_sendmmsg.
25197         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25198         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25199         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25201         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25202         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25203         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25205 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25207         [BZ #12813]
25208         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25209         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25210         available.
25211         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25212         __vdso_getcpu.
25214         [BZ #12814]
25215         * iconvdata/Makefile (tests): Add bug-iconv9.
25216         * iconvdata/bug-iconv9.c: New file.
25218 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25220         [BZ #12814]
25221         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25223 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25225         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25226         (struct user_regs_struct): Change intcs field back to cs.
25228 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25230         * po/ja.po: Update from translation team.
25232 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25234         [BZ #12795]
25235         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25236         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25238 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25240         * stdlib/longlong.h: Update from GCC.
25242 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25244         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25245         parameter name.
25246         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25247         Add parameter name.
25248         (__sysconf): Pass it down.
25250 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25252         [BZ #12671]
25253         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25254         some situations.
25255         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25256         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25257         add in in __libc_use_alloca calls.  Adjust callers.
25258         (glob): Use malloc in some situations.
25260         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25261         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25262         pltexit.
25264 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25266         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25267         and CLOCK_BOOTTIME_ALARM.
25269         [BZ #12782]
25270         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25271         is returned.
25273         * string/_strerror.c (__strerror_r): Print negative errors as signed
25274         numbers.
25276         [BZ #12777]
25277         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25278         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25279         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25281         * configure.in: Fix typo in redirection and correct removal of test
25282         files in two cases.
25284         [BZ #12788]
25285         * locale/setlocale.c (new_composite_name): Fix test to check for
25286         identical name of all categories.
25288         [BZ #12792]
25289         * libio/filedoalloc.c (local_isatty): New function.
25290         (_IO_file_doallocate): Use local_isatty.
25291         * stdio-common/perror.c (perror): In case a new stream is used
25292         forward the stream error.
25293         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25294         error flag.
25296 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25298         [BZ #11869]
25299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25300         alloca.
25301         * include/alloca.h (extend_alloca_account): Define.
25303         [BZ #11857]
25304         * posix/regex.h: Fix comments with documentation of user-accessible
25305         fields after compilation and describe correct free'ing of pattern
25306         after re_compile_pattern.
25307         Patch by Reuben Thomas <rrt@sc3d.org>.
25309 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25311         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25312         and -mno-altivec to prevent the compiler from using Altivec and/or
25313         VSX instructions when the corresponding registers are not available.
25315 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25317         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25319 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25321         * libio/freopen.c (freopen): Use __dup2, not dup2.
25322         * libio/freopen64.c (freopen64): Likewise.
25324 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25326         [BZ #12775]
25327         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25328         * math/Makefile (tests): Add test-powl.
25329         (CFLAGS-test-powl.c): Define.
25330         * math/test-powl.c: New file.
25332 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25334         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25336 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25338         [BZ #11837]
25339         * iconvdata/gb18030.c: Update to GB18020-2005.
25341 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25343         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25344         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25345         Patch by Aharon Robbins <arnold@skeeve.com>.
25347         [BZ #11892]
25348         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25349         on the stack.
25351         [BZ #11895]
25352         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25353         through underflows.
25355         [BZ #12766]
25356         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25357         point to strings before performing equality test for error_one_per_line
25358         mode.
25360         [BZ #11697]
25361         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25363         [BZ #11820]
25364         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25365         (struct user_fpregs_struct): Avoid __uint*_t types.
25367         [BZ #6420]
25368         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25369         symbol info.  Use it instead of calling _dl_addr locally.
25370         (lock_and_info): New function.
25371         (tr_freehook): Call lock_and_info and pass symbol info as additional
25372         parameter to tr_where.
25373         (tr_mallochook): Likewise.
25374         (tr_reallochook): Likewise.
25375         (tr_memalignhook): Likewise.
25377         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25378         used and couldn't be at all thread-safe.
25380 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25382         * libio/freopen.c (freopen): Don't close old file descriptor
25383         before the new one is opened.  Instead dup the new file descriptor
25384         to the old one after the new stream is created.
25385         * libio/freopen64.c (freopen64): Likewise.
25386         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25387         * libio/fileops.c (_IO_new_file_close_it): Handle new
25388         _IO_FLAGS2_NOCLOSE flag.
25389         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25390         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25391         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25392         _IO_FLAGS2_NOCLOSE flag.
25393         * include/unistd.h: Add hidden_proto for dup3.
25394         Define __have_dup3.
25395         * io/dup3.c: Define hidden symbol.
25396         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25398         [BZ #7101]
25399         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25400         when an incomplete long option is used.
25401         * posix/tst-getopt_long1.c: New file.
25402         * posix/Makefile (tests): Add tst-getopt_long1.
25404         [BZ #10138]
25405         * scripts/config.guess: Update from autoconf-2.68.
25406         * scripts/config.sub: Likewise.
25408         [BZ #10157]
25409         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25410         tests into ...
25411         (has_cpuclock): ...this.  New function.
25412         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25413         macro here based on has_cpuclock code.
25415         [BZ #10149]
25416         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25417         First byte (not low byte) is now always NUL.
25418         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25420         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25421         Use non-cancelable interfaces.
25423         [BZ #9809]
25424         * locale/iso-639.def: Add entry for Sorani.
25426         [BZ #11901]
25427         * include/stdlib.h: Move include protection to the right place.
25428         Define abort_msg_s.  Declare __abort_msg with it.
25429         * stdlib/abort.c (__abort_msg): Adjust type.
25430         * assert/assert.c (__assert_fail_base): New function.  Majority
25431         of code from __assert_fail.  Allocate memory for __abort_msg with
25432         mmap.
25433         (__assert_fail): Now call __assert_fail_base.
25434         * assert/assert-perr.c: Remove bulk of implementation.  Use
25435         __assert_fail_base.
25436         * include/assert.hL Declare __assert_fail_base.
25437         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25438         mmap.
25439         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25441 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25443         [BZ #11952]
25444         [BZ #12453]
25445         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25446         until all modules are registered in the DTV.
25447         * elf/Makefile: Add rules to build and run tst-tls19.
25448         * elf/tst-tls19.c: New file.
25449         * elf/tst-tls19mod1.c: New file.
25450         * elf/tst-tls19mod2.c: New file.
25451         * elf/tst-tls19mod3.c: New file.
25452         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25454         [BZ #12083]
25455         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25456         correctly.
25458         [BZ #12601]
25459         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25460         two-byte sequence errors.
25461         * iconvdata/Makefile (tests): Add bug-iconv8.
25462         * iconvdata/bug-iconv8.c: New file.
25464         [BZ #12626]
25465         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25466         buf2 definition.
25468         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25470         [BZ #12432]
25471         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25472         (dummy_getcfa): New function.
25473         (init): Get _Unwind_GetCFA address, use dummy if not found.
25474         (backtrace_helper): In recursion check, also check whether CFA changes.
25475         (__backtrace): Completely initialize arg.
25477         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25478         storing incomplete byte sequence in state object.  Avoid testing for
25479         guaranteed too small input if we know there is enough data available.
25481 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25483         * Makeconfig (+link-pie): Indent.
25484         * Rules (binaries-pie): Define if $(have-fpie) and
25485         $(build-shared).
25486         (binaries-shared): Also filter out $(binaries-pie).
25487         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25488         * nscd/Makefile (others-pie): Add nscd.
25489         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25490         ($(objpfx)nscd): Remove command override.
25491         * login/Makefile (others-pie): Add pt_chown.
25492         ($(objpfx)pt_chown): Remove command override.
25493         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25494         remove command overrides.
25496 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25498         * libio/tst_putwc.c: Fix error messages.
25500         [BZ #12724]
25501         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25502         currently writing and seek to current position when not.
25503         * libio/Makefile (tests): Add bug-fclose1.
25504         * libio/bug-fclose1.c: New file.
25506 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25508         [BZ #12511]
25509         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25510         don't set DF_1_NODELETE here.
25511         (do_lookup_x): When entering new entry test for copy relocation
25512         and if necessary set DF_1_NODELETE flag.
25513         * elf/tst-unique4.cc: New file.
25514         * elf/tst-unique4.h: New file.
25515         * elf/tst-unique4lib.cc: New file.
25516         * elf/Makefile: Add rules to build and run tst-unique4.
25517         Patch by Piotr Bury <pbury@goahead.com>.
25519 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25521         [BZ #12052]
25522         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25524         [BZ #12625]
25525         * misc/mntent_r.c (addmntent): Flush the stream after the output
25527         [BZ #12393]
25528         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25529         (is_trusted_path_normalize): Skip initial colon.  Append slash
25530         to empty buffer.  Duplicate is_trusted_path code but allow
25531         constructed patch to be prefix.
25532         (is_dst): Allow $ORIGIN followed by /.
25533         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25534         Correct testing of result of is_trusted_path_normalize
25535         (decompose_rpath): Fix warning.
25537 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25539         [BZ #11257]
25540         * grp/initgroups.c (internal_getgrouplist): When we found the service
25541         list through the initgroups entry in nsswitch.conf do not always
25542         continue on a successful lookup.  Don't always use the
25543         __nss_group_database value if it is set.
25544         * nss/nsswitch.conf (initgroups): Change action for successful db
25545         lookup to continue for compatibility.
25547 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25549         [BZ #11532]
25550         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25551         and CP774 modules.
25552         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25553         and CP774 modules.
25554         * iconvdata/tst-tables.sh: Likewise.
25555         * iconvdata/cp770.c: New file.
25556         * iconvdata/cp771.c: New file.
25557         * iconvdata/cp772.c: New file.
25558         * iconvdata/cp773.c: New file.
25559         * iconvdata/cp774.c: New file.
25560         * iconvdata/testdata/CP770: New file.
25561         * iconvdata/testdata/CP770..UTF8: New file.
25562         * iconvdata/testdata/CP771: New file.
25563         * iconvdata/testdata/CP771..UTF8: New file.
25564         * iconvdata/testdata/CP772: New file.
25565         * iconvdata/testdata/CP772..UTF8: New file.
25566         * iconvdata/testdata/CP773: New file.
25567         * iconvdata/testdata/CP773..UTF8: New file.
25568         * iconvdata/testdata/CP774: New file.
25569         * iconvdata/testdata/CP774..UTF8: New file.
25571         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25572         END CHARMAP line.
25573         * iconvdata/gen-8bit-gap.sh: Likewise.
25574         * iconvdata/gen-8bit.sh: Likewise.
25576         * locale/iso-639.def: Add ary entry.
25578         [BZ #11258]
25579         * locale/C-translit.h.in: Add U20A1 transliteration.
25581         [BZ #12178]
25582         * locale/iso-639.def: Add wae entry.
25583         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25585         [BZ #12545]
25586         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25587         for n.
25589         [BZ #12711]
25590         * locale/C-translit.h.in: Add entry for U20B9.
25591         Patch by pravin.d.s@gmail.com.
25593 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25595         [BZ #12713]
25596         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25597         ENAMETOOLONG use generic getcwd.
25598         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25599         in rtld.  Use *stat64.
25600         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25601         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25602         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25603         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25604         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25605         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25606         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25607         __fstatat64 macros.
25608         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25609         * dirent/rewinddir.c: Add libc_hidden_def.
25610         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25611         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25613         * include/dirent.h (__alloc_dir): Add flags parameter.
25614         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25615         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25616         __alloc_dir.
25617         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25618         from fdopendir if O_CLOEXEC is already set.
25620 2011-03-15  Alan Modra  <amodra@gmail.com>
25622         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25623         l_tls_firstbyte_offset non-zero.  Save padding offset in
25624         l_tls_firstbyte_offset for later use.
25625         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25626         freeing static tls block.
25628 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25630         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25631         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25632         being defined by the kernel headers.
25634 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25636         [BZ #12734]
25637         * resolv/resolv.h: Define RES_NOTLDQUERY.
25638         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25639         no-tld-query and set RES_NOTLDQUERY.
25640         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25641         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25642         modern BIND to search name as TLD unless forbidden.
25644 2011-05-07  Petr Baudis  <pasky@suse.cz>
25645             Ulrich Drepper  <drepper@gmail.com>
25647         [BZ #12393]
25648         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25649         (is_trusted_path): ...to here.
25650         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25651         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25652         using is_trusted_path_normalize() in setuid scripts.
25654 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25656         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25657         __BEGIN/__END_DECLS.
25659 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25661         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25662         NSS_STATUS_NOTFOUND if no record was found.
25664 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25666         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25667         (headers-not-in-tirpc): Remove rpc/netdb.h
25668         * resolv/netdb.h: Revert last change.
25670 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25672         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25673         circular dependency between libgcc.a and libc.a.
25675 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25677         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25678         * nis/Makefile: Don't install rpcsvc/*.
25679         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25680         instead of <rpc/types.h>.
25681         (MAXHOSTNAMELEN): Define.
25683 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25685         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25687 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25689         [BZ #12714]
25690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25691         gethostbyname4_r when IPv6 results are possible.
25693 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25695         [BZ #12723]
25696         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25697         _PC_PIPE_BUF handling.
25699 2011-04-30  Bruno Haible  <bruno@clisp.org>
25701         [BZ #12717]
25702         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25703         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25704         to 'int'.
25705         * inet/getnameinfo.c (getnameinfo): Likewise.
25707 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25709         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25710         to groups setting in database lookup.
25711         * nss/nsswitch.conf: Add initgroups entry.
25713 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25715         [BZ #12685]
25716         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25717         mode string.
25718         Patch by Eric Blake <eblake@redhat.com>.
25720 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25722         * sunrpc/Makefile (need-export-routines): Add svc_run.
25723         (routines): Remove svc_run.
25724         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25725         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25726         * sunrpc/svc_run.c (svc_run): Likewise.
25727         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25729 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25731         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25732         problem in reallocation in last patch.
25734 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25736         * sunrpc/Makefile: Move inclusion of Rules.
25738 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25740         * nss/nss_files/files-initgroups.c: New file.
25741         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25742         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25743         _nss_files_initgroups_dyn.
25745 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25747         * elf/elf.h (R_ARM_IRELATIVE): Define.
25749 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25751         * po/ru.po: Update from translation team.
25753 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25755         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25756         dependencies.
25758 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25760         [BZ #12653]
25761         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25762         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25763         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25764         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25765         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25767 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25769         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25770         differing bytes.
25771         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25772         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25773         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25775 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25777         [BZ #12420]
25778         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25779         storing it.
25780         * stdlib/bug-getcontext.c: New file.
25781         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25783 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25785         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25786         instructions into .machine "z9-109".
25787         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25788         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25790 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25792         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25793         between environment variables and auxiliary vector.
25795 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25797         * Makefile: Add rules to build linkobj/libc.so.
25798         * include/libc-symbols.h: Define libc_hidden_nolink.
25799         * include/rpc/auth.h: Mark functions which are to be hidden.
25800         * include/rpc/auth_des.h: Likewise.
25801         * include/rpc/auth_unix.h: Likewise.
25802         * include/rpc/clnt.h: Likewise.
25803         * include/rpc/des_crypt.h: Likewise.
25804         * include/rpc/key_prot.h: Likewise.
25805         * include/rpc/pmap_clnt.h: Likewise.
25806         * include/rpc/pmap_prot.h: Likewise.
25807         * include/rpc/pmap_rmt.h: Likewise.
25808         * include/rpc/rpc_msg.h: Likewise.
25809         * include/rpc/svc.h: Likewise.
25810         * include/rpc/svc_auth.h: Likewise.
25811         * include/rpc/xdr.h: Likewise.
25812         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25813         * nss/Makefile: Likewise.
25814         * sunrpc/Makefile: Don't install headers.  Build library with normal
25815         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25816         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25817         for the compat linking library.  Remove use of INTDEF/INTUSE.
25818         * sunrpc/auth_none.c: Likewise.
25819         * sunrpc/auth_unix.c: Likewise.
25820         * sunrpc/authdes_prot.c: Likewise.
25821         * sunrpc/authuxprot.c: Likewise.
25822         * sunrpc/clnt_gen.c: Likewise.
25823         * sunrpc/clnt_perr.c: Likewise.
25824         * sunrpc/clnt_raw.c: Likewise.
25825         * sunrpc/clnt_simp.c: Likewise.
25826         * sunrpc/clnt_tcp.c: Likewise.
25827         * sunrpc/clnt_udp.c: Likewise.
25828         * sunrpc/clnt_unix.c: Likewise.
25829         * sunrpc/des_crypt.c: Likewise.
25830         * sunrpc/des_soft.c: Likewise.
25831         * sunrpc/get_myaddr.c: Likewise.
25832         * sunrpc/key_call.c: Likewise.
25833         * sunrpc/key_prot.c: Likewise.
25834         * sunrpc/netname.c: Likewise.
25835         * sunrpc/pm_getmaps.c: Likewise.
25836         * sunrpc/pm_getport.c: Likewise.
25837         * sunrpc/pmap_clnt.c: Likewise.
25838         * sunrpc/pmap_prot.c: Likewise.
25839         * sunrpc/pmap_prot2.c: Likewise.
25840         * sunrpc/pmap_rmt.c: Likewise.
25841         * sunrpc/publickey.c: Likewise.
25842         * sunrpc/rpc_cmsg.c: Likewise.
25843         * sunrpc/rpc_common.c: Likewise.
25844         * sunrpc/rpc_dtable.c: Likewise.
25845         * sunrpc/rpc_prot.c: Likewise.
25846         * sunrpc/rpc_thread.c: Likewise.
25847         * sunrpc/rtime.c: Likewise.
25848         * sunrpc/svc.c: Likewise.
25849         * sunrpc/svc_auth.c: Likewise.
25850         * sunrpc/svc_authux.c: Likewise.
25851         * sunrpc/svc_raw.c: Likewise.
25852         * sunrpc/svc_run.c: Likewise.
25853         * sunrpc/svc_simple.c: Likewise.
25854         * sunrpc/svc_tcp.c: Likewise.
25855         * sunrpc/svc_udp.c: Likewise.
25856         * sunrpc/svc_unix.c: Likewise.
25857         * sunrpc/svcauth_des.c: Likewise.
25858         * sunrpc/xcrypt.c: Likewise.
25859         * sunrpc/xdr.c: Likewise.
25860         * sunrpc/xdr_array.c: Likewise.
25861         * sunrpc/xdr_float.c: Likewise.
25862         * sunrpc/xdr_intXX_t.c: Likewise.
25863         * sunrpc/xdr_mem.c: Likewise.
25864         * sunrpc/xdr_rec.c: Likewise.
25865         * sunrpc/xdr_ref.c: Likewise.
25866         * sunrpc/xdr_sizeof.c: Likewise.
25867         * sunrpc/xdr_stdio.c: Likewise.
25869 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25871         [BZ #12650]
25872         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25873         * sysdeps/ia64/dl-tls.h: Likewise.
25874         * sysdeps/powerpc/dl-tls.h: Likewise.
25875         * sysdeps/s390/dl-tls.h: Likewise.
25876         * sysdeps/sh/dl-tls.h: Likewise.
25877         * sysdeps/sparc/dl-tls.h: Likewise.
25878         * sysdeps/x86_64/dl-tls.h: Likewise.
25879         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25881 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25883         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25884         rpath element also skip the following colon.
25885         (expand_dynamic_string_token): Add is_path parameter and pass
25886         down to DL_DST_REQUIRED and _dl_dst_substitute.
25887         (decompose_rpath): Call expand_dynamic_string_token with
25888         non-zero is_path.  Ignore empty rpaths.
25889         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25890         with zero is_path.
25892 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25895         Make cancelable.
25897 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25899         [BZ #12655]
25900         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25901         Patch by Filipe David Manana <fdmanana@apache.org>.
25903 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25905         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25906         Maintain aligned stack.
25907         (CHECK_RSP): Remove unused macro.
25909 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25911         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25912         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25914 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25916         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25918         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25920 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25922         [BZ #12518]
25923         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25924         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25925         * sysdeps/x86_64/memmove.c: New file.
25926         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25927         (memcpy): Renamed to ...
25928         (__new_memcpy): This.
25929         (memcpy): Provide GLIBC_2_14 memcpy.
25930         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25931         (memcpy): Provide GLIBC_2_2_5 memcpy.
25933 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25935         [BZ #12631]
25936         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25938 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25940         * misc/syncfs.c: New file.
25941         * misc/Makefile (routines): Add syncfs.
25942         * posix/unistd.h: Declare syncfs.
25943         * sysdeps/unix/syscalls.list: Add syncfs.
25945 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25947         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25948         open_by_handle_at.
25949         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25950         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25951         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25952         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25953         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25954         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25955         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25957 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25959         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25960         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25961         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25962         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25963         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25964         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25965         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25967         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25968         sync_file_range.c with -fexceptions.
25969         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25970         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25971         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25972         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25973         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25974         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25975         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25976         sync_file_range as cancellation point
25977         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25978         now a wrapper around __call_sync_file_range with cancellation handling.
25979         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25980         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25981         function name to __call_sync_file_range.
25982         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25983         Add call_sync_file_range.
25985 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25987         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25988         bits/timex.h.
25990 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25992         * iconv/iconv.h: Fix typo in comment.
25993         * io/fcntl.h: Likewise.
25994         * libio/stdio.h: Likewise.
25995         * posix/spawn.h: Likewise.
25996         * posix/unistd.h: Likewise.
25997         * stdlib/stdlib.h: Likewise.
25998         * time/time.h: Likewise.
25999         * wcsmbs/wchar.h: Likewise.
26001         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26002         open_by_handle): Add.
26003         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26004         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
26005         Augment a few comments.
26006         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26007         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26008         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26009         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26010         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26011         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26012         open_by_handle.
26014         * io/fcntl.h (AT_EMPTY_PATH): Define.
26016 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26018         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26019         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26020         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26021         to...
26022         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26023         * Versions.def: Add GLIBC_2.14.
26024         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26025         Export.
26027 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26029         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26030         round counter.
26031         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26033 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26035         [BZ #12597]
26036         * string/test-strncmp.c (do_page_test): New function.
26037         (check2): Likewise.
26038         (test_main): Call check2.
26039         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26041 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26043         [BZ #12587]
26044         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26045         Handle cache information in CPU leaf 4.
26046         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26048 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26050         [BZ #12583]
26051         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26052         character representation.
26053         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26055 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26057         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26058         END(__isnan) to END(__isnanf) to match function entry point/label
26059         EALIGN(__isnanf,...).
26061 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26063         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26065 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26067         [BZ #12510]
26068         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26069         copy from the symbol referenced in the relocation to initialize the
26070         used variable.
26071         Patch by Piotr Bury <pbury@goahead.com>.
26072         * elf/Makefile: Add rules to build and tst-unique3.
26073         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26074         * elf/tst-unique3.cc: New file.
26075         * elf/tst-unique3.h: New file.
26076         * elf/tst-unique3lib.cc: New file.
26077         * elf/tst-unique3lib2.cc: New file.
26079         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26081 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26083         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26084         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26085         to _start.
26087 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26089         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26090         to-be-loaded object along a path to loader is ld.so.
26092 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26093             Ulrich Drepper  <drepper@gmail.com>
26095         * sysdeps/x86_64/memset.S: After aligning destination, code
26096         branches to different locations depending on the value of
26097         misalignment, when multiarch is enabled. Fix this.
26099 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26101         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26102         Set _x86_64_preferred_memory_instruction for AMD processsors.
26103         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26104         Set bit_Prefer_SSE_for_memop for AMD processors.
26106 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26108         * libio/fmemopen.c (fmemopen): Optimize a bit.
26110 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26112         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26114 2011-03-03  Roland McGrath  <roland@redhat.com>
26116         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26118 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26120         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26121         __bzero_ultra1 instead of __memset_ultra1.
26123 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26124             Ulrich Drepper  <drepper@gmail.com>
26126         [BZ #12509]
26127         * include/link.h (struct link_map): Add l_orig_initfini.
26128         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26129         returning unsuccessfully.
26130         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26131         close of a file loaded at startup, restore the original l_initfini
26132         list.
26133         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26134         list, store the pointer.
26135         * elf/Makefile ($(objpfx)noload-mem): New rule.
26136         (noload-ENV): Define.
26137         (tests): Add $(objpfx)noload-mem.
26138         * elf/noload.c: Include <memcheck.h>.
26139         (main): Call mtrace.  Close all opened handles.
26141 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26143         [BZ #12454]
26144         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26145         dependencies are missing.
26147 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26149         Fix __if_freereq crash: Unlike the generic version which uses free,
26150         Hurd needs munmap.
26151         * sysdeps/mach/hurd/ifreq.h: New file.
26153 2011-01-27  Petr Baudis  <pasky@suse.cz>
26154             Ulrich Drepper  <drepper@gmail.com>
26156         [BZ 12445]#
26157         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26158         to extend_alloca().
26159         * stdio-common/bug23.c: New file.
26160         * stdio-common/Makefile (tests): Add bug23.
26162 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26163             Ulrich Drepper  <drepper@gmail.com>
26165         [BZ #12489]
26166         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26167         before performing relro protection.  At old place add assertion
26168         to make sure nothing changed.
26170 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26171             Glauber de Oliveira Costa  <glommer@gmail.com>
26173         * elf/elf.h: Add new ARM TLS relocs.
26175 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26178         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26179         cast from r3.
26180         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26181         'tests' variable.
26182         * sysdeps/wordsize-64/tst-writev.c: New file.
26184 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26186         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26187         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26188         insns in _dl_start to prevent a TOC reference before relocs are
26189         resolved.
26191 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26193         [BZ #12469]
26194         * Makeconfig: Remove RANLIB definition.
26195         * Makerules: Don't use RANLIB.
26196         * aclocal.m4: Remove ranlib test.
26197         * configure.in: No need to check for ranlib.
26198         * elf/rtld-Rules: Don't use RANLIB.
26200 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26202         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26203         protection macro.
26204         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26205         inclusion protection macro.
26207         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26208         SIGRTMIN and SIGRTMAX and print information in that case only when
26209         SIGRTMIN is defined.
26211 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26213         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26214         arginfo fn returning -1.
26216         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26217         and thousands string is zero terminated.
26219 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26221         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26222         sysdeps/unix/sysv/linux/bits/socket.h.
26224 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26226         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26227         (__CPU_COUNT): Remove old macros.
26228         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26229         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26230         (__CPU_ALLOC, __CPU_FREE): Add macros.
26231         (__sched_cpualloc, __sched_cpufree): Add declarations.
26233 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26235         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26236         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26237         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26238         (readdhstai): Return value of addhstaiX call.
26239         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26240         (addgrbyX): Return value returned by cache_addgr.
26241         (readdgrbyname): Return value returned by addgrbyX.
26242         (readdgrbygid): Likewise.
26243         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26244         (addpwbyX): Return value returned by cache_addpw.
26245         (readdpwbyname): Return value returned by addhstbyX.
26246         (readdpwbyuid): Likewise.
26247         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26248         (addservbyX): Return value returned by cache_addserv.
26249         (readdservbyname): Return value returned by addservbyX:
26250         (readdservbyport): Likewise.
26251         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26252         (addhstbyX): Return value returned by cache_addhst.
26253         (readdhstbyname): Return value returned by addhstbyX.
26254         (readdhstbyaddr): Likewise.
26255         (readdhstbynamev6): Likewise.
26256         (readdhstbyaddrv6): Likewise.
26257         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26258         (readdinitgroups): Return value returned by addinitgroupsX.
26259         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26260         (prune_cache): Keep track of timeout value of re-added entries.
26261         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26262         * nscd/nscd.h: Adjust prototypes of readd* functions.
26264 2011-02-04  Roland McGrath  <roland@redhat.com>
26266         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26267         (nis_stats): Likewise.
26268         * nis/nis_modify.c (nis_modify): Likewise.
26269         * nis/nis_remove.c (nis_remove): Likewise.
26270         * nis/nis_add.c (nis_add): Likewise.
26272         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26274         * posix/fnmatch_loop.c: Add some consts.
26276         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26278 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26280         [BZ #12460]
26281         * config.make.in (config-cflags-novzeroupper): Define.
26282         * configure.in: Substitute libc_cv_cc_novzeroupper.
26283         * elf/Makefile (AVX-CFLAGS): Define.
26284         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26285         (CFLAGS-tst-auditmod4a.c): Likewise.
26286         (CFLAGS-tst-auditmod4b.c): Likewise.
26287         (CFLAGS-tst-auditmod6b.c): Likewise.
26288         (CFLAGS-tst-auditmod6c.c): Likewise.
26289         (CFLAGS-tst-auditmod7b.c): Likewise.
26290         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26292 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26294         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26295         function to the callback.
26296         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26298 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26300         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26301         of errno.
26303 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26305         [BZ #11724]
26306         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26307         of constructors.
26308         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26309         of destructors.
26310         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26312         [BZ #11724]
26313         * elf/Makefile: Add rules to build and run new test.
26314         * elf/tst-initorder.c: New file.
26315         * elf/tst-initorder.exp: New file.
26316         * elf/tst-initordera1.c: New file.
26317         * elf/tst-initordera2.c: New file.
26318         * elf/tst-initordera3.c: New file.
26319         * elf/tst-initordera4.c: New file.
26320         * elf/tst-initorderb1.c: New file.
26321         * elf/tst-initorderb2.c: New file.
26322         * elf/tst-order-a1.c: New file.
26323         * elf/tst-order-a2.c: New file.
26324         * elf/tst-order-a3.c: New file.
26325         * elf/tst-order-a4.c: New file.
26326         * elf/tst-order-b1.c: New file.
26327         * elf/tst-order-b2.c: New file.
26328         * elf/tst-order-main.c: New file.
26329         New test case by George Gensure <werkt0@gmail.com>.
26331 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26334         decoding ACE if AI_CANONIDN.
26336 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26338         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26340 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26342         * version.h (RELEASE): Bump for 2.13 release.
26343         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26345         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26347         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26348         MADV_NOHUGEPAGE.
26349         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26350         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26351         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26352         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26353         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26354         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26356         * posix/getconf.c: Update copyright year.
26357         * catgets/gencat.c: Likewise.
26358         * csu/version.c: Likewise.
26359         * debug/catchsegv.sh: Likewise.
26360         * debug/xtrace.sh: Likewise.
26361         * elf/ldconfig.c: Likewise.
26362         * elf/ldd.bash.in: Likewise.
26363         * elf/sprof.c (print_version): Likewise.
26364         * iconv/iconv_prog.c: Likewise.
26365         * iconv/iconvconfig.c: Likewise.
26366         * locale/programs/locale.c: Likewise.
26367         * locale/programs/localedef.c: Likewise.
26368         * malloc/memusage.sh: Likewise.
26369         * malloc/mtrace.pl: Likewise.
26370         * nscd/nscd.c (print_version): Likewise.
26371         * nss/getent.c: Likewise.
26373         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26374         PF_CAIF, and PF_ALG.
26375         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26377 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26379         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26380         (modules-names): Use them.
26381         (ifunc-test-modules, ifunc-pie-tests): Define.
26382         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26383         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26384         (test-extras): Likewise.
26385         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26386         $(compile-command.c).
26387         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26388         (all-built-dso): Define.
26389         (check-textrel.out, check-execstack.out): Depend on it.
26391         * configure.in: Don't override --enable-multi-arch.
26393 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26395         [BZ #6812]
26396         * nscd/hstcache.c (tryagain): Define.
26397         (cache_addhst): Return tryagain not notfound for temporary errors.
26398         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26399         failed.
26401 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26403         [BZ #10563]
26404         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26405         to make the syscall.
26406         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26408         [BZ #12378]
26409         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26410         and fall back to matching as normal character if the string ends before
26411         the matching ']' is found.  This is what POSIX requires.
26412         * posix/testfnm.c: Adjust test result.
26413         * posix/globtest.sh: Adjust test result.  Add new test.
26414         * posix/tst-fnmatch.input: Likewise.
26415         * posix/tst-fnmatch2.c: Add new test.
26417 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26419         * elf/Makefile (check-execstack): Revert last change.  Depend on
26420         check-execstack.h.
26421         (check-execstack.h): New target.
26422         (generated): Add check-execstack.h.
26423         * elf/check-execstack.c: Include "check-execstack.h".
26424         (main): Revert last change.
26425         (handle_file): Return zero if GNU_STACK is absent and
26426         DEFAULT_STACK_PERMS doesn't include PF_X.
26428 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26430         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26431         in child fails because the descriptor is already closed.
26432         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26433         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26434         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26436         [BZ #12397]
26437         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26438         syscall.
26440         [BZ #10484]
26441         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26442         temporary buffer used to handle multi lookups locally.
26443         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26445 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26447         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26448         loader is ld.so.
26450 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26452         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26453         alignment for SSE2.
26455 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26457         [BZ #12394]
26458         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26459         characters.  When rounding increased number of integer digits recompute
26460         number of groups.
26461         * stdio-common/tst-grouping.c: New file.
26462         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26464 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26466         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26467         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26469         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26470         void.
26471         * bits/select.h: Likewise.
26473 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26475         * po/ja.po: Update from translation team.
26477 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26479         [BZ #11155]
26480         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26481         implementation just like for lxstat, fxstatat, et al.
26483 2010-12-27  Jim Meyering  <meyering@redhat.com>
26485         [BZ #12348]
26486         * posix/regexec.c (build_trtable): Return failure indication upon
26487         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26489 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26491         [BZ #12201]
26492         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26493         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26494         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26495         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26497         [BZ #12207]
26498         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26500         [BZ #12204]
26501         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26502         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26504 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26506         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26507         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26508         script has SORT_BY_INIT_PRIORITY.
26509         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26510         NO_CTORS_DTORS_SECTIONS is defined.
26511         * elf/soinit.c: Likewise.
26512         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26513         NO_CTORS_DTORS_SECTIONS is defined.
26514         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26515         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26516         * sysdeps/sh/init-first.c: Likewise.
26517         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26519 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26521         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26522         always use the slow path.
26524 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26526         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26527         similar rule which adds the sysdep directories to the header search in
26528         order to pick up the correct platform stackinfo.h.
26529         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26530         perform test if it is, otherwise return successfully without testing.
26531         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26532         DEFAULT_STACK_PERMS define in stackinfo.h.
26533         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26534         defined in stackinfo.h.
26535         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26536         DEFAULT_STACK_PERMS defined in stackinfo.h.
26537         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26538         * sysdeps/ia64/stackinfo.h: Likewise.
26539         * sysdeps/s390/stackinfo.h: Likewise.
26540         * sysdeps/sh/stackinfo.h: Likewise.
26541         * sysdeps/sparc/stackinfo.h: Likewise.
26542         * sysdeps/x86_64/stackinfo.h: Likewise.
26543         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26544         PF_X for powerpc64.  Retain PF_X for powerpc32.
26546 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26548         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26549         accurately.
26550         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26551         GETDENTS_64BIT_ALIGNED.
26553 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26555         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26557 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26559         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26560         _GNU_SOURCE.
26562         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26563         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26564         Remove __restrict.
26565         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26566         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26568 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26570         [BZ #11655]
26571         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26572         are initialized.
26574 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26576         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26578 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26580         * po/it.po: Update from translation team.
26582 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26584         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26585         unused codes.
26587 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26589         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26591 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26593         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26594         specially.
26595         (gaih_getanswer_slice): Likewise.
26597 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26599         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26601 2010-05-31  Petr Baudis  <pasky@suse.cz>
26603         [BZ #11149]
26604         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26605         silently even in the chroot mode.
26607 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26609         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26610         last patch a bit.  Pretty printing
26612 2010-05-31  Petr Baudis <pasky@suse.cz>
26614         [BZ #10085]
26615         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26616         initialization of skip_initgroups_dyn.
26618 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26620         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26621         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26623 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26625         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26627 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26629         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26630         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26631         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26632         ($(objpfx)tst-fnmatch-mem): New rule.
26633         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26634         * posix/tst-fnmatch.c (main): Call mtrace.
26636 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26639         Support Intel processor model 6 and model 0x2c.
26641 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26643         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26644           signed comparison.
26646 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26648         [BZ #12205]
26649         * string/test-strncasecmp.c (check_result): New function.
26650         (do_one_test): Use it.
26651         (check1): New function.
26652         (test_main): Use it.
26653         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26654         Support strcasecmp and strncasecmp.
26656 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26658         [BZ #12194]
26659         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26660         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26662 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26664         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26665         IFUNC support.
26666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26667         memset-x86-64.
26668         * sysdeps/x86_64/multiarch/bzero.S: New file.
26669         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26670         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26671         * sysdeps/x86_64/multiarch/memset.S: New file.
26672         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26674         Set bit_Prefer_SSE_for_memop for Intel processors.
26675         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26676         Define.
26677         (index_Prefer_SSE_for_memop): Define.
26678         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26680 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26682         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26683         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26685 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26687         [BZ #12191]
26688         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26689         (__x86_64_raw_data_cache_size_half): Likewise.
26690         (__x86_64_raw_shared_cache_size): Likewise.
26691         (__x86_64_raw_shared_cache_size_half): Likewise.
26693         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26694         (__x86_64_raw_data_cache_size_half): Likewise.
26695         (__x86_64_raw_shared_cache_size): Likewise.
26696         (__x86_64_raw_shared_cache_size_half): Likewise.
26697         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26698         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26699         and __x86_64_raw_shared_cache_size_half.  Round
26700         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26701         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26702         to multiple of 256 bytes.
26704 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26706         [BZ #12167]
26707         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26708         of inacessible symlinks.  Verify result of symlink before returning it.
26709         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26710         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26712 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26714         * math/math.h (isinf): Fix typo in comment.
26716 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26718         * po/da.po: Update from translation team.
26720 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26722         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26723         is added to the list.
26725 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26726             Ulrich Drepper  <drepper@gmail.com>
26728         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26729         the global list here.  Move code to...
26730         (_dl_add_to_namespace_list): ...here.  New function.
26731         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26732         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26733         * elf/dl-load.c (lose): Don't remove the element from the list.
26734         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26735         (_dl_map_object): Likewise.
26737 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26739         [BZ #12159]
26740         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26741         into all bytes of SSE register.
26742         Patch by Richard Li <richardpku@gmail.com>.
26744 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26746         [BZ #12140]
26747         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26748         perturbing.
26750 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26752         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26753         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26754         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26755         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26757         submachine.
26758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26760 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26762         * include/dlfcn.h (__RTLD_SECURE): Define.
26763         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26764         mode & __RTLD_SECURE instead.
26765         (open_path): Rename preloaded parameter to secure.
26766         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26767         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26768         * elf/dl-deps.c (openaux): Likewise.
26769         * elf/rtld.c (struct map_args): Remove is_preloaded.
26770         (map_doit): Don't use it.
26771         (dl_main): Likewise.
26772         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26773         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26775 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26777         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26778         (sysd-rules-targets): Remove duplicates.
26779         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26780         rtld-%.$o dependency.
26782 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26784         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26785         _dl_map_object do it.
26787 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26789         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26790         fast fma builtins, define the macros in the C99 standard.
26791         (FP_FAST_FMAF): Likewise.
26792         (FP_FAST_FMAL): Likewise.
26793         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26795         * bits/mathdef.h: Update copyright year.
26796         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26798 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26800         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26801         builtins, define the macros in the C99 standard.
26802         (FP_FAST_FMAF): Likewise.
26803         (FP_FAST_FMAL): Likewise.
26804         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26805         multiply/add.
26806         (FP_FAST_FMAF): Likewise.
26808 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26810         [BZ #3268]
26811         * math/libm-test.inc (fma_test): Some new testcases.
26812         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26813         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26814         y and infinite z.  Do multiplication by C already in long double.
26815         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26816         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26817         y and infinite z.  Do bitwise or of inexact bit into u.d.
26818         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26819         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26820         * sysdeps/i386/fpu/s_fma.S: Removed.
26821         * sysdeps/i386/fpu/s_fmal.S: Removed.
26823 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26825         [BZ #3268]
26826         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26827         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26828         computation is not scheduled after fetestexcept.  Fix value
26829         of minimum denormal long double.
26831 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26833         [BZ #3268]
26834         * math/libm-test.inc (fma_test): Add some more tests.
26835         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26836         correctly.
26838 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26840         * scripts/data/localplt-s390-linux-gnu.data: New file.
26841         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26843 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26845         [BZ #3268]
26846         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26847         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26848         instead of dbl-64.
26849         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26850         inlines.
26851         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26853         if one of x and y is very large and the other is subnormal.
26854         * sysdeps/s390/fpu/s_fmaf.c: New file.
26855         * sysdeps/s390/fpu/s_fma.c: New file.
26856         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26857         * sysdeps/powerpc/fpu/s_fma.S: New file.
26858         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26859         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26860         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26862 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26864         [BZ #3268]
26865         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26866         fma tests.
26867         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26868         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26869         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26870         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26871         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26872         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26873         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26875 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26877         [BZ #12078]
26878         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26879         * posix/bug-regex31.input: Add test case.
26881 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26883         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26884         * posix/bug-regex31.input: New file.
26886         [BZ #12078]
26887         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26888         (parse_sub_exp): Fix last change, use postorder.
26890         * posix/bug-regex31.c: New file.
26891         * posix/Makefile: Add rules to build and run bug-regex31.
26893         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26895         [BZ #12078]
26896         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26898         [BZ #12108]
26899         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26900         to have entries in sys_siglist.
26902         [BZ #12093]
26903         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26904         be NULL.
26906 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26908         [BZ #3268]
26909         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26910         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26911         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26912         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26913         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26914         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26915         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26916         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26917         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26918         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26919         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26920         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26921         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26922         * math/ftestexcept.c (fetestexcept): Likewise.
26923         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26924         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26925         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26926         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26927         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26928         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26929         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26931 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26933         [BZ #12107]
26934         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26935         newline.
26937 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26939         * string/bug-strstr1.c: New file.
26940         * string/Makefile: Add rules to build and run bug-strstr1.
26942 2010-10-05  Eric Blake  <eblake@redhat.com>
26944         [BZ #12092]
26945         * string/str-two-way.h (two_way_long_needle): Always clear memory
26946         when skipping input due to the shift table.
26948 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26950         [BZ #12005]
26951         * malloc/mcheck.c: Handle large requests.
26953         [BZ #12077]
26954         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26955         for strncmp and strncasecmp.
26956         * string/stratcliff.c: Add tests for strcmp and strncmp.
26957         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26959 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26961         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26962         __set_fpscr.
26964 2010-09-30  Andreas Jaeger  <aj@suse.de>
26966         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26967         (CGROUP_SUPER_MAGIC): Define.
26968         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26969         Handle btrfs and cgroup file systems.
26970         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26971         Likewise.
26973 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26975         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26976         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26978 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26980         [BZ #12067]
26981         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26982         trying to locate the ELF header.
26984 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26986         [BZ #11611]
26987         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26988         Mask out sign-bit copies when constructing f_fsid.
26990 2010-09-24  Petr Baudis <pasky@suse.cz>
26992         * debug/stack_chk_fail_local.c: Add missing licence exception.
26993         * debug/warning-nop.c: Likewise.
26995 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26997         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26998         implementing getdents64 using getdents syscall, set d_type if
26999         __ASSUME_GETDENTS32_D_TYPE.
27001 2010-09-16  Andreas Schwab  <schwab@redhat.com>
27003         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27004         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27006 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
27008         [BZ #12037]
27009         * posix/unistd.h: Undo change of feature selection for ftruncate from
27010         2010-01-11.
27012 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
27014         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
27015         detection.
27017 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27019         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27020         fanotify_mark.
27021         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27023 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27025         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27026         variables after CHECK_SP call.
27027         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27029 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27030             Ulrich Drepper  <drepper@redhat.com>
27032         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27033         re-relocationg ld.so.
27034         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27035         _dl_init_paths call.
27036         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27037         here anymore.
27039 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27041         * resolv/res_init.c (__res_vinit): Count the default server we added.
27043 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27044             Ulrich Drepper  <drepper@redhat.com>
27046         [BZ #11968]
27047         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27048         (____longjmp_chk): Use %ebx for saving value across system call.
27049         Add unwind info.
27051 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27053         * manual/Makefile: Don't mix pattern rules with normal rules.
27055 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27057         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27058         operation.
27059         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27060         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27061         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27062         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27063         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27064         Likewise.
27066 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27068         [BZ #11979]
27069         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27070         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27072 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27074         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27075         * sysdeps/x86_64/addmul_1.S: Likewise.
27076         * sysdeps/x86_64/lshift.S: Likewise.
27077         * sysdeps/x86_64/mul_1.S: Likewise.
27078         * sysdeps/x86_64/rshift.S: Likewise.
27079         * sysdeps/x86_64/sub_n.S: Likewise.
27080         * sysdeps/x86_64/submul_1.S: Likewise.
27082 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27084         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27085         Define __sched_param instead of SCHED_* and sched_param when
27086         <bits/sched.h> is included with __need_schedparam defined.
27087         * bits/sched.h [__need_schedparam]
27088         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27089         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27090         (__defined_schedparam): Define to 1.
27091         (__sched_param): New structure, identical to sched_param.
27092         (__need_schedparam): Undefine.
27094 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27096         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27097         (epoll_create1): Declare.
27099         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27101 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27103         [BZ #7066]
27104         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27105         shifting retval into place.
27107 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27109         * nis/rpcsvc/nis.h: Update copyright notice.
27110         * nis/rpcsvc/nis.x: Likewise.
27111         * nis/rpcsvc/nis_callback.h: Likewise.
27112         * nis/rpcsvc/nis_callback.x: Likewise.
27113         * nis/rpcsvc/nis_object.x: Likewise.
27114         * nis/rpcsvc/nis_tags.h: Likewise.
27115         * nis/rpcsvc/yp.h: Likewise.
27116         * nis/rpcsvc/yp.x: Likewise.
27117         * nis/rpcsvc/ypupd.h: Likewise.
27118         * nis/yp_xdr.c: Likewise.
27119         * nis/ypupdate_xdr.c: Likewise.
27121         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27122         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27123         (pmap_getport): Use __libc_rpc_getport.
27124         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27125         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27126         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27128 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27131         fanotify_mark.
27133 2010-08-27  Roland McGrath  <roland@redhat.com>
27135         * sysdeps/i386/i686/multiarch/Makefile
27136         (CFLAGS-varshift.c): New variable.
27138 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27140         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27141         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27143         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27145         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27147 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27149         * sysdeps/x86_64/strlen.S: Unroll the loop.
27150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27151         strlen-sse2 strlen-sse2-bsf.
27152         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27153         __strlen_no_bsf if bit_Slow_BSF is set.
27154         (__strlen_sse42): Removed.
27155         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27156         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27158 2010-08-25  Roland McGrath  <roland@redhat.com>
27160         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27161         * sysdeps/x86_64/multiarch/varshift.c: New file.
27162         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27163         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27164         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27165         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27167 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27169         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27170         strlen-sse2 strlen-sse2-bsf.
27171         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27172         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27173         (__strlen_sse2): Removed.
27174         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27175         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27176         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27177         bit_Slow_BSF for Atom.
27178         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27179         (index_Slow_BSF): Define.
27180         (HAS_SLOW_BSF): Define.
27182 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27184         [BZ #10851]
27185         * resolv/res_init.c (__res_vinit): When no server address at all
27186         is given default to loopback.
27188 2010-08-24  Roland McGrath  <roland@redhat.com>
27190         * configure.in: Remove config-name.h generation.
27191         * configure: Regenerated.
27192         * config-name.in: File removed.
27193         * scripts/config-uname.sh: New file.
27194         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27195         ($(objdir)config-name.h): New target.
27197         * sunrpc/rpc_parse.h: Avoid nested comment.
27199 2010-08-24  Richard Henderson  <rth@redhat.com>
27200             Ulrich Drepper  <drepper@redhat.com>
27201             H.J. Lu  <hongjiu.lu@intel.com>
27203         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27204         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27205         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27206         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27207         _mm_alignr_epi8 with _mm_loadu_si128.
27208         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27209         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27210         (__m128i_shift_right): Removed.
27211         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27212         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27213         * sysdeps/x86_64/multiarch/varshift.h: New file.
27214         * sysdeps/x86_64/multiarch/varshift.S: New file.
27216 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27218         * configure.in: Move assembler checks to before sysdep dir checking.
27220 2010-08-20  Petr Baudis  <pasky@suse.cz>
27222         * LICENSES: Sync the sunrpc license.
27224 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27226         * sunrpc/auth_des.c: Update copyright notice once again.
27227         * sunrpc/auth_none.c: Likewise.
27228         * sunrpc/auth_unix.c: Likewise.
27229         * sunrpc/authdes_prot.c: Likewise.
27230         * sunrpc/authuxprot.c: Likewise.
27231         * sunrpc/bindrsvprt.c: Likewise.
27232         * sunrpc/clnt_gen.c: Likewise.
27233         * sunrpc/clnt_perr.c: Likewise.
27234         * sunrpc/clnt_raw.c: Likewise.
27235         * sunrpc/clnt_simp.c: Likewise.
27236         * sunrpc/clnt_tcp.c: Likewise.
27237         * sunrpc/clnt_udp.c: Likewise.
27238         * sunrpc/clnt_unix.c: Likewise.
27239         * sunrpc/des_crypt.c: Likewise.
27240         * sunrpc/des_soft.c: Likewise.
27241         * sunrpc/get_myaddr.c: Likewise.
27242         * sunrpc/getrpcport.c: Likewise.
27243         * sunrpc/key_call.c: Likewise.
27244         * sunrpc/key_prot.c: Likewise.
27245         * sunrpc/openchild.c: Likewise.
27246         * sunrpc/pm_getmaps.c: Likewise.
27247         * sunrpc/pm_getport.c: Likewise.
27248         * sunrpc/pmap_clnt.c: Likewise.
27249         * sunrpc/pmap_prot.c: Likewise.
27250         * sunrpc/pmap_prot2.c: Likewise.
27251         * sunrpc/pmap_rmt.c: Likewise.
27252         * sunrpc/rpc/auth.h: Likewise.
27253         * sunrpc/rpc/auth_unix.h: Likewise.
27254         * sunrpc/rpc/clnt.h: Likewise.
27255         * sunrpc/rpc/des_crypt.h: Likewise.
27256         * sunrpc/rpc/key_prot.h: Likewise.
27257         * sunrpc/rpc/netdb.h: Likewise.
27258         * sunrpc/rpc/pmap_clnt.h: Likewise.
27259         * sunrpc/rpc/pmap_prot.h: Likewise.
27260         * sunrpc/rpc/pmap_rmt.h: Likewise.
27261         * sunrpc/rpc/rpc.h: Likewise.
27262         * sunrpc/rpc/rpc_des.h: Likewise.
27263         * sunrpc/rpc/rpc_msg.h: Likewise.
27264         * sunrpc/rpc/svc.h: Likewise.
27265         * sunrpc/rpc/svc_auth.h: Likewise.
27266         * sunrpc/rpc/types.h: Likewise.
27267         * sunrpc/rpc/xdr.h: Likewise.
27268         * sunrpc/rpc_clntout.c: Likewise.
27269         * sunrpc/rpc_cmsg.c: Likewise.
27270         * sunrpc/rpc_common.c: Likewise.
27271         * sunrpc/rpc_cout.c: Likewise.
27272         * sunrpc/rpc_dtable.c: Likewise.
27273         * sunrpc/rpc_hout.c: Likewise.
27274         * sunrpc/rpc_main.c: Likewise.
27275         * sunrpc/rpc_parse.c: Likewise.
27276         * sunrpc/rpc_parse.h: Likewise.
27277         * sunrpc/rpc_prot.c: Likewise.
27278         * sunrpc/rpc_sample.c: Likewise.
27279         * sunrpc/rpc_scan.c: Likewise.
27280         * sunrpc/rpc_scan.h: Likewise.
27281         * sunrpc/rpc_svcout.c: Likewise.
27282         * sunrpc/rpc_tblout.c: Likewise.
27283         * sunrpc/rpc_util.c: Likewise.
27284         * sunrpc/rpc_util.h: Likewise.
27285         * sunrpc/rpcinfo.c: Likewise.
27286         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27287         * sunrpc/rpcsvc/key_prot.x: Likewise.
27288         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27289         * sunrpc/rpcsvc/mount.x: Likewise.
27290         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27291         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27292         * sunrpc/rpcsvc/rex.x: Likewise.
27293         * sunrpc/rpcsvc/rstat.x: Likewise.
27294         * sunrpc/rpcsvc/rusers.x: Likewise.
27295         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27296         * sunrpc/rpcsvc/spray.x: Likewise.
27297         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27298         * sunrpc/rtime.c: Likewise.
27299         * sunrpc/svc.c: Likewise.
27300         * sunrpc/svc_auth.c: Likewise.
27301         * sunrpc/svc_authux.c: Likewise.
27302         * sunrpc/svc_raw.c: Likewise.
27303         * sunrpc/svc_run.c: Likewise.
27304         * sunrpc/svc_simple.c: Likewise.
27305         * sunrpc/svc_tcp.c: Likewise.
27306         * sunrpc/svc_udp.c: Likewise.
27307         * sunrpc/svc_unix.c: Likewise.
27308         * sunrpc/svcauth_des.c: Likewise.
27309         * sunrpc/xcrypt.c: Likewise.
27310         * sunrpc/xdr.c: Likewise.
27311         * sunrpc/xdr_array.c: Likewise.
27312         * sunrpc/xdr_float.c: Likewise.
27313         * sunrpc/xdr_mem.c: Likewise.
27314         * sunrpc/xdr_rec.c: Likewise.
27315         * sunrpc/xdr_ref.c: Likewise.
27316         * sunrpc/xdr_sizeof.c: Likewise.
27317         * sunrpc/xdr_stdio.c: Likewise.
27319         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27320         handling.
27322 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27324         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27326 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27328         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27329         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27330         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27331         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27332         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27333         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27334         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27335         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27336         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27337         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27338         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27339         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27340         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27341         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27343 2010-07-26  Anton Blanchard  <anton@samba.org>
27345         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27346         * malloc/arena.c (heap_trim): Likewise.
27348 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27350         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27351         here.  Not...
27352         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27353         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27355 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27357         * sysdeps/i386/elf/Makefile: New file.
27359 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27361         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27362         from fanotify_init.
27363         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27364         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27366 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27368         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27369         of strncasecmp_l.
27370         * sysdeps/multiarch/strcmp.S: Likewise.
27372 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27374         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27375         strncase_l-nonascii.
27376         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27377         Add strncase_l-ssse3.
27378         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27379         * sysdeps/x86_64/strcmp.S: Likewise.
27380         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27381         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27382         * sysdeps/x86_64/strncase.S: New file.
27383         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27384         * sysdeps/x86_64/strncase_l.S: New file.
27385         * string/Makefile (strop-tests): Add strncasecmp.
27386         * string/test-strncasecmp.c: New file.
27388         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27389         warning.
27391         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27392         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27394 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27396         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27398 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27400         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27401         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27402         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27404 2010-05-01  Alan Modra  <amodra@gmail.com>
27406         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27407         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27408         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27409         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27410         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27411         tidying.  Don't tail-call __sigjmp_save for static lib.
27412         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27413         save location.
27414         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27415         (CALL_MCOUNT): Add eh info, and nop after bl.
27416         (TAIL_CALL_SYSCALL_ERROR): New macro.
27417         (PSEUDO_RET): Use it.
27418         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27419         Correct save location of integer regs and cr.
27420         (_dl_profile_resolve): Correct cr save location.  Delete nops
27421         after bl when SHARED.  Reduce cfi size a little by better
27422         placement of cfi directives.
27423         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27424         make a stack frame.  Instead use parm save area as a temp.
27425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27426         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27428         Don't make a stack frame for parent, use parm save area.
27429         Increase child stack frame to 112 bytes.  Don't save unused reg,
27430         and adjust reg usage.  Set up cfi on error recovery and
27431         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27433         (__makecontext): Add dummy nop after jump to exit.
27434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27435         Use correct parm save area and cr save, reduce stack frame.
27436         Correct cfi for possible PSEUDO_RET frame setup.
27437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27438         Branch to local label emitted by PSEUDO_RET rather than
27439         __syscall_error.
27441 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27443         [BZ #11904]
27444         * locale/programs/locale.c (print_assignment): New function.
27445         (show_locale_vars): Use it.
27447 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27449         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27450         field.
27451         (struct statfs64): Likewise.
27452         (_STATFS_F_FLAGS): Define.
27453         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27454         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27455         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27456         (ST_VALID): Define locally.
27457         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27458         __statvfs_getflags, use the provided value.
27459         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27460         __ASSUME_STATFS_F_FLAGS.
27462         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27464         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27465         Add sys/fanotify.h.
27466         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27467         fanotify_mask for GLIBC_2.13.
27468         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27469         fanotify_init and fanotify_mark.
27470         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27471         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27473         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27474         Add prlimit.
27475         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27476         prlimit64 for GLIBC_2.13.
27477         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27478         prlimit64.
27479         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27480         syscall.
27481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27482         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27483         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27484         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27485         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27486         add prlimit alias.
27487         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27489         [BZ #11903]
27490         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27491         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27493         * nss/Makefile: Add rules to build and run tst-nss-test1.
27494         * shlib-versions: Add entry for libnss_test1.
27495         * nss/nss_test1.c: New file.
27496         * nss/tst-nss-test1.c: New file.
27498         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27499         (__nss_configure_lookup): Set appropriate entry in
27500         __nss_configure_lookup to true.
27501         * nss/nsswitch.h: Define enum with indeces of databases in
27502         databases and __nss_database_custom arrays.  Declare
27503         __nss_database_custom.
27504         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27505         to avoid using nscd when custom rules are installed.
27506         * nss/getXXbyYY_r.c: Likewise.
27507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27509         * nss/nss_files/files-parse.c: Whitespace fixes.
27511 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27513         [BZ #11883]
27514         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27515         * posix/fnmatch_loop.c: Likewise.
27517 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27519         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27520         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27521         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27522         * Versions.def [GLIBC_2.13]: Add.
27524 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27526         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27527         Also fail if tpwd after pwuid call is NULL.
27529 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27531         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27532         when converting to ms.
27534 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27536         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27537         EOPNOTSUPP errors with ENOTTY.
27538         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27539         EOPNOTSUPP errors with ENOTTY.
27541 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27543         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27544         Add strcasecmp_l-ssse3.
27545         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27546         strcasecmp.
27547         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27548         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27549         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27551 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27553         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27555         * string/Makefile (strop-tests): Add strcasecmp.
27556         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27557         strcasecmp_l-nonascii.
27558         (gen-as-const-headers): Add locale-defines.sym.
27559         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27560         * sysdeps/x86_64/strcasecmp.S: New file.
27561         * sysdeps/x86_64/strcasecmp_l.S: New file.
27562         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27563         * sysdeps/x86_64/locale-defines.sym: New file.
27564         * string/test-strcasecmp.c: New file.
27566         * string/test-strcasestr.c: Test both ends of the range of characters.
27567         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27569 2010-07-29  Roland McGrath  <roland@redhat.com>
27571         [BZ #11856]
27572         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27574 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27576         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27577         for ld.so.
27579 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27581         * manual/memory.texi (Malloc Tunable Parameters): Document
27582         M_PERTURB.
27584 2010-07-26  Roland McGrath  <roland@redhat.com>
27586         [BZ #11840]
27587         * configure.in (-fgnu89-inline check): Set and substitute
27588         gnu89_inline, not libc_cv_gnu89_inline.
27589         * configure: Regenerated.
27590         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27592 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27594         * string/test-strnlen.c: New file.
27595         * string/Makefile (strop-tests): Add strnlen.
27596         * string/tester.c (test_strnlen): Add a few more test cases.
27597         * string/tst-strlen.c: Better error reporting.
27599         * sysdeps/x86_64/strnlen.S: New file.
27601 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27603         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27604         lower-latency instructions.
27606 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27608         * string/test-strcasestr.c: New file.
27609         * string/test-strstr.c: New file.
27610         * string/Makefile (strop-tests): Add strstr and strcasestr.
27611         * string/str-two-way.h: Don't undefine MAX.
27612         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27614 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27616         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27617         strcasestr-nonascii.
27618         (CFLAGS-strcasestr-nonascii.c): Define.
27619         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27620         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27621         Remove unused attribute.
27623 2010-07-20  Roland McGrath  <roland@redhat.com>
27625         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27626         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27627         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27628         like LD_HWCAP_MASK can disable hwcaps.
27630 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27632         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27634 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27636         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27637         call in strcasestr.
27638         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27639         __strcasestr_sse42_nonascii.
27640         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27641         strcasestr-nonascii.c.
27642         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27644 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27646         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27647         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27648         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27649         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27651 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27653         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27654         fcntl.
27656 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27658         [BZ #11577]
27659         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27660         dl_signal_cerror.
27662 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27664         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27665         _PC_PIPE_BUF using F_GETPIPE_SZ.
27667 2010-07-05  Roland McGrath  <roland@redhat.com>
27669         * manual/arith.texi (Rounding Functions): Fix rint description
27670         implicit in round description.
27672 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27674         * elf/Makefile: Fix linking for a few tests to make recent linker
27675         happy.
27677 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27679         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27680         $(common-objpfx)libc_nonshared.a.
27682 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27684         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27685         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27686         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27687         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27688         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27689         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27690         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27691         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27706         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27707         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27708         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27709         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27710         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27711         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27712         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27713         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27714         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27715         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27716         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27717         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27733 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27735         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27736         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27737         * string/memmove.c (memmove): Renamed to ...
27738         (MEMMOVE): ...this.  Default to memmove.
27739         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27740         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27741         (END_CHK): Define.
27742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27743         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27744         mempcpy-ssse3-back memmove-ssse3-back.
27745         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27746         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27747         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27748         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27749         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27750         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27751         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27752         * sysdeps/x86_64/multiarch/memmove.c: New file.
27753         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27754         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27755         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27756         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27757         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27758         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27759         Define.
27760         (index_Fast_Copy_Backward): Define.
27761         (HAS_ARCH_FEATURE): Define.
27762         (HAS_FAST_REP_STRING): Define.
27763         (HAS_FAST_COPY_BACKWARD): Define.
27765 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27767         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27768         Restore proper fallback handling.
27770 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27772         [BZ #11701]
27773         * posix/group_member.c (__group_member): Correct checking loop.
27775         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27776         OOM in getpwuid_r correctly.  Return error number when the caller
27777         should return, otherwise -1.
27778         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27779         call returning > 0 value.
27780         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27782 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27784         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27785         libc_nonshared.a from targets in modules-names.
27787 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27789         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27790         requires it.
27792 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27794         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27795         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27796         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27797         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27799 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27801         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27803 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27805         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27806         and F_GETPIPE_SZ.
27807         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27808         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27809         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27810         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27811         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27812         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27814 2010-06-14  Roland McGrath  <roland@redhat.com>
27816         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27818 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27820         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27821         __REDIRECT followed by __THROW.
27822         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27823         * posix/getopt.h (getopt): Likewise.
27825 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27827         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27828         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27829         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27830         in AT_FLAGS.
27831         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27832         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27834 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27836         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27838 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27840         [BZ #11640]
27841         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27842         Properly check family and model.
27844 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27846         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27848 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27850         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27852 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27854         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27855         symbol reference.
27857 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27859         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27860         symbol reference.
27862 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27864         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27865         and internal_recvmmsg.
27866         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27867         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27868         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27869         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27871         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27872         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27873         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27875 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27877         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27879 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27881         POWER7 optimizations.
27882         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27883         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27885 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27887         * version.h: Update for 2.13 development version.
27889 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27891         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27892         exceptions.  Return 0.
27894 2010-05-07  Roland McGrath  <roland@redhat.com>
27896         * elf/ldconfig.c (main): Add a const.
27898 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27900         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27901         (args_options): Add no-idn option.
27902         (ahosts_keys_int): Add idn_flags to ai_flags.
27903         (parse_option): Handle 'i' option to clear idn_flags.
27905         * malloc/malloc.c (_int_free): Possible race in the most recently
27906         added check.  Only act on the data if no current modification
27907         happened.
27909 See ChangeLog.17 for earlier changes.