Consistently use ISSPACE to check for whitespace
[glibc.git] / ChangeLog
blob164026bf99ac5bcc28861be919a36bbada7d1768
1 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         [BZ #14888]
4         * time/Makefile (tests): Add tst-strptime-whitespace.
5         * time/strptime_l.c (get_number): Use ISSPACE.
6         (__strptime_internal): Likewise.
7         * time/tst-strptime-whitespace.c: New test case.
9 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12         member.
13         (_nss_files_init): Set it here.
15 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
17         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19         unsigned.
21 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
23         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28         size just once.
30 2013-04-21  David S. Miller  <davem@davemloft.net>
32         * po/ru.po: Update Russion translation from translation project.
34 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37         and setfsgid.
39 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
41         * configure.in: Remove i386 configure warning. Remove i386 case.
42         * configure: Regenerate.
43         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44         Add example to error message.
45         * sysdeps/i386/configure: Regenerate.
47 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50         slowtan.
51         * benchtests/cos-inputs: New file.
52         * benchtests/slowcos-inputs: New file.
53         * benchtests/slowcos.c: New file.
54         * benchtests/slowtan-inputs: New file.
55         * benchtests/slowtan.c: New file.
56         * benchtests/tan-inputs: New file.
58 2013-04-16  Roland McGrath  <roland@hack.frob.com>
60         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61         considered kosher.
63 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65         * benchtests/Makefile: Include cppflags-iterator.mk to add
66         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68         * Makefile.in (bench-clean): New target.
69         * benchtests/Makefile (bench-clean): Likewise.
71 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
73         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
75 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
77         * stdio-common/tstdiomisc.c: Fix coding-style violation.
79 2013-04-15  Andreas Schwab  <schwab@suse.de>
81         * nscd/grpcache.c (cache_addgr): Properly check for short write.
82         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83         * nscd/pwdcache.c (cache_addpw): Likewise.
84         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
85         more than recsize.
87 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
89         * benchtests/Makefile (bench): Write all output to
90         bench-out.tmp together.
92 2013-04-15  Andreas Schwab  <schwab@suse.de>
94         * nscd/nscd.c (main): Don't fork again after closing files.
96 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
98         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
100         * benchtests/Rules (bench-deps): Collect dependencies into a
101         single variable.  Add Makefile to dependencies.
102         ($(objpfx)bench-%.c): Depend on bench-deps.
104 2013-04-12  Roland McGrath  <roland@hack.frob.com>
105             Xavier Roche  <roche+kml2@exalead.com>
107         [BZ #15361]
108         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
109         just that it's a file descriptor.
110         * manual/llio.texi (Synchronizing AIO Operations): Update description
111         for EBADF error from aio_fsync.
113 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
115         * Rules (bench): Move target definition...
116         * benchtests/Makefile: ... here.
118 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
120         * math/libm-test.inc (cos_test): Fix PI/2 test.
121         (sincos_test): Likewise.
122         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
123         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
125 2013-04-11  Andreas Schwab  <schwab@suse.de>
127         [BZ #13988]
128         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
129         accept exponent character only when digits were seen.
130         * stdio-common/Makefile (tests): Add bug26.
131         * stdio-common/bug26.c: New file.
133         [BZ #14293]
134         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
135         non-freeable.
137 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
139         * Makeconfig (rtld-prefix): Define built linker prefix.
140         * Rules (run-bench): Use it.
141         * math/Makefile (run-regen-ulps): Likewise.
143         * Rules (bench): Remove eval.
145 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
146             Roland McGrath  <roland@hack.frob.com>
147             Ondrej Bilka  <neleai@seznam.cz>
149         [BZ #15346]
150         * time/getdate.c: Include ctype.h and alloca.h.
151         (__getdate_r): Trim leading and trailing spaces of input.
152         * time/tst-getdate.c (tests): Add tests with leading and
153         trailing spaces.
155 2013-04-08  Roland McGrath  <roland@hack.frob.com>
157         [BZ #14280]
158         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
159         when computing value.
161 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
163         * math/README.libm-test (How can I generate "libm-test-ulps"?):
164         Use testrun.sh to run libm tests.
166         [BZ #15309]
167         * elf/dl-open.c (dl_open_worker): memset all of seen array.
169 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
171         [BZ #15264]
172         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
174 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
176         * Makefile.in (regen-ulps): New target.
177         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
178         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
179         [ifneq (no,$(PERL)] (regen-ulps): New target.
180         [ifeq (no,$(PERL)] (regen-ulps): New target.
181         * math/libm-test.inc (ulps_file_name): Define.
182         (output_dir): New variable.
183         (options): Add "output-dir" option.
184         (parse_opt): Handle 'o' case.
185         (main): If output_dir is non-NULL use it as a prefix
186         otherwise use "".
187         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
189 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
191         [BZ #10060, #10062]
192         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
193         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
194         fail configure if __sync_val_compare_and_swap is not inlined.
195         * sysdeps/i386/configure: Regenerate.
196         * configure.in: Build for i686 when configured for i386.
197         * configure: Regenerate.
198         * README: Remove i386 reference.
200 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
202         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
203         * sysdeps/s390/s390-64/sysdep.h: Likewise.
205 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
207         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
208         (lmsnanval): New variables.
209         (F): Add conversion tests.
210         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
211         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
213         * stdio-common/tstdiomisc.c (F): Properly collect individual
214         tests' results.
216         [BZ #14686, #15336]
217         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
218         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
219         Instead, use input NaN values or generate a qNaN by arithmetic
220         operation.  Also fix bugs to comply with the standard.
221         * math/libm-test.inc (remainder_test): Add more tests.
223         [BZ #15335, #15342]
224         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
225         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
226         input NaN values or generate a qNaN by arithmetic operation.
228         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
229         unreachable code.
231         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
232         definitions.
234 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
236         [BZ #14478]
237         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
238         underflowed result.
239         * math/s_cexpf.c (__cexpf): Likewise.
240         * math/s_cexpl.c (__cexpl): Likewise.
241         * math/libm-test.inc (cexp_test): Add more tests.
243 2013-04-03  Andreas Schwab  <schwab@suse.de>
245         [BZ #15330]
246         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
247         order arrays from heap if bigger than alloca cutoff.
249 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
251         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
252         (SNAN_TESTS_double): Refer to GCC PR56831.
253         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
254         GCC PR56828.
256 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
258         * Rules (bench): Move bench.out after the run is complete.
260         * Rules (bench): Echo currently running benchmark.
262         * benchtests/Makefile (bench): Add atan and slowatan.
263         * benchtests/atan-inputs: New file.
264         * benchtests/slowatan-inputs: New file.
265         * benchtests/slowatan.c: New file.
267         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
268         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
269         its value.
271         [BZ #15305]
272         * sysdeps/unix/sysv/linux/kernel-features.h
273         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
274         __ASSUME_XFS_RESTRICTED_CHOWN.
275         * sysdeps/unix/sysv/linux/pathconf.c
276         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
277         Save and restore errno.
279 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
281         [BZ #15327]
282         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
283         arguments using __kernel_casinh.
284         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
285         arguments using __kernel_casinhf.
286         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
287         arguments using __kernel_casinhl.
288         * math/libm-test.inc (cacosh_test): Add more tests.
289         * sysdeps/i386/fpu/libm-test-ulps: Update.
290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
292 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
294         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
295         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
297         * bench/Makefile (bench): Add sin and slowsin.
298         * benchtests/sin-inputs: New file.
299         * benchtests/slowsin-inputs: New file.
300         * benchtests/slowsin.c: New file.
302         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
303         (bench): Add slowexp and slowpow.
304         (exp-ITER): Increase iterations.
305         (pow-ITER): Likewise.
306         * benchtests/exp-inputs: Change input.
307         * benchtests/pow-inputs: Likewise.
308         * benchtests/slowexp-inputs: New file.
309         * benchtests/slowexp.c: New file.
310         * benchtests/slowpow-inputs: New file.
311         * benchtests/slowpow.c: New file.
313 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
315         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
316         instructions.
317         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
318         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
319         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
320         * benchtests/Makefile: Add rint benchtest.
321         * benchtests/rint-inputs: Input for rint benchtest.
323 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
325         * Versions.def (libm): Add GLIBC_2.18.
326         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
327         hidden libm prototypes.
328         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
329         * math/Makefile (libm-calls): Add s_issignaling.
330         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
331         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
332         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
333         declaration.
334         * math/math.h [__USE_GNU] (issignaling): New macro.
335         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
336         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
337         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
338         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
339         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
340         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
341         * manual/arith.texi (issignaling): New section.
342         * manual/libm-err-tab.pl (@all_functions): Update comment.
343         * math/gen-libm-test.pl (parse_args): Apply special handling for
344         issignaling.
345         * math/libm-test.inc (print_float, issignaling_test): New
346         functions.
347         (check_float_internal): Add issignaling checks.
348         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
349         default definition.
350         * sysdeps/powerpc/math-tests.h: New file.
351         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
352         tests.
353         * math/test-snan.c (TEST_FUNC): Likewise.
355 2013-03-30  David S. Miller  <davem@davemloft.net>
357         * po/de.po: Update from translation team.
359 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
361         [BZ #10357]
362         * math/k_casinh.c (__kernel_casinh): Handle arguments with
363         imaginary part less than 1.0 and real part less than 0.5
364         specially.
365         * math/k_casinhf.c (__kernel_casinhf): Likewise.
366         * math/k_casinhl.c (__kernel_casinhl): Likewise.
367         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
368         (cacos_test): Add more tests.
369         (casin_test): Likewise.
370         (casinh_test): Likewise.
371         * sysdeps/i386/fpu/libm-test-ulps: Update.
372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
374 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
376         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
377         ONE with its value.
379         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
380         (__pow_mp): Replace ONE and MONE with their values.
381         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
382         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
383         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
384         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
385         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
386         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
388         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
390         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
391         (__pow_mp): Replace ZERO and MZERO with their values.
392         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
393         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
394         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
395         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
396         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
397         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
398         (__sqr): Likewise.
400         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
402         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
404 2013-03-28  Roland McGrath  <roland@hack.frob.com>
406         * include/stdlib.h [!SHARED] (__call_tls_dtors):
407         Declare with __attribute__ ((weak)).
408         * stdlib/exit.c (__libc_atexit) [!SHARED]:
409         Call __call_tls_dtors only if it's not NULL.
411 2013-03-28  Roland McGrath  <roland@hack.frob.com>
413         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
414         didn't do it already, then set _dl_phdr and _dl_phnum based on the
415         magic __ehdr_start linker symbol if it's defined.
416         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
417         them up here if it was already done.
419         * elf/dl-support.c (_dl_phdr): Make pointer to const.
420         (_dl_aux_init): Use const in cast when setting it.
421         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
422         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
423         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
425         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
426         Declare them here.
427         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
428         * csu/libc-tls.c: Nor here.
429         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
431         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
432         (__libc_message): Never call vsyslog.
434 2013-03-28  Alan Modra  <amodra@gmail.com>
436         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
437         Define as empty.
438         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
439         Likewise.
441 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
443         [BZ #15214]
444         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
445         underflow.
446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
448 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
450         [BZ #15304]
451         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
452         Don't add gid passed as argument.
454         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
456 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
458         [BZ #15307]
459         * math/k_casinh.c (__kernel_casinh): Handle arguments with
460         imaginary part between 1.0 and 1.5 and real part less than 0.5
461         specially.
462         * math/k_casinhf.c (__kernel_casinhf): Likewise.
463         * math/k_casinhl.c (__kernel_casinhl): Likewise.
464         * math/libm-test.inc (cacos_test): Add more tests.
465         (casin_test): Likewise.
466         (casinh_test): Likewise.
467         * sysdeps/i386/fpu/libm-test-ulps: Update.
468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
470 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
472         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
473         constants.
474         (norm): Likewise.
475         (denorm): Likewise.
476         (__dbl_mp): Likewise.
477         (add_magnitudes): Likewise.
478         (sub_magnitudes): Likewise.
479         (__add): Likewise.
480         (__sub): Likewise.
481         (__mul): Likewise.
482         (__sqr): Likewise.
483         (__inv): Likewise.
484         (__dvd): Likewise.
486         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
487         commented code.
488         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
489         (__dubcos): Likewise.
490         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
491         (__ieee754_acos): Likewise.
492         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
493         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
494         (__exp1): Likewise.
495         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
496         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
497         (log1): Likewise.
498         (my_log2): Likewise.
499         (checkint): Likewise.
500         * sysdeps/ieee754/dbl-64/e_remainder.c
501         (__ieee754_remainder): Likewise.
502         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
503         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
504         (bsloww): Likewise.
505         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
507         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
508         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
509         MANTISSA_STORE_T to store computations on mantissa.  Use
510         macros for rounding and division.
511         (denorm): Likewise.
512         (__dbl_mp): Likewise.
513         (add_magnitudes): Likewise.
514         (sub_magnitudes): Likewise.
515         (__mul): Likewise.
516         (__sqr): Likewise.
517         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
518         powers of two in terms of TWOPOW macro.
519         (mp_no): Make type of mantissa as MANTISSA_T.
520         [!RADIXI]: Define RADIXI.
521         [!TWO52]: Define TWO52.
522         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
524 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
526         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
527         llroundl symbol when building for PPC32.
529 2013-03-24  Mark H Weaver  <mhw@netris.org>
531         * manual/arith.texi (Normalization Functions): Fix prototypes for
532         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
534 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
536         [BZ #13889]
537         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
538         high value to check if expl overflow.
539         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
540         to check for underflow and overflow.
541         * math/libm-test.inc: Add exp test.
543 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
545         [BZ #11120]
546         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
547         with NOT_IN_libc.
549 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
551         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
552         symbol.
554 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
556         * math/gen-libm-test.pl (parse_args, special_functions): Properly
557         wrap blocks consisting of several statements.
559         * sysdeps/generic/math-tests.h: New file.
560         * sysdeps/i386/fpu/math-tests.h: Likewise.
561         * math/test-snan.c: Include it.
562         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
564 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
566         [BZ #15285]
567         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
568         (__ieee754_j0l): Do not improve calculations using cos of twice
569         input for inputs above LDBL_MAX / 2.0L.
570         (__ieee754_y0l): Likewise.
571         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
572         (__ieee754_j1l): Do not improve calculations using cos of twice
573         input for inputs above LDBL_MAX / 2.0L.
574         (__ieee754_y1l): Likewise.
575         * math/libm-test.inc (j0_test): Add another test.
576         (j1_test): Likewise.
577         (y0_test): Likewise.
578         (y1_test): Likewise.
579         * sysdeps/i386/fpu/libm-test-ulps: Update.
581 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
583         * Rules ($(objpfx)bench-%.c): Include code from a C source
584         file.
586 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
588         [BZ #15287]
589         * math/k_casinh.c (__kernel_casinh): Handle arguments with
590         imaginary part 1.0 and real part less than 0.5 specially.
591         * math/k_casinhf.c (__kernel_casinhf): Likewise.
592         * math/k_casinhl.c (__kernel_casinhl): Likewise.
593         * math/libm-test.inc (cacos_test): Add more tests.
594         (casin_test): Likewise.
595         (casinh_test): Likewise.
596         * sysdeps/i386/fpu/libm-test-ulps: Update.
597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
599 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
601         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
602         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
604 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
606         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
607         * config.make.in (config-cflags-sse4): Remove variable.
608         (config-cflags-avx): Likewise.
609         (config-cflags-sse2avx): Likewise.
610         (config-cflags-novzeroupper): Likewise.
611         (config-asflags-i686): Likewise.
612         (have-mfma4): Likewise.
613         (have-as-vis3): Likewise.
614         (MIG): Likewise.
615         * configure.in (MIG): Do not AC_SUBST.
616         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
617         (libc_cv_cc_sse4): Do not AC_SUBST.
618         (libc_cv_cc_avx): Likewise.
619         (libc_cv_cc_sse2avx): Likewise.
620         (libc_cv_cc_novzeroupper): Likewise.
621         (libc_cv_cc_fma4): Likewise.
622         (libc_cv_as_i686): Likewise.
623         (libc_cv_sparc_as_vis3): Likewise.
624         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
625         LIBC_CONFIG_VAR.
626         (config-asflags-i686): Likewise.
627         (config-cflags-avx): Likewise.
628         (config-cflags-sse2avx): Likewise.
629         (have-mfma4): Likewise.
630         (config-cflags-novzeroupper): Likewise.
631         * sysdeps/mach/configure.in (MIG): Likewise.
632         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
633         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
634         LIBC_CONFIG_VAR.
635         (config-cflags-avx): Likewise.
636         (config-cflags-sse2avx): Likewise.
637         (have-mfma4): Likewise.
638         (config-cflags-novzeroupper): Likewise.
639         * configure: Regenerated.
640         * sysdeps/i386/configure: Likewise.
641         * sysdeps/mach/configure: Likewise.
642         * sysdeps/sparc/configure: Likewise.
643         * sysdeps/x86_64/configure: Likewise.
645 2013-03-20  Roland McGrath  <roland@hack.frob.com>
647         [BZ #14812]
648         * locale/programs/localedef.c (options): Put N_ translation marker
649         on argument names, not just descriptions.
651 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
653         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
655 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
657         [BZ #14176]
658         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
660 2013-03-19  Roland McGrath  <roland@hack.frob.com>
662         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
663         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
664         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
665         [!BEFORE_ABORT] (before_abort): New function.
666         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
667         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
668         (writev_for_fatal): New function.
669         (WRITEV_FOR_FATAL): New macro; call that.
670         (backtrace_and_maps): New function.
671         (BEFORE_ABORT): New macro; call that.
672         (struct str_list): Type removed.
673         (__libc_message, __libc_fatal): Functions removed.
674         Include <sysdeps/posix/libc_fatal.c> instead.
676 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
678         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
679         constants.
680         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
681         double constants.
683 2013-03-19  Andreas Schwab  <schwab@suse.de>
685         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
686         * sysdeps/gnu/configure: Regenerate.
688         * configure.in: Substitute libc_cv_rtlddir.
689         * configure: Regenerate.
690         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
691         * Makeconfig (rtlddir, inst_rtlddir): New variables.
692         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
693         * elf/Makefile (install-others, CFLAGS-interp.c)
694         (ldso_install, common-ldd-rewrite): Likewise.
695         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
696         $(inst_slibdir)/$(rtld-installed-name).
697         * scripts/rellns-sh: Add -p option.
698         * Makerules (make-shlib-link): Use rellns-sh to get relative name
699         for source.
701 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
703         * manual/nptl.texi: Renamed to ...
704         * manual/threads.texi: ... this.
705         * manual/Makefile (chapters): Update.
707 2013-03-18  Roland McGrath  <roland@hack.frob.com>
709         [BZ #14812]
710         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
711         on argument names, not just descriptions.
712         * malloc/memusagestat.c (options): Likewise.
713         * nss/getent.c (options): Likewise.
715 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
717         [BZ #14812]
718         * iconv/iconv_prog.c (options): Put N_ translation marker
719         on argument names, not just descriptions.
720         * iconv/iconvconfig.c (options): Likewise.
722 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
724         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
725         implementation which is faster on all x86_64 architectures.
726         Tested on AMD, Intel Nehalem, SNB, IVB.
727         * sysdeps/x86_64/strnlen.S: Likewise.
729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
730         Remove all multiarch strlen and strnlen versions.
731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
732         Remove strlen and strnlen related parts.
734         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
735         Inline strlen part.
736         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
738         * sysdeps/x86_64/multiarch/strlen.S: Remove.
739         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
740         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
741         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
742         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
743         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
745 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
747         * manual/memory.texi (Malloc Tunable Parameters):
748         Sort parameters alphabetically. Add comments for missing entries.
750 2013-03-17  David S. Miller  <davem@davemloft.net>
752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
754 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
756         [BZ #15283]
757         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
758         for arguments at most half maximum finite value.
759         * math/libm-test.inc (j0_test): Add more tests.
760         (j1_test): Likewise.
761         (y0_test): Likewise.
762         (y1_test): Likewise.
763         * sysdeps/i386/fpu/libm-test-ulps: Update.
764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
766         [BZ #14155]
767         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
768         1 / x and functions P and Q for arguments above 0x1p256L.
769         (__ieee754_y0l): Likewise.
770         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
771         (__ieee754_y1l): Likewise.
772         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
773         (j1_test): Likewise.
774         (y0_test): Likewise.
775         (y1_test): Likewise.
777 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
779         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
780         variable.
782 2013-03-15  Roland McGrath  <roland@hack.frob.com>
784         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
785         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
786         zero since it's initialized to EXEC_PAGESIZE.
788         * sysdeps/unix/sysv/linux/ldsodefs.h
789         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
790         * sysdeps/generic/ldsodefs.h: ... here.
792 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
794         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
796         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
797         math/test-snan.c.
798         * math/test-snan.c: Renamed from
799         sysdeps/powerpc/fpu/test-powerpc-snan.c.
800         * math/Makefile (tests): Add test-snan.
801         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
802         test-powerpc-snan.
804         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
805         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
806         functions.
807         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
808         __builtin_nan family of functions.
809         * math/libm-test.inc (initialize): Initialize qnan_value with
810         __builtin_nan family of functions.
811         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
812         Remove variables.
813         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
814         Remove functions.
815         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
816         storage class.  Initialize qNaN_var and sNaN_var with
817         __builtin_nan and __builtin_nans families of functions,
818         respectively.
820         * math/libm-test.inc (acosh_test): Also test with qNaN input.
821         (sqrt_test): Remove duplicate test with qNaN input.
822         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
823         (round_test, signbit_test, significand_test): Note missing +/-Inf
824         as well as qNaN tests.
826         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
827         qNaN_var.  Fix a few strings, too.
828         * math/libm-test.inc (nan_value): Rename to qnan_value.
829         * math/gen-libm-test.pl (%beautify): Adjust to that.
830         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
831         * math/test-misc.c (main): Likewise.
832         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
833         to __qnan_bytes, and __qnan_union, respectively.
834         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
835         Likewise.
836         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
837         and lqnanval, respectively.
838         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
839         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
840         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
841         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
843         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
844         * math/test-misc.c (main) [__x86_64__]: Enable test for long
845         doubles.
847         * math/test-misc.c (main): Fix copy'n'pastos.
848         * misc/tst-efgcvt.c (special): Likewise.
850         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
851         Remove declarations.
853 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
855         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
856         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
857         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
858         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
860 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
862         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
863         macro to return vdso values correctly in IFUNC implementations.
864         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
865         Optimization by using IFUNC.
867 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
868             Richard Henderson  <rth@redhat.com>
869             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
871         * Makefile.in (bench): New target.
872         * NEWS: Mention the benchmark framework.
873         * Rules (bench): Likewise.
874         (binaries-bench): Generate binaries for functions to
875         benchmark.
876         * benchtests/Makefile: New makefile for benchmark tests.
877         * benchtests/bench-skeleton.c: New skeleton file for benchmark
878         programs.
879         * benchtests/exp-inputs: New input file for EXP function.
880         * benchtests/pow-inputs: New input file for POW function.
881         * scripts/bench.pl: New script to generate source files for
882         benchmark programs.
884 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
886         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
887         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
888         computations on mantissa.  Use macros for rounding and
889         division.
890         (denorm): Likewise.
891         (__dbl_mp): Likewise.
892         (add_magnitudes): Likewise.
893         (sub_magnitudes): Likewise.
894         (__mul): Likewise.
895         (__sqr): Likewise.
896         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
897         powers of two in terms of TWOPOW macro.
898         (mp_no): Make type of mantissa as MANTISSA_T.
899         [!RADIXI]: Define RADIXI.
900         [!TWO52]: Define TWO52.
901         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
903         * manual/nptl.texi (cindex): Modify threads to pthreads.
905 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
907         * sysdeps/x86_64/preconfigure: Regenerated.
909 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
911         [BZ #14155]
912         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
913         0x1p28 and above.
914         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
915         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
916         0x1p28 and above.
917         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
918         * math/libm-test.inc (j0_test): Do not allow one spurious
919         underflow exception.
920         (y1_test): Likewise.
922 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
924         * manual/Makefile (chapters): Add nptl.
925         * manual/debug.texi (Debugging Support): Add link to Threads
926         chapter.
927         * manual/nptl.texi: New file.
929         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
931 2013-03-14  Petr Baudis  <pasky@ucw.cz>
933         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
934         for non-NULL pointer before the memory validity test. Pointed
935         out by Holger Brunck <holger.brunck@keymile.com>.
937 2013-03-13  Andreas Schwab  <schwab@suse.de>
939         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
940         instead of .os.
942 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
944         * timezone/zic.c: Update from tzcode 2013b.
946 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
948         * manual/install.texi (Configuring and compiling):
949         Mention i686 and i586.
950         * INSTALL: Regenerate.
952 2013-03-12  Roland McGrath  <roland@hack.frob.com>
954         * sysdeps/init_array/elf-init.c: New file.
955         * csu/elf-init.c
956         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
957         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
959         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
960         __gmon_start__ as global, but as static with a .preinit_array pointer.
961         * sysdeps/init_array/gmon-start.c: New file.  Use that.
962         * sysdeps/init_array/crti.S: New file, empty except for comments.
963         * sysdeps/init_array/crtn.S: Likewise.
965 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
967         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
968         definining bcopy.
969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
970         Remove Prefer_SSE_for_memop.
971         * sysdeps/x86_64/multiarch/init-arch.h: Remove
972         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
973         HAS_PREFER_SSE_FOR_MEMOP.
974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
975         memset-x86-64.
976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
977         Remove bzero, memset ifunc support.
978         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
979         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
980         * sysdeps/x86_64/multiarch/memset.S: Likewise.
981         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
983 2013-03-11  Andreas Schwab  <schwab@suse.de>
985         [BZ #15234]
986         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
987         by SHLIB_COMPAT.
988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
989         (GLIBC_2.16): Remove pthread_atfork.
991 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
993         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
994         (ptestcases.h): Likewise.
996 2013-03-08  Roland McGrath  <roland@hack.frob.com>
998         * Makeconfig ($(common-objpfx)config.status): Depend on
999         sysdeps/*/preconfigure{,.in} too.
1001 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
1003         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1004         (__free_hook): Use void * instead of __malloc_ptr_t.
1005         (__malloc_hook): Likewise.
1006         (__realloc_hook): Likewise.
1007         (__memalign_hook): Likewise.
1008         (__after_morecore_hook): Likewise.
1009         * malloc/arena.c (save_malloc_hook): Likewise.
1010         (save_free_hook): Likewise.
1011         * malloc/hooks.c (malloc_hook_ini): Likewise.
1012         (realloc_hook_ini): Likewise.
1013         (memalign_hook_ini): Likewise.
1014         * malloc/malloc.c (malloc_hook_ini): Likewise.
1015         (realloc_hook_ini): Likewise.
1016         (memalign_hook_ini): Likewise.
1017         (__free_hook): Likewise.
1018         (__malloc_hook): Likewise.
1019         (__realloc_hook): Likewise.
1020         (__memalign_hook): Likewise.
1021         (__libc_malloc): Likewise.
1022         (__libc_free): Likewise.
1023         (__libc_realloc): Likewise.
1024         (__libc_memalign): Likewise.
1025         (__libc_valloc): Likewise.
1026         (__libc_pvalloc): Likewise.
1027         (__libc_calloc): Likewise.
1028         (__posix_memalign): Likewise.
1029         * malloc/morecore.c (__sbrk): Likewise.
1030         (__default_morecore): Likewise.
1032         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1034         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1035         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1036         __malloc_ptrdiff_t.
1038         * malloc/malloc.h (__malloc_size_t): Remove macro.
1039         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1040         __malloc_size_t.
1041         (old_memalign_hook): Likewise.
1042         (old_realloc_hook): Likewise.
1043         (struct hdr): Likewise.
1044         (flood): Likewise.
1045         (mallochook): Likewise.
1046         (memalignhook): Likewise.
1047         (reallochook): Likewise.
1048         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1049         (tr_old_realloc_hook): Likewise.
1050         (tr_old_memalign_hook): Likewise.
1051         (tr_mallochook): Likewise.
1052         (tr_reallochook): Likewise.
1053         (tr_memalignhook): Likewise.
1055 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1057         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1058         default_ldbl_pack and using as default implementation.
1059         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1060         implementation.
1061         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1062         redundant definition.
1063         (ldbl_insert_mantissa): Likewise.
1064         (ldbl_canonicalize): Likewise.
1065         (ldbl_nearbyint): Likewise.
1066         (ldbl_pack): Rename to ldbl_pack_ppc.
1067         (ldbl_unpack): Rename to ldbl_unpack_ppc.
1068         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1069         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1071 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
1073         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1074         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1075         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1076         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1077         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1078         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1079         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1080         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1082 2013-03-07  Andreas Jaeger  <aj@suse.de>
1084         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1085         bits/mman-linux.h.
1087 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
1089         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1090         Include mpa.h and declare __MPEXP.
1091         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1092         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1093         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1094         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1095         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1096         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1097         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1099         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1100         (__slowpow): Use long double EXPL and LOGL functions to
1101         compute POW.
1102         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1103         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1104         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1105         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1106         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1107         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1110         intermediate variable to calculate exponent.
1111         (__sqr): Likewise.
1112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1113         Likewise.
1114         (__sqr): Likewise.
1116         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1117         [!NO__SQR]: Define __sqr.
1118         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1119         and NO__SQR.  Remove all code except __mul and __sqr.  Include
1120         sysdeps/ieee754/dbl-64/mpa.c.
1121         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1123         [BZ #12723]
1124         * posix/Makefile (tests): Add tst-pathconf.
1125         * posix/tst-pathconf.c: New test case.
1126         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1127         _PC_PIPE_BUF.
1128         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1130 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
1132         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1134 2013-03-06  Andreas Jaeger  <aj@suse.de>
1136         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1137         definition via __MAP_ANONYMOUS.
1139         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1140         it's not part of Linux headers.
1142         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1143         (MAP_HUGE_MASK): Define.
1145         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1146         Define.
1147         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1148         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1149         Define.
1150         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1151         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1152         Define.
1153         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1154         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1155         Define.
1156         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1158         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1159         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1160         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1161         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1162         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1163         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1165         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1166         Handle f2fs.
1168         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1169         Handle f2fs and efivarfs.
1171         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1172         f2fs.
1174         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1175         (EFIVARFS_MAGIC): Add.
1176         (F2FS_LINK_MAX): Add.
1178 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1180         * stdio-common/vfprintf.c: Replace __builtin_expect with
1181         __glibc_unlikely.
1183 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
1185         [BZ #13550]
1186         * sysdeps/generic/bp-sym.h: Remove file.
1187         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1188         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1189         <bp-sym.h> and <bp-asm.h>.
1190         (__longjmp): Don't use BP_SYM.
1191         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1192         and <bp-asm.h>.
1193         (memcpy): Don't use BP_SYM.
1194         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1195         <bp-sym.h> and <bp-asm.h>.
1196         (memcpy): Don't use BP_SYM.
1197         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1198         <bp-asm.h>.
1199         (memcpy): Don't use BP_SYM.
1200         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1201         <bp-asm.h>.
1202         (memset): Don't use BP_SYM.
1203         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1204         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1205         (__bzero): Don't use BP_SYM.
1206         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1207         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1208         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1209         <bp-sym.h> and <bp-asm.h>.
1210         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1211         pointers.
1212         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1213         <bp-sym.h> and <bp-asm.h>.
1214         (memcpy): Don't use BP_SYM.
1215         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1216         <bp-sym.h> and <bp-asm.h>.
1217         (memset): Don't use BP_SYM.
1218         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1219         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1220         (__bzero): Don't use BP_SYM.
1221         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1222         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1223         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1224         <bp-sym.h> and <bp-asm.h>.
1225         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1226         pointers.
1227         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1228         <bp-sym.h> and <bp-asm.h>.
1229         (memcpy): Don't use BP_SYM.
1230         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1231         <bp-sym.h> and <bp-asm.h>.
1232         (memset): Don't use BP_SYM.
1233         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1234         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1235         (__bzero): Don't use BP_SYM.
1236         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1237         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1238         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1239         <bp-sym.h> and <bp-asm.h>.
1240         (__memchr): Don't use BP_SYM.
1241         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1242         <bp-sym.h> and <bp-asm.h>.
1243         (memcmp): Don't use BP_SYM.  Remove comment about bounded
1244         pointers.
1245         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1246         <bp-sym.h> and <bp-asm.h>.
1247         (memcpy): Don't use BP_SYM.
1248         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1249         <bp-sym.h> and <bp-asm.h>.
1250         (__mempcpy): Don't use BP_SYM.
1251         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1252         <bp-sym.h> and <bp-asm.h>.
1253         (__memrchr): Don't use BP_SYM.
1254         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1255         <bp-sym.h> and <bp-asm.h>.
1256         (memset): Don't use BP_SYM.
1257         (__bzero): Likewise.
1258         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1259         <bp-sym.h> and <bp-asm.h>.
1260         (__rawmemchr): Don't use BP_SYM.
1261         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1262         <bp-sym.h> and <bp-asm.h>.
1263         (__STRCMP): Don't use BP_SYM.
1264         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1265         <bp-sym.h> and <bp-asm.h>.
1266         (strchr): Don't use BP_SYM.
1267         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1268         <bp-sym.h> and <bp-asm.h>.
1269         (__strchrnul): Don't use BP_SYM.
1270         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1271         <bp-sym.h> and <bp-asm.h>.
1272         (strlen): Don't use BP_SYM.
1273         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1274         <bp-sym.h> and <bp-asm.h>.
1275         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1276         pointers.
1277         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1278         <bp-sym.h> and <bp-asm.h>.
1279         (__strnlen): Don't use BP_SYM.
1280         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1281         <bp-sym.h> and <bp-asm.h>.
1282         (__GI__setjmp): Don't use BP_SYM.
1283         (_setjmp): Likewise.
1284         (__sigsetjmp): Likewise.
1285         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1286         (L(start_addresses)): Don't use BP_SYM.
1287         (_start): Likewise.
1288         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1289         <bp-asm.h>.
1290         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1291         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1292         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1293         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1294         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1295         <bp-asm.h>.
1296         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1297         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
1298         about bounded pointers.
1299         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1300         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1301         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1302         <bp-asm.h>.
1303         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1304         about bounded pointers.  Remove GKM FIXME comments.
1305         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1306         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1307         <bp-asm.h>.
1308         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1309         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
1310         Remove GKM FIXME comments.
1311         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1312         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1313         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1314         <bp-asm.h>.
1315         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
1316         about bounded pointers.  Remove GKM FIXME comment.
1317         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1318         and <bp-asm.h>.
1319         (strncmp): Don't use BP_SYM.  Remove comment about bounded
1320         pointers.
1321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1322         <bp-sym.h> and <bp-asm.h>.
1323         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1325         <bp-sym.h> and <bp-asm.h>.
1326         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1327         comment.
1329 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1331         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1332         call free(NULL).
1334 2013-03-05  David S. Miller  <davem@davemloft.net>
1336         * po/es.po: Update from translation team.
1338 2013-03-05  Andreas Jaeger  <aj@suse.de>
1340         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1341         <bits/mman-linux.h>.
1342         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1343         is fine.
1344         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1345         <bits/mman-linux.h> to end of file.
1346         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1347         is fine.
1348         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1349         <bits/mman-linux.h> to end of file.
1350         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1351         is fine.
1352         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1353         <bits/mman-linux.h> to end of file.
1355         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1356         (MCL_CURRENT, MCL_FUTURE): Define here.
1358 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1360         [BZ #15232]
1361         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1362         attribute_hidden.
1363         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1365 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1367         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1368         fourth parameter needed for rt_sigprocmask syscall.
1369         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1370         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1371         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1372         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1373         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1374         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1376 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
1378         [BZ #13550]
1379         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1380         comment about bounded pointers.
1381         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1382         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1384 2013-03-04  Andreas Jaeger  <aj@suse.de>
1386         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1387         common definitions.
1389         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1390         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1391         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1392         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1393         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
1394         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1396 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1398         [BZ #15055]
1399         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1400         __ieee754_sqrl instead of __sqrl.
1402 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
1404         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1405         * sysdeps/powerpc/fpu_control.h: ... here.
1406         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1407         * sysdeps/powerpc/bits/fenvinline.h: ... here.
1408         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1409         * sysdeps/powerpc/bits/mathinline.h: ... here.
1411 2013-03-01  Roland McGrath  <roland@hack.frob.com>
1413         * elf/dl-hwcaps.c (_dl_important_hwcaps):
1414         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1415         to just [NEED_DL_SYSINFO_DSO].
1416         * elf/dl-support.c: Likewise.
1417         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1418         * elf/rtld.c (dl_main): Likewise.
1419         * elf/setup-vdso.h (setup_vdso): Likewise.
1420         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1421         * sysdeps/unix/sysv/linux/dl-sysdep.c
1422         (_dl_discover_osversion): Likewise.
1424 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
1426         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1427         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1429 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1431         * NEWS: Mention libm performance improvements and non-x86 PI
1432         futex support.
1434         * csu/libc-start.c (__pthread_initialize_minimal): Change
1435         function arguments.
1436         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1438 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
1440         [BZ #13550]
1441         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1442         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1443         <bp-sym.h> and <bp-asm.h>.
1444         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1445         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1446         and <bp-asm.h>.
1447         (memcpy): Don't use BP_SYM.
1448         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1449         <bp-asm.h>.
1450         (__mpn_add_n): Don't use BP_SYM.
1451         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1452         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1453         and <bp-asm.h>.
1454         (__mpn_addmul_1): Don't use BP_SYM.
1455         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1456         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1457         <bp-sym.h>.
1458         (_setjmp): Don't use BP_SYM.
1459         (__novmx_setjmp): Likewise.
1460         (__GI__setjmp): Likewise.
1461         (__vmx_setjmp): Likewise.
1462         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1463         <bp-sym.h>.
1464         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1465         (__bzero): Don't use BP_SYM.
1466         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1467         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1468         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1469         <bp-sym.h> and <bp-asm.h>.
1470         (memcpy): Don't use BP_SYM.
1471         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1472         <bp-sym.h> and <bp-asm.h>.
1473         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1474         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1475         <bp-sym.h> and <bp-asm.h>.
1476         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1477         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1478         <bp-asm.h>.
1479         (__mpn_lshift): Don't use BP_SYM.
1480         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1481         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1482         <bp-asm.h>.
1483         (memset): Don't use BP_SYM.
1484         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1485         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1486         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1487         <bp-asm.h>.
1488         (__mpn_mul_1): Don't use BP_SYM.
1489         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1490         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1491         <bp-sym.h> and <bp-asm.h>.
1492         (memcmp): Don't use BP_SYM.
1493         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1494         <bp-sym.h> and <bp-asm.h>.
1495         (memcpy): Don't use BP_SYM.
1496         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1497         <bp-sym.h> and <bp-asm.h>.
1498         (memset): Don't use BP_SYM.
1499         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1500         <bp-sym.h> and <bp-asm.h>.
1501         (strncmp): Don't use BP_SYM.
1502         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1503         <bp-sym.h> and <bp-asm.h>.
1504         (memcpy): Don't use BP_SYM.
1505         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1506         <bp-sym.h> and <bp-asm.h>.
1507         (memset): Don't use BP_SYM.
1508         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1509         <bp-sym.h> and <bp-asm.h>.
1510         (__memchr): Don't use BP_SYM.
1511         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1512         <bp-sym.h> and <bp-asm.h>.
1513         (memcmp): Don't use BP_SYM.
1514         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1515         <bp-sym.h> and <bp-asm.h>.
1516         (memcpy): Don't use BP_SYM.
1517         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1518         <bp-sym.h> and <bp-asm.h>.
1519         (__mempcpy): Don't use BP_SYM.
1520         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1521         <bp-sym.h> and <bp-asm.h>.
1522         (__memrchr): Don't use BP_SYM.
1523         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1524         <bp-sym.h> and <bp-asm.h>.
1525         (memset): Don't use BP_SYM.
1526         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1527         <bp-sym.h> and <bp-asm.h>.
1528         (__rawmemchr): Don't use BP_SYM.
1529         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1530         <bp-sym.h> and <bp-asm.h>.
1531         (__STRCMP): Don't use BP_SYM.
1532         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1533         <bp-sym.h> and <bp-asm.h>.
1534         (strchr): Don't use BP_SYM.
1535         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1536         <bp-sym.h> and <bp-asm.h>.
1537         (__strchrnul): Don't use BP_SYM.
1538         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1539         <bp-sym.h> and <bp-asm.h>.
1540         (strlen): Don't use BP_SYM.
1541         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1542         <bp-sym.h> and <bp-asm.h>.
1543         (strncmp): Don't use BP_SYM.
1544         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1545         <bp-sym.h> and <bp-asm.h>.
1546         (__strnlen): Don't use BP_SYM.
1547         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1548         <bp-asm.h>.
1549         (__mpn_rshift): Don't use BP_SYM.
1550         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1551         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1552         <bp-sym.h> and <bp-asm.h>.
1553         (__sigsetjmp): Don't use BP_SYM.
1554         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1555         (L(start_addresses)): Don't use BP_SYM.
1556         (_start): Likewise.
1557         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1558         <bp-asm.h>.
1559         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1560         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1561         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1562         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1563         <bp-asm.h>.
1564         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1565         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1566         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1567         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1568         <bp-asm.h>.
1569         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1570         comments.
1571         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1572         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1573         <bp-asm.h>.
1574         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
1575         FIXME comments.
1576         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1577         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1578         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1579         <bp-asm.h>.
1580         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
1581         comment.
1582         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1583         and <bp-asm.h>.
1584         (strncmp): Don't use BP_SYM,
1585         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1586         <bp-asm.h>.
1587         (__mpn_sub_n): Don't use BP_SYM.
1588         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1589         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1590         and <bp-asm.h>.
1591         (__mpn_submul_1): Don't use BP_SYM.
1592         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1594         <bp-sym.h> and <bp-asm.h>.
1595         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1597         <bp-sym.h> and <bp-asm.h>.
1598         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
1599         comment.
1601 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1603         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1604         Use ZK to minimize writes to Z.
1605         (sub_magnitudes): Simplify code a bit.
1606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1607         Use ZK to minimize writes to Z.
1608         (sub_magnitudes): Simplify code a bit.
1610 2013-02-27  Roland McGrath  <roland@hack.frob.com>
1612         * csu/gmon-start.c: Add special exception to license text.
1614 2013-02-27  Richard Henderson  <rth@redhat.com>
1616         * scripts/config.guess: Update from config.git.
1617         * scripts/config.sub: Likewise.
1619 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1621         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1623         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1625         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1627         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1629         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1631 2013-02-26  Roland McGrath  <roland@hack.frob.com>
1633         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1634         [$(build-shared = yes].
1636 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1638         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1639         (__mul): Reduce iterations for calculating mantissa.
1641         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1642         MPTWO.
1643         (__mpranred): Likewise.
1645         [BZ #15160]
1646         * malloc/memusagestat.c (main): Draw graphs for heap and stack
1647         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1649 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
1651         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1652         Define __attribute__.
1654 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1656         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1657         unused.
1658         * posix/regex_internal.h (__attribute): Remove.
1659         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1660         (re_string_context_at): Likewise.
1661         (bitset_not): Use __attribute__ and mark function as possibly
1662         unused.
1663         (bitset_merge): Likewise.
1664         (bitset_mask): Likewise.
1665         (re_string_char_size_at): Likewise.
1666         (re_string_wchar_at): Likewise.
1667         (re_string_elem_size_at): Likewise.
1669 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
1671         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1672         code.
1673         (cc32): Likewise.
1675         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1676         (__acr): Likewise.
1677         (__cpy): Likewise.
1678         (norm): Likewise.
1679         (denorm): Likewise.
1680         (__dbl_mp): Likewise.
1681         (add_magnitudes): Likewise.
1682         (sub_magnitudes): Likewise.
1683         (__mul): Likewise.
1684         (__inv): Likewise.
1686         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1687         style.
1689         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1690         style.
1692         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1693         code.
1695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1696         up changes with default code.
1697         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1698         Likewise.
1700 2013-02-24  Allan McRae  <allan@archlinux.org>
1702         * manual/socket.texi (The Internet Namespace): Order menu items
1703         to match that in the file.
1705         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1706         node listing of the info page menu.
1708 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
1710         [BZ #13550]
1711         * sysdeps/i386/bp-asm.h: Remove file.
1712         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1713         (PARMS): Do not use macros from bp-asm.h.
1714         (S1): Likewise.
1715         (S2): Likewise.
1716         (SIZE): Likewise.
1717         (__mpn_add_n): Do not use BP_SYM
1718         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1719         "bp-asm.h".
1720         (PARMS): Do not use macros from bp-asm.h.
1721         (S1): Likewise.
1722         (SIZE): Likewise.
1723         (__mpn_addmul_1): Do not use BP_SYM
1724         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1725         "bp-asm.h".
1726         (PARMS): Do not use macros from bp-asm.h.
1727         (SIGMSK): Likewise.
1728         (_setjmp): Likewise.  Do not use BP_SYM.
1729         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1730         "bp-asm.h".
1731         (PARMS): Do not use macros from bp-asm.h.
1732         (SIGMSK): Likewise.
1733         (setjmp): Likewise.  Do not use BP_SYM.
1734         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1735         "bp-asm.h".
1736         (PARMS): Do not use macros from bp-asm.h.
1737         (__frexp): Do not use BP_SYM.
1738         (frexp): Likewise.
1739         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1740         "bp-asm.h".
1741         (PARMS): Do not use macros from bp-asm.h.
1742         (__frexpf): Do not use BP_SYM.
1743         (frexpf): Likewise.
1744         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1745         "bp-asm.h".
1746         (PARMS): Do not use macros from bp-asm.h.
1747         (__frexpl): Do not use BP_SYM.
1748         (frexpl): Likewise.
1749         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1750         "bp-asm.h".
1751         (PARMS): Do not use macros from bp-asm.h.
1752         (__remquo): Do not use BP_SYM.
1753         (remquo): Likewise.
1754         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1755         "bp-asm.h".
1756         (PARMS): Do not use macros from bp-asm.h.
1757         (__remquof): Do not use BP_SYM.
1758         (remquof): Likewise.
1759         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1760         "bp-asm.h".
1761         (PARMS): Do not use macros from bp-asm.h.
1762         (__remquol): Do not use BP_SYM.
1763         (remquol): Likewise.
1764         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1765         "bp-asm.h".
1766         (PARMS): Do not use macros from bp-asm.h.
1767         (DEST): Likewise.
1768         (SRC): Likewise.
1769         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
1770         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1771         "bp-asm.h".
1772         (PARMS): Do not use macros from bp-asm.h.
1773         (strlen): Do not use BP_SYM.
1774         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1775         "bp-asm.h".
1776         (PARMS): Do not use macros from bp-asm.h.
1777         (S1): Likewise.
1778         (S2): Likewise.
1779         (SIZE): Likewise.
1780         (__mpn_add_n): Do not use BP_SYM.
1781         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1782         "bp-asm.h".
1783         (PARMS): Do not use macros from bp-asm.h.
1784         (S1): Likewise.
1785         (SIZE): Likewise.
1786         (__mpn_addmul_1): Do not use BP_SYM.
1787         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1788         weak_alias.
1789         (bzero): Likewise.
1790         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1791         "bp-asm.h".
1792         (PARMS): Do not use macros from bp-asm.h.
1793         (S): Likewise.
1794         (SIZE): Likewise.
1795         (__mpn_lshift): Do not use BP_SYM.
1796         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1797         "bp-asm.h".
1798         (PARMS): Do not use macros from bp-asm.h.
1799         (DEST): Likewise.
1800         (SRC): Likewise.
1801         (LEN): Likewise.
1802         (memcpy): Likewise.  Do not use BP_SYM.
1803         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1804         libc_hidden_def and weak_alias.
1805         (mempcpy): Do not use BP_SYM in weak_alias.
1806         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1807         "bp-asm.h".
1808         (PARMS): Do not use macros from bp-asm.h.
1809         (DEST): Likewise.
1810         (LEN): Likewise.
1811         [!BZERO_P] (CHR): Likewise.
1812         (memset): Likewise.  Do not use BP_SYM.
1813         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1814         "bp-asm.h".
1815         (PARMS): Do not use macros from bp-asm.h.
1816         (S1): Likewise.
1817         (SIZE): Likewise.
1818         (__mpn_mul_1): Do not use BP_SYM.
1819         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1820         "bp-asm.h".
1821         (PARMS): Do not use macros from bp-asm.h.
1822         (S): Likewise.
1823         (SIZE): Likewise.
1824         (__mpn_rshift): Do not use BP_SYM.
1825         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1826         "bp-asm.h".
1827         (PARMS): Do not use macros from bp-asm.h.
1828         (STR): Likewise.
1829         (CHR): Likewise.
1830         (strchr): Likewise.  Do not use BP_SYM.
1831         (index): Do not use BP_SYM in weak_alias.
1832         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1833         "bp-asm.h".
1834         (PARMS): Do not use macros from bp-asm.h.
1835         (DEST): Likewise.
1836         (SRC): Likewise.
1837         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
1838         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1839         "bp-asm.h".
1840         (PARMS): Do not use macros from bp-asm.h.
1841         (strlen): Do not use BP_SYM.
1842         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1843         "bp-asm.h".
1844         (PARMS): Do not use macros from bp-asm.h.
1845         (S1): Likewise.
1846         (S2): Likewise.
1847         (SIZE): Likewise.
1848         (__mpn_sub_n): Do not use BP_SYM.
1849         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1850         "bp-asm.h".
1851         (PARMS): Do not use macros from bp-asm.h.
1852         (S1): Likewise.
1853         (SIZE): Likewise.
1854         (__mpn_submul_1): Do not use BP_SYM.
1855         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1856         "bp-asm.h".
1857         (PARMS): Do not use macros from bp-asm.h.
1858         (S1): Likewise.
1859         (S2): Likewise.
1860         (SIZE): Likewise.
1861         (__mpn_add_n): Do not use BP_SYM.
1862         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1863         weak_alias.
1864         (bzero): Likewise.
1865         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1866         "bp-asm.h".
1867         (PARMS): Do not use macros from bp-asm.h.
1868         (BLK2): Likewise.
1869         (LEN): Likewise.
1870         (memcmp): Do not use BP_SYM.
1871         (bcmp): Do not use BP_SYM in weak_alias.
1872         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1873         "bp-asm.h".
1874         (PARMS): Do not use macros from bp-asm.h.
1875         (DEST): Likewise.
1876         (SRC): Likewise.
1877         (LEN): Likewise.
1878         (memcpy): Likewise.  Do not use BP_SYM.
1879         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1880         "bp-asm.h".
1881         (PARMS): Do not use macros from bp-asm.h.
1882         (DEST): Likewise.
1883         (SRC): Likewise.
1884         (LEN): Likewise.
1885         (memmove): Likewise.  Do not use BP_SYM.
1886         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1887         "bp-asm.h".
1888         (PARMS): Do not use macros from bp-asm.h.
1889         (DEST): Likewise.
1890         (SRC): Likewise.
1891         (LEN): Likewise.
1892         (__mempcpy): Likewise.  Do not use BP_SYM.
1893         (mempcpy): Do not use BP_SYM in weak_alias.
1894         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1895         "bp-asm.h".
1896         (PARMS): Do not use macros from bp-asm.h.
1897         (DEST): Likewise.
1898         (LEN): Likewise.
1899         [!BZERO_P] (CHR): Likewise.
1900         (memset): Likewise.  Do not use BP_SYM.
1901         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1902         "bp-asm.h".
1903         (PARMS): Do not use macros from bp-asm.h.
1904         (STR2): Likewise.
1905         (strcmp): Do not use BP_SYM.
1906         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1907         "bp-asm.h".
1908         (PARMS): Do not use macros from bp-asm.h.
1909         (STR): Likewise.
1910         (DELIM): Likewise.
1911         [USE_AS_STRTOK_R] (SAVE): Likewise.
1912         (FUNCTION): Likewise.  Do not use BP_SYM.
1913         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1914         aliases.
1915         (strtok_r): Likewise.
1916         (__GI___strtok_r): Likewise.
1917         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1918         (PARMS): Do not use macros from bp-asm.h.
1919         (S): Likewise.
1920         (SIZE): Likewise.
1921         (__mpn_lshift): Do not use BP_SYM.
1922         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1923         (PARMS): Do not use macros from bp-asm.h.
1924         (STR): Likewise.
1925         (CHR): Likewise.
1926         (__memchr): Do not use BP_SYM.
1927         (memchr): Do not use BP_SYM in weak_alias.
1928         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1929         (PARMS): Do not use macros from bp-asm.h.
1930         (BLK2): Likewise.
1931         (LEN): Likewise.
1932         (memcmp): Do not use BP_SYM.
1933         (bcmp): Do not use BP_SYM in weak_alias.
1934         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1935         (PARMS): Do not use macros from bp-asm.h.
1936         (S1): Likewise.
1937         (SIZE): Likewise.
1938         (__mpn_mul_1): Do not use BP_SYM.
1939         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1940         "bp-asm.h".
1941         (PARMS): Do not use macros from bp-asm.h.
1942         (STR): Likewise.
1943         (CHR): Likewise.
1944         (__rawmemchr): Do not use BP_SYM.
1945         (rawmemchr): Do not use BP_SYM in weak_alias.
1946         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1947         (PARMS): Do not use macros from bp-asm.h.
1948         (S): Likewise.
1949         (SIZE): Likewise.
1950         (__mpn_rshift): Do not use BP_SYM.
1951         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1952         (PARMS): Do not use macros from bp-asm.h.
1953         (SIGMSK): Likewise.
1954         (__sigsetjmp): Likewise.  Do not use BP_SYM.
1955         * sysdeps/i386/start.S: Do not include "bp-sym.h".
1956         (_start): Do not use BP_SYM.
1957         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1958         (PARMS): Do not use macros from bp-asm.h.
1959         (DEST): Likewise.
1960         (SRC): Likewise.
1961         (__stpcpy): Likewise.  Do not use BP_SYM.
1962         (stpcpy): Do not use BP_SYM in weak_alias.
1963         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1964         "bp-asm.h".
1965         (PARMS): Do not use macros from bp-asm.h.
1966         (DEST): Likewise.
1967         (SRC): Likewise.
1968         (LEN): Likewise.
1969         (__stpncpy): Likewise.  Do not use BP_SYM.
1970         (stpncpy): Do not use BP_SYM in weak_alias.
1971         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1972         (PARMS): Do not use macros from bp-asm.h.
1973         (STR): Likewise.
1974         (CHR): Likewise.
1975         (strchr): Likewise.  Do not use BP_SYM.
1976         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1977         "bp-asm.h".
1978         (PARMS): Do not use macros from bp-asm.h.
1979         (STR): Likewise.
1980         (CHR): Likewise.
1981         (__strchrnul): Likewise.  Do not use BP_SYM.
1982         (strchrnul): Do not use BP_SYM in weak_alias.
1983         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1984         "bp-asm.h".
1985         (PARMS): Do not use macros from bp-asm.h.
1986         (STOP): Likewise.
1987         (strcspn): Do not use BP_SYM.
1988         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1989         "bp-asm.h".
1990         (PARMS): Do not use macros from bp-asm.h.
1991         (STR): Likewise.
1992         (STOP): Likewise.
1993         (strpbrk): Likewise.  Do not use BP_SYM.
1994         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1995         "bp-asm.h".
1996         (PARMS): Do not use macros from bp-asm.h.
1997         (STR): Likewise.
1998         (CHR): Likewise.
1999         (strrchr): Likewise.  Do not use BP_SYM.
2000         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2001         (PARMS): Do not use macros from bp-asm.h.
2002         (SKIP): Likewise.
2003         (strspn): Do not use BP_SYM.
2004         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2005         (PARMS): Do not use macros from bp-asm.h.
2006         (STR): Likewise.
2007         (DELIM): Likewise.
2008         (SAVE): Likewise.
2009         (FUNCTION): Likewise.  Do not use BP_SYM.
2010         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2011         aliases.
2012         (strtok_r): Likewise.
2013         (__GI___strtok_r): Likewise.
2014         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2015         (PARMS): Do not use macros from bp-asm.h.
2016         (S1): Likewise.
2017         (S2): Likewise.
2018         (SIZE): Likewise.
2019         (__mpn_sub_n): Do not use BP_SYM.
2020         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2021         "bp-asm.h".
2022         (PARMS): Do not use macros from bp-asm.h.
2023         (S1): Likewise.
2024         (SIZE): Likewise.
2025         (__mpn_submul_1): Do not use BP_SYM.
2026         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2027         <bp-sym.h>.
2028         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2029         and <bp-asm.h>.
2030         (PARMS): Do not use macros from bp-asm.h.
2031         (FLAGS): Likewise.
2032         (PTID): Likewise.
2033         (TLS): Likewise.
2034         (CTID): Likewise.
2035         (__clone): Do not use BP_SYM.
2036         (clone): Do not use BP_SYM in weak_alias.
2037         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2038         and <bp-asm.h>.
2039         (PARMS): Do not use macros from bp-asm.h.
2040         (LEN): Likewise.
2041         (__mmap64): Do not use BP_SYM.
2042         (mmap64): Do not use BP_SYM in weak_alias.
2043         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2044         <bp-sym.h> and <bp-asm.h>.
2045         (PARMS): Do not use macros from bp-asm.h.
2046         (__posix_fadvise64_l64): Do not use BP_SYM.
2047         * sysdeps/unix/sysv/linux/i386/semtimedop.S
2048         (PARMS): Do not use macros from bp-asm.h.
2049         (NSOPS): Likewise.
2050         (semtimedop): Do not use BP_SYM.
2051         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2052         and <bp-asm.h>.
2054 2013-02-21  Allan McRae  <allan@archlinux.org>
2056         * manual/message.texi (Charset conversion in gettext):
2057         Move @end statement to beginning of line.
2059 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2062         static.
2063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2064         Likewise.
2066         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2067         (denorm): Likewise.
2068         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2069         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2071 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2073         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2074         tail-call to the resolved function if pltexit isn't needed.
2076 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2079         or Y being zero as being unlikely.
2080         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2081         Likewise.
2083 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
2085         * manual/nss.texi (System Databases and Name Service Switch):
2086         Remove frobnicate @pxref.
2088 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2090         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2091         __attribute__ ((unused)) to __attribute__ ((__unused__)).
2093 2013-02-20  Petr Machata  <pmachata@redhat.com>
2095         * elf/elf.h (R_ARM_TARGET1): New macro.
2096         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2097         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2098         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2099         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2100         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2101         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2102         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2103         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2104         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2105         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2106         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2107         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2108         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2109         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2110         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2111         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2112         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2113         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2114         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2115         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2116         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2117         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2118         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2119         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2120         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2121         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2122         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2123         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2124         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2125         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2126         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2127         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2128         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2129         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2130         (R_ARM_THM_GOT_BREL12): Likewise.
2131         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2132         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2133         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2134         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2135         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2136         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2137         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2138         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2139         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2141 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
2143         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2144         __attribute_used__ to __attribute__ ((unused)).
2146 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
2148         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2149         powerpc mpa.c.
2150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2151         comment formatting.
2152         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2154 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
2156         [BZ #13550]
2157         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2158         Remove macro.
2159         (ENTER): Remove both macro definitions.
2160         (LEAVE): Likewise.
2161         (CHECK_BOUNDS_LOW): Likewise.
2162         (CHECK_BOUNDS_HIGH): Likewise.
2163         (CHECK_BOUNDS_BOTH): Likewise.
2164         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2165         (RETURN_BOUNDED_POINTER): Likewise.
2166         (RETURN_NULL_BOUNDED_POINTER): Likewise.
2167         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2168         (POP_ERRNO_LOCATION_RETURN): Likewise.
2169         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2170         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2171         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2172         macros.
2173         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2174         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2175         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2176         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2177         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2178         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2179         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2180         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2181         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2182         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2183         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2184         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2185         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2186         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2187         removed macros.
2188         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2189         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2190         macros.
2191         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2192         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2193         * sysdeps/i386/i586/memset.S (memset): Likewise.
2194         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2195         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2196         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2197         macros.
2198         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2199         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2200         Change uses of L(2) to L(out).
2201         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2202         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2203         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2204         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2205         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2206         removed macros.
2207         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2208         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2209         macros.
2210         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2211         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2212         (RETURN): Do not use macro LEAVE.
2213         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2214         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2215         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2216         * sysdeps/i386/i686/memset.S (memset): Likewise.
2217         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2218         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2219         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2220         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2221         Likewise.
2222         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2223         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
2224         L(1_2) and L(1_3) into L(1).
2225         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2226         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2227         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2228         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2229         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2230         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2231         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2232         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2233         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2234         macros.
2235         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2236         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2237         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2238         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2239         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2240         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2241         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2242         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2243         * sysdeps/i386/strcspn.S (strcspn): Likewise.
2244         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2245         * sysdeps/i386/strrchr.S (strrchr): Likewise.
2246         * sysdeps/i386/strspn.S (strspn): Likewise.
2247         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2248         conditional code.
2249         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2250         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2251         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2252         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
2253         L(1_3) into L(1_1).
2254         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2255         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2256         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2257         macros.
2258         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2260 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
2262         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2263         macro.
2265 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2267         * math/atest-exp.c (exp_mpn): Remove ROUND.
2268         * math/atest-exp2.c (exp_mpn): Likewise.
2269         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2271         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2272         * stdlib/tst-tls-atexit-lib.c: Likewise.
2273         * stdlib/tst-tls-atexit.c: Likewise.
2275 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2277         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2278         and __attribute_alloc_size__.
2280 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2282         * include/programs/xmalloc.h: Change __attribute_alloc_size to
2283         __attribute_alloc_size__.
2284         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2285         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2287 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
2289         * include/programs/xmalloc.h: New file.
2290         * catgets/gencat.c: Include it.
2291         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2292         * elf/pldd.c: Likewise.
2293         * iconv/iconv_charmap.c: Likewise.
2294         * iconv/iconvconfig.c: Likewise.
2295         * iconv/strtab.c: Likewise.
2296         * locale/programs/locale.c: Likewise.
2297         * locale/programs/localedef.h: Likewise.
2298         * locale/programs/simple-hash.c: Likewise.
2299         * nscd/nscd.h: Likewise.
2300         * nss/makedb.c: Likewise.
2301         * sysdeps/generic/ldconfig.h: Likewise.
2303 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2305         * Versions.def: Add GLIBC_2.18.
2306         * include/link.h (struct link_map): New member l_tls_dtor_count.
2307         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2308         (__call_tls_dtors): Likewise.
2309         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2310         __cxa_thread_atexit_impl.
2311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2312         Likewise.
2313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2314         Likewise.
2315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2316         Likewise.
2317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2318         Likewise.
2319         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2321         Likewise.
2322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2323         Likewise.
2324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2326         Likewise.
2327         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2328         (tests): Add test case tst-tls-atexit.
2329         (modules-names): Add shared library for tst-tls-atexit.
2330         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2331         (GLIBC_PRIVATE): Add __call_tls_dtors.
2332         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2333         for libstdc++.
2334         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2335         * stdlib/tst-tls-atexit.c: New test case.
2336         * stdlib/tst-tls-atexit-lib.c: New test case.
2338         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
2340         * elf/Versions (ld): Add _dl_find_dso_for_object.
2341         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2342         * elf/dl-open.c (_dl_find_dso_for_object): New function.
2343         (dl_open_worker): Use _dl_find_dso_for_object.
2344         * elf/dl-sym.c (do_sym): Likewise.
2345         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2347 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2349         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2350         Syntactic changes only.
2351         (_dl_runtime_profile): Do a tail-call to the resolved function.
2353 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
2355         [BZ #13550]
2356         * sysdeps/x86_64/bp-asm.h: Remove file.
2357         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2358         <bp-sym.h> and <bp-asm.h>.
2359         (__clone): Do not use BP_SYM.
2360         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2361         <bp-sym.h> and <bp-asm.h>.
2362         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2363         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2364         "bp-asm.h".
2365         (_setjmp): Do not use BP_SYM.
2366         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2367         "bp-asm.h".
2368         (setjmp): Do not use BP_SYM.
2369         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2370         libc_hidden_def.
2371         (mempcpy): Do not use BP_SYM in weak_alias.
2372         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2373         "bp-asm.h".
2374         (strchr): Do not use BP_SYM.
2375         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2376         "bp-asm.h".
2377         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2378         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2379         (_start): Do not use BP_SYM.
2380         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2381         "bp-asm.h".
2382         (strcat): Do not use BP_SYM.
2383         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2384         "bp-asm.h".
2385         (STRCMP): Do not use BP_SYM.
2386         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2387         "bp-asm.h".
2388         (STRCPY): Do not use BP_SYM.
2389         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2390         "bp-asm.h".
2391         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2392         "bp-asm.h".
2393         (FUNCTION): Do not use BP_SYM.
2394         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2395         weak_alias.
2396         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2398 2013-02-17  Andreas Jaeger  <aj@suse.de>
2400         * time/Versions: Sort entries.
2401         * string/Versions: Likewise.
2402         * resolv/Versions: Likewise.
2403         * posix/Versions: Likewise.
2404         * iconv/Versions: Likewise.
2405         * elf/Versions: Likewise.
2406         * wcsmbs/Versions: Likewise.
2408 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2410         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2411         loop termination condition.
2413         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2414         variable to calculate EZ.
2415         (__sqr): Likewise.
2417         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2418         the lower precision input.
2420 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
2422         [BZ #13550]
2423         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2424         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2425         (run-via-rtld-prefix): Do not handle %-bp tests.
2426         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2427         (all-object-suffixes): Remove .ob.
2428         (bppfx): Remove variable.
2429         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2430         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2431         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2432         [$(build-bounded) = yes] (libtype.ob): Likewise.
2433         * Makerules (elide-routines.ob): Remove variable.
2434         (do-tests-clean): Do not handle *-bp.out.
2435         (common-mostlyclean): Do not handle *-bp and *-bp.out.
2436         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2437         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2438         (tests): Do not include $(tests-bp.out).
2439         (xtests): Do not include $(xtests-bp.out).
2440         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2441         [$(build-bounded) = yes] ($(addprefix
2442         $(objpfx),$(binaries-bounded))): Remove rule.
2443         ($(objpfx)%-bp.out): Remove rule.
2444         * config.make.in (build-bounded): Remove variable.
2445         * crypt/Makefile [$(build-bounded) = yes]
2446         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2447         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2448         append to variable.
2449         [$(build-bounded) = yes] (install-lib): Likewise.
2450         [$(build-bounded) = yes] (generated): Likewise.
2451         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2452         Remove rule.
2453         * intl/Makefile [$(build-bounded) = yes]
2454         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2455         * math/Makefile [$(build-bounded) = yes]
2456         ($(tests:%=$(objpfx)%-bp): Likewise.
2457         * misc/Makefile [$(build-bounded) = yes]
2458         ($(objpfx)tst-tsearch-bp): Likewise.
2459         * nptl/Makeconfig (bounded-thread-library): Remove variable.
2460         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2461         Remove dependency.
2462         * string/Makefile (o-objects.ob): Remove variable.
2463         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2464         (CFLAGS-.ob): Remove variable.
2465         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2466         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2467         both definitions of variable.
2468         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2469         (ASFLAGS-.ob): Remove variable.
2471 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
2473         [BZ #13550]
2474         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2475         Remove __BOUNDED_POINTERS__ from condition.
2476         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2477         * string/bits/string2.h [!__NO_STRING_INLINES &&
2478         !__BOUNDED_POINTERS__]: Likewise.
2479         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2480         Likewise.
2481         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2482         Remove conditional code.
2483         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2484         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2485         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2486         condition.
2488         [BZ #13550]
2489         * csu/libc-start.c: Do not include <bp-sym.h>.
2490         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2491         * elf/dl-open.c: Do not include <bp-sym.h>.
2492         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2493         * math/fegetenv.c: Do not include <bp-sym.h>.
2494         (fegetenv): Do not use BP_SYM in versioned symbols.
2495         * nptl/sysdeps/pthread/bits/libc-lockP.h
2496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2497         <bp-sym.h>.
2498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2499         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2501         (__pthread_mutex_destroy): Likewise.
2502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2503         (__pthread_mutex_lock): Likewise.
2504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2505         (__pthread_mutex_trylock): Likewise.
2506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2507         (__pthread_mutex_unlock): Likewise.
2508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2509         (__pthread_mutexattr_init): Likewise.
2510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2511         (__pthread_mutexattr_destroy): Likewise.
2512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2513         (__pthread_mutexattr_settype): Likewise.
2514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2515         (__pthread_rwlock_init): Likewise.
2516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2517         (__pthread_rwlock_destroy): Likewise.
2518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2519         (__pthread_rwlock_rdlock): Likewise.
2520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2521         (__pthread_rwlock_tryrdlock): Likewise.
2522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2523         (__pthread_rwlock_wrlock): Likewise.
2524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2525         (__pthread_rwlock_trywrlock): Likewise.
2526         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2527         (__pthread_rwlock_unlock): Likewise.
2528         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2529         (__pthread_key_create): Likewise.
2530         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2531         (__pthread_setspecific): Likewise.
2532         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2533         (__pthread_getspecific): Likewise.
2534         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2535         Likewise.
2536         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2537         (_pthread_cleanup_push_defer): Likewise.
2538         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2539         (_pthread_cleanup_pop_restore): Likewise.
2540         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2541         (pthread_setcancelstate): Likewise.
2542         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2543         <bp-sym.h>.
2544         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2545         (memchr): Do not use BP_SYM in weak_alias.
2546         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2547         (fegetenv): Do not use BP_SYM in versioned symbols.
2548         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2549         (fesetenv): Do not use BP_SYM in versioned symbols.
2550         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2551         (feupdateenv): Do not use BP_SYM in versioned symbols.
2552         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2553         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2554         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2555         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2556         (open64): Do not use BP_SYM in weak_alias.
2557         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2558         (fegetenv): Do not use BP_SYM in versioned symbols.
2559         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2560         (fesetenv): Do not use BP_SYM in versioned symbols.
2561         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2562         (feupdateenv): Do not use BP_SYM in versioned symbols.
2563         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2564         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2565         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2566         (feraiseexcept): Do not use BP_SYM in versioned symbols.
2567         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2568         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2569         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2570         <bp-sym.h>.
2571         (__libc_start_main): Do not use BP_SYM.
2573 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2576         redundant return line.
2577         (norm): Likewise.
2578         (denorm): Likewise.
2579         (dbl_mp): Likewise.
2580         (sub_magnitudes): Likewise.
2581         (__add): Likewise.
2582         (__sub): Likewise.
2583         (__mul): Likewise.
2584         (__inv): Likewise.
2585         (__dvd): Likewise.
2586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2587         (norm): Likewise.
2588         (denorm): Likewise.
2589         (dbl_mp): Likewise.
2590         (sub_magnitudes): Likewise.
2591         (__add): Likewise.
2592         (__sub): Likewise.
2593         (__mul): Likewise.
2594         (__inv): Likewise.
2595         (__dvd): Likewise.
2597         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2598         instead of __mul.
2599         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2600         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2601         (cc32): Likewise.
2603         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2604         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2605         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2606         of __mul for squares.
2607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2608         function
2609         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2610         Likewise.
2611         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2612         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2614 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
2616         [BZ #13550]
2617         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2618         code.
2619         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2620         prototype or function definition.  Rename ubp_* variables and
2621         parameters.  Remove argv definitions conditional on
2622         [__BOUNDED_POINTERS__].
2623         * debug/backtrace.c (__backtrace): Do not use __unbounded.
2624         * elf/dl-runtime.c (_dl_fixup): Likewise.
2625         * include/set-hooks.h (RUN_HOOK): Likewise.
2626         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2627         definition.
2628         * string/strcpy.c (strcpy): Do not use __unbounded.
2629         * sysdeps/generic/frame.h (struct layout): Likewise.
2630         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2631         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2632         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2633         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2634         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2635         (__backtrace): Likewise.
2636         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2637         use __ptrvalue.
2638         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2639         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2640         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2641         Likewise.
2642         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2643         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2644         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2645         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2646         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2647         Do not use __unbounded.
2648         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2649         Rename __unboundedrlimits parameter to rlimits in prototype.
2650         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2651         Do not use __unbounded.
2652         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2653         not use __ptrvalue.
2654         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2655         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2656         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2657         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2658         __ptrvalue or __unbounded.
2659         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2660         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2661         use __unbounded.
2662         (__new_msgctl): Do not use __ptrvalue.
2663         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2664         __unbounded.
2665         (__libc_msgrcv): Do not use __ptrvalue.
2666         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2667         startup_info): Do not use __unbounded.
2668         (__libc_start_main): Likewise.  Rename ubp_* variables and
2669         parameters.  Remove argv definitions conditional on
2670         [__BOUNDED_POINTERS__].
2671         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2672         __ptrvalue.
2673         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2674         use __unbounded.
2675         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2676         or __ptrvalue.
2677         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2678         use __unbounded.
2679         (__new_shmctl): Do not use __ptrvalue.
2680         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2681         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2682         Likewise.
2683         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2684         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2685         (__libc_sigaction): Likewise.
2686         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2687         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2688         Likewise.
2689         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2691 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
2693         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
2695         * string/mempcpy.c: Implement by calling memcpy.
2697 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2701         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2702         evaluation.
2704         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2705         values in the mantissa.
2707         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2708         minimize writes to Z.
2709         (sub_magnitudes): Simplify code a bit.
2711 2013-02-12  Roland McGrath  <roland@hack.frob.com>
2713         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2714         from the message.  The linker prefixes all warnings with that already.
2716 2013-02-12  Andreas Schwab  <schwab@suse.de>
2718         [BZ #15078]
2719         * posix/regexec.c (extend_buffers): Add parameter min_len.
2720         (check_matching): Pass minimum needed length.
2721         (clean_state_log_if_needed): Likewise.
2722         (get_subexp): Likewise.
2723         * posix/Makefile (tests): Add bug-regex34.
2724         (bug-regex34-ENV): Define.
2725         * posix/bug-regex34.c: New file.
2727         [BZ #11561]
2728         * posix/regcomp.c (parse_bracket_exp): When looking up collating
2729         elements compare against the byte sequence of it, not its name.
2730         * posix/Makefile (tests): Add bug-regex35.
2731         (bug-regex35-ENV): Define.
2732         * posix/bug-regex35.c: New file.
2734 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2736         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
2737         comment.
2738         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2739         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2740         (CHECK_EOL): Add undef.
2742 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
2744         * bits/stdlib-bsearch.h: New file.
2745         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
2746         * stdlib/stdlib.h: Likewise.
2748 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2750         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2751         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2752         declaration.
2753         * manual/search.texi (Array Search Function): Add missing const in
2754         lfind prototype.
2755         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2756         declaration to use rlim_t.
2757         (Basic Scheduling Functions): Remove erroneous const from
2758         sched_getparam prototype.  Remove erroneous * from
2759         sched_get_priority_max and sched_get_priority_min prototypes.
2760         (Resource Usage): Fix summary @comment on vtimes to refer to
2761         sys/vtimes.h rather than vtimes.h.
2762         Add missing *s in vtimes prototype.
2763         (Limits on Resources): Fix ulimit prototype to return long int.
2764         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2765         prototypes to use long int rather than double.
2766         (BSD Random): Fix initstate and setstate to use char *, not void *.
2767         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2768         prototype to make second argument 'struct aiocb64 *const[]'.
2769         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2770         (Status of AIO Operations): Remove erroneous const in aio_return and
2771         aio_return64 prototypes.
2772         (Synchronizing I/O): Fix sync prototype to return void.
2773         * manual/startup.texi (Suboptions): Remove an erroneous const in
2774         getsubopt prototype.
2775         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2776         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2777         use size_t rather than int.
2778         (Scanning All Users): Likewise for getpwent_r.
2779         (Setting Groups): Add missing const to setgroups prototype.
2780         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2781         * manual/socket.texi (Host Names): Fix gethostbyaddr and
2782         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2783         'const void *' rather than 'const char *'.
2784         (Host Address Functions): Likewise for inet_ntop.
2785         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2786         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2787         ssize_t for return value.
2788         (Sending Data): Likewise for send, sendto, sendmsg.
2789         (Socket Option Functions): Add a missing const in setsockopt prototype.
2790         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2791         use wchar_t for the argument.
2792         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2793         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2794         take no arguments.
2795         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2796         double/float/long double for second argument.
2797         Fix return types of significand, significandf, significandl.
2798         * manual/filesys.texi (Setting Permissions): Use mode_t for second
2799         argument in fchmod prototype.
2800         (File Owner): Use uid_t and gid_t in fchown prototype.
2801         (File Times): Add const to utimes, futimes, and lutimes prototypes.
2802         (Making Special Files): Use mode_t and dev_t in mknod prototype.
2803         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2804         use 'const struct dirent **' as argument types to CMP function pointer
2805         argument.
2806         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2807         (File Times): Fix summary magic @comment for struct utimbuf and utime
2808         to refer to utime.h, not time.h.
2809         * manual/string.texi (Argz Functions): Add missing const in
2810         argz_extract and argz_next prototypes.
2811         (Finding Tokens in a String): Likewise for basename.
2812         (String/Array Comparison): Fix typo in wcscasecmp prototype.
2813         (Copying and Concatenation): Fix typo in wmemmove prototype.
2814         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2815         (Signal Stack): Remove erroneous const in sigstack prototype.
2816         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2817         prototype.
2818         (Simple Calendar Time): Likewise for stime.
2819         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2820         prototype.
2821         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2822         say sys/sysctl.h instead.
2823         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2824         and vsyslog prototypes.
2826 2013-02-11  Tom de Vries  <tom@codesourcery.com>
2828         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2829         Remove.
2831 2013-02-11  Roland McGrath  <roland@hack.frob.com>
2833         * misc/sys/mman.h: Fix typo in mremap comment.
2835 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2837         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2838         the '\0' terminator.
2840 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2842         [BZ #13550]
2843         * debug/segfault.c: Don't include <bp-checks.h>.
2844         * sysdeps/generic/bp-checks.h: Remove file.
2845         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2846         (__GETDENTS): Don't use CHECK_N.
2847         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2848         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2849         (__getgroups): Don't use CHECK_N.
2850         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2851         (setgroups): Don't use CHECK_N.
2852         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2853         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2854         (__libc_msgrcv): Don't use CHECK_N.
2855         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2856         (__libc_msgsnd): Don't use CHECK_N.
2857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2858         <bp-checks.h>.
2859         (__libc_pread): Don't use CHECK_N.
2860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2861         include <bp-checks.h>.
2862         (__libc_pread64): Don't use CHECK_N.
2863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2864         include <bp-checks.h>.
2865         (__libc_pwrite): Don't use CHECK_N.
2866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2867         include <bp-checks.h>.
2868         (__libc_pwrite64): Don't use CHECK_N.
2869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2870         <bp-checks.h>.
2871         (__libc_pread): Don't use CHECK_N.
2872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2873         include <bp-checks.h>.
2874         (__libc_pread64): Don't use CHECK_N.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2876         include <bp-checks.h>.
2877         (__libc_pwrite): Don't use CHECK_N.
2878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2879         include <bp-checks.h>.
2880         (__libc_pwrite64): Don't use CHECK_N.
2881         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2882         (do_pread): Don't use CHECK_N.
2883         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2884         (do_pread64): Don't use CHECK_N.
2885         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2886         (do_pwrite): Don't use CHECK_N.
2887         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2888         (do_pwrite64): Don't use CHECK_N.
2889         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2890         (__libc_readv): Don't use CHECK_N.
2891         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2892         (semop): Don't use CHECK_N.
2893         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2894         <bp-checks.h>.
2895         (semtimedop): Don't use CHECK_N.
2896         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2897         (__libc_pread): Don't use CHECK_N.
2898         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2899         <bp-checks.h>.
2900         (__libc_pread64): Don't use CHECK_N.
2901         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2902         <bp-checks.h>.
2903         (__libc_pwrite): Don't use CHECK_N.
2904         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2905         <bp-checks.h>.
2906         (__libc_pwrite64): Don't use CHECK_N.
2907         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2908         <bp-checks.h>.
2909         (__libc_msgrcv): Don't use CHECK_N.
2910         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2911         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
2912         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2913         (__libc_writev): Don't use CHECK_N.
2915 2013-02-08  Roland McGrath  <roland@hack.frob.com>
2917         * string/strcpy.c: Removed unused variable.
2919         * Makeconfig (+sysdep-includes): Define with := rather than =.
2920         Use an existing include/ subdir of each sysdeps dir before it.
2922 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2924         * nscd/connection.c (register_traced_file): Comment function.
2925         [HAVE_INOTIFY] (union __inev): Define.
2926         [HAVE_INOTIFY] (inotify_check_files): New function.
2927         [HAVE_INOTIFY] (clear_db_cache): Likewise.
2928         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2929         clear_db_cache.
2930         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2932 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2934         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2935         loaded if not already and that a failure is permanent.
2937 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
2939         [BZ #15006]
2940         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2941         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2943 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
2945         [BZ #13550]
2946         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2947         (CHECK_1_NULL_OK): Likewise.
2948         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2949         (__fxstat): Do not use CHECK_1.
2950         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2951         <bp-checks.h>.
2952         (___fxstat64): Do not use CHECK_1.
2953         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2954         <bp-checks.h>.
2955         (__fxstatat): Do not use CHECK_1.
2956         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2957         <bp-checks.h>.
2958         (__fxstatat64): Do not use CHECK_1.
2959         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2960         <bp-checks.h>.
2961         (__fxstat): Do not use CHECK_1.
2962         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2963         <bp-checks.h>.
2964         (__fxstatat): Do not use CHECK_1.
2965         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2966         <bp-checks.h>.
2967         (__getresgid): Do not use CHECK_1.
2968         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2969         <bp-checks.h>.
2970         (__getresuid): Do not use CHECK_1.
2971         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2972         <bp-checks.h>.
2973         (__lxstat): Do not use CHECK_1.
2974         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2975         <bp-checks.h>.
2976         (__old_msgctl): Do not use CHECK_1.
2977         (__new_msgctl): Likewise.
2978         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2979         <bp-checks.h>.
2980         (__new_setrlimit): Do not use CHECK_1.
2981         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2982         <bp-checks.h>.
2983         (__old_shmctl): Do not use CHECK_1.
2984         (__new_shmctl): Likewise.
2985         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2986         <bp-checks.h>.
2987         (__xstat): Do not use CHECK_1.
2988         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2989         (__lxstat): Do not use CHECK_1.
2990         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2991         <bp-checks.h>.
2992         (___lxstat64): Do not use CHECK_1.
2993         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2994         (__old_msgctl): Do not use CHECK_1.
2995         (__new_msgctl): Likewise.
2996         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2997         <bp-checks.h>.
2998         (__gettimeofday): Do not use CHECK_1.
2999         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3000         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3001         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3002         <bp-checks.h>.
3003         (__gettimeofday): Do not use CHECK_1.
3004         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3005         (__old_shmctl): Do not use CHECK_1_NULL_OK.
3006         (__new_shmctl): Do not use CHECK_1.
3007         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3008         <bp-checks.h>.
3009         (do_sigtimedwait): Do not use CHECK_1.
3010         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3011         <bp-checks.h>.
3012         (do_sigwaitinfo): Do not use CHECK_1.
3013         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3014         <bp-checks.h>.
3015         (msgctl): Do not use CHECK_1.
3016         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3017         <bp-checks.h>.
3018         (shmctl): Do not use CHECK_1.
3019         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3020         (ustat): Do not use CHECK_1.
3021         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3022         <bp-checks.h>.
3023         (__fxstat): Do not use CHECK_1.
3024         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3025         <bp-checks.h>.
3026         (__fxstatat): Do not use CHECK_1.
3027         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3028         <bp-checks.h>.
3029         (__lxstat): Do not use CHECK_1.
3030         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3031         <bp-checks.h>.
3032         (__xstat): Do not use CHECK_1.
3033         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3034         (__xstat): Do not use CHECK_1.
3035         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3036         (___xstat64): Do not use CHECK_1.
3038         [BZ #13550]
3039         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3040         definitions.
3041         (CHECK_BOUNDS_HIGH): Likewise.
3042         * string/strcpy.c: Do not include <bp-checks.h>.
3043         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3045 2013-02-07  Roland McGrath  <roland@hack.frob.com>
3047         * nscd/nscd-client.h (__nscd_drop_map_ref):
3048         Add __attribute__ ((unused)).
3049         * nis/nss-nisplus.h (niserr2nss): Likewise.
3051         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3052         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3054         * csu/libc-tls.c (init_static_tls, init_slotinfo):
3055         Remove inline keyword.
3056         * include/rounding-mode.h (round_away): Likewise.
3057         * libio/wfileops.c (adjust_wide_data): Likewise.
3058         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3059         (__m128i_strloadu_tolower): Likewise.
3060         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3061         (__m128i_strloadu_tolower): Likewise.
3062         * time/mktime.c (ydhms_diff): Likewise.
3063         * locale/elem-hash.h (elem_hash): Likewise.
3064         * locale/setlocale.c (setdata): Likewise.
3065         * posix/regex_internal.h (re_string_char_size_at): Likewise.
3066         (re_string_wchar_at): Likewise.
3067         (bitset_not, bitset_merge, bitset_mask): Likewise.
3068         [!(__GNUC__ > 3)] (inline): Remove macro.
3069         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3070         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3071         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3072         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3073         * string/memcmp.c (memcmp_bytes): Likewise.
3074         * locale/programs/locarchive.c (compute_hashval): Likewise.
3075         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3076         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3077         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3078         * nss/getent.c (print_rpc, print_protocols): Likewise.
3079         (print_passwd, print_group, print_aliases): Likewise.
3080         * nis/nss-nisplus.h (niserr2nss): Likewise.
3081         * nscd/connections.c (restart_p): Likewise.
3082         Change return type to bool.
3084 2013-02-05  Roland McGrath  <roland@hack.frob.com>
3086         * Makeconfig (all-Depend-files): Add existing
3087         $(sorted-subdirs:=/Depend) files.
3088         (all-subdirs): Remove nss.
3089         * sysdeps/unix/inet/Subdirs: Add it here instead.
3090         * hesiod/Depend: New file.
3092         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3093         instead of calling alloca.
3095         * io/lseek.c (__lseek): Rename to __libc_lseek.
3096         Define __lseek as an alias.
3098         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3100 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
3102         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3103         else clause and remove check for non-standard endianness.
3105 2013-02-04  David S. Miller  <davem@davemloft.net>
3107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3109 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
3111         [BZ #13550]
3112         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3113         (__ubp_memchr): Remove prototype.
3114         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3115         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3116         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3117         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3118         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3119         Remove alias.
3120         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3121         (__ubp_memchr): Likewise.
3122         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3123         (__ubp_memchr): Likewise.
3124         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3125         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3126         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3127         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3128         CHECK_STRING.
3129         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3130         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3131         (__getcwd): Do not use CHECK_STRING.
3132         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3133         <bp-checks.h>.
3134         (__real_chown): Do not use CHECK_STRING.
3135         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3136         <bp-checks.h>.
3137         (fchownat): Do not use CHECK_STRING.
3138         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3139         CHECK_STRING.
3140         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3141         <bp-checks.h>.
3142         (__lchown): Do not use CHECK_STRING.
3143         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3144         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3145         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3146         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3148         include <bp-checks.h>.
3149         (truncate64): Do not use CHECK_STRING.
3150         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3151         <bp-checks.h>.
3152         (__real_chown): Do not use CHECK_STRING.
3153         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3154         <bp-checks.h>.
3155         (__lchown): Do not use CHECK_STRING.
3156         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3157         <bp-checks.h>.
3158         (__chown): Do not use CHECK_STRING.
3159         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3160         <bp-checks.h>.
3161         (truncate64): Do not use CHECK_STRING.
3162         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3163         Likewise.
3164         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3165         (__xmknod): Do not use CHECK_STRING.
3166         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3167         <bp-checks.h>.
3168         (__xmknodat): Do not use CHECK_STRING.
3169         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3170         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3172 2013-02-04  Andreas Schwab  <schwab@suse.de>
3174         [BZ #14142]
3175         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3176         * include/netdb.h: Likewise for h_errno.
3177         * elf/tst-stackguard1.c: Include <tls.h>.
3179 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
3181         * elf/link.h (struct link_map): Extend the l_addr comment.
3182         * include/link.h (struct link_map): Likewise.
3184 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
3186         [BZ #13550]
3187         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3188         (BOUNDED_1): Remove macro.
3189         * debug/backtrace.c: Don't include <bp-checks.h>.
3190         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3191         (__backtrace): Likewise.
3192         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3193         <bp-checks.h>.
3194         (__backtrace): Don't use BOUNDED_1.
3195         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3196         <bp-checks.h>.
3197         (__backtrace): Don't use BOUNDED_1.
3198         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3199         (__backtrace): Don't use BOUNDED_1.
3200         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3201         (shmat): Don't use BOUNDED_N.
3203 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
3205         [BZ #13550]
3206         * sysdeps/generic/bp-start.h: Remove file.
3207         * csu/libc-start.c: Don't include <bp-start.h>.
3208         (LIBC_START_MAIN): Set up __environ directly instead of using
3209         INIT_ARGV_and_ENVIRON.
3210         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3211         <bp-start.h>.
3213         [BZ #13550]
3214         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3215         definitions.
3216         (CHECK_FCNTL): Likewise.
3217         (CHECK_N_PAGES): Likewise.
3219         [BZ #13550]
3220         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3221         definitions.
3222         (CHECK_SIGSET_NULL_OK): Likewise.
3223         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3224         <bp-checks.h>.
3225         (sigpending): Don't use CHECK_SIGSET.
3226         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3227         <bp-checks.h>.
3228         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3229         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3230         <bp-checks.h>.
3231         (do_sigsuspend): Don't use CHECK_SIGSET.
3232         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3233         use CHECK_SIGSET.
3234         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3235         (do_sigwait): Don't use CHECK_SIGSET.
3236         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3237         use CHECK_SIGSET.
3238         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3239         include <bp-checks.h>.
3240         (sigpending): Don't use CHECK_SIGSET.
3241         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3242         include <bp-checks.h>.
3243         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3244         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3245         <bp-checks.h>.
3246         (sigpending): Don't use CHECK_SIGSET.
3247         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3248         <bp-checks.h>.
3249         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3251         [BZ #13550]
3252         * sysdeps/generic/bp-semctl.h: Remove file.
3253         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3254         <bp-checks.h> and <bp-semctl.h>.
3255         (__old_semctl): Don't use CHECK_SEMCTL.
3256         (__new_semctl): Likewise.
3257         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3258         and <bp-semctl.h>.
3259         (__old_semctl): Don't use CHECK_SEMCTL.
3260         (__new_semctl): Likewise.
3261         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3262         <bp-checks.h> and <bp-semctl.h>.
3263         (__old_semctl): Don't use CHECK_SEMCTL.
3264         (__new_semctl): Likewise.
3265         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3266         <bp-checks.h> and <bp-semctl.h>.
3267         (semctl): Don't use CHECK_SEMCTL.
3269         [BZ #13550]
3270         * Makerules (elide-bp-thunks): Remove variable.
3271         (elide-routines.oS): Don't use $(elide-bp-thunks).
3272         (elide-routines.os): Likewise.
3273         (elide-routines.o): Likewise.
3274         (elide-routines.op): Likewise.
3275         (elide-routines.og): Likewise.
3276         (objects): Don't use $(bp-thunks).
3277         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3278         include.
3279         (common-generated): Do not add s-proto-bp.d.
3280         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3281         (int): Likewise.
3282         (typ): Likewise.
3283         Do not generate makefile rules for bounded-pointer thunks.
3284         * sysdeps/generic/bp-thunks.h: Remove file.
3285         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3286         * sysdeps/unix/s-proto-bp.S: Likewise.
3288         [BZ #15062]
3289         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3290         parts of result separately when argument is not close to line from
3291         -i to i and one part of argument is small.
3292         * math/k_casinhf.c (__kernel_casinhf): Likewise.
3293         * math/k_casinhl.c (__kernel_casinhl): Likewise.
3294         * math/libm-test.inc (cacos_test): Add more tests.
3295         (casin_test): Likewise.
3296         (casinh_test): Likewise.
3297         * sysdeps/i386/fpu/libm-test-ulps: Update.
3298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3300 2013-01-31  David S. Miller  <davem@davemloft.net>
3302         * po/de.po: Update from translation team.
3304 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
3306         * time/tzfile.c: Include stdint.h for SIZE_MAX.
3308 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
3310         * configure.in (_AC_PROG_CC_C89): New definition.
3311         * configure: Regenerate.
3313         * configure.in (AC_PROG_CPP): New definition.
3314         * configure: Regenerate.
3316 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3318         * debug/tst-backtrace.h: New file.
3319         * debug/tst-backtrace2.c: Include tst-backtrace.h.
3320         (ret): Remove variable.
3321         (x): Likewise.
3322         (FAIL): Remove macro.
3323         (NO_INLINE): Likewise.
3324         (fn1): Use match function instead of strstr.
3325         * debug/tst-backtrace3.c: Include tst-backtrace.h.
3326         (ret): Remove variable.
3327         (x): Likewise.
3328         (FAIL): Remove macro.
3329         (NO_INLINE): Likewise.
3330         (fn): Use match function instead of strstr.
3331         * debug/tst-backtrace4.c: Include tst-backtrace.h.
3332         (ret): Remove variable.
3333         (x): Likewise.
3334         (FAIL): Remove macro.
3335         (NO_INLINE): Likewise.
3336         (handle_signal): Use match function instead of strstr.
3337         * debug/tst-backtrace5.c: Include tst-backtrace.h.
3338         (ret): Remove variable.
3339         (x): Likewise.
3340         (FAIL): Remove macro.
3341         (NO_INLINE): Likewise.
3342         (handle_signal): Use match function instead of strstr.
3344 2013-01-23  Roland McGrath  <roland@hack.frob.com>
3346         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3348 2013-01-23  David S. Miller  <davem@davemloft.net>
3350         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3351         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3352         argument of CAS if possible.
3353         * sysdeps/sparc/sparc64/bits/atomic.h
3354         (__arch_compare_and_exchange_val_32_acq): Likewise.
3355         (__arch_compare_and_exchange_val_64_acq): Likewise.
3357 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
3359         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3360         * sysdeps/posix/ulimit.c: ... this.
3361         Include <limits.h>.
3362         * sysdeps/unix/bsd/ulimit.c: Remove file.
3364 2013-01-23  Adam Conrad  <adconrad@0c3.net>
3366         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3367         (LDFLAGS-tst-array5): Likewise.
3369 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
3371         [BZ #15036]
3372         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3373         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3374         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3375         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3377 2013-01-21  David S. Miller  <davem@davemloft.net>
3379         * sysdeps/sparc/backtrace.c: New file.
3380         * sysdeps/sparc/sparc32/backtrace.h: New file.
3381         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3382         * sysdeps/sparc/sparc64/backtrace.h: New file.
3383         * sysdeps/sparc/sparc64/backtrace.c: Delete.
3384         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3385         -funwind-tables.
3387 2013-01-21  Andreas Schwab  <schwab@suse.de>
3389         [BZ #15020]
3390         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3391         closed its stdout.
3393 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
3395         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3396         "mpa2.h".
3397         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3399 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
3400             Mark Mitchell  <mark@codesourcery.com>
3401             Tom de Vries  <tom@codesourcery.com>
3402             Paul Pluzhnikov  <ppluzhnikov@google.com>
3404         * debug/tst-backtrace2.c: New file.
3405         * debug/tst-backtrace3.c: Likewise.
3406         * debug/tst-backtrace4.c: Likewise.
3407         * debug/tst-backtrace5.c: Likewise.
3408         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3409         (CFLAGS-tst-backtrace3.c): Likewise.
3410         (CFLAGS-tst-backtrace4.c): Likewise.
3411         (CFLAGS-tst-backtrace5.c): Likewise.
3412         (LDFLAGS-tst-backtrace2): Likewise.
3413         (LDFLAGS-tst-backtrace3): Likewise.
3414         (LDFLAGS-tst-backtrace4): Likewise.
3415         (LDFLAGS-tst-backtrace5): Likewise.
3416         (tests): Add new tests tst-backtrace2, tst-backtrace3,
3417         tst-backtrace4 and tst-backtrace5.
3419 2013-01-18  Anton Blanchard  <anton@samba.org>
3420             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3422         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3423         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3424         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3425         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3427         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3428         "+r" and remove output regs list as redundant.  Add explicit inline
3429         asm to specify register of return val to work around compiler codegen
3430         bug.  Remove (int) cast on return value.  Add return type parameter to
3431         use in macro so that this macro does not truncate return value for
3432         64-bit values.
3433         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3434         pass to INTERNAL_VSYSCALL_NCS.
3435         (INLINE_VSYSCALL): Add 'long int' as return type to
3436         INTERNAL_VSYSCALL_NCS macro invocation.
3437         (INTERNAL_VSYSCALL): Add 'long int' as return type to
3438         INTERNAL_VSYSCALL_NCS macro invocation.
3439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3441 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3443         [BZ #14496]
3444         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3445         Fix application of SIMD FP exception mask.
3447         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3448         mp_no from a power of two.
3449         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3450         __mpexp_twomm1.  Use __pow_mp.
3452         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3453         multiplication.
3455 2013-01-17  David S. Miller  <davem@davemloft.net>
3457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3459 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3461         [BZ #15023]
3462         * include/complex.h: Condition contents on [!_COMPLEX_H].
3463         (__kernel_casinhf): New prototype.
3464         (__kernel_casinh): Likewise.
3465         (__kernel_casinhl): Likewise.
3466         * math/Makefile (libm_calls): Add k_casinh.
3467         * math/k_casinh.c: New file.
3468         * math/k_casinhf.c: Likewise.
3469         * math/k_casinhl.c: Likewise.
3470         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3471         finite nonzero arguments.
3472         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3473         finite nonzero arguments.
3474         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3475         finite nonzero arguments.
3476         * math/s_casinh.c: Do not include <float.h>.
3477         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3478         * math/s_casinhf.c: Do not include <float.h>.
3479         (__casinhf): Move code for finite nonzero arguments to
3480         k_casinhf.c.
3481         * math/s_casinhl.c: Do not include <float.h>.
3482         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3483         redefine.
3484         (__casinhl): Move code for finite nonzero arguments to
3485         k_casinhl.c.
3486         * math/libm-test.inc (cacos_test): Add more tests.
3487         * sysdeps/i386/fpu/libm-test-ulps: Update.
3488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3490 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
3492         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3493         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3494         [!HAVE_MREMAP]: Remove [defined linux] case.
3495         * malloc/arena.c: Do not include <malloc-sysdep.h>.
3497 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3499         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3501 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
3503         * elf/elf.h (R_386_SIZE32): New relocation.
3504         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3505         R_386_SIZE32.
3506         (elf_machine_rela): Likewise.
3507         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3508         R_X86_64_SIZE64 and R_X86_64_SIZE32.
3510 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
3512         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3513         (FP_FAST_FMA): Do not define.
3514         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3515         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3516         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3517         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3518         !_SOFT_FLOAT]: Likewise.
3519         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3520         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3521         value.
3522         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3523         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3524         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3525         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3526         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3527         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3528         file.
3530 2013-01-16  Andreas Schwab  <schwab@suse.de>
3532         [BZ #14327]
3533         * include/stdlib.h (__mktemp): Add declaration.
3534         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3535         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3537 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3539         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3540         definitions.
3541         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3542         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3543         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3544         definitions here.
3545         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3546         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3547         definitions.
3548         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3549         and ONE.
3550         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3551         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3552         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3553         definitions.
3554         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3555         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3556         definitions.
3557         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3559         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3561 2013-01-15  David S. Miller  <davem@davemloft.net>
3563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3564         trunc{,f} to libm-sysdep_routes.
3565         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3567         file.
3568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3570         file.
3571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3572         file.
3573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3575         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3576         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3577         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3578         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3579         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3580         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3583         nearbyint{,f} to libm-sysdep_routes.
3584         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3586         New file.
3587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3588         file.
3589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3590         New file.
3591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3592         file.
3593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3595         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3596         file.
3597         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3598         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3599         file.
3600         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3601         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3602         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3604         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3605         libc_feholdexcept and libc_fesetenv.
3607 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
3609         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3611 2013-01-14  David S. Miller  <davem@davemloft.net>
3613         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3614         (SPARC_ASM_VIS2_IFUNC): Likewise.
3615         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3617         use of 'siam' instruction.
3618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3619         Likewise.
3620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3621         Likewise.
3622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3623         Likewise.
3624         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3626         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3627         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3629         file.
3630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3631         file.
3632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3633         file.
3634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3635         file.
3636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3637         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3638         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3639         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3641         new VIS2 routines.
3642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3645         Likewise.
3646         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3647         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3648         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3649         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3651         routines to libm-sysdep_routines.
3652         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3655         fdim/fdimf to libm-sysdep_routines.
3656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3657         file.
3658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3660         file.
3661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3664         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3665         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3666         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3667         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3669 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3671         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3672         to optimize copies.
3674         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3678         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3679         local variable MPTWO.
3680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3681         Likewise.
3683 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3685         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3686         GLOB_NOESCAPE.
3688 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3690         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3692 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
3694         * manual/pattern.texi (glob_t): Document gl_flags.
3695         (glob64_t): Likewise.
3697 2013-01-11  David S. Miller  <davem@davemloft.net>
3699         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3700         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3701         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
3702         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3703         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3704         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3705         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3706         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3707         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3708         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3709         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3710         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3711         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3713         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3714         sparc V9 rather than using V8 code.
3715         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3716         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3718         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3719         Move to...
3720         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3721         Here.
3723 2013-01-11  Roland McGrath  <roland@hack.frob.com>
3725         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3726         not in the main loop.
3727         * configure: Regenerated.
3729 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
3731         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3732         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3733         to just #else.
3734         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
3735         [!__GLIBC_HAVE_LONG_LONG] case.
3736         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3737         condition to just #else.
3738         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3739         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3740         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3741         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3742         unconditional.
3743         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3744         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3745         #elif condition to just #else.
3746         * sysdeps/unix/sysv/linux/sys/sysmacros.h
3747         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3748         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3749         #elif condition to just #else.
3751 2013-01-11  Steve Ellcey  <sellcey@mips.com>
3753         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3754         (EF_MIPS_ARCH_64): Fix value.
3755         (EF_MIPS_ARCH_32R2): New.
3756         (EF_MIPS_ARCH_64R2): New.
3758 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
3760         * Makeconfig (+link-pie-before-libc): New.
3761         (+link-pie-after-libc): Likewise.
3762         (+link-pie-tests): Likewise.
3763         (+link-pie): Rewritten.
3764         (link-before-libc): Remove $(config-LDFLAGS).
3765         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3766         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3767         (config-LDFLAGS): Renamed to ...
3768         (rtld-LDFLAGS): This.
3769         (rtld-tests-LDFLAGS): New macro.
3770         (link-libc-rpath-link): Likewise.
3771         (link-libc-tests-rpath-link): Likewise.
3772         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3773         (link-libc): Prepand $(link-libc-rpath-link).
3774         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3775         (test-program-prefix): New macro.
3776         (test-via-rtld-prefix): Likewise.
3777         (test-program-cmd): Likewise.
3778         (host-test-program-cmd): Likewise.
3779         * Makefile ($(common-objpfx)testrun.sh): Replace
3780         $(run-program-prefix) with $(test-program-prefix).
3781         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3782         $(rtld-LDFLAGS).
3783         ($(common-objpfx)shlib.lds): Likewise.
3784         (build-module-helper): Likewise.
3785         ($(common-objpfx)format.lds): Likewise.
3786         * Rules (binaries-pie-tests): New.
3787         (binaries-pie-notests): Likewise.
3788         (binaries-pie): Rewritten.
3789         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3790         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3791         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3792         (make-test-out): Replace $(host-built-program-cmd) with
3793         $(host-test-program-cmd).
3794         * config.make.in (build-hardcoded-path-in-tests): New variable.
3795         * configure.in (--enable-hardcoded-path-in-tests): New configure
3796         option.
3797         (hardcoded_path_in_tests): New AC_SUBST.
3798         * configure: Regenerated.
3799         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3800         $(built-program-cmd) with $(test-program-cmd).
3801         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3802         (test_program_cmd): This.
3803         * elf/Makefile ($(objpfx)order.out): Run test with
3804         $(test-program-prefix).
3805         ($(objpfx)order2.out): Likewise.
3806         ($(objpfx)tst-initorder.out): Likewise.
3807         ($(objpfx)tst-initorder2.out): Likewise.
3808         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3809         $(test-program-cmd).
3810         ($(objpfx)tst-array1-static.out): Likewise.
3811         ($(objpfx)tst-array2.out): Likewise.
3812         ($(objpfx)tst-array3.out): Likewise.
3813         ($(objpfx)tst-array4.out): Likewise.
3814         ($(objpfx)tst-array5.out): Likewise.
3815         ($(objpfx)tst-array5-static.out): Likewise.
3816         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3817         $(test-program-cmd).
3818         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3819         $(run-program-prefix) with $(test-program-prefix).
3820         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3821         (test_program_prefix): This.
3822         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3823         $(run-program-prefix) with $(test-program-prefix).
3824         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3825         (test_program_prefix): This.
3826         * iconvdata/tst-tables.sh: Likewise.
3827         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3828         $(run-program-prefix) with $(test-program-prefix).
3829         ($(objpfx)tst-translit.out): Likewise.
3830         ($(objpfx)tst-gettext2.out): Likewise.
3831         ($(objpfx)tst-gettext4.out): Likewise.
3832         ($(objpfx)tst-gettext6.out): Likewise.
3833         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3834         (test_program_prefix): This.
3835         * intl/tst-gettext2.sh: Likewise.
3836         * intl/tst-gettext4.sh  Likewise.
3837         * intl/tst-gettext6.sh: Likewise.
3838         * intl/tst-translit.sh: Likewise.
3839         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3840         with $(test-program-cmd).
3841         * libio/Makefile ($(objpfx)test-freopen.out): Replace
3842         $(run-program-prefix) with $(test-program-prefix).
3843         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3844         (test_program_prefix): This.
3845         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3846         $(run-program-prefix) with $(test-program-prefix).
3847         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3848         (test_program_prefix): This.
3849         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3850         * posix/Makefile ($(objpfx)globtest.out): Replace
3851         $(run-via-rtld-prefix) and $(test-wrapper) with
3852         $(test-program-prefix) and $(test-via-rtld-prefix).
3853         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3854         $(test-program-prefix).
3855         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3856         $(host-test-program-cmd).
3857         (tst-spawn-ARGS): Likewise.
3858         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3859         $(test-program-prefix).
3860         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3861         (test_via_rtld_prefix): This.
3862         (test_wrapper): Renamed to ...
3863         (test_program_prefix): This.
3864         (run_program_prefix): Replaced by test_program_prefix.
3865         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3866         (test_program_prefix): This.
3867         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3868         with $(host-test-program-cmd).
3869         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3870         $(run-program-prefix) with $(test-program-prefix).
3871         ($(objpfx)tst-printf.out): Likewise.
3872         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3873         $(test-program-cmd).
3874         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3875         (test_program_prefix): This.
3876         * stdio-common/tst-unbputc.sh: Likewise.
3877         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3878         $(run-program-prefix) with $(test-program-prefix).
3879         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3880         (test_program_prefix): This.
3881         * string/Makefile ($(objpfx)tst-svc.out):  Replace
3882         $(built-program-cmd) with $(test-program-cmd).
3884 2013-01-11  Andreas Jaeger  <aj@suse.de>
3886         [BZ #15003]
3887         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3888         value. Sync with Linux 3.7.
3890 2013-01-10  David S. Miller  <davem@davemloft.net>
3892         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3893         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3894         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3896 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3898         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3899         never set.
3900         * configure: Regenerated.
3902 2013-01-10  David S. Miller  <davem@davemloft.net>
3904         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3905         sparc V9 rather than using V8 code.
3906         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3907         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3909 2013-01-10  Roland McGrath  <roland@hack.frob.com>
3911         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3912         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3913         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3914         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3915         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3916         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3917         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3918         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3919         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3920         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3921         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3922         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3923         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3924         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3925         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3926         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3927         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3928         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3929         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3930         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3931         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3932         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3933         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3934         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3935         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3936         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3937         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3939 2013-01-10  David S. Miller  <davem@davemloft.net>
3941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3943 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3945         * posix/Makefile (tests-static): New variable.
3946         (tests): Add $(tests-static).
3947         (tst-exec-static-ARGS): New variable.
3948         (tst-spawn-static-ARGS): Likewise.
3949         * posix/tst-exec-static.c: New file.
3950         * posix/tst-spawn-static.c: Likewise.
3951         * posix/tst-exec.c: Support run directly.
3952         * posix/tst-spawn.c: Likewise.
3954 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
3956         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3957         long.
3958         * math/bits/mathcalls.h (llrint): Likewise.
3959         (llround): Likewise.
3960         * stdlib/stdlib.h (struct drand48_data): Likewise.
3961         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3962         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3963         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3964         Likewise.
3965         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3966         Likewise.
3967         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3968         (elf_greg_t): Likewise.
3969         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3970         (__jmp_buf): Likewise.
3971         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3972         definitions.
3973         (llrint): Likewise, for all definitions.
3974         (llrintl): Likewise.
3976         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3977         Remove [__GNUC__] condition.
3978         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3979         condition to just [__USE_ISOC99].
3980         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3982 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
3984         [BZ #14200]
3985         * sysdeps/unix/sysv/linux/x86/bits/environments.h
3986         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3987         defined.
3988         (_POSIX_V6_ILP32_OFF32): Likewise.
3989         (_XBS5_ILP32_OFF32): Likewise.
3990         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3991         (__ILP32_OFFBIG_LDFLAGS): Likewise.
3993 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3995         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3997         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3998         doubles __mpexp_twomm1.  Adjust usage.
3999         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4000         Remove.
4002 2013-01-10  Andreas Schwab  <schwab@suse.de>
4004         [BZ #14964]
4005         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4006         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4008 2013-01-09  David S. Miller  <davem@davemloft.net>
4010         [BZ #15003]
4011         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4012         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4013         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4014         TCP_FASTOPEN): Define.
4015         (tcp_repair_opt): New structure.
4016         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4017         enum values.
4018         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4019         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4020         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4021         (tcp_cookie_transactions): New structure.
4023 2013-01-09  Anton Blanchard  <anton@samba.org>
4025         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4026         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4027         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4028         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4030 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
4032         * include/features.h (__USE_ANSI): Remove.
4034 2013-01-09  Roland McGrath  <roland@hack.frob.com>
4036         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4038         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4040 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4042         * sysdeps/s390/fpu/libm-test-ulps: Update.
4044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4046         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4047         (__acr): Likewise.
4048         (__cpy): Likewise.
4049         (norm): Likewise.
4050         (denorm): Likewise.
4051         (__mp_dbl): Likewise.
4052         (__dbl_mp): Likewise.
4053         (add_magnitudes): Likewise.
4054         (sub_magnitudes): Likewise.
4055         (__add): Likewise.
4056         (__sub): Likewise.
4057         (__mul): Likewise.
4058         (__inv): Likewise.
4059         (__dvd): Likewise.
4060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4061         (__acr): Likewise.
4062         (__cpy): Likewise.
4063         (norm): Likewise.
4064         (denorm): Likewise.
4065         (__mp_dbl): Likewise.
4066         (__dbl_mp): Likewise.
4067         (add_magnitudes): Likewise.
4068         (sub_magnitudes): Likewise.
4069         (__add): Likewise.
4070         (__sub): Likewise.
4071         (__mul): Likewise.
4072         (__inv): Likewise.
4073         (__dvd): Likewise.
4074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4075         (__acr): Likewise.
4076         (__cpy): Likewise.
4077         (norm): Likewise.
4078         (denorm): Likewise.
4079         (__mp_dbl): Likewise.
4080         (__dbl_mp): Likewise.
4081         (add_magnitudes): Likewise.
4082         (sub_magnitudes): Likewise.
4083         (__add): Likewise.
4084         (__sub): Likewise.
4085         (__mul): Likewise.
4086         (__inv): Likewise.
4087         (__dvd): Likewise.
4089 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
4091         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4092         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4093         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4094         2 && __USE_EXTERN_INLINES]: Likewise.
4096 2013-01-08  Andreas Jaeger  <aj@suse.de>
4098         [BZ# 14985]
4099         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4100         Remove.
4101         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4102         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4104 2013-01-07  Anton Blanchard  <anton@samba.org>
4106         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4107         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4108         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4109         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4110         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4111         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4112         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4113         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4114         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4115         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4116         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4117         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4118         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4119         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4120         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4121         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4122         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4123         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4124         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4125         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4126         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4127         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4128         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4129         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4130         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4131         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4132         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4133         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4134         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4135         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4136         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4138         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4139         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4140         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4141         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4142         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4143         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4144         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4145         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4146         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4147         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4148         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4150 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
4152         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4153         (__MALLOC_PMT): Likewise.
4154         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4155         [__GNUC__], only on [_LIBC].
4156         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4157         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4158         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4159         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4160         forward declaration.
4161         (realloc_hook_ini): Likewise.
4162         (memalign_hook_ini): Likewise.
4163         (__libc_memalign): Do not use __MALLOC_PMT in variable
4164         declaration.
4165         (__libc_valloc): Likewise.
4166         (__libc_pvalloc): Likewise.
4167         (__libc_calloc): Likewise.
4168         (__posix_memalign): Likewise.
4170         [BZ #14996]
4171         * math/s_casinh.c: Include <float.h>.
4172         (__casinh): Do not do computation with squaring and square root
4173         for large arguments.
4174         * math/s_casinhf.c: Include <float.h>.
4175         (__casinhf): Do not do computation with squaring and square root
4176         for large arguments.
4177         * math/s_casinhl.c: Include <float.h>.
4178         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4179         (__casinhl): Do not do computation with squaring and square root
4180         for large arguments.
4181         * math/libm-test.inc (casin_test): Add more tests.
4182         (casinh_test): Likewise.
4183         * sysdeps/i386/fpu/libm-test-ulps: Update.
4184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4186 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
4188         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4189         (__x86_64_raw_data_cache_size): Likewise.
4190         (__x86_64_data_cache_size_half): Likewise.
4191         (__x86_64_raw_data_cache_size_half): Likewise.
4192         (__x86_64_shared_cache_size): Likewise.
4193         (__x86_64_raw_shared_cache_size): Likewise.
4194         (__x86_64_shared_cache_size_half): Likewise.
4195         (__x86_64_raw_shared_cache_size_half): Likewise.
4196         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4197         to ...
4198         (__x86_data_cache_size): This.
4199         (__x86_64_raw_data_cache_size): Renamed to ...
4200         (__x86_raw_data_cache_size): This.
4201         (__x86_64_data_cache_size_half): Renamed to ...
4202         (__x86_data_cache_size_half): This.
4203         (__x86_64_raw_data_cache_size_half): Renamed to ...
4204         (__x86_raw_data_cache_size_half): This.
4205         (__x86_64_shared_cache_size): Renamed to ...
4206         (__x86_shared_cache_size): This.
4207         (__x86_64_raw_shared_cache_size): Renamed to ...
4208         (__x86_raw_shared_cache_size): This.
4209         (__x86_64_shared_cache_size_half): Renamed to ...
4210         (__x86_shared_cache_size_half): This.
4211         (__x86_64_raw_shared_cache_size_half): Renamed to ...
4212         (__x86_raw_shared_cache_size_half): This.
4213         * sysdeps/x86_64/memcpy.S: Updated.
4214         * sysdeps/x86_64/memset.S: Likewise.
4215         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4216         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4217         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4219 2013-01-04  David S. Miller  <davem@davemloft.net>
4221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4223 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
4225         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4226         1 to avoid redefinition warning.
4227         (__USE_GNU): Don't define.
4228         (init_signaling_nan): Protoize.
4230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4232 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4234         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4236         (__cpymn): Likewise.
4237         (norm): Remove commented code.
4238         (denorm): Likewise.
4239         (__mp_dbl): Likewise.
4240         (__inv): Likewise.
4241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4242         (__cpymn): Likewise.
4243         (norm): Remove commented code.
4244         (denorm): Likewise.
4245         (__mp_dbl): Likewise.
4246         (__inv): Likewise.
4248         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4249         mp_no value for 1.0 and 2.0.
4250         (norm): Use RADIXI instead of radixi.d.
4251         (denorm): Likewise.
4252         (__mul): Use 0.0 instead of zero.d.
4253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4254         mp_no value for 1.0 and 2.0.
4255         (norm): Use RADIXI instead of radixi.d.
4256         (denorm): Likewise.
4257         (__mul): Use 0.0 instead of zero.d.
4259 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
4261         [BZ #14994]
4262         * math/s_casinh.c (__casinh): Reduce finite argument to first
4263         quadrant then set signs of results at the end.
4264         * math/s_casinhf.c (__casinhf): Likewise.
4265         * math/s_casinhl.c (__casinhl): Likewise.
4266         * math/libm-test.inc (casin_test): Add more tests.
4267         (casinh_test): Likewise.
4268         * sysdeps/i386/fpu/libm-test-ulps: Update.
4269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4271 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4273         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4275         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4277         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4278         declarations.
4279         (denorm): Likewise.
4280         (__mp_dbl): Likewise.
4281         (__inv): Likewise.
4283         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4284         and adjust the header comment.
4286         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4287         variable name from declaration.
4289 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
4291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4292         Initialize COMMON_CPUID_INDEX_7 element.
4293         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4294         (CPUID_RTM): Likewise.
4295         (HAS_RTM): Likewise.
4296         (COMMON_CPUID_INDEX_7): New enum.
4298 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
4300         [BZ #14981]
4301         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4302         size is zero, record memory as freed.
4304 2013-01-03  Andreas Jaeger  <aj@suse.de>
4306         * po/ia.po: Add new Interlingua translation.
4308 2012-01-03  Allan McRae  <allan@archlinux.org>
4310         * locale/programs/localedef.c: Fix description of '--posix' flag.
4312 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
4314         * NEWS: Update dates in second copyright notice.
4315         * README: Update copyright dates in example.
4316         * manual/libc.texinfo: Update copyright dates.
4317         * scripts/test-installation.pl: Update copyright date in --version
4318         output.
4320         * hurd/ctty-input.c: Fix copyright notice formatting.
4321         * hurd/ctty-output.c: Likewise.
4322         * hurd/dtable.c: Likewise.
4323         * hurd/hurd-raise.c: Likewise.
4324         * hurd/hurdprio.c: Likewise.
4325         * hurd/msgportdemux.c: Likewise.
4326         * misc/sys/file.h: Likewise.
4327         * misc/sys/ioctl.h: Likewise.
4328         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4329         * sysdeps/mach/hurd/chdir.c: Likewise.
4330         * sysdeps/mach/hurd/fchdir.c: Likewise.
4331         * sysdeps/mach/hurd/rename.c: Likewise.
4332         * sysdeps/mach/hurd/rmdir.c: Likewise.
4333         * sysdeps/mach/hurd/seekdir.c: Likewise.
4334         * sysdeps/mach/hurd/setsid.c: Likewise.
4335         * sysdeps/posix/wait3.c: Likewise.
4337         * All files with FSF copyright notices: Update copyright dates
4338         using scripts/update-copyrights.
4339         * intl/plural.c: Regenerated.
4340         * locale/programs/charmap-kw.h: Likewise.
4341         * locale/programs/locfile-kw.h: Likewise.
4343 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4345         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4346         four values.
4348         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4349         calculation loop and add branch prediction.
4351         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4352         check access beyond bounds of m1np.
4354         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4355         MPTWO.
4356         (__inv): Remove local variable MPTWO to use the global
4357         constant.
4358         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4359         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4360         variable MPTWO.
4361         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4362         MP3HALFS static const.
4364 2013-01-01  David S. Miller  <davem@davemloft.net>
4366         * po/ca.po: Update from translation team.
4368 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
4370         * scripts/update-copyrights: New file.
4371         * Makeconfig: Reformat copyright notice.
4372         * ctype/ctype.h: Likewise.
4373         * debug/swprintf_chk.c: Likewise.
4374         * elf/dl-cache.c: Likewise.
4375         * elf/dl-debug.c: Likewise.
4376         * elf/dl-object.c: Likewise.
4377         * grp/initgroups.c: Likewise.
4378         * hurd/Makefile: Likewise.
4379         * hurd/hurd/signal.h: Likewise.
4380         * hurd/hurdfault.c: Likewise.
4381         * hurd/hurdioctl.c: Likewise.
4382         * hurd/hurdlookup.c: Likewise.
4383         * hurd/intr-msg.c: Likewise.
4384         * iconv/gconv_open.c: Likewise.
4385         * libio/swprintf.c: Likewise.
4386         * locale/lc-ctype.c: Likewise.
4387         * locale/nl_langinfo.c: Likewise.
4388         * mach/Machrules: Likewise.
4389         * mach/Makefile: Likewise.
4390         * malloc/obstack.h: Likewise.
4391         * manual/Makefile: Likewise.
4392         * manual/tsort.awk: Likewise.
4393         * misc/bits/stab.def: Likewise.
4394         * nis/nis_print_group_entry.c: Likewise.
4395         * nis/nis_table.c: Likewise.
4396         * nis/nss_compat/compat-pwd.c: Likewise.
4397         * nis/nss_compat/compat-spwd.c: Likewise.
4398         * po/Makefile: Likewise.
4399         * posix/fnmatch.c: Likewise.
4400         * posix/regex.h: Likewise.
4401         * resolv/Makefile: Likewise.
4402         * resolv/nss_dns/dns-network.c: Likewise.
4403         * resolv/res_hconf.c: Likewise.
4404         * scripts/gen-sorted.awk: Likewise.
4405         * soft-fp/soft-fp.h: Likewise.
4406         * stdio-common/printf.h: Likewise.
4407         * stdlib/monetary.h: Likewise.
4408         * stdlib/random.c: Likewise.
4409         * stdlib/random_r.c: Likewise.
4410         * sysdeps/generic/Makefile: Likewise.
4411         * sysdeps/gnu/Makefile: Likewise.
4412         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4413         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4414         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4415         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4416         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4417         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4418         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4419         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4420         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4421         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4422         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4423         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4424         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4425         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4426         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4427         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4428         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4429         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4430         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4431         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4432         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4433         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4434         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4435         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4436         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4438         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4439         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4440         * sysdeps/mach/hurd/errnos.awk: Likewise.
4441         * sysdeps/mach/hurd/fork.c: Likewise.
4442         * sysdeps/mach/hurd/getcwd.c: Likewise.
4443         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4444         * sysdeps/mach/hurd/mmap.c: Likewise.
4445         * sysdeps/mach/hurd/utimes.c: Likewise.
4446         * sysdeps/mach/hurd/xmknod.c: Likewise.
4447         * sysdeps/posix/profil.c: Likewise.
4448         * sysdeps/posix/readdir_r.c: Likewise.
4449         * sysdeps/powerpc/bits/mathdef.h: Likewise.
4450         * sysdeps/powerpc/bits/setjmp.h: Likewise.
4451         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4452         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4454         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4455         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4456         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4457         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4458         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4459         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4460         * sysdeps/pthread/lio_listio.c: Likewise.
4461         * sysdeps/sparc/dl-procinfo.h: Likewise.
4462         * sysdeps/unix/i386/sysdep.S: Likewise.
4463         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4464         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4465         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4466         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4468         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4469         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4470         * sysdeps/unix/sysv/linux/speed.c: Likewise.
4471         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4472         * sysdeps/wordsize-32/divdi3.c: Likewise.
4473         * time/sys/time.h: Likewise.
4474         * wcsmbs/Makefile: Likewise.
4476 2013-01-01  David S. Miller  <davem@davemloft.net>
4478         * po/fr.po: Update from translation team.
4480         * catgets/gencat.c: Update copyright year.
4481         * csu/version.c: Likewise.
4482         * debug/catchsegv.sh: Likewise.
4483         * debug/pcprofiledump.c: Likewise.
4484         * debug/xtrace.sh: Likewise.
4485         * elf/ldconfig.c: Likewise.
4486         * elf/ldd.bash.in: Likewise.
4487         * elf/pldd.c: Likewise.
4488         * elf/sotruss.ksh: Likewise.
4489         * elf/sprof.c: Likewise.
4490         * iconv/iconv_prog.c: Likewise.
4491         * iconv/iconvconfig.c: Likewise.
4492         * locale/programs/locale.c: Likewise.
4493         * locale/programs/localedef.c: Likewise.
4494         * login/programs/pt_chown.c: Likewise.
4495         * malloc/memusage.sh: Likewise.
4496         * malloc/memusagestat.c: Likewise.
4497         * malloc/mtrace.pl: Likewise.
4498         * nscd/nscd.c: Likewise.
4499         * nss/getent.c: Likewise.
4500         * nss/makedb.c: Likewise.
4501         * posix/getconf.c: Likewise.
4503 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4505         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4506         numbers.
4508 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
4510         * math/bits/mathcalls.h (modf): Use __nonnull.
4512 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4514         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4515         (split): Use macro CN instead of the bare value.
4516         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4517         could be used.
4518         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4519         instead of the bare value.
4520         (power1): Likewise.
4522 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4524         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4525         __ATAN_TWOM.
4526         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4528         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4529         their values.
4530         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4531         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4532         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4533         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4535 2012-12-28  Andreas Jaeger  <aj@suse.de>
4537         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
4538         values are from Linux 3.7.
4540         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4541         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
4543 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4545         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
4546         TRUE case.
4548         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4549         (norm): Likewise.
4550         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4551         variables with preprocessor constants.
4552         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4553         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4554         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4556 2012-12-27  Bruno Haible  <bruno@clisp.org>
4558         [BZ #14317]
4559         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4560         only if needed.
4562 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4565         and use variable directly.
4566         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4568         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4569         MPONE.
4570         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4571         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4572         variable MPONE.
4573         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4575         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4576         include directive.  Remove local variable MPONE.
4577         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4578         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4579         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4581 2012-12-25  David S. Miller  <davem@davemloft.net>
4583         * version.h (RELEASE): Set to "development".
4584         (VERSION): Set to "2.17.90".
4585         * NEWS: Add 2.18 section.
4587 2012-12-21  David S. Miller  <davem@davemloft.net>
4589         * po/hr.po: Update from translation team.
4591 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4593         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4595 2012-12-19  Steve Ellcey  <sellcey@mips.com>
4597         * NEWS:  Mention new memcpy for MIPS.
4599 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4601         * manual/contrib.texi (Contributors): Spelling correction.
4603 2012-12-15  David S. Miller  <davem@davemloft.net>
4605         * po/ru.po: Update from translation team.
4607 2012-12-13  David S. Miller  <davem@davemloft.net>
4609         * NEWS: Mention IFUNC testsuite enhancements.
4611         * po/pl.po: Update from translation team.
4612         * po/bg.po: Likewise.
4614         * manual/contrib.texi (Contributors): Update entries for Hongjiu
4615         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
4617 2012-12-11  David S. Miller  <davem@davemloft.net>
4619         * po/sv.po: Update from translation team.
4621         * po/vi.po: Update from translation team.
4623         * po/cs.po: Update from translation team.
4625         * po/de.po: Update from translation team.
4626         * po/eo.po: Likewise.
4627         * po/nl.po: Likewise.
4629 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4631         [BZ #14246]
4632         * manual/argp.texi (Argp Helper Functions): Move node to follow
4633         Argp Parsing State.
4635         [BZ #14872]
4636         * manual/conf.texi (Limits on File System Capacity): Mention if
4637         terminating null is included in the max size.
4639 2012-12-10  Andreas Jaeger  <aj@suse.de>
4641         * po/cs.po: Update from translation team.
4643 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4645         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4646         void pointer and cast to uintptr_t.
4647         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4648         path.
4649         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4650         * sysdeps/s390/s390-64/memset.S: Likewise.
4652 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
4654         [BZ #14833]
4655         * menual/message.texi (Message Translation): Fix typos.
4656         (Helper programs for gettext): Likewise.
4658 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
4660         [BZ #14898]
4661         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4662         Change to -1.
4664 2012-12-07  David S. Miller  <davem@davemloft.net>
4666         * po/libc.pot: Update.
4668 2012-12-07  Richard Henderson  <rth@redhat.com>
4670         [BZ #10114]
4671         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4672         normal/normal case to before the switch.
4673         (_FP_DIV): Likewise.
4675 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
4676             Mike Frysinger  <vapier@gentoo.org>
4678         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4679         check for __NR_fadvise64_64.
4681 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
4683         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4684         0, not just to plain "0" as a statement.
4685         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4686         with cw.
4688 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
4690         * NEWS: Use sourceware.org in Bugzilla URL.
4692 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
4694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4695         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4697         * stdio-common/tst-put-error.c (do_test): Add newline to the
4698         padded test to ensure flush.
4700 2012-12-05  Jeff Law  <law@redhat.com>
4702         * sunrpc/etc.rpc (fedfs_admin): Add entry.
4704 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
4706         * README: Don't refer to ports add-on as distributed separately.
4707         Mention AArch64 in list of systems supported in the ports add-on.
4709         * LICENSES: Add more non-FSF copyright and license notices.
4711         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4712         ((unused)).
4714         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4716         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4717         10000 as width of padded output.
4719 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4721         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4723         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4724         variable LX with __attribute__ ((unused)).
4725         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4726         Likewise.
4727         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4728         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4729         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4730         with __attribute__ ((unused)).
4732 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
4734         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4736 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
4738         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4739         (CFLAGS-nldbl-acos.c): New variable.
4740         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4741         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4742         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4743         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4744         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4745         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4746         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4747         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4748         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4749         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4750         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4751         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4752         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4753         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4754         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4755         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4756         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4757         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4758         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4759         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4760         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4761         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4762         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4763         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4764         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4765         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4766         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4767         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4768         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4769         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4770         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4771         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4772         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4773         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4774         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4775         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4776         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4777         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4778         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4779         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4780         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4781         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4782         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4783         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4784         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4785         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4786         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4787         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4788         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4789         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4790         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4791         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4792         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4793         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4794         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4795         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4796         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4797         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4798         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4799         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4800         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4801         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4802         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4803         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4804         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4805         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4806         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4807         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4808         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4809         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4810         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4811         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4812         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4813         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4814         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4815         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4816         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4817         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4818         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4819         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4820         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4821         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4822         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4823         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4824         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4825         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4826         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4827         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4828         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4829         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4830         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4831         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4832         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4833         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4834         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4835         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4836         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4839         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4841         [BZ #14914]
4842         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4843         whole low double instead of just low 47 bits when splitting values
4844         into two parts.
4846 2012-12-03  Allan McRae  <allan@archlinux.org>
4848         * manual/stdio.texi (Predefined Printf Handlers): Remove
4849         @hsep and @vsep usage.
4851 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
4853         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4854         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4856 2012-12-03  Jeff Law  <law@redhat.com>
4858         * time/sys/time.h (settimeofday): Do not mark TV argument
4859         as __nonnull.
4861 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
4863         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4864         when currently writing and seek to current position when not.
4865         * libio/Makefile (tests): Remove bug-fclose1.
4866         * libio/bug-fclose1.c: Delete.
4868 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
4870         * manual/arith.texi (feenableexcept): Fix typo.
4871         (fedisableexcept): Likewise.
4873 2012-11-30  Roland McGrath  <roland@hack.frob.com>
4875         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4876         second, differently-typed declaration, rather than a cast.
4878 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4880         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4881         * include/rpc/svc.h: ... here.
4883 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
4885         [BZ #13013]
4886         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4887         depending n and resplen2 to catch cases where answer
4888         equals answerp2.
4890 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
4892         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4893         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4895 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
4897         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4899 2012-11-29  Roland McGrath  <roland@hack.frob.com>
4901         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4903 2012-11-28  Jeff Law  <law@redhat.com>
4905         [BZ #13761]
4906         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4907         dataset_temporary.  Track alloca usage into alloca_used.
4908         If dataset is large allocate and release it via malloc/free.
4910 2012-06-04  Florian Weimer  <fweimer@redhat.com>
4912         [BZ #14197]
4913         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4915 2012-11-28  David S. Miller  <davem@davemloft.net>
4917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4919 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4921         [BZ #14803]
4922         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4923         of pi/2 rounded to nearest to 64 bits.
4924         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4925         nearest to 64 bits.
4926         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4927         bits.
4929 2012-11-28  Jeff Law <law@redhat.com>
4930             Martin Osvald <mosvald@redhat.com>
4932         [BZ #14889]
4933         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4934         * sunrpc/svc.c: Include time.h.
4935         (__svc_accept_failed): New function.
4936         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4937         any reason other than EINTR, call __svc_accept_failed.
4938         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4939         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4941 2012-11-28  Andreas Schwab  <schwab@suse.de>
4943         * scripts/abilist.awk: Also handle indirect functions in .opd
4944         section.
4946 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
4948         [BZ #13881]
4949         * sysdeps/x86/fpu/powl_helper.c: New file.
4950         * sysdeps/x86/fpu/Makefile: Likewise.
4951         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4952         (p3): New object.
4953         (__ieee754_powl): Use __powl_helper for finite arguments except
4954         integer exponents below 8.
4955         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4956         (p3): New object.
4957         (__ieee754_powl): Use __powl_helper for finite arguments except
4958         integer exponents below 8.
4959         * math/libm-test.inc (pow_test): Add more tests and enable some
4960         previously disabled tests.
4961         * sysdeps/i386/fpu/libm-test-ulps: Update.
4962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4964 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4965             Carlos O'Donell  <carlos_odonell@mentor.com>
4967         * nss/makedb.c (is_prime): Assert that input is odd and greater
4968         than 4.  Note that fact in a comment too.
4969         (next_prime): Add 4 to input.
4971 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4973         [BZ #11741]
4974         * libio/Makefile (tests): Add test case tst-fwrite-error.
4975         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4976         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4977         * libio/tst-fwrite-error.c: New test case.
4979 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
4981         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4982         before casting to void *.
4983         * include/libc-internal.h (__pointer_type): New macro.
4984         (__integer_if_pointer_type_sub): Likewise.
4985         (__integer_if_pointer_type): Likewise.
4986         (cast_to_integer): Likewise.
4987         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4988         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4989         before casting to atomic64_t.
4990         (atomic_exchange_acq): Likewise.
4991         (__arch_exchange_and_add_body): Likewise.
4992         (__arch_add_body): Likewise.
4993         (atomic_add_negative): Likewise.
4994         (atomic_add_zero): Likewise.
4996 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
4998         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4999         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5000         (add_fdes): Likewise.
5001         (linear_search_fdes): Likewise.
5002         (binary_search_unencoded_fdes): Likewise.
5004 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
5006         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5008 2012-11-24  Adam Conrad  <adconrad@0c3.net>
5010         * configure.in: Autodetect C++ header directories.
5011         * configure: Regenerated.
5013 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
5015         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5017 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
5019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5021 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
5023         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5024         LDBL_MANT_DIG == 106]: Disable some tests.
5025         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5026         Likewise.
5027         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5028         Likewise.
5030         [BZ #14871]
5031         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5032         input for small inputs.  Return +/- pi/2 for large inputs.
5033         * math/libm-test.inc (atan_test): Add more tests.
5035         * sysdeps/generic/unwind-dw2-fde-glibc.c
5036         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5037         __attribute__ ((unused)).
5039         [BZ #14645]
5040         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5041         x * y if x and y are nonzero and z is zero.
5043         [BZ #14811]
5044         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5045         nonzero exponents with absolute value below 0x1p-117 to +/-
5046         0x1p-117.
5048         [BZ #14869]
5049         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5050         up arguments below 2**-450, not just those below 2**-500.
5051         * math/libm-test.inc (hypot_test): Add another test.
5053         [BZ #14868]
5054         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5055         Return a+b for ratio over 2**120, not 2**60.
5056         * math/libm-test.inc (hypot_test): Add another test.
5058         * math/libm-test.inc (clog_test): Use
5059         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5060         (clog10_test): Likewise.
5062         [BZ #6778]
5063         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5065 2012-11-22  Andreas Schwab  <schwab@suse.de>
5067         * sysdeps/i386/fpu/libm-test-ulps: Update.
5069 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
5071         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5072         printf output with newline.
5074 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
5076         [BZ #14865]
5077         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5078         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5079         -z nodlopen, -z initfirst and -z execstack support.
5080         * configure: Regenerated.
5082         * elf/elf.h (DF_1_NODIRECT): New macro.
5083         (DF_1_IGNMULDEF): Likewise.
5084         (DF_1_NOKSYMS): Likewise.
5085         (DF_1_NOHDR): Likewise.
5086         (DF_1_EDITED): Likewise.
5087         (DF_1_NORELOC): Likewise.
5088         (DF_1_SYMINTPOSE): Likewise.
5089         (DF_1_GLOBAUDIT): Likewise.
5090         (DF_1_SINGLETON): Likewise.
5091         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5092         DT_1_SUPPORTED_MASK bits.
5093         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5095 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
5097         * sysdeps/unix/make-syscalls.sh: Document prefixes.
5099 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
5101         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5102         macro.
5104         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5105         (sendmmsg): Move declarations...
5106         * socket/sys/socket.h: ... here.
5107         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5108         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5109         include it from...
5110         * socket/recvmmsg.c: ... this new file.
5111         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5112         (sendmmsg): Rename to __sendmmsg, create weak alias and make
5113         definition of __sendmmsg hidden.
5114         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5115         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5116         Move ENOSYS stub into and include it from...
5117         * socket/sendmmsg.c: ... this new file.
5118         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5119         (sysdep_routines): Move recvmmsg and sendmmsg...
5120         * socket/Makefile (routines): ... here.
5121         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5122         (GLIBC_PRIVATE): Add __sendmmsg.
5123         * include/sys/socket.h (__sendmmsg): Add declarations.
5124         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5125         sendmmsg.
5127 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
5129         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5130         variable I1 with __attribute__ ((unused)).
5131         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5133 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5135         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5136         DUMMY variables with __attribute__ ((unused)).
5138         * bits/byteswap.h: Include <bits/types.h>.
5139         (__bswap_64): Use __uint64_t instead of unsigned long long int.
5141 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5143         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5144         string_t.  Do not manually set errno.
5145         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5146         length with __strnlen.  Make sure to both set errno and return it on
5147         failure.
5149 2012-11-19  David S. Miller  <davem@davemloft.net>
5151         With help from Joseph Myers.
5152         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5153         very large arguments properly.
5154         * math/libm-test.inc (atan_test): New tests.
5155         (atan2_test): New tests.
5156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5159 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
5161         [BZ #14856]
5162         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5163         Define to 3.
5165         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5166         [POSIX] (EADDRNOTAVAIL): Likewise.
5167         [POSIX] (EAFNOSUPPORT): Likewise.
5168         [POSIX] (EALREADY): Likewise.
5169         [POSIX] (ECONNABORTED): Likewise.
5170         [POSIX] (ECONNREFUSED): Likewise.
5171         [POSIX] (ECONNRESET): Likewise.
5172         [POSIX] (EDESTADDRREQ): Likewise.
5173         [POSIX] (EDQUOT): Likewise.
5174         [POSIX] (EHOSTUNREACH): Likewise.
5175         [POSIX] (EIDRM): Likewise.
5176         [POSIX] (EISCONN): Likewise.
5177         [POSIX] (ELOOP): Likewise.
5178         [POSIX] (EMULTIHOP): Likewise.
5179         [POSIX] (ENETDOWN): Likewise.
5180         [POSIX] (ENETUNREACH): Likewise.
5181         [POSIX] (ENOBUFS): Likewise.
5182         [POSIX] (ENODATA): Likewise.
5183         [POSIX] (ENOLINK): Likewise.
5184         [POSIX] (ENOMSG): Likewise.
5185         [POSIX] (ENOPROTOOPT): Likewise.
5186         [POSIX] (ENOSR): Likewise.
5187         [POSIX] (ENOSTR): Likewise.
5188         [POSIX] (ENOTCONN): Likewise.
5189         [POSIX] (ENOTSOCK): Likewise.
5190         [POSIX] (EOPNOTSUPP): Likewise.
5191         [POSIX] (EOVERFLOW): Likewise.
5192         [POSIX] (EPROTO): Likewise.
5193         [POSIX] (EPROTONOSUPPORT): Likewise.
5194         [POSIX] (EPROTOTYPE): Likewise.
5195         [POSIX] (ESTALE): Likewise.
5196         [POSIX] (ETIME): Likewise.
5197         [POSIX] (ETXTBSY): Likewise.
5198         [POSIX] (EWOULDBLOCK): Likewise.
5199         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5200         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5201         [POSIX] (SEEK_CUR): Likewise.
5202         [POSIX] (SEEK_END): Likewise.
5203         [POSIX || UNIX98] (mode_t): Do not require.
5204         [POSIX] (off_t): Likewise.
5205         [POSIX] (pid_t): Likewise.
5206         [POSIX] (sys/stat.h): Do not allow header.
5207         [POSIX] (unistd.h): Likewise.
5208         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5209         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5210         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5211         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5212         require.
5213         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5214         sigevent): Specify elements.
5215         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5216         entry.
5217         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5218         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5220         * conform/data/cpio.h-data [POSIX]: Disable whole file.
5221         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5222         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5223         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5224         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5225         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5226         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5227         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5228         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5229         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5230         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5231         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5232         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5233         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5234         Likewise.
5235         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5236         Likewise.
5237         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5238         Likewise.
5239         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5240         Likewise.
5241         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5242         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5243         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5244         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5245         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5246         Specify lower bound on value.
5247         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5248         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5249         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5250         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5251         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5252         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5253         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5254         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5255         value.
5256         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5257         as optional.
5258         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5259         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5260         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5261         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5262         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5263         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5264         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5265         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5266         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5267         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5268         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5269         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5270         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5271         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5272         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5273         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5274         entry.
5275         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5276         optional.
5277         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5278         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5279         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5280         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5281         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5282         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5283         Likewise.
5284         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5285         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5286         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5287         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5288         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
5289         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5290         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5291         as optional.
5292         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5293         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5294         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5295         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5296         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5297         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5298         specify as optional.
5299         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5300         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5301         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5302         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5303         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5304         [XPG3] (NL_LANGMAX): Likewise.
5305         [POSIX || XPG3] (NL_MSGMAX): Likewise.
5306         [POSIX || XPG3] (NL_NMAX): Likewise.
5307         [POSIX || XPG3] (NL_SETMAX): Likewise.
5308         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5309         [XPG3] (NZERO): Likewise.
5310         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5311         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5312         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5313         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5314         (REG_ERANGE): Expect.
5315         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5316         optional-constant.
5317         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5318         Use (void) in prototype.
5319         [POSIX] (*_t): Allow.
5320         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5321         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5322         (WRDE_BADVAL): Expect.
5324         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5325         expect.
5326         [XPG3 || XPG4] (O_RSYNC): Likewise.
5327         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5328         Likewise.
5329         [XPG3 || XPG4] (pthread_sigmask): Likewise.
5330         [XPG3 || XPG4] (sigqueue): Likewise.
5331         [XPG3 || XPG4] (sigtimedwait): Likewise.
5332         [XPG3 || XPG4] (sigwaitinfo): Likewise.
5333         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5334         [XPG3 || XPG4] (vsnprintf): Likewise.
5335         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5336         Likewise.
5337         [XPG3 || XPG4] (blksize_t): Likewise.
5338         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5339         Likewise.
5340         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5341         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5342         [XPG3 || XPG4] (struct itimerspec): Likewise.
5343         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5344         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5345         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5346         [XPG3 || XPG4] (clockid_t): Likewise.
5347         [XPG3 || XPG4] (timer_t): Likewise.
5348         [XPG3 || XPG4] (clock_getres): Likewise.
5349         [XPG3 || XPG4] (clock_gettime): Likewise.
5350         [XPG3 || XPG4] (clock_settime): Likewise.
5351         [XPG3 || XPG4] (nanosleep): Likewise.
5352         [XPG3 || XPG4] (timer_create): Likewise.
5353         [XPG3 || XPG4] (timer_delete): Likewise.
5354         [XPG3 || XPG4] (timer_gettime): Likewise.
5355         [XPG3 || XPG4] (timer_getoverrun): Likewise.
5356         [XPG3 || XPG4] (timer_settime): Likewise.
5357         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5358         [XPG3 || XPG4] (getlogin_r): Likewise.
5359         [XPG3 || XPG4] (pread): Likewise.
5360         [XPG3 || XPG4] (pthread_atfork): Likewise.
5361         [XPG3 || XPG4] (pwrite): Likewise.
5363         [BZ #14835]
5364         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5365         <bits/siginfo.h>.
5367 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
5369         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5370         finalizing MALLSTREAM.
5372         * sysdeps/mach/hurd/syncfs.c: New file.
5374 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5376         [BZ #14719]
5377         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5378         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5379         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5380         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5381         (_nss_dns_gethostbyname4_r): Likewise.
5382         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5383         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5385 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
5387         [BZ #13763]
5388         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5390 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
5392         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5393         * elf/cache.c (print_entry): Print ",AArch64" for
5394         FLAG_AARCH64_LIB64
5396         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5397         * elf/cache.c (print_entry): Print ",hard-float" for
5398         FLAG_ARM_LIBHF.
5400 2012-11-18  David S. Miller  <davem@davemloft.net>
5402         With help from Joseph Myers.
5403         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5404         cutoff to 2**-13.
5405         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5406         cutoff to 2**-25.
5407         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5408         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5409         small.
5410         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5411         * math/libm-test.inc (y0_test): New tests.
5412         (y1_test): New tests.
5413         * sysdeps/i386/fpu/libm-test-ulps: Update.
5414         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5417 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
5419         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5420         64-bit targets.
5421         * configure: Regenerated.
5423 2012-11-17  David S. Miller  <davem@davemloft.net>
5425         [BZ #14811]
5426         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5427         nonzero exponents with absolute value below 0x1p-128 to +/-
5428         0x1p-128.
5430 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
5432         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5434         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5436         * posix/getconf-speclist.c: New file.
5437         * posix/posix-envs.def: Likewise.
5438         * posix/confstr.c (START_ENV_GROUP): New macro.
5439         (END_ENV_GROUP): Likewise.
5440         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5441         (KNOWN_PRESENT_ENV_STRING): Likewise.
5442         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5443         (UNKNOWN_ENVIRONMENT): Likewise.
5444         (confstr): Include posix-envs.def instead of handling
5445         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5446         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5447         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5448         (END_ENV_GROUP): Likewise.
5449         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5450         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5451         (UNKNOWN_ENVIRONMENT): Likewise.
5452         (__sysconf): Include posix-envs.def instead of handling associated
5453         cases directly here.
5454         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5455         preprocessing getconf-speclist.c rather than running getconf or
5456         generating empty file.
5458 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
5460         * scripts/check-local-headers.sh: Ignore 'mach' headers.
5462 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
5464         [BZ #14672]
5465         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5467 2012-11-16  David S. Miller  <davem@davemloft.net>
5469         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5470         smaller than LDBL_EPSILON/2.0L, just return xm1.
5472 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
5474         * elf/tst-array1.c (init): Set constructor priority to 1000.
5475         (fini): Set destructor priority to 1000.
5476         * elf/tst-array2dep.c: Likewise.
5478 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5480         [BZ #11741]
5481         * libio/fileops.c (_IO_new_file_write): Correctly return error.
5482         (_IO_new_file_xsputn): Also return EOF if none of the input
5483         data was written when overflow failed.
5484         * libio/iopadn.c (_IO_padn): Likewise.
5485         * libio/iowpadn.c (_IO_wpadn): Likewise.
5486         * stdio-common/tst-put-error.c: Add copyright notice.
5487         (do_test): Add case for printing padded string.
5488         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5489         _IO_padn returned error.
5490         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5491         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5492         return EOF.
5494 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5496         * libio/libioP.h: Add comment note that the references to C++
5497         bits are now obsolete.
5499 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5501         * math/libm-test.inc (check_complex): Use asprintf.
5503 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
5505         * debug/pcprofiledump.c (print_version): Update copyright year.
5506         * malloc/memusagestat.c (print_version): Likewise.
5508 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5510         [BZ #14831]
5511         * elf/Makefile (tests): Add tst-audit8.
5512         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5513         ($(objpfx)tst-audit8.out): New target.
5514         (tst-audit8-ENV): New variable.
5515         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5516         audit if l_reloc_result is NULL.
5517         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5518         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5519         * elf/tst-audit8.c: New file.
5521 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5523         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5524         * misc/Makefile (CFLAGS-select.c): Define.
5525         * posix/Makefile (CFLAGS-pause.c): Define.
5527 2012-11-13  David S. Miller  <davem@davemloft.net>
5529         * crypt/Makefile: Move test targets after toplevel Rules
5530         inclusion.  Grab any necessary sysdep routines when linking.
5531         * crypt/md5.c (md5_process_block): Remove define, we will always
5532         name it __md5_process_block.
5533         (md5_finish_ctx): Update md5_process_block call.
5534         (md5_stream): Likewise.
5535         (md5_process_bytes): Likewise.
5536         (md5_process_block): Rename to __md5_process_block and move to ...
5537         * crypt/md5-block.c: ... here.
5538         * crypt/sha256.c (sha256_process_block): Move to ...
5539         * crypt/sha256-block.c: ... here.
5540         * crypt/sha512.c (sha512_process_block): Move to ...
5541         * crypt/sha512-block.c: ... here.
5542         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5543         path.
5544         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5545         * sysdeps/sparc/sparc64/multiarch/Makefile
5546         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5547         crypt subdir.
5548         (localedef-aux): Add md5 crypto assembler when in locale subdir.
5549         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5550         multiarch changes.
5551         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5552         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5553         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5554         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5555         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5556         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5557         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5558         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5559         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5560         file.
5561         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5562         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5563         file.
5564         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5566 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
5568         * timezone/tzselect.ksh: Update from tzcode git revision
5569         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5570         * timezone/zdump.c: Likewise.
5571         * timezone/zic.c: Likewise.
5572         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5573         in TZVERSION setting, not $(PKGVERSION).
5574         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
5575         REPORT_BUGS_TO settings.
5577         [BZ #14838]
5578         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5579         macro.
5581 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5583         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5584         detection to immediately after _FP_ROUND().
5585         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5586         bits are 0.
5588 2012-11-11  David S. Miller  <davem@davemloft.net>
5590         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5591         inttypes.h
5592         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5593         __close rather than their public counterparts.
5595 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
5597         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5598         file.
5599         [UNIX98] (sem_timedwait): Do not expect.
5600         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5601         [XPG4 || UNIX98] (sockatmark): Do not expect.
5602         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5603         (clock_getcpuclockid): Do not expect.
5604         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5605         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5606         Do not expect.
5607         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5608         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5609         [UNIX98] (vwscanf): Likewise.
5610         [UNIX98] (vswscanf): Likewise.
5612 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
5614         * timezone/version.h: Remove file.
5615         * timezone/README: Do not refer to version.h.
5616         * timezone/Makefile ($(objpfx)zic.o): New dependency on
5617         $(objpfx)version.h.
5618         ($(objpfx)zdump.o): Likewise.
5619         ($(objpfx)version.h): New target.
5621         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5622         2012i.
5623         * timezone/README: Don't mention modification to tzselect.ksh.
5624         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5625         work on unmodified tzselect.ksh.  Substitute version numbers in
5626         tzselect.ksh.
5628         * Makefile (format-me): Remove.
5629         (INSTALL): Adjust indentation.  Use commands directly instead of
5630         using $(format-me).
5632         * aclocal.m4 (ACX_PKGVERSION): New macro.
5633         (ACX_BUGURL): Likewise.
5634         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5635         (PKGVERSION): New AC_DEFINE_UNQUOTED.
5636         (REPORT_BUGS_TO): Likewise.
5637         * configure: Regenerated.
5638         * config.h.in (PKGVERSION): New macro.
5639         (REPORT_BUGS_TO): Likewise.
5640         * config.make.in (PKGVERSION): New variable.
5641         (PKGVERSION_TEXI): Likewise.
5642         (REPORT_BUGS_TO): Likewise.
5643         (REPORT_BUGS_TEXI): Likewise.
5644         * Makefile (format-me): Use -I$(common-objpfx)manual.
5645         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5646         ($(common-objpfx)manual/%): New target.
5647         (manual/%): Remove target.
5648         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5649         (print_version): Use PKGVERSION.
5650         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5651         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5652         and REPORT_BUGS_TO.
5653         ($(objpfx)xtrace): Likewise.
5654         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5655         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5656         (print_version): Use PKGVERSION.
5657         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5658         (do_version): Use PKGVERSION.
5659         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5660         REPORT_BUGS_TO.
5661         (common-ldd-rewrite): Likewise.
5662         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5663         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5664         (print_version): Use PKGVERSION.
5665         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5666         * elf/pldd.c (argp_program_bug_address): Remove variable.
5667         (more_help): New function.
5668         (argp): Use more_help.
5669         (print_version): Use PKGVERSION.
5670         * elf/sln.c (main): Use PKGVERSION.
5671         (usage): Use REPORT_BUGS_TO.
5672         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5673         (top level): Use PKGVERSION.
5674         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5675         (print_version): Use PKGVERSION.
5676         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5677         (print_version): Use PKGVERSION.
5678         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5679         (print_version): Use PKGVERSION.
5680         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5681         (print_version): Use PKGVERSION.
5682         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5683         (print_version): Use PKGVERSION.
5684         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5685         (print_version): Use PKGVERSION.
5686         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5687         and BUGURL.
5688         ($(objpfx)memusage): Likewise.
5689         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5690         (do_version): Use PKGVERSION.
5691         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5692         (print_version): Use PKGVERSION.
5693         * malloc/mtrace.pl ($PACKAGE): Remove variable.
5694         ($PKGVERSION): New variable.
5695         ($REPORT_BUGS_TO): Likewise.
5696         (usage): Use $REPORT_BUGS_TO.
5697         (top level): Use $PKGVERSION.
5698         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5699         ($(objpfx)pkgvers.texi): New rule.
5700         ($(objpfx)stamp-pkgvers): Likewise.
5701         * manual/install.texi: Include pkgvers.texi.
5702         (--with-pkgversion): Document new configure option.
5703         (--with-bugurl): Likewise.
5704         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5705         than necessarily for this particular distribution.  Use
5706         REPORT_BUGS_TO for where to report bugs.
5707         * INSTALL: Regenerated.
5708         * manual/libc.texinfo: Include pkgvers.texi.
5709         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5710         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5711         (print_version): Use PKGVERSION.
5712         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5713         (print_version): Use PKGVERSION.
5714         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5715         (print_version): Use PKGVERSION.
5716         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5717         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5718         macro.
5719         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5720         (print_version): Use PKGVERSION.
5721         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5722         (print_version): Use PKGVERSION.
5723         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5724         and PKGVERSION.
5726         * timezone/checktab.awk: Update from tzcode 2012i.
5727         * timezone/ialloc.c: Likewise.
5728         * timezone/private.h: Likewise.
5729         * timezone/scheck.c: Likewise.
5730         * timezone/tzfile.h: Likewise.
5731         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5732         (TZVERSION): Hardcode tzcode version number.
5733         * timezone/zdump.c: Update from tzcode 2012i.
5734         * timezone/zic.c: Likewise.
5735         * timezone/version.h: New file.
5736         * timezone/README: Describe version.h.  Update upstream location.
5738         [BZ #14824]
5739         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5740         (mktemp): Enable declaration.
5741         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5742         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5743         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5744         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5745         Likewise.
5746         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5747         Likewise.
5748         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5749         Likewise.
5750         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5751         Likewise.
5752         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5753         Likewise.
5754         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5755         Likewise.
5757         [BZ #14821]
5758         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5759         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
5760         for copies of such integer values.
5761         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5762         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5764 2012-11-09  Andreas Jaeger  <aj@suse.de>
5766         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5767         definitions and declarations that are provided by
5768         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5770 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5772         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
5773         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5774         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5775         definition.
5777 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
5779         * elf/elf.h: Update comment before AArch64 relocations.
5781 2012-11-07  David S. Miller  <davem@davemloft.net>
5783         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5784         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5785         (__start_context): Declare.
5786         (__makecontext_ret): Delete.
5787         (__makecontext): Hook up __start_context instead of
5788         __makecontext_ret.
5789         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5790         (sysdep_routines): Add __start_context when in stdlib.
5792 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5794         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5795         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5796         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
5797         hardcoded "nm".
5798         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
5799         (READELF): New variable.  Use it instead of hardcoded "readelf".
5801 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5803         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5804         * sysdeps/x86/Makefile: Here.
5805         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5806         * sysdeps/x86/tst-xmmymm.sh: This.
5808 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
5810         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5811         expectations.
5812         [UNIX98] (pthread_barrier_t): Do not expect.
5813         [UNIX98] (pthread_barrierattr_t): Likewise.
5814         [UNIX98] (pthread_spinlock_t): Likewise.
5815         [UNIX98] (pthread_barrier_destroy): Likewise.
5816         [UNIX98] (pthread_barrier_init): Likewise.
5817         [UNIX98] (pthread_barrier_wait): Likewise.
5818         [UNIX98] (pthread_barrierattr_destroy): Likewise.
5819         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5820         [UNIX98] (pthread_barrierattr_init): Likewise.
5821         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5822         [UNIX98] (pthread_getcpuclockid): Likewise.
5823         [UNIX98] (pthread_mutex_timedlock): Likewise.
5824         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5825         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5826         [UNIX98] (pthread_sigmask): Likewise.
5827         [UNIX98] (pthread_spin_destroy): Likewise.
5828         [UNIX98] (pthread_spin_init): Likewise.
5829         [UNIX98] (pthread_spin_lock): Likewise.
5830         [UNIX98] (pthread_spin_trylock): Likewise.
5831         [UNIX98] (pthread_spin_unlock): Likewise.
5832         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5833         Do not expect.
5834         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5835         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5836         [XPG3 || XPG4] (pthread_cond_t): Likewise.
5837         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5838         [XPG3 || XPG4] (pthread_key_t): Likewise.
5839         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5840         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5841         [XPG3 || XPG4] (pthread_once_t): Likewise.
5842         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5843         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5844         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5845         [XPG3 || XPG4] (pthread_t): Likewise.
5847         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5848         not expect.
5849         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5851         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5852         Change function return type to int.
5854         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5855         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5856         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5857         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5858         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5859         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5860         [!POSIX] (posix_madvise): Likewise.
5861         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5862         && !UNIX98].
5863         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5864         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5865         (mode_t): Likewise.
5866         (posix_mem_offset): Likewise.
5867         (posix_typed_mem_get_info): Likewise.
5868         (posix_typed_mem_open): Likewise.
5870         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5871         Change condition to [XOPEN2K8].
5873         * conform/conformtest.pl: Preprocess allow-header data with -x c
5874         instead of from stdin.
5875         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5876         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5877         [C99-based standards] (cerfc): Likewise.
5878         [C99-based standards] (cexp2): Likewise.
5879         [C99-based standards] (cexpm1): Likewise.
5880         [C99-based standards] (clog10): Likewise.
5881         [C99-based standards] (clog1p): Likewise.
5882         [C99-based standards] (clog2): Likewise.
5883         [C99-based standards] (clgamma): Likewise.
5884         [C99-based standards] (ctgamma): Likewise.
5885         [C99-based standards] (cerff): Likewise.
5886         [C99-based standards] (cerfcf): Likewise.
5887         [C99-based standards] (cexp2f): Likewise.
5888         [C99-based standards] (cexpm1f): Likewise.
5889         [C99-based standards] (clog10f): Likewise.
5890         [C99-based standards] (clog1pf): Likewise.
5891         [C99-based standards] (clog2f): Likewise.
5892         [C99-based standards] (clgammaf): Likewise.
5893         [C99-based standards] (ctgammaf): Likewise.
5894         [C99-based standards] (cerfl): Likewise.
5895         [C99-based standards] (cerfcl): Likewise.
5896         [C99-based standards] (cexp2l): Likewise.
5897         [C99-based standards] (cexpm1l): Likewise.
5898         [C99-based standards] (clog10l): Likewise.
5899         [C99-based standards] (clog1pl): Likewise.
5900         [C99-based standards] (clog2l): Likewise.
5901         [C99-based standards] (clgammal): Likewise.
5902         [C99-based standards] (ctgammal): Likewise.
5903         * conform/data/inttypes.h-data [C99-based standards]: Include
5904         stdint.h-data.  Remove all expectations for stdint.h contents.
5905         [C99-based standards] (PRI*): Do not allow.
5906         [C99-based standards] (SCN*): Likewise.
5907         [C99-based standards] (*_t): Likewise.
5908         [C99-based-standards] (PRId8): Expect macro.
5909         [C99-based-standards] (PRIi8): Likewise.
5910         [C99-based-standards] (PRIo8): Likewise.
5911         [C99-based-standards] (PRIu8): Likewise.
5912         [C99-based-standards] (PRIx8): Likewise.
5913         [C99-based-standards] (PRIX8): Likewise.
5914         [C99-based-standards] (SCNd8): Likewise.
5915         [C99-based-standards] (SCNi8): Likewise.
5916         [C99-based-standards] (SCNo8): Likewise.
5917         [C99-based-standards] (SCNu8): Likewise.
5918         [C99-based-standards] (SCNx8): Likewise.
5919         [C99-based-standards] (PRIdLEAST8): Likewise.
5920         [C99-based-standards] (PRIiLEAST8): Likewise.
5921         [C99-based-standards] (PRIoLEAST8): Likewise.
5922         [C99-based-standards] (PRIuLEAST8): Likewise.
5923         [C99-based-standards] (PRIxLEAST8): Likewise.
5924         [C99-based-standards] (PRIXLEAST8): Likewise.
5925         [C99-based-standards] (SCNdLEAST8): Likewise.
5926         [C99-based-standards] (SCNiLEAST8): Likewise.
5927         [C99-based-standards] (SCNoLEAST8): Likewise.
5928         [C99-based-standards] (SCNuLEAST8): Likewise.
5929         [C99-based-standards] (SCNxLEAST8): Likewise.
5930         [C99-based-standards] (PRIdFAST8): Likewise.
5931         [C99-based-standards] (PRIiFAST8): Likewise.
5932         [C99-based-standards] (PRIoFAST8): Likewise.
5933         [C99-based-standards] (PRIuFAST8): Likewise.
5934         [C99-based-standards] (PRIxFAST8): Likewise.
5935         [C99-based-standards] (PRIXFAST8): Likewise.
5936         [C99-based-standards] (SCNdFAST8): Likewise.
5937         [C99-based-standards] (SCNiFAST8): Likewise.
5938         [C99-based-standards] (SCNoFAST8): Likewise.
5939         [C99-based-standards] (SCNuFAST8): Likewise.
5940         [C99-based-standards] (SCNxFAST8): Likewise.
5941         [C99-based-standards] (PRId16): Likewise.
5942         [C99-based-standards] (PRIi16): Likewise.
5943         [C99-based-standards] (PRIo16): Likewise.
5944         [C99-based-standards] (PRIu16): Likewise.
5945         [C99-based-standards] (PRIx16): Likewise.
5946         [C99-based-standards] (PRIX16): Likewise.
5947         [C99-based-standards] (SCNd16): Likewise.
5948         [C99-based-standards] (SCNi16): Likewise.
5949         [C99-based-standards] (SCNo16): Likewise.
5950         [C99-based-standards] (SCNu16): Likewise.
5951         [C99-based-standards] (SCNx16): Likewise.
5952         [C99-based-standards] (PRIdLEAST16): Likewise.
5953         [C99-based-standards] (PRIiLEAST16): Likewise.
5954         [C99-based-standards] (PRIoLEAST16): Likewise.
5955         [C99-based-standards] (PRIuLEAST16): Likewise.
5956         [C99-based-standards] (PRIxLEAST16): Likewise.
5957         [C99-based-standards] (PRIXLEAST16): Likewise.
5958         [C99-based-standards] (SCNdLEAST16): Likewise.
5959         [C99-based-standards] (SCNiLEAST16): Likewise.
5960         [C99-based-standards] (SCNoLEAST16): Likewise.
5961         [C99-based-standards] (SCNuLEAST16): Likewise.
5962         [C99-based-standards] (SCNxLEAST16): Likewise.
5963         [C99-based-standards] (PRIdFAST16): Likewise.
5964         [C99-based-standards] (PRIiFAST16): Likewise.
5965         [C99-based-standards] (PRIoFAST16): Likewise.
5966         [C99-based-standards] (PRIuFAST16): Likewise.
5967         [C99-based-standards] (PRIxFAST16): Likewise.
5968         [C99-based-standards] (PRIXFAST16): Likewise.
5969         [C99-based-standards] (SCNdFAST16): Likewise.
5970         [C99-based-standards] (SCNiFAST16): Likewise.
5971         [C99-based-standards] (SCNoFAST16): Likewise.
5972         [C99-based-standards] (SCNuFAST16): Likewise.
5973         [C99-based-standards] (SCNxFAST16): Likewise.
5974         [C99-based-standards] (PRId32): Likewise.
5975         [C99-based-standards] (PRIi32): Likewise.
5976         [C99-based-standards] (PRIo32): Likewise.
5977         [C99-based-standards] (PRIu32): Likewise.
5978         [C99-based-standards] (PRIx32): Likewise.
5979         [C99-based-standards] (PRIX32): Likewise.
5980         [C99-based-standards] (SCNd32): Likewise.
5981         [C99-based-standards] (SCNi32): Likewise.
5982         [C99-based-standards] (SCNo32): Likewise.
5983         [C99-based-standards] (SCNu32): Likewise.
5984         [C99-based-standards] (SCNx32): Likewise.
5985         [C99-based-standards] (PRIdLEAST32): Likewise.
5986         [C99-based-standards] (PRIiLEAST32): Likewise.
5987         [C99-based-standards] (PRIoLEAST32): Likewise.
5988         [C99-based-standards] (PRIuLEAST32): Likewise.
5989         [C99-based-standards] (PRIxLEAST32): Likewise.
5990         [C99-based-standards] (PRIXLEAST32): Likewise.
5991         [C99-based-standards] (SCNdLEAST32): Likewise.
5992         [C99-based-standards] (SCNiLEAST32): Likewise.
5993         [C99-based-standards] (SCNoLEAST32): Likewise.
5994         [C99-based-standards] (SCNuLEAST32): Likewise.
5995         [C99-based-standards] (SCNxLEAST32): Likewise.
5996         [C99-based-standards] (PRIdFAST32): Likewise.
5997         [C99-based-standards] (PRIiFAST32): Likewise.
5998         [C99-based-standards] (PRIoFAST32): Likewise.
5999         [C99-based-standards] (PRIuFAST32): Likewise.
6000         [C99-based-standards] (PRIxFAST32): Likewise.
6001         [C99-based-standards] (PRIXFAST32): Likewise.
6002         [C99-based-standards] (SCNdFAST32): Likewise.
6003         [C99-based-standards] (SCNiFAST32): Likewise.
6004         [C99-based-standards] (SCNoFAST32): Likewise.
6005         [C99-based-standards] (SCNuFAST32): Likewise.
6006         [C99-based-standards] (SCNxFAST32): Likewise.
6007         [C99-based-standards] (PRId64): Likewise.
6008         [C99-based-standards] (PRIi64): Likewise.
6009         [C99-based-standards] (PRIo64): Likewise.
6010         [C99-based-standards] (PRIu64): Likewise.
6011         [C99-based-standards] (PRIx64): Likewise.
6012         [C99-based-standards] (PRIX64): Likewise.
6013         [C99-based-standards] (SCNd64): Likewise.
6014         [C99-based-standards] (SCNi64): Likewise.
6015         [C99-based-standards] (SCNo64): Likewise.
6016         [C99-based-standards] (SCNu64): Likewise.
6017         [C99-based-standards] (SCNx64): Likewise.
6018         [C99-based-standards] (PRIdLEAST64): Likewise.
6019         [C99-based-standards] (PRIiLEAST64): Likewise.
6020         [C99-based-standards] (PRIoLEAST64): Likewise.
6021         [C99-based-standards] (PRIuLEAST64): Likewise.
6022         [C99-based-standards] (PRIxLEAST64): Likewise.
6023         [C99-based-standards] (PRIXLEAST64): Likewise.
6024         [C99-based-standards] (SCNdLEAST64): Likewise.
6025         [C99-based-standards] (SCNiLEAST64): Likewise.
6026         [C99-based-standards] (SCNoLEAST64): Likewise.
6027         [C99-based-standards] (SCNuLEAST64): Likewise.
6028         [C99-based-standards] (SCNxLEAST64): Likewise.
6029         [C99-based-standards] (PRIdFAST64): Likewise.
6030         [C99-based-standards] (PRIiFAST64): Likewise.
6031         [C99-based-standards] (PRIoFAST64): Likewise.
6032         [C99-based-standards] (PRIuFAST64): Likewise.
6033         [C99-based-standards] (PRIxFAST64): Likewise.
6034         [C99-based-standards] (PRIXFAST64): Likewise.
6035         [C99-based-standards] (SCNdFAST64): Likewise.
6036         [C99-based-standards] (SCNiFAST64): Likewise.
6037         [C99-based-standards] (SCNoFAST64): Likewise.
6038         [C99-based-standards] (SCNuFAST64): Likewise.
6039         [C99-based-standards] (SCNxFAST64): Likewise.
6040         [C99-based-standards] (PRIdMAX): Likewise.
6041         [C99-based-standards] (PRIiMAX): Likewise.
6042         [C99-based-standards] (PRIoMAX): Likewise.
6043         [C99-based-standards] (PRIuMAX): Likewise.
6044         [C99-based-standards] (PRIxMAX): Likewise.
6045         [C99-based-standards] (PRIXMAX): Likewise.
6046         [C99-based-standards] (SCNdMAX): Likewise.
6047         [C99-based-standards] (SCNiMAX): Likewise.
6048         [C99-based-standards] (SCNoMAX): Likewise.
6049         [C99-based-standards] (SCNuMAX): Likewise.
6050         [C99-based-standards] (SCNxMAX): Likewise.
6051         [C99-based-standards] (PRIdPTR): Likewise.
6052         [C99-based-standards] (PRIiPTR): Likewise.
6053         [C99-based-standards] (PRIoPTR): Likewise.
6054         [C99-based-standards] (PRIuPTR): Likewise.
6055         [C99-based-standards] (PRIxPTR): Likewise.
6056         [C99-based-standards] (PRIXPTR): Likewise.
6057         [C99-based-standards] (SCNdPTR): Likewise.
6058         [C99-based-standards] (SCNiPTR): Likewise.
6059         [C99-based-standards] (SCNoPTR): Likewise.
6060         [C99-based-standards] (SCNuPTR): Likewise.
6061         [C99-based-standards] (SCNxPTR): Likewise.
6062         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6063         allow.
6064         * conform/data/stdint.h-data: Update comments to clarify
6065         requirements.
6066         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
6067         type.
6068         [C99-based standards] (INT8_MAX): Likewise.
6069         [C99-based standards] (INT16_MIN): Likewise.
6070         [C99-based standards] (INT16_MAX): Likewise.
6071         [C99-based standards] (INT32_MIN): Likewise.
6072         [C99-based standards] (INT32_MAX): Likewise.
6073         [C99-based standards] (INT64_MIN): Likewise.
6074         [C99-based standards] (INT64_MAX): Likewise.
6075         [C99-based standards] (UINT8_MAX): Likewise.
6076         [C99-based standards] (UINT16_MAX): Likewise.
6077         [C99-based standards] (UINT32_MAX): Likewise.
6078         [C99-based standards] (UINT64_MAX): Likewise.
6079         [C99-based standards] (INT_LEAST8_MIN): Likewise.
6080         [C99-based standards] (INT_LEAST8_MAX): Likewise.
6081         [C99-based standards] (INT_LEAST16_MIN): Likewise.
6082         [C99-based standards] (INT_LEAST16_MAX): Likewise.
6083         [C99-based standards] (INT_LEAST32_MIN): Likewise.
6084         [C99-based standards] (INT_LEAST32_MAX): Likewise.
6085         [C99-based standards] (INT_LEAST64_MIN): Likewise.
6086         [C99-based standards] (INT_LEAST64_MAX): Likewise.
6087         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6088         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6089         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6090         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6091         [C99-based standards] (INT_FAST8_MIN): Likewise.
6092         [C99-based standards] (INT_FAST8_MAX): Likewise.
6093         [C99-based standards] (INT_FAST16_MIN): Likewise.
6094         [C99-based standards] (INT_FAST16_MAX): Likewise.
6095         [C99-based standards] (INT_FAST32_MIN): Likewise.
6096         [C99-based standards] (INT_FAST32_MAX): Likewise.
6097         [C99-based standards] (INT_FAST64_MIN): Likewise.
6098         [C99-based standards] (INT_FAST64_MAX): Likewise.
6099         [C99-based standards] (UINT_FAST8_MAX): Likewise.
6100         [C99-based standards] (UINT_FAST16_MAX): Likewise.
6101         [C99-based standards] (UINT_FAST32_MAX): Likewise.
6102         [C99-based standards] (UINT_FAST64_MAX): Likewise.
6103         [C99-based standards] (INTPTR_MIN): Likewise.
6104         [C99-based standards] (INTPTR_MAX): Likewise.
6105         [C99-based standards] (UINTPTR_MAX): Likewise.
6106         [C99-based standards] (INTMAX_MIN): Likewise.
6107         [C99-based standards] (INTMAX_MAX): Likewise.
6108         [C99-based standards] (UINTMAX_MAX): Likewise.
6109         [C99-based standards] (PTRDIFF_MIN): Likewise.
6110         [C99-based standards] (PTRDIFF_MAX): Likewise.
6111         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6112         [C99-based standards] (SIZE_MAX): Likewise.
6113         [C99-based standards] (WCHAR_MAX): Likewise.
6114         [C99-based standards] (WINT_MAX): Likewise.
6115         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
6116         constraint on value.
6117         [C99-based standards] (WCHAR_MIN): Likewise.
6118         [C99-based standards] (WINT_MIN): Likewise.
6119         [C99-based standards] (*_t): Allow.
6120         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6121         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6122         Include math.h-data and complex.h-data.  Remove all expectations
6123         of math.h and complex.h contents.
6124         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6125         at end of line.
6126         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6127         (struct tm): Expect tag.
6128         [C99-based-standards] (wcstof): Expect function.
6129         [C99-based-standards] (wcstold): Likewise.
6130         [C99-based-standards] (wcstoll): Likewise.
6131         [C99-based-standards] (wcstoull): Likewise.
6132         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6133         macro-int-constant.  Specify type.
6134         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
6135         constraint on value.
6136         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6137         Specify type.
6138         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6139         Specify value.
6140         [ISO C standards]: Do not allow headers.
6141         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6142         wcs[abcdefghijklmnopqrstuvwxyz]*.
6143         [ISO C standards] (*_t): Do not allow.
6144         * conform/data/wctype.h-data [C99-based standards] (iswblank):
6145         Expect function.
6146         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6147         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6148         Specify type.
6149         [ISO C standards]: Do not allow headers.
6150         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6151         is[abcdefghijklmnopqrstuvwxyz]*.
6152         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6153         to[abcdefghijklmnopqrstuvwxyz]*.
6154         [ISO C standards] (*_t): Do not allow.
6155         * conform/data/stdalign.h-data: New file.
6156         * conform/data/stdbool.h-data: Likewise.
6157         * conform/data/stdnoreturn.h-data: Likewise.
6159 2012-11-07  Roland McGrath  <roland@hack.frob.com>
6161         [BZ #14815]
6162         * manual/filesys.texi (Directory Entries): Typo fix.
6163         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6165 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6167         * elf/elf.h (EM_AARCH64): New macro.
6168         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6169         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6170         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6171         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6172         (R_AARCH64_TLSDESC): Likewise.
6173         (NT_ARM_TLS): Likewise.
6174         (NT_ARM_HW_BREAK): Likewise.
6175         (NT_ARM_HW_WATCH): Likewise.
6177 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6179         [BZ #14811]
6180         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6181         (__ieee754_powl): Saturate nonzero exponents with absolute value
6182         below 0x1p-79 to +/- 0x1p-79.
6183         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6184         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6185         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6186         nonzero exponents with absolute value below 0x1p-32 to +/-
6187         0x1p-32.
6188         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6189         (__ieee754_powl): Saturate nonzero exponents with absolute value
6190         below 0x1p-79 to +/- 0x1p-79.
6191         * math/libm-test.inc (pow_test): Add more tests.
6193 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6195         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6196         _dl_s390_cap_flags with kernel. Increase string length.
6197         (_dl_s390_platforms): Add z196 and zEC12.
6199 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
6201         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6202         Change XOPEN21K to XOPEN2K.
6204 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
6206         * string/memmove.c: Use memcpy when possible.
6208 2012-11-06  Andreas Jaeger  <aj@suse.de>
6210         * po/eo.po: Update from translation team.
6212 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
6214         [BZ #14793]
6215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6216         exponent and small x and y exponents, scale x or y up.  Increase
6217         by 2 the exponent used in scaling up.
6218         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6219         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6220         * math/libm-test.inc (fma_test): Add more tests.
6221         (fma_test_towardzero): Likewise.
6222         (fma_test_downward): Likewise.
6223         (fma_test_upward): Likewise.
6225 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
6227         [BZ #14805]
6228         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6229         fenv_t *.
6231         [BZ #14801]
6232         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6233         namespace for names of struct fields.
6234         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6235         fenv_t fields.
6236         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6237         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6239 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6241         [BZ #3665]
6242         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6244 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6246         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6247         PTR_DEMANGLE.
6249         [BZ #5246]
6250         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6251         PTR_DEMANGLE.
6253 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
6255         [BZ #14797]
6256         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6257         definitely overflow as x * y not x * y + z.
6258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6259         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6260         * math/libm-test.inc (fma_test): Add more tests.
6261         (fma_test_towardzero): Likewise.
6262         (fma_test_downward): Likewise.
6263         (fma_test_upward): Likewise.
6265 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
6267         [BZ #157]
6269         * include/stub-tag.h: Remove file.
6270         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6271         '#include' of it.
6272         * manual/maint.texi (Porting): Don't reference it.
6273         * Makerules ($(objpfx)stubs): Likewise.
6274         * dirent/closedir.c: Don't include <stub-tag.h>.
6275         * dirent/dirfd.c: Likewise.
6276         * dirent/fdopendir.c: Likewise.
6277         * dirent/getdents.c: Likewise.
6278         * dirent/getdents64.c: Likewise.
6279         * dirent/opendir.c: Likewise.
6280         * dirent/readdir.c: Likewise.
6281         * dirent/readdir64.c: Likewise.
6282         * dirent/readdir64_r.c: Likewise.
6283         * dirent/readdir_r.c: Likewise.
6284         * dirent/rewinddir.c: Likewise.
6285         * dirent/seekdir.c: Likewise.
6286         * dirent/telldir.c: Likewise.
6287         * gmon/profil.c: Likewise.
6288         * grp/setgroups.c: Likewise.
6289         * inet/if_index.c: Likewise.
6290         * io/access.c: Likewise.
6291         * io/chdir.c: Likewise.
6292         * io/chmod.c: Likewise.
6293         * io/chown.c: Likewise.
6294         * io/close.c: Likewise.
6295         * io/dup.c: Likewise.
6296         * io/dup2.c: Likewise.
6297         * io/dup3.c: Likewise.
6298         * io/euidaccess.c: Likewise.
6299         * io/faccessat.c: Likewise.
6300         * io/fchdir.c: Likewise.
6301         * io/fchmod.c: Likewise.
6302         * io/fchmodat.c: Likewise.
6303         * io/fchown.c: Likewise.
6304         * io/fchownat.c: Likewise.
6305         * io/fcntl.c: Likewise.
6306         * io/flock.c: Likewise.
6307         * io/fstatfs.c: Likewise.
6308         * io/fstatfs64.c: Likewise.
6309         * io/fstatvfs.c: Likewise.
6310         * io/fstatvfs64.c: Likewise.
6311         * io/futimens.c: Likewise.
6312         * io/fxstat.c: Likewise.
6313         * io/fxstat64.c: Likewise.
6314         * io/fxstatat.c: Likewise.
6315         * io/fxstatat64.c: Likewise.
6316         * io/getcwd.c: Likewise.
6317         * io/isatty.c: Likewise.
6318         * io/lchmod.c: Likewise.
6319         * io/lchown.c: Likewise.
6320         * io/link.c: Likewise.
6321         * io/linkat.c: Likewise.
6322         * io/lseek.c: Likewise.
6323         * io/lseek64.c: Likewise.
6324         * io/lxstat64.c: Likewise.
6325         * io/mkdir.c: Likewise.
6326         * io/mkdirat.c: Likewise.
6327         * io/mkfifo.c: Likewise.
6328         * io/mkfifoat.c: Likewise.
6329         * io/open.c: Likewise.
6330         * io/open64.c: Likewise.
6331         * io/openat.c: Likewise.
6332         * io/openat64.c: Likewise.
6333         * io/pipe.c: Likewise.
6334         * io/pipe2.c: Likewise.
6335         * io/poll.c: Likewise.
6336         * io/posix_fadvise.c: Likewise.
6337         * io/posix_fadvise64.c: Likewise.
6338         * io/posix_fallocate.c: Likewise.
6339         * io/posix_fallocate64.c: Likewise.
6340         * io/read.c: Likewise.
6341         * io/readlink.c: Likewise.
6342         * io/readlinkat.c: Likewise.
6343         * io/rmdir.c: Likewise.
6344         * io/sendfile.c: Likewise.
6345         * io/sendfile64.c: Likewise.
6346         * io/statfs.c: Likewise.
6347         * io/statfs64.c: Likewise.
6348         * io/statvfs.c: Likewise.
6349         * io/statvfs64.c: Likewise.
6350         * io/symlink.c: Likewise.
6351         * io/symlinkat.c: Likewise.
6352         * io/ttyname.c: Likewise.
6353         * io/ttyname_r.c: Likewise.
6354         * io/umask.c: Likewise.
6355         * io/unlink.c: Likewise.
6356         * io/unlinkat.c: Likewise.
6357         * io/utime.c: Likewise.
6358         * io/utimensat.c: Likewise.
6359         * io/write.c: Likewise.
6360         * io/xmknod.c: Likewise.
6361         * io/xmknodat.c: Likewise.
6362         * io/xstat.c: Likewise.
6363         * io/xstat64.c: Likewise.
6364         * login/getpt.c: Likewise.
6365         * login/grantpt.c: Likewise.
6366         * login/unlockpt.c: Likewise.
6367         * math/e_acoshl.c: Likewise.
6368         * math/e_acosl.c: Likewise.
6369         * math/e_asinl.c: Likewise.
6370         * math/e_atan2l.c: Likewise.
6371         * math/e_atanhl.c: Likewise.
6372         * math/e_coshl.c: Likewise.
6373         * math/e_expl.c: Likewise.
6374         * math/e_fmodl.c: Likewise.
6375         * math/e_gammal_r.c: Likewise.
6376         * math/e_hypotl.c: Likewise.
6377         * math/e_j0l.c: Likewise.
6378         * math/e_j1l.c: Likewise.
6379         * math/e_jnl.c: Likewise.
6380         * math/e_lgammal_r.c: Likewise.
6381         * math/e_log10l.c: Likewise.
6382         * math/e_log2l.c: Likewise.
6383         * math/e_logl.c: Likewise.
6384         * math/e_powl.c: Likewise.
6385         * math/e_rem_pio2l.c: Likewise.
6386         * math/e_sinhl.c: Likewise.
6387         * math/e_sqrtl.c: Likewise.
6388         * math/fclrexcpt.c: Likewise.
6389         * math/fedisblxcpt.c: Likewise.
6390         * math/feenablxcpt.c: Likewise.
6391         * math/fegetenv.c: Likewise.
6392         * math/fegetexcept.c: Likewise.
6393         * math/fegetround.c: Likewise.
6394         * math/feholdexcpt.c: Likewise.
6395         * math/fesetenv.c: Likewise.
6396         * math/fesetround.c: Likewise.
6397         * math/feupdateenv.c: Likewise.
6398         * math/fgetexcptflg.c: Likewise.
6399         * math/fraiseexcpt.c: Likewise.
6400         * math/fsetexcptflg.c: Likewise.
6401         * math/ftestexcept.c: Likewise.
6402         * math/k_cosl.c: Likewise.
6403         * math/k_rem_pio2l.c: Likewise.
6404         * math/k_sinl.c: Likewise.
6405         * math/k_tanl.c: Likewise.
6406         * math/s_asinhl.c: Likewise.
6407         * math/s_atanl.c: Likewise.
6408         * math/s_cbrtl.c: Likewise.
6409         * math/s_erfl.c: Likewise.
6410         * math/s_expm1l.c: Likewise.
6411         * math/s_log1pl.c: Likewise.
6412         * math/s_tanhl.c: Likewise.
6413         * misc/acct.c: Likewise.
6414         * misc/brk.c: Likewise.
6415         * misc/chflags.c: Likewise.
6416         * misc/chroot.c: Likewise.
6417         * misc/fchflags.c: Likewise.
6418         * misc/fgetxattr.c: Likewise.
6419         * misc/flistxattr.c: Likewise.
6420         * misc/fremovexattr.c: Likewise.
6421         * misc/fsetxattr.c: Likewise.
6422         * misc/fsync.c: Likewise.
6423         * misc/ftruncate.c: Likewise.
6424         * misc/futimes.c: Likewise.
6425         * misc/futimesat.c: Likewise.
6426         * misc/getdomain.c: Likewise.
6427         * misc/getdtsz.c: Likewise.
6428         * misc/gethostid.c: Likewise.
6429         * misc/gethostname.c: Likewise.
6430         * misc/getloadavg.c: Likewise.
6431         * misc/getpagesize.c: Likewise.
6432         * misc/getsysstats.c: Likewise.
6433         * misc/getxattr.c: Likewise.
6434         * misc/gtty.c: Likewise.
6435         * misc/ioctl.c: Likewise.
6436         * misc/lgetxattr.c: Likewise.
6437         * misc/listxattr.c: Likewise.
6438         * misc/llistxattr.c: Likewise.
6439         * misc/lremovexattr.c: Likewise.
6440         * misc/lsetxattr.c: Likewise.
6441         * misc/lutimes.c: Likewise.
6442         * misc/madvise.c: Likewise.
6443         * misc/mincore.c: Likewise.
6444         * misc/mlock.c: Likewise.
6445         * misc/mlockall.c: Likewise.
6446         * misc/mmap.c: Likewise.
6447         * misc/mprotect.c: Likewise.
6448         * misc/msync.c: Likewise.
6449         * misc/munlock.c: Likewise.
6450         * misc/munlockall.c: Likewise.
6451         * misc/munmap.c: Likewise.
6452         * misc/preadv.c: Likewise.
6453         * misc/preadv64.c: Likewise.
6454         * misc/ptrace.c: Likewise.
6455         * misc/pwritev.c: Likewise.
6456         * misc/pwritev64.c: Likewise.
6457         * misc/readv.c: Likewise.
6458         * misc/reboot.c: Likewise.
6459         * misc/remap_file_pages.c: Likewise.
6460         * misc/removexattr.c: Likewise.
6461         * misc/revoke.c: Likewise.
6462         * misc/select.c: Likewise.
6463         * misc/setdomain.c: Likewise.
6464         * misc/setegid.c: Likewise.
6465         * misc/seteuid.c: Likewise.
6466         * misc/sethostid.c: Likewise.
6467         * misc/sethostname.c: Likewise.
6468         * misc/setregid.c: Likewise.
6469         * misc/setreuid.c: Likewise.
6470         * misc/setxattr.c: Likewise.
6471         * misc/sstk.c: Likewise.
6472         * misc/stty.c: Likewise.
6473         * misc/swapoff.c: Likewise.
6474         * misc/swapon.c: Likewise.
6475         * misc/sync.c: Likewise.
6476         * misc/syncfs.c: Likewise.
6477         * misc/syscall.c: Likewise.
6478         * misc/truncate.c: Likewise.
6479         * misc/ualarm.c: Likewise.
6480         * misc/usleep.c: Likewise.
6481         * misc/ustat.c: Likewise.
6482         * misc/utimes.c: Likewise.
6483         * misc/vhangup.c: Likewise.
6484         * misc/writev.c: Likewise.
6485         * posix/_exit.c: Likewise.
6486         * posix/alarm.c: Likewise.
6487         * posix/execve.c: Likewise.
6488         * posix/fexecve.c: Likewise.
6489         * posix/fork.c: Likewise.
6490         * posix/fpathconf.c: Likewise.
6491         * posix/getaddrinfo.c: Likewise.
6492         * posix/getegid.c: Likewise.
6493         * posix/geteuid.c: Likewise.
6494         * posix/getgid.c: Likewise.
6495         * posix/getgroups.c: Likewise.
6496         * posix/getlogin.c: Likewise.
6497         * posix/getlogin_r.c: Likewise.
6498         * posix/getpgid.c: Likewise.
6499         * posix/getpid.c: Likewise.
6500         * posix/getppid.c: Likewise.
6501         * posix/getresgid.c: Likewise.
6502         * posix/getresuid.c: Likewise.
6503         * posix/getsid.c: Likewise.
6504         * posix/getuid.c: Likewise.
6505         * posix/glob64.c: Likewise.
6506         * posix/nanosleep.c: Likewise.
6507         * posix/pathconf.c: Likewise.
6508         * posix/pause.c: Likewise.
6509         * posix/posix_madvise.c: Likewise.
6510         * posix/pread.c: Likewise.
6511         * posix/pread64.c: Likewise.
6512         * posix/pwrite.c: Likewise.
6513         * posix/pwrite64.c: Likewise.
6514         * posix/sched_getaffinity.c: Likewise.
6515         * posix/sched_getp.c: Likewise.
6516         * posix/sched_gets.c: Likewise.
6517         * posix/sched_primax.c: Likewise.
6518         * posix/sched_primin.c: Likewise.
6519         * posix/sched_rr_gi.c: Likewise.
6520         * posix/sched_setaffinity.c: Likewise.
6521         * posix/sched_setp.c: Likewise.
6522         * posix/sched_sets.c: Likewise.
6523         * posix/sched_yield.c: Likewise.
6524         * posix/setgid.c: Likewise.
6525         * posix/setlogin.c: Likewise.
6526         * posix/setpgid.c: Likewise.
6527         * posix/setresgid.c: Likewise.
6528         * posix/setresuid.c: Likewise.
6529         * posix/setsid.c: Likewise.
6530         * posix/setuid.c: Likewise.
6531         * posix/sleep.c: Likewise.
6532         * posix/spawni.c: Likewise.
6533         * posix/sysconf.c: Likewise.
6534         * posix/times.c: Likewise.
6535         * posix/wait.c: Likewise.
6536         * posix/wait3.c: Likewise.
6537         * posix/wait4.c: Likewise.
6538         * posix/waitpid.c: Likewise.
6539         * resolv/gai_sigqueue.c: Likewise.
6540         * resource/getpriority.c: Likewise.
6541         * resource/getrlimit.c: Likewise.
6542         * resource/getrusage.c: Likewise.
6543         * resource/nice.c: Likewise.
6544         * resource/setpriority.c: Likewise.
6545         * resource/setrlimit.c: Likewise.
6546         * resource/ulimit.c: Likewise.
6547         * rt/aio_cancel.c: Likewise.
6548         * rt/aio_fsync.c: Likewise.
6549         * rt/aio_read.c: Likewise.
6550         * rt/aio_sigqueue.c: Likewise.
6551         * rt/aio_suspend.c: Likewise.
6552         * rt/aio_write.c: Likewise.
6553         * rt/clock_getres.c: Likewise.
6554         * rt/clock_gettime.c: Likewise.
6555         * rt/clock_nanosleep.c: Likewise.
6556         * rt/clock_settime.c: Likewise.
6557         * rt/lio_listio.c: Likewise.
6558         * rt/mq_close.c: Likewise.
6559         * rt/mq_getattr.c: Likewise.
6560         * rt/mq_notify.c: Likewise.
6561         * rt/mq_open.c: Likewise.
6562         * rt/mq_receive.c: Likewise.
6563         * rt/mq_send.c: Likewise.
6564         * rt/mq_setattr.c: Likewise.
6565         * rt/mq_timedreceive.c: Likewise.
6566         * rt/mq_timedsend.c: Likewise.
6567         * rt/mq_unlink.c: Likewise.
6568         * rt/shm_open.c: Likewise.
6569         * rt/shm_unlink.c: Likewise.
6570         * rt/timer_create.c: Likewise.
6571         * rt/timer_delete.c: Likewise.
6572         * rt/timer_getoverr.c: Likewise.
6573         * rt/timer_gettime.c: Likewise.
6574         * rt/timer_settime.c: Likewise.
6575         * setjmp/__longjmp.c: Likewise.
6576         * setjmp/setjmp.c: Likewise.
6577         * signal/kill.c: Likewise.
6578         * signal/killpg.c: Likewise.
6579         * signal/raise.c: Likewise.
6580         * signal/sigaction.c: Likewise.
6581         * signal/sigaltstack.c: Likewise.
6582         * signal/sigblock.c: Likewise.
6583         * signal/sigignore.c: Likewise.
6584         * signal/sigintr.c: Likewise.
6585         * signal/signal.c: Likewise.
6586         * signal/sigpause.c: Likewise.
6587         * signal/sigpending.c: Likewise.
6588         * signal/sigqueue.c: Likewise.
6589         * signal/sigreturn.c: Likewise.
6590         * signal/sigset.c: Likewise.
6591         * signal/sigsetmask.c: Likewise.
6592         * signal/sigstack.c: Likewise.
6593         * signal/sigsuspend.c: Likewise.
6594         * signal/sigtimedwait.c: Likewise.
6595         * signal/sigvec.c: Likewise.
6596         * signal/sigwait.c: Likewise.
6597         * signal/sigwaitinfo.c: Likewise.
6598         * signal/sysv_signal.c: Likewise.
6599         * socket/accept.c: Likewise.
6600         * socket/accept4.c: Likewise.
6601         * socket/bind.c: Likewise.
6602         * socket/connect.c: Likewise.
6603         * socket/getpeername.c: Likewise.
6604         * socket/getsockname.c: Likewise.
6605         * socket/getsockopt.c: Likewise.
6606         * socket/isfdtype.c: Likewise.
6607         * socket/listen.c: Likewise.
6608         * socket/recv.c: Likewise.
6609         * socket/recvfrom.c: Likewise.
6610         * socket/recvmsg.c: Likewise.
6611         * socket/send.c: Likewise.
6612         * socket/sendmsg.c: Likewise.
6613         * socket/sendto.c: Likewise.
6614         * socket/setsockopt.c: Likewise.
6615         * socket/shutdown.c: Likewise.
6616         * socket/sockatmark.c: Likewise.
6617         * socket/socket.c: Likewise.
6618         * socket/socketpair.c: Likewise.
6619         * stdio-common/ctermid.c: Likewise.
6620         * stdio-common/cuserid.c: Likewise.
6621         * stdio-common/remove.c: Likewise.
6622         * stdio-common/rename.c: Likewise.
6623         * stdio-common/renameat.c: Likewise.
6624         * stdio-common/tempname.c: Likewise.
6625         * stdlib/getcontext.c: Likewise.
6626         * stdlib/makecontext.c: Likewise.
6627         * stdlib/setcontext.c: Likewise.
6628         * stdlib/swapcontext.c: Likewise.
6629         * stdlib/system.c: Likewise.
6630         * streams/fattach.c: Likewise.
6631         * streams/fdetach.c: Likewise.
6632         * streams/getmsg.c: Likewise.
6633         * streams/getpmsg.c: Likewise.
6634         * streams/putmsg.c: Likewise.
6635         * streams/putpmsg.c: Likewise.
6636         * sysdeps/unix/bsd/getpt.c: Likewise.
6637         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6638         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6639         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6641         Likewise.
6642         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6643         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6644         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6645         * sysvipc/msgctl.c: Likewise.
6646         * sysvipc/msgget.c: Likewise.
6647         * sysvipc/msgrcv.c: Likewise.
6648         * sysvipc/msgsnd.c: Likewise.
6649         * sysvipc/semctl.c: Likewise.
6650         * sysvipc/semget.c: Likewise.
6651         * sysvipc/semop.c: Likewise.
6652         * sysvipc/semtimedop.c: Likewise.
6653         * sysvipc/shmat.c: Likewise.
6654         * sysvipc/shmctl.c: Likewise.
6655         * sysvipc/shmdt.c: Likewise.
6656         * sysvipc/shmget.c: Likewise.
6657         * termios/tcdrain.c: Likewise.
6658         * termios/tcflow.c: Likewise.
6659         * termios/tcflush.c: Likewise.
6660         * termios/tcgetattr.c: Likewise.
6661         * termios/tcgetpgrp.c: Likewise.
6662         * termios/tcsendbrk.c: Likewise.
6663         * termios/tcsetattr.c: Likewise.
6664         * termios/tcsetpgrp.c: Likewise.
6665         * time/adjtime.c: Likewise.
6666         * time/clock.c: Likewise.
6667         * time/getitimer.c: Likewise.
6668         * time/gettimeofday.c: Likewise.
6669         * time/setitimer.c: Likewise.
6670         * time/settimeofday.c: Likewise.
6671         * time/stime.c: Likewise.
6672         * time/time.c: Likewise.
6674 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
6676         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6677         /usr/old/bin.
6679         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6680         instead of spaces.
6681         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6683 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
6685         [BZ #14796]
6686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6687         FE_TONEAREST before applying Dekker multiplication and Knuth
6688         addition.  Clear inexact exceptions and check for exact zero
6689         results afterwards.
6690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6691         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6692         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6693         * math/libm-test.inc (fma_test): Add more tests.
6694         (fma_test_towardzero): Likewise.
6695         (fma_test_downward): Likewise.
6696         (fma_test_upward): Likewise.
6697         * sysdeps/generic/math_private.h (default_libc_fesetround): New
6698         function.
6699         (libc_fesetround): New macro.
6700         (libc_fesetroundf): Likewise.
6701         (libc_fesetroundl): Likewise.
6702         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6703         function.
6704         (libc_fesetround_387): Likewise.
6705         (libc_fesetroundf): New macro.
6706         (libc_fesetround): Likewise.
6707         (libc_fesetroundl): Likewise.
6708         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6709         function.
6710         (libc_fesetroundf): New macro.
6711         (libc_fesetround): Likewise.
6712         (libc_fesetroundl): Likewise.
6713         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6714         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6715         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6716         libm_hidden_ver.
6717         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6718         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6719         libm_hidden_def.
6720         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6721         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6722         libm_hidden_ver.
6723         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6724         libm_hidden_def.
6726         [BZ #3439]
6727         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6728         integer constant usable in #if and use that to give value to enum
6729         constant.
6730         (FE_DIVBYZERO): Likewise.
6731         (FE_UNDERFLOW): Likewise.
6732         (FE_OVERFLOW): Likewise.
6733         (FE_INVALID): Likewise.
6734         (FE_INVALID_SNAN): Likewise.
6735         (FE_INVALID_ISI): Likewise.
6736         (FE_INVALID_IDI): Likewise.
6737         (FE_INVALID_ZDZ): Likewise.
6738         (FE_INVALID_IMZ): Likewise.
6739         (FE_INVALID_COMPARE): Likewise.
6740         (FE_INVALID_SOFTWARE): Likewise.
6741         (FE_INVALID_SQRT): Likewise.
6742         (FE_INVALID_INTEGER_CONVERSION): Likewise.
6743         (FE_TONEAREST): Likewise.
6744         (FE_TOWARDZERO): Likewise.
6745         (FE_UPWARD): Likewise.
6746         (FE_DOWNWARD): Likewise.
6747         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6748         (FE_DIVBYZERO): Likewise.
6749         (FE_OVERFLOW): Likewise.
6750         (FE_UNDERFLOW): Likewise.
6751         (FE_INEXACT): Likewise.
6752         (FE_TONEAREST): Likewise.
6753         (FE_DOWNWARD): Likewise.
6754         (FE_UPWARD): Likewise.
6755         (FE_TOWARDZERO): Likewise.
6756         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6757         (FE_UNDERFLOW): Likewise.
6758         (FE_OVERFLOW): Likewise.
6759         (FE_DIVBYZERO): Likewise.
6760         (FE_INVALID): Likewise.
6761         (FE_TONEAREST): Likewise.
6762         (FE_TOWARDZERO): Likewise.
6763         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6764         (FE_OVERFLOW): Likewise.
6765         (FE_UNDERFLOW): Likewise.
6766         (FE_DIVBYZERO): Likewise.
6767         (FE_INEXACT): Likewise.
6768         (FE_TONEAREST): Likewise.
6769         (FE_TOWARDZERO): Likewise.
6770         (FE_UPWARD): Likewise.
6771         (FE_DOWNWARD): Likewise.
6772         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6773         (FE_DIVBYZERO): Likewise.
6774         (FE_OVERFLOW): Likewise.
6775         (FE_UNDERFLOW): Likewise.
6776         (FE_INEXACT): Likewise.
6777         (FE_TONEAREST): Likewise.
6778         (FE_DOWNWARD): Likewise.
6779         (FE_UPWARD): Likewise.
6780         (FE_TOWARDZERO): Likewise.
6782 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
6784         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6786 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
6788         * scripts/cross-test-ssh.sh (command): Use newlines to separate
6789         commands.  Quote $PWD.
6790         (blacklist_exports): Don't use remove_newlines.  Replace "declare
6791         -x" by "export".
6792         (remove_newlines): Remove.
6794 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6796         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6797         * stdlib/stdlib.h (atof): Moved to ...
6798         * include/bits/stdlib-float.h: Here.  New file.
6799         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6800         * stdlib/bits/stdlib-float.h: New file.
6801         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6802         -mno-sse -mno-mmx.
6803         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6804         <xmmintrin.h>.
6806 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6808         * conform/conformtest.pl (@headers): Add fenv.h.
6809         * conform/data/fenv.h-data: New file.
6810         * include/fenv.h [_ISOMAC]: Disable all contents of file except
6811         include of <math/fenv.h>.
6813         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6814         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6815         && !UNIX98].  Enables tests for XOPEN2K8.
6816         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6817         POSIX2008]: Likewise.
6819         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6820         (struct rusage): Do not expect type or its members.
6822         [BZ #3439]
6823         * math/math.h (FP_NAN): Define macro to integer constant usable in
6824         #if and use that to give value to enum constant.
6825         (FP_INFINITE): Likewise.
6826         (FP_ZERO): Likewise.
6827         (FP_SUBNORMAL): Likewise.
6828         (FP_NORMAL): Likewise.
6830 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
6832         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6833         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6834         arguments.
6836 2012-11-02  Roland McGrath  <roland@hack.frob.com>
6838         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6839         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6840         autoconf-time if not.
6841         * configure.in: Remove AC_PREREQ.
6843 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6845         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6846         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6847         of the internal implementation.
6849 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
6851         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6852         except include of <misc/sys/syslog.h>.
6854 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6857         function returns with a NULL context exit with zero.
6859 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6861         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6863 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
6865         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6866         (run_program_cmd): This.
6867         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6868         (tst_langinfo): New variable.  Use it.
6870 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
6872         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6873         floating point opcodes.
6875 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6877         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6878         variable.
6880         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6882         * sysdeps/mach/hurd/powerpc: Remove directory.
6883         * sysdeps/mach/powerpc: Likewise.
6885 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
6887         * scripts/check-local-headers.sh: Ignore c++ headers.
6889 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6891         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6892         __libc_cleanup_region_start argument.
6894 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
6896         [BZ #14784]
6897         [BZ #14785]
6898         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6899         x * y using scaling, not as x * y + z.
6900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6902         * math/libm-test.inc (fma_test): Add more tests.
6903         (fma_test_towardzero): Likewise.
6904         (fma_test_downward): Likewise.
6905         (fma_test_upward): Likewise.
6907 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
6909         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6911 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6913         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6914         New variable.
6916 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
6918         * rt/tst-shm.c (worker): Correct checking for mmap failure.
6920 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6923         Fix sort order.
6924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6925         Likewise.
6927 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6930         Fix the order of the list for glibc 2.17.
6931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6932         Likewise.
6934 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
6936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6938 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
6940         [BZ #14610]
6941         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6942         for low part of x being zero before using __atanl (y).
6943         * math/libm-test.inc (atan2_test): Add another test.
6945         * manual/install.texi (Configuring and compiling): Document
6946         general use of test-wrapper and test-wrapper-env.
6947         * INSTALL: Regenerated.
6949         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6950         (__fma): Do not extract and scale down low bits on after-rounding
6951         systems when result rounded to normal precision would have normal
6952         exponent.
6953         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6954         (__fmal): Do not extract and scale down low bits on after-rounding
6955         systems when result rounded to normal precision would have normal
6956         exponent.
6957         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6958         (__fmal): Do not extract and scale down low bits on after-rounding
6959         systems when result rounded to normal precision would have normal
6960         exponent.
6961         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6962         macro.
6963         (fma_test): Add more tests.
6964         (fma_test_towardzero): Likewise.
6965         (fma_test_downward): Likewise.
6966         (fma_test_upward): Likewise.
6968 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
6970         * sysdeps/i386/tininess.h: Renamed to ...
6971         * sysdeps/x86/tininess.h: This.
6972         * sysdeps/x86_64/tininess.h: Removed.
6974 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
6976         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6977         input.  Use $(build-program-cmd).
6978         ($(objpfx)tst-array1-static.out): Likewise.
6979         ($(objpfx)tst-array2.out): Likewise.
6980         ($(objpfx)tst-array3.out): Likewise.
6981         ($(objpfx)tst-array4.out): Likewise.
6982         ($(objpfx)tst-array5.out): Likewise.
6983         ($(objpfx)tst-array5-static.out): Likewise.
6985 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
6987         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6988         if defined.
6990         * nss/nsswitch.h (nss_interface_function): Provide new
6991         macro for use with NSS functions.
6992         * grp/initgroups.c: Use new macro.
6993         * nss/getXXbyYY.c: Likewise.
6994         * nss/getXXbyYY_r.c: Likewise.
6995         * nss/getXXent.c: Likewise.
6996         * nss/getXXent_r.c: Likewise.
6997         * sysdeps/posix/getaddrinfo.c: Likewise.
6999 2012-10-30  Andreas Jaeger  <aj@suse.de>
7001         * po/ru.po: Update Russion translation from translation project.
7003 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
7005         [BZ #14152]
7006         [BZ #14783]
7007         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7008         result and shift together with sticky bit instead of replicating
7009         round-to-nearest rounding.
7010         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7011         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7012         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
7013         missing underflow exceptions.
7014         (fma_test_towardzero): Add more tests.
7015         (fma_test_downward): Likewise.
7016         (fma_test_upward): Likewise.
7018         [BZ #14047]
7019         * sysdeps/generic/tininess.h: New file.
7020         * sysdeps/i386/tininess.h: Likewise.
7021         * sysdeps/sh/tininess.h: Likewise.
7022         * sysdeps/x86_64/tininess.h: Likewise.
7023         * stdlib/tst-strtod-underflow.c: Likewise.
7024         * stdlib/tst-tininess.c: Likewise.
7025         * stdlib/strtod_l.c: Include <tininess.h>.
7026         (round_and_return): Do not set errno for exact underflow cases.
7027         Force an underflow exception when setting errno for underflow.
7028         Determine underflow based on rounding to normal precision if
7029         TININESS_AFTER_ROUNDING.
7030         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7031         ERANGE for exact underflow cases.
7032         * stdlib/Makefile (tests): Add tst-tininess and
7033         tst-strtod-underflow.
7034         ($(objpfx)tst-tininess): Use $(link-libm).
7035         ($(objpfx)tst-strtod-underflow): Likewise.
7037 2012-10-30  Andreas Jaeger  <aj@suse.de>
7039         [BZ#14767]
7040         * elf/Makefile (tests): Remove conditional for have-initfini-array
7041         since this is now always required and the variable does not exist
7042         anymore.
7043         (tests-static): Likewise.
7044         (modules-names): Likewise.
7046         * po/eo.po: Add Esperanto translation from translation project.
7048         * elf/tst-array1.c (fini_array): Make writeable so that it can be
7049         merged with constructor/destructor.
7050         (init_array): Likewise.
7051         * elf/tst-array2dep.c (fini_array): Likewise.
7052         (init_array): Likewise.
7054 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
7056         * manual/message.texi: Delete @cartouche tags.
7058 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
7060         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7061         EOPNOTSUPP.
7062         * sysdeps/mach/hurd/fsync.c: Likewise.
7064         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7065         [_POSIX_REALTIME_SIGNALS]: Change condition to
7066         [_POSIX_REALTIME_SIGNALS > 0].
7068 2012-10-27  Andreas Jaeger  <aj@suse.de>
7070         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7071         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7072         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7073         [__WORDSIZE != 64]: Likewise.
7075 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
7077         *  iconvdata/tst-table.sh: Remove ${SHELL}.
7078         *  iconvdata/tst-tables.sh: Likewise.
7080 2012-10-25  David S. Miller  <davem@davemloft.net>
7082         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7083         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7084         of strtoull.
7086         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7087         ifunc-impl-list.c
7088         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7089         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7090         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7091         file.
7093 2012-10-25  Roland McGrath  <roland@hack.frob.com>
7095         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7096         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7097         __getdirentries.
7099 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7100             Jim Blandy  <jimb@codesourcery.com>
7102         * scripts/cross-test-ssh.sh: New file.
7103         * manual/install.texi (Configuring and compiling): Document use of
7104         cross-test-ssh.sh.
7105         * INSTALL: Regenerated.
7107 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
7109         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7110         EOPNOTSUPP.
7112 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
7114         * Makeconfig (run-program-prefix): Fix comment.
7116 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7117             Jim Blandy  <jimb@codesourcery.com>
7119         * Makeconfig (test-wrapper): New variable,
7120         (test-wrapper-env): Likewise.
7121         [$(cross-compiling) = yes && $(test-wrapper) != ""]
7122         (run-built-tests): Define to yes.
7123         (run-program-prefix): Use $(test-wrapper).
7124         (built-program-cmd): Likewise.
7125         * Rules (make-test-out): Use $(test-wrapper-env) and
7126         $(host-built-program-cmd).
7127         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7128         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7129         tst-pathopt.sh.
7130         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7131         $(test-wrapper-env) to tst-rtld-load-self.sh.
7132         ($(objpfx)order2.out): Use $(test-wrapper).
7133         ($(objpfx)tst-initorder.out): Likewise.
7134         ($(objpfx)tst-initorder2.out): Likewise.
7135         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7136         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7137         (test_wrapper_env): New variable.  Use it to run ld.so.
7138         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7139         Use it to run ld.so.
7140         (test_wrapper_env): Likewise.
7141         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7142         $(test-wrapper) to run-iconv-test.sh.
7143         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7144         (ICONV): Use $test_wrapper.
7145         * posix/Makefile ($(objpfx)globtest.out): Pass
7146         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7147         globtest.sh, not $(run-program-prefix).
7148         * posix/globtest.sh (run_via_rtld_prefix): New variable.
7149         (test_wrapper): Likewise.
7150         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
7151         set together with run_via_rtld_prefix.
7152         (run_program_prefix): Define in terms of test_wrapper and
7153         run_via_rtld_prefix.
7155 2012-10-24  Roland McGrath  <roland@hack.frob.com>
7157         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7158         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7159         Targets removed.
7161         [BZ #14743]
7162         * include/time.h: Remove librt_hidden_proto (clock_gettime).
7163         Declare __clock_getres, __clock_gettime, __clock_settime,
7164         __clock_nanosleep, and __clock_getcpuclockid.
7165         * rt/clock_gettime.c: Define __clock_gettime as an alias.
7166         Remove librt_hidden_def (clock_gettime).
7167         * sysdeps/unix/clock_gettime.c: Likewise.
7168         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7169         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7170         * rt/clock_getres.c: Define __clock_getres as an alias.
7171         * sysdeps/posix/clock_getres.c: Likewise.
7172         * rt/clock_settime.c: Define __clock_settime as an alias.
7173         * sysdeps/unix/clock_settime.c: Likewise.
7174         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7175         * sysdeps/unix/clock_nanosleep.c: Likewise.
7176         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7177         * rt/clock-compat.c: New file.
7178         * rt/Makefile (librt-routines): Add clock-compat and move
7179         $(clock-routines) to ...
7180         (routines): ... here, new variable.
7181         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7182         Don't add get_clockfreq here.
7183         * rt/Versions (libc: GLIBC_2.17): New version set.
7184         Add clock_* symbols here.
7185         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
7186         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7187         (GLIBC_2.17): Add clock_* symbols.
7188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7190         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7192         Likewise.
7193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7194         Likewise.
7195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7199         * NEWS: Mention the move.
7201         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7202         Use __open, __read, __close rather than their public counterparts.
7203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7204         (__get_clockfreq_via_cpuinfo): Likewise.
7205         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7206         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7208         * config.h.in (HAVE_IFUNC): New #undef.
7209         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7210         was successful.
7211         * configure: Regenerated.
7213 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7215         * configure.in: Move READELF check to start of file.
7216         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7217         libc_cv_asm_gnu_indirect_function in the process.
7218         * configure: Regenerated.
7220 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
7222         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7223         send the output to /dev/null.
7224         (libc_cv_cc_with_libunwind): Likewise.
7225         (libc_cv_as_noexecstack): Likewise.
7226         * configure: Regenerate.
7228 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
7230         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7232         * posix/globtest.sh (TMPDIR): Do not set.
7233         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7234         (testout): Likewise.
7236 2012-10-24  Andreas Jaeger  <aj@suse.de>
7238         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7239         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7240         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7241         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7242         posix_fadvise64, posix_fallocate64.
7244         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7245         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7246         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7247         Likewise.
7248         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7249         Likewise.
7250         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7252         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7253         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7254         <bits/fcntl-linux.h>.
7255         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7257         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7258         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7259         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7260         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7261         [__WORDSIZE != 64]: Likewise.
7263 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7265         * Makeconfig (run-built-tests): New variable.
7266         * Rules [$(cross-compiling) = yes]: Change condition to
7267         [$(run-built-tests) = no].
7268         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7269         to [$(run-built-tests) = yes].
7270         * elf/Makefile [$(cross-compiling) = no]: Likewise
7271         * grp/Makefile [$(cross-compiling) = no]: Likewise.
7272         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7273         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7274         * intl/Makefile [$(cross-compiling) = no]: Likewise.
7275         * io/Makefile [$(cross-compiling) = no]: Likewise.
7276         * libio/Makefile [$(cross-compiling) = no]: Likewise.
7277         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7278         * misc/Makefile [$(cross-compiling) = no]: Likewise.
7279         * posix/Makefile [$(cross-compiling) = no]: Likewise.
7280         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7281         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7282         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7283         * string/Makefile [$(cross-compiling) = no]: Likewise.
7285         * posix/Makefile ($(objpfx)globtest.out): Pass
7286         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7287         $(rtld-installed-name).
7288         * posix/globtest.sh (elf_objpfx): Remove variable.
7289         (rtld_installed_name): Likewise.
7290         (library_path): Likewise.
7291         (run_program_prefix): New variable.  Use for running globtest
7292         binary.
7294 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
7295             Joseph Myers  <joseph@codesourcery.com>
7297         * Makeconfig (host-built-program-cmd): New variable.
7298         * elf/Makefile (tst-stackguard1-ARGS): Use
7299         $(host-built-program-cmd).
7300         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7301         (tst-spawn-ARGS): Likewise.
7302         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7304 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
7305             Jim Blandy  <jimb@codesourcery.com>
7307         * Makeconfig (run-via-rtld-prefix): New variable.
7308         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7309         (built-program-cmd): Likewise.
7311 2012-10-22  Andreas Jaeger  <aj@suse.de>
7313         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7314         __O_RSYNC if it exists, otherwise to O_SYNC.
7316 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
7317             Joseph Myers  <joseph@codesourcery.com>
7319         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7320         /dev/null.
7321         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7322         from /dev/null
7323         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7324         /dev/null.
7326 2012-10-22  Andreas Jaeger  <aj@suse.de>
7328         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7329         Define always.
7330         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7332         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7333         bits/fcntl-linux.h.
7335         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7336         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7338         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7339         to __O_LARGEFILE.
7340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7341         to __O_LARGEFILE.
7343 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
7344             Joseph Myers  <joseph@codesourcery.com>
7346         * config.make.in (NM): New variable.
7348 2012-10-21  Andreas Jaeger  <aj@suse.de>
7350         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7351         definitions and declarations that are provided by
7352         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7354 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7356         [BZ #14683]
7357         * elf/Makefile (tests-static): Add tst-leaks1-static.
7358         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7359         ($(objpfx)tst-leaks1-static): New rule.
7360         ($(objpfx)tst-leaks1-static-mem): Likewise.
7361         (tst-leaks1-static-ENV): New macro.
7362         * elf/dl-open.c (dl_open_worker): Check the main application
7363         only if SHARED is defined.
7364         * elf/tst-leaks1-static.c: New file.
7366 2012-10-20  Andreas Jaeger  <aj@suse.de>
7368         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7369         generic values for Linux.
7370         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7371         and declarations that are provided by <bits/fcntl-linux.h> and
7372         include <bits/fcntl-linux.h>.
7373         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7374         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7376 2012-10-20  Roland McGrath  <roland@hack.frob.com>
7378         * io/fcntl.h: Move include of <bits/types.h> to the top and
7379         include it unconditionally.
7381 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
7383         * wcsmbs/Makefile (tests-ifunc): New variable.
7384         (tests): Add $(tests-ifunc).
7385         * wcsmbs/test-wcschr-ifunc.c: New file.
7386         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7387         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7388         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7389         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7390         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7392         * string/Makefile (tests-ifunc): New variable.
7393         (tests): Add $(tests-ifunc).
7394         * string/test-memccpy.c (TEST_NAME): New macro.
7395         * string/test-memchr.c (TEST_NAME): Likewise.
7396         * string/test-memcmp.c (TEST_NAME): Likewise.
7397         * string/test-memcpy.c (TEST_NAME): Likewise.
7398         * string/test-memmem.c (TEST_NAME): Likewise.
7399         * string/test-memmove.c (TEST_NAME): Likewise.
7400         * string/test-memset.c (TEST_NAME): Likewise.
7401         * string/test-rawmemchr.c (TEST_NAME): Likewise.
7402         * string/test-stpcpy.c (TEST_NAME): Likewise.
7403         * string/test-stpncpy.c (TEST_NAME): Likewise.
7404         * string/test-strcasecmp.c (TEST_NAME): Likewise.
7405         * string/test-strcasestr.c (TEST_NAME): Likewise.
7406         * string/test-strcat.c (TEST_NAME): Likewise.
7407         * string/test-strchr.c (TEST_NAME): Likewise.
7408         * string/test-strcmp.c(TEST_NAME): Likewise.
7409         * string/test-strcpy.c (TEST_NAME): Likewise.
7410         * string/test-strcspn.c (TEST_NAME): Likewise.
7411         * string/test-strlen.c (TEST_NAME): Likewise.
7412         * string/test-strncasecmp.c (TEST_NAME): Likewise.
7413         * string/test-strncmp.c (TEST_NAME): Likewise.
7414         * string/test-strncpy.c (TEST_NAME): Likewise.
7415         * string/test-strnlen.c (TEST_NAME): Likewise.
7416         * string/test-strpbrk.c (TEST_NAME): Likewise.
7417         * string/test-strrchr.c (TEST_NAME): Likewise.
7418         * string/test-strspn.c (TEST_NAME): Likewise.
7419         * string/test-strstr.c (TEST_NAME): Likewise.
7420         * string/test-bcopy-ifunc.c: New file.
7421         * string/test-bzero-ifunc.c: Likewise.
7422         * string/test-memccpy-ifunc.c: Likewise.
7423         * string/test-memchr-ifunc.c: Likewise.
7424         * string/test-memcmp-ifunc.c: Likewise.
7425         * string/test-memcpy-ifunc.c: Likewise.
7426         * string/test-memmem-ifunc.c: Likewise.
7427         * string/test-memmove-ifunc.c: Likewise.
7428         * string/test-mempcpy-ifunc.c: Likewise.
7429         * string/test-memset-ifunc.c: Likewise.
7430         * string/test-rawmemchr-ifunc.c: Likewise.
7431         * string/test-stpcpy-ifunc.c: Likewise.
7432         * string/test-stpncpy-ifunc.c: Likewise.
7433         * string/test-strcasecmp-ifunc.c: Likewise.
7434         * string/test-strcasestr-ifunc.c: Likewise.
7435         * string/test-strcat-ifunc.c: Likewise.
7436         * string/test-strchr-ifunc.c: Likewise.
7437         * string/test-strchrnul-ifunc.c: Likewise.
7438         * string/test-strcmp-ifunc.c: Likewise.
7439         * string/test-strcpy-ifunc.c: Likewise.
7440         * string/test-strcspn-ifunc.c: Likewise.
7441         * string/test-strlen-ifunc.c: Likewise.
7442         * string/test-strncasecmp-ifunc.c: Likewise.
7443         * string/test-strncat-ifunc.c: Likewise.
7444         * string/test-strncmp-ifunc.c: Likewise.
7445         * string/test-strncpy-ifunc.c: Likewise.
7446         * string/test-strnlen-ifunc.c: Likewise.
7447         * string/test-strpbrk-ifunc.c: Likewise.
7448         * string/test-strrchr-ifunc.c: Likewise.
7449         * string/test-strspn-ifunc.c: Likewise.
7450         * string/test-strstr-ifunc.c: Likewise.
7452         * debug/Makefile (tests-ifunc): New variable.
7453         (tests): Add $(tests-ifunc).
7454         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7455         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7456         * debug/test-stpcpy_chk-ifunc.c: New file.
7457         * debug/test-strcpy_chk-ifunc.c: Likewise.
7459 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7461         [BZ #13601]
7462         * elf/dl-load.c (open_verify): Retry read if the entire ELF
7463         header is not read in.
7465 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
7467         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
7468         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
7469         directly.  Pass built executable to script as
7470         $(built-program-cmd).
7471         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
7472         $testprogram without using LD_LIBRARY_PATH and $ldso.
7474         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7475         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7476         $(rtld-installed-name).
7477         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7478         (rtld_installed_name): Likewise.
7479         (library_path): Likewise.
7480         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
7481         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7482         $(run-program-prefix) to tst-tables.sh.
7483         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
7484         it to run tst-table-from and tst-table-to.
7485         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7486         Pass it to tst-table.sh.
7487         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7488         $(run-program-prefix) to tst-gettext.sh.
7489         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7490         tst-translit.sh.
7491         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7492         tst-gettext2.sh.
7493         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
7494         to run tst-gettext.
7495         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
7496         to run tst-gettext2.
7497         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
7498         to run tst-translit.
7499         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7500         $(run-program-prefix) to tst-mtrace.sh.
7501         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
7502         to run tst-mtrace.
7503         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7504         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7505         $(rtld-installed-name).
7506         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7507         (rtld_installed_name): Likewise.
7508         (run_program_prefix): New variable.  Use it to run wordexp-test.
7510         * Makeconfig (ARCH): Remove all definitions.
7511         (machine): Likewise.
7512         [ARCH]: Remove conditional code.
7513         [!objdir]: Give error.
7514         [!objdir] (objpfx): Remove.
7515         [!objdir] (common-objpfx): Likewise.
7516         [!objdir] (common-objdir): Likewise.
7517         * configure.in (config_makefile): Remove.  Hardcode Makefile in
7518         AC_CONFIG_FILES call.
7519         * configure: Regenerated.
7521         [BZ #13888]
7522         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7523         or TMPDIR.
7524         (testout): Likewise.
7526         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7527         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7528         $(rtld-installed-name).
7529         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7530         (rtld_installed_name): Likwise.
7531         (runit): Remove function.
7532         (run_getconf): New variable,  Use it for running getconf binary.
7534 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
7536         [BZ #14716]
7537         * string/test-memmem.c (check_result): New function.
7538         (do_one_test): Use it.
7539         (check1): New function.
7540         (test_main): Use it.
7542 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
7544         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7546 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
7548         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7549         (_G_LSEEK64): Likewise.
7550         (_G_MMAP64): Likewise.
7551         (_G_FSTAT64): Likewise.
7552         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7553         (_G_LSEEK64): Likewise.
7554         (_G_MMAP64): Likewise.
7555         (_G_FSTAT64): Likewise.
7556         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7557         unconditional.  Call __mmap64 directly.
7558         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7559         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
7560         __lseek64 directly.
7561         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7562         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
7563         __mmap64 directly.
7564         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7565         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7566         __lseek64 directly.
7567         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7568         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
7569         __lseek64 directly.
7570         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7571         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
7572         __lseek64 directly.
7573         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7574         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
7575         __fxstat64 directly.
7576         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7577         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7578         unconditional.
7579         (freopen64) [!_G_OPEN64]: Remove conditional code.
7580         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7581         unconditional.
7582         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7583         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7584         unconditional.
7585         (ftello64) [!_G_LSEEK64]: Remove conditional code.
7586         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7587         unconditional.
7588         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7589         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7590         unconditional.
7591         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7592         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7593         unconditional.
7594         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7595         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7596         unconditional.
7597         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7598         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7599         unconditional.
7600         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7602 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7604         [BZ #12140]
7605         * manual/memory.texi (Malloc Tunable Parameters): Add note
7606         about free list pointers overwriting some perturb bytes.
7607         Wording suggested by Roland McGrath.
7609 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
7611         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7612         (lgamma_test): Likewise.
7613         (tgamma_test): Likewise.
7615 2012-10-16  Florian Weimer  <fweimer@redhat.com>
7617         [BZ #14700]
7618         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7619         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7621 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
7623         * NEWS: Mention BZ #14716.
7624         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7625         when removing AVAILABLE1_USES_J macro.
7627 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7629         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7630         (__bswap_64): __uint64_t for unsigned 64-bit int.
7632 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
7634         * include/string.h (memmem): Declare libc hidden alias.
7635         * string/memmem.c (memmem): Define libc hidden alias.
7636         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7637         __read, __close instead of open, read, close.
7639 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
7641         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7642         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7643         global and hidden.
7644         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7645         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7646         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7647         Likewise.
7648         (__rawmemchr_sse2): Likewise.
7649         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7650         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7651         (__strchr_sse2): Likewise.
7652         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7653         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7654         (__strcasecmp_sse2): Likewise.
7655         (__strncasecmp_sse2): Likewise.
7656         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7657         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7658         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7659         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7660         (__strrchr_sse2): Likewise.
7661         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7662         ifunc-impl-list.c.
7663         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7664         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7665         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7666         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7667         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7668         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7669         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7670         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7671         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7672         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7673         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7674         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7675         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7676         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7677         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7678         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7679         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7680         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7681         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7682         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7683         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7684         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7685         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7686         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7687         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7688         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7689         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7690         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7691         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7692         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7694         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7695         global and hidden.
7696         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7697         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7698         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7699         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7700         Likewise.
7701         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7702         Likewise.
7703         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7704         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7705         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7706         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7707         ifunc-impl-list.c.
7708         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7709         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7710         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7711         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7712         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7713         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7714         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7715         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7716         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7717         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7718         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7719         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7720         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7721         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7722         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7723         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7724         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7725         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7726         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7727         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7728         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7729         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7730         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7731         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7732         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7733         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7734         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7735         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7736         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7737         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7738         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7739         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7740         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7741         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7742         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7743         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7744         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7745         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7746         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7747         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7748         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7750         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7751         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7752         * include/ifunc-impl-list.h: New file.
7753         * misc/ifunc-impl-list.c: Likewise.
7754         * misc/Makefile (routines): Add ifunc-impl-list.
7755         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7756         * string/test-string.h: Include <ifunc-impl-list.h>.
7757         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7758         impl_array): New variables.
7759         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7760         are defined.
7761         (test_init): Call __libc_ifunc_impl_list to initialize
7762         func_list if TEST_IFUNC and TEST_NAME are defined.
7764         * string/Makefile (strop-tests): Add bcopy and bzero.
7765         * string/test-bcopy.c: New file.
7766         * string/test-bzero.c: Likewise.
7767         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7768         defined.
7769         * string/test-memset.c: Support bzero test if TEST_BZERO is
7770         defined.
7771         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7772         __libc_memmove.
7773         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7774         __libc_memset.
7775         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7776         of memset.
7778 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
7780         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7781         * configure: Regenerated.
7783         * Makeconfig (+link-static-before-libc): Don't include
7784         $(link-static-libc).
7786         * libio/libio.h (_IO_pos_t): Remove.
7788 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7790         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
7791         McGrath.
7793 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7795         * crypt/crypt-entry.c: Include fips-private.h.
7796         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7797         * crypt/md5c-test.c (main): Tolerate disabled MD5.
7798         * sysdeps/unix/sysv/linux/fips-private.h: New file.
7799         * sysdeps/generic/fips-private.h: New file, dummy fallback.
7801 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
7803         * crypt/crypt-private.h: Include stdbool.h.
7804         (_ufc_setup_salt_r): Return bool.
7805         * crypt/crypt-entry.c: Include errno.h.
7806         (__crypt_r): Return NULL with EINVAL for bad salt.
7807         * crypt/crypt_util.c (bad_for_salt): New.
7808         (_ufc_setup_salt_r): Check that salt is long enough and within
7809         the specified alphabet.
7810         * crypt/badsalttest.c: New file.
7811         * crypt/Makefile (tests): Add it.
7812         ($(objpfx)badsalttest): New.
7814 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
7816         * NEWS: Add entry for BZ #14602.
7818 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7820         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7821         type-generic.
7822         * math/libm-test.inc: Update comment listing what functions and
7823         macros are tested.
7824         (isgreater_test): New function.
7825         (isgreaterequal_test): Likewise.
7826         (isless_test): Likewise.
7827         (islessequal_test): Likewise.
7828         (islessgreater_test): Likewise.
7829         (isunordered_test): Likewise.
7830         (main): Call the new functions.
7832 2012-10-09  Roland McGrath  <roland@hack.frob.com>
7834         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7835         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7836         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7837         * sysdeps/i386/configure: Regenerated.
7838         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7839         * sysdeps/mach/configure: Regenerated.
7840         * sysdeps/mach/hurd/configure: Regenerated.
7841         * sysdeps/powerpc/configure: Regenerated.
7842         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7843         * sysdeps/powerpc/powerpc64/configure: Regenerated.
7844         * sysdeps/s390/s390-32/configure: Regenerated.
7845         * sysdeps/s390/s390-64/configure: Regenerated.
7846         * sysdeps/sh/configure: Regenerated.
7847         * sysdeps/sparc/configure: Regenerated.
7848         * sysdeps/unix/sysv/linux/configure: Regenerated.
7849         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7850         * sysdeps/x86_64/configure: Regenerated.
7852         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7853         defined.  Don't check if MAP is NULL.
7855 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
7857         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7858         (_G_stat64): Likewise.
7859         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7860         (_G_stat64): Likewise.
7861         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7862         instead of struct _G_stat64.
7863         * libio/fileops.c (mmap_remap_check): Likewise.
7864         (decide_maybe_mmap): Likewise.
7865         (_IO_new_file_seekoff): Likewise.
7866         (_IO_file_stat): Likewise.
7867         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7868         _G_off64_t.
7869         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7870         instead of struct _G_stat64.
7871         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7873 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
7875         [BZ #14602]
7876         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7877         Replace with ...
7878         (CHECK_EOL): New macro.
7879         (two_way_short_needle): Check beginning of haystack for EOL.  Use
7880         CHECK_EOL.
7881         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7882         Replace with CHECK_EOL.
7883         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7884         Replace with CHECK_EOL.
7886 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
7888         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7889         type-generic.
7890         * math/libm-test.inc: Update comment listing what functions and
7891         macros are tested.
7892         (finite_test): New function.
7893         (isinf_test): Likewise.
7894         (isnan_test): Likewise.
7895         (fpclassify_test): Test subnormal input.
7896         (isfinite_test): Likewise.
7897         (isnormal_test): Likewise.
7898         (main): Call the new functions.
7900 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
7902         [BZ #14660]
7903         * Makerules (%.dynsym): Force C locale when running
7904         $(OBJDUMP) --dynamic-syms.
7906 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
7908         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7909         <stdint.h>.
7911 2012-10-06  David S. Miller  <davem@davemloft.net>
7913         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7914         upper 32-bits of the length value in %o2 since we use branch-on-register
7915         tests which consider the entire 64-bit register.
7917 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
7919         * string/test-strstr.c (check2): Add a test for page boundary.
7921 2012-10-05  David S. Miller  <davem@davemloft.net>
7923         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7924         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7925         file.
7926         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7927         sysdep_routines.
7928         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7929         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7930         and bzero when HWCAP_SPARC_CRYPTO is present.
7932 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
7934         [BZ #14602]
7935         * string/test-strstr.c (check2): New function.
7936         (test_main): Call check2.
7938         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7939         and bug-strchr1.
7940         * string/bug-strcasestr1.c (do_test): Moved to ...
7941         * string/test-strcasestr.c (check1): Here.  New function.
7942         (do_one_test): Break out result checking code into ...
7943         (check_result): This.  New function.
7944         (do_one_test): Call check_result.
7945         (test_main): Call check1.
7946         * string/bug-strchr1.c (do_test): Moved to ...
7947         * string/test-strchr.c (check1): Here.  New function.
7948         (do_one_test): Break out result checking code into ...
7949         (check_result): This.  New function.
7950         (do_one_test): Call check_result.
7951         (test_main): Call check1.
7952         * string/bug-strstr1.c (main): Moved to ...
7953         * string/test-strstr.c (check1): Here.  New function.
7954         (do_one_test): Break out result checking code into ...
7955         (check_result): This.  New function.
7956         (do_one_test): Call check_result.
7957         (test_main): Call check1.
7958         * string/bug-strcasestr1.c: Removed.
7959         * string/bug-strchr1.c: Likewise.
7960         * string/bug-strstr1.c: Likewise.
7962         * elf/Makefile (dl-routines): Add hwcaps.
7963         * elf/dl-support.c (_dl_important_hwcaps): Removed.
7964         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7965         (_dl_important_hwcaps): Moved to ...
7966         * elf/dl-hwcaps.c: Here.  New file.
7967         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7969         [BZ #14557]
7970         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7971         if IS_IN_rtld isn't defined.
7973         * elf/dl-support.c (_dl_sysinfo_map): New.
7974         Include "get-dynamic-info.h" and "setup-vdso.h".
7975         (_dl_non_dynamic_init): Call setup_vdso.
7976         * elf/dynamic-link.h: Don't include <assert.h>.
7977         (elf_get_dynamic_info): Moved to ...
7978         * elf/get-dynamic-info.h: Here.  New file.
7979         * elf/dynamic-link.h: Include "get-dynamic-info.h".
7980         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7981         * elf/setup-vdso.h: Here.  New file.
7982         * elf/rtld.c: Include "setup-vdso.h".
7983         (dl_main): Call setup_vdso.
7985 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
7987         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7988         creal in comment listing functions tested.  List finite, isinf,
7989         isnan, isless, islessequal, isgreater, isgreaterequal,
7990         islessgreater, isunordered, lgamma_r and pow10 as functions and
7991         macros not tested.  Mention which functions not tested are aliases
7992         for other functions.  Fix typo.  Note that signs of NaNs are not
7993         tested.
7995         * scripts/config.guess: Update from config.git.
7996         * scripts/config.sub: Likewise.
7998 2012-10-04  Roland McGrath  <roland@hack.frob.com>
8000         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8001         * misc/madvise.c (madvise): Renamed to __madvise.
8002         Make madvise a weak alias.
8003         * include/sys/mman.h: Declare __madvise.
8004         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8005         * sysdeps/unix/syscalls.list
8006         (madvise): Make __madvise the strong name, and madvise a weak alias.
8007         * sysdeps/unix/sysv/linux/syscalls.list
8008         (madvise, mmap): Remove redundant entries.
8009         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8010         * malloc/malloc.c (mtrim): Likewise.
8011         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8013 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8015         * sysdeps/mach/hurd/dl-cache.c: File removed.
8016         * config.h.in (USE_LDCONFIG): New #undef.
8017         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8018         * configure: Regenerated.
8019         * elf/Makefile (dl-routines): Add dl-cache only under
8020         [$(use-ldconfig) = yes].
8021         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8022         cache on [USE_LDCONFIG].
8023         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8024         [USE_LDCONFIG].
8025         * elf/rtld.c (dl_main): Likewise.
8027 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
8029         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8030         _SC_LEVEL4_CACHE_LINESIZE.
8032 2012-10-03  Roland McGrath  <roland@hack.frob.com>
8034         * sysdeps/unix/bsd/confstr.h: File removed.
8036 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
8038         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8039         sys/sdt-config.h.
8041 2012-10-02  Roland McGrath  <roland@hack.frob.com>
8043         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8044         Make 'mapoff' field ElfW(Off) rather than off_t.
8046 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
8048         * nscd/Makefile: Remove nscd-cflags and all its users.
8049         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8050         (CFLAGS-nonlib): Add compiler flags for nscd modules.
8052         [BZ #10631]
8053         * malloc.c (malloc_printerr): Clarify error message.
8055 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
8057         [BZ #14648]
8058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8059         Set bit_FMA_Usable if FMA is supported.
8060         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8061         macro.
8062         (bit_FMA4_Usable): Updated.
8063         (index_FMA_Usable): New macro.
8064         (CPUID_FMA): Likewise
8065         (HAS_FMA): Defined with bit_FMA_Usable.
8067 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8069         * bits/types.h (__swblk_t): Type removed.
8070         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8071         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8072         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8073         (__SWBLK_T_TYPE): Likewise.
8074         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8075         (__SWBLK_T_TYPE): Likewise.
8076         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8077         (__SWBLK_T_TYPE): Likewise.
8078         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8079         (__SWBLK_T_TYPE): Likewise.
8081 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
8082             Honza Horak <hhorak@redhat.com>
8084         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8085         (xdr_mapname): Use YPMAXMAP as maxsize.
8086         (xdr_peername): Use YPMAXPEER as maxsize.
8087         (xdr_keydat): Use YPAXRECORD as maxsize.
8088         (xdr_valdat): Use YPMAXRECORD as maxsize.
8090 2012-10-01  Roland McGrath  <roland@hack.frob.com>
8092         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8094         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8095         * csu/init-first.c: ... here.
8096         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8097         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8098         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8099         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8100         * sysdeps/i386/init-first.c: File removed.
8101         * sysdeps/sh/init-first.c: File removed.
8103 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
8105         [BZ #14645]
8106         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8107         if x * y might underflow to zero and z is zero.
8108         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8109         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8110         * math/libm-test.inc (min_subnorm_value): New variable.
8111         (fma_test): Add more tests.
8112         (fma_test_towardzero): Likewise.
8113         (fma_test_downward): Likewise
8114         (fma_test_upward): Likewise.
8115         (initialize): Set min_subnorm_value.
8117 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
8119         [BZ #14638]
8120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8121         0 + 0.
8122         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8123         mode for addition resulting in exact zero.
8124         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8125         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8126         exact 0 + 0.
8127         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8128         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8129         * math/libm-test.inc (fma_test): Add more tests.
8130         (fma_test_towardzero): New function.
8131         (fma_test_downward): Likewise.
8132         (fma_test_upward): Likewise.
8133         (main): Call the new functions.
8135 2012-09-28  David S. Miller  <davem@davemloft.net>
8137         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8139 2012-09-28  Roland McGrath  <roland@hack.frob.com>
8141         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8142         instead of SIGALRM.
8144         * sysdeps/gnu/_G_config.h: Moved to ...
8145         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8146         * sysdeps/mach/hurd/_G_config.h: Moved to ...
8147         * sysdeps/generic/_G_config.h: ... here.
8149         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
8151         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8153         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8154         Conditionalize target on [libnss_test1.so-version].
8156         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8158         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8159         (elfobjdir): Move out of conditionals.
8161         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8162         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8163         (__nss_lookup_function): Conditionalize label remove_from_tree on
8164         [!DO_STATIC_NSS || SHARED], matching its only use.
8166 2012-09-28  David S. Miller  <davem@davemloft.net>
8168         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8169         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8170         file.
8171         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8172         sysdep_routines.
8173         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8174         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8175         when HWCAP_SPARC_CRYPTO is present.
8177 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8179         * io/tst-mknodat.c: Create a FIFO instead of a socket.
8181 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
8183         [BZ #6530]
8184         * stdio-common/vfprintf.c (process_string_arg): Revert
8185         2000-07-22 change.
8187 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
8189         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8190         for testcase.
8191         * stdio-common/tst-sprintf.c: Include <locale.h>
8192         (main): Test sprintf's handling of incomplete multibyte
8193         characters.
8195 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
8197         * elf/dl-runtime.c (VERSYMIDX): Removed.
8198         * elf/dl-version.c (VERSYMIDX): Likewise.
8199         * elf/do-rel.h (VERSYMIDX): Likewise.
8200         (VALIDX): Likewise.
8201         * elf/dynamic-link.h (VERSYMIDX): Likewise.
8202         * elf/rtld.c (VALIDX): Likewise.
8203         (ADDRIDX): Likewise.
8204         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8205         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8206         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
8207         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8208         (VALIDX): Likewise.
8209         (ADDRIDX): Likewise.
8211 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8213         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8215 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
8217         [BZ #11438]
8218         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8219         to global scope.
8220         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8221         addresses are in the same scope as 192.0.2/24.
8222         * posix/gai.conf: Document new scope table defaults.
8224 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8226         [BZ #5298]
8227         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8228         for ftell.  Compute offsets from write pointers instead.
8229         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8231 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8233         [BZ #14543]
8234         * libio/Makefile (tests): New test case tst-fseek.
8235         * libio/tst-fseek.c: New test case to verify that fseek/ftell
8236         combination works in wide mode.
8237         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8238         state when the external buffer state changes.
8240 2012-09-27  David S. Miller  <davem@davemloft.net>
8242         [BZ #14376]
8243         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8244         pass reloc->r_addend in as the 'high' argument to
8245         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8249 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
8251         * rt/tst-aio2.c: Include <pthread.h>.
8252         * rt/tst-aio3.c: Likewise.
8254 2012-09-27  Steve Ellcey  <sellcey@mips.com>
8256         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8258 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
8260         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8261         contents on [SHARED].
8263 2012-09-26  Marek Polacek  <polacek@redhat.com>
8265         [BZ #14530]
8266         [BZ #13741]
8267         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8268         for C++ and GCC <4.3 as well as for non GCC compilers.
8270 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8272         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8274 2012-09-25  Roland McGrath  <roland@hack.frob.com>
8276         * Makefile.in (all, install): Declare with .PHONY.
8277         Reported by Michael Hope <michael.hope@linaro.org>.
8279 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8281         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8282         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8283         system header.
8284         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8285         Likewise.
8286         (sydep_routines): Add the new and the internal functions.
8287         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8288         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8290         (GLIBC_2.17): Add the new function.
8291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8292         (GLIBC_2.17): Likewise.
8293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8294         (GLIBC_2.17): Likewise.
8295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8296         (GLIBC_2.17): Likewise.
8297         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8299 2012-09-25  Alan Modra  <amodra@gmail.com>
8301         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8302         Add release barrier before setting once_control to say
8303         initialisation is done.  Add hints on lwarx.  Use macro in
8304         place of isync.
8305         (clear_once_control): Add release barrier.
8307 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8309         [BZ #13629]
8310         * math/s_clog.c (__clog): Handle more values close to |z| = 1
8311         specially.
8312         * math/s_clog10.c (__clog10): Likewise.
8313         * math/s_clog10f.c (__clog10f): Likewise.
8314         * math/s_clog10l.c (__clog10l): Likewise.
8315         * math/s_clogf.c (__clogf): Likewise.
8316         * math/s_clogl.c (__clogl): Likewise.
8317         * math/Makefile (libm-calls): Add x2y2m1.
8318         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8319         (__x2y2m1): Likewise.
8320         (__x2y2m1l): Likewise.
8321         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8322         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8323         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8324         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8325         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8326         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8327         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8328         * sysdeps/i386/fpu/libm-test-ulps: Update.
8329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8331         [BZ #14621]
8332         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8333         int as type of variable DEPTH.
8334         (glob): Use size_t instead of int as type of variables NEWCOUNT
8335         and OLD_PATHC.
8337 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8339         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8340         Add s_sincosf-sse2.
8341         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8342         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8343         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8344         macros for using routine as __sincosf_ia32.
8345         Use macro for function declaration and weak_alias.
8346         * sysdeps/i386/fpu/libm-test-ulps: Update.
8348         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8351         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
8352         subnormal argument.
8353         * math/s_cexpf.c (__cexpf): Likewise.
8354         * math/s_csinf.c (__csinf): Likewise.
8355         * math/s_csinhf.c (__csinhf): Likewise.
8356         * math/s_ctanf.c (__ctanf): Likewise.
8357         * math/s_ctanhf.c (__ctanhf): Likewise.
8358         * math/s_ccosh.c (__ccoshf): Likewise.
8359         * math/s_cexp.c (__cexpl): Likewise.
8360         * math/s_csin.c (__csin): Likewise.
8361         * math/s_csinh.c (__csinh): Likewise.
8362         * math/s_ctan.c (__ctan): Likewise.
8363         * math/s_ctanh.c (ctanh): Likewise.
8364         * math/s_ccoshl.c (__ccoshl): Likewise.
8365         * math/s_cexpl.c (__cexpl): Likewise.
8366         * math/s_csinl.c (__csinl): Likewise.
8367         * math/s_csinhl.c (__csinhl): Likewise.
8368         * math/s_ctanl.c (__ctanl): Likewise.
8369         * math/s_ctanhl.c (__ctanhl): Likewise.
8371 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
8373         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8374         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8375         (_IO_off_t): Define to __off_t, not _G_off_t.
8376         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8377         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8378         (_IO_wint_t): Define to wint_t, not _G_wint_t.
8379         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8380         type of __dummy and __dummy2 fields.
8381         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8382         (_G_ssize_t): Likewise.
8383         (_G_off_t): Likewise.
8384         (_G_pid_t): Likewise.
8385         (_G_uid_t): Likewise.
8386         (_G_wchar_t): Likewise.
8387         (_G_wint_t): Likewise.
8388         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8389         (_G_ssize_t): Likewise.
8390         (_G_off_t): Likewise.
8391         (_G_pid_t): Likewise.
8392         (_G_uid_t): Likewise.
8393         (_G_wchar_t): Likewise.
8394         (_G_wint_t): Likewise.
8395         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8396         (_G_ssize_t): Likewise.
8397         (_G_off_t): Likewise.
8398         (_G_pid_t): Likewise.
8399         (_G_uid_t): Likewise.
8400         (_G_wchar_t): Likewise.
8401         (_G_wint_t): Likewise.
8403 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8405         * malloc/arena.c: Include malloc-sysdep.h.
8406         (shrink_heap): Use check_may_shrink_heap to decide if madvise
8407         is sufficient to shrink the heap or an unmap is needed.
8408         * sysdeps/generic/malloc-sysdep.h: New file.  Define
8409         new function check_may_shrink_heap.
8410         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
8411         new function check_may_shrink_heap.
8413 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
8415         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8416         comments.
8418 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
8420         * catgets/test-gencat.sh: Add "set -e".
8421         * elf/tst-pathopt.sh: Likewise.
8422         * grp/tst_fgetgrent.sh: Likewise.
8423         * iconvdata/run-iconv-test.sh: Likewise.
8424         * intl/tst-gettext.sh: Likewise.
8425         * intl/tst-gettext2.sh: Likewise.
8426         * intl/tst-gettext4.sh: Likewise.
8427         * intl/tst-gettext6.sh: Likewise.
8428         * intl/tst-translit.sh: Likewise.
8429         * io/ftwtest-sh: Likewise.
8430         * libio/test-freopen.sh: Likewise.
8431         * malloc/tst-mtrace.sh: Likewise.
8432         * posix/globtest.sh: Likewise.
8433         * posix/tst-getconf.sh: Likewise.
8434         * posix/wordexp-tst.sh: Likewise.
8435         * stdio-common/tst-printf.sh: Likewise.
8436         * stdio-common/tst-unbputc.sh: Likewise.
8437         * stdlib/tst-fmtmsg.sh: Likewise.
8438         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8439         * catgets/Makefile: Do not specify -e option when running
8440         testsuite shell scripts.
8441         * elf/Makefile: Likewise.
8442         * grp/Makefile: Likewise.
8443         * iconvdata/Makefile: Likewise.
8444         * intl/Makefile: Likewise.
8445         * io/Makefile: Likewise.
8446         * libio/Makefile: Likewise.
8447         * malloc/Makefile: Likewise.
8448         * posix/Makefile: Likewise.
8449         * stdio-common/Makefile: Likewise.
8450         * stdlib/Makefile: Likewise.
8451         * sysdeps/x86_64/Makefile: Likewise.
8453         * io/ftwtest-sh: Add copyright header.
8454         * posix/globtest.sh: Likewise.
8455         * posix/tst-getconf.sh: Likewise.
8456         * posix/wordexp-tst.sh: Likewise.
8457         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8459 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
8461         [BZ #13679]
8462         * Makeconfig (+link): Defined as $(+link-static) if
8463         $(build-shared) isn't yes.
8464         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8465         isn't yes.
8466         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8468         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8470         [BZ #14562]
8471         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8472         new chunk size with MALLOC_ALIGN_MASK.
8474 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
8476         [BZ #5044]
8477         * stdio-common/printf_fphex.c: Include <stdbool.h> and
8478         <rounding-mode.h>.
8479         (__printf_fphex): Determine rounding using get_rounding_mode and
8480         round_away.
8481         * stdio-common/tst-printf-round.c (struct hex_test): New
8482         structure.
8483         (hex_tests): New variable.
8484         (test_hex_in_one_mode): New function.
8485         (do_test): Also run tests for hex float output.
8487 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
8489         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8490         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8491         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8492         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8493         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8494         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8495         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8496         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8498 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
8500         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8501         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8502         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8503         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8505 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
8507         [BZ #14579]
8508         * elf/rtld.c (dl_main): Limit the check for self loading to normal
8509         mode only.
8510         * elf/tst-rtld-load-self.sh: New test.
8511         * elf/Makefile: Run it.
8513 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
8515         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8516         (tst-writev-ENV): Remove.
8517         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8519 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
8521         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8523 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
8525         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8526         unconditional.
8527         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8528         Likewise.
8529         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8530         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8531         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8532         Likewise.
8534 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
8536         [BZ #14587]
8537         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8538         * config.make.in (have-cpp-asm-debuginfo): Removed.
8539         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8540         * configure: Regenerated.
8542 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
8544         [BZ #5044]
8545         * stdio-common/printf_fp.c: Include <stdbool.h> and
8546         <rounding-mode.h>.
8547         (___printf_fp): Determine rounding using get_rounding_mode and
8548         round_away.
8549         * stdio-common/tst-printf-round.c: New file.
8550         * stdio-common/Makefile (tests): Add tst-printf-round.
8551         (link-libm): New variable.
8552         ($(objpfx)tst-printf-round): Depend in $(link-libm).
8554 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
8556         [BZ #14576]
8557         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8558         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8559         Likewise.
8560         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8561         Likewise.
8563 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
8565         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8566         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8567         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8568         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8570 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
8572         [BZ #14518]
8573         * include/rounding-mode.h: New file.
8574         * sysdeps/generic/get-rounding-mode.h: Likewise.
8575         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8576         * stdlib/strtod_l.c: Include <rounding-mode.h>.
8577         (MAX_VALUE): New macro.
8578         (MIN_VALUE): Likewise.
8579         (overflow_value): New function.
8580         (underflow_value): Likewise.
8581         (round_and_return): Use overflow_value and underflow_value to
8582         determine return values in overflow and underflow cases.  Use
8583         round_away to determine rounding depending on rounding mode.
8584         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8585         determine return values in overflow and underflow cases.
8586         * stdlib/tst-strtod-round.c: Include <fenv.h>.
8587         (struct test_results): New structure.
8588         (struct test): Use struct test_results to store expected results
8589         for all rounding modes.
8590         (TEST): Include expected results for all rounding modes.
8591         (test_in_one_mode): New function.
8592         (do_test): Use test_in_one_mode to compute and check results.
8593         Check results for all rounding modes.
8594         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8595         $(link-libm).
8597 2012-12-09  Allan McRae  <allan@archlinux.org>
8599         * sysdeps/i386/fpu/libm-test-ulps: Update
8601 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
8603         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8604         (_G_int32_t): Likewise.
8605         (_G_uint16_t): Likewise.
8606         (_G_uint32_t): Likewise.
8607         (_G_HAVE_BOOL): Likewise.
8608         (_G_HAVE_ATEXIT): Likewise.
8609         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8610         (_G_HAVE_IO_FILE_OPEN): Likewise.
8611         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8612         (_G_int32_t): Likewise.
8613         (_G_uint16_t): Likewise.
8614         (_G_uint32_t): Likewise.
8615         (_G_HAVE_BOOL): Likewise.
8616         (_G_HAVE_ATEXIT): Likewise.
8617         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8618         (_G_HAVE_IO_FILE_OPEN): Likewise.
8619         * sysdeps/mach/hurd/_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.
8628 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
8630         * csu/libc-tls.c: Update copyright years.
8632 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
8634         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8635         [!_G_USING_THUNKS]: Remove conditional code.
8636         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8637         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8639         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8640         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8641         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8642         (_G_VTABLE_LABEL_PREFIX): Likewise.
8643         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8644         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8645         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8646         (_G_VTABLE_LABEL_PREFIX): Likewise.
8647         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8648         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8649         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8650         (_G_VTABLE_LABEL_PREFIX): Likewise.
8651         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8653 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
8655         * libio/Makefile: Include ../Makeconfig before tests.
8656         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8657         only if $(build-shared) is yes.
8659         * iconv/gconv_db.c: Update copyright years.
8661 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8663         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8664         unwind info if defined PIC. Fix special cases description.
8665         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8667         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8668         DP_HI_MASK entry.
8669         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8671 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
8673         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8675         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8676         is NULL.
8678         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8679         (LDLIBS-tst-chk4): This.
8680         (LDFLAGS-tst-chk5): Renamed to ...
8681         (LDLIBS-tst-chk5): This.
8682         (LDFLAGS-tst-chk6): Renamed to ...
8683         (LDLIBS-tst-chk6): This.
8684         (LDFLAGS-tst-lfschk4): Renamed to ...
8685         (LDLIBS-tst-lfschk4): This.
8686         (LDFLAGS-tst-lfschk5): Renamed to ...
8687         (LDLIBS-tst-lfschk5): This.
8688         (LDFLAGS-tst-lfschk6): Renamed to ...
8689         (LDLIBS-tst-lfschk6): This.
8691         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8692         on $(common-objpfx)soversions.mk.
8694 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
8696         [BZ #10014]
8697         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8698         example host name.
8700 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8702         * malloc/arena.c (arena_get_retry): New function that gets
8703         another arena for the caller to try its request on.
8704         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8705         current arena cannot fulfill the request.
8706         (__libc_memalign): Likewise.
8707         (__libc_memalign): Likewise.
8708         (__libc_pvalloc): Likewise.
8709         (__libc_calloc): Likewise.
8711 2012-09-05  John Tobey  <john.tobey@gmail.com>
8713         [BZ #13542]
8714         * manual/arith.texi (Operations on Complex): Fix description
8715         of carg branch cut.
8717 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8719         [BZ #10014]
8720         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8721         host name.
8723         [BZ #10038]
8724         * manual/memory.texi (Memory): Make order of menu items match
8725         order of sections.
8727 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8729         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8730         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
8731         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8733 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8735         * csu/libc-tls.c (static_dtv): Renamed to ...
8736         (_dl_static_dtv): This.  Make it global.
8737         (_dl_initial_dtv): Removed.
8738         (__libc_setup_tls): Updated.
8739         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8740         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8741         DL_INITIAL_DTV.
8743 2012-09-06  Petr Machata  <pmachata@redhat.com>
8745         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8746         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8747         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8748         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8750 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8752         [BZ #14545]
8753         * csu/libc-tls.c (_dl_initial_dtv): New variable.
8754         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8755         freeing dtv[-1].
8757 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
8759         [BZ #14544]
8760         * Makeconfig (link-static-before-libc): Replace $(+prector)
8761         with $(+prectorT).
8762         (link-static-after-libc): Replace $(+postctor) with
8763         $(+postctorT).
8764         (link-bounded): Replace $(+prector)/$(+postctor) with
8765         $(+prectorT)/$(+postctorT).
8766         (+prectorT): New macro.
8767         (+postctorT): Likewise.
8769 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
8771         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8772         (round_str): Handle values above the maximum for IBM long double
8773         as inexact.
8774         * stdlib/tst-strtod-round.c (tests): Regenerated.
8776 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8778         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8779         assembler flag.
8780         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8781         zarch_nohighgprs around the zarch optimized routines.
8782         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8783         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8784         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8785         for zarch.
8787 2012-09-05  David S. Miller  <davem@davemloft.net>
8789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8791         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8792         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8793         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8794         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8795         entries.
8797 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8799         * malloc/arena.c: Fold copyright years.
8800         * malloc/mcheck.c, malloc/memusage.c: Likewise.
8802 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8804         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8806 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8808         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
8810 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8812         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8813         change internal state upon failure.
8815 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
8817         * malloc/mcheck.c (mcheck_check_all): Fix typo.
8818         * malloc/memusage.c (mmap): Likewise.
8819         (mmap64, mremap): Likewise.  Adjust name in comment.
8821 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8823         * libio/fileops.c: Fix typos in comments.
8824         * libio/oldfileops.c: Likewise.
8825         * libio/wfileops.c: Likewise.
8827 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8829         [BZ #1349]
8830         * malloc/Makefile (tests): Add tst-malloc-usable test case.
8831         (tst-malloc-usable-ENV): Set environment for test case.
8832         * malloc/hooks.c (malloc_check_get_size): New function to get
8833         requested size.
8834         * malloc/malloc.c (musable): Use malloc_check_get_size.
8835         * malloc/tst-malloc-usable.c: New test case.
8837 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8839         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8841 2012-09-05  Allan McRae  <allan@archlinux.org>
8843         [BZ #13966]
8844         * configure.in (CXX_SYSINCLUDES): Use compiler output to
8845         determine header location.
8846         * configure: Regenerated.
8848 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
8850         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8851         float format.
8852         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
8853         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8854         format.
8855         (test): Regenerate.
8857 2012-09-04  David S. Miller  <davem@davemloft.net>
8859         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8860         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8861         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8863 2012-09-04  Florian Weimer  <fweimer@redhat.com>
8865         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8866         failures.
8868         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8870 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
8872         [BZ #9914]
8873         * libio/iogetdelim.c: Include <limits.h>.
8874         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8875         + len + 1 would overflow.
8877 2012-09-03  Andreas Jaeger  <aj@suse.de>
8879         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8880         * sysdeps/i386/fpu/libm-test-ulps: Update.
8882 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
8884         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8885         Add s_sinf-sse2, s_conf-sse2.
8887         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8888         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8889         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8890         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8892         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8893         for using routine as __sinf_ia32.
8894         Use macro for function declaration and weak_alias.
8895         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8896         for using routine as __cosf_ia32.
8897         Use macro for function declaration and weak_alias.
8899         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8900         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8902         * sysdeps/x86_64/fpu/s_sinf.S: New file.
8903         * sysdeps/x86_64/fpu/s_cosf.S: New file.
8904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8906         * math/libm-test.inc (cos_test): Add more test cases.
8907         (sin_test): Likewise.
8908         (sincos_test): Likewise.
8910 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8912         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8913         (IFUNC_RESOLVE): Make pointers to the specialized implementations
8914         hidden.
8915         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8917 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
8919         [BZ #14538]
8920         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8921         first element of the GOT.
8922         (elf_machine_load_address): Return the difference between
8923         the runtime address of _DYNAMIC and elf_machine_dynamic ().
8925 2012-09-01  Allan McRae  <allan@archlinux.org>
8927         [BZ #13412]
8928         * configure.in (AWK): Require gawk version 3.0 or later.
8929         * configure: Regenerated.
8931 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
8933         * sysdeps/unix/sysv/linux/kernel-features.h
8934         (__ASSUME_POSIX_CPU_TIMERS): Remove.
8935         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8936         [__NR_clock_getres]: Make code unconditional.
8937         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8938         (clock_getcpuclockid): Remove code left unreachable by removal of
8939         conditionals.
8940         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8941         code unconditional.
8942         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8943         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8944         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8945         Make code unconditional.
8946         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8947         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8948         * sysdeps/unix/sysv/linux/clock_settime.c
8949         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8950         conditional code.
8951         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8952         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8954 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
8956         [BZ #14476]
8957         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8958         scripts/test-installation.pl.
8960         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8961         and $ld_so_version if it is set.
8963 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8965         [BZ #14516]
8966         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8967         failure if reading from procfs failed.
8968         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8970 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
8972         * sysdeps/unix/sysv/linux/kernel-features.h
8973         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8974         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8975         Remove conditional code.
8976         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8977         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8978         Remove conditional code.
8979         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8980         * sysdeps/unix/sysv/linux/i386/fxstat.c
8981         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8982         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8983         * sysdeps/unix/sysv/linux/i386/fxstatat.c
8984         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8985         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8986         * sysdeps/unix/sysv/linux/i386/lxstat.c
8987         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8988         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8989         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8990         Remove conditional code.
8991         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8992         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8993         Remove conditional code.
8994         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8995         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8996         <kernel-features.h>.
8997         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8998         Remove.
8999         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9000         Remove conditional code.
9001         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9002         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9003         Remove conditional.
9005 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
9007         [BZ #5400]
9008         * NEWS: Add fixed bug number.
9010 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
9012         [BZ #14519]
9013         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9014         underflowing exponent in case of negative sign.
9015         * stdlib/tst-strtod-round-data: Add more tests.
9016         * stdlib/tst-strtod-round.c (tests): Regenerated.
9018         [BZ #3479]
9019         * stdlib/strtod_l.c (NDIG): Remove.
9020         (HEXNDIG): Likewise.
9021         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9022         smallest representable value.
9023         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9024         lie within an exact representation of 1/2 ulp of the result.
9025         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9026         unconditionally.
9027         (TENS_P9_IDX): Define unconditionally.
9028         (TENS_P9_SIZE): Likewise.
9029         (TENS_P10_IDX): Likewise.
9030         (TENS_P10_SIZE): Likewise.
9031         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9032         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9033         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9034         entries for 10^2^13 and 10^2^14.
9035         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9036         (TENS_P13_IDX): Define.
9037         (TENS_P13_SIZE): Likewise.
9038         (TENS_P14_IDX): Likewise.
9039         (TENS_P14_SIZE): Likewise.
9040         (_fpioconst_pow10): Change array size to
9041         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
9042         unconditional.
9043         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9044         1024]: Add entries for 10^2^13 and 10^2^14.
9045         [LAST_POW10 > _LAST_POW10]: Remove #error.
9046         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9047         (_fpioconst_pow10): Change array size to
9048         FPIOCONST_POW10_ARRAY_SIZE.
9049         * stdlib/gen-fpioconst.c: New file.
9050         * stdlib/gen-tst-strtod-round.c: Likewise.
9051         * stdlib/tst-strtod-round-data: Likewise.
9052         * stdlib/tst-strtod-round.c: Likewise.
9053         * stdlib/Makefile (tests): Add tst-strtod-round.
9055         [BZ #14459]
9056         * stdlib/strtod_l.c: Include <stdint.h>.
9057         (NDEBUG): Do not define.
9058         (round_and_return): Change EXPONENT parameter to type intmax_t.
9059         Rearrange calculations to avoid internal overflow possibilities.
9060         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9061         Rearrange calculations to avoid internal overflow possibilities.
9062         Assert that number fits inside MPNSIZE limbs.
9063         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9064         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
9065         calculations and add assertions to avoid internal overflow
9066         possibilities.  Add casts to avoid signed/unsigned operations.
9067         * stdlib/tst-strtod-overflow.c: New file.
9068         * stdlib/Makefile (tests): Add tst-strtod-overflow.
9070 2012-08-25  Marek Polacek  <polacek@redhat.com>
9072         * time/time.h: Fix some typos in comments.
9074 2012-08-23  Roland McGrath  <roland@hack.frob.com>
9076         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9077         * posix/tst-rfc3484-2.c: Likewise.
9078         * posix/tst-rfc3484-3.c: Likewise.
9080 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
9082         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9083         (EF_ARM_ABI_FLOAT_HARD): Likewise.
9085 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
9087         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9088         #include of fxstatat64.c.
9090 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9092         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9093         * shadow/getspent_r.c: Likewise.
9094         * shadow/getspnam.c: Likewise.
9095         * shadow/getspnam_r.c: Likewise.
9096         * gshadow/getsgent.c: Likewise.
9097         * gshadow/getsgent_r.c: Likewise.
9098         * gshadow/getsgnam.c: Likewise.
9099         * gshadow/getsgnam_r.c: Likewise.
9100         * inet/getnetbyad.c: Likewise.
9101         * inet/getnetbyad_r.c: Likewise.
9102         * inet/getnetbynm.c: Likewise.
9103         * inet/getnetbynm_r.c: Likewise.
9104         * inet/getnetent.c: Likewise.
9105         * inet/getnetent_r.c: Likewise.
9106         * inet/getproto.c: Likewise.
9107         * inet/getproto_r.c: Likewise.
9108         * inet/getprtent.c: Likewise.
9109         * inet/getprtent_r.c: Likewise.
9110         * inet/getprtname.c: Likewise.
9111         * inet/getprtname_r.c: Likewise.
9112         * inet/getrpcbyname.c: Likewise.
9113         * inet/getrpcbyname_r.c: Likewise.
9114         * inet/getrpcbynumber.c: Likewise.
9115         * inet/getrpcbynumber_r.c: Likewise.
9116         * inet/getrpcent.c: Likewise.
9117         * inet/getrpcent_r.c: Likewise.
9118         * inet/getaliasent.c: Likewise.
9119         * inet/getaliasent_r.c: Likewise.
9120         * inet/getaliasname.c: Likewise.
9121         * inet/getaliasname_r.c: Likewise.
9122         * nscd/getgrgid_r.c: Likewise.
9123         * nscd/getgrnam_r.c: Likewise.
9124         * nscd/gethstbyad_r.c: Likewise.
9125         * nscd/gethstbynm3_r.c: Likewise.
9126         * nscd/getpwnam_r.c: Likewise.
9127         * nscd/getpwuid_r.c: Likewise.
9128         * nscd/getsrvbynm_r.c: Likewise.
9129         * nscd/getsrvbypt_r.c: Likewise.
9130         * nscd/gai.c: Likewise.
9132         * configure.in (build_nscd): New substituted variable, set
9133         by --disable-build-nscd and defaults to $use_nscd.
9134         * configure: Regenerated.
9135         * config.make.in (build-nscd): New substituted variable.
9136         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9137         Change conditional to require [$(build-nscd) = yes] as well.
9138         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9140         [BZ# 13696]
9141         * configure.in (use_nscd): New substituted variable, set by
9142         --disable-nscd.  If enabled, define USE_NSCD.
9143         * configure: Regenerated.
9144         * config.h.in: Add USE_NSCD.
9145         * config.make.in (use-nscd): New substituted variable.
9146         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9147         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9148         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9149         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9150         (CFLAGS-getgrnam_r.c): Likewise.
9151         (CFLAGS-initgroups.c): Likewise.
9152         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9153         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9154         Variables removed.
9155         * inet/getnetgrent_r.c
9156         (nscd_setnetgrent): New function, broken out of ...
9157         (setnetgrent): ... here.  Call it.
9158         (innetgr): Conditionalize nscd bits on [USE_NSCD].
9159         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9160         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9161         * nscd/Makefile (routines, aux): Move definitions after include of
9162         Makeconfig.  Conditionalize on [$(use-nscd) != no].
9163         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9164         Conditionalize on [USE_NSCD].
9165         (is_nscd, nscd_init_cb): Likewise.
9166         (nss_load_library): Conditionalize init callback on [USE_NSCD].
9167         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9168         * nss/nss_db/db-init.c: Likewise.
9169         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9170         [USE_NSCD].
9171         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9172         (make_request): Use it.
9173         (cache_valid_p): New function.
9174         (__check_pf): Use it.
9175         * NEWS: Add item for --disable-nscd.
9177 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
9179         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9180         to support sed >= 4.2.1-20-ga9bf076.
9181         * configure: Regenerated.
9183 2012-08-22  Roland McGrath  <roland@hack.frob.com>
9185         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9186         Conditionalize whole body on [IREL].
9188 2012-08-22  Jeff Law <law@redhat.com>
9190         [BZ #14505]
9191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9192         if the family is PF_UNSPEC.
9194 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
9196         * Makerules (lib-version): Rename from V.
9197         (install-lib-nosubdir): Change V to lib-version.
9199 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
9201         [BZ #14252]
9202         * powerpc32/power6/wcschr.c: New file.
9203         * powerpc32/power6/wcscpy.c: New file.
9204         * powerpc32/power6/wcsrchr.c: New file.
9205         * powerpc64/power6/wcschr.c: New file.
9206         * powerpc64/power6/wcscpy.c: New file.
9207         * powerpc64/power6/wcsrchr.c: New file.
9209 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9211         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9212         (two_way_short_needle): Use it.
9213         * string/strstr.c (AVAILABLE1_USES_J): Define.
9214         * string/strcasestr.c: Likewise.
9216         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9217         array references.
9218         * string/strcasestr.c (TOLOWER): Make side-effect safe.
9220         [BZ #11607]
9221         * NEWS: Add an entry.
9222         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9223         define their defaults.
9224         (two_way_short_needle): Detect end-of-string on-the-fly.
9225         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9226         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9227         * string/bug-strcasestr1.c: New test.
9228         * string/Makefile: Run it.
9230 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
9232         [BZ #11607]
9233         * string/str-two-way.h (two_way_short_needle): Optimize matching of
9234         the first character.
9236 2012-08-21  Roland McGrath  <roland@hack.frob.com>
9238         * csu/elf-init.c (__libc_csu_irel): Function removed.
9239         * csu/libc-start.c (apply_irel): New function.
9240         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9242 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
9244         * sysdeps/unix/sysv/linux/kernel-features.h
9245         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9246         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9247         <kernel-features.h>.
9248         [__NR_fadvise64_64]: Make code unconditional.
9249         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9250         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9251         !__NR_fadvise64_64)]: Likewise.
9252         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9253         !__NR_fadvise64_64))]: Likewise.
9254         [__NR_fadvise64]: Make code unconditional.
9255         [!__NR_fadvise64]: Remove conditional code.
9256         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9257         <kernel-features.h>.
9258         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9259         unconditional.
9260         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9261         conditional code.
9262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9263         not include <kernel-features.h>.
9264         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9265         unconditional.
9266         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9267         conditional code.
9268         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9269         include <kernel-features.h>.
9270         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9271         unconditional.
9272         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9273         conditional code.
9275 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
9277         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9278         slight instruction rearrangements per scrollpipe analysis.
9279         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9281 2012-08-20  Roland McGrath  <roland@hack.frob.com>
9283         * manual/syslog.texi (syslog; vsyslog, closelog):
9284         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9285         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9287         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9288         DSOCAPS to match condition on defining it.
9290 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
9292         * sysdeps/unix/sysv/linux/kernel-features.h
9293         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9295         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9296         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9298         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9299         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9301         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9302         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9304         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9305         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9307         * sysdeps/unix/sysv/linux/kernel-features.h
9308         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9309         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9310         unconditional.
9311         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9312         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9313         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9314         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9315         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9316         Make code unconditional.
9317         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9318         (__mmap64) [!__NR_mmap2]: Likewise.
9319         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9320         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9321         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9322         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9323         [__NR_mmap2]: Make code unconditional.
9324         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9325         (__mmap64) [!__NR_mmap2]: Likewise.
9327 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9329         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9331 2012-08-18  Andreas Jaeger  <aj@suse.de>
9333         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9335 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9337         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9338         * include/unistd.h (__have_sock_cloexec): Likewise.
9339         (__have_pipe2): Likewise.
9340         (__have_dup3): Likewise.
9342 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
9344         [BZ #9685]
9345         * include/unistd.h (__have_pipe2): Change define into an extern int.
9346         (__have_dup3): Likewise.
9347         * socket/have_sock_cloexec.c: Include fcntl.h.
9348         (__have_pipe2): New variable.
9349         (__have_dup3): Likewise.
9351 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
9353         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9355 2012-08-17  Marek Polacek  <polacek@redhat.com>
9357         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9358         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9360 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9362         * configure.in: Add AC_SUBST for sysheaders.
9363         * configure: Regenerated.
9364         * config.make.in (sysheaders): New substituted variable.
9366         * sysdeps/unix/mkfifo.c: Moved ...
9367         * sysdeps/posix/mkfifo.c: ... here.
9368         * sysdeps/unix/mkfifoat.c: Moved ...
9369         * sysdeps/posix/mkfifoat.c: ... here.
9371         * sysdeps/unix/utime.c: Moved ...
9372         * sysdeps/posix/utime.c: ... here.
9374         * sysdeps/unix/time.c: Moved ...
9375         * sysdeps/posix/time.c: ... here.
9376         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9377         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
9379         * sysdeps/unix/nice.c: Moved ...
9380         * sysdeps/posix/nice.c: ... here.
9382         * sysdeps/unix/alarm.c: Moved ...
9383         * sysdeps/posix/alarm.c: ... here.
9385         * intl/Makefile ($(codeset_mo)): Depend on the input file.
9387 2012-08-17  Jeff Law <law@redhat.com>
9389         * intl/Makefile (codeset_mo): New variable.
9390         ($(codeset_mo)): New target.
9391         (tst-codeset.out): Depend on that.  Remove explicit rule.
9392         (tst-gettext3.out, tst-gettext5.out): Likewise.
9393         (LOCPATH-ENV, tst-codeset-ENV): New variables.
9394         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9395         * intl/tst-codeset.sh: Remove.
9396         * intl/tst-gettext3.sh: Likewise.
9397         * intl/tst-gettext5.sh: Likewise.
9399 2012-08-17  Roland McGrath  <roland@hack.frob.com>
9401         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
9402         * sysdeps/unix/syscalls.list: ... here.
9404         * sysdeps/posix/getaddrinfo.c
9405         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9406         (gaiconf_init, gaiconf_reload): Use them.
9407         [!_STATBUF_ST_NSEC]
9408         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9409         Define using time_t rather than struct timespec.
9411         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9412         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9413         Macros removed.
9414         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9415         [!NO_THREADS].
9416         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9417         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9418         Likewise.
9420         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9421         __libc_cleanup_push argument.
9423         * bits/param.h: New file.
9424         * misc/sys/param.h: New file.
9425         * include/sys/param.h: New file.
9426         * misc/Makefile (headers): Add bits/param.h.
9427         * sysdeps/generic/sys/param.h: File removed.
9428         * sysdeps/unix/sysv/linux/bits/param.h: New file.
9429         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9430         * sysdeps/mach/hurd/bits/param.h: New file.
9431         * sysdeps/mach/hurd/sys/param.h: File removed.
9433         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9434         last change.
9436         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9437         [_IO_MTSAFE_IO].
9438         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9439         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9440         New macros.
9442         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9443         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9444         rather than -D_IO_MTSAFE_IO conditionally.
9445         * stdio-common/Makefile (CPPFLAGS): Likewise.
9446         * wcsmbs/Makefile (CPPFLAGS): Likewise.
9447         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9448         Use $(libio-mtsafe).
9449         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9450         of -D_IO_MTSAFE_IO.
9451         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9452         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9453         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9454         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9455         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9456         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9457         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9458         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9459         (CFLAGS-fread_u_chk.c): Likewise.
9460         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9461         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9462         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9463         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9464         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9465         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9466         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9467         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9468         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9470         * libio/Makefile: Test [$(libc-reentrant) = yes]
9471         instead of [$(filter %REENTRANT, $(defines)) nonempty].
9473         * Makeconfig
9474         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9475         * sysdeps/pthread/configure: File removed.
9476         * sysdeps/pthread/Makeconfig: New file.
9477         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9478         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9480 2012-08-16  Gary Benson  <gbenson@redhat.com>
9482         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9483         unmapping the first object in a namespace.
9485 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9487         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9488         (__internal_setnetgrent): ... this.  Add internal_function to
9489         definition.  Add libc_hidden_def.
9490         (setnetgrent): Update caller.
9491         (internal_endnetgrent): Renamed to ...
9492         (__internal_endnetgrent): ... this.  Add internal_function to
9493         definition.  Add libc_hidden_def.
9494         (endnetgrent): Update caller.
9495         (internal_getnetgrent_r): Renamed to ...
9496         (__internal_getnetgrent_r): ... this.  Add internal_function to
9497         definition.  Add libc_hidden_def.
9498         (__getnetgrent_r): Update caller.
9499         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
9501 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9503         * stdlib/longlong.h: Update from GCC.
9505 2012-08-16  Roland McGrath  <roland@hack.frob.com>
9507         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9508         on _QL, which is set by umul_ppmm but never used.
9509         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9510         variables, which are set by GMP macros but never used.
9511         * stdio-common/_itowa.c (_itowa): Likewise.
9512         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9513         * stdlib/mod_1.c (mpn_mod_1): Likewise.
9515 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
9517         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9518         struct La_sh_regs is not constant.
9519         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9520         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9521         and struct La_sparc64_regs are not constant.
9523 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
9525         * sysdeps/unix/sysv/linux/kernel-features.h
9526         (__ASSUME_POSIX_TIMERS): Remove.
9527         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9528         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9529         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9530         Make code unconditional.
9531         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9532         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9533         Make code unconditional.
9534         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9535         * sysdeps/unix/sysv/linux/clock_nanosleep.c
9536         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9537         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9538         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9539         Make code unconditional.
9540         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9541         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9542         (__libc_missing_posix_timers): Remove.
9544 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9546         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9547         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9549         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9551         * elf/dl-sym.c: Include <stdlib.h>.
9553         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9554         constants, which avoids warnings in 32-bit builds.
9556         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9557         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9559         * misc/lseek.c: File moved to ...
9560         * io/lseek.c: ... here.
9562         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9564         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9565         shifting LEN more than 31 bits at once.
9567 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
9569         [BZ #14195]
9570         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9571         segmentation fault for a case of two empty input strings.
9572         * string/test-strncasecmp.c (check1): Renamed to...
9573         (bz12205): ...this.
9574         (bz14195): Add new testcase for two empty input strings and N > 0.
9575         (test_main): Call new testcase, adapt for renamed function.
9577 2012-08-15  Andreas Jaeger  <aj@suse.de>
9579         [BZ #14090]
9580         * crypt/md5test2.c: New test, based on test supplied by Serge
9581         Belyshev <belyshev@depni.sinp.msu.ru>.
9582         * crypt/Makefile (xtests): Add md5test-giant..
9583         * crypt/Makefile ($(objpfx)md5test-giant): Add.
9585 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
9587         [BZ #14090]
9588         * crypt/md5.c (md5_process_block): Don't assume the buffer
9589         length is less than 2**32.
9590         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9591         length is less than 2**64.
9593 2012-08-15  Roland McGrath  <roland@hack.frob.com>
9595         * string/str-two-way.h: Include <sys/param.h>.
9596         (MAX): Macro removed.
9598         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9599         Move #define and #undef of memmove to just before and after
9600         including <string.h>.
9602         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9603         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9604         and after including <string.h>.  Move declarations of
9605         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9606         to before #include "string/memmove.c".
9608         * include/dirent.h: Declare __getdirentries.
9610         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9611         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9613 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
9615         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9616         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9617         * sysdeps/i386/configure: Regenerated.
9618         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9619         STABS_CURRENT_FILE, and STABS_FUN.
9620         (END): Remove call to STABS_FUN_END.
9621         (STABS_CURRENT_FILE1): Delete.
9622         (STABS_CURRENT_FILE): Likewise.
9623         (STABS_FUN): Likewise.
9624         (STABS_FUN_END): Likewise.
9625         (STABS_FUN2): Likewise.
9626         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9627         * sysdeps/x86_64/configure: Regenerated.
9629 2012-08-14  Roland McGrath  <roland@hack.frob.com>
9631         * elf/dl-open.c: Include <atomic.h>.
9632         * elf/dl-lookup.c: Likewise.
9634 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
9636         * sysdeps/unix/sysv/linux/kernel-features.h
9637         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9638         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9639         unconditionally.
9640         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9641         unconditionally.
9642         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9643         condition on __ASSUME_CLONE_THREAD_FLAGS.
9645 2012-08-14  Andreas Jaeger  <aj@suse.de>
9647         * sysdeps/i386/fpu/libm-test-ulps: Update.
9649 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
9651         * include/atomic.h (atomic_exchange_and_add): Split into ...
9652         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9653         New atomic macros.
9655 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
9657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9659 2012-08-13  Jeff Law <law@redhat.com>
9661         * manual/stdio.texi (snprintf): Clarify handling of the trailing
9662         null byte in the output string.
9664 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
9666         * sysdeps/unix/sysv/linux/kernel-features.h
9667         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9668         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9669         (__ASSUME_ARG_MAX_STACK_BASED): Define.
9670         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9671         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9672         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
9673         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9675 2012-08-09  Jeff Law <law@redhat.com>
9677         [BZ #13939]
9678         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9679         When avoid_arena is set, don't retry in the that arena.  Pick the
9680         next one, whatever it might be.
9681         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9682         (arena_lock): Pass in new parameter to arena_get2.
9683         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9684         arena_get2.
9685         (__libc_malloc): Unify retrying after main arena failure with
9686         __libc_memalign version.
9687         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9689 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
9691         [BZ #14166]
9692         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9693         to __redirect_strstr.
9694         (__strstr_sse42): Use typeof __redirect_strstr.
9695         (__strstr_ia32): Likewise.
9696         (__libc_strstr): New prototype.
9697         (strstr): Renamed to ...
9698         (__libc_strstr): This.
9699         (strstr): New strong alias of __libc_strstr.
9700         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9701         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9702         __redirect_time.
9703         Include <time.h>.
9704         (__libc_time): New prototype.
9705         (time_ifunc): Replace time with __libc_time.
9706         (time): New strong alias and hidden definition of __libc_time.
9707         (__GI_time): Remove strong alias.
9708         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9709         Include <stddef.h>.
9710         (memmove): Redefined to __redirect_memmove.
9711         (__memmove_sse2): Use typeof __redirect_memmove.
9712         (__memmove_ssse3): Likewise.
9713         (__memmove_ssse3_back): Likewise.
9714         (__libc_memmove): New prototype.
9715         (memmove): Renamed to ...
9716         (__libc_memmove): This.
9717         (memmove): New strong alias of __libc_memmove.
9719 2012-08-08  Mark Salter  <msalter@redhat.com>
9721         * elf/elf.h
9722         (R_MN10300_TLS_GD): Define.
9723         (R_MN10300_TLS_LD): Likewise.
9724         (R_MN10300_TLS_LDO): Likewise.
9725         (R_MN10300_TLS_GOTIE): Likewise.
9726         (R_MN10300_TLS_IE): Likewise.
9727         (R_MN10300_TLS_LE): Likewise.
9728         (R_MN10300_TLS_DTPMOD): Likewise.
9729         (R_MN10300_TLS_DTPOFF): Likewise.
9730         (R_MN10300_TLS_TPOFF): Likewise.
9731         (R_MN10300_SYM_DIFF): Likewise.
9732         (R_MN10300_ALIGN): Likewise.
9733         (R_MN10300_NUM): Update.
9735 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
9737         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9738         Remove.
9740 2012-08-08  Roland McGrath  <roland@hack.frob.com>
9742         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9744         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9745         sysdeps/unix -> sysdeps/posix move.
9746         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9748 2012-08-07      Allan McRae     <allan@archlinux.org>
9750         [BZ #14303]
9751         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9752         (SUNOS_CPP): Likewise.
9753         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9754         not found.
9755         (open_input): Call CPP using execvp.
9757 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9759         * sysdeps/unix/sysv/linux/kernel-features.h
9760         (__ASSUME_PROT_GROWSUPDOWN): Remove.
9761         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9762         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9763         (__ASSUME_WAITID_SYSCALL): Likewise.
9764         * sysdeps/unix/sysv/linux/dl-execstack.c
9765         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9766         code unconditional.
9767         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9768         conditional code.
9769         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9770         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9771         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9772         code.
9773         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9774         unconditional.
9775         [__ASSUME_WAITID_SYSCALL]: Likewise.
9776         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9778 2012-08-07  Roland McGrath  <roland@hack.frob.com>
9780         * sysdeps/unix/closedir.c: Renamed to ...
9781         * sysdeps/posix/closedir.c: ... here.
9782         * sysdeps/unix/dirfd.c: Renamed to ...
9783         * sysdeps/posix/dirfd.c: ... here.
9784         * sysdeps/unix/dirstream.h: Renamed to ...
9785         * sysdeps/posix/dirstream.h: ... here.
9786         * sysdeps/unix/fdopendir.c: Renamed to ...
9787         * sysdeps/posix/fdopendir.c: ... here.
9788         * sysdeps/unix/opendir.c: Renamed to ...
9789         * sysdeps/posix/opendir.c: ... here.
9790         * sysdeps/unix/readdir.c: Renamed to ...
9791         * sysdeps/posix/readdir.c: ... here.
9792         * sysdeps/unix/readdir_r.c: Renamed to ...
9793         * sysdeps/posix/readdir_r.c: ... here.
9794         * sysdeps/unix/rewinddir.c: Renamed to ...
9795         * sysdeps/posix/rewinddir.c: ... here.
9796         * sysdeps/unix/seekdir.c: Renamed to ...
9797         * sysdeps/posix/seekdir.c: ... here.
9798         * sysdeps/unix/telldir.c: Renamed to ...
9799         * sysdeps/posix/telldir.c: ... here.
9800         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9801         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9802         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9803         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9805         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9806         * bits/fcntl.h: ... here.
9808         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9809         not 0.
9810         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9811         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9812         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9813         (struct flock): Move l_start, l_len to the beginning.
9814         Use __pid_t for l_pid.
9815         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9816         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9817         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9818         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9819         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9820         [__USE_LARGEFILE64] (struct flock64): New type.
9821         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9823         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9824         * bits/dirent.h: ... here.
9826         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9827         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9829 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
9831         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9832         Change from 2.6.0 to 2.6.16.
9833         * sysdeps/unix/sysv/linux/configure: Regenerated.
9834         * sysdeps/unix/sysv/linux/kernel-features.h
9835         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9836         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9837         version.
9838         (__ASSUME_UTIMES): Likewise.
9839         (__ASSUME_CLONE_STOPPED): Remove.
9840         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9841         architectures, not kernel version.
9842         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9843         (__ASSUME_NO_CLONE_DETACHED): Likewise.
9844         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9845         (__ASSUME_WAITID_SYSCALL): Likewise.
9846         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9847         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9848         * README: State 2.6.16 as minimum Linux kernel version.  Do not
9849         refer to older versions.
9851 2012-08-06  Roland McGrath  <roland@hack.frob.com>
9853         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9854         Define alphasort64 as an alias.
9855         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9856         Define versionsort64 as an alias.
9857         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9858         Define scandir64 as an alias.
9859         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9860         Define scandirat64 as an alias.
9861         * dirent/alphasort64.c (alphasort64):
9862         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9863         * dirent/versionsort64.c: Likewise.
9864         * dirent/scandir64.c: Likewise.
9865         * dirent/scandirat64.c: Likewise.
9866         * sysdeps/wordsize-64/alphasort.c: File removed.
9867         * sysdeps/wordsize-64/alphasort64.c: File removed.
9868         * sysdeps/wordsize-64/scandir.c: File removed.
9869         * sysdeps/wordsize-64/scandir64.c: File removed.
9870         * sysdeps/wordsize-64/scandirat.c: File removed.
9871         * sysdeps/wordsize-64/scandirat64.c: File removed.
9872         * sysdeps/wordsize-64/versionsort.c: File removed.
9873         * sysdeps/wordsize-64/versionsort64.c: File removed.
9874         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9875         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9876         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9877         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9878         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9879         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9880         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9881         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9883         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9884         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9885         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9886         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9887         [defined __arch64__ || defined __sparcv9]
9888         (__INO_T_MATCHES_INO64_T): New macro.
9889         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9890         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9891         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9892         * sysdeps/unix/sysv/linux/bits/dirent.h
9893         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9894         (_DIRENT_MATCHES_DIRENT64): New macro.
9896         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9897         Define lockf64 as an alias.
9898         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9899         Define fseeko64 as an alias.
9900         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9901         Define ftello64 as an alias.
9902         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9903         Define _IO_fgetpos64 and fgetpos64 as aliases.
9904         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9905         Define _IO_fsetpos64 and fsetpos64 as aliases.
9906         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9907         Conditionalize body on this.
9908         * libio/fseeko64.c: Likewise.
9909         * libio/ftello64.c: Likewise.
9910         * libio/iofgetpos64.c: Likewise.
9911         * libio/iofsetpos64.c: Likewise.
9912         * sysdeps/wordsize-64/lockf.c: File removed.
9913         * sysdeps/wordsize-64/lockf64.c: File removed.
9914         * sysdeps/wordsize-64/fseeko.c: File removed.
9915         * sysdeps/wordsize-64/fseeko64.c: File removed.
9916         * sysdeps/wordsize-64/ftello.c: File removed.
9917         * sysdeps/wordsize-64/ftello64.c: File removed.
9918         * sysdeps/wordsize-64/iofgetpos.c: File removed.
9919         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9920         * sysdeps/wordsize-64/iofsetpos.c: File removed.
9921         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9922         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9923         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9924         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9925         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9926         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9927         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9928         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9929         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9930         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9931         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9933         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9934         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9935         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9936         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9937         [defined __arch64__ || defined __sparcv9]
9938         (__OFF_T_MATCHES_OFF64_T): New macro.
9939         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9940         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9941         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9942         (__OFF_T_MATCHES_OFF64_T): New macro.
9944 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9946         * stdlib/secure-getenv.c (__secure_getenv): Replace
9947         GLIBC_2_16 with GLIBC_2_17.
9949 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
9951         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9952         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9954 2012-08-03  David S. Miller  <davem@davemloft.net>
9956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9958 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9960         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9961         Remove.
9962         (__ASSUME_CORRECT_SI_PID): Likewise.
9963         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9964         (__ASSUME_TMPFS_NAME): Likewise.
9965         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9966         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9967         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9968         (HAVE_AUX_SECURE): Make definition unconditional.
9969         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9970         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9972 2012-08-03  Roland McGrath  <roland@hack.frob.com>
9974         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9975         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9976         * sysdeps/mach/hurd/eloop-threshold.h: New file.
9977         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9978         __eloop_threshold instead of SYMLOOP_MAX.
9980         * sysdeps/generic/eloop-threshold.h: New file.
9981         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9982         of MAXSYMLINKS.
9983         * elf/chroot_canon.c (chroot_canon): Likewise.
9985 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
9987         [BZ #13717]
9988         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9989         Change to 2.6.0 everywhere.
9990         * sysdeps/unix/sysv/linux/configure: Regenerated.
9991         * sysdeps/unix/sysv/linux/kernel-features.h
9992         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9993         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9994         kernel versions.
9995         (__ASSUME_POSIX_TIMERS): Define unconditionally.
9996         (__ASSUME_FUTEX_REQUEUE): Remove.
9997         (__ASSUME_STATFS64): Define unconditionally.
9998         (__ASSUME_AT_SECURE): Likewise.
9999         (__ASSUME_CORRECT_SI_PID): Likewise.
10000         (__ASSUME_TGKILL): Define without depending on kernel version for
10001         i386.
10002         (__ASSUME_UTIMES): Likewise.
10003         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10004         kernel version.
10005         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10006         (__ASSUME_TMPFS_NAME): Likewise.
10007         * README: Update reference to Linux kernel versions.
10009 2012-08-02  Marek Polacek  <polacek@redhat.com>
10011         [BZ# 14150]
10012         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
10013         libc_cv_asm_type_prefix with %.
10014         * configure: Regenerated.
10015         * include/libc-symbols.h: Remove comment about
10016         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10017         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10018         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10019         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10020         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10021         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10022         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10023         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10024         * elf/tst-unique2mod1.c: Likewise.
10025         * elf/tst-unique1mod2.c: Likewise.
10026         * elf/tst-unique1mod1.c: Likewise.
10027         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10028         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10029         Replace ASM_TYPE_DIRECTIVE with .type.
10030         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10031         * sysdeps/i386/sysdep.h: Likewise.
10032         * sysdeps/x86_64/sysdep.h: Likewise.
10033         * sysdeps/sh/sysdep.h: Likewise.
10034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10035         Do not define ASM_TYPE_DIRECTIVE.
10036         * sysdeps/powerpc/sysdep.h: Likewise.
10037         * sysdeps/powerpc/powerpc32/sysdep.h:
10038         Replace ASM_TYPE_DIRECTIVE with .type.
10039         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10040         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10041         * sysdeps/i386/fpu/e_powf.S: Likewise.
10042         * sysdeps/i386/fpu/e_expl.S: Likewise.
10043         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10044         * sysdeps/i386/fpu/e_acosh.S: Likewise.
10045         * sysdeps/i386/fpu/e_pow.S: Likewise.
10046         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10047         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10048         * sysdeps/i386/fpu/s_expm1.S: Likewise.
10049         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10050         * sysdeps/i386/fpu/e_log2.S: Likewise.
10051         * sysdeps/i386/fpu/e_log2l.S: Likewise.
10052         * sysdeps/i386/fpu/e_scalb.S: Likewise.
10053         * sysdeps/i386/fpu/e_powl.S: Likewise.
10054         * sysdeps/i386/fpu/e_log10f.S: Likewise.
10055         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10056         * sysdeps/i386/fpu/e_logl.S: Likewise.
10057         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10058         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10059         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10060         * sysdeps/i386/fpu/e_log2f.S: Likewise.
10061         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10062         * sysdeps/i386/fpu/e_log.S: Likewise.
10063         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10064         * sysdeps/i386/fpu/e_logf.S: Likewise.
10065         * sysdeps/i386/fpu/e_log10l.S: Likewise.
10066         * sysdeps/i386/fpu/e_atanh.S: Likewise.
10067         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10068         * sysdeps/i386/fpu/e_log10.S: Likewise.
10069         * sysdeps/i386/fpu/s_frexp.S: Likewise.
10070         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10071         * sysdeps/i386/fpu/s_asinh.S: Likewise.
10072         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10073         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10074         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10075         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10076         * sysdeps/i386/i686/strtok.S: Likewise.
10077         * sysdeps/i386/i386-mcount.S: Likewise.
10078         * sysdeps/i386/strtok.S: Likewise.
10079         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10080         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10081         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10082         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10083         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10084         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10085         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10086         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10087         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10088         * sysdeps/x86_64/_mcount.S: Likewise.
10089         * sysdeps/x86_64/strtok.S: Likewise.
10090         * sysdeps/sh/_mcount.S: Likewise.
10092 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10094         * libio/iofopen.c: Include <fcntl.h>.
10095         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10096         (_IO_fopen64, fopen64): Define as aliases.
10097         * libio/iofopen64.c: Include <fcntl.h>.
10098         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10099         Conditionalize body on this.
10100         * sysdeps/wordsize-64/iofopen.c: File removed.
10101         * sysdeps/wordsize-64/iofopen64.c: File removed.
10103 2012-08-01  Marek Polacek  <polacek@redhat.com>
10105         * libc/Makeconfig: Use elf in place of binfmt-subdir.
10106         Use dlfcn directly instead of a variable.
10107         (binfmt-subdir): Do not define.
10108         (dlfcn): Likewise.
10110 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
10112         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10113         Remove all definitions.
10114         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10115         <kernel-features.h>.
10116         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10117         (miss_F_GETOWN_EX): Remove all definitions.
10118         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10119         macro definition.
10120         [!__ASSUME_FCNTL64]: Remove conditional code.
10121         [__ASSUME_FCNTL64]: Make code unconditional.
10122         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10123         <kernel-features.h>.
10124         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10125         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10126         (lockf64) [__NR_fcntl64]: Make code unconditional.
10127         (lockf64) [__ASSUME_FCNTL64]: Likewise.
10129         * sysdeps/unix/sysv/linux/kernel-features.h
10130         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10131         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10132         Make code unconditional.
10133         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10134         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10136         [__NR_vfork]: Make code unconditional.
10137         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10138         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10140         [__NR_vfork]: Make code unconditional.
10141         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10142         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10144 2012-08-01  Roland McGrath  <roland@hack.frob.com>
10146         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10147         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10149         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10150         Define mkstemp64 as an alias.
10151         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10152         Define mkstemps64 as an alias.
10153         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10154         Define mkostemp64 as an alias.
10155         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10156         Define mkostemps64 as an alias.
10157         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10158         Conditionalize body on this.
10159         * misc/mkostemp64.c: Likewise.
10160         * misc/mkostemps64.c: Likewise.
10161         * misc/mkstemps64.c: Likewise.
10162         * sysdeps/wordsize-64/mkstemp64.c: File removed.
10163         * sysdeps/wordsize-64/mkostemp64.c: File removed.
10164         * sysdeps/wordsize-64/mkostemp.c: File removed.
10165         * sysdeps/wordsize-64/mkstemp.c: File removed.
10166         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10167         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10168         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10169         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10171         [BZ #14138]
10172         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10173         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10174         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10175         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10177         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10178         compat_symbol macros from <shlib-compat.h> rather than the underlying
10179         default_symbol_version and symbol_version macros, so that DEFAULT
10180         lines in shlib-versions are respected.
10181         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10183 2012-08-01  Florian Weimer  <fweimer@redhat.com>
10185         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10186         Declare with warn_unused_result.
10187         (setgid, setregid, setegid, setresgid): Likewise.
10188         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10189         Likewise.
10190         * WUR-REPORT: Remove set*id functions.
10192 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
10194         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10196 2012-07-31  Roland McGrath  <roland@hack.frob.com>
10198         * include/sys/socket.h (__libc_accept, __libc_accept4):
10199         Add attribute_hidden.
10200         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10202         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10203         use of PTR_MANGLE.
10204         * inet/getnetgrent_r.c (setup): Likewise.
10206         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10208 2012-07-31  David S. Miller  <davem@davemloft.net>
10210         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10212 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
10214         [BZ #13629]
10215         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10216         value between 1.0 and 2.0 and smaller part has absolute value less
10217         than 1.0.
10218         * math/s_clog10.c (__clog10): Likewise.
10219         * math/s_clog10f.c (__clog10f): Likewise.
10220         * math/s_clog10l.c (__clog10l): Likewise.
10221         * math/s_clogf.c (__clogf): Likewise.
10222         * math/s_clogl.c (__clogl): Likewise.
10223         * math/libm-test.inc (clog_test): Add more tests.
10224         (clog10_test): Likewise.
10225         * sysdeps/i386/fpu/libm-test-ulps: Update.
10226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10228 2012-07-31  Florian Weimer  <fweimer@redhat.com>
10230         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10231         Exit with zero in case no suitable GID is found, and write a
10232         message to standard error.
10234 2012-07-30  Roland McGrath  <roland@hack.frob.com>
10236         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10237         rather than to 1.
10238         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10239         (MAXPATHLEN): Removed.
10240         (NOGROUP, NODEV): New macros.
10241         (setbit, clrbit, isset, isclr): New macros.
10242         (howmany, roundup, powerof2): New macros.
10243         (DEV_BSIZE): New macro.
10245         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10246         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10248         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10249         definition on [!__NO_LONG_DOUBLE_MATH].
10251         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10252         PTR_MANGLE and PTR_DEMANGLE.
10254         * socket/accept4.c (accept4): Rename to __libc_accept4.
10255         Define accept4 as a weak alias.
10257         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10258         on [_DIRENT_HAVE_D_TYPE].
10259         * io/ftw.c (ftw_dir): Likewise.
10261         * io/xmknod.c (__xmknod): Don't check PATH for being null.
10263         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10265         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10266         Use the BSD numbers rather than the arbitrary ones we had.
10267         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10268         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10269         (SIGXCPU, SIGXFSZ): New macros.
10270         (_NSIG): Now 32.
10272         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10273         initializer on [_LIBC_REENTRANT].
10275         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10276         definitions inside [_POSIX_MAPPED_FILES].
10278         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10280         * dirent/opendir.c: Include <fcntl.h>.
10282         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10283         (__libc_getspecific): Likewise.
10284         (__libc_key_create): Likewise.
10286         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10287         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10288         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10289         (tmpfile64): Define as alias.
10290         * sysdeps/wordsize-64/tmpfile.c: File removed.
10291         * sysdeps/wordsize-64/tmpfile64.c: File removed.
10292         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10293         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10295         * stdio-common/vfscanf.c: Include <stdbool.h>.
10296         * nss/makedb.c: Likewise.
10297         * stdio-common/_i18n_number.h: Likewise.
10298         * argp/argp-help.c: Likewise.
10299         * posix/wordexp.c: Likewise.
10300         * sysdeps/posix/spawni.c: Likewise.
10301         * nss/nss_files/files-initgroups.c: Likewise.
10302         * stdio-common/reg-modifier.c: Include <stdlib.h>.
10303         * nss/nss_files/files-initgroups.c: Likewise.
10304         * nss/nss_db/db-netgrp.c: Likewise.
10305         * nss/nss_db/db-initgroups.c: Likewise.
10306         * io/fchmodat.c: Include <sys/stat.h>.
10308         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10309         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10311         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10312         [HAVE_MMAP].
10314         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10315         Add multiple inclusion protection.
10317 2012-07-27  David S. Miller  <davem@davemloft.net>
10319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10321 2012-07-27  Gary Benson  <gbenson@redhat.com>
10323         [BZ #14298]
10324         * elf/rtld.c: Include <stap-probe.h>.
10325         (dl_main): Added static probes "init_start" and "init_complete".
10326         * elf/dl-load.c: Include <stap-probe.h>.
10327         (lose): Take new parameter "nsid".
10328         Added static probe "map_failed".
10329         (_dl_map_object_from_fd): Pass namespace id to lose.
10330         Added static probe "map_start".
10331         (open_verify): Pass namespace id to lose.
10332         * elf/dl-open.c: Include <stap-probe.h>.
10333         (dl_open_worker) Added static probes "map_complete", "reloc_start"
10334         and "reloc_complete".
10335         * elf/dl-close.c: Include <stap-probe.h>.
10336         (_dl_close_worker): Added static probes "unmap_start" and
10337         "unmap_complete".
10338         * elf/rtld-debugger-interface.txt: New file documenting the above.
10340 2012-07-26  Roland McGrath  <roland@hack.frob.com>
10342         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10343         rather than a string variable.
10344         * sunrpc/rpc_main.c (h_output): Likewise.
10345         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10347 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
10349         * inet/check_native.c: New file.
10351 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
10353         [BZ #13629]
10354         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10355         if larger part has absolute value 1.0.
10356         * math/s_clog10.c (__clog10): Likewise.
10357         * math/s_clog10f.c (__clog10f): Likewise.
10358         * math/s_clog10l.c (__clog10l): Likewise.
10359         * math/s_clogf.c (__clogf): Likewise.
10360         * math/s_clogl.c (__clogl): Likewise.
10361         * math/libm-test.inc (clog_test): Add more tests.
10362         (clog10_test): Likewise.
10363         * sysdeps/i386/fpu/libm-test-ulps: Update.
10364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10366         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10367         (pltexit): Likewise.
10368         (La_regs): Likewise.
10369         (La_retval): Likewise.
10370         (int_retval): Likewise.
10371         Update #error for removed macros to refer only to definitions in
10372         tst-audit.h.
10373         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10374         macro.
10375         (pltexit): Likewise.
10376         (La_regs): Likewise.
10377         (La_retval): Likewise.
10378         (int_retval): Likewise.
10379         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10380         macro.
10381         (pltexit): Likewise.
10382         (La_regs): Likewise.
10383         (La_retval): Likewise.
10384         (int_retval): Likewise.
10385         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10386         macro.
10387         (pltexit): Likewise.
10388         (La_regs): Likewise.
10389         (La_retval): Likewise.
10390         (int_retval): Likewise.
10391         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10392         macro.
10393         (pltexit): Likewise.
10394         (La_regs): Likewise.
10395         (La_retval): Likewise.
10396         (int_retval): Likewise.
10397         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10398         macro.
10399         (pltexit): Likewise.
10400         (La_regs): Likewise.
10401         (La_retval): Likewise.
10402         (int_retval): Likewise.
10403         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10404         macro.
10405         (pltexit): Likewise.
10406         (La_regs): Likewise.
10407         (La_retval): Likewise.
10408         (int_retval): Likewise.
10409         * sysdeps/generic/tst-audit.h: Update comment to refer only to
10410         macro definitions in tst-audit.h.
10411         * sysdeps/i386/tst-audit.h: New file.
10412         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10413         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10414         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10415         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10416         * sysdeps/sh/tst-audit.h: Likewise.
10417         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10418         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10419         * sysdeps/x86_64/tst-audit.h: Likewise.
10421 2012-07-26  Andreas Jaeger  <aj@suse.de>
10423         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10424         ptrace.
10426         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10427         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10428         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10429         PTRACE_O_MASK.
10430         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10431         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10432         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10434         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10435         value.
10437         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10438         _sigsys.
10439         (si_call_addr, si_syscall, si_arch): Define new macro.
10440         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10441         _sigsys.
10442         (si_call_addr, si_syscall, si_arch): Define new marcro.
10443         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10444         _sigsys.
10445         (si_call_addr, si_syscall, si_arch): Define new macro.
10446         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10447         _sigsys.
10448         (si_call_addr, si_syscall, si_arch): Define new macro.
10450 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10452         [BZ #13717]
10453         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10454         Change to 2.4.21 where previously 2.4.1.
10455         * sysdeps/unix/sysv/linux/configure: Regenerated.
10456         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10457         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10458         Linux kernel version.
10459         (__ASSUME_STD_AUXV): Remove.
10460         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10461         kernel version.
10462         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10463         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10464         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10465         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10466         (__ASSUME_NETLINK_SUPPORT): Likewise.
10467         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10468         (__no_netlink_support): Remove conditional definition.
10469         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10470         Remove.
10471         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10472         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10473         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10474         (if_nameindex_ioctl): Remove.
10475         (if_nameindex_netlink): Do not handle __no_netlink_support.
10476         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10477         code.
10478         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10479         Remove conditional code.
10480         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10481         code.
10482         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10483         unconditional.
10484         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10485         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10486         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10487         Remove.
10488         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10489         [!__ASSUME_STD_AUXV]: Remove conditional code.
10490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10491         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10492         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10494         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10495         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10496         code.
10497         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10499         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10500         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10501         conditional code.
10502         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10504         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10505         code.
10506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10507         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10508         conditional code.
10509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10510         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10511         code unconditional.
10512         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10513         conditional code.
10514         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10515         unconditional.
10516         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10517         conditional code.
10518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10519         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10520         unconditional.
10521         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10522         conditional code.
10523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10524         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10525         code unconditional.
10526         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10527         conditional code.
10528         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10529         unconditional.
10530         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10531         conditional code.
10532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10533         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10534         code unconditional.
10535         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10536         conditional code.
10537         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10538         unconditional.
10539         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10540         conditional code.
10542 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
10544         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10545         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10546         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10547         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10548         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10549         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10550         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10551         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10552         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10553         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10554         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10555         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10556         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10557         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10558         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10559         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10560         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10561         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10562         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10564         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10565         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10566         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10568 2012-07-25  Florian Weimer  <fweimer@redhat.com>
10570         * Versions.def: Add GLIBC_2.17.
10571         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10572         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10573         Introduce __libc_secure_getenv.
10574         * stdlib/Versions (2.17): Add secure_getenv
10575         (GLIBC_PRIVATE): Add __libc_secure_getenv.
10576         * stdlib/secure-getenv.c: Rename __secure_getenv to
10577         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
10578         symbol __secure_getenv for GLIBC_2.0.
10579         * stdlib/tst-secure-getenv.c: New.
10580         * stdlib/Makefile (tests): Add testcase.
10581         * manual/startup.texi (Environment Access): Document
10582         secure_getenv.
10583         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10584         __libc_secure_getenv.
10585         * inet/ruserpass.c (ruserpass): Likewise.
10586         * malloc/mtrace.c (mtrace): Likewise.
10587         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
10588         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10589         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10590         * sysdeps/posix/tempname.c: Likewise.  Evaluate
10591         HAVE_SECURE_GETENV.
10592         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
10593         __secure_getenv to __libc_secure_getenv.
10594         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
10595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10596         Likewise.
10597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10598         Likewise.
10599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10601         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10607 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
10609         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10610         (struct La_i86_retval): Likewise.
10611         (struct La_x86_64_regs): Likewise.
10612         (struct La_x86_64_retval): Likewise.
10613         (struct La_x32_regs): Likewise.
10614         (struct La_x32_retval): Likewise.
10615         (struct La_ppc32_regs): Likewise.
10616         (struct La_ppc32_retval): Likewise.
10617         (struct La_ppc64_regs): Likewise.
10618         (struct La_ppc64_retval): Likewise.
10619         (struct La_sh_regs): Likewise.
10620         (struct La_sh_retval): Likewise.
10621         (struct La_s390_32_regs): Likewise.
10622         (struct La_s390_32_retval): Likewise.
10623         (struct La_s390_64_regs): Likewise.
10624         (struct La_s390_64_retval): Likewise.
10625         (struct La_sparc32_regs): Likewise.
10626         (struct La_sparc32_retval): Likewise.
10627         (struct La_sparc64_regs): Likewise.
10628         (struct La_sparc64_retval): Likewise.
10629         (struct audit_ifaces): Remove architecture-specific pltenter and
10630         pltexit members.
10631         * sysdeps/i386/ldsodefs.h: New file.
10632         * sysdeps/powerpc/ldsodefs.h: Likewise.
10633         * sysdeps/s390/ldsodefs.h: Likewise.
10634         * sysdeps/sh/ldsodefs.h: Likewise.
10635         * sysdeps/sparc/ldsodefs.h: Likewise.
10636         * sysdeps/x86_64/ldsodefs.h: Likewise.
10638 2012-07-25  Marek Polacek  <polacek@redhat.com>
10640         [BZ #6808]
10641         * math/libm-test.inc (yn_test): Add another test.
10642         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10643         to ERANGE when the result is +-Inf.
10644         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10645         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10646         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10647         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10649 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
10651         * conform/data/time.h-data (NULL): Use macro-constant.  Require
10652         equal to 0.
10653         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
10654         clock_t.
10655         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
10657 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
10659         * configure.in <sysdeps resolving>: Correct printing
10660         Implies_before.
10661         * configure: Regenerate.
10663 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
10665         * math/w_ilogb.c: Include <limits.h>.
10666         * math/w_ilogbl.c: Likewise.
10668 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10670         * manual/lang.texi (__va_copy): Document primarily as ISO C99
10671         va_copy.  Document allowing for unavailable va_copy only as
10672         pre-C99 compatibility.
10673         * manual/string.texi (Copying and Concatenation): Use va_copy
10674         instead of __va_copy in concat example.
10676 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
10678         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10679         (__sendto): Use create_address_port.  Initialize APORT and deallocate
10680         it if not null.
10682         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10683         with O_NOLINK passed to __file_name_lookup.
10685         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10686         with O_NOLINK passed to __file_name_lookup.
10688         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10689         negative N or less than NGIDS.
10691         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10692         type to string_t.  Set ERANGE as errno and return it if NAME is not big
10693         enough.  Use memcpy instead of strncpy.
10695 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
10697         * elf/Makefile (check-data): Remove.
10698         (localplt.data): New vpath directive.
10699         ($(objpfx)check-localplt.out): Use localplt.data from vpath
10700         instead of $(check-data).
10701         * scripts/data/localplt-generic.data: Move to ...
10702         * sysdeps/generic/localplt.data: ... here.
10703         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10704         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10705         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10707         ... here.
10708         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10710         ... here.
10711         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10713         ... here.
10714         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10716         ... here.
10717         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10719         ... here.
10720         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10722         ... here.
10724 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10726         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10727         PPC32 and PPC64 files.
10728         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10729         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10731 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10733         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10734         __makecontext_ret to ...
10735         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10736         ... here and call exit if uc_link is NULL.  New file.
10737         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10738         __makecontext_ret.S.
10739         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10740         __makecontext_ret to ...
10741         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10742         ... here and call exit if uc_link is NULL.  New file.
10743         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10744         __makecontext_ret.S.
10746 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10748         * elf/elf.h (R_390_IRELATIVE): New definition.
10749         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10750         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
10751         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10752         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10753         (elf_machine_lazy_rel): Likewise.
10754         * sysdeps/s390/dl-irel.h: New file.
10755         * sysdeps/s390/s390-64/memcpy.S: New asm code.
10756         * sysdeps/s390/s390-64/memset.S: New asm code.
10757         * sysdeps/s390/s390-64/memcmp.S: New asm code.
10758         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10759         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10760         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10761         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10762         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10763         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10764         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10765         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10766         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10767         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10768         * sysdeps/s390/s390-32/memcpy.S: New asm code.
10769         * sysdeps/s390/s390-32/memset.S: New asm code.
10770         * sysdeps/s390/s390-32/memcmp.S: New asm code.
10772 2012-07-17  Marek Polacek  <polacek@redhat.com>
10774         [BZ #14349]
10775         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10776         * sysdeps/s390/s390-64/configure.in: Likewise.
10777         * sysdeps/sparc/configure.in: Likewise.
10778         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10779         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10780         * sysdeps/i386/configure.in: Likewise.
10781         * sysdeps/x86_64/configure.in: Likewise.
10782         * sysdeps/sh/configure.in: Likewise.
10783         * sysdeps/s390/s390-32/configure: Regenerated.
10784         * sysdeps/s390/s390-64/configure: Likewise.
10785         * sysdeps/x86_64/configure: Likewise.
10786         * sysdeps/sh/configure: Likewise.
10787         * sysdeps/powerpc/powerpc64/configure: Likewise.
10788         * sysdeps/powerpc/powerpc32/configure: Likewise.
10789         * sysdeps/sparc/configure: Likwise.
10790         * sysdeps/i386/configure: Likewise.
10792         * elf/dl-open.c: Comment fixes.
10794 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
10796         * Makefile [CXX] (check-data): Remove.
10797         [CXX] (c++-types.data): New vpath directive.
10798         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10799         vpath.  Do not allow for C++ type data being missing.
10800         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10801         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10802         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10803         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10804         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10805         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10806         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10808         ... here.
10809         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10811         ... here.
10812         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10814         ... here.
10815         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10817         ... here.
10818         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10820         ... here.
10821         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10823         ... here.
10824         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10826         ... here.
10827         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10830         * elf/tls-macros.h (TLS_LE): Move architecture-specific
10831         definitions to architecture-specific files.
10832         (TLS_IE): Likewise.
10833         (TLS_LD): Likewise.
10834         (TLS_GD): Likewise.
10835         * sysdeps/i386/tls-macros.h: New file.
10836         * sysdeps/powerpc/tls-macros.h: Likewise.
10837         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10838         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10839         * sysdeps/sh/tls-macros.h: Likewise.
10840         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10841         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10842         * sysdeps/x86_64/tls-macros.h: Likewise.
10844 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10846         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10847         zero value for regular exit case.
10849         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10850         (__start_context): Preserve zero value for regular exit case.
10852 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
10853             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10855         * manual/setjmp.texi (setcontext): Clarify normal process
10856         termination when uc_link is the null pointer.
10857         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10858         exit call.
10860 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
10862         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10863         preprocessor.  Test for each exception mask separately.
10865 2012-07-16  Andreas Jaeger  <aj@suse.de>
10867         * po/ru.po: Update from translation team.
10869 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
10871         * conform/data/string.h-data (NULL): Use macro-constant.  Require
10872         equal to 0.
10873         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10874         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10875         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10876         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10877         [ISO || ISO99 || ISO11] (*_t): Do not allow.
10879 2012-07-13  Andreas Jaeger  <aj@suse.de>
10881         * po/fr.po: Update from translation team.
10883 2012-07-12  Marek Polacek  <polacek@redhat.com>
10885         [BZ #14173]
10886         * math/libm-test.inc (yn_test): Add test for BZ #14173.
10887         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10888         loop condition.
10890 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
10892         [BZ #13717]
10893         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10894         Change to 2.4.1 where previously 2.4.0.
10895         * sysdeps/unix/sysv/linux/configure: Regenerated.
10896         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10897         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10898         version.
10899         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10900         (__ASSUME_AT_CLKTCK): Remove.
10901         (__ASSUME_AT_PAGESIZE): Likewise.
10902         (__ASSUME_AT_XID): Likewise.
10903         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10904         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10905         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10906         unconditionally.
10907         (HAVE_AUX_PAGESIZE): Likewise.
10908         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10909         [__ASSUME_AT_CLKTCK]: Make code unconditional.
10910         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10912 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
10914         [BZ #14307]
10915         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10916         the temporary buffer used to invoke __gethostbyname2_r,
10917         __gethostbyaddr_r and gethostbyname4_r to make room for struct
10918         host_data / struct gaih_addrtuple.
10919         * resolv/nss_dns/dns-host.c (global scope): Move definition of
10920         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10921         header file nss/nsswitch.h.
10922         * nss/nsswitch.h (global scope): Add definition of implementation
10923         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10924         resolv/nss_dns/dns-host.c).
10926 2012-07-11  Andreas Jaeger  <aj@suse.de>
10928         * po/fr.po: Update from translation team.
10930         * po/sv.po: Update from translation team
10931         * po/fr.po: Another update from translation team.
10933 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10935         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10936         for subnormals or multiply small sinh result by itself.
10937         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10940 2012-07-11  David S. Miller  <davem@davemloft.net>
10942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10944 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
10946         [BZ #14347]
10947         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10948         (INTERNAL_MARK): Shift it here.
10950 2012-07-10  Marek Polacek  <polacek@redhat.com>
10952         [BZ #14151]
10953         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
10954         libc_cv_asm_global_directive with .globl.
10955         * configure: Regenerated.
10956         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10957         with .globl.
10958         * sysdeps/i386/configure: Regenerated.
10959         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10960         with .globl.
10961         * sysdeps/x86_64/configure: Regenerated.
10962         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10963         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10964         * elf/tst-unique2mod2.c: Likewise.
10965         * elf/tst-unique2mod1.c: Likewise.
10966         * elf/tst-unique1mod2.c: Likewise.
10967         * elf/tst-unique1mod1.c: Likewise.
10968         * sysdeps/s390/s390-32/sysdep.h: Likewise.
10969         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10970         * sysdeps/s390/s390-64/sysdep.h: Likewise.
10971         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10972         * sysdeps/mach/sysdep.h: Likewise.
10973         * sysdeps/i386/sysdep.h: Likewise.
10974         * sysdeps/i386/i386-mcount.S: Likewise.
10975         * sysdeps/x86_64/_mcount.S: Likewise.
10976         * sysdeps/x86_64/sysdep.h: Likewise.
10977         * sysdeps/sh/_mcount.S: Likewise.
10978         * sysdeps/sh/sysdep.h: Likewise.
10979         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10980         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10981         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10982         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10983         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10984         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10985         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10986         * locale/localeinfo.h: Likewise.
10987         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10988         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10990 2012-07-09  Roland McGrath  <roland@hack.frob.com>
10992         [BZ #14336]
10993         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10994         system".
10995         * manual/message.texi (The Uniforum approach): Likewise.
10996         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10997         (glibc iconv Implementation): Likewise.
10999 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
11001         [BZ #14337]
11002         * math/s_clog.c (__clog): Avoid scaling a value down where that
11003         could result in underflow.
11004         * math/s_clog10.c (__clog10): Likewise.
11005         * math/s_clog10f.c (__clog10f): Likewise.
11006         * math/s_clog10l.c (__clog10l): Likewise.
11007         * math/s_clogf.c (__clogf): Likewise.
11008         * math/s_clogl.c (__clogl): Likewise.
11009         * math/libm-test.inc (clog_test): Add more tests.
11010         (clog10_test): Likewise.
11011         * sysdeps/i386/fpu/libm-test-ulps: Update.
11012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11014 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
11016         [BZ #14283]
11017         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11018         by 7 not 8 to examine high bit of fractional part.
11020         [BZ #14042]
11021         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11022         for call to __mcount_internal.
11023         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11024         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11025         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11027 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
11029         [BZ #14154]
11030         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11031         approximation for values within 0x1p-13f of an odd multiple of
11032         pi/4.
11033         * math/libm-test.inc (tan_test): Do not allow spurious underflow
11034         exception.  Add more tests.
11035         * sysdeps/i386/fpu/libm-test-ulps: Update.
11037         [BZ #6778]
11038         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11039         inputs and return -1 for them.  Do not check for +Inf in case not
11040         reachable for +Inf.
11041         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11042         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11043         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11044         and return -1 for them.  Do not check for +Inf in case not
11045         reachable for +Inf.
11046         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11047         define.
11048         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11049         and return -1 for them.  Do not check for +Inf in case not
11050         reachable for +Inf.
11051         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
11052         spurious underflow.
11053         * sysdeps/i386/fpu/libm-test-ulps: Update.
11054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11056 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
11058         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11060 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
11062         [BZ #14157]
11063         [BZ #14331]
11064         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11065         could result in spurious underflow.  Scale down values above
11066         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11067         * math/s_csqrtf.c (__csqrtf): Likewise.
11068         * math/s_csqrtl.c (__csqrtl): Likewise.
11069         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
11070         spurious underflow.
11071         * sysdeps/i386/fpu/libm-test-ulps: Update.
11072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11074 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11076         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11077         xopen-msg.sed.
11078         * catgets/xopen-msg.awk: New file.
11079         * catgets/xopen-msg.sed: Removed.
11081         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11082         po2text.sed.
11083         * intl/po2test.awk: New file.
11084         * intl/po2test.sed: Removed.
11086 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
11088         [BZ #14328]
11089         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11090         or multiply small sinh result by itself.
11091         * math/s_ctanf.c (__ctanf): Likewise.
11092         * math/s_ctanh.c (__ctanh): Likewise.
11093         * math/s_ctanhf.c (__ctanhf): Likewise.
11094         * math/s_ctanhl.c (__ctanhl): Likewise.
11095         * math/s_ctanl.c (__ctanl): Likewise.
11096         * math/libm-test.inc (ctan_test_tonearest): New function.
11097         (ctan_test_towardzero): Likewise.
11098         (ctan_test_downward): Likewise.
11099         (ctan_test_upward): Likewise.
11100         (ctanh_test_tonearest): Likewise.
11101         (ctanh_test_towardzero): Likewise.
11102         (ctanh_test_downward): Likewise.
11103         (ctanh_test_upward): Likewise.
11104         (main): Call these new functions.
11105         * sysdeps/i386/fpu/libm-test-ulps: Update.
11106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11108 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
11110         * .gitignore: Delete /ports entry.
11112 2012-07-03  Andreas Jaeger  <aj@suse.de>
11114         * po/bg.po: Update from translation team.
11115         * po/cs.po: Likewise.
11116         * po/de.po: Likewise.
11117         * po/hr.po: Likewise.
11118         * po/nl.pl: Likewise.
11119         * po/pl.po: Likewise.
11120         * po/vi.po: Likewise.
11122 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
11124         * Makeconfig [!+link] (+link-before-libc): New variable.
11125         [!+link] (+link-after-libc): Likewise.
11126         [!+link] (+link-tests): Likewise.
11127         [!+link] (+link): Define in terms of $(+link-before-libc) and
11128         $(+link-after-libc).
11129         [!+link-static] (+link-static-before-libc): New variable.
11130         [!+link-static] (+link-static-after-libc): Likewise.
11131         [!+link-static] (+link-static-tests): Likewise.
11132         [!+link-static] (+link-static): Define in terms of
11133         $(+link-static-before-libc) and $(+link-static-after-libc).
11134         [build-shared] (link-libc-before-gnulib): New variable.
11135         [build-shared] (link-libc-tests): Likewise.
11136         [build-shared] (link-libc): Define in terms of
11137         $(link-libc-before-gnulib).
11138         [!build-shared] (link-libc-tests): New variable.
11139         (link-libc-static-tests): New variable.
11140         [!gnulib] (gnulib-arch): New variable.
11141         [!gnulib] (gnulib-tests): Likewise.
11142         [!gnulib] (static-gnulib-arch): Likewise.
11143         [!gnulib] (static-gnulib-tests): Likewise.
11144         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
11145         Define with "=" instead of ":=".
11146         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
11147         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
11148         * Rules (binaries-all-notests): New variable.
11149         (binaries-all-tests): Likewise.
11150         (binaries-static-notests): Likewise.
11151         (binaries-static-tests): Likewise.
11152         (binaries-all): Define using $(binaries-all-notests) and
11153         $(binaries-all-tests).
11154         (binaries-static): Define using $(binaries-static-notests) and
11155         $(binaries-static-tests).
11156         (binaries-shared-tests): New variable.
11157         (binaries-shared-notests): Likewise.
11158         (binaries-shared): Remove variable.
11159         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11160         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11161         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11162         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11163         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11164         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11165         * elf/Makefile (sln-modules): New variable.
11166         (extra-objs): Add $(sln-modules:=.o).
11167         (ldconfig-modules): Add static-stubs.
11168         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11169         * elf/static-stubs.c: New file.
11171         [BZ #14283]
11172         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11173         by 7 not 8 to examine high bit of fractional part.  Use volatile
11174         variables when splitting into final array of floats if
11175         __FLT_EVAL_METHOD__ != 0.
11176         * math/libm-test.inc (cos_test): Add another test.
11177         (sin_test): Likewise.
11178         * sysdeps/i386/fpu/libm-test-ulps: Update.
11180         [BZ #14273]
11181         * math/libm-test.inc (cosh_test): Add more tests.
11183         * version.h (RELEASE): Set to "development".
11184         (VERSION): Set to "2.16.90".
11186 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
11188         * NEWS: Update copyright. Remove last-updated date.
11189         Mention math library bug fixes and timezone data changes.
11190         * README: Mention GNU/Hurd, x32, and HPPA support status.
11192 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
11194         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11196 2012-06-27  Andreas Jaeger  <aj@suse.de>
11198         * manual/contrib.texi (Contributors): Add Samuel Thibault.
11200 2012-06-25  Andreas Jaeger  <aj@suse.de>
11202         * sysdeps/s390/fpu/libm-test-ulps: Update.
11204 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
11205             Thomas Schwinge  <thomas@codesourcery.com>
11207         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11208         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11209         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11210         fanotify_mark.
11212 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
11214         * sysdeps/mach/start.c: Remove file.
11215         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11216         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11217         * sysdeps/sh/init-first.c: Likewise.
11219         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11220         registers for frame unwinding purposes, add CFI directives.
11221         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11222         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11223         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11224         Likewise.
11226         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11227         __fortify_fail returning.
11228         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11230         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11231         sysdeps/sh/____longjmp_chk.S.
11232         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11233         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11234         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11235         (gen-as-const-headers): Append sigaltstack-offsets.sym.
11237         * sysdeps/sh/abort-instr.h: New file.
11238         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11239         process in case exit returns.
11241         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11242         initialize the GOT register before use.
11244         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11245         calculation of ARGC > 4.
11247         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11248         meaningful names to some local labels.
11250 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
11251             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11253         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11254         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11255         (__arch_compare_and_exchange_val_16_acq): Likewise.
11256         (__arch_compare_and_exchange_val_32_acq): Likewise.
11257         (atomic_exchange_and_add): Fix gUSA sequence.
11258         (atomic_add): Likewise.
11259         (atomic_add_negative): Likewise.
11260         (atomic_add_zero): Likewise.
11261         (atomic_bit_test_set): Likewise.
11263 2012-06-22  Andreas Schwab  <schwab@redhat.com>
11265         [BZ #13579]
11266         * include/link.h (struct link_map): Add l_free_initfini.
11267         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11268         l_initfini.
11269         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11270         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11271         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11272         set.
11274 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
11276         * configure.in: Use AC_LANG_SOURCE.
11277         * configure: Regenerate.
11279 2012-06-22  Roland McGrath  <roland@hack.frob.com>
11281         * configure.in (libc_cv_localstatedir): New substituted variable.
11282         * configure: Regenerated.
11283         * config.make.in (localstatedir): New variable, substituted from
11284         libc_cv_localstatedir.
11285         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11286         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11287         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11288         * sysdeps/gnu/configure: Regenerated.
11290 2012-06-21  Jeff Law  <law@redhat.com>
11292         [BZ #14277]
11293         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11294         free.  Simplify list management for _LIBC case.
11296 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
11298         [BZ #14273]
11299         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11300         Clear sign bit of 64-bit integer value before comparing against
11301         overflow value.
11303         * sysdeps/mach/configure: Regenerated.
11305 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
11307         [BZ #14278]
11308         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11310 2012-06-21  Jeff Law  <law@redhat.com>
11312         [BZ #13882]
11313         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
11314         uint16_t for elements in the "seen" array to avoid char overflows.
11315         * elf/dl-fini.c (_dl_sort_fini): Likewise.
11316         * elf/dl-open.c (dl_open_worker): Likewise.
11318 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
11320         * scripts/list-sources.sh: Scan PORTS for translations.
11321         * po/libc.pot: Regenerated.
11323 2012-06-21  Andreas Jaeger  <aj@suse.de>
11325         [BZ #12194]
11326         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11327         warning.
11328         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11329         * bits/byteswap-16.h (__bswap_16): Likewise.
11330         * bits/byteswap.h (__bswap_constant_16): Likewise.
11332 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
11334         [BZ #14117]
11335         * sysdeps/i386/fpu_control.h: Removed.
11336         * sysdeps/x86_64/fpu_control.h: Moved to ...
11337         * sysdeps/x86/fpu_control.h: Here.
11339         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11340         (_FPU_SETCW): Likewise.
11342 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
11344         [BZ #14117]
11345         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11346         * sysdeps/x86/fpu/bits/mathinline.h: This.
11347         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11349         [BZ #14050]
11350         [BZ #14117]
11351         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11352         functions if __x86_64__ is defined.
11354 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
11356         * string/endian.h: Add !__ASSEMBLER__ condition for including
11357         conversion interfaces.
11359 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
11361         [BZ #14241]
11362         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11363         of ABS(x) in calculating zero to negative powers other than odd
11364         integers.
11365         * math/libm-test.inc (pow_test): Add more tests.
11367 2012-06-15  Andreas Jaeger  <aj@suse.de>
11369         * manual/contrib.texi (Contributors): Update entry of Liubov
11370         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11371         Machado Filho.
11373 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
11375         * string/string.h: Add __wur to GNU version of strerror_r.
11377 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
11379         [BZ #14229]
11380         * string/Makefile (tests): Add tst-strtok_r.
11381         * string/tst-strtok_r.c: New file.
11382         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11383         RAX_LP/RDX_LP on SAVE_PTR.
11385 2012-06-14  Roland McGrath  <roland@hack.frob.com>
11387         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11389 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
11391         * libm_test.inc (csqrt_test): Allow more spurious underflow
11392         exceptions.
11393         (j0_test): Likewise.
11394         (j1_test): Likewise.
11395         (y0_test): Likewise.
11396         (y1_test): Likewise.
11398 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
11400         * po/Makefile (libc.pot): Use UTF-8 charset.
11402 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
11404         [BZ #14210]
11405         Suppress sign-conversion warning from FD_SET.
11406         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11407         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11408         not unsigned long int.
11409         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11411 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
11413         [BZ #14050]
11414         [BZ #14117]
11415         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11416         __extern_always_inline instead of __extern_inline.
11417         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11418         (__signbit): Likewise.
11419         (__signbitl): Support C++ namespace.
11420         (lrintf): New inline function.
11421         (lrint): Likewise.
11422         (llrintf): Likewise.
11423         (llrint): Likewise.
11424         (fmaxf): Likewise.
11425         (fmax): Likewise.
11426         (fminf): Likewise.
11427         (fmin): Likewise.
11428         (rint): Likewise.
11429         (rintf): Likewise.
11430         (ceil): Likewise.
11431         (ceilf): Likewise.
11432         (floor): Likewise.
11433         (floorf): Likewise.
11434         (nearbyint): Likewise.
11435         (nearbyintf): Likewise.
11437 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
11439         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11440         non-default versions.
11442 2012-06-11  Roland McGrath  <roland@hack.frob.com>
11444         [BZ #14218]
11445         * manual/argp.texi (Argp): Reword argp_parse description slightly.
11447 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
11449         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11450         (FE_UPWARD, FE_DOWNWARD): Don't define.
11451         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11452         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11454         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11455         reading it.
11456         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11457         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11459 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11461         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11462         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11463         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11464         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11466 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
11468         [BZ #14117]
11469         * sysdeps/i386/fpu/bits/fenv.h: Removed.
11470         * sysdeps/i386/fpu/Implies: New file.
11471         * sysdeps/x86_64/fpu/Implies: Likewise.
11472         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11473         * sysdeps/x86/fpu/bits/fenv.h: This.
11475         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11476         __SSE_MATH__.
11478 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11480         [BZ #14134]
11481         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11482         character 0xffff that matches the last element of the
11483         conversion table.
11485 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11487         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11488         fmodl commit.
11490 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11492         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11493         values higher than 25.6283.
11495 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11497         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11498         subnormal exponent extraction and add some __builtin_expect.
11499         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11500         Fix for subnormal mantissa calculation.
11502 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
11504         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11505         cpu2 is -1 and errno is not ENOSYS.
11507 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
11509         [BZ #14117]
11510         * sysdeps/i386/i486/bits/string.h: Renamed to ...
11511         * sysdeps/x86/bits/string.h: This.
11512         * sysdeps/x86_64/bits/string.h: Removed.
11514         * sysdeps/i386/i486/bits/string.h: Define inline functions only
11515         if not compiling for x86-64, but compiling for >= i486.
11517         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11518         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11520         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11521         New macro from Linux kernel 3.4.0.
11522         (FP_XSTATE_MAGIC2): Likewise.
11523         (FP_XSTATE_MAGIC2_SIZE): Likewise.
11524         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11525         (struct _fpx_sw_bytes): New struct.
11526         (struct _xsave_hdr): Likewise.
11527         (struct _ymmh_state): Likewise.
11528         (struct _xstate): Likewise.
11530         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11531         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11532         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11533         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11534         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11535         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11537         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11538         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11539         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11540         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11541         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11542         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11544 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11546         [BZ #13743]
11547         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11548         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11549         (sysdep_headers): Include sys/platform/ppc.h.
11550         * sysdeps/powerpc/test-gettimebase.c: Test for
11551         __ppc_get_timebase() to catch future ISA opcode/insn changes.
11552         * manual/Makefile (appendices): Include platform.texi.
11553         * manual/contrib.texi (Contributors): Update @node pointers.
11554         * manual/maint.texi (Maintenance): Likewise.
11555         (Platform): New node.
11556         * manual/platform.texi: New file.  Document the new features.
11558 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11559             Jakub Jelinek  <jakub@redhat.com>
11561         [BZ #14188]
11562         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11563         where __builtin_expect is unavailable.
11565 2012-06-03  David S. Miller  <davem@davemloft.net>
11567         * stdlib/longlong.h: Updated from GCC.
11569 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
11571         [BZ #14042]
11572         * sysdeps/powerpc/powerpc32/mcount.c: New file.
11573         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11574         __mcount_internal.
11575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11576         (GLIBC_2.16): Likewise.
11578 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11580         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11582 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11585         (default-abi): New variable.
11586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11587         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11588         variable.
11589         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11590         Likewise.
11591         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11592         Likewise.
11593         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11594         Likewise.
11596         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11597         definition.  Document in comment.
11599 2012-06-01  David S. Miller  <davem@davemloft.net>
11601         * stdlib/longlong.h: Updated from GCC.
11603 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11605         [BZ #14117]
11606         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11607         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11608         sys/debugreg.h sys/io.h here.
11609         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11610         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11611         sys/io.h.
11612         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11613         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11614         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11615         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11616         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11617         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11619         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11620         Define only if __x86_64__ is defined.
11622 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
11624         [BZ #14048]
11625         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11626         Use int64_t for variable i.
11627         * math/libm-test.inc (fmod_test): Add more tests.
11629         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11630         z computation is not scheduled after fetestexcept.
11631         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11632         Use math_force_eval instead of asm to ensure calculation scheduled
11633         before exception test.
11634         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11635         Ensure a1 + u.d computation is not scheduled after fetestexcept.
11637 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
11639         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11640         computation is not scheduled after fetestexcept.
11642 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
11644         [BZ #14117]
11645         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11646         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11648 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11650         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11651         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11653 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11655         [BZ #14117]
11656         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11657         <bits/wordsize.h>.
11658         (__WCHAR_MIN): Support __WORDSIZE == 64.
11659         (__WCHAR_MAX): Likewise.
11661         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11662         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11664         [BZ #14183]
11665         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11666         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11668         [BZ #14117]
11669         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11670         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11672         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11673         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11675         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11676         Defined to 1 if __x86_64__ isn't defined.
11677         (_STAT_VER_LINUX_OLD): New.
11678         (st_atime): Remove duplicate.
11679         (st_mtime): Likewise.
11680         (st_ctime): Likewise.
11682 2012-05-31  David S. Miller  <davem@davemloft.net>
11684         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11685         entries.
11687 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
11689         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11690         gen-libm-test.pl.
11692         [BZ #14132]
11693         * elf/dl-reloc.c: Include <_itoa.h>.
11694         (_dl_reloc_bad_type): Remove use of INTUSE.
11695         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11696         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11697         * stdio-common/psiginfo.c (psiginfo): Likewise.
11698         * stdio-common/psignal.c (psignal): Likewise.
11699         * string/strsignal.c (strsignal): Likewise.
11700         * include/signal.h (_sys_siglist): Declare hidden proto.
11701         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
11702         INTVARDEF with libc_hidden_data_def.
11703         * stdio-common/itoa-udigits.c: Likewise.
11704         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11705         (_itoa_lower_digits_internal): Remove declaration.
11706         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11707         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11708         (_sys_sigabbrev_internal): Remove aliases.
11709         (_sys_siglist): Define hidden alias.
11711 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
11713         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11714         bits/sysctl.h.
11716 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
11718         [BZ #14117]
11719         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11720         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11722         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11723         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11724         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11725         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11726         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11727         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11729         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11730         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11731         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11733         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11734         with __addr.
11735         (insw): Likewise.
11736         (insl): Likewise.
11737         (outsb): Likewise.
11738         (outsw): Likewise.
11739         (outsl): Likewise.
11741         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11742         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11743         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11745         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11746         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11747         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11748         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11749         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11750         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11752         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11753         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11755         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11756         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11758         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11759         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11760         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11762         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11763         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11764         to ...
11765         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11767         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11768         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11769         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11771         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11772         for x86-64.
11773         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11775 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
11777         * math/math.h (M_El): Use two more decimal places.
11778         (M_LOG2El): Likewise.
11779         (M_LOG10El): Likewise.
11780         (M_LN2l): Likewise.
11781         (M_LN10l): Likewise.
11782         (M_PIl): Likewise.
11783         (M_PI_2l): Likewise.
11784         (M_PI_4l): Likewise.
11785         (M_1_PIl): Likewise.
11786         (M_2_PIl): Likewise.
11787         (M_2_SQRTPIl): Likewise.
11788         (M_SQRT2l): Likewise.
11789         (M_SQRT1_2l): Likewise.
11791 2012-05-31  David S. Miller  <davem@davemloft.net>
11793         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11794         values between float registers.
11795         * sysdeps/sparc/sparc64/memset.S: Likewise.
11796         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11798 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
11800         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11801         -D_FORTIFY_SOURCE=1.
11802         (CPPFLAGS-tst-longjmp_chk.c): Define.
11803         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11804         (CPPFLAGS-tst-longjmp_chk2.c): Define.
11805         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11806         CFLAGS-tst-wchar-h.c.
11808 2012-05-31  Marek Polacek  <polacek@redhat.com>
11810         [BZ #14132]
11811         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11812         __endmntent_internal): Remove declaration.
11813         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11814         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11815         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11817 2012-05-30  David S. Miller  <davem@davemloft.net>
11819         * sysdeps/sparc/sparc32/soft-fp/q_util.c
11820         (___Q_simulate_exceptions): Use real FP ops rather than writing
11821         into the %fsr.
11822         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11823         Likewise.
11825 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11827         [BZ #14117]
11828         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11829         * sysdeps/x86/bits/xtitypes.h: This.
11831         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11832         * sysdeps/x86/bits/wordsize.h: This.
11834         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11835         * sysdeps/x86/bits/huge_vall.h: This.
11837         * sysdeps/i386/bits/select.h: Removed.
11838         * sysdeps/x86_64/bits/select.h: Renamed to ...
11839         * sysdeps/x86/bits/select.h: This.
11841         * sysdeps/i386/bits/setjmp.h: Removed.
11842         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11843         * sysdeps/x86/bits/setjmp.h: This.
11845         * sysdeps/i386/bits/mathdef.h: Removed.
11846         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11847         * sysdeps/x86/bits/mathdef.h: This.
11849 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
11851         [BZ #14132]
11852         * include/sys/socket.h (__connect_internal)
11853         (__libc_sa_len_internal): Remove declaration.
11854         (__connect, __libc_sa_len): Declare hidden_proto.
11855         (SA_LEN): Remove use of INTUSE.
11856         * socket/connect.c: Add libc_hidden_def.
11857         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11858         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11859         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11860         alias.
11861         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11862         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11863         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11864         of adding _internal alias.
11866 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11868         [BZ #14117]
11869         * sysdeps/i386/bits/link.h: Removed.
11870         * sysdeps/i386/bits/linkmap.h: Likewise.
11871         * sysdeps/x86_64/bits/link.h: Renamed to ...
11872         * sysdeps/x86/bits/link.h: This.
11873         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11874         * sysdeps/x86/bits/linkmap.h: This.
11876         * sysdeps/i386/bits/endian.h: Removed.
11877         * sysdeps/x86_64/bits/endian.h: Renamed to ...
11878         * sysdeps/x86/bits/endian.h: This.
11880         * sysdeps/i386/bits/byteswap.h: Removed.
11881         * sysdeps/i386/bits/byteswap-16.h: Likewise.
11882         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11883         * sysdeps/x86/bits/byteswap.h: This.
11884         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11885         * sysdeps/x86/bits/byteswap-16.h: This.
11886         * sysdeps/i386/Implies: Add x86.
11887         * sysdeps/x86_64/Implies: Likewise.
11889 2012-05-30  David S. Miller  <davem@davemloft.net>
11891         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11892         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11893         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11894         (FP_TRAPPING_EXCEPTIONS): Define.
11895         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11896         (FP_TRAPPING_EXCEPTIONS): Define.
11897         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11898         subnormals only when inexact has been signalled or underflow
11899         exceptions are enabled.
11900         (_FP_PACK_CANONICAL): Likewise.
11902 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11904         [BZ #14183]
11905         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11906         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11908 2012-05-30  Richard Henderson  <rth@twiddle.net>
11910         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11911         with #ifndef NOT_IN_libc.
11913         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
11914         marked to avoid plt entry.
11916 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
11918         [BZ #14112]
11919         * Makeconfig (default-abi): New macro.
11920         (abi-includes): Likewise.
11921         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
11922         $(abi-$(default-abi)-lib-soname) for soname if defined.
11923         ($(common-objpfx)gnu/lib-names.stmp): Generate from
11924         abi-variants.
11925         * Makefile (installed-stubs): Likewise.
11926         * include/stubs-biarch.h: Removed.
11927         * scripts/lib-names.awk: Only handle one library at a time.
11928         * scripts/soversions.awk: Remove WORDSIZE support.
11929         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11930         entries.
11931         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11932         Removed.
11933         (syscall-list-default-condition): Likewise.
11934         (syscall-list-default-condition): Likewise.
11935         (syscall-list-includes): Likewise.
11936         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11937         syscall-list-* with abi-*.  Handle undefined abi-variants.
11938         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11939         * sysdeps/unix/sysv/linux/i386/Implies: New file.
11940         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11941         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11942         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11943         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11944         Removed.
11945         (syscall-list-32-options): Likewise.
11946         (syscall-list-32-condition): Likewise.
11947         (syscall-list-64-options): Likewise.
11948         (syscall-list-64-condition): Likewise.
11949         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11950         macro.
11951         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11952         Renamed to ...
11953         (abi-*): This.
11954         (abi-64-ld-soname): New macro.
11955         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11956         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11957         Renamed to ...
11958         (abi-*): This.
11959         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11960         * sysdeps/x86_64/x32/shlib-versions: Likewise.
11962 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
11964         * sysdeps/unix/sysv/linux/kernel-features.h
11965         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11966         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11967         include <kernel-features.h>.
11968         [!__NR_ftruncate64]: Remove conditional code.
11969         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11970         [__NR_ftruncate64]: Make code unconditional.
11971         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11972         * sysdeps/unix/sysv/linux/truncate64.c: Do not
11973         include <kernel-features.h>.
11974         [!__NR_ftruncate64]: Remove conditional code.
11975         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11976         [__NR_ftruncate64]: Make code unconditional.
11977         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11979         include <kernel-features.h>.
11980         [!__NR_ftruncate64]: Remove conditional code.
11981         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11982         [__NR_ftruncate64]: Make code unconditional.
11983         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11985         include <kernel-features.h>.
11986         [!__NR_ftruncate64]: Remove conditional code.
11987         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11988         [__NR_ftruncate64]: Make code unconditional.
11989         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11991         * configure.in (libc_cv_fpie): Weaken to a compile test using
11992         LIBC_TRY_CC_OPTION.
11993         * configure: Regenerated.
11995 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12001         Refreshed.
12002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12003         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12008         Refreshed.
12010 2012-05-27  David S. Miller  <davem@davemloft.net>
12012         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12013         (___Q_zero): New.
12014         (__Q_simulate_exceptions): Return void.  Change to simulate
12015         exceptions by writing into the %fsr.
12016         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12017         (__Qp_handle_exceptions): Likewise.
12018         (numbers): Delete.
12019         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12020         __Qp_handle_exceptions.
12021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12022         __Qp_handle_exceptions.
12023         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12024         as unused and give dummy FP_RND_NEAREST initializer.
12025         (FP_INHIBIT_RESULTS): Define.
12026         (___Q_simulate_exceptions): Update declaration.
12027         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12028         formatting.
12029         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12030         as unused and give dummy FP_RND_NEAREST initializer.
12031         (__Qp_handle_exceptions): Update declaration.
12032         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12033         formatting.
12035 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
12037         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12038         the temporary FPU control word.
12039         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12040         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12041         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12042         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12043         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12044         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12045         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12046         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12047         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12048         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12049         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12051 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12053         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12054         fields.
12056 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
12058         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12059         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12060         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12061         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12062         Likewise.
12063         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12064         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12065         Likewise.
12067 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
12069         * po/h.po: Update from translation team.
12071 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
12073         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12075         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12076         handling of denormals.
12077         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12078         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12079         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12080         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12081         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12082         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12084         Likewise.
12086 2012-05-26  Marek Polacek  <polacek@redhat.com>
12088         [BZ #14152]
12089         * math/libm-test.inc (fma_test): Don't always expect underflow
12090         exception.
12092 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12094         [BZ #12416]
12095         * elf/tst-execstack.c: Include stackinfo.h.
12096         (do_test): Adjust test case to ensure that pthread_getattr_np
12097         behaviour remains the same after marking stack executable.
12099 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12101         * sysdeps/unix/sysv/linux/kernel-features.h
12102         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12103         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12104         kernel-features.h.
12105         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12106         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12107         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12108         kernel-features.h.
12109         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12110         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12112 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
12114         * configure.in: Define the default includes to being none.
12115         * configure: Regenerated.
12117 2012-05-25  Roland McGrath  <roland@hack.frob.com>
12119         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12120         * sysdeps/x86_64/setjmp.S: Likewise.
12121         * sysdeps/i386/bsd-setjmp.S: Likewise.
12122         * sysdeps/i386/bsd-_setjmp.S: Likewise.
12123         * sysdeps/i386/setjmp.S: Likewise.
12124         * sysdeps/i386/__longjmp.S: Likewise.
12125         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12126         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12128         * include/stap-probe.h: New file.
12129         * configure.in: Handle --enable-systemtap.
12130         * configure: Regenerated.
12131         * config.h.in (USE_STAP_PROBE): New #undef.
12132         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12133         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12134         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12136 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
12138         [BZ #13717]
12139         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12140         to 2.4.0 where earlier.
12141         * sysdeps/unix/sysv/linux/configure: Regenerated.
12142         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12143         <kernel-features.h>.
12144         [__ASSUME_32BITUIDS]: Make code unconditional.
12145         [!__ASSUME_32BITUIDS]: Remove conditional code.
12146         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12147         <kernel-features.h>.
12148         [__ASSUME_32BITUIDS]: Make code unconditional.
12149         [!__ASSUME_32BITUIDS]: Remove conditional code.
12150         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12151         [__ASSUME_32BITUIDS]: Make code unconditional.
12152         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12153         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12154         <kernel-features.h>.
12155         [__ASSUME_32BITUIDS]: Make code unconditional.
12156         [!__ASSUME_32BITUIDS]: Remove conditional code.
12157         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12158         <kernel-features.h>.
12159         [__ASSUME_32BITUIDS]: Make code unconditional.
12160         [!__ASSUME_32BITUIDS]: Remove conditional code.
12161         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12162         <kernel-features.h>.
12163         [__ASSUME_32BITUIDS]: Make code unconditional.
12164         [!__ASSUME_32BITUIDS]: Remove conditional code.
12165         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12166         <kernel-features.h>.
12167         [__ASSUME_32BITUIDS]: Make code unconditional.
12168         [!__ASSUME_32BITUIDS]: Remove conditional code.
12169         * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
12194         <kernel-features.h>.
12195         [__NR_setresgid] (__setresgid): Do not declare.
12196         [__ASSUME_32BITUIDS]: Make code unconditional.
12197         [!__ASSUME_32BITUIDS]: Remove conditional code.
12198         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12199         <kernel-features.h>.
12200         [__NR_setresuid] (__setresuid): Do not declare.
12201         [__ASSUME_32BITUIDS]: Make code unconditional.
12202         [!__ASSUME_32BITUIDS]: Remove conditional code.
12203         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12204         <kernel-features.h>.
12205         [__ASSUME_32BITUIDS]: Make code unconditional.
12206         [!__ASSUME_32BITUIDS]: Remove conditional code.
12207         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12208         <kernel-features.h>.
12209         [__ASSUME_32BITUIDS]: Make code unconditional.
12210         [!__ASSUME_32BITUIDS]: Remove conditional code.
12211         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12212         <kernel-features.h>.
12213         [__ASSUME_32BITUIDS]: Make code unconditional.
12214         [!__ASSUME_32BITUIDS]: Remove conditional code.
12215         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12216         <kernel-features.h>.
12217         [__ASSUME_32BITUIDS]: Make code unconditional.
12218         [!__ASSUME_32BITUIDS]: Remove conditional code.
12219         * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
12244         (__ASSUME_SETRESUID_SYSCALL): Remove.
12245         (__ASSUME_SETRESGID_SYSCALL): Likewise.
12246         (__ASSUME_32BITUIDS): Likewise.
12247         (__ASSUME_LDT_WORKS): Likewise.
12248         (__ASSUME_O_DIRECTORY): Likewise.
12249         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12250         architecture but not kernel version.
12251         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12252         (__ASSUME_MMAP2_SYSCALL): Likewise.
12253         (__ASSUME_STAT64_SYSCALL): Likewise.
12254         (__ASSUME_IPC64): Likewise.
12255         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12256         <kernel-features.h>.
12257         [__ASSUME_32BITUIDS]: Make code unconditional.
12258         [!__ASSUME_32BITUIDS]: Remove conditional code.
12259         * sysdeps/unix/sysv/linux/opendir.c: Do not include
12260         <kernel-features.h>.
12261         [__ASSUME_O_DIRECTORY]: Make code unconditional.
12262         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12263         132096]: Remove conditional code.
12264         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12265         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12266         <kernel-features.h>.
12267         [__ASSUME_32BITUIDS]: Make code unconditional.
12268         [!__ASSUME_32BITUIDS]: Remove conditional code.
12269         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12270         <kernel-features.h>.
12271         [__ASSUME_32BITUIDS]: Make code unconditional.
12272         [!__ASSUME_32BITUIDS]: Remove conditional code.
12273         * sysdeps/unix/sysv/linux/setegid.c: Do not include
12274         <kernel-features.h>.
12275         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12276         unconditional.
12277         (__setresgid): Do not declare.
12278         [__ASSUME_32BITUIDS]: Make code unconditional.
12279         [!__ASSUME_32BITUIDS]: Remove conditional code.
12280         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12281         <kernel-features.h>.
12282         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12283         unconditional.
12284         (__setresuid): Do not declare.
12285         [__ASSUME_32BITUIDS]: Make code unconditional.
12286         [!__ASSUME_32BITUIDS]: Remove conditional code.
12287         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12288         <kernel-features.h>.
12289         [__ASSUME_32BITUIDS]: Make code unconditional.
12290         [!__ASSUME_32BITUIDS]: Remove conditional code.
12291         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12292         <kernel-features.h>.
12293         [__ASSUME_32BITUIDS]: Make code unconditional.
12294         [!__ASSUME_32BITUIDS]: Remove conditional code.
12296 2012-05-25  Richard Henderson  <rth@twiddle.net>
12298         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12299         dl_hwcap to ifunc resolver.
12300         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12301         elf_ifunc_invoke.
12302         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12303         dl_hwcap to ifunc resolver.
12304         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12306 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12308         [BZ #14153]
12309         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12310         for |x| <= 2**-26, not 2**-57.
12311         * math/libm-test.inc (acos_test): Do not allow spurious underflow
12312         exception.
12314 2012-05-24  Jeff Law  <law@redhat.com>
12316         * stdio-common/Makefile (tests): Add bug25.
12317         * stdio-common/bug25.c: New test.
12319 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12321         [BZ #13576]
12322         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12323         multiple of MALLOC_ALIGNMENT in size.
12324         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12326 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12328         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12329         Require >= 256.
12330         (FILENAME_MAX): Use macro-int-constant.
12331         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
12332         (_IOFBF): Use macro-int-constant.
12333         (_IOLBF): Likewise.
12334         (_IONBF): Likewise.
12335         (SEEK_CUR): Likewise.
12336         (SEEK_END): Likewise.
12337         (SEEK_SET): Likewise.
12338         (TMP_MAX): Likewise.
12339         (EOF): Use macro-int-constant.  Require < 0.
12340         (NULL): Use macro-constant.  Require == 0.
12341         (stdin): Require type to be FILE *.
12342         (stdout): Likewise.
12343         (stderr): Likewise.
12344         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12345         macro-int-constant.
12346         (EXIT_SUCCESS): Likewise.
12347         (NULL): Use macro-constant.  Require == 0.
12348         (RAND_MAX): Use macro-int-constant.
12349         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12350         [C99-based standards] (strtof): Require function.
12351         [C99-based standards] (strtold): Likewise.
12352         [C99-based standards] (strtoll): Likewise.
12353         [C99-based standards] (strtoull): Likewise.
12354         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12355         [ISO || ISO99 || ISO11] (limits.h): Likewise.
12356         [ISO || ISO99 || ISO11] (math.h): Likewise.
12357         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12358         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12359         [ISO || ISO99 || ISO11] (*_t): Do not allow.
12361 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
12363         [BZ #14132]
12364         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12365         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12366         * intl/dgettext.c (DCGETTEXT): Likewise.
12367         * intl/gettext.c (DCGETTEXT): Likewise.
12368         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12369         * posix/regex_internal.h (gettext): Likewise.
12370         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12371         Remove declaration.
12372         * include/argz.h (__argz_count_internal)
12373         (__argz_stringify_internal): Remove declaration.
12374         (__argz_count, __argz_stringify): Declare hidden proto.
12375         * intl/dcgettext.c: Remove use of INTDEF.
12376         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12377         * string/argz-stringify.c: Likewise.
12378         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12379         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12380         Declare hidden proto.
12381         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12382         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12383         Declare hidden proto.
12384         * include/stdio.h (__asprintf_internal): Don't declare.
12385         (__asprintf): Don't define as macro.  Declare hidden proto.
12386         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12387         (__fsetlocking): Declare hidden proto.
12388         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12389         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12390         hidden proto.
12391         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12392         (_IO_setlinebuf): Remove use of INTUSE.
12393         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12394         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12395         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12396         Remove declaration.
12397         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12398         (_IO_do_flush): Remove use of INTUSE.
12399         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12400         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12401         (_IO_adjust_column, _IO_least_wmarker)
12402         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12403         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12404         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12405         (_IO_default_doallocate, _IO_wdefault_doallocate)
12406         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12407         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12408         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12409         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12410         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12411         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12412         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12413         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12414         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12415         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12416         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12417         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12418         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12419         proto.
12420         (_IO_flush_all_internal, _IO_adjust_column_internal)
12421         (_IO_default_uflow_internal, _IO_default_finish_internal)
12422         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12423         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12424         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12425         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12426         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12427         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12428         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12429         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12430         (_IO_file_close_internal, _IO_file_close_it_internal)
12431         (_IO_file_underflow_internal, _IO_file_overflow_internal)
12432         (_IO_file_init_internal, _IO_file_attach_internal)
12433         (_IO_file_fopen_internal, _IO_file_read_internal)
12434         (_IO_file_sync_internal, _IO_file_seek_internal)
12435         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12436         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12437         (_IO_str_underflow_internal, _IO_str_overflow_internal)
12438         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12439         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12440         (_IO_list_all_internal, _IO_link_in_internal)
12441         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12442         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12443         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12444         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12445         (_IO_do_write_internal, _IO_padn_internal)
12446         (_IO_getline_info_internal, _IO_getline_internal)
12447         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12448         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12449         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12450         (_IO_vfscanf_internal, _IO_vfprintf_internal)
12451         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12452         (_IO_init_internal, _IO_un_link_internal): Don't declare.
12453         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12454         with libc_hidden_ver, remove use of INTUSE.
12455         * libio/genops.c: Likewise.
12456         * libio/freopen.c: Likewise.
12457         * libio/freopen64.c: Likewise.
12458         * libio/iofclose.c: Likewise.
12459         * libio/iofdopen.c: Likewise.
12460         * libio/iofflush.c: Likewise.
12461         * libio/iofflush_u.c: Likewise.
12462         * libio/iofgets.c: Likewise.
12463         * libio/iofgets_u.c: Likewise.
12464         * libio/iofopen.c: Likewise.
12465         * libio/iofopncook.c: Likewise.
12466         * libio/iofread.c: Likewise.
12467         * libio/iofread_u.c: Likewise.
12468         * libio/ioftell.c: Likewise.
12469         * libio/iofwrite.c: Likewise.
12470         * libio/iogetline.c: Likewise.
12471         * libio/iogets.c: Likewise.
12472         * libio/iogetwline.c: Likewise.
12473         * libio/iopadn.c: Likewise.
12474         * libio/iopopen.c: Likewise.
12475         * libio/ioseekoff.c: Likewise.
12476         * libio/ioseekpos.c: Likewise.
12477         * libio/iosetbuffer.c: Likewise.
12478         * libio/iosetvbuf.c: Likewise.
12479         * libio/ioungetc.c: Likewise.
12480         * libio/ioungetwc.c: Likewise.
12481         * libio/iovdprintf.c: Likewise.
12482         * libio/iovsprintf.c: Likewise.
12483         * libio/iovsscanf.c: Likewise.
12484         * libio/memstream.c: Likewise.
12485         * libio/obprintf.c: Likewise.
12486         * libio/oldfileops.c: Likewise.
12487         * libio/oldiofclose.c: Likewise.
12488         * libio/oldiofdopen.c: Likewise.
12489         * libio/oldiofopen.c: Likewise.
12490         * libio/oldiopopen.c: Likewise.
12491         * libio/oldstdfiles.c: Likewise.
12492         * libio/putc.c: Likewise.
12493         * libio/setbuf.c: Likewise.
12494         * libio/setlinebuf.c: Likewise.
12495         * libio/stdfiles.c: Likewise.
12496         * libio/strops.c: Likewise.
12497         * libio/vasprintf.c: Likewise.
12498         * libio/vscanf.c: Likewise.
12499         * libio/vsnprintf.c: Likewise.
12500         * libio/vswprintf.c: Likewise.
12501         * libio/wfiledoalloc.c: Likewise.
12502         * libio/wfileops.c: Likewise.
12503         * libio/wgenops.c: Likewise.
12504         * libio/wmemstream.c: Likewise.
12505         * libio/wstrops.c: Likewise.
12506         * libio/__fpurge.c: Likewise.
12507         * libio/__fsetlocking.c: Likewise.
12508         * assert/assert.c: Likewise.
12509         * debug/fgets_chk.c: Likewise.
12510         * debug/fgets_u_chk.c: Likewise.
12511         * debug/fread_chk.c: Likewise.
12512         * debug/fread_u_chk.c: Likewise.
12513         * debug/gets_chk.c: Likewise.
12514         * debug/obprintf_chk.c: Likewise.
12515         * debug/vasprintf_chk.c: Likewise.
12516         * debug/vdprintf_chk.c: Likewise.
12517         * debug/vsnprintf_chk.c: Likewise.
12518         * debug/vsprintf_chk.c: Likewise.
12519         * malloc/mtrace.c: Likewise.
12520         * misc/error.c: Likewise.
12521         * misc/syslog.c: Likewise.
12522         * stdio-common/asprintf.c: Likewise.
12523         * stdio-common/fxprintf.c: Likewise.
12524         * stdio-common/getw.c: Likewise.
12525         * stdio-common/isoc99_fscanf.c: Likewise.
12526         * stdio-common/isoc99_scanf.c: Likewise.
12527         * stdio-common/isoc99_vfscanf.c: Likewise.
12528         * stdio-common/isoc99_vscanf.c: Likewise.
12529         * stdio-common/isoc99_vsscanf.c: Likewise.
12530         * stdio-common/printf-prs.c: Likewise.
12531         * stdio-common/printf_fp.c: Likewise.
12532         * stdio-common/printf_fphex.c: Likewise.
12533         * stdio-common/printf_size.c: Likewise.
12534         * stdio-common/putw.c: Likewise.
12535         * stdio-common/scanf.c: Likewise.
12536         * stdio-common/sprintf.c: Likewise.
12537         * stdio-common/tmpfile.c: Likewise.
12538         * stdio-common/vfprintf.c: Likewise.
12539         * stdio-common/vfscanf.c: Likewise.
12540         * stdlib/strfmon_l.c: Likewise.
12541         * sunrpc/openchild.c: Likewise.
12542         * sunrpc/xdr_stdio.c: Likewise.
12543         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12544         * sysdeps/mach/hurd/tmpfile.c: Likewise.
12546 2012-05-24  Roland McGrath  <roland@hack.frob.com>
12548         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12550         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12551         in the third column, to generate for the shared library an IFUNC
12552         that uses _dl_vdso_vsym.
12553         * Makerules (COMPILE.c, compile-stdin.c): New variables.
12554         * Makeconfig (object-suffixes-noshared): New variable.
12556         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12557         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12558         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12559         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12561         [BZ #14132]
12562         * include/sys/time.h (__gettimeofday): Remove macro.
12563         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12564         * time/gettimeofday.c (__gettimeofday): Remove #undef.
12565         Remove INTDEF.
12566         (__gettimeofday): Add libc_hidden_def.
12567         (gettimeofday): Add libc_hidden_weak.
12568         * sysdeps/mach/gettimeofday.c: Likewise.
12569         * sysdeps/posix/gettimeofday.c: Likewise.
12570         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12571         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12572         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12573         (__gettimeofday_internal): Remove strong_alias.
12574         (__gettimeofday): Add libc_hidden_def.
12575         (gettimeofday): Add libc_hidden_weak.
12576         * sysdeps/unix/syscalls.list (gettimeofday):
12577         Remove __gettimeofday_internal alias.
12579 2012-05-24  Daniel Jacobowitz  <drow@false.org>
12580             H.J. Lu  <hongjiu.lu@intel.com>
12582         [BZ #12495]
12583         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12584         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12585         (largebin_index_32_big): New.
12586         (largebin_index): Use it for 16-byte alignment.
12587         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
12588         correction with front_misalign.
12590 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
12592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12594         Likewise.
12595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12596         Likewise.
12597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12598         Likewise.
12599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12600         Likewise.
12601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12602         Likewise.
12603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12604         Likewise.
12605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12606         Likewise.
12607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12608         Likewise.
12609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12610         Likewise.
12611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12612         Likewise.
12613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12614         Likewise.
12615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12616         Likewise.
12618         * scripts/data/c++-types-x32-linux-gnu.data: New file.
12619         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12621 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
12623         [BZ #10846]
12624         [BZ #14036]
12625         * math/libm-test.inc (exp_test): Add test from bug 14036.
12626         (pow_test): Add test from bug 10846.
12628         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12629         and other flags.
12630         (special_function): Do not include flags in test name.
12631         (parse_args): Likewise.
12632         * sysdeps/i386/fpu/libm-test-ulps: Update.
12633         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12634         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12635         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12638         * math/gen-libm-test.pl (%beautify): Add entries for underflow
12639         exceptions.
12640         * math/libm-test.inc ("Philosophy"): Update comment about
12641         exception testing.
12642         (UNDERFLOW_EXCEPTION): New macro.
12643         (UNDERFLOW_EXCEPTION_OK): Likewise.
12644         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12645         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12646         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12647         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12648         (INVALID_EXCEPTION_OK): Update value.
12649         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12650         (OVERFLOW_EXCEPTION_OK): Likewise.
12651         (IGNORE_ZERO_INF_SIGN): Likewise.
12652         (test_exceptions): Handle underflow exceptions.
12653         (acos_test): Update for underflow exception expectations.
12654         (cexp_test): Likewise.
12655         (clog_test): Likewise.
12656         (clog10_test): Likewise.
12657         (csqrt_test): Likewise.
12658         (ctan_test): Likewise.
12659         (ctanh_test): Likewise.
12660         (exp_test): Likewise.
12661         (exp10_test): Likewise.
12662         (exp2_test): Likewise.
12663         (expm1_test): Likewise.
12664         (fma_test): Likewise.
12665         (j0_test): Likewise.
12666         (jn_test): Likewise.
12667         (nexttoward_test): Likewise.
12668         (pow_test): Likewise.
12669         (scalbn_test): Likewise.
12670         (scalbln_test): Likewise.
12671         (tan_test): Likewise.
12672         (y1_test): Likewise.
12673         * sysdeps/i386/fpu/libm-test-ulps: Update.
12674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12676 2012-05-23  David S. Miller  <davem@davemloft.net>
12678         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12679         (__libc_sigaction): Remove unused local variables.
12681 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12683         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12685 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
12687         mktime: avoid signed integer overflow
12688         * time/mktime.c (__mktime_internal): Do not mishandle the case
12689         where diff == INT_MIN.
12691         mktime: simplify computation of average
12692         * time/mktime.c (ranged_convert): Use new time_t_avg function
12693         instead of rolling our own (probably-slower) code.
12695         mktime: do not assume signed right shift propagates sign bit
12696         * time/mktime.c (isdst_differ): New static function.
12697         (__mktime_internal): No need to normalize tm_isdst now.
12698         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12699         tm_isdst values.
12701         mktime: merge another wrapv change from gnulib
12702         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12703         from some compilers.
12705         mktime: remove incorrect attempt at unusual arithmetics
12706         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12707         The code didn't really work on such machines anyway.
12708         (TYPE_MINIMUM): Assume two's complement.
12709         (twos_complement_arithmetic): Verify that long_int and time_t
12710         are two's complement (or unsigned, in the latter case).
12712         mktime: check signed shifts on long_int and time_t, too
12713         * time/mktime.c (SHR): Check that shifts work as desired
12714         on the types long_int and time_t too, as SHR is used on
12715         such types.
12717         mktime: do not assume 'long' is wide enough
12718         * time/mktime.c (verify): Move decl up.
12719         (long_int): New type.
12720         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12721         to remove assumption in the code that 'long' is wide enough to
12722         store year values.  This assumption is not true on x32 and on
12723         some non-glibc platforms.
12725         mktime: merge wrapv change from gnulib
12726         * time/mktime.c (WRAPV): New macro.
12727         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12728         (guess_time_tm, __mktime_internal): Do not assume that signed
12729         integer overflow wraps around; modern compilers generate code
12730         where this assumption is no longer valid.
12732 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12734         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12735         Replace "jmp L(pseudo_end)" with "ret".
12736         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12737         Likewise.
12739 2012-05-23  Andreas Jaeger  <aj@suse.de>
12741         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12742         * sysdeps/unix/sysv/linux/poll.c: Remove file.
12744 2012-05-23  Andreas Jaeger  <aj@suse.de>
12745             Maximilian Attems  <max@stro.at>
12747         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12748         New macros.
12750 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
12752         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12753         code so that pseudo_end is just ret and the stack pointer is
12754         correct also for static library in error case.
12756 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
12758         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12759         move to syscalls.list.
12760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12765         * manual/install.texi (Running make install): Do not mention Linux
12766         kernel version for which pt_chown is not needed.
12767         (Linux): Do not mention problems with nscd with 2.0 kernels.
12768         * INSTALL: Regenerated.
12770 2012-05-23  Andreas Jaeger  <aj@suse.de>
12772         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12773         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12774         macro.
12775         * sysdeps/unix/sysv/linux/s390/bits/mman.h
12776         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12777         * sysdeps/unix/sysv/linux/sh/bits/mman.h
12778         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12779         * sysdeps/unix/sysv/linux/i386/bits/mman.h
12780         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12782         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12783         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12784         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12785         * sysdeps/unix/sysv/linux/bits/in.h
12786         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12788 2012-05-22  Roland McGrath  <roland@hack.frob.com>
12790         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12791         (PREPARE_VERSION): Just use assert instead, it will be elided
12792         under [NDEBUG] anyway.
12794 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12796         * sysdeps/unix/sysv/linux/Makefile: Include
12797         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
12798         (sysdep_routines): Remove sysctl.
12799         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12800         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12801         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12802         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12803         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12805 2012-05-22  Andreas Jaeger  <aj@suse.de>
12807         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12808         that pseudo_end is just ret and the stack pointer is correct also
12809         for static library in error case.
12811 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
12813         [BZ #14122]
12814         * nss/nsswitch.c (defconfig_entries): New variable.
12815         (__nss_database_lookup): Don't leak defconfig entries.
12816         (nss_parse_service_list): Don't leak on error paths.
12817         (free_database_entries): New function.
12818         (free_defconfig): New function.
12819         (free_mem): Move common code to free_database_entries.
12821 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12823         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12824         Add arch_prctl.
12825         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12827         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12828         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12829         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12830         New macro.
12831         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12832         (INTERNAL_SYSCALL_TYPES): Likewise.
12833         (LOAD_ARGS_TYPES_[1-6]): Likewise.
12834         (LOAD_REGS_TYPES_[1-6]): Likewise.
12835         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12836         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12838 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12840         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12841         copysignl for GLIBC_2_0.
12842         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12843         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12844         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12845         logbl for GLIBC_2_0.
12846         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12847         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12849 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12851         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12852         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
12854         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12855         Use "neg %eax".
12857         * time/mktime.c: Update copyright years.
12859 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12861         mktime: merge comment-quoting-style change from gnulib
12862         * time/mktime.c: Quote 'like this' in comments.
12863         The GNU coding standards suggest that we no longer quote `like this',
12864         as "`" and "'" are typically rendered asymmetrically nowadays.
12865         The typical gnulib style is to quote 'like this' when quoting
12866         code, and "like this" when quoting English.
12868         * time/mktime.c (compile-command): Add "-I.".
12870         mktime: merge mktime-internal.h change from gnulib
12871         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12873         mktime: merge time_r change from gnulib
12874         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12876         mktime: merge DEBUG change from gnulib
12877         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12878         case system <time.h> has a #define.
12880         mktime: merge <sys/types.h> change from gnulib
12881         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12882         since <time.t> is now guaranteed to define time_t.
12884         mktime: merge HAVE_CONFIG_H change from gnulib
12885         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12887 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12890         Use "neg %eax".
12892         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12893         __rlim_t cast.
12894         (struct rusage): Use anonymous union to pad each field to
12895         __syscall_slong_t.
12897 2012-05-21  David S. Miller  <davem@davemloft.net>
12899         * Makefules (o-iterator): Remove .s cases.
12900         (compile-command.s): Delete.
12901         (COMPILE.s): Delete.
12902         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12904 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
12906         * configure.in (libc_cv_predef_stack_protector): Only consider
12907         "foobar" and "__stack_chk_fail" lines in libc_undefs.
12908         * configure: Regenerated.
12910 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12913         New macro.  Use R*LP on int and pointer.
12914         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
12915         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12916         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
12917         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12919         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12920         [__WORDSIZE_TIME64_COMPAT32] instead of
12921         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12922         (struct utmp): Likewise.
12923         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12924         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12925         Renamed to ...
12926         (__WORDSIZE_TIME64_COMPAT32): This.
12927         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12928         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12929         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12930         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12931         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12932         (__WORDSIZE_TIME64_COMPAT32): New macro.
12934 2012-05-21  Andreas Jaeger  <aj@suse.de>
12936         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12937         only if [SHARED]. Add prototype for __wcschr_ia32.
12939 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12941         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12942         of %rbp unmolested in the jmp_buf while mangling the low bits.
12943         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12944         unmolested high bits of %rbp while demangling the low bits.
12945         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12947 2012-05-21  Andreas Jaeger  <aj@suse.de>
12949         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12950         * sunrpc/svc_simple.c: Use it for registerrpc.
12951         * sunrpc/xcrypt.c: Use it for passwd2des.
12953         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12955 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12957         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12958         Don't define if [__SYSCALL_WORDSIZE != 32].
12959         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12960         New macro.
12962 2012-05-21  Bruno Haible  <bruno@clisp.org>
12963             Andreas Jaeger  <aj@suse.de>
12965         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12966         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12967         inptr and inend for must_buffer_ch.
12968         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12969         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12970         * stdio-common/Makefile (tests): Remove bug15.
12971         (bug15-ENV): Remove macro.
12972         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12973         anymore.
12975 2012-05-19  Andreas Jaeger  <aj@suse.de>
12976             Roland McGrath  <roland@hack.frob.com>
12978         * manual/contrib.texi: Completely rewritten. It contains now an
12979         alphabetical list of contributors and their contributions.
12981 2012-05-21  Richard Henderson  <rth@twiddle.net>
12983         * misc/getauxval.c (__getauxval): Use unsigned long int.
12984         * misc/sys/auxv.h: Include <sys/cdefs.h>.
12985         (getauxval): Use unsigned long int.
12987 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
12989         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12991 2012-05-21  Roland McGrath  <roland@hack.frob.com>
12993         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12994         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12995         __alignof__ (long double).
12997 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13001 2012-05-20  Richard Henderson  <rth@twiddle.net>
13003         * misc/getauxval.c: New file.
13004         * misc/sys/auxv.h: New file.
13005         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13006         (routines): Add getauxval.
13007         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13008         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13009         * elf/dl-sysdep.c (_dl_auxv): Remove.
13010         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13011         * elf/dl-support.c (_dl_auxv): New variable.
13012         (_dl_aux_init): Initialize it.
13013         * manual/startup.texi (Auxiliary Vector): New node.
13014         * sysdeps/generic/bits/hwcap.h: New file.
13015         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13016         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
13017         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13018         * sysdeps/sparc/sysdep.h: ... here.  Include it.
13019         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13020         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
13021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13022         Update.
13023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13026         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13032 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13036 2012-05-19  David S. Miller  <davem@davemloft.net>
13038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13040 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13042         [BZ #14123]
13043         * math/s_ccosh.c: Include <float.h>
13044         (__ccosh): Avoid internal overflow calculating sinh and cosh
13045         values before multiplying by sin and cos values.
13046         * math/s_ccoshf.c: Likewise.
13047         * math/s_ccoshl.c: Likewise.
13048         * math/s_csin.c: Likewise.
13049         * math/s_csinf.c: Likewise.
13050         * math/s_csinl.c: Likewise.
13051         * math/s_csinh.c: Likewise.
13052         * math/s_csinhf.c: Likewise.
13053         * math/s_csinhl.c: Likewise.
13054         * math/libm-test.inc (ccos_test): Add more tests.
13055         (ccosh_test): Likewise.
13056         (csin_test): Likewise.
13057         (csinh_test): Likewise.
13058         * sysdeps/i386/fpu/libm-test-ulps: Update.
13059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13061 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13063         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13064         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13066         * sysdeps/x86_64/x32/_itoa.h: Add comment.
13068 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
13070         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13071         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13072         * sysdeps/powerpc/soft-fp/Versions: Likewise.
13073         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13074         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13075         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13076         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13077         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13078         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13079         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13080         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13081         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13082         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13083         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13084         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13085         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13086         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13087         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13088         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13089         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13090         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13091         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13092         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13093         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13094         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13095         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13096         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13097         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13098         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13099         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13100         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13102 2012-05-18  Andreas Jaeger  <aj@suse.de>
13104         * csu/.gitignore: Delete.
13106 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13108         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13109         (timex): Use __syscall_slong_t.
13111 2012-05-18  Andreas Jaeger  <aj@suse.de>
13112             Carlos O'Donell  <carlos_odonell@mentor.com>
13114         * manual/install.texi (Configuring and compiling): Update
13115         description about files modified in the source directory.
13116         * INSTALL: Regenerated.
13118 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13120         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13121         value.  Use "or" to set return value to -1.
13122         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13123         negate return value.
13125 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13127         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13128         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13129         failure if the compiler has Graphite support disabled.
13130         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13131         Likewise.
13132         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13133         CFLAGS-memmove.c): Likewise.
13134         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13135         Likewise.
13137 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
13139         * sysdeps/x86_64/x32/_itoa.h: New file.
13141         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13142         getdents system call only if kernel and user dirents have the
13143         same d_ino and d_off.
13145         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13146         LLONG_MAX != LONG_MAX.
13147         (_itoa_word): Use _ITOA_WORD_TYPE on value.
13148         (_fitoa_word): Likewise.
13150         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13151         years.
13152         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13153         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13154         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13156         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13157         include <bits/wordsize.h>.  Check __x86_64__ instead of
13158         __WORDSIZE.
13159         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13160         if __x86_64__ is defined.  Use anonymous union on fpstate.
13162         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13163         anonymous union.
13165 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
13167         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13168         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13169         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13170         Refer to _rtld_local_ro instead of _rtld_global_ro.
13171         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13172         Likewise.
13173         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13174         Likewise.
13175         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13176         Likewise.
13177         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13178         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13179         of _rtld_global, and rtld_progname instead of _dl_argv[0].
13181         * sysdeps/powerpc/powerpc32/dl-machine.c
13182         (__elf_machine_runtime_setup) [PROF]: Don't reference
13183         _dl_prof_resolve.
13185 2012-05-18  Andreas Jaeger  <aj@suse.de>
13187         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13188         function only available for GCCs before 3.4 since GCC 3.4
13189         introduced a builtin.
13190         (lrint): Likewise.
13191         (llrintf): Likewise.
13192         (llrint): Likewise.
13193         (fmaxf): Likewise.
13194         (fmax): Likewise.
13195         (fminf): Likewise.
13196         (fmin): Likewise.
13197         (rint): Likewise.
13198         (rintf): Likewise.
13199         (nearbyint): Likewise.
13200         (nearbyintf): Likewise.
13201         (ceil): Likewise.
13202         (ceilf): Likewise.
13203         (floor): Likewise.
13204         (floorf): Likewise.
13206 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13208         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13209         on both fields and cast pointer to __syscall_ulong_t.
13211         * bits/types.h (__fsword_t): New type.
13212         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13213         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13214         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13215         (__FSWORD_T_TYPE): Likewise.
13216         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13217         (__FSWORD_T_TYPE): Likewise.
13218         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13219         (__FSWORD_T_TYPE): Likewise.
13220         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13221         (__FSWORD_T_TYPE): Likewise.
13222         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13223         __SWORD_TYPE with __fsword_t.
13224         (statfs64): Likewise.
13226 2012-05-17  David S. Miller  <davem@davemloft.net>
13228         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13230 2012-05-17  Andreas Jaeger  <aj@suse.de>
13232         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13233         warning.
13235 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13237         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13239 2012-05-17  Andreas Jaeger  <aj@suse.de>
13241         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13242         when it is used.
13244 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13246         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13248 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
13250         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13251         * sysdeps/x86_64/tst-mallocalign1.c: New file.
13253 2012-05-17  Andreas Jaeger  <aj@suse.de>
13254             Carlos O'Donell  <carlos_odonell@mentor.com>
13256         [BZ #14059]
13257         * sysdeps/x86_64/multiarch/init-arch.h
13258         (bit_YMM_Usable): Rename to...
13259         (bit_AVX_Usable): ... this.
13260         (bit_FMA4_Usable): New macro.
13261         (bit_XMM_state): New macro.
13262         (bit_YMM_state): New macro.
13263         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13264         [__ASSEMBLER__] (index_AVX_Usable): ... this.
13265         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13266         (CPUID_OSXSAVE): New macro.
13267         (CPUID_AVX): New macro.
13268         (CPUID_FMA4): New macro.
13269         (index_YMM_Usable): Rename to...
13270         (index_AVX_Usable): ... this.
13271         (HAS_AVX): Use HAS_ARCH_FEATURE.
13272         (HAS_FMA4): Likewise.
13273         (HAS_YMM_USABLE): Remove.
13274         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13275         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13276         are present.
13277         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13278         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13279         * sysdeps/x86_64/multiarch/Makefile: Likewise.
13280         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13281         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13283 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
13285         * math/libm-test.c: Support platforms without multiple rounding modes.
13286         * math/bug-nextafter.c: Support platforms without FP exceptions.
13287         * math/bug-nexttoward.c: Likewise.
13288         * math/test-fenv.c: Likewise.
13289         * math/test-misc.c: Likewise.
13290         * stdlib/bug-getcontext.c: Likewise.
13292 2012-05-17  Andreas Jaeger  <aj@suse.de>
13294         * manual/examples/search.c (critter_cmp): Change signature to
13295         avoid warnings.
13296         * manual/string.texi (Collation Functions): Likewise.
13298 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13300         * bits/types.h: Fold copyright years.
13301         * bits/typesizes.h: Likewise.
13302         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13303         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13304         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13305         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13306         * time/time.h: Likewise.
13308 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
13310         [BZ #208]
13311         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13312         in instead of returning them.  Return void.
13313         (__libc_mallinfo): Accumulate over all arenas.
13314         (__malloc_stats): Adjust for change in int_mallinfo interface.
13316 2012-05-16  Roland McGrath  <roland@hack.frob.com>
13318         [BZ #10375]
13319         * configure.in (NM): Add AC_CHECK_TOOL for it.
13320         (libc_extra_cflags): New substituted variable.
13321         Check for -fstack-protector being used implicitly.
13322         * configure: Regenerated.
13323         * config.make.in (config-extra-cflags): New variable,
13324         gets @libc_extra_cflags@.
13325         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13327         [BZ #10375]
13328         * configure.in: Check for _FORTIFY_SOURCE being predefined.
13329         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13330         * configure: Regenerated.
13331         * config.make.in (CPPUNDEFS): New substituted variable.
13332         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13333         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13334         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13336 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13338         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13339         (mq_attr): Use __syscall_slong_t.
13341 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13343         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13344         Check __x86_64__ instead of __WORDSIZE.
13345         (_STAT_VER_LINUX): Likewise.
13346         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
13347         __syscall_ulong_t and __syscall_slong_t.
13348         (stat64): Likewise.
13350 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13352         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13354 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13356         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13358 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13360         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13361         __syscall_ulong_t.
13363         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13364         include <bits/wordsize.h>.  Check __x86_64__ instead of
13365         __WORDSIZE.
13366         (greg_t): Use "__extension__ long long int" if __x86_64__ is
13367         defined.
13368         (mcontext_t): Replace "unsigned long" with "unsigned long long".
13370         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13371         include <bits/wordsize.h>.  Check __x86_64__ instead of
13372         __WORDSIZE.
13373         (user_regs_struct): Use "__extension__ unsigned long long"
13374         instead of "unsigned long" if __x86_64__ is defined.
13375         (user): Likewise.  Pad after pointer field if __ILP32__ is
13376         defined.
13378 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
13380         * configure.in (makeinfo): Require version 4.5 or later.  Allow
13381         versions 5 to 9.
13382         * configure: Regenerated.
13383         * manual/install.texi (texinfo): Increase version requirement to
13384         4.5 or later.
13385         * INSTALL: Regenerated.
13387         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13389 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
13391         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13393         * sysdeps/x86_64/x32/ffs.c: New file.
13395         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13396         __syscall_ulong_t.
13397         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13398         defined.  Use __syscall_ulong_t.
13399         (shminfo): Use __syscall_ulong_t.
13400         (shm_info): Likewise.
13402         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13403         __syscall_ulong_t.
13405         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13406         <bits/wordsize.h>.
13407         (msgqnum_t): Use __syscall_ulong_t.
13408         (msglen_t): Likewise.
13409         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
13410         __syscall_ulong_t.
13412         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13413         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13415         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13417         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13418         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13420         * sysvipc/sys/msg.h (msgbuf): Replace long int with
13421         __syscall_slong_t.
13423         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13424         include <bits/wordsize.h>.  Check __x86_64__ instead of
13425         __WORDSIZE.
13427         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13428         "unsigned long long int" if __x86_64__ is defined.
13429         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13431         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13432         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
13433         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13435         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13436         <stdint.h>.
13437         (GET_PC): Cast to uintptr_t first.
13438         (GET_FRAME): Likewise.
13439         (GET_STACK): Likewise.
13441         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13442         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13443         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13444         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13445         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13446         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13447         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13448         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13449         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13450         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13451         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13452         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13453         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13454         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13455         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13456         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13457         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13458         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13459         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13460         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13461         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13462         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13463         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13464         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13465         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13466         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13467         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13468         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13469         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13471 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
13473         * Makerules (+depfiles): Also collect depfiles from .oS in
13474         $(extra-objs).
13475         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13476         .oS, $(libnldbl-routines)).
13478         * Makerules (native-compile-mkdep-flags): Define.
13479         * sunrpc/Makefile (extra-objs): Add $(addprefix
13480         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13481         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13482         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
13483         calling $(make-target-directory).
13485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13487         * bits/types.h (__snseconds_t): Removed.
13488         * time/time.h (struct timespec): Replace __snseconds_t with
13489         __syscall_slong_t.
13490         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13491         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13492         Likewise.
13493         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13494         (__SNSECONDS_T_TYPE): Likewise.
13495         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13496         (__SNSECONDS_T_TYPE): Likewise.
13497         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13498         (__SNSECONDS_T_TYPE): Likewise.
13500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13502         * sysdeps/mach/hurd/bits/typesizes.h
13503         (__SYSCALL_SLONG_TYPE): New macro.
13504         (__SYSCALL_ULONG_TYPE): Likewise.
13506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13508         * bits/types.h (__syscall_slong_t): New type.
13509         (__syscall_ulong_t): Likewise.
13511         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13512         (__SYSCALL_ULONG_TYPE): Likewise.
13513         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13514         (__SYSCALL_SLONG_TYPE): Likewise.
13515         (__SYSCALL_ULONG_TYPE): Likewise.
13516         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13517         (__SYSCALL_SLONG_TYPE): Likewise.
13518         (__SYSCALL_ULONG_TYPE): Likewise.
13519         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13520         (__SYSCALL_SLONG_TYPE): Likewise.
13521         (__SYSCALL_ULONG_TYPE): Likewise.
13523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13525         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13526         Add sigaltstack-offsets.sym.
13527         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13528         <sigaltstack-offsets.h>.
13529         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
13530         longjmp_msg pointer.
13531         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
13532         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13533         signal stack.
13534         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13536 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13538         * elf/stackguard-macros.h: Remove file.
13539         * sysdeps/generic/stackguard-macros.h: New file.
13540         * sysdeps/i386/stackguard-macros.h: Likewise.
13541         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13542         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13543         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13544         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13545         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13546         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13547         * sysdeps/x86_64/stackguard-macros.h: Likewise.
13548         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13549         <elf/stackguard-macros.h>.
13551         [BZ #14109]
13552         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13553         __aligned__ in attribute.
13554         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13555         (gregset_t): Likewise.
13557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13559         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13560         * sysdeps/x86_64/64/Implies-after: Here.  New file.
13561         * sysdeps/x86_64/x32/Implies-after: New file.
13563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13565         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13566         and access return value for _dl_profile_fixup.  Use R10_LP to
13567         load frame size.
13569 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13571         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13573 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13575         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13576         * sysdeps/x86_64/x32/sysdep.h: New file.
13578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13580         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13581         * sysdeps/x86_64/setjmp.S: Likewise.
13583 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13585         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13586         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13587         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13588         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13589         remove unused global constant.
13591 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
13593         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13594         include of <not-cancel.h>.
13596 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13598         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13600 2012-05-15  Jeff Law  <law@redhat.com>
13601             Andreas Jaeger  <aj@suse.de>
13603         [BZ #13594]
13604         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13605         out from...
13606         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13607         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13608         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13609         code changing __hst_map_handle.map.
13611 2012-05-15  Roland McGrath  <roland@hack.frob.com>
13613         * configure.in (sysnames): Look for Implies-before and Implies-after
13614         files.
13615         * configure: Regenerated.
13617 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13619         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13620         8-byte data alignment with LP_SIZE alignment.
13622 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13624         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13625         into R10_LP.
13627 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13629         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13633         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13634         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13635         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13636         Likewise.
13637         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13641         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13642         (stackinfo_sub_sp): Likewise.
13644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13646         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13647         RAX_LP.
13649 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13651         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13652         into R*_LP.
13654 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13656         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13657         sizes into R*_LP.
13659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13661         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13665         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13666         into R11_LP and load __x86_64_shared_cache_size_half into
13667         R8_LP.
13669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
13671         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13672         R8_LP.
13674 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13676         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13677         logb for POWER7.
13678         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13679         logbf for POWER7.
13680         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13681         logbl for POWER7.
13682         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13683         powerpc32/power7/fpu/s_logb.c via #include.
13684         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13685         powerpc32/power7/fpu/s_logbf.c via #include.
13686         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13687         powerpc32/power7/fpu/s_logbl.c via #include.
13689 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
13691         * README.libm: Remove file.
13693 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13695         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13696         count for x32.  Use R*_LP and omit operand-size suffix.
13698 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13700         * shlib-versions: Move x86_64-.*-linux.* entries to ...
13701         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
13702         * sysdeps/x86_64/x32/shlib-versions: New file.
13704 2012-05-14  Roland McGrath  <roland@hack.frob.com>
13706         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13707         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13708         Use _dl_fatal_printf instead.
13710 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13712         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13713         set if not set by the user.  Do not allow for being unset.
13714         * sysdeps/unix/sysv/linux/configure: Regenerated.
13716 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13718         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13719         the `q' suffix from lea and replace .quad with ASM_ADDR.
13721 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13724         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
13725         instead of $17.
13726         (PTR_DEMANGLE): Likewise.
13728 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13730         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13731         (LP_OP): Likewise.
13732         (ASM_ADDR): Likewise.
13733         (RAX_LP): Likewise.
13734         (RBP_LP): Likewise.
13735         (RBX_LP): Likewise.
13736         (RCX_LP): Likewise.
13737         (RDI_LP): Likewise.
13738         (RSI_LP): Likewise.
13739         (RSP_LP): Likewise.
13740         (R8_LP): Likewise.
13741         (R9_LP): Likewise.
13742         (R10_LP): Likewise.
13743         (R10_LP): Likewise.
13744         (R11_LP): Likewise.
13745         (R12_LP): Likewise.
13746         (R13_LP): Likewise.
13747         (R14_LP): Likewise.
13748         (R15_LP): Likewise.
13750 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13752         * sysdeps/x86_64/x32/dl-machine.h: New file.
13754 2012-05-14  Andreas Jaeger  <aj@suse.de>
13756         * manual/Makefile (subdir): Remove export of subdir.
13757         (all): Remove target.
13758         (.PHONY): Remove all from list.
13759         (mkinstalldirs): Remove.
13760         (.PHONY): Remove installdirs from list.
13761         ($(inst_infodir)/libc.info): Use make-target-directory.
13762         (installdirs): Remove.
13763         (subdir_%): Remove.
13764         (glibc-targets): Remove.
13765         (lib): Remove.
13766         (stubs): Remove.
13767         ($(objpfx)stubs ../po/manual.pot): Remove.
13768         ($(objpfx)stamp%): Remove.
13769         (make-target-directory): Remove.
13770         (subdir_install): Remove.
13771         (routines): Remove.
13772         (aux): Remove.
13773         (sources): Remove.
13774         (objects): Remove.
13775         (headers): Remove.
13777         [BZ #13750]
13778         * manual/.gitignore: Remove, it's not needed anymore.
13779         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13780         all files in it.
13781         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13782         directory.
13783         (texis): Renamed to $(objpfx)texis.
13784         (texis-path): New, contains path to generated files.
13785         (chapters.%): Use texis-path for complete path, add extra argument
13786         libc-texinfo.sh.
13787         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13788         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13789         (summary,texi, stamp-summary): Use complete path of
13790         files. Generate files in build dir.
13791         (dir-add.texi): Build in build dir.
13792         (libm-err.texi,stamp-libm-err): Likewise.
13793         (version.texi, stamp-version): Likewise.
13794         (.%c.texi): Likewise.
13795         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13796         (mostlyclean): Remove target.
13797         (realclean): Remove target.
13798         (generated): Add new variable with contents from mostlyclean and
13799         realclean, remove entries duplicated in common-mostlyclean, add
13800         stamp-libm-err and stamp-version.
13801         (generated-dirs): Add libc directory.
13802         ($(inst_infodir)/libc.info): Install files from build dir.
13804         * manual/install.texi (Configuring and compiling): Adjust since
13805         the info files are not part of the tar ball anymore.
13807 2012-05-14  Andreas Jaeger  <aj@suse.de>
13809         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13810         variable.
13812 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
13814         [BZ #13717]
13815         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13816         to 2.2.0 where earlier.
13817         * sysdeps/unix/sysv/linux/configure: Regenerated.
13818         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13819         Remove conditional code.
13820         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13821         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13822         Remove conditional code.
13823         [!__NR_lchown]: Likewise.
13824         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13825         [__NR_lchown]: Likewise.
13826         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13827         comment referencing __ASSUME_LCHOWN_SYSCALL.
13828         * sysdeps/unix/sysv/linux/i386/sigaction.c
13829         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13830         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13831         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13832         Remove conditional code.
13833         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13834         (__protocol_available): Remove #if 0 code.
13835         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13836         conditional code.
13837         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13838         * sysdeps/unix/sysv/linux/kernel-features.h
13839         (__ASSUME_GETCWD_SYSCALL): Don't define.
13840         (__ASSUME_REALTIME_SIGNALS): Likewise.
13841         (__ASSUME_PREAD_SYSCALL): Likewise.
13842         (__ASSUME_PWRITE_SYSCALL): Likewise.
13843         (__ASSUME_POLL_SYSCALL): Likewise.
13844         (__ASSUME_LCHOWN_SYSCALL): Likewise.
13845         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13846         non-SPARC.
13847         (__ASSUME_SIOCGIFNAME): Don't define.
13848         (__ASSUME_MSG_NOSIGNAL): Likewise.
13849         (__ASSUME_SENDFILE): Define unconditionally.
13850         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13851         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13852         conditional code.
13853         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13854         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13855         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13856         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13857         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13858         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13859         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13861         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13862         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13864         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13865         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13867         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13868         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13870         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13871         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13873         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13874         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13876         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13877         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13879         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13880         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13882         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13883         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13884         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13885         Remove conditional code.
13886         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13887         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13888         Remove conditional code.
13889         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13890         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13891         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13892         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13893         Remove conditional code.
13894         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13895         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13896         Remove conditional code.
13897         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13898         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13899         Remove conditional code.
13900         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13901         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13902         Remove conditional code.
13903         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13904         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13905         Remove conditional code.
13906         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13907         * sysdeps/unix/sysv/linux/sh/pwrite64.c
13908         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13909         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13910         * sysdeps/unix/sysv/linux/sigaction.c
13911         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13912         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13913         * sysdeps/unix/sysv/linux/sigpending.c
13914         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13915         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13916         * sysdeps/unix/sysv/linux/sigprocmask.c
13917         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13918         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13919         * sysdeps/unix/sysv/linux/sigsuspend.c
13920         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13921         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13922         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13923         (__libc_missing_rt_sigs): Remove.
13924         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13925         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13926         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13927         Remove conditional code.
13928         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13929         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13930         return 1.
13931         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13932         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13933         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13934         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13936 2012-05-14  Andreas Jaeger  <aj@suse.de>
13938         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13939         it's not used in glibc.
13940         (__coshm1): Likewise.
13941         (__acosh1p): Likewise.
13942         (__sgn): Likewise.
13944         * manual/string.texi (Copying and Concatenation): Add missing
13945         variable in concat example.
13946         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13948 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13950         [BZ #14103]
13951         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13952         __builtin_clzl with __builtin_clzll.
13954 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
13956         [BZ #14104]
13957         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13958         libc_freeres_ptr.
13960 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13962         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13963         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13964         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13965         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13967 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
13969         * NEWS: Update ia64 info.
13971 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
13973         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13974         used as bcopy.
13976 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
13978         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13979         * sysdeps/unix/syscalls.list (dup3): Likewise.
13980         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13981         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13983 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13985         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13986         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13988 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
13990         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13991         thread pointer.
13992         (TLS_IE): Use mov/add instead of movq/addq to load thread
13993         pointer.
13994         (TLS_GD_PREFIX): New.
13995         (TLS_GD): Use it.
13997 2012-05-11  David S. Miller  <davem@davemloft.net>
13999         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14000         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14001         (_FPU_SETCW): Likewise.
14003 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14005         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14006         is 32-byte aligned.
14008 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
14010         [BZ #11837]
14011         * iconvdata/gb18030.c: Update tables.
14012         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
14013         characters specially.
14014         (BODY for TO_LOOP): Add encoding of missing ranges.
14016 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
14018         [BZ #13673]
14019         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14020         * sysdeps/mach/hurd/dup3.c: Likewise.
14021         * sysdeps/mach/hurd/readlinkat.c: Likewise.
14022         * sysdeps/powerpc/memmove.c:: Likewise.
14024 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14026         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14027         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14029 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14031         * elf/elf.h (R_X86_64_RELATIVE64): New.
14032         (R_X86_64_NUM): Updated.
14033         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14034         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
14035         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14036         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14037         tst-quad1pie tst-quad2pie
14038         (modules-names): Add tst-quadmod1 tst-quadmod2.
14039         ($(objpfx)tst-quad1): New dependency.
14040         ($(objpfx)tst-quad2): Likewise.
14041         ($(objpfx)tst-quad1pie): Likewise.
14042         ($(objpfx)tst-quad2pie): Likewise.
14043         * sysdeps/x86_64/tst-quad1.c: New file.
14044         * sysdeps/x86_64/tst-quad1pie.c: New file.
14045         * sysdeps/x86_64/tst-quad2.c: Likewise.
14046         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14047         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14048         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14049         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14050         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14052 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14054         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14055         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14056         * streams/stropts.h (t_scalar_t): Define type.
14058         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14059         (_PATH_PRESERVE): Set to "/var/lib".
14060         (_PATH_RWHODIR): Set to "/var/spool/rwho".
14062         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14063         instead of int.
14065         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14066         if __dir_mkfile succeeded.
14068         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14069         checking for _hurd_dtablesize.  Unlock it right after having
14070         finished _hurd_dtable allocation.
14072 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14074         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14075         * sysdeps/mach/hurd/configure: Regenerated.
14076         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14077         special-casing to...
14078         * sysdeps/gnu/configure.in: ... this new file.
14079         * sysdeps/unix/sysv/linux/configure: Regenerated.
14080         * sysdeps/gnu/configure: New generated file.
14082         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14083         for Linux: use nsec instead of usec, as well as:
14084         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14085         members of type struct timespec.
14086         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14087         New macros.
14088         (struct stat64): Likewise.
14089         (_STATBUF_ST_NSEC): New macro.
14090         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14092         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14093         __strtoul_internal rather than strtoul.
14095 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14097         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14098         and reject them.
14100 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14102         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14103         which preserves existing values.
14104         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14106 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14108         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14109         TIMEOUT values.  Return EINVAL for NFDS values either negative or
14110         greater than FD_SETSIZE.
14112 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14114         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14115         allocated, call __vm_protect to finish enabling the existing space, and
14116         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14117         allocate the remainder.
14119 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14121         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14122         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
14124 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14126         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14127         sysdeps/mach/hurd/readlink.c.
14129         * posix/tst-sysconf.c (posix_options): Only use
14130         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14131         _POSIX_SYNCHRONIZED_IO when they are defined
14132         * sysdeps/mach/hurd/bits/posix_opt.h:
14133         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14134         (_XOPEN_REALTIME): Undefine macro.
14135         (_XOPEN_REALTIME_THREADS): Undefine macro.
14136         (_XOPEN_SHM): Undefine macro.
14137         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14138         macro to -1.
14139         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14140         macro to -1.
14141         (_POSIX_ASYNC_IO): Undefine macro.
14142         (_POSIX_PRIORITIZED_IO): Undefine macro.
14143         (_POSIX_SPIN_LOCKS): Define macro to -1.
14145         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14146         SA_NODEFER, SA_RESETHAND.
14147         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14148         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14149         F_DUPFD_CLOEXEC.
14151 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14153         * elf/Makefile (pldd-modules): Define unconditionally.
14155 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14157         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14159 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14161         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14162         Return ENOENT when name is empty.
14163         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14165 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14167         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14169         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14171 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14173         Fix mlock in all cases except non-readable pages.
14174         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14175         instead of VM_PROT_ALL as parameter to __vm_wire function.
14177         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14178         (__mkdir): When path is `/', just fail with EEXIST.
14179         * sysdeps/mach/hurd/mkdirat.c: Likewise.
14181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14183         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14184         <sys/uio.h> (for writev).
14185         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14186         and <sys/param.h> (for MIN).
14188 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
14190         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14191         REQUESTED_TIME.  Properly set the remaining time and return EINTR
14192         if interrupted.
14194 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14196         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14197         Depend on against $(link-rpcuserlibs).
14199 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14201         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14202         (__libc_stack_end): Do not use attribute_relro.
14203         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14204         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
14205         to libthread-provided value.
14206         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14207         attribute_relro.
14209 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14211         [BZ #3748]
14212         * bits/libc-lock.h (__libc_once_get): New macro.
14213         * sysdeps/mach/bits/libc-lock.h: Likewise.
14214         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14215         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14216         instead of using implementation details.
14218         * libio/fileops.c: Unconditionally include <kernel-features.h>.
14219         * libio/freopen.c: Likewise.
14220         * libio/freopen64.c: Likewise.
14221         * misc/syslog.c: Likewise.
14222         * nscd/connections.c: Likewise.
14223         * nscd/netgroupcache.c: Likewise.
14224         * sysdeps/posix/getcwd.c: Likewise.
14226 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14228         * math/w_ilogbf.c: Add #include <limits.h>.
14230 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14232         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
14233         path instead of returning without unlocking.
14235         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14236         immediate-write ioctls.
14237         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14239 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14241         * sysdeps/mach/hurd/i386/init-first.c (init): Use
14242         __builtin_frame_address instead of making assumptions about the
14243         location of the return address relative to DATA.  Force early load of
14244         the return address.
14245         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14246         __builtin_frame_address.
14248         dup3 for GNU Hurd.
14249         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14250         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
14251         implement dup3 and do some further code clean-ups.
14252         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14253         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14255 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14257         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14259         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14260         HURD_CRITICAL_END around holding _hurd_dtable_lock.
14261         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14262         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14263         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14264         d->port.lock.
14266         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14267         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
14268         when handler == SIG_ERR, not when handler != SIG_ERR.
14270 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14272         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14273         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14274         definitions.
14276         accept4 for GNU Hurd.
14277         * include/sys/socket.h (__libc_accept4): New prototype.
14278         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
14279         to implement __libc_accept4.
14280         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14281         __libc_accept4.
14282         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14284         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14285         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14286         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14287         signal-defines.sym.
14289 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14291         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
14293 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
14295         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14296         assertion on O_CLOEXEC flag.
14297         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14298         * hurd/intern-fd.c: Likewise.
14299         * hurd/port2fd.c: Likewise.
14301 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14303         [BZ #3906]
14304         * bits/in.h (IPV6_PKTINFO): Define new macro.
14305         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14307 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14309         [BZ #13954]
14310         [BZ #13955]
14311         [BZ #13956]
14312         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14313         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14314         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14315         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14316         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14317         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14318         * math/libm-test.inc (logb_test) : Additional logb tests.
14320 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
14321             Andreas Jaeger  <aj@suse.de>
14323         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14324         * configure: Regenerated.
14325         * config.h.in (LINK_OBSOLETE_RPC): New macro.
14326         * config.make.in (link-obsolete-rpc): New substituted variable.
14327         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14328         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14329         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14330         (shared-only-routines): Don't set it under [link-obsolete-rpc],
14331         so that libc.a contains the symbols.
14332         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14333         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14334         * sunrpc/auth_none.c: Likewise.
14335         * sunrpc/auth_unix.c: Likewise.
14336         * sunrpc/authdes_prot.c: Likewise.
14337         * sunrpc/authuxprot.c: Likewise.
14338         * sunrpc/clnt_gen.c: Likewise.
14339         * sunrpc/clnt_perr.c: Likewise.
14340         * sunrpc/clnt_raw.c: Likewise.
14341         * sunrpc/clnt_simp.c: Likewise.
14342         * sunrpc/clnt_tcp.c: Likewise.
14343         * sunrpc/clnt_udp.c: Likewise.
14344         * sunrpc/clnt_unix.c: Likewise.
14345         * sunrpc/des_crypt.c: Likewise.
14346         * sunrpc/des_soft.c: Likewise.
14347         * sunrpc/get_myaddr.c: Likewise.
14348         * sunrpc/key_call.c: Likewise.
14349         * sunrpc/key_prot.c: Likewise.
14350         * sunrpc/netname.c: Likewise.
14351         * sunrpc/pm_getmaps.c: Likewise.
14352         * sunrpc/pm_getport.c: Likewise.
14353         * sunrpc/pmap_clnt.c: Likewise.
14354         * sunrpc/pmap_prot.c: Likewise.
14355         * sunrpc/pmap_prot2.c: Likewise.
14356         * sunrpc/pmap_rmt.c: Likewise.
14357         * sunrpc/publickey.c: Likewise.
14358         * sunrpc/rpc_cmsg.c: Likewise.
14359         * sunrpc/rpc_common.c: Likewise.
14360         * sunrpc/rpc_dtable.c: Likewise.
14361         * sunrpc/rpc_prot.c: Likewise.
14362         * sunrpc/rpc_thread.c: Likewise.
14363         * sunrpc/rtime.c: Likewise.
14364         * sunrpc/svc.c: Likewise.
14365         * sunrpc/svc_auth.c: Likewise.
14366         * sunrpc/svc_raw.c: Likewise.
14367         * sunrpc/svc_run.c: Likewise.
14368         * sunrpc/svc_tcp.c: Likewise.
14369         * sunrpc/svc_udp.c: Likewise.
14370         * sunrpc/svc_unix.c: Likewise.
14371         * sunrpc/svcauth_des.c: Likewise.
14372         * sunrpc/xcrypt.c: Likewise.
14373         * sunrpc/xdr.c: Likewise.
14374         * sunrpc/xdr_array.c: Likewise.
14375         * sunrpc/xdr_float.c: Likewise.
14376         * sunrpc/xdr_intXX_t.c: Likewise.
14377         * sunrpc/xdr_mem.c: Likewise.
14378         * sunrpc/xdr_rec.c: Likewise.
14379         * sunrpc/xdr_ref.c: Likewise.
14380         * sunrpc/xdr_sizeof.c: Likewise.
14381         * sunrpc/xdr_stdio.c: Likewise.
14383 2012-05-10  Roland McGrath  <roland@hack.frob.com>
14385         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14386         change.  Update copyright years.
14388 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14390         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14392 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
14393             Joseph Myers  <joseph@codesourcery.com>
14394             Paul Pluzhnikov  <ppluzhnikov@google.com>
14396         [BZ #14012]
14397         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14398         requiring rpcgen.
14399         [cross-compiling] (extra-libs): Likewise.
14400         [cross-compiling] (extra-libs-others): Likewise.
14401         [cross-compiling] (librpcsvc-routines): Likewise.
14402         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14403         [cross-compiling] (omit-deps): Likewise.
14404         (sunrpc-CPPFLAGS): New variable.
14405         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14406         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14407         (cross-rpcgen-objs): New variable.
14408         (extra-objs): Append $(cross-rpcgen-objs).
14409         ($(cross-rpcgen-objs)): New rule.
14410         ($(objpfx)cross-rpcgen): Likewise.
14411         (rpcgen-cmd): Define to use $(built-program-file).  Expand
14412         comment.
14413         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14414         ($(objpfx)x%.stmp): Likewise.
14415         * sunrpc/proto.h [IS_IN_build] (_): Define.
14416         [IS_IN_build] (_libc_intl_domainname): Likewise.
14418 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
14420         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14421         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14422         and R_X86_64_TPOFF64.
14424 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
14426         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14427         sysdeps/unix/sysv/syscalls.list.
14428         (stime): Likewise.
14429         (utime): Likewise.
14430         * sysdeps/unix/sysv/syscalls.list: Remove file.
14432 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
14434         [BZ #3440]
14435         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14436         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14437         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14438         (__LC_IDENTIFICATION): Make these macros useful in #if
14439         expressions, as required by C99.
14441 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
14443         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14444         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
14445         after this.
14447 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
14449         * stdlib/longlong.h: Updated from GCC.
14451 2012-05-09  Andreas Jaeger  <aj@suse.de>
14453         * nscd/nscd.c (run_modes): Make named enum, reorder so that
14454         default is first entry.
14455         (run_mode): Set type.
14456         (main): Remove informal message about syslog.
14457         (options): Fix typo.
14459         [BZ #14053]
14460         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
14461         to asm.
14462         (lrint): Likewise.
14463         (llrintf): Likewise.
14464         (llrint): Likewise.
14465         (rint): Likewise.
14466         (rintf): Likewise.
14467         (nearbyint): Likewise.
14468         (nearbyintf): Likewise.
14470 2012-05-09  Andreas Jaeger  <aj@suse.de>
14471             Pedro Alves  <palves@redhat.com>
14473         * nscd/nscd.c (run_mode): Use enum.
14474         (main): Cleanup coding style issue.
14476 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
14477             Andreas Jaeger  <aj@suse.de>
14479         * nscd/nscd.c (go_background): Replaced with...
14480         (run_mode): ... this.
14481         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
14482         (options): Add -F --foreground.
14483         (main): Implement it.
14484         (parse_opt): Parse it.
14486 2012-05-09  Andreas Jaeger  <aj@suse.de>
14488         [BZ #14083]
14489         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14490         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14491         -Wconversion warning.
14492         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14493         Likewise.
14495 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
14497         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
14498         == 0.
14499         (LC_ALL): Use macro-int-constant.
14500         (LC_COLLATE): Likewise.
14501         (LC_CTYPE): Likewise.
14502         (LC_MESSAGES): Likewise.
14503         (LC_MONETARY): Likewise.
14504         (LC_NUMERIC): Likewise.
14505         (LC_TIME): Likewise.
14506         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14507         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14508         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14509         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14510         Specify type.
14511         [C99-based standards] (float_t): Expect type.
14512         [C99-based standards] (double_t): Expect type.
14513         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
14514         type.
14515         [C99-based standards] (HUGE_VALL): Likewise.
14516         [C99-based standards] (INFINITY): Likewise.
14517         [C99-based standards] (NAN): Likewise.
14518         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14519         [C99-based standards] (FP_NAN): Likewise.
14520         [C99-based standards] (FP_NORMAL): Likewise.
14521         [C99-based standards] (FP_SUBNORMAL): Likewise.
14522         [C99-based standards] (FP_ZERO): Likewise.
14523         [C99-based standards] (FP_FAST_FMA): Use
14524         optional-macro-int-constant.  Specify type.  Require == 1.
14525         [C99-based standards] (FP_FAST_FMAF): Likewise.
14526         [C99-based standards] (FP_FAST_FMAL): Likewise.
14527         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14528         [C99-based standards] (FP_ILOGBNAN): Likewise.
14529         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14530         Specify type.
14531         [C99-based standards] (MATH_ERREXCEPT): Likewise.
14532         [C99-based standards] (math_errhandling): Specify type.
14533         [ISO99 || ISO11] (signgam): Do not allow.
14534         [non-C99-based standards] (copysignf): Do not allow.
14535         [non-C99-based standards] (exp2f): Likewise.
14536         [non-C99-based standards] (log2f): Likewise.
14537         [non-C99-based standards] (modff): Allow.
14538         [non-C99-based standards] (erff): Do not allow.
14539         [non-C99-based standards] (erfcf): Likewise.
14540         [non-C99-based standards] (gammaf): Likewise.
14541         [non-C99-based standards] (hypotf): Likewise.
14542         [non-C99-based standards] (j0f): Likewise.
14543         [non-C99-based standards] (j1f): Likewise.
14544         [non-C99-based standards] (jnf): Likewise.
14545         [non-C99-based standards] (lgammaf): Likewise.
14546         [non-C99-based standards] (tgammaf): Likewise.
14547         [non-C99-based standards] (y0f): Likewise.
14548         [non-C99-based standards] (y1f): Likewise.
14549         [non-C99-based standards] (ynf): Likewise.
14550         [non-C99-based standards] (isnanf): Likewise.
14551         [non-C99-based standards] (acoshf): Likewise.
14552         [non-C99-based standards] (asinhf): Likewise.
14553         [non-C99-based standards] (atanhf): Likewise.
14554         [non-C99-based standards] (cbrtf): Likewise.
14555         [non-C99-based standards] (expm1f): Likewise.
14556         [non-C99-based standards] (ilogbf): Likewise.
14557         [non-C99-based standards] (log1pf): Likewise.
14558         [non-C99-based standards] (logbf): Likewise.
14559         [non-C99-based standards] (nextafterf): Likewise.
14560         [non-C99-based standards] (remainderf): Likewise.
14561         [non-C99-based standards] (rintf): Likewise.
14562         [non-C99-based standards] (scalbf): Likewise.
14563         [non-C99-based standards] (copysignl): Likewise.
14564         [non-C99-based standards] (exp2l): Likewise.
14565         [non-C99-based standards] (log2l): Likewise.
14566         [non-C99-based standards] (modfl): Allow.
14567         [non-C99-based standards] (erfl): Do not allow.
14568         [non-C99-based standards] (erfcl): Likewise.
14569         [non-C99-based standards] (gammal): Likewise.
14570         [non-C99-based standards] (hypotl): Likewise.
14571         [non-C99-based standards] (j0l): Likewise.
14572         [non-C99-based standards] (j1l): Likewise.
14573         [non-C99-based standards] (jnl): Likewise.
14574         [non-C99-based standards] (lgammal): Likewise.
14575         [non-C99-based standards] (tgammal): Likewise.
14576         [non-C99-based standards] (y0l): Likewise.
14577         [non-C99-based standards] (y1l): Likewise.
14578         [non-C99-based standards] (ynl): Likewise.
14579         [non-C99-based standards] (isnanl): Likewise.
14580         [non-C99-based standards] (acoshl): Likewise.
14581         [non-C99-based standards] (asinhl): Likewise.
14582         [non-C99-based standards] (atanhl): Likewise.
14583         [non-C99-based standards] (cbrtl): Likewise.
14584         [non-C99-based standards] (expm1l): Likewise.
14585         [non-C99-based standards] (ilogbl): Likewise.
14586         [non-C99-based standards] (log1pl): Likewise.
14587         [non-C99-based standards] (logbl): Likewise.
14588         [non-C99-based standards] (nextafterl): Likewise.
14589         [non-C99-based standards] (remainderl): Likewise.
14590         [non-C99-based standards] (rintl): Likewise.
14591         [non-C99-based standards] (scalbl): Likewise.
14592         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14593         [non-C99-based standards] (FP_*): Do not allow.
14594         [C99-based standards] (FP_*): Change to
14595         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14596         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14597         allow.
14598         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14599         (SIG_ERR): Likewise.
14600         [X/Open-based standards] (SIG_HOLD): Likewise.
14601         (SIG_IGN): Likewise.
14602         (SIGABRT): Use macro-int-constant.  Specify type.  Require
14603         positive value.
14604         (SIGFPE): Likewise.
14605         (SIGILL): Likewise.
14606         (SIGINT): Likewise.
14607         (SIGSEGV): Likewise.
14608         (SIGTER): Likewise.
14609         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14610         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14611         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14612         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14613         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14614         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14615         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14616         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14617         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14618         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14619         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14620         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14621         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14622         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14623         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14624         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14625         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14626         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14627         [X/Open-based standards] (SIGTRAP): Likewise.
14628         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14629         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14630         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14631         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14632         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14633         allow.
14635 2012-05-08  Ian Wienand  <ianw@vmware.com>
14637         [BZ #14080]
14638         * time/tzset.c (__tzset_parse_tz): Update default rules for
14639         daylight time changes in the Energy Policy Act of 2005.
14641 2012-05-09  Andreas Jaeger  <aj@suse.de>
14643         [BZ #13983]
14644         * elf/ldconfig.c (parse_conf): Change string to make clear that
14645         ldconfig only issued a warning if ld.so.conf does not exist.
14647 2012-05-08  David S. Miller  <davem@davemloft.net>
14649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14650         movxtod instead of popping the value on the stack.
14652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14654 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
14656         * config.h.in: Add HAVE_ARM_PCS_VFP.
14658 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
14660         [BZ #13979]
14661         * include/features.h: Warn if user requests __FORTIFY_SOURCE
14662         checking but the checks are disabled for any reason.
14664 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14666         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14667         and ELF64_R_TYPE with ELFW(R_TYPE).
14669 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
14671         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14672         (ulimit): Likewise.
14674         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14675         (settimeofday): Likewise.
14677 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
14679         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
14680         a struct th_u2 inside the union, and move tu_block/tu_code into
14681         a new th_u3 union of tu_block/tu_code inside of that.  Move
14682         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
14683         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
14684         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14685         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14686         (th_stuff): Change to th_u1.tu_stuff.
14687         (th_data): Define.
14688         (th_msg): Change to th_u1.th_u2.tu_data.
14690 2012-05-07  David S. Miller  <davem@davemloft.net>
14692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14694         [BZ #14074]
14695         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14696         (SETUP_PIC_REG): Use it.
14697         (SETUP_PIC_REG_LEAF): Use it.
14699 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
14701         [BZ #13885]
14702         [BZ #13923]
14703         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14704         USE_AS_EXPM1L.
14705         (EXPL_FINITE): Likewise.
14706         (FLDLOG): Likewise.
14707         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14708         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14709         e_expl.S.
14710         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14711         USE_AS_EXPM1L.
14712         (EXPL_FINITE): Likewise.
14713         (FLDLOG): Likewise.
14714         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14715         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14716         e_expl.S.
14717         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
14718         test of -max_value argument for long double.
14719         * sysdeps/i386/fpu/libm-test-ulps: Update.
14720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14722 2012-05-06  David S. Miller  <davem@davemloft.net>
14724         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14725         quad soft-float symbols whose references which are compiler
14726         generated.
14727         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14729 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
14731         [BZ #13884]
14732         [BZ #13914]
14733         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14734         USE_AS_EXP10L.
14735         (EXPL_FINITE): Likewise.
14736         (FLDLOG): Likewise.
14737         (c0): Likewise.
14738         (c1): Likewise.
14739         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14740         Adjust comments for base varying.
14741         (__expl_finite): Change alias to EXPL_FINITE.
14742         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14743         e_expl.S.
14744         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14745         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14746         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14747         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14748         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14749         USE_AS_EXP10L.
14750         (EXPL_FINITE): Likewise.
14751         (FLDLOG): Likewise.
14752         (c0): Likewise.
14753         (c1): Likewise.
14754         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
14755         Adjust comments for base varying.
14756         (__expl_finite): Change alias to EXPL_FINITE.
14757         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
14758         tests for bugs.
14759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14761         [BZ #14064]
14762         * math/libm-test.inc (check_float_internal): Correct ulp
14763         calculation for subnormal expected results.
14765 2012-05-06  Andreas Jaeger  <aj@suse.de>
14767         * Makeconfig (+math-flags): New, set to -frounding-math.
14768         (+cflags): Add +math-flags so that all of glibc gets compiled with
14769         it.
14771         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14773 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
14775         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14776         Disable one test.
14778         [BZ #13787]
14779         [BZ #13922]
14780         [BZ #14036]
14781         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14782         (__ieee754_expl): Allow for and saturate large arguments.
14783         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14784         (u_threshold): Likewise.
14785         (__exp): Call __ieee754_exp before checking for overflow and
14786         underflow.
14787         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14788         (u_threshold): Likewise.
14789         (__expf): Call __ieee754_expf before checking for overflow and
14790         underflow.
14791         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14792         (u_threshold): Likewise.
14793         (__expl): Call __ieee754_expl before checking for overflow and
14794         underflow.
14795         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14796         (__ieee754_expl): Allow for and saturate large arguments.
14797         * math/libm-test.inc (exp_test): Add another test.  Do not allow
14798         missing overflow exception on overflow.
14799         (expm1_test): Do not allow missing overflow exception on overflow.
14801         * sysdeps/i386/fpu/e_expl.c: Move to ...
14802         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
14803         rather than using inline asm.
14804         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14805         * sysdeps/x86_64/fpu/e_expl.S: Copy from
14806         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14808         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14809         (nice): Likewise.
14810         (poll): Likewise.
14811         (signal): Likewise.
14812         (time): Likewise.
14813         (times): Likewise.
14815 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14817         * sysdeps/unix/syscalls.list (adjtime): Add entry from
14818         sysdeps/unix/common/syscalls.list.
14819         (fchmod): Likewise.
14820         (fchown): Likewise.
14821         (ftruncate): Likewise.
14822         (getrusage): Likewise.
14823         (gettimeofday): Likewise.
14824         (setpgid): Likewise.
14825         (setregid): Likewise.
14826         (setreuid): Likewise.
14827         (sigaction): Likewise.
14828         (truncate): Likewise.
14829         (vhangup): Likewise.
14830         * sysdeps/unix/common/syscalls.list: Remove file.
14831         * sysdeps/unix/bsd/Implies: Don't include unix/common.
14832         * sysdeps/unix/sysv/linux/Implies: Likewise.
14834 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
14836         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14838         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14839         Moved to ...
14840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14841         Here.
14842         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14843         to ...
14844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14845         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14846         to ...
14847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14848         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14849         to ...
14850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14851         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14852         to ...
14853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14854         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14855         to ...
14856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14857         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14858         to ...
14859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14860         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14861         to ...
14862         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14863         Here.
14864         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14865         to ...
14866         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14867         Here.
14868         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14869         to ...
14870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14871         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14872         Moved to ...
14873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14874         Here.
14875         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14876         to ...
14877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14879 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14881         * sysdeps/unix/common/bits/dirent.h: Remove file.
14882         * sysdeps/unix/common/bits/fcntl.h: Likewise.
14884         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14885         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14886         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14887         * sysdeps/unix/bsd/isatty.c: Likewise.
14888         * sysdeps/unix/bsd/tcdrain.c: Likewise.
14889         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14890         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14892 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14894         [BZ #13563]
14895         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14896         long double comparison inaccuracies.
14897         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14900 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
14902         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14903         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14905 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
14907         [BZ #14049]
14908         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14909         nonzero digits before rounding a hex value.
14910         * stdlib/tst-strtod.c (tests): Add another test.
14912 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14914         * sysdeps/s390/fpu/libm-test-ulps: Update.
14916 2012-05-03  Andreas Jaeger  <aj@suse.de>
14918         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14919         does not get optimized out.
14920         (malloc_opt_barrier): New.
14922 2012-05-03  Andreas Jaeger  <aj@suse.de>
14923             Roland McGrath  <roland@hack.frob.com>
14925         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
14926         intermediate file deletion.
14927         (generated): Add .symlist files.
14929 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
14931         [BZ #13775]
14932         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14933         Redirect under this condition.
14934         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14935         [__USE_GNU] (__dprintf_chk): Not under this condition.
14936         [__USE_GNU] (__vdprintf_chk): Likewise.
14937         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14938         under this condition.
14939         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14940         [__USE_XOPEN2K8] (dprintf): Define under this condition.
14941         [__USE_XOPEN2K8] (vdprintf): Likewise.
14942         [__USE_GNU] (__dprintf_chk): Not under this condition.
14943         [__USE_GNU] (__vdprintf_chk): Likewise.
14944         [__USE_GNU] (dprintf): Likewise.
14945         [__USE_GNU] (vdprintf): Likewise.
14947 2012-05-03  Roland McGrath  <roland@hack.frob.com>
14949         * elf/Makefile (common-generated): Set this instead of generated for
14950         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
14951         $(all-built-dso)-derived lists.
14953 2012-05-03  Andreas Jaeger  <aj@suse.de>
14955         * sysdeps/i386/fpu/libm-test-ulps: Update.
14957         * FAQ: Removed.
14958         * FAQ.in: Likewise.
14959         * scripts/gen-FAQ.pl: Likewise.
14960         * manual/install.texi (Installation): Point to online location of
14961         FAQ.
14962         * Makefile (files-for-dist): Remove FAQ.
14963         (FAQ): Remove.
14965 2012-05-02  Allan McRae  <allan@archlinux.org>
14967         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14968         (LDFLAGS-reldepmod5.so): Likewise.
14969         (LDFLAGS-reldep6mod1.so): Likewise.
14970         (LDFLAGS-reldep6mod4.so): Likewise.
14971         (LDFLAGS-reldep8mod3.so): Likewise.
14972         (LDFLAGS-unload4mod1.so): Likewise.
14973         (LDFLAGS-unload4mod2.so): Likewise.
14974         (LDFLAGS-tst-initorder): Likewise.
14975         (LDFLAGS-tst-initordera2.so): Likewise.
14976         (LDFLAGS-tst-initordera3.so): Likewise.
14977         (LDFLAGS-tst-initordera4.so): Likewise.
14978         (LDFLAGS-tst-initorderb2.so): Likewise.
14979         (LDFLAGS-noload): Likewise.
14980         (LDFLAGS-next): Likewise.
14981         (LDFLAGS-order2mod1.so): Likewise.
14982         (LDFLAGS-order2mod2.so): Likewise.
14983         (LDFLAGS-tst-initorder2): Likewise.
14984         (LDFLAGS-tst-initorder2a.so): Likewise.
14985         (LDFLAGS-tst-initorder2b.so): Likewise.
14986         (LDFLAGS-tst-initorder2c.so): Likewise.
14987         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14989 2012-05-02  David S. Miller  <davem@davemloft.net>
14991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14993 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14995         [BZ #14055]
14996         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14998 2012-05-02  Andreas Jaeger  <aj@suse.de>
15000         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15001         since we manipulate rounding mode.
15002         (CPPFLAGS-test-idouble.c): Likewise.
15003         (CPPFLAGS-test-ifloat.c): Likewise.
15004         (CFLAGS-test-ldouble.c): Likewise.
15005         (CFLAGS-test-double.c): Likewise.
15006         (CFLAGS-test-float.c): Likewise.
15007         (CFLAGS-test-misc.c): Likewise.
15008         (CFLAGS-test-test-fenv.c): Likewise.
15010 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15012         [BZ #2550]
15013         [BZ #2570]
15014         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15015         comparisons to determine direction to adjust input.
15017 2012-05-01  Roland McGrath  <roland@hack.frob.com>
15019         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15020         output to the target.
15022         * scripts/localplt.awk: New file.
15023         * elf/Makefile ($(objpfx)check-localplt): Target removed.
15024         (check-localplt-CFLAGS): Variable removed.
15025         ($(all-built-dso:=.jmprel)): New static pattern rule.
15026         (generated): Add those targets.
15027         (localplt-built-dso): New variable.
15028         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15030         * elf/check-localplt.c: File removed.
15032         * scripts/check-execstack.awk: New file.
15033         * elf/Makefile ($(objpfx)check-execstack): Target removed.
15034         (check-execstack-CFLAGS): Variable removed.
15035         ($(objpfx)check-execstack.h): Target removed.
15036         ($(objpfx)execstack-default): New target.
15037         (generated): Add that instead of check-execstack.h.
15038         ($(all-built-dso:=.phdr)): New static pattern rule.
15039         (generated): Add those targets.
15040         * elf/check-execstack.c: File removed.
15042         * scripts/check-textrel.awk: New file.
15043         * elf/Makefile ($(objpfx)check-textrel): Target removed.
15044         (check-textrel-CFLAGS): Variable removed.
15045         (all-built-dso): Use := to define.o
15046         ($(all-built-dso:=.dyn)): New static pattern rule.
15047         (generated): Add those targets.
15048         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15049         * config.make.in (READELF): New substituted variable.
15050         * elf/check-textrel.c: File removed.
15052 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15054         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15055         allow.
15056         * conform/data/ctype.h-data [C99-based standards] (isblank):
15057         Expect function.
15058         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15059         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15060         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15061         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15062         Specify type.  Require positive value.
15063         (EILSEQ): Likewise.
15064         (ERANGE): Likewise.
15065         [ISO || POSIX] (EILSEQ): Do not expect.
15066         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15067         Specify type.  Require positive value.
15068         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15069         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15070         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15071         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15072         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15073         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15074         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15075         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15076         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15077         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15078         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15079         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15080         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15081         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15082         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15083         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15084         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15085         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15086         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15087         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15088         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15089         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15090         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15091         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15092         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15093         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15094         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15095         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15096         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15097         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15098         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15099         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15100         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15101         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15102         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15103         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15104         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15105         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15106         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15107         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15108         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15109         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15110         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15111         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15112         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15113         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15114         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15115         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15116         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15117         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15118         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15119         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15120         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15121         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15122         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15123         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15124         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15125         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15126         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15127         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15128         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15129         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15130         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15131         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15132         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15133         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15134         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15135         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15136         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15137         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15138         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15139         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15140         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15141         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15142         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15143         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15144         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15145         Require >= 2.
15146         (FLT_ROUNDS): Expect as macro, not constant.
15147         (FLT_MANT_DIG): Use macro-int-constant.
15148         (DBL_MANT_DIG): Likewise.
15149         (LDBL_MANT_DIG): Likewise.
15150         (FLT_DIG): Likewise.
15151         (DBL_DIG): Likewise.
15152         (LDBL_DIG): Likewise.
15153         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
15154         (DBL_MIN_EXP): Likewise.
15155         (LDBL_MIN_EXP): Likewise.
15156         (FLT_MAX_EXP): Use macro-int-constant.
15157         (DBL_MAX_EXP): Likewise.
15158         (LDBL_MAX_EXP): Likewise.
15159         (FLT_MAX_10_EXP): Likewise.
15160         (DBL_MAX_10_EXP): Likewise.
15161         (LDBL_MAX_10_EXP): Likewise.
15162         (FLT_MAX): Use macro-constant.
15163         (DBL_MAX): Likewise.
15164         (LDBL_MAX): Likewise.
15165         (FLT_EPSILON): Use macro-constant.  Give upper bound.
15166         (DBL_EPSILON): Likewise.
15167         (LDBL_EPSILON): Likewise.
15168         (FLT_MIN): Likewise.
15169         (DBL_MIN): Likewise.
15170         (LDBL_MIN): Likewise.
15171         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15172         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15173         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15174         [ISO11] (FLT_HAS_SUBNORM): Likewise.
15175         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15176         [ISO11] (DBL_DECIMAL_DIG): Likewise.
15177         [ISO11] (FLT_DECIMAL_DIG): Likewise.
15178         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15179         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15180         [ISO11] (FLT_TRUE_MIN): Likewise.
15181         [ISO11] (LDBL_TRUE_MIN): Likewise.
15182         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15183         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15184         (SCHAR_MIN): Use macro-int-constant.  Specify type.
15185         (SCHAR_MAX): Likewise.
15186         (UCHAR_MAX): Likewise.
15187         (CHAR_MIN): Likewise.
15188         (CHAR_MAX): Likewise.
15189         (MB_LEN_MAX): Use macro-int-constant.
15190         (SHRT_MIN): Use macro-int-constant.  Specify type.
15191         (SHRT_MAX): Likewise.
15192         (USHRT_MAX): Likewise.
15193         (INT_MAX): Likewise.
15194         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
15195         bound negative.
15196         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15197         bound with "U".
15198         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15199         bound with "L".
15200         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
15201         bound negative.  Suffix upper bound with "L".
15202         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
15203         bound with "UL".
15204         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15205         Specify type.
15206         [C99-based standards] (LLONG_MAX): Likewise.
15207         [C99-based standards] (ULLONG_MAX): Likewise.
15208         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
15209         == 0.
15210         [ISO11] (max_align_t): Require type.
15211         [ISO || ISO99 || ISO11] (*_t): Do not allow.
15213         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15214         from $CFLAGS, without defining away __attribute__ calls.
15215         (checknamespace): Use $CFLAGS_namespace.
15217         * conform/conformtest.pl (@keywords): Only include C99 keywords
15218         for standards based on C99 or C11.
15220         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15221         Disable tests.
15222         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15223         UNIX98]: Likewise.
15225         * conform/conformtest.pl: Handle "macro-int-constant" and test for
15226         usability of symbols in #if.
15228         * conform/conformtest.pl: If macro or constant types start
15229         "promoted:", expect the symbol to be of the following type
15230         promoted by the integer promotions.
15232         * conform/conformtest.pl: Parse all "constant" and "macro" lines
15233         in one place.  Also handle "macro-constant".
15235         * conform/conformtest.pl: Only accept expected macro values with
15236         "==".  Parse all "macro" lines in one place.
15237         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15239         * conform/conformtest.pl: Handle braced types on "constant" lines
15240         instead of handling "typed-constant".
15241         * conform/data/signal.h-data: Use "constant" instead of
15242         "typed-constant".
15244         * conform/conformtest.pl: Handle "optional-" at start of lines in
15245         one place rather than duplicating several cases.  Handle each
15246         format of "macro" line with initial "optional-".
15248         * conform/conformtest.pl: Only accept expected constant or
15249         optional-constant values with "==".  Parse all "constant" lines in
15250         one place.  Parse all "optional-constant" lines in one place.
15251         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15252         * conform/data/fmtmsg.h-data: Likewise.
15253         * conform/data/netinet/in.h-data: Likewise.
15254         * conform/data/tar.h-data: Likewise.
15255         * conform/data/limits.h-data: Use "==" form on "constant" and
15256         "optional-constant" lines.
15258         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15259         Use -std=c99 for XOPEN2K.
15260         (@knownproblems): Remove.
15261         (newtoken): Don't check %isknown.
15263         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15264         Do not expect macro.
15265         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15266         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15267         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15268         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15269         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15270         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15271         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15272         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15273         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15274         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15275         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15276         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15277         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15278         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15279         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15280         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15281         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15282         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15283         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15284         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15285         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15286         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15287         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15288         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15289         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15290         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15291         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15292         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15293         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15294         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15295         [XPG3] (acosh): Likewise.
15296         [XPG3] (asinh): Likewise.
15297         [XPG3] (atanh): Likewise.
15298         [XPG3] (cbrt): Likewise.
15299         [XPG3] (expm1): Likewise.
15300         [XPG3] (ilogb): Likewise.
15301         [XPG3] (log1p): Likewise.
15302         [XPG3] (logb): Likewise.
15303         [XPG3] (nextafter): Likewise.
15304         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15305         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15306         [XPG3] (remainder): Likewise.
15307         [XPG3] (rint): Likewise.
15308         [XPG3 || XPG4 || UNIX98] (round): Likewise.
15309         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15310         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15311         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15312         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15313         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15314         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15315         [UNIX98 || XOPEN2K] (scalb): Expect.
15316         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15317         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15318         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15319         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15320         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15321         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15322         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15323         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15324         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15325         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15326         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15327         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15328         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15329         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15330         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15331         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15332         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15333         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15334         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15335         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15336         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15337         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15338         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15339         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15340         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15341         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15342         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15343         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15344         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15345         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15346         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15347         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15348         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15349         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15350         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15351         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15352         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15353         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15354         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15355         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15356         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15357         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15358         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15359         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15360         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15361         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15362         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15363         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15364         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15365         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15366         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15367         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15368         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15369         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15370         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15371         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15372         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15373         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15374         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15375         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15376         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15377         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15378         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15379         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15380         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15381         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15382         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15383         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15384         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15385         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15386         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15387         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15388         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15389         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15390         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15391         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15392         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15393         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15394         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15395         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15396         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15397         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15398         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15399         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15400         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15401         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15402         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15403         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15404         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15405         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15406         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15407         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15408         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15409         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15410         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15411         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15412         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15413         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15414         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15415         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15416         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15417         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15418         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15419         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15420         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15421         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15422         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15423         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15424         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15425         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15426         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15427         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15428         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15429         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15430         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15431         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15432         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15433         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15434         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15435         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15436         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15437         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15438         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15439         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15440         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15441         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15442         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15443         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15444         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15445         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15446         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15447         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15448         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15449         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15450         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15451         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15452         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15454         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15455         _XOPEN_SOURCE_EXTENDED for XPG4.
15457         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15459         * Makeconfig (localtime): Remove variable.
15460         (inst_localtime-file): Likewise.
15462 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15465         Update.
15466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15467         Update.
15468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15469         Update.
15470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15471         Update.
15472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15473         Update.
15474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15475         Update.
15476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15477         Update.
15478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15479         Update.
15480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15481         Update.
15483 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
15485         [BZ #2550]
15486         [BZ #2570]
15487         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15488         comparisons to determine direction to adjust input.
15489         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15490         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15491         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15492         Likewise.
15493         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15494         Likewise.
15495         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15496         Likewise.
15497         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15498         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15499         Likewise.
15500         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15501         Likewise.
15502         * math/libm-test.inc (nexttoward_test): Add more tests.
15504 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15506         [BZ #14040]
15507         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15508         in version GLIBC_2.1, not GLIBC_2.0.
15509         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15510         Likewise.
15512 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
15514         [BZ #13942]
15515         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15516         (1 - x) * (1 + x).
15517         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15518         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15519         * math/libm-test.inc (acos_test): Add more tests.
15520         (asin_test): Likewise.
15521         * sysdeps/i386/fpu/libm-test-ulps: Update.
15522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15524         [BZ #14034]
15525         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15526         of square root.
15527         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15528         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15529         * math/libm-test.inc (acos_test_tonearest): New function.
15530         (acos_test_towardzero): Likewise.
15531         (acos_test_downward): Likewise.
15532         (acos_test_upward): Likewise.
15533         (asin_test_tonearest): Likewise.
15534         (asin_test_towardzero): Likewise.
15535         (asin_test_downward): Likewise.
15536         (asin_test_upward): Likewise.
15537         (main): Call the new functions.
15538         * sysdeps/i386/fpu/libm-test-ulps: Update.
15539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15541         [BZ #13884]
15542         [BZ #13924]
15543         * math/e_exp10.c: Include <float.h>.
15544         (__ieee754_exp10): Handle underflow here rather than multiplying
15545         large negative argument by M_LN10.
15546         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15547         of __ieee754_expf.
15548         * math/e_exp10l.c: Include <float.h>.
15549         (__ieee754_exp10l): Handle underflow here rather than multiplying
15550         large negative argument by M_LN10l.
15551         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
15552         spurious overflow exception on underflow.
15554 2012-04-29  Marek Polacek  <polacek@redhat.com>
15556         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15557         (__fortify_function): New macro.
15558         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15559         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15560         __extern_always_inline.
15561         * libio/bits/stdio2.h: Likewise.
15562         * libio/bits/stdio.h: Likewise.
15563         * string/string.h: Likewise.
15564         * string/bits/string3.h: Likewise.
15565         * include/stdio.h: Likewise.
15566         * stdlib/bits/stdlib.h: Likewise.
15567         * stdlib/stdlib.h: Likewise.
15568         * rt/bits/mqueue2.h: Likewise.
15569         * rt/mqueue.h: Likewise.
15570         * posix/bits/unistd.h: Likewise.
15571         * posix/unistd.h: Likewise.
15572         * io/bits/poll2.h: Likewise.
15573         * io/bits/fcntl2.h: Likewise.
15574         * io/fcntl.h: Likewise.
15575         * io/sys/poll.h: Likewise.
15576         * misc/bits/syslog.h: Likewise.
15577         * misc/bits/syslog-ldbl.h: Likewise.
15578         * misc/sys/syslog.h: Likewise.
15579         * socket/bits/socket2.h: Likewise.
15580         * socket/sys/socket.h: Likewise.
15581         * debug/tst-chk1.c: Likewise.
15582         * wcsmbs/bits/wchar2.h: Likewise.
15583         * wcsmbs/bits/wchar-ldbl.h: Likewise.
15584         * wcsmbs/wchar.h: Likewise.
15586 2012-04-29  Andreas Jaeger  <aj@suse.de>
15588         * Makerules (tests): Remove enable-check-abi protection.
15589         (check-abi-warn): Remove.
15590         (check-abi-%): Remove check-abi-warn usage.
15592         * configure.in: Remove check-abi configure option.
15593         * configure: Regenerated.
15594         * config.make.in (enable-check-abi): Remove.
15596 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
15598         [BZ #14033]
15599         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15600         double functions to double *_finite functions.
15602         [BZ #13941]
15603         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15604         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15605         LDBL_MIN_EXP.
15606         * stdio-common/Makefile (tests): Add tst-sprintf3.
15607         * stdio-common/tst-sprintf3.c: New file.
15609         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15610         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15612 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15614         * conform/conformtest.pl: Remove duplicate typed-constant
15615         handling.
15617 2012-04-28  David S. Miller  <davem@davemloft.net>
15619         * Makerules (%.abilist): Add vpath on sysdep_dirs.
15620         (check-abi-%): Remove AWK script prerequisite and explicit
15621         abilist directory.
15622         (check-abi): Rewrite to just diff the symlist with the abilist.
15623         (config-tls, config-abi-config): Delete, no longer used.
15624         (update-abi-%): Remove AWK script and explicit abilist directory.
15625         (update-abi): Rewrite to simply compare and conditionally copy the
15626         symlist and the sysdep abilist file.  Remove update-abi-config
15627         checks.
15628         * abilist/ld.abilist: Remove.
15629         * abilist/libBrokenLocale.abilist: Remove.
15630         * abilist/libanl.abilist: Remove.
15631         * abilist/libcrypt.abilist: Remove.
15632         * abilist/libdl.abilist: Remove.
15633         * abilist/librt.abilist: Remove.
15634         * abilist/libthread_db.abilist: Remove.
15635         * abilist/libutil.abilist: Remove.
15636         * scripts/extract-abilist.awk: Remove.
15637         * scripts/merge-abilist.awk: Remove.
15638         * sysdeps/generic/libcidn.abilist: New file.
15639         * sysdeps/generic/libnss_compat.abilist: New file.
15640         * sysdeps/generic/libnss_db.abilist: New file.
15641         * sysdeps/generic/libnss_dns.abilist: New file.
15642         * sysdeps/generic/libnss_files.abilist: New file.
15643         * sysdeps/generic/libnss_hesiod.abilist: New file.
15644         * sysdeps/generic/libnss_nis.abilist: New file.
15645         * sysdeps/generic/libnss_nisplus.abilist: New file.
15646         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15647         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15648         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15649         file.
15650         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15651         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15652         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15653         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15654         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15655         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15656         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15657         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15658         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15659         file.
15660         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15661         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15662         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15663         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15664         file.
15665         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15666         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15667         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15668         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15669         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15670         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15671         file.
15672         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15673         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15674         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15675         file.
15676         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15677         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15678         New file.
15679         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15680         New file.
15681         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15682         New file.
15683         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15684         New file.
15685         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15686         New file.
15687         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15688         New file.
15689         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15690         New file.
15691         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15692         New file.
15693         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15694         New file.
15695         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15696         New file.
15697         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15698         New file.
15699         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15700         New file.
15701         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15702         New file.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15704         file.
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15706         New file.
15707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15708         New file.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15710         file.
15711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15712         New file.
15713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15714         New file.
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15716         file.
15717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15718         New file.
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15720         New file.
15721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15722         New file.
15723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15724         New file.
15725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15726         New file.
15727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15728         New file.
15729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15731         file.
15732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15733         New file.
15734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15735         file.
15736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15737         file.
15738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15739         file.
15740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15741         file.
15742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15743         file.
15744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15745         New file.
15746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15747         file.
15748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15749         file.
15750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15751         New file.
15752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15753         file.
15754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15756         file.
15757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15758         New file.
15759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15760         file.
15761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15762         file.
15763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15764         file.
15765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15766         file.
15767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15768         file.
15769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15770         New file.
15771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15772         file.
15773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15774         file.
15775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15776         New file.
15777         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15778         file.
15779         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15780         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15781         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15782         file.
15783         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15784         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15785         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15786         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15787         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15788         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15789         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15790         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15791         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15792         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15795         file.
15796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15797         New file.
15798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15799         file.
15800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15801         file.
15802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15803         file.
15804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15805         file.
15806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15807         file.
15808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15809         New file.
15810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15811         New file.
15812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15813         file.
15814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15815         New file.
15816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15817         file.
15818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15820         file.
15821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15822         New file.
15823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15824         file.
15825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15826         file.
15827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15828         file.
15829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15830         file.
15831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15832         file.
15833         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15834         New file.
15835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15836         New file.
15837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15838         file.
15839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15840         New file.
15841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15842         file.
15844 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
15846         * conform/conformtest.pl: Fix typo in handling typed-constant from
15847         allow-header.
15849 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15851         * README: Cut down references to pre-2.6 Linux kernels and
15852         Linuxthreads.  Update lists of configurations in libc and ports
15853         and sort alphabetically.  Say "or newer" with Linux kernel version
15854         requirements.
15856         * config.h.in [IS_IN_build]: Allow compiling without optimization.
15858 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15860         [BZ #887]
15861         * math/libm-test.inc (logb_test_downward): New test to expose
15862         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15863         rounding mode.
15865 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
15867         [BZ #14027]
15868         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15869         to be done.
15870         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15871         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15873 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
15875         * sysdeps/unix/i386/brk.S: Remove file.
15876         * sysdeps/unix/i386/dl-brk.S: Likewise.
15877         * sysdeps/unix/i386/pipe.S: Likewise.
15878         * sysdeps/unix/i386/sigreturn.S: Likewise.
15879         * sysdeps/unix/i386/syscall.S: Likewise.
15880         * sysdeps/unix/i386/vfork.S: Likewise.
15881         * sysdeps/unix/i386/wait.S: Likewise.
15883         * sysdeps/unix/common/tcsendbrk.c: Move to ...
15884         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15886         * configure.in (arm*-none*): Do not allow without
15887         --enable-hacker-mode.
15888         (netbsd*): Remove case setting base_os.
15889         (386bsd*): Likewise.
15890         (freebsd*): Likewise.
15891         (bsdi*): Likewise.
15892         (osf*): Likewise.
15893         (sunos*): Likewise.
15894         (ultrix*): Likewise.
15895         (newsos*): Likewise.
15896         (dynix*): Likewise.
15897         (*bsd*): Likewise.
15898         (sysv*): Likewise.
15899         (isc*): Likewise.
15900         (esix*): Likewise.
15901         (sco*): Likewise.
15902         (minix*): Likewise.
15903         (irix4*): Likewise.
15904         (irix6*): Likewise.
15905         (solaris[2-9]*): Likewise.
15906         (none): Likewise.
15907         * configure: Regenerated.
15909 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15911         [BZ #11521]
15912         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15913         overflow or cancellation in calculating denominator.
15914         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15915         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15916         down expression to avoid unexpected rounding in newer GCCs.
15917         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15919 2012-04-26  David S. Miller  <davem@davemloft.net>
15921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15922         long-double compat symbols.
15923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15935         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15937 2012-04-25  David S. Miller  <davem@davemloft.net>
15939         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15940         HWCAP_* values only after the memory barriers have been defined.
15941         (atomic_full_barrier): Define.
15942         (atomic_read_barrier): Define.
15943         (atomic_write_barrier): Define.
15945 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15947         * shlib-versions: Add libgcc_s version information.
15948         * sysdeps/generic/libgcc_s.h: Remove.
15949         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15950         libgcc_s.h.
15951         * sysdeps/gnu/unwind-resume.c: Likewise.
15952         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15954 2012-04-25  David S. Miller  <davem@davemloft.net>
15956         * sysdeps/unix/sparc/brk.S: Delete.
15957         * sysdeps/unix/sparc/dl-brk.S: Delete.
15958         * sysdeps/unix/sparc/pipe.S: Delete.
15959         * sysdeps/unix/sparc/sysdep.S: Delete.
15960         * sysdeps/unix/sparc/sysdep.h: Delete.
15961         * sysdeps/unix/sparc/vfork.S: Delete.
15962         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15963         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15964         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15965         ret_ERRVAL, r0, r1, MOVE): Define.
15966         (JUMPTARGET): Remove.
15967         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15968         sysdeps/unix/sparc/sysdep.h
15969         (ENTRY, END): Remove.
15970         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15972 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
15974         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15975         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15976         -DIS_IN_build.
15978         * timezone/README: Update upstream location and email address for
15979         tzcode and tzdata.
15980         * timezone/zdump.c: Update from tzcode 2012b.
15981         * timezone/zic.c: Likewise.
15983         * configure.in (libc_cv_as_needed): Remove test.
15984         * configure: Regenerated.
15985         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15986         conditional definition.
15987         [$(have-as-needed) != yes] (no-as-needed): Likewise.
15988         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15989         * config.make.in (have-as-needed): Remove variable.
15991 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15992             Paul Pluzhnikov  <ppluzhnikov@google.com>
15994         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15995         strings correctly.
15997 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15999         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16000         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16001         * sysdeps/sh/strlen.S: Likewise.
16003 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16005         * sysdeps/unix/fork.S: Remove file.
16006         * sysdeps/unix/i386/fork.S: Likewise.
16007         * sysdeps/unix/sparc/fork.S: Likewise.
16009         * sysdeps/unix/system.c: Remove file.
16010         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16012         * sysdeps/unix/getegid.S: Remove file.
16013         * sysdeps/unix/geteuid.S: Likewise.
16015 2012-04-24  Roland McGrath  <roland@hack.frob.com>
16017         * scripts/check-localplt.awk: New file.
16018         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16019         of diff.
16020         * scripts/data/localplt-generic.data: Add a comment.
16022         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16023         NODE when __dir_mkfile failed.
16024         * sysdeps/mach/hurd/symlinkat.c: Likewise.
16025         Reported by Ludovic Courtès <ludo@gnu.org>.
16027 2012-04-24  Andreas Jaeger  <aj@suse.de>
16029         * Makerules (common-clean): Also remove gen-as-const-headers
16030         files.
16032 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16034         * Makerules (native-compile): Do not change working directory for
16035         build.  Use $(OUTPUT_OPTION) in command.
16036         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16038 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16040         [BZ #13886]
16041         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16042         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16043         * math/libm-test.inc (floor_test): Add more tests.
16044         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16046 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
16048         * sysdeps/unix/getdents.c: Remove file.
16049         * sysdeps/unix/sysv/getdents.c: Likewise.
16050         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16052         * sysdeps/unix/syscalls.list (madvise): Add syscall from
16053         sysdeps/unix/mman/syscalls.list.
16054         (mmap): Likewise.
16055         (mprotect): Likewise.
16056         (msync): Likewise.
16057         (munmap): Likewise.
16058         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16059         * sysdeps/unix/mman/syscalls.list: Remove.
16060         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16062         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16063         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16064         * configure: Regenerated.
16065         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16066         $(libgcc_s_suffix).
16067         * config.make.in (libgcc_s_suffix): Remove variable.
16069 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
16071         * sysdeps/unix/sysv/gethostname.c: Move to ...
16072         * sysdeps/posix/gethostname.c: ... here.
16074         * sysdeps/unix/execve.S: Remove file.
16076         * sysdeps/unix/_exit.S: Remove file.
16078 2012-04-23  Andreas Jaeger  <aj@suse.de>
16080         [BZ #13739]
16081         * manual/Makefile: Remove make dist support, there's no
16082         need for a stand-alone documentation tar ball.
16083         (TEXI2DVI): Define always, it's not in Makeconfig.
16084         (dist): Removed.
16085         (tar-it): Removed.
16086         (edition): Removed.
16087         (glibc-doc-$(edition).tar): Removed
16088         (%.Z): Removed.
16089         (%.gz): Removed.
16090         (%.uu): Removed.
16091         (ETAGS): Remove, it's in Makeconfig.
16092         (move-if-change): Remove, it's in Makeconfig.
16094 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
16096         [BZ #13970]
16097         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16098         (strtod, strtof, strtold, strtol, strtoul, strtoq)
16099         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16100         (strtod_l, strtof_l, strtold_l): Remove __wur.
16101         It is not necessarily an error to ignore strtol's return value.
16102         One can reliably look at the stored endptr to decide whether
16103         the number had valid syntax.
16105 2012-04-21  Andreas Jaeger  <aj@suse.de>
16107         [BZ #13739]
16108         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16110 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
16112         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16113         * sysdeps/unix/sysv/Versions: Remove file.
16115 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
16117         [BZ #13927]
16118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16120 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
16122         [BZ #7064]
16123         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16124         version from __vm86.
16126 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
16128         * sysdeps/unix/common/lxstat.c: Remove file.
16129         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16131         * sysdeps/unix/sysv/Makefile: Remove file.
16133         * sysdeps/unix/sysv/direct.h: Remove file.
16135         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16136         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16137         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16138         * sysdeps/unix/sysv/bits/signum.h: Likewise.
16139         * sysdeps/unix/sysv/bits/stat.h: Likewise.
16140         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16141         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16143         * sysdeps/unix/sysv/setrlimit.c: Remove file.
16145         * sysdeps/unix/xmknod.c: Remove file.
16146         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16148         * sysdeps/unix/sysv/settimeofday.c: Remove file.
16150         * sysdeps/unix/sysv/i386/time.S: Remove file.
16152         * sysdeps/unix/fxstat.c: Remove file.
16153         * sysdeps/unix/xstat.c: Likewise.
16154         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16156         * sysdeps/unix/sysv/sigaction.c: Remove file.
16158         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16159         (sysdep_headers): Remove variable.
16160         [termio.h not in sysdep_headers] (generated): Likewise.
16161         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16162         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16163         * sysdeps/unix/sysv/tcdrain.c: Likewise.
16164         * sysdeps/unix/sysv/tcflow.c: Likewise.
16165         * sysdeps/unix/sysv/tcflush.c: Likewise.
16166         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16167         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16168         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16169         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16170         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16172         * sysdeps/unix/siglist.c: Remove file.
16174         * sysdeps/unix/getppid.S: Remove file.
16176         * sysdeps/unix/mkdir.c: Remove file.
16177         * sysdeps/unix/rmdir.c: Likewise.
16179 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
16181         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16182         ERR_MAX value.
16183         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16184         errlist-compat value.
16186 2012-04-18  David S. Miller  <davem@davemloft.net>
16188         * sysdeps/generic/memcopy.h (reg_char): Delete.
16189         * debug/strcat_chk.c: Use char, not reg_char.
16190         * debug/strcpy_chk.c: Likewise.
16191         * debug/strncat_chk.c: Likewise.
16192         * debug/strncpy_chk.c: Likewise.
16193         * string/memchr.c: Likewise.
16194         * string/memrchr.c: Likewise.
16195         * string/rawmemchr.c: Likewise.
16196         * string/strcat.c: Likewise.
16197         * string/strchr.c: Likewise.
16198         * string/strchrnul.c: Likewise.
16199         * string/strcmp.c: Likewise.
16200         * string/strcpy.c: Likewise.
16201         * string/strncat.c: Likewise.
16202         * string/strncmp.c: Likewise.
16203         * string/strncpy.c: Likewise.
16205 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16207         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16208         __builtin_memcopy is called when src and dest ranges are known to not
16209         overlap.
16211 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16213         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16214         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16215         fwd_align_merge macro call.
16216         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16217         bwd_align_merge macro call.
16218         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16220 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
16222         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16223         bwd_align_merge macros.
16224         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16225         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16226         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16228 2012-04-18  David S. Miller  <davem@davemloft.net>
16230         * sysdeps/sparc/sparc64/memcopy.h: Delete.
16232 2012-04-18  Andreas Jaeger  <aj@suse.de>
16234         [BZ# 6794]
16235         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16236         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16237         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16239         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16240         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16241         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16243         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16244         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16245         Adjust for changed ldbl-128 files.
16247         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16248         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16249         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16251 2012-04-17  David S. Miller  <davem@davemloft.net>
16253         * sysdeps/sparc/sparc32/memcopy.h: Delete.
16255 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
16257         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16258         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16259         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16260         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16261         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16262         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16264 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16266         [BZ #6794]
16267         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16268         * math/libm-test.inc: Add ilogb errno and exception tests.
16269         * math/w_ilogb.c: New file: ilogb wrapper.
16270         * math/w_ilogbf.c: New file: ilogbf wrapper.
16271         * math/w_ilogbl.c: New file: ilogbl wrapper.
16272         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16273         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16274         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16275         exception being thrown with 0.0 as argument.
16276         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16277         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16278         exception being thrown with 0.0 as argument.
16279         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16280         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16281         exception being thrown with 0.0 as argument.
16282         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16283         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16284         exception being thrown with 0.0 as argument.
16285         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16286         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
16287         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
16288         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16289         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16290         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16291         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16292         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16293         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16295 2012-04-17  Petr Baudis  <pasky@ucw.cz>
16297         * include/sys/uio.h: Change __vector to __iovec to avoid clash
16298         with altivec.
16300 2012-04-16  Marek Polacek  <polacek@redhat.com>
16302         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16304 2012-04-16  Marek Polacek  <polacek@redhat.com>
16306         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16307         operands of fdivp instruction.
16309 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16311         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16312         * elf/tst-auditmod3b.c: Likewise.
16313         * elf/tst-auditmod4b.c: Likewise.
16314         * elf/tst-auditmod5b.c: Likewise.
16315         * elf/tst-auditmod6b.c: Likewise.
16316         * elf/tst-auditmod6c.c: Likewise.
16317         * elf/tst-auditmod7b.c: Likewise.
16318         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16319         * sysdeps/x86_64/preconfigure.in: Likewise.
16320         * sysdeps/x86_64/preconfigure: Regenerated.
16322 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
16324         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16325         __ILP32__.
16327 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
16329         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16330         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16332 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
16334         [BZ #13973]
16335         * locale/iso-639.def: Fix gl language name. Spotted by
16336         Yaron Shahrabani.
16338 2012-04-12  Roland McGrath  <roland@hack.frob.com>
16340         [BZ #2074]
16341         * libio/libio.h (__io_write_fn): Update comment.
16343 2012-04-12  Petr Baudis  <pasky@ucw.cz>
16345         [BZ #2074]
16346         * stdio.texi (Hook Functions): The user provided writer function
16347         is not allowed to return -1.
16349 2012-04-11  David S. Miller  <davem@davemloft.net>
16351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16353 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
16355         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16356         Add a leading slash to rtkaio.
16358 2012-04-11  Jim Meyering  <meyering@redhat.com>
16360         [BZ #11959]
16361         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16362         It is not necessarily an error to ignore fwrite's return
16363         value.  One can reliably use ferror to test for errors after
16364         the fact.
16366 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16368         * bits/types.h (__snseconds_t): New type.
16369         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16371         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16372         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16373         (__SNSECONDS_T_TYPE): Likewise.
16374         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16375         (__SNSECONDS_T_TYPE): Likewise.
16376         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16377         (__SNSECONDS_T_TYPE): Likewise.
16379 2012-04-10  Andreas Jaeger  <aj@suse.de>
16381         [BZ #2636]
16382         * manual/time.texi (Processor Time): Return type of times is
16383         elapsed real time since an arbitrary point in the past.
16384         (CPU Time): Move CLK_TCK from here...
16385         (Processor Time): ...to here.  Correct description.
16386         * manual/conf.texi (Constants for Sysconf): Correct description of
16387         _SC_CLK_TCK.
16389 2012-04-10  David S. Miller  <davem@davemloft.net>
16391         [BZ #13967]
16392         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16393         where the is a gap between DT_REL(A) and DT_JMPREL.
16395 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
16397         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16398         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16399         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16401 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16403         * elf/dl-support.c (_dl_inhibit_cache): New variable.
16404         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16405         (dl_main): Handle --inhibit-cache.
16406         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16407         _dl_inhibit_cache.
16408         * elf/dl-load.c (_dl_map_object): Use it.
16409         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16411 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16413         [BZ #13872]
16414         * sysdeps/i386/fpu/e_powl.S (p78): New object.
16415         (__ieee754_powl): Saturate large exponents rather than testing for
16416         overflow of y*log2(x).
16417         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16418         * math/libm-test.inc (pow_test): Do not permit spurious overflow
16419         exceptions.
16421         [BZ #11521]
16422         * math/s_ctan.c: Include <float.h>.
16423         (__ctan): Avoid internal overflow or cancellation in calculating
16424         denominator.
16425         * math/s_ctanf.c: Likewise.
16426         * math/s_ctanl.c: Likewise.
16427         * math/s_ctanh.c: Likewise.
16428         * math/s_ctanhf.c: Likewise.
16429         * math/s_ctanhl.c: Likewise.
16430         * math/libm-test.inc (ctan_test): Add more tests.
16431         (ctanh_test): Likewise.
16432         * sysdeps/i386/fpu/libm-test-ulps: Update.
16433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16435 2012-04-09  Andreas Jaeger  <aj@suse.de>
16437         [BZ #6894]
16438         * manual/filesys.texi (Directory Entries): Mention that d_namlen
16439         is an optional BSD extension.
16441         [BZ #10254]
16442         * manual/stdio.texi (Opening Streams): Document additional fopen
16443         parameters.
16445 2012-04-09  Roland McGrath  <roland@hack.frob.com>
16447         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16448         %eax without telling the compiler.
16450 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
16452         [BZ # 13963]
16453         * manual/install.texi: Use sourceware.org.
16455 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
16457         [BZ #13873]
16458         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16459         (__ieee754_pow): Generate overflow and underflow using huge*huge
16460         and tiny*tiny rather than just returning constant infinity or zero
16461         for large exponents.
16462         * math/libm-test.inc (pow_test): Require overflow exceptions for
16463         applicable cases of large exponents.
16465         [BZ #706]
16466         * sysdeps/i386/fpu/e_pow.S (p10): New object.
16467         (__ieee754_pow): Use iterative multiplication algorithm only for
16468         integer exponents with absolute value below 1024.  Check for odd
16469         integer exponents when using algorithm for real exponents.
16470         * math/libm-test.inc (pow_test): Add more tests.
16471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16473 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
16475         [BZ #13705]
16476         * math/libm-test.inc (exp_test): Do not allow overflow exception
16477         on underflow test.
16479 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
16481         [BZ #13705]
16482         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16483         instead of __kernel_standard_f.
16485 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
16487         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16488         * sysdeps/x86_64/memset_chk.S: Likewise.
16490 2012-04-08  Andreas Jaeger  <aj@suse.de>
16492         [BZ #10153]
16493         * manual/startup.texi (Environment Access): Describe return value
16494         for putenv and setenv.
16496         [BZ #6895]
16497         * manual/filesys.texi (Directory Entries): Add description for
16498         DT_LNK.
16500         [BZ #6890]
16501         * manual/filesys.texi (Directory Entries): Clarify that it's file
16502         system not operating system in the description of DT_UNKNOWN.
16504         [BZ #6578]
16505         * manual/syslog.texi (closelog): Fix reference, it's openlog.
16507 2012-04-08  Stephen Compall  <s11@member.fsf.org>
16509         [BZ #6649]
16510         * manual/llio.texi (Opening and Closing Files): Add cross
16511         reference to explain mode argument.
16513 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
16515         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16516         * sysdeps/x86_64/memset_chk.S: Likewise.
16518 2012-04-07  David S. Miller  <davem@davemloft.net>
16520         * elf/elf.h (R_SPARC_WDISP10): Define.
16521         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16522         R_SPARC_SIZE32.
16523         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16524         R_SPARC_SIZE64 and R_SPARC_H34.
16526 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
16528         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16529         conditions and remove no longer applicable assertion.
16531 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16533         * bits/byteswap.h: Include <features.h>.
16534         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16535         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16537 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
16539         * bits/byteswap.h (__bswap_16): Removed.
16540         Include <bits/byteswap-16.h> to get __bswap_16.
16541         * sysdeps/i386/bits/byteswap.h: Likewise.
16542         * sysdeps/s390/bits/byteswap.h: Likewise.
16543         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16544         * bits/byteswap-16.h: New file.
16545         * sysdeps/i386/bits/byteswap-16.h: Likewise.
16546         * sysdeps/s390/bits/byteswap-16.h: Likewise.
16547         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16548         * string/Makefile (headers): Add bits/byteswap-16.h.
16550 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16552         [BZ #13895]
16553         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16554         extra indirection.
16555         * nss/Makefile (tests-static, tests): Add tst-nss-static.
16556         * nss/tst-nss-static.c: New.
16558 2012-04-06  Robert Millan  <rmh@gnu.org>
16560         [BZ #6486]
16561         * manual/llio.texi (File Position Primitive): lseek
16562         refers to WHENCE when it really means OFFSET.
16564 2012-04-06  Andreas Jaeger  <aj@suse.de>
16566         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16567         strncmp declarations.
16569         * abilist/libc.abilist: Add __poll and __ppoll.
16571 2012-04-05  David S. Miller  <davem@davemloft.net>
16573         * scripts/check-local-headers.sh: Accept a host triplet in the
16574         path matched by the exclude regexp.
16576         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16577         definition.
16578         * sysdeps/powerpc/powerpc32/dl-machine.h
16579         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16580         * sysdeps/s390/s390-32/dl-machine.h
16581         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16582         * sysdeps/sparc/sparc32/dl-machine.h
16583         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16584         * sysdeps/sparc/sparc64/dl-machine.h
16585         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16587         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16588         lazy binding.
16589         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
16590         undefined symbol errors.
16592         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
16593         DT_NEEDED entries.
16595 2012-04-05  Michael Matz  <matz@suse.de>
16597         [BZ #13592]
16598         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16600 2012-04-05  Andreas Jaeger  <aj@suse.de>
16602         [BZ #13908]
16603         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16604         comment.
16606 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16608         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16609         which ROUND is no valid rounding mode.
16611 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16613         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16614         read again.
16615         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16617 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16619         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16620         an exception using FPU order intentionally.
16622 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16624         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16625         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16626         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16627         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16629 2012-04-05  Simon Josefsson  <simon@josefsson.org>
16631         [BZ #12340]
16632         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16633         EINVAL when BUFLEN is too smal.
16635 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16637         [BZ #13553]
16638         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16639         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16641 2012-04-03  Andreas Jaeger  <aj@suse.de>
16643         [BZ #13938]
16644         * manual/setjmp.texi (System V contexts): Fix sentence.
16646         [BZ #13926]
16647         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16648         New macro for this case.
16649         [!__GNUC__] (__bswap_64): New inline function for this case.
16650         * sysdeps/x86_64/bits/byteswap.h: Likewise.
16651         * bits/byteswap.h: Likewise.
16652         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16653         ull, guard with __GLIBC_HAVE_LONG_LONG.
16655         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16656         __GLIBC_HAVE_LONG_LONG.
16658         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16659         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16661 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16663         [BZ #13691]
16664         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16665         inptr and inend, rather than using last_ch.
16667 2012-04-02  David S. Miller  <davem@davemloft.net>
16669         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16670         * stdio-common/printf-parse.h (read_int): Change return type to
16671         'int', return -1 on INT_MAX overflow.
16672         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16673         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
16674         overflows INT_MAX.  Check for overflow of in-format-string precision
16675         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
16676         SIZE_MAX not INT_MAX for integer overflow test.
16677         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16678         skip the construct in the format string but do not record anything.
16679         * stdio-common/bug22.c: Adjust to test both width/prevision
16680         INT_MAX overflow as well as total length INT_MAX overflow.  Check
16681         explicitly for proper errno values.
16683 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
16685         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16686         CHAR_MAX.
16687         * string/test-strcmp.c [! WIDE]: Likewise.
16688         * time/tst-mktime2.c: Likewise for INT_MAX.
16689         * string/test-string.h: #include <sys/param.h> for MIN.
16691         * csu/init-first.c (__libc_init_first): Call __ctype_init.
16692         * sysdeps/i386/init-first.c (init): Likewise.
16693         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16694         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16695         * sysdeps/sh/init-first.c (init): Likewise.
16697 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
16699         * po/ru.po: Update from translation team.
16700         * po/vi.po: Likewise.
16702 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16704         * resolv/nss_dns/dns-host.c: Merge copyright years.
16706 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
16708         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16709         Optimize memcpy with prefetch if
16710         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
16711         src, dst pointers have unequal 16 byte alignments.
16713 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16715         [BZ #13928]
16716         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16717         from a CNAME entry and return the minimum ttl for the query.
16718         (gaih_getanswer_slice): Likewise.
16720 2012-03-30  Jeff Law  <law@redhat.com>
16722         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16723         due to long keys.
16724         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16725         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16727         * resolv/nss_dns/dns-host.c: Update copyright year.
16729 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
16731         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
16732         requests to save a system call.  Fix check that all bytes are sent.
16734         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16735         comments for sendmmsg.
16737 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16739         [BZ #13691]
16740         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16741         with only 1 character between 0x0041 and 0x01b0.
16742         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16743         * wcsmbs/tst-mbsnrtowcs.c: New file.
16745 2012-03-29  David S. Miller  <davem@davemloft.net>
16747         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16748         small copies by hand.
16750 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16752         [BZ #13761]
16753         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16754         _nss_compat_initgroups_dyn): Fall back to malloc/free
16755         for large group memberships.
16757 2012-03-28  David S. Miller  <davem@davemloft.net>
16759         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16760         that branches into memcpy.
16761         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16762         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16763         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16764         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16766         bits.
16767         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16768         implementation too.
16769         * sysdeps/sparc/mempcpy.S: New file.
16771         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16772         the IFUNC routine in the libc case.
16773         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16775         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16776         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16777         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16778         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16779         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16780         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16781         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16782         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16784         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16785         loop to 256 bytes instead of 64 bytes and fix test signedness.
16787         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16788         * sysdeps/sparc/sparc32/Makefile: rather than here...
16789         * sysdeps/sparc/sparc64/Makefile: and here.
16791 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
16793         * malloc/mallocbug.c: Avoid warnings about unused variables.
16795 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16797         [BZ #13760]
16798         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16799         in the right place. Discard and retry query if response is
16800         larger than input buffer size.
16802 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
16804         [BZ #369]
16805         [BZ #2678]
16806         [BZ #3866]
16807         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16808         x for large integer exponent.
16809         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16810         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
16811         sign of result as needed afterwards.
16812         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16813         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16814         result for underflowing pow the same as for overflow.
16815         (__kernel_standard_l): Handle powl overflow and underflow here
16816         rather than calling __kernel_standard.
16817         * math/libm-test.inc (pow_test): Add more tests.
16819         [BZ #3868]
16820         [BZ #13879]
16821         [BZ #13910]
16822         [BZ #13911]
16823         [BZ #13912]
16824         [BZ #13913]
16825         [BZ #13915]
16826         [BZ #13916]
16827         [BZ #13917]
16828         [BZ #13918]
16829         [BZ #13919]
16830         [BZ #13920]
16831         [BZ #13921]
16832         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16833         * sysdeps/ieee754/k_standard.c: Include <float.h>.
16834         (__kernel_standard_l): New function.
16835         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16836         __kernel_standard.
16837         * math/w_acosl.c (__acosl): Likewise.
16838         * math/w_asinl.c (__asinl): Likewise.
16839         * math/w_atan2l.c (__atan2l): Likewise.
16840         * math/w_atanhl.c (__atanhl): Likewise.
16841         * math/w_coshl.c (__coshl): Likewise.
16842         * math/w_exp10l.c (__exp10l): Likewise.
16843         * math/w_exp2l.c (__exp2l): Likewise.
16844         * math/w_fmodl.c (__fmodl): Likewise.
16845         * math/w_hypotl.c (__hypotl): Likewise.
16846         * math/w_j0l.c (__j0l, __y0l): Likewise.
16847         * math/w_j1l.c (__j1l, __y1l): Likewise.
16848         * math/w_jnl.c (__jnl, __ynl): Likewise.
16849         * math/w_lgammal.c (__lgammal): Likewise.
16850         * math/w_log10l.c (__log10l): Likewise.
16851         * math/w_log2l.c (__log2l): Likewise.
16852         * math/w_logl.c (__logl): Likewise.
16853         * math/w_powl.c (__powl): Likewise.
16854         * math/w_remainderl.c (__remainderl): Likewise.
16855         * math/w_scalbl.c (sysv_scalbl): Likewise.
16856         * math/w_sinhl.c (__sinhl): Likewise.
16857         * math/w_sqrtl.c (__sqrtl): Likewise.
16858         * math/w_tgammal.c (__tgammal): Likewise.
16859         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16860         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16861         * math/libm-test.inc (acos_test): Add more tests.
16862         (acosh_test): Likewise.
16863         (asin_test): Likewise.
16864         (atanh_test): Likewise.
16865         (exp_test): Likewise.
16866         (exp10_test): Likewise.
16867         (exp2_test): Likewise.
16868         (expm1_test): Likewise.
16869         (lgamma_test): Likewise.
16870         (log_test): Likewise.
16871         (log10_test): Likewise.
16872         (log1p_test): Likewise.
16873         (log2_test): Likewise.
16874         (pow_test): Do not allow some spurious overflow exceptions.
16875         (sqrt_test): Add more tests.
16876         (tgamma_test): Likewise.
16877         (y0_test): Likewise.
16878         (y1_test): Likewise.
16879         (yn_test): Likewise.
16881 2012-03-27  Anton Blanchard  <anton@samba.org>
16883         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16884         MAP_HUGETLB.
16885         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16886         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16887         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16889 2012-03-27  David S. Miller  <davem@davemloft.net>
16891         * conform/Makefile: Run run-conformtest.sh using $(BASH).
16893         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16894         have-as-vis3 check.
16896 2012-03-27  Andreas Jaeger  <aj@suse.de>
16898         * sysdeps/x86_64/elf/configure.in: Moved to ...
16899         * sysdeps/x86_64/configure.in: ... here.
16900         * sysdeps/x86_64/elf/start.S: Moved to ...
16901         * sysdeps/x86_64/start.S: ... here.
16902         * sysdeps/x86_64/elf/configure: Delete.
16904         * sysdeps/x86_64/configure.in: Merge contents from
16905         sysdeps/i386/configure.in (without i686 check).
16907         * sysdeps/i386/elf/Versions: Merge into ...
16908         * sysdeps/i386/Versions: ... this.
16909         * sysdeps/i386/elf/Versions: Delete file.
16910         * sysdeps/i386/elf/start.S: Moved to ...
16911         * sysdeps/i386/start.S: ...here.
16912         * sysdeps/i386/elf/configure.in: Merge into...
16913         * sysdeps/i386/configure.in: ...here.
16914         * sysdeps/i386/elf/configure.in: Delete file.
16915         * sysdeps/i386/elf/configure: Delete file.
16917         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16918         * debug/backtracesyms.c: ... here.
16919         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16920         * debug/backtracesymsfd.c: ... here.
16921         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16922         * sysdeps/generic/ifunc-sel.h: ... here.
16924         * sysdeps/unix/i386/start.c: Delete file.
16925         * sysdeps/unix/sparc/start.c: Delete file.
16926         * sysdeps/unix/start.c: Delete file.
16928         * sysdeps/sh/elf/configure.in: Moved to ...
16929         * sysdeps/sh/configure.in: ... here.
16930         * sysdeps/sh/elf/start.S: Moved to ...
16931         * sysdeps/sh/start.S: ... here.
16932         * sysdeps/sh/elf/configure: Delete file.
16934         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16935         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16936         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16937         * sysdeps/powerpc/powerpc64/entry.h: ... here.
16938         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16939         * sysdeps/powerpc/powerpc64/start.S: here.
16940         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16941         * sysdeps/powerpc/powerpc64/Makefile: ... this.
16942         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16943         * sysdeps/powerpc/powerpc64/configure.in: ... this.
16944         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16946         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16947         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16948         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16949         * sysdeps/powerpc/powerpc32/start.S: ... here.
16950         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16951         * sysdeps/powerpc/powerpc32/configure.in: ... this.
16952         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16954         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16955         * sysdeps/powerpc/ifunc-sel.h: ... here.
16956         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16957         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16959         * sysdeps/sparc/elf/configure.in: Moved to ...
16960         * sysdeps/sparc/configure.in: ... here.
16961         * sysdeps/sparc/elf/configure: Delete file.
16962         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16963         * sysdeps/sparc/sparc32/start.S: ... here.
16964         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16965         * sysdeps/sparc/sparc64/start.S: ... here.
16966         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16967         * sysdeps/sparc/sparc32/Makefile: ... this.
16968         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16969         * sysdeps/sparc/sparc64/Makefile: ... this.
16971         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16972         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16973         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16974         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16975         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16976         * sysdeps/s390/s390-32/setjmp.S: ... here.
16977         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16978         * sysdeps/s390/s390-32/configure.in: ... here.
16979         * sysdeps/s390/s390-32/elf/configure: Delete file.
16980         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16981         * sysdeps/s390/s390-32/start.S: ... here.
16983         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16984         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16985         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16986         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16987         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16988         * sysdeps/s390/s390-64/setjmp.S: ... here.
16989         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16990         * sysdeps/s390/s390-64/configure.in: ... here
16991         * sysdeps/s390/s390-64/elf/configure: Delete file.
16992         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16993         * sysdeps/s390/s390-64/start.S: ... here.
16994         * sysdeps/s390/s390-64/elf/configure: Delete.
16996         * configure.in: Remove support for elf directories in sysdeps.
16998         * configure: Regenerated.
16999         * sysdeps/i386/configure: Regenerated.
17000         * sysdeps/powerpc/powerpc32/configure: Regenerated.
17001         * sysdeps/powerpc/powerpc64/configure: Regenerated.
17002         * sysdeps/s390/s390-32/configure: Regenerated.
17003         * sysdeps/s390/s390-64/configure: Regenerated.
17004         * sysdeps/sh/configure: Regenerated.
17005         * sysdeps/sparc/configure: Regenerated.
17006         * sysdeps/x86_64/configure: Regenerated.
17008 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
17010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17012         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17013         denormal result into account.
17015 2012-03-25  Roland McGrath  <roland@hack.frob.com>
17017         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17018         Reported by Allan McRae <allan@archlinux.org>.
17020 2012-03-23  Jeff Law  <law@redhat.com>
17022         * nss/getnssent.c (__nss_getent): Fix typo.
17024 2012-03-23  David S. Miller  <davem@davemloft.net>
17026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17028 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
17030         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17031         to pad to uint64_t for each field.
17032         (dl_tls_index): Replace unsigned long with uint64_t.
17034 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
17035         Paul Pluzhnikov  <ppluzhnikov@google.com>
17037         [BZ #6528]
17038         * grp/Makefile (otherlibs): Don't set it.
17039         * inet/Makefile (otherlibs): Likewise.
17040         * login/Makefile (otherlibs): Likewise.
17041         * nscd/Makefile (otherlibs): Likewise.
17042         * posix/Makefile (otherlibs): Likewise.
17043         * pwd/Makefile (otherlibs): Likewise.
17044         * rt/Makefile (otherlibs): Likewise.
17045         * sunrpc/Makefile (otherlibs): Likewise.
17046         * nss/Makefile (otherlibs): Likewise.
17047         Add libnss_files to routines and static-only-routines.
17048         ($(objpfx)getent): Remove rule.
17049         * resolv/Makefile: Add libnss_dns and libresolv to routines and
17050         static-only-routines.
17052 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17054         [BZ #13892]
17055         * math/s_cexp.c: Include <float.h>.
17056         (__cexp): Handle exp result overflowing not necessarily
17057         overflowing both real and imaginary parts of result.
17058         * math/s_cexpf.c: Likewise.
17059         * math/s_cexpl.c: Likewise.
17060         * math/libm-test.inc (cexp_test): Add more tests.
17061         * sysdeps/i386/fpu/libm-test-ulps: Update.
17062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17064 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17066         * include/link.h (ELFW): New macro.
17067         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17068         Replace ELF64_R_TYPE with ELFW(R_TYPE).
17070 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17072         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17073         with uint64_t.
17075 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17077         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17078         declaration.
17079         (struct La_x32_retval): Likewise.
17081 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17083         * sysdeps/x86_64/preconfigure.in: New file.
17084         * sysdeps/x86_64/preconfigure: New generated file.
17086 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
17088         [BZ #13824]
17089         * math/e_exp2l.c: Include <float.h>.
17090         (__ieee754_exp2l): Handle overflow and underflow cases
17091         separately.  Only pass fractional part of argument to
17092         __ieee754_expl.
17093         * math/libm-test.inc (exp2_test): Add more tests.
17095         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17096         negating x to take absolute value.
17097         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17098         Likewise.
17099         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17100         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17101         Likewise.
17102         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17103         computing low part if x was negated.
17104         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17106 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17108         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17109         la_x32_gnu_pltexit.
17110         (pltexit): Cast int_retval to ptrdiff_t.
17111         * elf/tst-auditmod3b.c: Likewise.
17112         * elf/tst-auditmod4b.c: Likewise.
17113         * elf/tst-auditmod5b.c: Likewise.
17114         * elf/tst-auditmod6b.c: Likewise.
17115         * elf/tst-auditmod6c.c: Likewise.
17116         * elf/tst-auditmod7b.c: Likewise.
17118         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17119         and x32_gnu_pltexit.
17121         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17122         __ELF_NATIVE_CLASS.
17123         (La_x32_regs): New macro.
17124         (La_x32_retval): Likewise.
17125         (la_x32_gnu_pltenter): New function prototype.
17126         (la_x32_gnu_pltexit): Likewise.
17128 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
17130         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17131         exponent.
17133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17135         * configure.in (libc_cv_cc_nofma): Check for option to disable
17136         generation of FMA instructions.
17137         * configure: Regenerate.
17138         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17139         * sysdeps/ieee754/dbl-64/Makefile: New file.
17140         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17141         Remove brandred-fma4.
17142         (CFLAGS-brandred-fma4.c): Remove.
17143         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17144         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17145         define.
17146         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17147         define.
17149 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17151         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17152         LLONG_MAX != LONG_MAX.
17153         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17154         (_fitoa_word): Likewise.
17155         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17156         LLONG_MAX != LONG_MAX.
17157         * stdio-common/_itowa.h: Include <_itoa.h>.
17158         (_itowa_word): Use _ITOA_WORD_TYPE on value.
17159         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
17160         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
17161         only if not defined.
17162         (_ITOA_WORD_TYPE): Likewise.
17163         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17164         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17166 2012-03-21  David S. Miller  <davem@davemloft.net>
17168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17170 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17172         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17173         of x86_64 when setting libc_cv_slibdir, libdir and
17174         libc_cv_localedir.
17175         * sysdeps/unix/sysv/linux/configure: Regenerated.
17177 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17179         * manual/lang.texi (Old Varargs): Remove section.
17180         (How Variadic): Update menu.
17181         (va_start): Do not mention varargs.h.
17183 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17184             Joseph Myers  <joseph@codesourcery.com>
17186         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17187         link test.
17188         * configure: Regenerated.
17190 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17192         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17193         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17194         conformtest.pl
17196 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17198         * NOTES: Remove.
17199         * Makefile (files-for-dist): Remove NOTES.
17200         (NOTES): Remove rule.
17201         * README: Don't refer to NOTES.
17202         * manual/creature.texi: Don't include macros.texi.
17203         * manual/intro.texi (creature.texi): Remove comment referring to
17204         NOTES.
17206         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17207         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17208         * configure: Regenerated.
17209         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17210         LIBC_TRY_CC_OPTION.
17211         (libc_cv_as_i686): Likewise.
17212         (libc_cv_cc_avx): Likewise.
17213         (libc_cv_cc_sse2avx): Likewise.
17214         (libc_cv_cc_fma4): Likewise.
17215         (libc_cv_cc_novzeroupper): Likewise.
17216         * sysdeps/i386/configure: Regenerated.
17218         [BZ #13883]
17219         * sysdeps/i386/fpu/s_cexp.S: Remove.
17220         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17221         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17222         * math/libm-test.inc (cexp_test): Add more tests.
17223         * sysdeps/i386/fpu/libm-test-ulps: Update.
17224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17226 2012-03-21  Allan McRae  <allan@archlinux.org>
17228         * timezone/Makefile: Do not install iso3166.tab and zone.tab
17230 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
17232         [BZ #13871]
17233         * math/w_exp2.c: Do not include <float.h>.
17234         (o_threshold, u_threshold): Remove.
17235         (__exp2): Calculate result before checking finiteness and calling
17236         __kernel_standard.
17237         * math/w_exp2f.c: Likewise.
17238         * math/w_exp2l.c: Likewise.
17239         * math/libm-test.inc (exp2_test): Require overflow exception for
17240         1e6 input.
17242         [BZ #3866]
17243         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17244         range of signed 64-bit integers before using fistpll.  Remove
17245         checks for whether integers fit in mantissa bits.
17246         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17247         the range of signed 32-bit integers before using fistpl.  Remove
17248         checks for whether integers fit in mantissa bits.
17249         * sysdeps/i386/fpu/e_powl.S (p64): New object.
17250         (__ieee754_powl): Test for y outside the range of signed 64-bit
17251         integers before using fistpll.  Reduce 64-bit values to 63-bit
17252         ones as needed.
17253         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17254         divide-by-zero is raised for zero to large negative powers.
17255         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17256         (__ieee754_powl): Test for y outside the range of signed 64-bit
17257         integers before using fistpll.  Reduce 64-bit values to 63-bit
17258         ones as needed.
17259         * math/libm-test.inc (pow_test): Add more tests.
17261 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17263         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17264         <stdio-common/_itoa.h>.
17265         * debug/segfault.c: Likewise.
17266         * elf/dl-cache.c: Likewise.
17267         * elf/dl-minimal.c: Likewise.
17268         * elf/dl-misc.c: Likewise.
17269         * elf/dl-sysdep.c: Likewise.
17270         * elf/dl-version.c: Likewise.
17271         * elf/rtld.c: Likewise.
17272         * hurd/hurdsock.c: Likewise.
17273         * hurd/lookup-retry.c: Likewise.
17274         * malloc/malloc.c: Likewise.
17275         * malloc/mtrace.c: Likewise.
17276         * nscd/nscd_getgr_r.c: Likewise.
17277         * nscd/nscd_getpw_r.c: Likewise.
17278         * nscd/nscd_getserv_r.c: Likewise.
17279         * posix/getopt_init.c: Likewise.
17280         * posix/wordexp.c: Likewise.
17281         * stdio-common/_itoa.c: Likewise.
17282         * stdio-common/printf_fphex.c: Likewise.
17283         * stdio-common/vfprintf.c: Likewise.
17284         * string/_strerror.c: Likewise.
17285         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17286         * sysdeps/i386/i686/hp-timing.h: Likewise.
17287         * sysdeps/mach/_strerror.c: Likewise.
17288         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17289         * sysdeps/mach/hurd/sethostid.c: Likewise.
17290         * sysdeps/mach/hurd/xmknodat.c: Likewise.
17291         * sysdeps/mach/xpg-strerror.c: Likewise.
17292         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17293         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17294         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17295         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17296         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17297         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17298         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17299         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17300         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17301         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17302         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17303         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17304         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17305         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17306         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17307         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17308         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17309         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17310         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17311         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17312         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17314         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17316         * stdio-common/_itoa.h: Moved to ...
17317         * sysdeps/generic/_itoa.h: Here.
17319         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17321         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17322         instead of "_itoa.h" and "_itowa.h".
17323         * stdio-common/vfprintf.: Likewise.
17325 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17327         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17328         <bits/wordsize.h>.
17329         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17330         (__signbit): Likwise.
17331         (llrintf): Likwise.
17332         (llrint): Likwise.
17334 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
17336         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17337         __WORDSIZE != 64.
17339 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
17341         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17342         OVERFLOW_EXCEPTION_OK.
17343         * math/libm-test.inc ("Philosophy"): Update comment about
17344         exception testing.
17345         (OVERFLOW_EXCEPTION): Define.
17346         (OVERFLOW_EXCEPTION_OK): Likewise.
17347         (INVALID_EXCEPTION_OK): Renumber.
17348         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17349         (IGNORE_ZERO_INF_SIGN): Likewise.
17350         (test_exceptions): Handle FE_OVERFLOW.
17351         (exp10_test): Expect overflow exceptions.
17352         (exp2_test): Likewise.
17353         (expm1_test): Likewise.
17354         (nextafter_test): Likewise.
17355         (pow_test): Likewise.
17356         (scalbn_test): Likewise.
17357         (scalbln_test): Likewise.
17359 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17361         * sysdeps/x86_64/bits/atomic.h
17362         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17363         64bit integer.
17364         (atomic_exchange_acq): Likewise.
17365         (__arch_exchange_and_add_body): Likewise.
17366         (__arch_add_body): Likewise.
17367         (atomic_add_negative): Likewise.
17368         (atomic_add_zero): Likewise.
17370 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17372         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
17373         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17375 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17377         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17378         Check __x86_64__ instead of __WORDSIZE.
17380 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17382         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17384 2012-03-19  David S. Miller  <davem@davemloft.net>
17386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17388         * sysdeps/sparc/fpu/fenv_private.h: New file.
17389         * sysdeps/sparc/fpu/math_private.h: Use it.
17390         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17391         Remove.
17392         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17393         (libc_feholdexcept_setroundl): Remove.
17394         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17395         Remove.
17396         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17397         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17399 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17401         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17402         int64_t instead of long int.
17403         (INSERT_WORDS64): Likwise.
17405 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
17407         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17408         _Unwind_GetCFA return to _Unwind_Ptr first.
17410 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
17412         [BZ #13629]
17413         * math/s_clog.c: Include <float.h>.
17414         (__clog): Scale large or subnormal inputs.
17415         * math/s_clogf.c: Likewise.
17416         * math/s_clogl.c: Likewise.
17417         * math/s_clog10.c: Include <float.h>.
17418         (M_LOG10_2): Define.
17419         (__clog10): Scale large or subnormal inputs.
17420         * math/s_clog10f.c: Likewise.
17421         * math/s_clog10l.c: Likewise.
17422         * math/libm-test.inc (clog_test): Add more tests.
17423         (clog10_test): Likewise.
17424         * sysdeps/i386/fpu/libm-test-ulps: Update.
17425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17427         [BZ #11451]
17428         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17429         x and y.
17430         * math/libm-test.inc (atan2_test): Add another test.
17432         * Makerules (common-objdir-compile): Remove.
17433         * sysdeps/unix/Makefile (config-generated): Do not add
17434         $(unix-generated) to variable.
17435         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17436         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17437         Remove rule.
17438         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17439         Likewise.
17440         [generic bits/local_lim.h] (before-compile): Do not append to
17441         variable.
17442         [generic bits/local_lim.h] (common-generated): Likewise.
17443         [generic sys/param.h] (before-compile): Do not append to variable.
17444         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17445         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17446         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17447         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17448         include.
17449         [generic sys/param.h] (sys/param.h-includes): Remove variable.
17450         [generic sys/param.h] (sys/param.h-includes): Remove rule.
17451         [generic sys/param.h] ($(addprefix
17452         $(common-objpfx),$(sys/param.h-includes))): Likewise.
17453         [generic sys/param.h] (common-generated): Do not append to
17454         variable.
17455         [generic sys/param.h] (sysdep_headers): Likewise.
17456         [generic bits/errno.h] (before-compile): Do not append to
17457         variable.
17458         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17459         rule.
17460         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17461         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17462         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17463         [generic bits/errno.h] (common-generated): Do not append to
17464         variable.
17465         [generic bits/ioctls.h] (before-compile): Do not append to
17466         variable.
17467         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17468         rule.
17469         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17470         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17471         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17472         rule.
17473         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17474         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17475         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17476         [generic bits/ioctls.h] (common-generated): Do not append to
17477         variable.
17478         [generic sys/syscall.h] (syscall.h): Remove variable.
17479         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17480         rule.
17481         [generic sys/syscall.h] (before-compile): Do not append to
17482         variable.
17483         [generic sys/syscall.h] (common-generated): Likewise.
17484         * sysdeps/unix/errnos-tmpl.c: Remove file.
17485         * sysdeps/unix/errnos.awk: Likewise.
17486         * sysdeps/unix/ioctls-tmpl.c: Likewise.
17487         * sysdeps/unix/ioctls.awk: Likewise.
17488         * sysdeps/unix/mk-local_lim.c: Likewise.
17489         * sysdeps/unix/snarf-ioctls: Likewise.
17491 2012-03-19  Richard Henderson  <rth@twiddle.net>
17493         * sysdeps/i386/fpu/fenv_private.h: New file.
17494         * sysdeps/i386/fpu/math_private.h: Use it.
17495         (math_opt_barrier, math_force_eval): Remove.
17496         (libc_feholdexcept_setround_53bit): Remove.
17497         (libc_feupdateenv_53bit): Remove.
17498         * sysdeps/x86_64/fpu/math_private.h: Likewise.
17499         (math_opt_barrier, math_force_eval): Remove.
17500         (libc_feholdexcept): Remove.
17501         (libc_feholdexcept_setround): Remove.
17502         (libc_fetestexcept, libc_fesetenv): Remove.
17503         (libc_feupdateenv_test): Remove.
17504         (libc_feupdateenv, libc_feholdsetround): Remove.
17505         (libc_feresetround): Remove.
17507         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17508         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17510         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17511         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17512         (libc_feupdateenv_testl): New.
17513         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17514         (libc_feupdateenv_testf): New.
17515         (libc_feupdateenv): Use libc_feupdateenv_test.
17516         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17517         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17519         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17520         (libc_feholdsetroundf, libc_feholdsetroundl): New.
17521         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17522         (libc_feresetround_noex): New.
17523         (libc_feresetround_noexf): New.
17524         (libc_feresetround_noexl): New.
17525         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17526         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17527         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17528         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17529         SET_RESTORE_ROUND.
17530         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17531         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17532         (__cos): Likewise.
17533         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17534         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17535         SET_RESTORE_ROUND_NOEX.
17536         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17537         SET_RESTORE_ROUND_NOEXF.
17538         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17539         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17540         (libc_feholdsetroundf): New.
17541         (libc_feresetround, libc_feresetroundf): New.
17543         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17544         (libc_feholdexcept_setround_53bit): Convert from macro to function.
17545         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
17547         * sysdeps/generic/math_private.h: Include <fenv.h>.
17548         (default_libc_feholdexcept): New.
17549         (default_libc_feholdexcept_setround): New.
17550         (default_libc_fesetenv, default_libc_feupdateenv): New.
17551         (libc_feholdexcept): Only define if undefined.
17552         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17553         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17554         (libc_feholdexcept_setroundl): Likewise.
17555         (libc_feholdexcept_setround_53bit): Likewise.
17556         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17557         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17558         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17559         (libc_feupdateenv_53bit): Likewise.
17560         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17561         (libc_feholdexcept): Convert from macro to inline function.
17562         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17563         (libc_fesetenv, libc_feupdateenv): Likewise.
17565         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17566         not previously defined.
17567         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17568         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17569         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17570         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17571         * sysdeps/ieee754/flt-32/math_private.h: New file.
17572         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17573         math_private.h below SET_FLOAT_WORD.
17574         (__isnan, __isinf_ns, __finite): Remove.
17575         (__isnanf, __isinf_nsf, __finitef): Remove.
17577 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
17579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17581 2012-03-17  David S. Miller  <davem@davemloft.net>
17583         [BZ #6471]
17584         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17585         for 2.16.
17587 2012-03-16  David S. Miller  <davem@davemloft.net>
17589         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17590         warnings.
17592         [BZ #6471]
17593         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17594         properly.
17595         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17596         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17597         sysdep_routines when subdir is sysvipc.
17598         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17599         __getshmlba helper.
17601         * sysdeps/sparc/fpu/libm-test/ulps: Update.
17603 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17605         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17606         [__LP64__].
17608 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17610         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17611         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17612         (__lround): Renamed to ...
17613         (__llround): This.  Replace long int with long long int.
17614         Define lround functions as aliases of llround functions.
17615         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17617 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17619         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17620         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
17621         adresses to uintptr_t.  Replace "long int" and "unsigned long
17622         int" with "greg_t" on va_arg.
17624 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17626         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17627         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17629         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17630         Move e_machine check before EI_CLASS check.  Handle x32
17631         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17632         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17633         SKIP_EM_IA_64 and include
17634         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17636         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17637         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17638         (add_system_dir): New macro.
17640         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17641         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17643 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17645         [BZ #2551]
17646         [BZ #2552]
17647         [BZ #2553]
17648         [BZ #2554]
17649         [BZ #2562]
17650         [BZ #2563]
17651         [BZ #2565]
17652         [BZ #2566]
17653         [BZ #2576]
17654         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17655         (y0): Likewise.
17656         * math/w_j0f.c (j0f): Likewise.
17657         (y0f): Likewise.
17658         * math/w_j0l.c (__j0l): Likewise.
17659         (__y0l): Likewise.
17660         * math/w_j1.c (j1): Likewise.
17661         (y1): Likewise.
17662         * math/w_j1f.c (j1f): Likewise.
17663         (y1f): Likewise.
17664         * math/w_j1l.c (__j1l): Likewise.
17665         (__y1l): Likewise.
17666         * math/w_jn.c (jn): Likewise.
17667         (yn): Likewise.
17668         * math/w_jnf.c (jnf): Likewise.
17669         (ynf): Likewise.
17670         * math/w_jnl.c (__jnl): Likewise.
17671         (__ynl): Likewise.
17672         * math/libm-test.inc (j0_test): Add more tests.
17673         (j1_test): Likewise.
17674         (jn_test): Likewise.  Add trailing semicolon to existing test.
17675         (y0_test): Likewise.
17676         (y1_test): Likewise.
17677         * sysdeps/i386/fpu/libm-test-ulps: Update.
17678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17680         [BZ #13851]
17681         [BZ #13854]
17682         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17683         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17684         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17685         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17686         (__tanl): Set errno for infinite argument.
17687         * sysdeps/i386/fpu/mptan.c: Remove.
17688         * sysdeps/i386/fpu/s_tan.S: Likewise.
17689         * sysdeps/i386/fpu/s_tanl.S: Likewise.
17690         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17691         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17692         * math/libm-test.inc (tan_test): Add more tests and enable more
17693         tests for double and long double.
17694         * sysdeps/i386/fpu/libm-test-ulps: Update.
17695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17697 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
17699         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17700         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17702 2012-03-16  Roland McGrath  <roland@hack.frob.com>
17704         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17705         * configure.in: Use it for both main tree and add-ons.
17706         * configure: Regenerated.
17708 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17710         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17712 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
17714         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17715         in comment.
17717         [BZ #13851]
17718         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17719         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17720         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17721         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17722         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17723         infinite argument.
17724         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17725         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17726         != 0 for prec == 2.
17727         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17728         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17729         * sysdeps/i386/fpu/s_cosl.S: Likewise.
17730         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17731         * sysdeps/i386/fpu/s_sinl.S: Likewise.
17732         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17733         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17734         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17735         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17736         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17737         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17738         * math/libm-test.inc (cos_test): Add more tests and enable more
17739         tests for long double.
17740         (sin_test): Likewise.
17741         (sincos_test): Likewise.
17742         * sysdeps/i386/fpu/libm-test-ulps: Update.
17743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17745 2012-03-16  David S. Miller  <davem@davemloft.net>
17747         * sysdeps/sparc/fpu/math_private.h: New file.
17749 2012-03-15  David S. Miller  <davem@davemloft.net>
17751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17752         file.
17753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
17754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17755         file.
17756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17757         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17758         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17759         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17760         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17761         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17762         sysdep routines.
17763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17765         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17766         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17768         * sysdeps/sparc/sparc-ifunc.h: New file.
17769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17770         sparc-ifunc.h
17771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17773         Likewise.
17774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17775         Likewise.
17776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17780         Likewise.
17781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
17785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17786         Likewise.
17787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17788         Likewise.
17789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17793         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17794         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17795         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17796         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17798         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17799         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17800         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17801         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17802         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17803         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17804         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17805         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17806         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17807         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17808         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17809         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17810         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17811         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17812         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17814 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17816         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17817         scaling.
17818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17820 2012-03-15  Andreas Jaeger  <aj@suse.de>
17822         [BZ #13852]
17823         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17824         ieee754/flt-32 implementation for sin, cos and sincos.
17825         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17826         * sysdeps/i386/fpu/s_cosf.S: Likewise.
17827         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17828         * sysdeps/i386/fpu/s_sinf.S: Likewise.
17829         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17830         ieee754/flt-32 implementation for tan.
17832         * math/libm-test.inc (cos_test): Enable some large input tests for
17833         float as well
17834         (sin_test): Likewise.
17835         (sincos_test): Likewise.
17836         (tan_test): Add tests for large input.
17838         * sysdeps/i386/fpu/libm-test-ulps: Update.
17840 2012-03-15  Andreas Jaeger  <aj@suse.de>
17842         [BZ #13658]
17843         * math/libm-test.inc (cos_test): Add more test cases.
17844         (sin_test): Likewise.
17845         (sincos_test): Likewise.
17847 2012-03-15  Andreas Jaeger  <aj@suse.de>
17849         [BZ #13837]
17850         * math/libm-test.inc (cos_test): Add a test case for large input
17851         value.
17852         (sin_test): Likewise.
17853         (sincos_test): Likewise.
17855 2012-03-15  Andreas Jaeger  <aj@suse.de>,
17856         Joseph Myers  <joseph@codesourcery.com>
17858         [BZ #13658]
17859         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
17860         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17861         * sysdeps/i386/fpu/branred.c: Likewise.
17862         * sysdeps/i386/fpu/dosincos.c: Likewise.
17863         * sysdeps/i386/fpu/mpa.c: Likewise.
17864         * sysdeps/i386/fpu/s_cos.S: Likewise.
17865         * sysdeps/i386/fpu/s_sin.S: Likewise.
17866         * sysdeps/i386/fpu/s_sincos.S: Likewise.
17867         * sysdeps/i386/fpu/sincos32.c: Likewise.
17869         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17870         Define.
17871         (libc_feupdateenv_53bit): Define.
17872         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17873         Define.
17874         (libc_feupdateenv_53bit): Define.
17876         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17877         53 bit (without extend i386 double precision).
17879         * math/libm-test.inc (sincos_test): Add tests for large input.
17880         (sin): Likewise.
17881         (cos): Likewise.
17883         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17885 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
17887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17889 2012-03-15  David S. Miller  <davem@davemloft.net>
17891         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17892         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17893         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17894         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17899         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17900         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17901         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17903         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17904         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17905         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
17906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17907         file.
17908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
17909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17910         file.
17911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
17912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17913         file.
17914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
17915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17916         file.
17917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17918         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17919         fmin/fmax sysdep routines.
17920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17922 2012-03-14  David S. Miller  <davem@davemloft.net>
17924         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17925         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17926         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17927         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17928         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17929         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17930         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17931         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17934         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17935         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17936         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17937         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17938         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17939         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17940         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17941         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17942         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17943         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17944         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17945         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17946         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17947         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17948         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17949         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17950         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17951         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
17952         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17953         routines.
17954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17955         file.
17956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
17957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17958         file.
17959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
17960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17961         file.
17962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
17963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17964         file.
17965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
17966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17967         file.
17968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
17969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17970         file.
17971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17972         file.
17973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17974         file.
17975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17976         file.
17977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17978         New file.
17979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17980         file.
17981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17982         file.
17983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
17984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17985         file.
17986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
17987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17988         file.
17989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
17990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17991         file.
17992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
17993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17994         VIS3 routines.
17996         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17997         New file.
17999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18001         * sysdeps/sparc/configure.in: New file.
18002         * sysdeps/sparc/configure: Generate.
18003         * configure.in (libc_cv_sparc_as_vis3): Substitute.
18004         * configure: Regenerate.
18005         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18006         * config.make.in (have-as-vis3): New.
18007         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18008         available use -Av9d instead of -Av9a.
18009         * sysdeps/sparc/sparc64/Makefile: Likewise.
18010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
18011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18012         New file.
18013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18014         file.
18015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18016         New file.
18017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18018         file.
18019         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18020         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18021         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18022         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18023         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18025         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18026         fzeros/fnegs to load 0x80000000 into a float register instead of
18027         using the stack.
18028         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18030 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18032         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18033         bits/syscall.h.
18034         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18035         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18036         ($(inst_includedir)/bits/syscall.h): Remove rule.
18037         ($(objpfx)bits/syscall.d): Include instead of
18038         $(objpfx)syscall-list.d.
18039         (generated): Change syscall-list.h and syscall-list.d to
18040         bits/syscall.h and bits/syscall.d.
18042 2012-03-14  Roland McGrath  <roland@hack.frob.com>
18044         [BZ #13846]
18045         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18047 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
18049         [BZ #13841]
18050         * math/s_csqrt.c: Include <float.h>.
18051         (__csqrt): Scale large or subnormal inputs.
18052         * math/s_csqrtf.c: Likewise.
18053         * math/s_csqrtl.c: Likewise.
18054         * math/libm-test.inc (csqrt_test): Add more tests.
18055         * sysdeps/i386/fpu/libm-test-ulps: Update.
18056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18058         [BZ #13840]
18059         * math/libm-test.inc (hypot_test): Add more tests.
18061 2012-03-13  David S. Miller  <davem@davemloft.net>
18063         [BZ #13840]
18064         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18065         double-precision for the calculation instead of scaling.
18067 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
18069         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18070         manipulate bits before adding and subtracting TWO52[sx].
18071         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18072         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18073         Likewise.
18074         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18076 2012-03-13  David S. Miller  <davem@davemloft.net>
18078         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18079         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18080         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18081         rtld-global-offsets.h
18082         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18084         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18085         large parameters.
18087         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18089         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18090         'err' in the ifdef scope in which it is actually used.
18092         * nss/nss_db/db-init.c: Include string.h
18094 2012-03-12  David S. Miller  <davem@davemloft.net>
18096         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18097         masking out of the most significant byte of random value used.
18098         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18099         Fix coding style in previous change.
18101         * sysdeps/unix/sysv/linux/kernel-features.h
18102         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18103         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18104         expression.
18105         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18106         later.
18108 2012-03-11  David S. Miller  <davem@davemloft.net>
18110         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18111         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18112         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18113         for 'resultvar' otherwise things get truncated on 64-bit.
18115         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18116         Fix masking out of the most significant byte of random value used.
18118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18120 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
18122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18124 2012-03-09  David S. Miller  <davem@davemloft.net>
18126         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18127         variables with appropriate CPP guards.
18128         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18129         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
18130         on resulting framesize and the management of the outregs buffer for pltexit.
18131         Preserve floating point return values across _dl_call_pltexit call.
18132         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18133         framesize and the management of the outregs buffer for pltexit.
18134         Preserve floating point return values across _dl_call_pltexit
18135         call.
18136         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18137         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18138         (print_exit): Fix format string for return register value.
18140 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
18142         * sunrpc/Makefile (others): Add rpcgen.
18143         ($(objpfx)rpcgen): Remove special build rule and dependency on
18144         libc.
18145         * sunrpc/rpcgen.c: New file.
18147 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
18149         [BZ #13673]
18150         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18151         * stdio-common/bug-vfprintf-nargs.c: Likewise.
18152         * sysdeps/i386/crti.S: Likewise.
18153         * sysdeps/i386/crtn.S: Likewise.
18154         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18155         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18156         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18157         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18158         * sysdeps/sh/crti.S: Likewise.
18159         * sysdeps/sh/crtn.S: Likewise.
18160         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18162         [BZ #13673]
18163         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18164         with URL.
18165         * locale/programs/locfile-kw.gperf: Likewise.
18166         * locale/programs/charmap-kw.h: Regenerated.
18167         * locale/programs/locfile-kw.h: Likewise.
18169         [BZ #13673]
18170         * intl/plural.y: Replace FSF snail mail address with URL.
18171         * intl/plural.c: Regenerated.
18173 2012-03-09  Richard Henderson  <rth@twiddle.net>
18175         * include/math_private.h: Remove file.
18176         * math/math_private.h: Move file ...
18177         * sysdeps/generic/math_private.h: ... here.
18179         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18180         * sysdeps/powerpc/fpu/math_private.h: Likewise.
18181         * sysdeps/x86_64/fpu/math_private.h: Likewise.
18183         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
18184         and <math_private.h>.
18185         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18186         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18187         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18188         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18189         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18190         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18191         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18192         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18193         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18194         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18195         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18196         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18197         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18198         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18199         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18200         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18201         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18202         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18203         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18204         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18205         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18206         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18207         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18208         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18209         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18210         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18211         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18212         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18213         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18214         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18215         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18216         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18217         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18218         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18219         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18220         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18221         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18222         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18223         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18224         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18225         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18226         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18227         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18228         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18229         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18230         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18231         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18232         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18233         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18234         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18235         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18236         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18237         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18238         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18239         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18240         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18241         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18242         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18243         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18244         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18245         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18246         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18247         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18248         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18249         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18250         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18251         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18252         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18253         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18254         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18255         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18256         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18257         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18258         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18259         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18260         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18261         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18262         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18263         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18264         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18265         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18266         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18267         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18268         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18269         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18270         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18271         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18272         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18273         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18274         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18275         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18276         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18277         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18278         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18279         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18280         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18281         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18282         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18283         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18284         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18285         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18286         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18287         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18288         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18289         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18290         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18291         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18292         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18293         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18294         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18295         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18296         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18297         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18298         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18299         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18300         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18301         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18302         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18303         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18304         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18305         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18306         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18307         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18308         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18309         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18310         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18311         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18312         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18313         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18314         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18315         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18316         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18317         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18318         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18319         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18320         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18321         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18322         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18323         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18324         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18325         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18326         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18327         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18328         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18329         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18330         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18331         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18332         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18333         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18334         * sysdeps/ieee754/k_standard.c: Likewise.
18335         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18336         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18337         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18338         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18339         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18340         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18341         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18342         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18343         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18344         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18345         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18346         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18347         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18348         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18349         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18350         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18351         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18352         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18353         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18354         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18355         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18356         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18357         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18358         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18359         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18360         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18361         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18362         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18363         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18364         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18365         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18366         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18367         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18368         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18369         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18370         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18371         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18372         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18373         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18374         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18375         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18376         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18377         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18378         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18379         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18380         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18381         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18382         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18383         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18384         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18385         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18386         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18387         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18388         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18389         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18390         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18391         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18392         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18393         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18394         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18395         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18396         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18397         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18398         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18399         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18400         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18401         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18402         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18403         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18404         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18405         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18406         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18407         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18408         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18409         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18410         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18411         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18412         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18413         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18414         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18415         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18416         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18417         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18418         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18419         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18420         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18421         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18422         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18423         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18424         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18425         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18426         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18427         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18428         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18429         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18430         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18431         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18432         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18433         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18434         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18435         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18436         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18437         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18438         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18439         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18440         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18441         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18442         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18443         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18444         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18445         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18446         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18447         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18448         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18449         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18450         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18451         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18452         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18453         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18454         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18455         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18456         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18457         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18458         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18459         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18460         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18461         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18462         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18463         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18464         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18465         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18466         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18467         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18468         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18469         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18470         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18471         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18472         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18473         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18474         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18475         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18476         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18477         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18478         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18479         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18480         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18481         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18482         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18483         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18484         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18485         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18486         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18487         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18488         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18489         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18490         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18491         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18492         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18493         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18494         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18495         * sysdeps/ieee754/s_lib_version.c: Likewise.
18496         * sysdeps/ieee754/s_matherr.c: Likewise.
18497         * sysdeps/ieee754/s_signgam.c: Likewise.
18498         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18499         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18500         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18501         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18502         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18503         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18504         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18505         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18506         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18507         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18508         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18509         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18510         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18511         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18512         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18513         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18514         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18515         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18516         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18517         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18518         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18520 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18522         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18523         * sunrpc/rpc_main.c: Likewise.
18524         * sunrpc/rpc_svcout.c: Likewise.
18526 2012-03-09  David S. Miller  <davem@davemloft.net>
18528         * include/math_private.h: New file.
18530 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
18532         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18533         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18534         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18535         from <bits/socket_type.h>.
18536         (enum __socket_type): Don't define here.
18537         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18538         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18539         bits/socket_type.h.
18541         [BZ #13566]
18542         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18543         checking __USE_GNU.
18545         * Makerules ($(inst_includedir)/%.h): New rule.
18546         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18547         (install-others): Remove variable setting.
18548         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18550 2012-03-08  Richard Henderson  <rth@twiddle.net>
18552         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18553         from macro to inline function; merge with the
18554         !__LIBC_INTERNAL_MATH_INLINES version.
18555         (__ieee754_sqrtf): Likewise.
18557         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18558         to inline function.
18559         (__rintf, __floor, __floorf): Likewise.
18561         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18562         macro to inline function.
18563         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18565         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18566         not <math/math_private.h>.
18568 2012-03-08  David S. Miller  <davem@davemloft.net>
18570         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18571         copyright year.
18572         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18574 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
18576         * resolv/gai_misc.c (handle_requests): Fix struct timespec
18577         normalization.
18578         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18579         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18581 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
18583         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
18584         be defined individually, they must be defined as a block.  Define
18585         S for printing a string instead of hidint the different by using a
18586         macro for adding the 'l'.
18587         * stdio-common/tst-fphex-wide.c: Adjust.
18589 2012-03-07  Marek Polacek  <polacek@redhat.com>
18591         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18593 2012-03-08  Marek Polacek  <polacek@redhat.com>
18595         [BZ #13806]
18596         * stdio-common/Makefile (tests): Add tst-fphex-wide.
18597         * stdio-common/tst-fphex.c: Define a few macros to make the
18598         test reusable.  Use them.
18599         * stdio-common/tst-fphex-wide.c: New file.
18601 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
18603         [BZ #6911]
18604         * manual/macros.texi (gnusystems): New macro.
18605         (nongnusystems): Likewise.
18606         (gnulinuxhurdsystems): Likewise.
18607         (gnuhurdsystems): Likewise..
18608         (gnulinuxsystems): Likewise.
18609         * manual/charset.texi: Use new macros or @theglibc{} to refer to
18610         variants of the GNU system, not "GNU system".
18611         * manual/conf.texi: Likewise.
18612         * manual/errno.texi: Likewise.  Update example of errno macro
18613         expansion.
18614         * manual/filesys.texi: Likewise.
18615         (getumask): Document as specific to GNU/Hurd.
18616         * manual/install.texi: Likewise.  Reword some references to
18617         GNU/Linux.
18618         * manual/intro.texi: Likewise.
18619         * manual/io.texi: Likewise.
18620         (File Name Portability): Detail which constraints are inapplicable
18621         to all GNU systems and which are only inapplicable to GNU/Hurd.
18622         * manual/job.texi: Likewise.
18623         * manual/llio.texi: Likewise.
18624         (O_NOCTTY): Document as present on GNU/Linux.
18625         * manual/maint.texi: Likewise.
18626         * manual/memory.texi: Likewise.
18627         * manual/pattern.texi: Likewise.
18628         * manual/pipe.texi: Likewise.
18629         * manual/process.texi: Likewise.
18630         * manual/resource.texi: Likewise.
18631         (RUSAGE_CHILDREN): Remove statement about specifying a particular
18632         child on GNU/Hurd.
18633         * manual/setjmp.texi: Likewise.
18634         * manual/signal.texi: Likewise.
18635         * manual/startup.texi: Likewise.
18636         * manual/stdio.texi: Likewise.
18637         * manual/terminal.texi: Likewise.
18638         (ONLCR): Document as POSIX.
18639         (OXTABS): Document availability on GNU/Linux as XTABS.
18640         (ONOEOT): Document availability separately from other bits.
18641         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18642         * manual/time.texi: Likewise.
18643         * manual/users.texi: Likewise.
18644         * INSTALL: Regenerated.
18645         * sysdeps/gnu/errlist.c: Regenerated.
18647         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18648         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18649         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
18650         puts.
18651         * configure: Regenerated.
18653 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
18655         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18656         default includes instead of AC_HEADER_CHECK.
18657         * sysdeps/i386/configure: Regenerated.
18659         [BZ #10716]
18660         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18661         * math/s_cacoshf.c (__cacoshf): Likewise.
18662         * math/s_cacoshl.c (__cacoshl): Likewise.
18663         * math/s_casinh.c (__casinh): Set signs of result from argument.
18664         * math/s_casinhf.c (__casinhf): Likewise.
18665         * math/s_casinhl.c (__casinhl): Likewise.
18666         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18667         (casinh_test): Add more tests.
18668         * sysdeps/i386/fpu/libm-test-ulps: Update.
18669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18671 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
18673         * po/zh_TW.po: Update from translation team.
18675         * login/Makefile (distribute): Remove variable.
18676         * catgets/Makefile: Likewise.
18677         * mach/Makefile: Likewise.
18678         * malloc/Makefile: Likewise.
18679         * misc/Makefile: Likewise.
18680         * iconv/Makefile: Likewise.
18681         * nscd/Makefile: Likewise.
18682         * hurd/Makefile: Likewise.
18683         * manual/Makefile: Likewise.
18684         * locale/Makefile: Likewise.
18685         * intl/Makefile: Likewise.
18686         * conform/Makefile: Likewise.
18687         * nss/Makefile: Likewise.
18688         * time/Makefile: Likewise.
18689         * soft-fp/Makefile: Likewise.
18690         * dirent/Makefile: Likewise.
18691         * gmon/Makefile: Likewise.
18692         * po/Makefile: Likewise.
18693         * rt/Makefile: Likewise.
18694         * socket/Makefile: Likewise.
18695         * math/Makefile: Likewise.
18696         * signal/Makefile: Likewise.
18697         * debug/Makefile: Likewise.
18698         * elf/Makefile: Likewise.
18699         * timezone/Makefile: Likewise.
18700         * stdlib/Makefile: Likewise.
18701         * iconvdata/Makefile: Likewise.
18702         * sunrpc/Makefile: Likewise.
18703         * io/Makefile: Likewise.
18704         * argp/Makefile: Likewise.
18705         * inet/Makefile: Likewise.
18706         * hesiod/Makefile: Likewise.
18707         * grp/Makefile: Likewise.
18708         * csu/Makefile: Likewise.
18709         * wctype/Makefile: Likewise.
18710         * crypt/Makefile: Likewise.
18711         * libio/Makefile: Likewise.
18712         * string/Makefile: Likewise.
18713         * nis/Makefile: Likewise.
18714         * resolv/Makefile: Likewise.
18715         * stdio-common/Makefile: Likewise.
18716         * wcsmbs/Makefile: Likewise.
18717         * dlfcn/Makefile: Likewise.
18718         * posix/Makefile: Likewise.
18720         [BZ #6959]
18721         * timezone/Makefile: Don't install timezone files, just the programs
18722         and scripts.
18724 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
18726         * nss/databases.def: Add missing gshadow entry.
18728         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
18730 2012-03-06  Marek Polacek  <polacek@redhat.com>
18732         [BZ #13726]
18733         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18734         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18735         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18736         * stdio-common/tst-long-dbl-fphex.c: New file.
18738 2012-03-06  David S. Miller  <davem@davemloft.net>
18740         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18741         (set_obp_int): New function.
18742         (get_obp_int): New function.
18743         (__get_clockfreq_via_dev_openprom): Likewise.
18744         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18745         Avoid unused variable warnings on 'val' and use builtin_expect.
18746         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18747         __builtin_expect.
18748         (INLINE_CLONE_SYSCALL): Likewise.
18750 2012-03-05  David S. Miller  <davem@davemloft.net>
18752         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18754 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
18756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18758         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18759         only for |x| >= 40.
18760         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18762 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18764         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18765         Replace gettimeofday with __vdso_gettimeofday.
18767         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18768         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18769         __vdso_clock_gettime and __vdso_getcpu.
18771         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18772         time with __vdso_time.
18774 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18776         * manual/lang.texi (size_t): Note types to which size_t may be
18777         equivalent with the GNU C Library, but do not describe when
18778         differences between them are significant.
18780 2012-03-05  Andreas Jaeger  <aj@suse.de>
18782         * sysdeps/i386/fpu/libm-test-ulps: Update.
18784 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
18786         [BZ #3976]
18787         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18788         (__ieee754_pow): Save and restore rounding mode and use
18789         round-to-nearest for main computations.
18790         * math/libm-test.inc (pow_test_tonearest): New function.
18791         (pow_test_towardzero): Likewise.
18792         (pow_test_downward): Likewise.
18793         (pow_test_upward): Likewise.
18794         (main): Call the new functions.
18795         * sysdeps/i386/fpu/libm-test-ulps: Update.
18796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18798         [BZ #3976]
18799         * math/libm-test.inc (cosh_test_tonearest): New function.
18800         (cosh_test_towardzero): Likewise.
18801         (cosh_test_downward): Likewise.
18802         (cosh_test_upward): Likewise.
18803         (sinh_test_tonearest): Likewise.
18804         (sinh_test_towardzero): Likewise.
18805         (sinh_test_downward): Likewise.
18806         (sinh_test_upward): Likewise.
18807         (main): Call the new functions.
18808         * sysdeps/i386/fpu/libm-test-ulps: Update.
18809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18811 2012-03-05  Tom de Vries  <tom@codesourcery.com>
18813         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18814         default stack guard is set in last bytes.
18815         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18817 2012-03-05  Kees Cook  <keescook@chromium.org>
18819         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
18821         [BZ #13656]
18822         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18823         possibly allocate from heap instead of stack.
18824         * stdio-common/bug-vfprintf-nargs.c: New file.
18825         * stdio-common/Makefile (tests): Add nargs overflow test.
18827 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
18829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18831 2012-03-03  Marek Polacek  <polacek@redhat.com>
18833         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18834         * math/math_private.h: Likewise.
18835         * stdlib/tst-strtod.c: Likewise.
18836         * sysdeps/i386/i486/bits/atomic.h: Likewise.
18837         * sysdeps/x86_64/bits/atomic.h: Likewise.
18839 2012-03-02  David S. Miller  <davem@davemloft.net>
18841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18845         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18846         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18847         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18848         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18850 2012-03-02  Roland McGrath  <roland@hack.frob.com>
18852         [BZ #13792]
18853         * manual/examples/README: New file, says the example source files
18854         can be used under GPL>=2.
18855         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18856         line containing just "*/".
18857         * manual/examples/add.c: Add copyright header (GPL>=2).
18858         * manual/examples/argp-ex1.c: Likewise.
18859         * manual/examples/argp-ex2.c: Likewise.
18860         * manual/examples/argp-ex3.c: Likewise.
18861         * manual/examples/argp-ex4.c: Likewise.
18862         * manual/examples/atexit.c: Likewise.
18863         * manual/examples/db.c: Likewise.
18864         * manual/examples/dir.c: Likewise.
18865         * manual/examples/dir2.c: Likewise.
18866         * manual/examples/execinfo.c: Likewise.
18867         * manual/examples/filecli.c: Likewise.
18868         * manual/examples/filesrv.c: Likewise.
18869         * manual/examples/fmtmsgexpl.c: Likewise.
18870         * manual/examples/genpass.c: Likewise.
18871         * manual/examples/inetcli.c: Likewise.
18872         * manual/examples/inetsrv.c: Likewise.
18873         * manual/examples/isockad.c: Likewise.
18874         * manual/examples/longopt.c: Likewise.
18875         * manual/examples/memopen.c: Likewise.
18876         * manual/examples/memstrm.c: Likewise.
18877         * manual/examples/mkfsock.c: Likewise.
18878         * manual/examples/mkisock.c: Likewise.
18879         * manual/examples/mygetpass.c: Likewise.
18880         * manual/examples/pipe.c: Likewise.
18881         * manual/examples/popen.c: Likewise.
18882         * manual/examples/rprintf.c: Likewise.
18883         * manual/examples/search.c: Likewise.
18884         * manual/examples/select.c: Likewise.
18885         * manual/examples/setjmp.c: Likewise.
18886         * manual/examples/sigh1.c: Likewise.
18887         * manual/examples/sigusr.c: Likewise.
18888         * manual/examples/stpcpy.c: Likewise.
18889         * manual/examples/strdupa.c: Likewise.
18890         * manual/examples/strftim.c: Likewise.
18891         * manual/examples/strncat.c: Likewise.
18892         * manual/examples/subopt.c: Likewise.
18893         * manual/examples/swapcontext.c: Likewise.
18894         * manual/examples/termios.c: Likewise.
18895         * manual/examples/testopt.c: Likewise.
18896         * manual/examples/testpass.c: Likewise.
18897         * manual/examples/timeval_subtract.c: Likewise.
18899         [BZ #13792]
18900         * manual/time.texi (Elapsed Time): Move timeval_subtract example
18901         function to ...
18902         * manual/timeval_subtract.c.texi: ... here, new file.
18904 2012-03-02  David S. Miller  <davem@davemloft.net>
18906         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18908 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
18910         [BZ #3976]
18911         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18912         (__sin): Save and restore rounding mode and use round-to-nearest
18913         for all computations.
18914         (__cos): Save and restore rounding mode and use round-to-nearest
18915         for all computations.
18916         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18917         <fenv.h>.
18918         (tan): Save and restore rounding mode and use round-to-nearest for
18919         all computations.
18920         * math/libm-test.inc (cos_test_tonearest): New function.
18921         (cos_test_towardzero): Likewise.
18922         (cos_test_downward): Likewise.
18923         (cos_test_upward): Likewise.
18924         (sin_test_tonearest): Likewise.
18925         (sin_test_towardzero): Likewise.
18926         (sin_test_downward): Likewise.
18927         (sin_test_upward): Likewise.
18928         (tan_test_tonearest): Likewise.
18929         (tan_test_towardzero): Likewise.
18930         (tan_test_downward): Likewise.
18931         (tan_test_upward): Likewise.
18932         (main): Call the new functions.
18933         * sysdeps/i386/fpu/libm-test-ulps: Update.
18934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18936         [BZ #10135]
18937         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18938         small n, then large n, before computing and testing k+n.
18939         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18940         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18941         Likewise.
18942         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18943         Likewise.
18944         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18945         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18946         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18947         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18948         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18949         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18950         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18951         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18952         * math/libm-test.inc (scalbn_test): Add more tests.
18953         (scalbln_test): Likewise.
18955         * manual/filesys.texi (mode_t): Describe constraints on size and
18956         signedness, not exact equivalence to a particular type.
18957         (ino_t): Likewise.
18958         (ino64_t): Likewise.
18959         (dev_t): Likewise.
18960         (nlink_t): Likewise.
18961         (blkcnt_t): Likewise.
18962         (blkcnt64_t): Likewise.
18963         * manual/llio.texi (off_t): Likewise.
18965         [BZ #3976]
18966         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18967         (__ieee754_exp): Save and restore rounding mode and use
18968         round-to-nearest for all computations.
18969         * math/libm-test.inc (exp_test_tonearest): New function.
18970         (exp_test_towardzero): Likewise.
18971         (exp_test_downward): Likewise.
18972         (exp_test_upward): Likewise.
18973         (main): Call the new functions.
18974         * sysdeps/i386/fpu/libm-test-ulps: Update.
18975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18977 2012-03-01  Chris Demetriou  <cgd@google.com>
18979         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18980         have predictable order.
18982 2012-03-01  David S. Miller  <davem@davemloft.net>
18984         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18986         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18987         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18988         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18989         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18991         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18992         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18993         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18995         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18996         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18997         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18998         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18999         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19003         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19004         * sysdeps/sparc/fpu/libm-test-ulps: to here.
19005         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19007         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19008         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19009         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19010         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19011         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19012         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19013         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19014         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19015         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19016         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19017         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19018         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19019         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19020         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19021         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19022         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19023         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19024         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19025         * sysdeps/sparc/elf/configure: Regenerated.
19027 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
19029         * configure.in (AS, LD): Require binutils 2.20 or later.
19030         * configure: Regenerated.
19031         * manual/install.texi (Tools for Compilation): Give binutils 2.20
19032         as required minimum version.
19033         * INSTALL: Regenerated.
19035         [BZ #2541]
19036         [BZ #4108]
19037         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19038         before squaring exponent.
19039         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19040         bottom long double and 27 bits of top long double before squaring
19041         exponent.
19042         * math/libm-test.inc (erfc_test): Add more tests.
19043         * sysdeps/i386/fpu/libm-test-ulps: Update.
19044         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19047 2012-03-01  Kai Tietz  <ktietz@redhat.com>
19049         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19050         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19051         containing bit-fields.
19052         * soft-fp/extended.h (_FP_UNION_E): Likewise.
19053         * soft-fp/single.h (_FP_UNION_S): Likewise.
19054         * soft-fp/double.h (_FP_UNION_D): Likewise.
19056 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19058         [BZ #13786]
19059         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19060         not include ../strcmp.S.
19061         [USE_AS_STRNCASECMP_L]: Likewise.
19062         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19063         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19064         * sysdeps/i386/i686/multiarch/strncase_l-c.c
19065         (__strncasecmp_l_ia32): Define as alias to
19066         __strncasecmp_l_nonascii.
19068         [BZ #5794]
19069         * math/libm-test.inc (expm1_test): Add test for bug 5794.
19070         * sysdeps/i386/fpu/libm-test-ulps: Update.
19071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19073         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19076 2012-02-29  Jeff Law  <law@redhat.com>
19078         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19079         out of bounds read.
19081 2012-02-29  Marek Polacek  <polacek@redhat.com>
19083         [BZ #13706]
19084         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19085         * elf/Makefile: Add rules to run tst-unused-dep.out.
19087 2012-02-28  David S. Miller  <davem@davemloft.net>
19089         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19090         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19091         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19092         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19093         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19094         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19096 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
19098         * math/libm-test.inc (llround_test): Move one test from
19099         lround_test.  Use TEST_f_L in moved test.
19100         (lround_test): Move misplaced test to llround_test.  Add testcase
19101         from bug 2561.
19103 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
19105         * sysdeps/x86_64/fpu/e_expf.S: New file.
19106         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19108 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
19110         [BZ #13637]
19111         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19112         of remain_len that may cause incomplete multi-byte character and
19113         false match.
19114         * posix/bug-regex33.c: New file.
19115         * posix/Makefile (tests): Add bug-regex33.
19117 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
19119         * manual/macros.texi: New file.
19120         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19121         * manual/libc.texinfo: Include macros.texi.
19122         * manual/creatute.texi: Likewise.
19123         * manual/install.texi: Likewise.
19124         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19125         @glibcadj{} in references to the GNU C Library.
19126         * manual/charset.texi: Likewise.
19127         * manual/conf.texi: Likewise.
19128         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
19129         when not using those macros.
19130         * manual/creature.texi: Likewise.
19131         * manual/crypt.texi: Likewise.
19132         * manual/errno.texi: Likewise.
19133         * manual/filesys.texi: Likewise.
19134         * manual/header.texi: Likewise.
19135         * manual/install.texi: Likewise.
19136         * manual/intro.texi: Likewise.
19137         * manual/io.texi: Likewise.
19138         * manual/job.texi: Likewise.
19139         * manual/lang.texi: Likewise.
19140         * manual/libc.texiinfo: Likewise.
19141         * manual/llio.texi: Likewise.
19142         * manual/locale.texi: Likewise.
19143         * manual/maint.texi: Likewise.
19144         * manual/math.texi: Likewise.
19145         * manual/memory.texi: Likewise.
19146         * manual/message.texi: Likewise.
19147         * manual/nss.texi: Likewise.
19148         * manual/pattern.texi: Likewise.
19149         * manual/process.texi: Likewise.
19150         * manual/resource.texi: Likewise.
19151         * manual/search.texi: Likewise.
19152         * manual/setjmp.texi: Likewise.
19153         * manual/signal.texi: Likewise.
19154         * manual/socket.texi: Likewise.
19155         * manual/startup.texi: Likewise.
19156         * manual/stdio.texi: Likewise.
19157         * manual/string.texi: Likewise.
19158         * manual/sysinfo.texi: Likewise.
19159         * manual/syslog.texi: Likewise.
19160         * manual/terminal.texi: Likewise.
19161         * manual/time.texi: Likewise.
19162         * manual/users.texi: Likewise.
19163         * INSTALL: Regenerated.
19164         * NOTES: Regenerated.
19165         * sysdeps/gnu/errlist.c: Regenerated.
19167 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
19169         * include/dirent.h: Include <dirstream.h> before
19170         <dirent/dirent.h>.
19172 2012-02-28  David S. Miller  <davem@davemloft.net>
19174         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19175         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19176         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19177         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19179 2012-02-27  David S. Miller  <davem@davemloft.net>
19181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19183         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19184         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19187         frame pointer instead of stack pointer relative arg slot.
19188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19189         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19190         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19192 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
19194         [BZ #3992]
19195         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19197 2012-02-27  David S. Miller  <davem@davemloft.net>
19199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19203         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19204         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19205         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19206         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19208 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19210         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19211         later.  Allow versions 5-9.
19212         * configure: Regenerated.
19213         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19214         required minimum version and 4.6 as recommended version.  Do not
19215         mention bugs in GCC 2.7 and 2.8.
19216         * INSTALL: Regenerated.
19218 2012-02-27  David S. Miller  <davem@davemloft.net>
19220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19224         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19225         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19226         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19227         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19229         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19230         manipulate bits before adding and subtracting TWO112[sx].
19231         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19233 2012-02-27  Roland McGrath  <roland@hack.frob.com>
19235         [BZ #13775]
19236         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19237         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19238         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19239         being in POSIX, because they are in 1003.1-2008.
19241         * rt/tst-aio.c: Include <fcntl.h>.
19242         * rt/tst-aio7.c: Likewise.
19243         * rt/tst-aio64.c: Likewise.
19245         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19247 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
19249         * manual/install.texi (--with-headers): Describe headers as
19250         interface headers, not private headers.
19251         (Specific advice for GNU/Linux systems): Describe use of headers
19252         from "make headers_install", not private headers from older
19253         kernels.
19254         * INSTALL: Regenerated.
19255         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19256         Change to 2.6.19.
19257         * sysdeps/unix/sysv/linux/configure: Regenerated.
19259         * manual/llio.texi (fclean): Remove documentation.
19261         * manual/Makefile (libc-texi-generated): New variable.  Include
19262         version.texi.
19263         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19264         $(libc-texi-generated), not duplicated list of files.
19265         (version.texi, stamp-version): New rules.
19266         (realclean): Remove $(libc-texi-generated), not individual files
19267         from that list.  Do not remove dir-add.texinfo.
19268         * manual/libc.texinfo: Comment out uses of edition numbers and
19269         references to printed manual.  Remove last-updated dates.
19270         (EDITION): Comment out.
19271         (ISBN): Likewise.
19272         (VERSION, UPDATED): Remove.
19273         (version.texi): Include.
19275 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
19277         * sysdeps/posix/spawni.c: Include <signal.h>.
19278         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19279         * sysdeps/pthread/aio_fsync.c: Likewise.
19281 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
19283         * conform/Makefile (tests): Run only when not cross-compiling and
19284         when fast-check is not defined.
19286         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19287         * conform/data/limits.h-data: Fixes for POSIX2008.
19288         * conform/run-conformtest.sh: Run all tests.
19289         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19290         headers.
19291         * include/bits/dlfcn.h: Likewise.
19292         * include/langinfo.h: Likewise.
19293         * include/monetary.h: Likewise.
19294         * include/sys/poll.h: Likewise.
19296         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19297         for __USE_GNU.
19298         * posix/spawn.h: Define __need_sigset_t.
19299         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19300         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19301         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
19302         to get sigevent_t only.
19303         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19304         only for __USE_GNU.
19305         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19306         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19307         process_vm_writev only for __USE_GNU.
19308         * termios/termios.h: Declare tcgetsid also for POSIX2008.
19310         * conform/Makefile: For now ignore errors from run-conformtest.
19311         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
19312         POSIX to avoid namespace pollution.  Don't prepend headers.
19313         * conform/data/aio.h-data: Fixes for POSIX testing.
19314         * conform/data/fcntl.h-data: Likewise.
19315         * conform/data/glob.h-data: Likewise.
19316         * conform/data/grp.h-data: Likewise.
19317         * conform/data/pthread.h-data: Likewise.
19318         * conform/data/pwd.h-data: Likewise.
19319         * conform/data/signal.h-data: Likewise.
19320         * conform/data/spawn.h-data: Likewise.
19321         * conform/data/stdio.h-data: Likewise.
19322         * conform/data/stdlib.h-data: Likewise.
19323         * conform/data/stropts.h-data: Likewise.
19324         * conform/data/sys/mman.h-data: Likewise.
19325         * conform/data/sys/stat.h-data: Likewise.
19326         * conform/data/sys/types.h-data: Likewise.
19327         * conform/data/sys/wait.h-data: Likewise.
19328         * conform/data/time.h-data: Likewise.
19329         * conform/data/unistd.h-data: Likewise.
19330         * conform/data/utime.h-data: Likewise.
19332         * io/sys/stat.h: fchmod was always in POSIX.
19333         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19334         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19335         * rt/aio.h: Define __need_timespec before including <time.h>.
19336         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19337         struct.  Add forward declaration of pthread_attr_t and use it in
19338         sigevent.
19339         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19340         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19341         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19342         always remove CLK_TCK definition.
19344 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
19346         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19348 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
19350         * conform/run-conformtest.sh: New file.
19351         * conform/Makefile: Run run-conformtest for tests.
19352         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
19353         support.
19355         * conform/data/uchar.h-data: New file.
19356         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19357         * conform/data/arpa/inet.h-data: Likewise.
19358         * conform/data/assert.h-data: Likewise.
19359         * conform/data/complex.h-data: Likewise.
19360         * conform/data/cpio.h-data: Likewise.
19361         * conform/data/ctype.h-data: Likewise.
19362         * conform/data/dirent.h-data: Likewise.
19363         * conform/data/dlfcn.h-data: Likewise.
19364         * conform/data/errno.h-data: Likewise.
19365         * conform/data/fcntl.h-data: Likewise.
19366         * conform/data/float.h-data: Likewise.
19367         * conform/data/fmtmsg.h-data: Likewise.
19368         * conform/data/fnmatch.h-data: Likewise.
19369         * conform/data/ftw.h-data: Likewise.
19370         * conform/data/glob.h-data: Likewise.
19371         * conform/data/grp.h-data: Likewise.
19372         * conform/data/iconv.h-data: Likewise.
19373         * conform/data/inttypes.h-data: Likewise.
19374         * conform/data/langinfo.h-data: Likewise.
19375         * conform/data/libgen.h-data: Likewise.
19376         * conform/data/limits.h-data: Likewise.
19377         * conform/data/locale.h-data: Likewise.
19378         * conform/data/math.h-data: Likewise.
19379         * conform/data/monetary.h-data: Likewise.
19380         * conform/data/mqueue.h-data: Likewise.
19381         * conform/data/ndbm.h-data: Likewise.
19382         * conform/data/net/if.h-data: Likewise.
19383         * conform/data/netdb.h-data: Likewise.
19384         * conform/data/netinet/in.h-data: Likewise.
19385         * conform/data/nl_types.h-data: Likewise.
19386         * conform/data/poll.h-data: Likewise.
19387         * conform/data/pthread.h-data: Likewise.
19388         * conform/data/pwd.h-data: Likewise.
19389         * conform/data/regex.h-data: Likewise.
19390         * conform/data/sched.h-data: Likewise.
19391         * conform/data/search.h-data: Likewise.
19392         * conform/data/semaphore.h-data: Likewise.
19393         * conform/data/setjmp.h-data: Likewise.
19394         * conform/data/signal.h-data: Likewise.
19395         * conform/data/spawn.h-data: Likewise.
19396         * conform/data/stdarg.h-data: Likewise.
19397         * conform/data/stdio.h-data: Likewise.
19398         * conform/data/stdlib.h-data: Likewise.
19399         * conform/data/string.h-data: Likewise.
19400         * conform/data/strings.h-data: Likewise.
19401         * conform/data/stropts.h-data: Likewise.
19402         * conform/data/sys/ipc.h-data: Likewise.
19403         * conform/data/sys/mman.h-data: Likewise.
19404         * conform/data/sys/msg.h-data: Likewise.
19405         * conform/data/sys/resource.h-data: Likewise.
19406         * conform/data/sys/select.h-data: Likewise.
19407         * conform/data/sys/sem.h-data: Likewise.
19408         * conform/data/sys/shm.h-data: Likewise.
19409         * conform/data/sys/socket.h-data: Likewise.
19410         * conform/data/sys/stat.h-data: Likewise.
19411         * conform/data/sys/statvfs.h-data: Likewise.
19412         * conform/data/sys/time.h-data: Likewise.
19413         * conform/data/sys/timeb.h-data: Likewise.
19414         * conform/data/sys/times.h-data: Likewise.
19415         * conform/data/sys/types.h-data: Likewise.
19416         * conform/data/sys/uio.h-data: Likewise.
19417         * conform/data/sys/un.h-data: Likewise.
19418         * conform/data/sys/utsname.h-data: Likewise.
19419         * conform/data/sys/wait.h-data: Likewise.
19420         * conform/data/syslog.h-data: Likewise.
19421         * conform/data/tar.h-data: Likewise.
19422         * conform/data/termios.h-data: Likewise.
19423         * conform/data/utime.h-data: Likewise.
19424         * conform/data/utmpx.h-data: Likewise.
19425         * conform/data/varargs.h-data: Likewise.
19426         * conform/data/wchar.h-data: Likewise.
19427         * conform/data/wctype.h-data: Likewise.
19428         * conform/data/wordexp.h-data: Likewise.
19430         * include/stropts.h: New file.
19431         * include/uchar.h: New file.
19432         * include/aio.h: Changes to allow conformtest.pl to use the headers.
19433         * include/assert.h: Likewise.
19434         * include/ctype.h: Likewise.
19435         * include/dirent.h: Likewise.
19436         * include/dlfcn.h: Likewise.
19437         * include/fcntl.h: Likewise.
19438         * include/fnmatch.h: Likewise.
19439         * include/glob.h: Likewise.
19440         * include/grp.h: Likewise.
19441         * include/libio.h: Likewise.
19442         * include/locale.h: Likewise.
19443         * include/math.h: Likewise.
19444         * include/net/if.h: Likewise.
19445         * include/netdb.h: Likewise.
19446         * include/netinet/in.h: Likewise.
19447         * include/pthread.h: Likewise.
19448         * include/pwd.h: Likewise.
19449         * include/regex.h: Likewise.
19450         * include/sched.h: Likewise.
19451         * include/search.h: Likewise.
19452         * include/setjmp.h: Likewise.
19453         * include/signal.h: Likewise.
19454         * include/stdio.h: Likewise.
19455         * include/stdlib.h: Likewise.
19456         * include/string.h: Likewise.
19457         * include/sys/cdefs.h: Likewise.
19458         * include/sys/mman.h: Likewise.
19459         * include/sys/msg.h: Likewise.
19460         * include/sys/resource.h: Likewise.
19461         * include/sys/select.h: Likewise.
19462         * include/sys/socket.h: Likewise.
19463         * include/sys/stat.h: Likewise.
19464         * include/sys/statvfs.h: Likewise.
19465         * include/sys/time.h: Likewise.
19466         * include/sys/times.h: Likewise.
19467         * include/sys/uio.h: Likewise.
19468         * include/sys/utsname.h: Likewise.
19469         * include/sys/wait.h: Likewise.
19470         * include/termios.h: Likewise.
19471         * include/time.h: Likewise.
19472         * include/ulimit.h: Likewise.
19473         * include/unistd.h: Likewise.
19474         * include/utime.h: Likewise.
19475         * include/wchar.h: Likewise.
19476         * include/wctype.h: Likewise.
19477         * include/wordexp.h: Likewise.
19479         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19481         * time/time.h: TIME_UTC must be a macro.
19482         Make timespec_get available for ISO C11 only as well.
19484 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
19486         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19487         Reported by Peng Haitao <penght@cn.fujitsu.com>.
19489 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19491         * configure.in: Use -o not -a in test for unsupported multi-arch.
19493 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19495         * manual/texinfo.tex: Update to version 2012-01-19.16.
19497 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
19499         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19501 2012-02-24  Roland McGrath  <roland@hack.frob.com>
19503         [BZ #13738]
19504         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19505         * manual/fdl-1.3.texi: New file.
19506         * manual/fdl-1.1.texi: File removed.
19508         [BZ #13738]
19509         * manual/libc.texinfo (FDL_VERSION): New @set.
19510         Use it for mention of FDL in cover text.
19511         (Documentation License): Use it in @include file name.
19513 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19514             Roland McGrath  <roland@hack.frob.com>
19516         [BZ #5461]
19517         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19518         not LONG_LONG_MAX and LONG_LONG_MIN.
19519         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19520         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
19521         name.
19522         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19524 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19526         [BZ #2547]
19527         [BZ #11365]
19528         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19529         manipulate bits before adding and subtracting TWO23[sx].
19530         * math/libm-test.inc (nearbyint_test): Add more tests.
19532 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19534         [BZ #2548]
19535         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19536         bits before adding and subtracting TWO23[sx].
19537         * math/libm-test.inc (rint_test): Add more tests.
19538         (rint_test_tonearest): Likewise.
19539         (rint_test_towardzero): Likewise.
19540         (rint_test_downward): Likewise.
19541         (rint_test_upward: Likewise.
19543 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19545         [BZ #10110]
19546         * include/stdc-predef.h: New file.  Extracted from features.h.
19547         * include/features.h: Include stdc-predef.h.
19548         * Makefile (headers): Add stdc-predef.h.
19549         * CONFORMANCE (Compiler limitations): Update.
19551 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
19553         * manual/libc.texinfo (VERSION, UPDATED): Revert.
19555 2012-02-21  David S. Miller  <davem@davemloft.net>
19557         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19558         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19560 2012-02-20  David S. Miller  <davem@davemloft.net>
19562         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19563         using a normal save/restore sequence, rather than allocating a
19564         dummy stack frame just to store a frame pointer and restore.
19565         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19567 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19569         * manual/install.texi: Fix stray word in line-wrapped comment.
19571 2012-02-20  David S. Miller  <davem@davemloft.net>
19573         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19574         both binutils and gcc support GOTDATA.
19576         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19577         "rd %pc" in the PIC register setup sequences.
19579         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19580         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19581         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19582         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19583         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19584         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19585         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19586         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19587         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19588         (SYSCALL_ERROR_HANDLER): Likewise.
19589         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19590         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19591         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19592         (SYSCALL_ERROR_HANDLER): Likewise.
19594         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19595         (HAVE_GCC_GOTDATA): New.
19596         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19597         relocation support in both binutils and gcc.
19598         * sysdeps/sparc/elf/configure: Regenerate.
19600         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19601         * sysdeps/sparc/sparc32/elf/configure: Delete.
19602         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19603         * sysdeps/sparc/sparc64/elf/configure: Delete.
19604         * sysdeps/sparc/elf/configure.in: New file.
19605         * sysdeps/sparc/elf/configure: Generate.
19607         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19608         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19609         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19610         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19611         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19613 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19615         * manual/install.texi: Do not mention specific glibc version
19616         numbers.
19617         * manual/libc.texinfo (VERSION, UPDATED): Update.
19618         (@copying): Use @copyright{} and range of years.
19620 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
19622         [BZ #13695]
19623         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19624         [crti.S not in sysdirs] (generated): Do not append.
19625         [crti.S not in sysdirs] (omit-deps): Likewise.
19626         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19627         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19628         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19629         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19630         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19631         Likewise.
19632         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19633         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19634         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19635         * csu/defs.awk: Remove file.
19636         * sysdeps/generic/initfini.c: Likewise.
19637         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19638         variable.
19639         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19640         Likewise.
19642 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19644         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19645         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19646         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19647         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19648         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19649         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19650         <bits/epoll.h>.
19651         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19652         (__EPOLL_PACKED): Define to empty if not defined by
19653         <bits/epoll.h>.
19654         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19656         bits/epoll.h.
19658 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19660         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19661         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19662         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19663         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19664         <bits/timerfd.h>.
19665         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19666         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19667         bits/timerfd.h.
19669 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
19671         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19672         in C locale.
19673         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19674         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19675         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19678 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
19680         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19681         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19683 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
19685         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19686         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19687         defined.
19688         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19689         Likewise.
19690         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19691         entry for 2.16.
19693 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
19695         * math/w_acos.c: Use non-signaling floating-point comparisons.
19696         * math/w_acosf.c: Likewise.
19697         * math/w_acosh.c: Likewise.
19698         * math/w_acoshf.c: Likewise.
19699         * math/w_acoshl.c: Likewise.
19700         * math/w_acosl.c: Likewise.
19701         * math/w_asin.c: Likewise.
19702         * math/w_asinf.c: Likewise.
19703         * math/w_asinl.c: Likewise.
19704         * math/w_atanh.c: Likewise.
19705         * math/w_atanhf.c: Likewise.
19706         * math/w_atanhl.c: Likewise.
19707         * math/w_exp2.c: Likewise.
19708         * math/w_exp2f.c: Likewise.
19709         * math/w_exp2l.c: Likewise.
19710         * math/w_j0.c: Likewise.
19711         * math/w_j0f.c: Likewise.
19712         * math/w_j0l.c: Likewise.
19713         * math/w_j1.c: Likewise.
19714         * math/w_j1f.c: Likewise.
19715         * math/w_j1l.c: Likewise.
19716         * math/w_jn.c: Likewise.
19717         * math/w_jnf.c: Likewise.
19718         * math/w_log.c: Likewise.
19719         * math/w_log10.c: Likewise.
19720         * math/w_log10f.c: Likewise.
19721         * math/w_log10l.c: Likewise.
19722         * math/w_log2.c: Likewise.
19723         * math/w_log2f.c: Likewise.
19724         * math/w_log2l.c: Likewise.
19725         * math/w_logf.c: Likewise.
19726         * math/w_logl.c: Likewise.
19727         * math/w_sqrt.c: Likewise.
19728         * math/w_sqrtf.c: Likewise.
19729         * math/w_sqrtl.c: Likewise.
19730         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19731         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19732         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19733         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19734         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19736 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19738         [BZ #9739]
19739         * manual/string.texi (strnlen): Use correct parameter name in
19740         equivalent expression.
19742 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19744         [BZ #11174]
19745         * manual/users.texi (seteuid): Consistently use neweuid for
19746         argument name.
19748 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
19750         [BZ #13704]
19751         * manual/nss.texi (Services in the NSS configuration): Correct
19752         list of services in example configuration file.
19754 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
19756         [BZ #11322]
19757         * manual/arith.texi: Remove statements about negative zero
19758         behaving identically to zero.
19760 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19762         [BZ #5993]
19763         * manual/install.texi: Do not document upgrading from libc5.
19765 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
19767         [BZ #4596]
19768         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19770 2012-02-18  David S. Miller  <davem@davemloft.net>
19772         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19773         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19774         %o7 across the call.
19775         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19776         instead.
19777         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19778         SETUP_PIC_REG_LEAF.
19779         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19780         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19781         * sysdeps/sparc/crtn.S: Likewise.
19783 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
19785         * aout/Makefile: Remove.
19787 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
19789         [BZ #13058]
19790         * manual/examples/argp-ex1.c (main): Format definition in GNU
19791         style.
19792         * manual/examples/argp-ex2.c (main): Likewise.
19793         * manual/examples/argp-ex3.c (main): Likewise.
19794         * manual/examples/argp-ex4.c (main): Likewise.
19795         * manual/examples/longopt.c (main): Use new-style prototype
19796         definition.
19797         * manual/examples/strncat.c (main): Specify return type and use
19798         (void) for arguments.
19799         * manual/examples/subopt.c (main): Use char **argv argument.
19801 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19803         [BZ #5077]
19804         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19805         rounding modes.
19807 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
19809         [BZ #6907]
19810         * manual/string.texi (strchr): Change when strchrnul is
19811         recommended.
19813 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
19815         [BZ #174]
19816         * manual/locale.texi (setlocale): Document LOCPATH.
19818 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19820         [BZ #10210]
19821         * manual/process.texi (execle): Move @dots{} before last argument.
19823 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
19825         [BZ #12047]
19826         * manual/charset.texi (Generic Charset Conversion): Fix typo
19827         (LC_TYPE -> LC_CTYPE).
19829 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
19831         [BZ #5805]
19832         * manual/arith.texi (scalbn): Use @var{} on parameter names.
19833         (scalbnf): Likewise.
19834         (scalbnl): Likewise.
19835         (scalbln): Likewise.
19836         (scalblnf): Likewise.
19837         (scalblnl): Likewise.
19838         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19839         (vwarnx): Likewise.
19840         (verr): Likewise.
19841         (verrx): Likewise.
19842         * manual/filesys.texi (telldir): Use braces around return type.
19843         * manual/llio.texi (mmap): Add space after comma.
19844         (mmap64): Likewise.
19845         * manual/math.texi (jn): Use @var{} on parameter names.
19846         (jnf): Likewise.
19847         (jnl): Likewise.
19848         (yn): Likewise.
19849         (ynf): Likewise.
19850         (ynl): Likewise.
19851         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19852         line.
19853         * manual/resource.texi (ulimit): Use @dots{} instead of literal
19854         "...".
19855         (sched_get_priority_min): Remove semicolon on @deftypefun line.
19856         (sched_get_priority_max): Likewise.
19857         * manual/signal.texi (sigvec): Add space after comma.
19858         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19859         names.
19860         (if_indextoname): Likewise.
19861         (if_freenameindex): Likewise.
19862         (sendto): Use ',' instead of '.' in prototype.
19863         * manual/startup.texi (syscall): Use @dots{} instead of literal
19864         "...".
19865         * manual/stdio.texi (__fpending): Separate initial words of
19866         paragraph from @deftypefun line.
19867         * manual/syslog.texi (syslog): Use @dots{} instead of literal
19868         "...".
19869         (vsyslog): Use @var{} on parameter names.
19870         * manual/terminal.texi (stty): Use @var{} on parameter names.
19871         * manual/users.texi (getutmp): Use @var{} on parameter names.
19872         (getutmpx): Likewise.
19874 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19876         [BZ #6884]
19877         * manual/stdio.texi (fopen): Fix typos in description of
19878         ",ccs=STRING".
19880 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
19882         [BZ #4026]
19883         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19884         get clock_id definition.
19886 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
19888         [BZ #4822]
19889         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19890         (madvise): Cast every argument to void on its own.
19892 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19894         [BZ #9902]
19895         * manual/startup.texi (Exit Status): Fix typo.
19897 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
19899         [BZ #10140]
19900         * manual/examples/argp-ex1.c: Include <stdlib.h>.
19901         * manual/examples/argp-ex2.c: Likewise.
19902         * manual/examples/argp-ex3.c: Likewise.
19904 2012-02-16  Richard Henderson  <rth@redhat.com>
19906         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19907         * sysdeps/s390/s390-32/initfini.c: Remove.
19908         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19909         * sysdeps/s390/s390-64/initfini.c: Remove.
19911 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19913         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19914         compiler output for sysdeps/generic/initfini.c.
19915         * sysdeps/sh/elf/initfini.c: Remove file.
19917 2012-02-16  David S. Miller  <davem@davemloft.net>
19919         [BZ #11494]
19920         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19922         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19923         * sysdeps/sparc/crti.S: New file.
19924         * sysdeps/sparc/crtn.S: New file.
19925         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19926         * sysdeps/sparc/sparc64/Makefile: Likewise.
19928 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
19930         [BZ #3335]
19931         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19933 2012-02-15  Roland McGrath  <roland@hack.frob.com>
19935         [BZ #4822]
19936         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19938         * mach/devstream.c (cookie_io_functions_t): Macro removed.
19939         (write, read, close): Likewise.
19940         Patch by Aurelien Jarno <aurelien@aurel32.net>.
19942 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
19944         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19945         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19946         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19947         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19948         <bits/signalfd.h>.
19949         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19950         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19951         bits/signalfd.h.
19953 2012-02-14  Marek Polacek  <polacek@redhat.com>
19955         * sysdeps/x86_64/crti.S: New file.
19956         * sysdeps/x86_64/crtn.S: New file.
19957         * sysdeps/x86_64/elf/initfini.c: Remove file.
19959 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19961         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19962         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19963         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19964         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19965         <bits/inotify.h>.
19966         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19968         bits/inotify.h.
19970 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
19972         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19973         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19974         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19975         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19976         <bits/eventfd.h>.
19977         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19978         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19979         bits/eventfd.h.
19981 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
19983         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19984         __feraiseexcept instead of feraiseexcept.
19986         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19987         nanosleep invocations.
19988         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19989         strings, and add error checking for a nanosleep invocations.
19991 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
19993         Replace FSF snail mail address with URLs, as per GNU coding standards.
19994         Most of the snail mail addresses were wrong anyway, and omitting
19995         them makes the source code easier to maintain.  Almost all of the
19996         changes are to license notices and to locale LC_IDENTIFICATION
19997         addresses, except for this one:
19998         * manual/libc.texinfo: In "Published by", give the FSF's URL,
19999         not its snail mail address.
20001 2012-02-09  Richard Henderson  <rth@twiddle.net>
20003         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20004         of kernel-features.h.
20006         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20008 2012-02-08  Marek Polacek  <polacek@redhat.com>
20010         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20011         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20012         * sysdeps/gnu/_G_config.h: Likewise.
20013         * sysdeps/generic/_G_config.h: Likewise.
20015 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
20017         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20018         tests.
20019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20021         * sysdeps/powerpc/powerpc32/crti.S: New file.
20022         * sysdeps/powerpc/powerpc32/crtn.S: New file.
20023         * sysdeps/powerpc/powerpc64/crti.S: New file.
20024         * sysdeps/powerpc/powerpc64/crtn.S: New file.
20026         * Makeconfig (have-initfini): Don't set.
20027         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20028         * configure.in (nopic_initfini): Don't substitute.
20029         * config.h.in (HAVE_INITFINI): Don't #undef.
20030         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20031         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20033 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
20035         Support crti.S and crtn.S provided directly by architectures.
20036         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20037         [crti.S in sysdirs] (omit-deps): Likewise.
20038         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20039         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20040         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20041         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20042         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20043         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20044         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20045         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20046         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20047         compiler output for sysdeps/generic/initfini.c.
20048         * sysdeps/i386/elf/Makefile: Remove file.
20049         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20051 2012-02-07  Marek Polacek  <polacek@redhat.com>
20053         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20054         * sysdeps/gnu/_G_config.h: Likewise.
20055         * sysdeps/mach/hurd/_G_config.h: Likewise.
20057 2012-02-07  Marek Polacek  <polacek@redhat.com>
20059         * math/Makefile (tests): Add tst-CMPLX2.
20060         * math/tst-CMPLX2.c: New file.
20062 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
20064         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20066         * math/libm-test.inc (jn_test): Add missing L suffix.
20068 2012-02-06  Marek Polacek  <polacek@redhat.com>
20070         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20071         * sysdeps/i386/fpu/e_powf.S: Likewise.
20072         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20073         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20074         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20075         * sysdeps/i386/fpu/e_pow.S: Likewise.
20076         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20077         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20078         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20079         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20080         * sysdeps/i386/fpu/e_log2.S: Likewise.
20081         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20082         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20083         * sysdeps/i386/fpu/e_powl.S: Likewise.
20084         * sysdeps/i386/fpu/s_log1p.S: Likewise.
20085         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20086         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20087         * sysdeps/i386/fpu/e_logl.S: Likewise.
20088         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20089         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20090         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20091         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20092         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20093         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20094         * sysdeps/i386/fpu/e_log.S: Likewise.
20095         * sysdeps/i386/fpu/s_cexp.S: Likewise.
20096         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20097         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20098         * sysdeps/i386/fpu/e_logf.S: Likewise.
20099         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20100         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20101         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20102         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20103         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20104         * sysdeps/i386/fpu/e_log10.S: Likewise.
20105         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20106         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20107         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20108         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20109         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20110         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20111         * sysdeps/i386/asm-syntax.h: Likewise.
20112         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20113         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20114         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20115         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20116         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20117         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20118         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20119         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20120         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20121         * sysdeps/powerpc/sysdep.h: Likewise.
20122         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20123         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20125 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20127         [BZ #411]
20128         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20130 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
20132         * sysdeps/i386/sysdep.h: Include <features.h>.
20133         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20134         version.
20136 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
20138         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20139         Define.
20140         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20141         LOAD_PIC_REG_STR.
20143 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20145         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20146         (SETUP_PIC_REG): Use GET_PC_THUNK.
20147         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20148         macro.
20150 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20152         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20153         for non-PIC compilation.
20154         (SETUP_PIC_REG): Add .p2align directive.
20155         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20156         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20157         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20158         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20159         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20160         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20161         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20162         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20163         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20164         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20165         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20166         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20167         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20168         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20169         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20170         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20171         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20172         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20173         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20174         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20175         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20176         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20177         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20178         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20179         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20180         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20181         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20182         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20183         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20184         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20185         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20186         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20187         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20188         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20189         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20190         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20191         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20192         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20193         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20194         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20195         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20197 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
20199         * math/tst-CMPLX.c: Include <stdio.h>.
20201 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
20203         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20204         float.
20205         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20206         * sysdeps/sparc/bits/mathdef.h: Likewise.
20208 2012-01-31  Marek Polacek  <polacek@redhat.com>
20210         * libio/libio.h: Don't define _PARAMS.
20211         * locale/programs/config.h: Don't define PARAMS.
20212         * stdlib/strtol_l.c: Likewise.
20213         (__strtol_l): Remove PARAMS from the prototype.
20215 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
20217         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
20218         names.  Just use the correct names.  Remove unnecessary wrapper
20219         functions.
20220         * malloc/arena.c: Likewise.
20221         * malloc/hooks.c: Likewise.
20223         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20224         ARENA_TEST says not to.  Simplify test for creation of a new arena.
20225         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20227 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
20229         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20230         into tail calls.
20231         (update_get_addr): New function.
20232         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20233         GET_ADDR_MODULE parameter.
20235 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20237         * crypt/cert.c: Remove __STDC__ conditionals.
20238         * crypt/crypt-entry.c: Likewise.
20239         * crypt/crypt_util.c: Likewise.
20240         * libio/filedoalloc.c: Likewise.
20241         * libio/fileops.c: Likewise.
20242         * libio/genops.c: Likewise.
20243         * libio/iofclose.c: Likewise.
20244         * libio/iofdopen.c: Likewise.
20245         * libio/iofopen.c: Likewise.
20246         * libio/iofopen64.c: Likewise.
20247         * libio/iogetdelim.c: Likewise.
20248         * libio/iopopen.c: Likewise.
20249         * libio/obprintf.c: Likewise.
20250         * libio/oldfileops.c: Likewise.
20251         * libio/oldiofclose.c: Likewise.
20252         * libio/oldiofdopen.c: Likewise.
20253         * libio/oldiofopen.c: Likewise.
20254         * libio/oldiopopen.c: Likewise.
20255         * libio/wfiledoalloc.c: Likewise.
20256         * libio/wgenops.c: Likewise.
20257         * locale/programs/xmalloc.c: Likewise.
20258         * misc/syslog.c: Likewise.
20259         * stdio-common/xbug.c: Likewise.
20260         * string/memchr.c: Likewise.
20261         * string/memcmp.c: Likewise.
20262         * string/memrchr.c: Likewise.
20263         * string/rawmemchr.c: Likewise.
20264         * sysdeps/posix/getcwd.c: Likewise.
20265         * time/strftime_l.c: Likewise.
20267 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
20269         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
20270         * config.make.in (config-cflags-sse2avx): Define.
20271         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20272         Fix typo.
20274 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
20276         * scripts/config.guess: Update from upstream config git repository.
20277         * scripts/config.sub: Likewise.
20279 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
20281         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20282         (EM_NUM): Update.
20283         (R_TILEPRO_*, R_TILEGX_*): New macros.
20285         * scripts/firstversions.awk: Fix bug in version range handling.
20287         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20289         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20291         * include/sys/epoll.h: New file.
20292         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20293         libc_hidden_def.
20295 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
20297         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20298         Avoid unnecessary __WORDSIZE == 64 test.
20299         (fmaxf): Use VEX format if possible.
20300         (fmax): Likewise.
20301         (fminf): Likewise.
20302         (fmin): Likewise.
20304         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20305         * math/math_private.h: Remove libc_fegetround* and
20306         libc_fesetround*.
20307         * sysdeps/i386/configure.in: Check for -msse2avx.
20308         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20309         also if SSE2AVX is defined.
20310         Remove libc_fegetround* and libc_fesetround*.
20311         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20312         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
20313         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20314         of HAS_YMM_USABLE.
20315         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20316         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20317         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20318         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20319         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20321         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20323 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20325         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20326         size is not set.
20327         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20329 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
20331         [BZ #13618]
20332         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20333         relocation.
20334         * Makeconfig (libm): Define.
20335         * elf/Makefile: Add rules to build and run tst-relsort1.
20336         * elf/tst-relsort1.c: New file.
20337         * elf/tst-relsort1mod1.c: New file.
20338         * elf/tst-relsort1mod2.c: New file.
20340 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
20342         * math/s_ldexp.c: Remove __STDC__ conditionals.
20343         * math/s_ldexpf.c: Likewise.
20344         * math/s_ldexpl.c: Likewise.
20345         * math/s_nextafter.c: Likewise.
20346         * math/s_nexttowardf.c: Likewise.
20347         * math/s_significand.c: Likewise.
20348         * math/s_significandf.c: Likewise.
20349         * math/s_significandl.c: Likewise.
20350         * math/w_jnl.c: Likewise.
20351         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20352         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20353         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20354         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20355         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20356         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20357         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20358         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20359         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20360         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20361         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20362         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20363         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20364         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20365         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20366         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20367         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20368         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20369         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20370         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20371         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20372         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20373         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20374         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20375         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20376         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20377         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20378         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20379         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20380         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20381         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20382         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20383         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20384         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20385         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20386         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20387         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20388         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20389         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20390         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20391         * sysdeps/ieee754/k_standard.c: Likewise.
20392         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20393         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20394         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20395         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20396         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20397         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20398         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20399         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20400         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20401         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20402         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20403         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20404         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20405         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20406         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20407         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20408         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20409         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20410         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20411         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20412         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20413         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20414         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20415         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20416         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20417         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20418         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20419         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20420         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20421         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20422         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20423         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20424         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20425         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20426         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20427         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20428         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20429         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20430         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20431         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20432         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20433         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20434         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20435         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20436         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20437         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20438         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20439         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20440         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20441         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20442         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20443         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20444         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20445         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20446         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20447         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20448         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20449         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20450         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20451         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20452         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20453         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20454         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20455         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20456         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20457         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20458         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20459         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20460         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20461         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20462         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20463         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20464         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20465         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20466         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20467         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20468         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20469         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20470         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20471         * sysdeps/ieee754/s_matherr.c: Likewise.
20472         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20473         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20474         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20475         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20477 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20479         * crypt/md5.h: Remove __STDC__ conditionals.
20480         * libio/libioP.h: Likewise.
20481         * locale/programs/config.h: Likewise.
20482         * sysdeps/generic/sysdep.h: Likewise.
20483         * sysdeps/i386/asm-syntax.h: Likewise.
20484         * sysdeps/s390/asm-syntax.h: Likewise.
20485         * sysdeps/unix/sysdep.h: Likewise.
20486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20489 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
20491         * libio/libio.h: Remove __STDC__ conditionals.
20492         * malloc/obstack.h: Likewise.
20493         * math/complex.h: Likewise.
20494         * math/math.h: Likewise.
20495         * sysdeps/generic/_G_config.h: Likewise.
20496         * sysdeps/gnu/_G_config.h: Likewise.
20497         * sysdeps/mach/hurd/_G_config.h: Likewise.
20498         * sysdeps/powerpc/bits/mathdef.h: Likewise.
20499         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20500         * sysdeps/sparc/bits/mathdef.h: Likewise.
20502 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
20504         [BZ #13583]
20505         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
20506         Clean up HAS_* macros.
20507         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
20508         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20509         possible.
20510         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20511         HAS_AVX.
20512         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20513         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20514         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20515         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20516         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20518 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
20520         * elf/tst-unique3.cc (gets): Remove declaration.
20521         * elf/tst-unique3lib.cc (gets): Likewise.
20522         * elf/tst-unique3lib2.cc (gets): Likewise.
20523         * elf/tst-unique4.cc (gets): Likewise.
20525 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
20527         * include/stdio.h: Add C++ protection.  Add gets declarations and
20528         definitions.
20529         * debug/tst-chk1.c: Don't declare gets here.
20530         * stdio-common/tst-gets.c: Likewise.
20532 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20534         * posix/glob: Remove directory.
20536 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
20538         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20540 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
20542         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20543         of the non-standard EPFNOSUPPORT.
20545 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20547         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20548         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20549         ANYWHERE set to 1 only on KERN_NO_SPACE error.
20551 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
20553         * wcsmbs/uchar.h: Test __STDC_VERSION__.
20555 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
20557         * nscd/aicache.c (addhstaiX): Do not cache negative results of
20558         transient errors.
20559         * nscd/grpcache.c (cache_addgr): Likewise.
20560         * nscd/hstcache.c (cache_addhst): Likewise.
20561         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20562         * nscd/pwdcache.c (cache_addpw): Likewise.
20563         * nscd/servicescache.c (cache_addserv): Likewise.
20565 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
20567         * malloc/malloc.c: Various cleanups.
20568         * malloc/hooks.c: Likewise.
20570         * stdlib/Makefile (tests): Add bug-fmtmsg1.
20571         * stdlib/bug-fmtmsg1.c: New file.
20573         * stdlib/fmtmsg.c (init): Add missing unlock.
20574         Patch by Peng Haitao <penght@cn.fujitsu.com>.
20576 2012-01-12  Marek Polacek  <polacek@redhat.com>
20578         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20579         and _GNU_SOURCE.
20581 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
20583         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20584         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20585         macro to ensure uniqueness of label name.
20586         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20587         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20589 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
20591         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20593         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20594         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20595         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20596         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20598 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
20600         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20602         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20603         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20604         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20606         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20608         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
20609         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20610         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20611         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
20613         * math/bits/math-finite.h: Add ldexp support.
20615 2012-01-10  Marek Polacek  <polacek@redhat.com>
20617         * locale/programs/localedef.h (show_archive_content): Add noreturn
20618         attribute.
20620 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
20622         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20624 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20626         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20628         * io/Makefile (headers): Add bits/poll2.h.
20630 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
20632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20633         typo #include statement.
20635 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20637         * include/sys/cdefs.h: Define __attribute_alloc_size.
20638         * catgets/gencat.c: Add alloc_size attribute and apply consistently
20639         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20640         * elf/pldd.c: Likewise.
20641         * iconv/iconv_charmap.c: Likewise.
20642         * iconv/iconvconfig.c: Likewise.
20643         * iconv/strtab.c: Likewise.
20644         * locale/programs/locale.c: Likewise.
20645         * locale/programs/localedef.h: Likewise.
20646         * locale/programs/simple-hash.c: Likewise.
20647         * nscd/nscd.h: Likewise.
20648         * nss/makedb.c: Likewise.
20649         * sysdeps/generic/ldconfig.h: Likewise.
20650         * locale/programs/localedef.c: Remove xmalloc prototype.
20651         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20653 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20655         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20656         appropriate.
20658 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
20660         * math/Makefile (tests): Add tst-CMPLX.
20661         * math/tst-CMPLX.c: New file.
20663         * math/complex.h (CMPLXL): Fix typo.
20665         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20666         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20667         GLIBC_2.16.
20668         * debug/tst-chk1.c: Add poll and ppoll tests.
20669         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20670         * include/sys/poll.h: Add hidden proto for ppoll.
20671         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20672         * sysdeps/mach/hurd/ppoll.c: Likewise.
20673         * io/ppoll.c: Likewise.
20674         * debug/poll_chk.c: New file.
20675         * debug/ppoll_chk.c: New file.
20676         * include/bits/poll2.h: New file.
20677         * io/bits/poll2.h: New file.
20679         [BZ #1350]
20680         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20682         * configure.in: static is always set to yes.  Remove.
20683         * config.make.in: Don't set build-static.
20684         * Makeconfig: Remove use of build-static.
20685         * dlfcn/Makefile: Likewise.
20686         * elf/Makefile: Likewise.
20687         * math/Makefile: Likewise.
20688         * misc/Makefile: Likewise.
20689         * nptl/Makefile: Likewise.
20690         * sysdeps/mach/hurd/Makefile: Likewise.
20692         * configure.in: PWD_P is not used anymore.
20693         * config.make.in: Remove PWD_P entry.
20695         * configure.in: Remove last remnants of RANLIB.
20696         No need to check for signed size_t anymore.
20697         Don't set libc_commonpagesize and libc_relro_required here for Alpha
20698         and IA-64.
20699         Remove __builtin_expect test because we require at least gcc 3.4.
20700         * aclocal.m4: Likewise.
20702         * wcsmbs/mbrtoc16.c: Implement using towc function.
20703         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20704         * wcsmbs/wcsmbsload.c: Likewise.
20705         * iconv/gconv_simple.c: Likewise.
20706         * iconv/gconv_int.h: Likewise.
20707         * iconv/gconv_builtin.h: Likewise.
20708         * iconv/iconv_prog.c: Remove CHAR16 handling.
20710         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20712         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20714         * configure.in: Remove --with-elf and --enable-bounded options.
20715         Dont set base_machine for ia64.  More non-ELF conditions removed.
20716         Remove testing and setting of leading underscore information.
20717         * config.make.in (build-bounded): Set to no.
20718         * config.h.in: Remove NO_UNDERSCORES entry.
20719         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
20720         them.
20721         * csu/start.c: Remove !NO_UNDERSCORE code.
20722         * locale/localeinfo.h: Likewise.
20723         * sysdeps/generic/machine-gmon.h: Likewise.
20724         * sysdeps/generic/sysdep.h: Likewise.
20725         * sysdeps/i386/sysdep.h: Likewise.
20726         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20727         * sysdeps/mach/sysdep.h: Likewise.
20728         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20729         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20730         * sysdeps/sh/sysdep.h: Likewise.
20731         * sysdeps/sparc/sparc32/alloca.S: Likewise.
20732         * sysdeps/unix/i386/sysdep.S: Likewise.
20733         * sysdeps/unix/sparc/start.c: Likewise.
20734         * sysdeps/unix/sparc/sysdep.S: Likewise.
20735         * sysdeps/unix/sparc/sysdep.h: Likewise.
20736         * sysdeps/unix/start.c: Likewise.
20737         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20738         * sysdeps/x86_64/sysdep.h: Likewise.
20740 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
20742         [BZ #13553]
20743         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20744         for non-gcc.
20745         * argp/argp-fmtstream.h: Use const instead __const.
20746         * argp/argp.h: Likewise.
20747         * assert/assert.h: Likewise.
20748         * bits/fenv.h: Likewise.
20749         * bits/sched.h: Likewise.
20750         * bits/sigset.h: Likewise.
20751         * bits/sigthread.h: Likewise.
20752         * catgets/nl_types.h: Likewise.
20753         * conform/data/pthread.h-data: Likewise.
20754         * crypt/crypt-private.h: Likewise.
20755         * crypt/crypt.h: Likewise.
20756         * crypt/crypt_util.c: Likewise.
20757         * ctype/ctype.h: Likewise.
20758         * debug/execinfo.h: Likewise.
20759         * debug/mbsnrtowcs_chk.c: Likewise.
20760         * debug/mbsrtowcs_chk.c: Likewise.
20761         * debug/wcsnrtombs_chk.c: Likewise.
20762         * debug/wcsrtombs_chk.c: Likewise.
20763         * debug/wcstombs_chk.c: Likewise.
20764         * dirent/dirent.h: Likewise.
20765         * dlfcn/dlfcn.h: Likewise.
20766         * elf/neededtest4.c: Likewise.
20767         * grp/grp.h: Likewise.
20768         * gshadow/gshadow.h: Likewise.
20769         * iconv/gconv.h: Likewise.
20770         * iconv/gconv_int.h: Likewise.
20771         * iconv/gconv_simple.c: Likewise.
20772         * iconv/iconv.h: Likewise.
20773         * iconv/loop.c: Likewise.
20774         * iconv/skeleton.c: Likewise.
20775         * include/aio.h: Likewise.
20776         * include/aliases.h: Likewise.
20777         * include/argz.h: Likewise.
20778         * include/arpa/inet.h: Likewise.
20779         * include/assert.h: Likewise.
20780         * include/dirent.h: Likewise.
20781         * include/dlfcn.h: Likewise.
20782         * include/execinfo.h: Likewise.
20783         * include/fcntl.h: Likewise.
20784         * include/fenv.h: Likewise.
20785         * include/glob.h: Likewise.
20786         * include/grp.h: Likewise.
20787         * include/libintl.h: Likewise.
20788         * include/mntent.h: Likewise.
20789         * include/netdb.h: Likewise.
20790         * include/pwd.h: Likewise.
20791         * include/rpc/netdb.h: Likewise.
20792         * include/sched.h: Likewise.
20793         * include/search.h: Likewise.
20794         * include/shadow.h: Likewise.
20795         * include/signal.h: Likewise.
20796         * include/stdio.h: Likewise.
20797         * include/stdlib.h: Likewise.
20798         * include/string.h: Likewise.
20799         * include/sys/socket.h: Likewise.
20800         * include/sys/stat.h: Likewise.
20801         * include/sys/statfs.h: Likewise.
20802         * include/sys/statvfs.h: Likewise.
20803         * include/sys/syslog.h: Likewise.
20804         * include/sys/time.h: Likewise.
20805         * include/sys/uio.h: Likewise.
20806         * include/time.h: Likewise.
20807         * include/unistd.h: Likewise.
20808         * include/utmp.h: Likewise.
20809         * include/wchar.h: Likewise.
20810         * include/wctype.h: Likewise.
20811         * inet/aliases.h: Likewise.
20812         * inet/arpa/inet.h: Likewise.
20813         * inet/netinet/ether.h: Likewise.
20814         * inet/netinet/in.h: Likewise.
20815         * intl/libintl.h: Likewise.
20816         * io/bits/fcntl2.h: Likewise.
20817         * io/fcntl.h: Likewise.
20818         * io/ftw.h: Likewise.
20819         * io/sys/poll.h: Likewise.
20820         * io/sys/stat.h: Likewise.
20821         * io/sys/statfs.h: Likewise.
20822         * io/sys/statvfs.h: Likewise.
20823         * io/utime.h: Likewise.
20824         * libio/bits/stdio.h: Likewise.
20825         * libio/bits/stdio2.h: Likewise.
20826         * libio/libio.h: Likewise.
20827         * libio/libioP.h: Likewise.
20828         * libio/stdio.h: Likewise.
20829         * locale/lc-ctype.c: Likewise.
20830         * locale/locale.h: Likewise.
20831         * login/utmp.h: Likewise.
20832         * malloc/arena.c: Likewise.
20833         * malloc/malloc.c: Likewise.
20834         * malloc/malloc.h: Likewise.
20835         * malloc/mcheck.c: Likewise.
20836         * malloc/mtrace.c: Likewise.
20837         * math/bits/mathcalls.h: Likewise.
20838         * math/fenv.h: Likewise.
20839         * math/math_private.h: Likewise.
20840         * misc/bits/error.h: Likewise.
20841         * misc/bits/syslog.h: Likewise.
20842         * misc/err.h: Likewise.
20843         * misc/error.h: Likewise.
20844         * misc/fstab.h: Likewise.
20845         * misc/mntent.h: Likewise.
20846         * misc/regexp.h: Likewise.
20847         * misc/search.h: Likewise.
20848         * misc/sgtty.h: Likewise.
20849         * misc/sys/mman.h: Likewise.
20850         * misc/sys/syslog.h: Likewise.
20851         * misc/sys/uio.h: Likewise.
20852         * misc/sys/xattr.h: Likewise.
20853         * misc/ttyent.h: Likewise.
20854         * nis/rpcsvc/ypclnt.h: Likewise.
20855         * nss/nss.h: Likewise.
20856         * posix/bits/unistd.h: Likewise.
20857         * posix/fnmatch.h: Likewise.
20858         * posix/glob.h: Likewise.
20859         * posix/sched.h: Likewise.
20860         * posix/spawn.h: Likewise.
20861         * posix/sys/wait.h: Likewise.
20862         * posix/unistd.h: Likewise.
20863         * posix/wordexp.h: Likewise.
20864         * pwd/pwd.h: Likewise.
20865         * resolv/netdb.h: Likewise.
20866         * resource/sys/resource.h: Likewise.
20867         * rt/aio.h: Likewise.
20868         * rt/bits/mqueue2.h: Likewise.
20869         * rt/mqueue.h: Likewise.
20870         * shadow/shadow.h: Likewise.
20871         * signal/signal.h: Likewise.
20872         * socket/send.c: Likewise.
20873         * socket/sendto.c: Likewise.
20874         * socket/sys/socket.h: Likewise.
20875         * stdio-common/printf.h: Likewise.
20876         * stdlib/bits/stdlib.h: Likewise.
20877         * stdlib/fmtmsg.h: Likewise.
20878         * stdlib/monetary.h: Likewise.
20879         * stdlib/stdlib.h: Likewise.
20880         * stdlib/ucontext.h: Likewise.
20881         * streams/stropts.h: Likewise.
20882         * string/argz.h: Likewise.
20883         * string/bits/string2.h: Likewise.
20884         * string/string.h: Likewise.
20885         * string/strings.h: Likewise.
20886         * sunrpc/rpc/auth.h: Likewise.
20887         * sunrpc/rpc/auth_des.h: Likewise.
20888         * sunrpc/rpc/clnt.h: Likewise.
20889         * sunrpc/rpc/netdb.h: Likewise.
20890         * sunrpc/rpc/pmap_clnt.h: Likewise.
20891         * sunrpc/rpc/xdr.h: Likewise.
20892         * sysdeps/generic/inttypes.h: Likewise.
20893         * sysdeps/generic/net/if.h: Likewise.
20894         * sysdeps/generic/sys/swap.h: Likewise.
20895         * sysdeps/gnu/net/if.h: Likewise.
20896         * sysdeps/gnu/utmpx.h: Likewise.
20897         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20898         * sysdeps/i386/i486/bits/string.h: Likewise.
20899         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20900         * sysdeps/s390/bits/string.h: Likewise.
20901         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20902         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20903         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20904         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20905         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20906         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20907         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20908         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20909         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20910         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20911         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20912         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20913         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20914         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20915         * sysdeps/unix/sysv/linux/readv.c: Likewise.
20916         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20917         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20918         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20919         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20920         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20921         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20922         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20923         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20924         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20925         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20926         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20927         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20928         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20929         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20930         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20931         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20932         * sysvipc/sys/ipc.h: Likewise.
20933         * sysvipc/sys/msg.h: Likewise.
20934         * sysvipc/sys/sem.h: Likewise.
20935         * sysvipc/sys/shm.h: Likewise.
20936         * termios/termios.h: Likewise.
20937         * time/sys/time.h: Likewise.
20938         * time/time.h: Likewise.
20939         * wcsmbs/bits/wchar2.h: Likewise.
20940         * wcsmbs/uchar.h: Likewise.
20941         * wcsmbs/wchar.h: Likewise.
20942         * wctype/wctype.h: Likewise.
20944         [BZ #13551]
20945         * Makeconfig: Remove all but ELF support including AIX support.
20946         * Makerules: Likewise.
20947         * config.h.in: Likewise.
20948         * config.make.in: Likewise.
20949         * configure: Likewise.
20950         * configure.in: Likewise.
20951         * csu/Makefile: Likewise.
20952         * csu/version.c: Likewise.
20953         * debug/Makefile: Likewise.
20954         * dlfcn/Makefile: Likewise.
20955         * elf/Makefile: Likewise.
20956         * extra-lib.mk: Likewise.
20957         * iconv/Makefile: Likewise.
20958         * include/libc-symbols.h: Likewise.
20959         * include/shlib-compat.h: Likewise.
20960         * resolv/Makefile: Likewise.
20961         * resolv/res_libc.c: Likewise.
20962         * rt/Makefile: Likewise.
20963         * sysdeps/i386/asm-syntax.h: Likewise.
20964         * sysdeps/i386/sysdep.h: Likewise.
20965         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20966         * sysdeps/mach/sysdep.h: Likewise.
20967         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20968         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20969         * sysdeps/s390/asm-syntax.h: Likewise.
20970         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20971         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20972         * sysdeps/sh/sysdep.h: Likewise.
20973         * sysdeps/unix/sparc/sysdep.h: Likewise.
20974         * sysdeps/wordsize-32/divdi3.c: Likewise.
20975         * sysdeps/x86_64/sysdep.h: Likewise.
20977         * argp/Versions: Remove _argp_unlock_xxx.
20979         [BZ #13559]
20980         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
20981         * abilist/libBrokenLocale.abilist: Likewise.
20982         * abilist/libanl.abilist: Likewise.
20983         * abilist/libc.abilist: Likewise.
20984         * abilist/libcrypt.abilist: Likewise.
20985         * abilist/libdl.abilist: Likewise.
20986         * abilist/libm.abilist: Likewise.
20987         * abilist/libnsl.abilist: Likewise.
20988         * abilist/libpthread.abilist: Likewise.
20989         * abilist/libresolv.abilist: Likewise.
20990         * abilist/librt.abilist: Likewise.
20991         * abilist/libthread_db.abilist: Likewise.
20992         * abilist/libutil.abilist: Likewise.
20993         * abilist/libnss_db.abilist: New file.
20995         * scripts/abilist.awk: Add support for indirect functions.
20997         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20999         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21001         * shlib-versions: Remove entries for ports architectures.
21003         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
21004         files in ports.
21005         * elf/stackguard-macros.h: Remove support for IA-64.
21006         * elf/tst-auditmod1.c: Likewise.
21007         * sysdeps/generic/ldsodefs.h: Likewise.
21009         * sysdeps/unix/sysv/linux/configure.in: Ports should define
21010         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21011         configure files.
21013         [BZ #13552]
21014         * configure.in: Remove --enable-omitfp support.
21015         * FAQ.in: Adjust.
21016         * config.make.in: Likewise.
21017         * Makeconfig: Likewise.
21018         * manual/install.texi: Likewise.
21020         In case anyone cares, the IA-64 architecture could move to ports.
21021         * sysdeps/ia64/*: Removed.
21022         * sysdeps/unix/sysv/linux/ia64/*: Removed.
21023         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
21025         [BZ #13555]
21026         * configure.in: Remove entries for unsupported architectures.
21028         [BZ #13533]
21029         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21030         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
21031         routines.
21032         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21033         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21034         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
21035         fall back to using wcrtomb.
21036         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21037         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
21038         renaming.
21039         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21040         * wcsmbs/tst-c16c32-1.c: New file.
21042         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21043         local variable.
21045         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21047         * elf/tst-unique3.cc: Add explicit declaration of gets.
21048         * elf/tst-unique3lib.cc: Likewise.
21049         * elf/tst-unique3lib2.cc: Likewise.
21050         * elf/tst-unique4.cc: Likewise.
21052         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21054 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
21056         [BZ #13566]
21057         * assert/assert.h (static_assert): Don't define for C++.
21058         * libio/stdio.h (gets): Do declare for C++ <= C++11.
21059         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21061 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
21063         * iconv/loop.c (single loop): Fix assertion in storing of
21064         remaining bytes.
21066         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21068 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
21070         * posix/getconf.c: Update copyright year.
21071         * nss/getent.c: Likewise.
21072         * nss/makedb.c: Likewise.
21073         * iconv/iconvconfig.c: Likewise.
21074         * iconv/iconv_prog.c: Likewise.
21075         * elf/ldconfig.c: Likewise.
21076         * elf/pldd.c: Likewise.
21077         * elf/sotruss.ksh: Likewise.
21078         * catgets/gencat.c: Likewise.
21079         * csu/version.c: Likewise.
21080         * elf/ldd.bash.in: Likewise.
21081         * elf/sprof.c (print_version): Likewise.
21082         * locale/programs/locale.c: Likewise.
21083         * locale/programs/localedef.c: Likewise.
21084         * login/programs/pt_chown.c: Likewise.
21085         * nscd/nscd.c (print_version): Likewise.
21086         * debug/xtrace.sh: Likewise.
21087         * malloc/memusage.sh: Likewise.
21088         * malloc/mtrace.pl: Likewise.
21089         * debug/catchsegv.sh: Likewise.
21091 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
21093         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21094         pure attribute.
21096 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
21098         [BZ #13533]
21099         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21100         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21101         transformations.
21102         * iconv/gconv_int.h: Likewise.
21103         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21104         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21105         from libc for GLIBC_2.16.
21106         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21107         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21108         * wcsmbs/uchar.h: Really define mbstate_t.
21109         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21110         * wcsmbs/c16rtomb.c: New file.
21111         * wcsmbs/mbrtoc16.c: New file.
21112         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21113         for C/POSIX locale.
21114         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21115         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21117         * wcsmbs/wchar.h: Add missing __restrict.
21119 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21121         [BZ #13532]
21122         * time/Makefile (routines): Add timespec_get.
21123         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21124         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
21125         timespec for ISO C11.
21126         * time/timespec_get.c: New file.
21127         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21128         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21130         [BZ #13531]
21131         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21132         * stdlib/stdlib.h: Declare aligned_alloc.
21133         * Versions.def: Add GLIBC_2.16 for libc.
21134         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21136         [BZ 13527]
21137         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21138         ISO C11.
21140         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
21141         code.
21143         [BZ #13528]
21144         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21146         [BZ #13529]
21147         * assert/assert.h (static_assert): Define.
21149         * version.h: Update for 2.16 development version.
21151         [BZ #13526]
21152         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21153         _ISOC11_SOURCE.
21155         * version.h (RELEASE): Bump for 2.15 release.
21156         * include/features.h (__GLIBC_MINOR__): Bump to 15.
21158         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21159         Patch by Marek Polacek <mpolacek@redhat.com>.
21161         * bits/byteswap.h: Protect long long constants with __extension__.
21162         * sysdeps/i386/bits/byteswap.h: Likewise.
21163         * sysdeps/ia64/bits/byteswap.h: Likewise.
21164         * sysdeps/s390/bits/byteswap.h: Likewise.
21165         * sysdeps/x86_64/bits/byteswap.h: Likewise.
21167 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21169         [BZ #13540]
21170         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21171         destination buffer.
21172         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21174 2011-12-23  Marek Polacek  <polacek@redhat.com>
21176         * elf/dl-addr.c (determine_info): Add inline keyword.
21177         * elf/tst-auditmod4b.c (check_avx): Likewise.
21178         * elf/tst-auditmod6b.c (check_avx): Likewise.
21179         * elf/tst-auditmod6c.c (check_avx): Likewise.
21180         * elf/tst-auditmod7b.c (check_avx): Likewise.
21182 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
21184         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21185         !__SSE_MATH__.
21187 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21189         [BZ #13540]
21190         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21191         processing for last bytes.
21193 2011-08-06  Bruno Haible  <bruno@clisp.org>
21195         [BZ #13061]
21196         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21197         U+0385, not to U+1FEE.
21199         [BZ #13062]
21200         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21201         entry for U+00A5 U+0301.
21203 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21205         [BZ #13166]
21206         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21207         buffer for the output is too small.
21209         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21210         optimization.
21212         [BZ #13185]
21213         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21214         SSE flags if possible.
21216 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21218         [BZ #13540]
21219         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21220         processing for last bytes.
21222 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
21224         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21225         (syscall-list-default-options, syscall-list-default-condition)
21226         (syscall-list-includes): Define.
21227         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21228         list of ABIs and options and #if conditions for each ABI.  Do not
21229         handle common syscalls between ABIs specially.
21230         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21231         Remove.
21232         (syscall-list-variants, syscall-list-32bit-options)
21233         (syscall-list-32bit-condition, syscall-list-64bit-options)
21234         (syscall-list-64bit-condition): Define.
21235         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21236         (syscall-list-variants, syscall-list-32bit-options)
21237         (syscall-list-32bit-condition, syscall-list-64bit-options)
21238         (syscall-list-64bit-condition): Define.
21239         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21240         Remove.
21241         (syscall-list-variants, syscall-list-32bit-options)
21242         (syscall-list-32bit-condition, syscall-list-64bit-options)
21243         (syscall-list-64bit-condition): Define.
21244         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21245         Remove.
21246         (syscall-list-variants, syscall-list-32bit-options)
21247         (syscall-list-32bit-condition, syscall-list-64bit-options)
21248         (syscall-list-64bit-condition): Define.
21250 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
21252         * locale/iso-639.def: Add brx entry.
21254         [BZ #13328]
21255         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21256         Proposed by Mariusz_Cukr <marcukr@op.pl>.
21258         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21259         __feraiseexcept_renamed.
21261 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21263         [BZ #13538]
21264         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21265         EPOLLET with unsigned values.
21266         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21267         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21269         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21270         to large cancellation.
21271         * math/s_cacoshf.c: Likewise.
21272         * math/s_cacoshl.c: Likewise.
21274 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
21276         [BZ #13305]
21277         [BZ #12786]
21278         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21279         * math/s_cacoshf.c: Likewise.
21280         * math/s_cacoshl.c: Likewise.
21282 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
21284         [BZ #13439]
21285         * iconv/gconv.h: Define __GCONV_SWAP.
21286         * iconvdata/unicode.c: The swap bit must be stored in __flags.
21287         * iconvdata/utf-16.c: Likewise.
21288         * iconvdata/utf-32.c: Likewise.
21290 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21292         [BZ #13524]
21293         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21294         numerator after shifting it by one limb.
21296 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
21298         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21299         under [__USE_EXTERN_INLINES].
21301 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21303         [BZ #13446]
21304         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21306 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21308         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21309         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21310         optimized code.
21311         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21312         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21313         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21314         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21315         for strncasecmp/strncasecmp_l compilation.
21316         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21317         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21319 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
21321         [BZ #13484]
21322         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21323         of __asm__.
21325 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
21327         [BZ #13506]
21328         * time/tzfile.c (__tzfile_read): Check values from file header.
21330 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
21332         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21333         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21334         * powerpc/powerpc32/dl-start.S: Likewise.
21335         * powerpc/powerpc32/elf/start.S: Likewise.
21336         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21337         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21338         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21339         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21340         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21341         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21342         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21343         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21344         * powerpc/powerpc32/fpu/s_round.S: Likewise.
21345         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21346         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21347         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21348         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21349         * powerpc/powerpc32/memset.S: Likewise.
21350         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21351         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21352         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21353         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21354         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21355         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21356         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21357         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21358         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21359         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21360         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21361         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21362         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21364 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21366         * math/libm-test.inc: Added more nearbyint tests.
21367         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21368         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21369         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21370         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21372 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
21374         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21375         FD_CLOEXEC.
21377 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21379         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21380         Add wcscpy-ssse3 wcscpy-c.
21381         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21382         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21383         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21384         * sysdeps/x86_64/wcschr.S: New file.
21385         * sysdeps/x86_64/wcsrchr.S: New file.
21386         * string/test-strcmp.c: Remove checking of wcscmp function for
21387         wrong alignments.
21388         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21389         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21390         wcsrchr-sse2 wcsrchr-c.
21391         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21392         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21393         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21394         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21395         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21396         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21397         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21398         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21399         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21400         * wcsmbc/wcschr.c (WCSCHR): New macro.
21402 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
21404         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21405         * wcsmbs/test-wcsrchr.c: New file.
21406         * string/test-strrchr.c: Add wcsrchr support.
21407         (WIDE): New macro.
21408         * wcsmbs/test-wcscpy.c: New file.
21409         * string/test-strcpy.c: Add wcscpy support.
21410         (WIDE): New macro.
21412 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
21414         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21415         the inner loop.
21417 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
21419         [BZ #13472]
21420         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21422 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
21424         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
21425         Minor optimizations.
21427         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21428         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21429         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21431 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
21433         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21434         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21435         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21436         for gcc to avoid warnings.
21437         * inet/Makefile (tests): Add tst-checks.
21438         * inet/tst-checks.c: New file.
21440         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21441         warning.
21443         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21444         __wmemcmp_sse2.
21446         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21447         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21449         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21451 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
21453         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21454         problem.
21456         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21458 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
21460         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21461         conditional on GCC version.
21462         (__arch_compare_and_exchange_val_8_acq)
21463         (__arch_compare_and_exchange_val_16_acq)
21464         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21465         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21466         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21468 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
21470         * sysdeps/sh/backtrace.c: New file.
21472 2011-12-02  Andreas Schwab  <schwab@redhat.com>
21474         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
21475         parenthesis.
21477 2011-12-01  Andreas Schwab  <schwab@redhat.com>
21479         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21480         falling back to utime.
21482 2011-11-30  Andreas Schwab  <schwab@redhat.com>
21484         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21485         expectations for float.
21487 2011-11-29  Andreas Schwab  <schwab@redhat.com>
21489         * locale/weight.h (findidx): Add parameter len.
21490         * locale/weightwc.h (findidx): Likewise.
21491         * posix/fnmatch_loop.c (FCT): Adjust caller.
21492         * posix/regcomp.c (build_equiv_class): Likewise.
21493         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21494         * posix/regexec.c (check_node_accept_bytes): Likewise.
21495         * string/strcoll_l.c (STRCOLL): Likewise.
21496         * string/strxfrm_l.c (STRXFRM): Likewise.
21498 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
21500         * Makefile.in: Remove CVSOPT handling.
21501         * configure.in: Remove use of AC_REVISION.
21502         * iconvdata/Makefile (distribute): No need to filter out CVS.
21503         * scripts/list-sources.sh: Remove CVS, subversion and monotone
21504         handling.
21506 2011-11-16  Andreas Schwab  <schwab@redhat.com>
21508         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21509         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21510         [USE_AS_STRNCASECMP_L]: Likewise.
21511         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21512         NO_TLS_DIRECT_SEG_REFS.
21513         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21514         Fix argument offsets for non-PIC.
21515         [USE_AS_STRNCASECMP_L]: Likewise.
21516         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21517         NO_TLS_DIRECT_SEG_REFS.
21519 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21521         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
21522         O_CLOEXEC.
21523         * locale/loadlocale.c (_nl_load_locale): Likewise.
21525 2011-11-15  Andreas Schwab  <schwab@redhat.com>
21527         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21528         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21529         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21530         (SYSCALL_GETTIME): Set errno on error.
21532         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21533         count references to noai6ai_cached.
21535 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
21537         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21539         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21540         FD_CLOEXEC for /proc/self/maps.
21542         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21543         FD_CLOEXEC for /proc/meminfo.
21545         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21546         gai.conf.
21548         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
21549         FD_CLOEXEC for given file.
21551         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21553         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21554         FD_CLOEXEC for /etc/hosts.
21555         (_gethtent): Likewise.
21557         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21559         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21560         cancellation and set FD_CLOEXEC for /etc/netgroup.
21562         * nss/nss_files/files-key.c (search): Don't allow cancellation when
21563         reading /etc/publickey.
21565         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21566         allow cancellation when reading /etc/group.
21568         * nss/nss_files/files-alias.c (internal_setent): Don't allow
21569         cancellation.
21570         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
21572         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21573         when using data file.
21575         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21577         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21578         (write_nis_obj): Use "c" and "e" in fopen.
21580         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21582         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21584         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21586         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21588         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21589         locale.alias.
21591         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21593         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21595         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21597         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21598         file parsing and set FD_CLOEXEC.
21600 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21602         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21604 2011-11-14  Andreas Schwab  <schwab@redhat.com>
21606         * malloc/arena.c (arena_get2): Don't call reused_arena when
21607         _int_new_arena failed.
21609 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
21611         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21612         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21613         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21614         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21615         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21616         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21617         to compile strcasecmp and strncasecmp.
21618         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21619         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21621         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21623 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
21625         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21626         locale-defines.sym to gen-as-const-headers.
21627         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21628         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21629         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21630         to compile strcasecmp and strncasecmp.
21631         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21632         strcasecmp_l and strncasecmp_l.
21633         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21634         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21635         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21636         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21637         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21638         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21639         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21640         * sysdeps/i386/i686/multiarch/strncase.S: New file.
21641         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21642         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21643         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21645 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
21647         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21648         result of SYSDEP_GETTIME_CPU to retval.
21649         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21650         parameter list to macro.  Remove trailing semicolon.  Adjust users.
21652         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21653         variable.
21655         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21656         mantissa words.
21657         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21659         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21660         from unused variable.
21662         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21663         DWARF definitions.
21664         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21665         for assembling.
21667         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21668         over namespaces.
21670         * sunrpc/rpc_prot.c (rejected): Fix case value.
21672         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21673         unsigned long long int to avoid warnings in shift.
21675         * posix/regex_internal.c (re_string_reconstruct): Actually use result
21676         of use of trans.
21677         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21678         variable tmp.
21680         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21681         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21682         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21684         * nis/nis_table.c (nis_list): Use variable of correct type for
21685         result of __follow_path call.
21687 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21689         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21690         of math functions ceil, trunc, floor, round, and sqrt, when
21691         avaliable on the platform.
21692         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21693         name clash.
21694         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21695         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21696         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21698 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
21700         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21701         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21703 2011-11-11  Roland McGrath  <roland@hack.frob.com>
21705         * include/unistd.h: Fix __readlink return type.
21706         Reported by Chris Metcalf <cmetcalf@tilera.com>.
21708 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
21710         * stdlib/ucontext.h: Undo last change for makecontext.
21712 2011-11-11  Andreas Schwab  <schwab@redhat.com>
21714         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21716         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21717         * setjmp/setjmp.h: Mark functions as non-leaf.
21718         * setjmp/bits/setjmp2.h: Likewise.
21719         * stdlib/ucontext.h: Likewise.
21721 2011-11-10  Andreas Schwab  <schwab@redhat.com>
21723         * malloc/arena.c (_int_new_arena): Don't increment narenas.
21724         (reused_arena): Don't check arena limit.
21725         (arena_get2): Atomically check arena limit.
21727 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
21729         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21730         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21733         instructions.
21735 2011-11-07  Andreas Schwab  <schwab@redhat.com>
21737         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21738         handler when locking.
21740         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21741         Fix size of allocated buffer.
21743 2011-11-04  Andreas Schwab  <schwab@redhat.com>
21745         [BZ #10103]
21746         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21747         declarations for long double functions.
21748         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21750         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21752 2011-11-03  Andreas Schwab  <schwab@redhat.com>
21754         * nscd/nscd.c (main): Don't start AVC thread until credentials are
21755         installed.
21757         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21758         is disabled.
21760 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21762         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21764 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21766         * include/alloca.h (stackinfo_alloca_round): Define.
21767         (extend_alloca): Use it.
21768         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21769         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21770         here.
21772         * scripts/check-local-headers.sh: Ignore libaudit.h.
21774         * nscd/Makefile (extra-objs): Make recursively expanded.
21776 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
21778         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21779         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21781         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21782         * posix/tst-rfc3484-2.c: Likewise.
21783         * posix/tst-rfc3484-3.c: Likewise.
21785         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21786         process_vm_writev.
21787         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21788         process_vm_writev.
21789         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21790         process_vm_writev from libc using GLIBC_2.15 version.
21792         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21794 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
21796         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21797         stack usage.
21799 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
21801         [BZ #13367]
21802         * nss/getent.c (initgroups_keys): Show error message in case no group
21803         names are given.
21805         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21806         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21807         __bump_nl_timestamp.
21808         * nscd/connections (nscd_init): When host database is served open
21809         netlink socket and request notification about configuration changes.
21810         (main_loop_poll): Track netlink file descriptor and bump timestamp
21811         in case data becomes available.
21812         (main_loop_epoll): Likewise.
21813         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21814         (database_pers_head): Add extra_data fileds.
21815         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21816         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21817         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21818         Adjust caller.
21819         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21820         in6ai data, call __free_in6ai.
21821         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21822         Add -DHAVE_NETLINK.
21823         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
21824         interface information.  Reuse previous data if netlink timestamp
21825         is not changed.
21826         (__bump_nl_timestamp): New function.
21827         (__free_in6ai): New function.
21829 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
21831         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21832         close_not_cancel_no_status here.
21833         (__check_pf): Reorganize code a bit to not call close twice if OOM.
21835 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21837         [BZ #13276]
21838         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21839         return value.
21841         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
21842         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21843         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21845 2011-07-03  Andreas Jaeger  <aj@suse.de>
21847         [BZ #10709]
21848         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21849         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21850         * math/libm-test.inc (sin_test): Add test case.
21852 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
21854         [BZ #13337]
21855         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21856         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21858         * elf/chroot_canon.c (chroot_canon): Cleanups.
21860         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21862         [BZ #13335]
21863         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21864         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21866         * string/test-strchr.c: Make usable for strchrnul testing.
21867         * string/test-strchrnul.c: New file.
21868         * string/Makefile (strop-tests): Add strchrnul.
21870         * po/it.po: Update from translation team.
21871         * po/es.po: Likewise.
21873 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
21875         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21876         the three constants needed as parameters.  Drop the others.
21877         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21878         __m128i_strloadu_tolower.
21879         Create and initialize variable zero and use it in all the places
21880         where _mm_setzero_si128 was used.
21882         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21883         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21884         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21885         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21886         anymore.
21887         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21888         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21889         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21890         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21891         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21892         __mpranred, __mptan.
21893         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21894         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21895         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21896         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21897         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21898         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21899         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21900         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21901         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21903 2011-10-28  Andreas Schwab  <schwab@redhat.com>
21905         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21906         redefine if SHARED.
21907         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21909         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21910         wide char related routines to wcsmbs subdir.
21912 2011-10-27  Andreas Schwab  <schwab@redhat.com>
21914         [BZ #13344]
21915         * misc/sys/cdefs.h (__THROWNL): Define.
21916         * posix/unistd.h: Use __THREADNL instead of __THREAD
21917         for memory synchronization functions.
21919 2011-10-26  Roland McGrath  <roland@hack.frob.com>
21921         [BZ #13349]
21922         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21923         doesn't exist.
21924         * manual/stdio.texi (Obstack Streams): Node removed.
21926 2011-10-26  Andreas Schwab  <schwab@redhat.com>
21928         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21929         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21930         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21932         * math/math_private.h (math_force_eval): Allow non-addressable
21933         arguments.
21934         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21936 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21938         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21939         file is not needed.
21941         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21942         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21943         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21944         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21945         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21946         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21947         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21948         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21949         Add AVX variants.
21950         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21951         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21952         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21953         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21954         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21955         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21956         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21957         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21958         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21959         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21960         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21961         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21962         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21963         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21964         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21965         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21966         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21967         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21968         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21970         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21971         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
21973         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21974         place.  Use VEX encoding when compiling for AVX.
21976 2011-10-25  Andreas Schwab  <schwab@redhat.com>
21978         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21979         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21981         * string/test-strchr.c (do_test): Don't generate NUL bytes.
21983 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
21985         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
21986         useless if() expression.
21987         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21988         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21989         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21990         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21991         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21992         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21993         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21994         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21995         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21996         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21997         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21998         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21999         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22000         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22001         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22002         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22003         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22004         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22005         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22007         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22009 2011-10-25  Andreas Schwab  <schwab@redhat.com>
22011         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22012         condition.
22013         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22015 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
22017         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22018         .text section.  Avoid duplicate constants.
22019         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22020         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22021         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22022         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22023         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22024         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22025         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22026         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22027         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22028         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22029         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22030         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22031         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22032         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22033         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22034         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22035         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22036         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22037         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22038         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22039         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22040         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22041         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22042         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22043         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22044         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22045         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22046         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22047         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22048         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22049         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22050         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22051         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22052         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22053         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22054         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22055         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22056         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22057         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22058         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22059         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22060         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22061         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22062         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22063         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22065 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
22067         * sysdeps/x86_64/dla.h: Move to ...
22068         * sysdeps/x86_64/fpu/dla.h: ...here.
22069         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22070         situations.  Use __builtin_fma only for gcc 4.6 and up.
22072         * config.make.in: Add have-mfma4 entry.
22073         * configure.in: Substitute libc_cv_cc_fma4.
22074         * math/Makefile (dbl-only-routines): Add sincostab.
22075         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22076         Use __sincostab not sincos.
22077         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22078         name is a macro.
22079         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22080         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22081         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22082         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
22083         using __copysign.
22084         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
22085         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
22086         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22087         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22088         and __inv.
22089         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22090         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22091         __copysign.
22092         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
22093         define aliases when function name is a macro.
22094         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22095         sysdeps/ieee754/dbl-64/sincos.tbl.
22096         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22097         fma4-enabled routines.
22098         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22099         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22100         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22101         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22102         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22103         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22104         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22105         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22106         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22107         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22108         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22109         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22110         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22111         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22112         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22113         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22114         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22115         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22116         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22117         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22118         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22119         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22120         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22121         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22122         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22123         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22124         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22125         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22126         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22127         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22129         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22130         rename.
22131         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22132         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22134         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22135         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22136         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22137         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22138         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22140 2011-10-24  Andreas Schwab  <schwab@redhat.com>
22142         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22144 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22146         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22148         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22149         prediction.
22150         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22152         * string/strnlen.c: Don't define STRNLEN, reverse logic.
22153         Remove unused variable magic_bits.
22154         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22156         * string/strnlen.c: Define and use STRNLEN macro.
22157         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22158         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22159         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22160         * wcsmbs/wcslen.c: Define and use WCSLEN.
22161         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22162         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22163         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22164         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22165         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22166         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22167         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22169 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22172         strnlen-sse2-no-bsf.
22173         Rename strlen-no-bsf to strlen-sse2-no-bsf.
22174         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22175         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22176         Add strnlen support.
22177         (USE_AS_STRNLEN): New macro.
22178         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22179         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22180         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22181         * sysdeps/x86_64/wcslen.S: New file.
22183 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
22185         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22186         XMM-moves are used for copying on small sizes.
22188 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22190         * wcsmbs/Makefile (strop-tests): Add wcschr.
22191         * wcsmbs/test-wcschr.c: New file.
22192         * string/test-strchr.c: Update.
22193         Add wcschr support.
22194         (WIDE): New macro.
22196 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22198         * wcsmbs/Makefile (strop-tests): Add wcslen.
22199         * wcsmbs/test-wcslen.c: New file.
22200         * string/test-strlen.c: Update.
22201         Add wcslen support.
22202         (WIDE): New macro.
22204 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22206         * po/it.po: Update from translation team.
22208 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22210         * sysdeps/x86_64/wcscmp.S: Update.
22211         Fix wrong comparison semantics.
22212         wcscmp shall use signed comparison not unsigned.
22213         Don't use substraction to avoid overflow bug.
22214         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22215         * wcsmbc/wcscmp.c: Likewise.
22216         * string/test-strcmp.c: Likewise.
22217         Add new tests to check cases with negative values.
22219 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
22221         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22222         * sysdeps/x86_64/dla.h: ...here.  New file.
22223         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22224         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22225         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22226         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22227         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22228         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22229         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22230         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22231         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22233 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
22235         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22236         __ynl_finite aliases.
22238 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22242         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22243         define DLA_FMA.
22244         [DLA_FMA] (EMULV): Use DLA_FMA.
22245         [DLA_FMA] (MUL12): Use EMULV.
22246         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22247         that are not needed.
22248         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22249         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22250         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22251         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22252         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22253         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22254         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22256 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
22258         * math/s_nan.c: Undef __nan.
22259         * math/s_nanf.c: Undef __nanf.
22260         * math/s_nanl.c: Undef __nanl.
22261         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22262         "math_private.h".
22264 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
22266         * math/s_catan.c: Add branch predictions.
22267         * math/s_catanf.c: Likewise.
22268         * math/s_catanh.c: Likewise.
22269         * math/s_catanhf.c: Likewise.
22270         * math/s_catanhl.c: Likewise.
22271         * math/s_catanl.c: Likewise.
22272         * math/s_cexp.c: Likewise.
22273         * math/s_cexpf.c: Likewise.
22274         * math/s_cexpl.c: Likewise.
22275         * math/s_clog.c: Likewise.
22276         * math/s_clog10.c: Likewise.
22277         * math/s_clog10f.c: Likewise.
22278         * math/s_clog10l.c: Likewise.
22279         * math/s_clogf.c: Likewise.
22280         * math/s_clogl.c: Likewise.
22281         * math/s_csqrt.c: Likewise.
22282         * math/s_csqrtf.c: Likewise.
22283         * math/s_csqrtl.c: Likewise.
22284         * math/s_ctanf.c: Likewise.
22285         * math/s_ctanh.c: Likewise.
22286         * math/s_ctanhf.c: Likewise.
22287         * math/s_ctanhl.c: Likewise.
22288         * math/s_ctanl.c: Likewise.
22290         * math/math_private.h: Define __nan, __nanf, __nanl.
22291         * math/s_cacosh.c: Include <math_private.h>.
22292         * math/s_cacoshl.c: Likewise.
22293         * math/s_casinh.c: Likewise.
22294         * math/s_casinhf.c: Likewise.
22295         * math/s_casinhl.c: Likewise.
22296         * math/s_ccos.c: Rely entire on ccosh.
22297         * math/s_ccosf.c: Rely entire on ccoshf.
22298         * math/s_ccosl.c: Rely entirely on ccoshl.
22299         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
22300         Remove tests for FE_INVALID.
22301         * math/s_ccoshf.c: Likewise.
22302         * math/s_ccoshl.c: Likewise.
22303         * math/s_csin.c: Likewise.
22304         * math/s_csinf.c: Likewise.
22305         * math/s_csinh.c Likewise.
22306         * math/s_csinhf.c: Likewise.
22307         * math/s_csinhl.c: Likewise.
22308         * math/s_csinl.c: Likewise.
22309         * math/s_ctan.c: Likewise.
22310         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22311         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22312         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22314 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
22316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22317         compilation problems.
22319         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22320         __builtin_expect.
22322 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
22324         * sysdeps/i386/configure.in: Test for -mfma4 option.
22325         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22326         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22327         COMMON_CPUID_INDEX_80000001.
22328         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22329         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22330         use it if FMA3 is not supported.
22331         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22333         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22334         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22336 2011-10-20  Andreas Schwab  <schwab@redhat.com>
22338         [BZ #12892]
22339         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22340         it would create a cycle with a link time dependency.
22342 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
22344         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22345         instruction.
22346         * string/Makefile (strop-tests): Add rawmemchr.
22347         * string/test-rawmemchr.c: New file.
22349         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22350         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
22351         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
22352         when compiling str{,n}casecmp and when AVX is available.  Hook up
22353         new optimized code in initializers.
22355 2011-10-19  Andreas Schwab  <schwab@redhat.com>
22357         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22358         __feraiseexcept instead of feraiseexcept.
22360 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
22362         * math/math_private.h: Define defaults for libc_fetestexcept and
22363         libc_feupdateenv.
22364         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22365         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22366         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22367         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22368         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22369         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22370         libc_fetestexcept and libc_feupdateenv.
22372         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22373         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22374         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22375         * sysdeps/x86_64/fpu/math_private.h: Define special version of
22376         libc_feholdexcept_setround.
22378         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22379         Add s_nearbyint-c and s_nearbyintf-c.
22380         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22381         nearbyintf inlines.
22382         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22383         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22384         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22385         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22387         * math/math_private.h: Define defaults for libc_fegetround,
22388         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22389         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22390         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22391         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22392         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22393         standard functions.
22394         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22395         Remove comments and hacks for old compiler versions.
22396         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22397         libc_fegetround, libc_fesetround, libc_feholdexcept, and
22398         libc_feholdexceptl.
22400 2011-10-18  Andreas Schwab  <schwab@redhat.com>
22402         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
22403         (__feraiseexcept_renamed): Add __NTH.
22404         (feraiseexcept): Add __NTH.  Rename local variables to fix
22405         namespace violations.
22407 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
22409         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22411         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22413         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22414         recently added interfaces.
22415         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22417         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22418         about macro parameter expansion.
22420         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22421         __NO_MATH_INLINES is defined.  Cleanups.
22423         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22424         and __floorf is target has SSE4.1.
22425         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22426         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22427         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22428         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22430         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22431         name.
22432         (floorf): Likewise.
22434         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22436 2011-10-17  Andreas Schwab  <schwab@redhat.com>
22438         * misc/sys/cdefs.h: Fix last change.
22440         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22441         database lookup.
22443 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
22445         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22447         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22448         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22449         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22450         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22451         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22452         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22453         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22454         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22455         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22456         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22457         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22458         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22459         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22460         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22461         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22462         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22463         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22464         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22465         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22466         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22467         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22468         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22470         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22471         ceil, ceilf, floor, floorf.
22473         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22474         Perform IRELATIVE relocations last.
22476         * elf/do-rel.h: Add another parameter nrelative, replacing the
22477         local variable with the same name.  Change name of the function
22478         to end in Rel or Rela (uppercase).
22479         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22480         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
22481         elf_dynamic_do_##reloc function.
22483 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22485         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22486         is sufficient, at least on modern CPUs.
22488         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22490         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22491         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22493         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22494         __expl_finite.
22495         * math/bits/math-finite.h: Add entries for exp.
22496         * math/e_expl.c: Add __*_finite alias.
22497         * sysdeps/i386/fpu/e_exp.S: Likewise.
22498         * sysdeps/i386/fpu/e_expf.S: Likewise.
22499         * sysdeps/i386/fpu/e_expl.c: Likewise.
22500         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22501         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22502         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22503         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22504         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22505         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22506         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22508         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22509         is sufficient, at least on modern CPUs.
22511         * ctype/ctype-info.c (__ctype_init): Define.
22512         * include/ctype.h (__ctype_init): Declare.
22513         (__ctype_b_loc): The variable is always initialized.
22514         (__ctype_toupper_loc): Likewise.
22515         (__ctype_tolower_loc): Likewise.
22516         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22517         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22519 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
22521         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22523         * configure.in: Also look in $cxxmachine/include for C++ system
22524         headers.
22526 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22528         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22529         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22530         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22531         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
22532         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22533         (USE_AS_WMEMCMP): New macro.
22534         Fixing indents.
22535         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22536         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22537         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22538         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22539         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22540         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22541         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22542         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22543         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22544         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22545         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22546         (USE_AS_WMEMCMP): New macro.
22547         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22548         * sysdeps/string/test-memcmp.c: Update.
22549         Fix simple_wmemcmp.
22550         Add new tests.
22551         * wcsmbs/wmemcmp.c: Update.
22552         (WMEMCMP): New macro.
22553         Fix overflow bug.
22555 2011-10-12  Andreas Jaeger  <aj@suse.de>
22557         [BZ #13268]
22558         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22560 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
22562         * libio/iofwide.c (do_length): Avoid warning.
22564         * ctype/ctype.h (__isctype_f): Add missing __THROW.
22566 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
22568         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22570         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22571         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22572         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22573         * sysdeps/i386/i686/fpu/e_log.S: New file.
22574         * sysdeps/i386/i686/fpu/e_logf.S: New file.
22575         * sysdeps/i386/i686/fpu/e_logl.S: New file.
22577         * ctype/ctype.h: Add support for inlined isXXX functions when
22578         compiling C++ code.
22580 2011-10-14  Andreas Schwab  <schwab@redhat.com>
22582         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22584         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22586 2011-10-13  Roland McGrath  <roland@hack.frob.com>
22588         [BZ #13291]
22589         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22591 2011-10-13  Andreas Schwab  <schwab@redhat.com>
22593         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22594         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22595         feraiseexcept.
22597         * sysdeps/x86_64/memrchr.S: Check for zero size.
22599         * string/stratcliff.c: Add memrchr tests.
22601 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22603         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22604         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22605         rawmemchr-sse2 rawmemchr-sse2-bsf.
22606         * sysdeps/i386/i686/multiarch/memchr.S: New file.
22607         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22608         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22609         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22610         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22611         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22612         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22613         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22614         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22615         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22616         * string/memrchr.c (MEMRCHR): New macro.
22618 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
22620         Add integration with gcc's -ffinite-math-only and optimize wrapper
22621         functions in libm.
22622         * Versions.def: Define GLIBC_2.15 version for libm.
22623         * math/Makefile (headers): Add bits/math-finite.h.
22624         * math/bits/math-finite.h: New file.
22625         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22626         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22627         * math/e_acoshl.c: Add __*_finite alias.
22628         * math/e_acosl.c: Likewise.
22629         * math/e_asinl.c: Likewise.
22630         * math/e_atan2l.c: Likewise.
22631         * math/e_atanhl.c: Likewise.
22632         * math/e_coshl.c: Likewise.
22633         * math/e_exp10.c: Likewise.
22634         * math/e_exp10f.c: Likewise.
22635         * math/e_exp10l.c: Likewise.
22636         * math/e_exp2l.c: Likewise.
22637         * math/e_fmodl.c: Likewise.
22638         * math/e_gammal_r.c: Likewise.
22639         * math/e_hypotl.c: Likewise.
22640         * math/e_j0l.c: Likewise.
22641         * math/e_j1l.c: Likewise.
22642         * math/e_jnl.c: Likewise.
22643         * math/e_lgammal_r.c: Likewise.
22644         * math/e_log10l.c: Likewise.
22645         * math/e_log2l.c: Likewise.
22646         * math/e_logl.c: Likewise.
22647         * math/e_powl.c: Likewise.
22648         * math/e_sinhl.c: Likewise.
22649         * math/e_sqrtl.c: Likewise.
22650         * math/e_scalb.c: Completely rewritten and optimized.
22651         * math/e_scalbf.c: Likewise.
22652         * math/e_scalbl.c: Likewise.
22653         * math/w_acos.c: Likewise.
22654         * math/w_acosf.c: Likewise.
22655         * math/w_acosl.c: Likewise.
22656         * math/w_acosh.c: Likewise.
22657         * math/w_acoshf.c: Likewise.
22658         * math/w_acoshl.c: Likewise.
22659         * math/w_asin.c: Likewise.
22660         * math/w_asinf.c: Likewise.
22661         * math/w_asinl.c: Likewise.
22662         * math/w_atan2.c: Likewise.
22663         * math/w_atan2f.c: Likewise.
22664         * math/w_atan2l.c: Likewise.
22665         * math/w_atanh.c: Likewise.
22666         * math/w_atanhf.c: Likewise.
22667         * math/w_atanhl.c: Likewise.
22668         * math/w_exp10.c: Likewise.
22669         * math/w_exp10f.c: Likewise.
22670         * math/w_exp10l.c: Likewise.
22671         * math/w_fmod.c: Likewise.
22672         * math/w_fmodf.c: Likewise.
22673         * math/w_fmodl.c: Likewise.
22674         * math/w_j0.c: Likewise.
22675         * math/w_j0f.c: Likewise.
22676         * math/w_j0l.c: Likewise.
22677         * math/w_j1.c: Likewise.
22678         * math/w_j1f.c: Likewise.
22679         * math/w_j1l.c: Likewise.
22680         * math/w_jn.c: Likewise.
22681         * math/w_jnf.c: Likewise.
22682         * math/w_log.c: Likewise.
22683         * math/w_logf.c: Likewise.
22684         * math/w_logl.c: Likewise.
22685         * math/w_log10.c: Likewise.
22686         * math/w_log10f.c: Likewise.
22687         * math/w_log10l.c: Likewise.
22688         * math/w_log2.c: Likewise.
22689         * math/w_log2f.c: Likewise.
22690         * math/w_log2l.c: Likewise.
22691         * math/w_pow.c: Likewise.
22692         * math/w_powf.c: Likewise.
22693         * math/w_powl.c: Likewise.
22694         * math/w_remainder.c: Likewise.
22695         * math/w_remainderf.c: Likewise.
22696         * math/w_remainderl.c: Likewise.
22697         * math/w_scalb.c: Likewise.
22698         * math/w_scalbf.c: Likewise.
22699         * math/w_scalbl.c: Likewise.
22700         * math/w_sqrt.c: Likewise.
22701         * math/w_sqrtf.c: Likewise.
22702         * math/w_sqrtl.c: Likewise.
22703         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22704         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
22705         used.
22706         * math/math_private.h: Declare __kernel_standard_f.
22707         * math/w_cosh.c: Remove cruft and optimize a bit.
22708         * math/w_coshf.c: Likewise.
22709         * math/w_coshl.c: Likewise.
22710         * math/w_exp2.c: Likewise.
22711         * math/w_exp2f.c: Likewise.
22712         * math/w_exp2l.c: Likewise.
22713         * math/w_hypot.c: Likewise.
22714         * math/w_hypotf.c: Likewise.
22715         * math/w_hypotl.c: Likewise.
22716         * math/w_lgamma.c: Likewise.
22717         * math/w_lgamma_r.c: Likewise.
22718         * math/w_lgammaf.c: Likewise.
22719         * math/w_lgammaf_r.c: Likewise.
22720         * math/w_lgammal.c: Likewise.
22721         * math/w_lgammal_r.c: Likewise.
22722         * math/w_sinh.c: Likewise.
22723         * math/w_sinhf.c: Likewise.
22724         * math/w_sinhl.c: Likewise.
22725         * math/w_tgamma.c: Likewise.
22726         * math/w_tgammaf.c: Likewise.
22727         * math/w_tgammal.c: Likewise.
22728         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22729         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22730         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22731         Minor optimizations.  Pretty printing.  Remove cruft.
22732         * sysdeps/i386/fpu/e_acosf.S: Likewise.
22733         * sysdeps/i386/fpu/e_acosh.S: Likewise.
22734         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22735         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22736         * sysdeps/i386/fpu/e_acosl.c: Likewise.
22737         * sysdeps/i386/fpu/e_asin.S: Likewise.
22738         * sysdeps/i386/fpu/e_asinf.S: Likewise.
22739         * sysdeps/i386/fpu/e_atan2.S: Likewise.
22740         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22741         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22742         * sysdeps/i386/fpu/e_atanh.S: Likewise.
22743         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22744         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22745         * sysdeps/i386/fpu/e_exp10.S: Likewise.
22746         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22747         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22748         * sysdeps/i386/fpu/e_exp2.S: Likewise.
22749         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22750         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22751         * sysdeps/i386/fpu/e_fmod.S: Likewise.
22752         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22753         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22754         * sysdeps/i386/fpu/e_hypot.S: Likewise.
22755         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22756         * sysdeps/i386/fpu/e_log.S: Likewise.
22757         * sysdeps/i386/fpu/e_log10.S: Likewise.
22758         * sysdeps/i386/fpu/e_log10f.S: Likewise.
22759         * sysdeps/i386/fpu/e_log10l.S: Likewise.
22760         * sysdeps/i386/fpu/e_log2.S: Likewise.
22761         * sysdeps/i386/fpu/e_log2f.S: Likewise.
22762         * sysdeps/i386/fpu/e_log2l.S: Likewise.
22763         * sysdeps/i386/fpu/e_logf.S: Likewise.
22764         * sysdeps/i386/fpu/e_logl.S: Likewise.
22765         * sysdeps/i386/fpu/e_pow.S: Likewise.
22766         * sysdeps/i386/fpu/e_powf.S: Likewise.
22767         * sysdeps/i386/fpu/e_powl.S: Likewise.
22768         * sysdeps/i386/fpu/e_remainder.S: Likewise.
22769         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22770         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22771         * sysdeps/i386/fpu/e_scalb.S: Likewise.
22772         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22773         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22774         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22775         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22776         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22777         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22778         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22779         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22780         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22781         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22782         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22783         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22784         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22785         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22786         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22787         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22788         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22789         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22790         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22791         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22792         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22793         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22794         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22795         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22796         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22797         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22798         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22799         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22800         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22801         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22802         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22803         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22804         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22805         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22806         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22807         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22808         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22809         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22810         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22811         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22812         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22813         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22814         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22815         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22816         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22817         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22818         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22819         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22820         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22821         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22822         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22823         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22824         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22825         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22826         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22827         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22828         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22829         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22830         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22831         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22832         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22833         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22834         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22835         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22836         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22837         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22838         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22839         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22840         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22841         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22842         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22843         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22844         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22845         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22846         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22847         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22848         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22849         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22850         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22851         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22852         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22853         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22854         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22855         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22856         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22857         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22858         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22859         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22860         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22861         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22862         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22863         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22864         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22865         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22866         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22867         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22868         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22869         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22870         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22871         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22872         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22873         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22874         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22875         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22876         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22877         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22878         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22879         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22880         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22881         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22882         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22883         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22884         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22885         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22886         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22887         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
22888         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22889         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22890         (__isnanf): Likewise.
22891         (__isinf_ns): Likewise.
22892         (__isinf_nsf): Likewise.
22893         (__finite): Likewise.
22894         (__finitef): Likewise.
22895         (__ieee754_sqrt): Define as macro.
22896         (__ieee754_sqrtf): Define as macro.
22897         (__ieee754_sqrtl): Define as macro.
22898         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22899         inlined copy.
22900         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22901         __FINITE_MATH_ONLY__ consistent.
22902         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22904 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
22906         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22907         of rawmemchr.
22909         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22911 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
22913         * po/ja.po: Update from translation team.
22915 2011-10-08  Roland McGrath  <roland@hack.frob.com>
22917         * locale/programs/locarchive.c (prepare_address_space): New function.
22918         (create_archive, enlarge_archive, open_archive): Use it.
22920         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22921         inside [SHARED], where it is used.
22923         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22925         * nss/getent.c (netgroup_keys): Remove unused variable.
22926         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22928 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
22930         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22931         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22932         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22933         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22934         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22935         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22936         * math/Makefile (libm-calls): Add s_isinf_ns.
22937         * math/divtc3.c: Use __isinf_nsl instead of isinf.
22938         * math/multc3.c: Likewise.
22939         * math/s_casin.c: Likewise.
22940         * math/s_casinf.c: Likewise.
22941         * math/s_casinl.c: Likewise.
22942         * math/s_ccos.c: Likewise.
22943         * math/s_ccosf.c: Likewise.
22944         * math/s_ccosl.c: Likewise.
22945         * math/s_ctan.c: Likewise.
22946         * math/s_ctanf.c: Likewise.
22947         * math/s_ctanh.c: Likewise.
22948         * math/s_ctanhf.c: Likewise.
22949         * math/s_ctanhl.c: Likewise.
22950         * math/s_ctanl.c: Likewise.
22951         * math/w_fmod.c: Likewise.
22952         * math/w_fmodf.c: Likewise.
22953         * math/w_fmodl.c: Likewise.
22954         * math/w_remainder.c: Likewise.
22955         * math/w_remainderf.c: Likewise.
22956         * math/w_remainderl.c: Likewise.
22957         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22958         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22959         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22960         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22961         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22962         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22963         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22964         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22966         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22967         of the number.
22968         * stdio-common/printf_fphex.c: Likewise.
22969         * stdio-common/printf_size.c: Likewise.
22971         * math/e_exp10.c: Include math_private.h using <...> not "...".
22972         * math/e_exp10f.c: Likewise.
22973         * math/e_exp10l.c: Likewise.
22974         * math/e_exp2l.c: Likewise.
22975         * math/e_j0l.c: Likewise.
22976         * math/e_j1l.c: Likewise.
22977         * math/e_jnl.c: Likewise.
22978         * math/e_lgammal_r.c: Likewise.
22979         * math/e_rem_pio2l.c: Likewise.
22980         * math/e_scalb.c: Likewise.
22981         * math/e_scalbf.c: Likewise.
22982         * math/e_scalbl.c: Likewise.
22983         * math/k_cosl.c: Likewise.
22984         * math/k_sinl.c: Likewise.
22985         * math/k_tanl.c: Likewise.
22986         * math/s_cacoshf.c: Likewise.
22987         * math/s_catan.c: Likewise.
22988         * math/s_catanf.c: Likewise.
22989         * math/s_catanh.c: Likewise.
22990         * math/s_catanhf.c: Likewise.
22991         * math/s_catanhl.c: Likewise.
22992         * math/s_catanl.c: Likewise.
22993         * math/s_ccosh.c: Likewise.
22994         * math/s_ccoshf.c: Likewise.
22995         * math/s_ccoshl.c: Likewise.
22996         * math/s_cexp.c: Likewise.
22997         * math/s_cexpf.c: Likewise.
22998         * math/s_cexpl.c: Likewise.
22999         * math/s_clog.c: Likewise.
23000         * math/s_clog10.c: Likewise.
23001         * math/s_clog10f.c: Likewise.
23002         * math/s_clog10l.c: Likewise.
23003         * math/s_clogf.c: Likewise.
23004         * math/s_clogl.c: Likewise.
23005         * math/s_csin.c: Likewise.
23006         * math/s_csinf.c: Likewise.
23007         * math/s_csinh.c: Likewise.
23008         * math/s_csinhf.c: Likewise.
23009         * math/s_csinhl.c: Likewise.
23010         * math/s_csinl.c: Likewise.
23011         * math/s_csqrt.c: Likewise.
23012         * math/s_csqrtf.c: Likewise.
23013         * math/s_csqrtl.c: Likewise.
23014         * math/s_ctan.c: Likewise.
23015         * math/s_ctanf.c: Likewise.
23016         * math/s_ctanh.c: Likewise.
23017         * math/s_ctanhf.c: Likewise.
23018         * math/s_ctanhl.c: Likewise.
23019         * math/s_ctanl.c: Likewise.
23020         * math/s_ldexp.c: Likewise.
23021         * math/s_ldexpf.c: Likewise.
23022         * math/s_ldexpl.c: Likewise.
23023         * math/s_significand.c: Likewise.
23024         * math/s_significandf.c: Likewise.
23025         * math/s_significandl.c: Likewise.
23026         * math/w_acos.c: Likewise.
23027         * math/w_acosf.c: Likewise.
23028         * math/w_acosh.c: Likewise.
23029         * math/w_acoshf.c: Likewise.
23030         * math/w_acoshl.c: Likewise.
23031         * math/w_acosl.c: Likewise.
23032         * math/w_asin.c: Likewise.
23033         * math/w_asinf.c: Likewise.
23034         * math/w_asinl.c: Likewise.
23035         * math/w_atan2.c: Likewise.
23036         * math/w_atan2f.c: Likewise.
23037         * math/w_atan2l.c: Likewise.
23038         * math/w_atanh.c: Likewise.
23039         * math/w_atanhf.c: Likewise.
23040         * math/w_atanhl.c: Likewise.
23041         * math/w_cosh.c: Likewise.
23042         * math/w_coshf.c: Likewise.
23043         * math/w_coshl.c: Likewise.
23044         * math/w_dremf.c: Likewise.
23045         * math/w_exp10.c: Likewise.
23046         * math/w_exp10f.c: Likewise.
23047         * math/w_exp10l.c: Likewise.
23048         * math/w_exp2.c: Likewise.
23049         * math/w_exp2f.c: Likewise.
23050         * math/w_fmod.c: Likewise.
23051         * math/w_fmodf.c: Likewise.
23052         * math/w_fmodl.c: Likewise.
23053         * math/w_hypot.c: Likewise.
23054         * math/w_hypotf.c: Likewise.
23055         * math/w_hypotl.c: Likewise.
23056         * math/w_j0.c: Likewise.
23057         * math/w_j0f.c: Likewise.
23058         * math/w_j0l.c: Likewise.
23059         * math/w_j1.c: Likewise.
23060         * math/w_j1f.c: Likewise.
23061         * math/w_j1l.c: Likewise.
23062         * math/w_jn.c: Likewise.
23063         * math/w_jnf.c: Likewise.
23064         * math/w_jnl.c: Likewise.
23065         * math/w_lgamma.c: Likewise.
23066         * math/w_lgamma_r.c: Likewise.
23067         * math/w_lgammaf.c: Likewise.
23068         * math/w_lgammaf_r.c: Likewise.
23069         * math/w_lgammal.c: Likewise.
23070         * math/w_lgammal_r.c: Likewise.
23071         * math/w_log.c: Likewise.
23072         * math/w_log10.c: Likewise.
23073         * math/w_log10f.c: Likewise.
23074         * math/w_log10l.c: Likewise.
23075         * math/w_log2.c: Likewise.
23076         * math/w_log2f.c: Likewise.
23077         * math/w_log2l.c: Likewise.
23078         * math/w_logf.c: Likewise.
23079         * math/w_logl.c: Likewise.
23080         * math/w_pow.c: Likewise.
23081         * math/w_powf.c: Likewise.
23082         * math/w_powl.c: Likewise.
23083         * math/w_remainder.c: Likewise.
23084         * math/w_remainderf.c: Likewise.
23085         * math/w_remainderl.c: Likewise.
23086         * math/w_scalb.c: Likewise.
23087         * math/w_scalbf.c: Likewise.
23088         * math/w_scalbl.c: Likewise.
23089         * math/w_sinh.c: Likewise.
23090         * math/w_sinhf.c: Likewise.
23091         * math/w_sinhl.c: Likewise.
23092         * math/w_sqrt.c: Likewise.
23093         * math/w_sqrtf.c: Likewise.
23094         * math/w_sqrtl.c: Likewise.
23095         * math/w_tgamma.c: Likewise.
23096         * math/w_tgammaf.c: Likewise.
23097         * math/w_tgammal.c: Likewise.
23099         * po/ja.po: Update from translation team.
23101 2011-09-29  Andreas Jaeger  <aj@suse.de>
23103         [BZ #13179]
23104         * sunrpc/netname.c (netname2host): Fix logic.
23106         [BZ #6779]
23107         [BZ #6783]
23108         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23109         correctly.
23110         * math/w_remainder.c (__remainder): Likewise.
23111         * math/w_remainderf.c (__remainderf): Likewise.
23112         * math/libm-test.inc (remainder_test): Add test cases.
23114 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23116         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
23117         sdiv_qrnnd.
23119 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23121         * string/test-memcmp.c: Avoid unncessary #defines.
23122         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23124 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23126         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23127         Use new sse2 version for core i3 - i7 as it's faster
23128         than sse42 version.
23129         (bit_Prefer_PMINUB_for_stringop): New.
23130         * sysdeps/x86_64/rawmemchr.S: Update.
23131         Replace with faster SSE2 version.
23132         * sysdeps/x86_64/memrchr.S: New file.
23133         * sysdeps/x86_64/memchr.S: Update.
23134         Replace with faster SSE2 version.
23136 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
23138         * elf/dl-load.c (lose): Add cast to avoid warning.
23140 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
23142         * po/ca.po: Update from translation team.
23144         * inet/getnetgrent_r.c: Hook up nscd.
23145         * nscd/Makefile (routines): Add nscd_netgroup.
23146         (nscd-modules): Add netgroupcache.
23147         (CFLAGS-netgroupcache.c): Define.
23148         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23149         (cache_search): Add const to second parameter.
23150         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23151         INNETGR.
23152         (dbs): Add netgrdb entry.
23153         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23154         (verify_persistent_db): Handle netgrdb.
23155         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23156         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23157         GETFDNETGR.
23158         (netgroup_response_header): Define.
23159         (innetgroup_response_header): Define.
23160         (datahead): Add netgroup_response_header and innetgroup_response_header
23161         elements.
23162         * nscd/nscd.conf: Add entries for netgroup cache.
23163         * nscd/nscd.h (dbtype): Add netgrdb.
23164         (_PATH_NSCD_NETGROUP_DB): Define.
23165         (netgroup_iov_disabled): Declare.
23166         (xmalloc, xcalloc, xrealloc): Move declarations here.
23167         (cache_search): Adjust prototype.
23168         Add netgroup-related prototypes.
23169         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23170         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23171         (__nscd_innetgr): Declare.
23172         * nscd/selinux.c (perms): Use access_vector_t as element type and
23173         add netgroup-related initializers.
23174         * nscd/netgroupcache.c: New file.
23175         * nscd/nscd_netgroup.c: New file.
23176         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23177         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23178         For four parameters use innetgr.
23179         * nss/nss_files/files-init.c: Add definition and callback for netgr.
23180         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23181         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23182         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23184         * nscd/connections.c (register_traced_file): Don't register file
23185         for disabled databases.
23187 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
23189         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23191         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23192         from tree and freeing node.
23194 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
23196         * nss/nsswitch.c (__nss_database_lookup): Handle
23197         nss_parse_service_list out of memory case.
23199 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
23201         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23202         out of memory case.
23204 2011-10-04  Andreas Schwab  <schwab@redhat.com>
23206         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23207         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23208         pass it down.
23209         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23210         elf_machine_rela, elf_machine_lazy_rel.
23211         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23212         (ELF_DYNAMIC_DO_REL): Likewise.
23213         (ELF_DYNAMIC_DO_RELA): Likewise.
23214         (ELF_DYNAMIC_RELOCATE): Likewise.
23215         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23216         to ELF_DYNAMIC_DO_REL.
23217         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23218         (dl_main): In trace mode always set __RTLD_NOIFUNC.
23219         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23220         elf_machine_rela.
23221         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23222         skip_ifunc, don't call ifunc function if non-zero.
23223         (elf_machine_rela): Likewise.
23224         (elf_machine_lazy_rel): Likewise.
23225         (elf_machine_lazy_rela): Likewise.
23226         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23227         (elf_machine_lazy_rel): Likewise.
23228         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23229         Likewise.
23230         (elf_machine_lazy_rel): Likewise.
23231         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23232         Likewise.
23233         (elf_machine_lazy_rel): Likewise.
23234         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23235         (elf_machine_lazy_rel): Likewise.
23236         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23237         (elf_machine_lazy_rel): Likewise.
23238         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23239         (elf_machine_lazy_rel): Likewise.
23240         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23241         (elf_machine_lazy_rel): Likewise.
23242         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23243         (elf_machine_lazy_rel): Likewise.
23244         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23245         (elf_machine_lazy_rel): Likewise.
23247 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
23249         * nss/nss_files/files-init.c (_nss_files_init): Use static
23250         initialization for all the *_traced_file variables.
23252 2011-09-28  Andreas Schwab  <schwab@redhat.com>
23254         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23256 2011-09-27  Roland McGrath  <roland@hack.frob.com>
23258         [BZ #13226]
23259         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23261 2011-09-27  Andreas Schwab  <schwab@redhat.com>
23263         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23264         Reread the line before reparsing it.
23266 2011-09-26  Andreas Schwab  <schwab@redhat.com>
23268         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23270 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
23271             Maxim Kuvyrkov  <maxim@codesourcery.com>
23272             Joseph Myers  <joseph@codesourcery.com>
23274         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23275         if needed for __stack_chk_guard.
23277 2011-09-19  Roland McGrath  <roland@hack.frob.com>
23279         * sysdeps/posix/spawni.c (script_execute): Always define it.
23280         It will be optimized away if unused.
23281         (maybe_script_execute): New function.
23282         (__spawni): Call it.
23284         * Makerules: Don't include tls.make.
23285         (config-tls): Always set to thread.
23286         * tls.make.c: File removed.
23288 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
23290         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23291         * config.make.in (CPPFLAGS-config): New substituted variable.
23293 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23295         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23297         [BZ #13192]
23298         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23299         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23301 2011-09-15  Roland McGrath  <roland@hack.frob.com>
23303         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23304         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23305         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23306         (CALL_FAIL): Likewise.
23307         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23308         (CALL_FAIL): Macro removed.
23309         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23311 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
23313         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23314         for __FINITE_MATH_ONLY__ == 1.
23316 2011-09-15  Andreas Schwab  <schwab@redhat.com>
23318         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23319         __ieee754_sqrt instead of sqrt.
23320         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23321         __ieee754_sqrtf instead of sqrtf.
23322         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23323         __floorf instead of floorf.
23324         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23325         __floorf, __truncf instead of floorf, truncf.
23327 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
23329         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23331         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23332         __extern_always_inline.
23333         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23334         32-bit.
23336 2011-09-14  Andreas Schwab  <schwab@redhat.com>
23338         * elf/rtld.c (dl_main): Also relocate in dependency order when
23339         doing symbol dependency testing.
23341 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
23343         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23344         Always define `refsym'.
23346 2011-09-13  Andreas Schwab  <schwab@redhat.com>
23348         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23349         (__FD_ELT): Renamed from __FDELT.
23350         * misc/bits/select2.h (__FD_ELT): Likewise.
23351         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23352         __FD_MASK instead of __FDELT, __FDMASK.
23353         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23354         Likewise.
23355         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23356         Likewise.
23358         * elf/Makefile (gen-ldd): Fix pattern.
23360         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23361         (init_tls): Likewise.
23363 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
23365         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23367 2011-09-12  Andreas Schwab  <schwab@redhat.com>
23369         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23370         `struct cmsghdr *' instead of `void *'.
23371         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23372         Likewise.
23374 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
23376         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23377         if non-absolute.
23378         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23379         ldd_rewrite_script.
23381 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
23383         * configure.in: Remove --with-tls option.
23384         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23385         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23386         out in case it is missing.
23387         * sysdeps/ia64/elf/configure.in: Likewise.
23388         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23389         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23390         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23391         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23392         * sysdeps/sh/elf/configure.in: Likewise.
23393         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23394         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23395         * sysdeps/x86_64/elf/configure.in: Likewise.
23396         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23397         * sysdeps/mach/hurd/tls.h: Likewise.
23399         [BZ #13067]
23400         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23402         [BZ #13090]
23403         * configure.in: Fix use of AC_INIT.
23405         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23407 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
23409         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23410         __set_errno.
23411         * malloc/hooks.c: Likewise.
23413         [BZ #11929]
23414         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
23415         variables statically.
23416         (narenas): Initialize.
23417         (list_lock): Initialize.
23418         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
23419         initializtion of main_arena and list_lock.  Small cleanups.
23420         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23421         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
23422         Add initializers to main_arena and mp_.
23423         (malloc_state): Remove pagesize member.  Change all users to use
23424         GLRO(dl_pagesize).
23426         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23427         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
23428         is always initialized.
23430         * malloc/malloc.c: Removed unused configurations and dead code.
23431         * malloc/arena.c: Likewise.
23432         * malloc/hooks.c: Likewise.
23433         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
23435         * include/tls.h: Removed.  USE___THREAD must always be defined.
23436         * bits/libc-tsd.h: Don't handle !USE___THREAD.
23437         * elf/dl-libc.c: Likewise.
23438         * elf/dl-tsd.c: Likewise.
23439         * include/errno.h: Likewise.
23440         * include/netdb.h: Likewise.
23441         * include/resolv.h: Likewise.
23442         * inet/herrno-loc.c: Likewise.
23443         * inet/herrno.c: Likewise.
23444         * malloc/arena.c: Likewise.
23445         * malloc/hooks.c: Likewise.
23446         * malloc/malloc.c: Likewise.
23447         * resolv/res-state.c: Likewise.
23448         * resolv/res_libc.c: Likewise.
23449         * sysdeps/i386/dl-machine.h: Likewise.
23450         * sysdeps/ia64/dl-machine.h: Likewise.
23451         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23452         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23453         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23454         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23455         * sysdeps/sh/dl-machine.h: Likewise.
23456         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23457         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23458         * sysdeps/unix/i386/sysdep.S: Likewise.
23459         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23460         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23461         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23462         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23463         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23464         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23465         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23466         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23469         * sysdeps/unix/x86_64/sysdep.S: Likewise.
23470         * sysdeps/x86_64/dl-machine.h: Likewise.
23471         * tls.make.c: Likewise.
23473         * configure.in: Remove --with-__thread option.  Make tests for
23474         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23475         tls_model attribute fail if no support is available.  Remove
23476         USE_IN_LIBIO.
23477         * Makeconfig: Adjust for dropped configure option.  All features are
23478         now mandatory.
23479         * Makerules: Likewise.
23480         * Versions.def: Likewise.
23481         * argp/argp-fmtstream.c: Likewise.
23482         * argp/argp-fmtstream.h: Likewise.
23483         * argp/argp-help.c: Likewise.
23484         * assert/assert.c: Likewise.
23485         * config.h.in: Likewise.
23486         * config.make.in: Likewise.
23487         * configure: Likewise.
23488         * configure.in: Likewise.
23489         * csu/Versions: Likewise.
23490         * csu/init.c: Likewise.
23491         * elf/tst-audit2.c: Likewise.
23492         * elf/tst-tls10.c: Likewise.
23493         * elf/tst-tls10.h: Likewise.
23494         * elf/tst-tls11.c: Likewise.
23495         * elf/tst-tls12.c: Likewise.
23496         * elf/tst-tls14.c: Likewise.
23497         * elf/tst-tlsmod11.c: Likewise.
23498         * elf/tst-tlsmod12.c: Likewise.
23499         * elf/tst-tlsmod13.c: Likewise.
23500         * elf/tst-tlsmod13a.c: Likewise.
23501         * elf/tst-tlsmod14a.c: Likewise.
23502         * elf/tst-tlsmod15b.c: Likewise.
23503         * elf/tst-tlsmod16a.c: Likewise.
23504         * elf/tst-tlsmod16b.c: Likewise.
23505         * elf/tst-tlsmod7.c: Likewise.
23506         * elf/tst-tlsmod8.c: Likewise.
23507         * elf/tst-tlsmod9.c: Likewise.
23508         * gmon/gmon.c: Likewise.
23509         * grp/fgetgrent_r.c: Likewise.
23510         * grp/putgrent.c: Likewise.
23511         * hurd/fopenport.c: Likewise.
23512         * include/libc-symbols.h: Likewise.
23513         * include/tls.h: Likewise.
23514         * intl/gettextP.h: Likewise.
23515         * intl/loadinfo.h: Likewise.
23516         * locale/global-locale.c: Likewise.
23517         * locale/localeinfo.h: Likewise.
23518         * mach/devstream.c: Likewise.
23519         * malloc/arena.c: Likewise.
23520         * malloc/set-freeres.c: Likewise.
23521         * misc/err.c: Likewise.
23522         * misc/getttyent.c: Likewise.
23523         * misc/mntent_r.c: Likewise.
23524         * posix/getopt.c: Likewise.
23525         * posix/wordexp.c: Likewise.
23526         * pwd/fgetpwent_r.c: Likewise.
23527         * resolv/Versions: Likewise.
23528         * resolv/res_hconf.c: Likewise.
23529         * shadow/fgetspent_r.c: Likewise.
23530         * shadow/putspent.c: Likewise.
23531         * stdio-common/printf_fphex.c: Likewise.
23532         * stdio-common/tmpfile.c: Likewise.
23533         * stdlib/abort.c: Likewise.
23534         * stdlib/fmtmsg.c: Likewise.
23535         * sunrpc/auth_unix.c: Likewise.
23536         * sunrpc/clnt_perr.c: Likewise.
23537         * sunrpc/clnt_tcp.c: Likewise.
23538         * sunrpc/clnt_udp.c: Likewise.
23539         * sunrpc/clnt_unix.c: Likewise.
23540         * sunrpc/openchild.c: Likewise.
23541         * sunrpc/svc_simple.c: Likewise.
23542         * sunrpc/svc_tcp.c: Likewise.
23543         * sunrpc/svc_udp.c: Likewise.
23544         * sunrpc/svc_unix.c: Likewise.
23545         * sunrpc/xdr.c: Likewise.
23546         * sunrpc/xdr_array.c: Likewise.
23547         * sunrpc/xdr_rec.c: Likewise.
23548         * sunrpc/xdr_ref.c: Likewise.
23549         * sunrpc/xdr_stdio.c: Likewise.
23551 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23553         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23555 2011-07-03  Andreas Jaeger  <aj@suse.de>
23557         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23558         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23559         regenerate with gen-libm-tests.pl.
23561 2010-05-12  Petr Baudis  <pasky@suse.cz>
23563         [BZ #11589]
23564         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23565         around j0() zero points by switching to j1().
23566         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23567         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23568         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23569         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23571 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23573         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23574         instead of 0.
23575         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
23576         instead of 0.
23577         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23578         Patch in part by Pavel Roskin <proski@gnu.org>.
23580         [BZ #13138]
23581         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23582         realloc.
23583         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
23584         Free memory block if necessary.
23586         [BZ #12847]
23587         * libio/genops.c (INTDEF): For string streams the _lock pointer can
23588         be NULL.  Don't lock in this case.
23590 2011-09-09  Roland McGrath  <roland@hack.frob.com>
23592         * elf/elf.h (ELFOSABI_GNU): New macro.
23593         (ELFOSABI_LINUX): Define to that.
23595 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
23597         * string/strncat.c (strncat): Undef the symbol in case it has been
23598         defined in bits/string.h.
23600 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
23602         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23604         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
23605         link map.
23607 2011-08-17  Andreas Jaeger  <aj@suse.de>
23609         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23611 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23612             Ian Lance Taylor  <iant@google.com>
23614         * math/libm-test.inc (lround_test): New testcase.
23615         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23617 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
23619         * Makefile: Remove support for automatic cvs check-ins.
23620         * Makerules: Likewise.
23621         * config.make.in: Likewise.
23622         * configure.in: Likewise.
23623         * intl/Makefile: Likewise.
23624         * locale/Makefile: Likewise.
23625         * po/Makefile: Likewise.
23626         * posix/Makefile: Likewise.
23627         * sysdeps/gnu/Makefile: Likewise.
23628         * sysdeps/mach/hurd/Makefile: Likewise.
23629         * sysdeps/sparc/sparc32/Makefile: Likewise.
23631         [BZ #13118]
23632         * posix/Makefile (bug-regex32-ENV): Define.
23633         Patch by John Stanley <jpsinthemix@verizon.net>.
23635         * misc/Makefile (headers): Add bits/select2.h.
23636         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23637         * misc/bits/select2.h: New file.
23638         * include/bits/select2.h: New file.
23639         * debug/Makefile (routines): Add fdelt_chk.
23640         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23641         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23642         FD_ISSET.
23643         * debug/fdelt_chk.c: New file.
23645         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
23646         * wcsmbs/test-wmemcmp.c: Likewise.
23647         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
23648         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
23650 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23652         * string/Makefile (strop-tests): Add memcmp.
23653         * string/test-wmemcmp.c: New file.
23654         * string/test-memcmp.c: Add wmemcmp support.
23656 2011-09-08  Roland McGrath  <roland@hack.frob.com>
23658         [BZ #13153]
23659         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23660         2011-07-19 change.
23662         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23663         garbage value in a __mach_port_mod_refs call in the cases of the
23664         task-self and thread-self ports.
23666 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23668         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23670 2011-09-08  Andreas Schwab  <schwab@redhat.com>
23672         * elf/dl-load.c (lose): Check for non-null L.
23674 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23676         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23678         * elf/dl-libc.c (dlerror_run): Pass back error code from
23679         dl_catch_error.
23681         [BZ #13123]
23682         * elf/dl-load.c (lose): Free l_origin if it is valid.
23684         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23685         names.
23686         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23687         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23688         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23689         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23690         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23691         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23693 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23695         * sysdeps/powerpc/fpu/e_hypot.c: New file.
23696         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23697         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23698         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23699         * sysdeps/powerpc/fpu/k_cosf.c: New file.
23700         * sysdeps/powerpc/fpu/k_sinf.c: New file.
23701         * sysdeps/powerpc/fpu/s_cosf.c: New file.
23702         * sysdeps/powerpc/fpu/s_sinf.c: New file.
23703         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23704         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23706 2011-08-15  Alan Modra  <amodra@gmail.com>
23708         [BZ #13092]
23709         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23710         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23711         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
23712         ppc_mcount to static-only-routines.
23713         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23714         __mcount_internal.
23715         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23716         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
23718 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
23720         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23721         for finite and infinity parameters.
23723 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
23725         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23726         and add nop instructions for throughput optimization.
23727         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23729 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
23731         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23732         aligned copy for power7 with vector-scalar instructions.
23733         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23735 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
23737         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23738         AVX check.
23740 2011-09-07  Andreas Schwab  <schwab@redhat.com>
23742         [BZ #13144]
23743         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23744         last change.
23746 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
23748         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23749         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23750         syscall wrapper around clock_gettime in __vdso_clock_gettime.
23751         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23752         clock_gettime.
23754 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23756         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23757         Forgot to demangle the pointer.
23759         * sysdeps/i386/sysdep.h: Define atom_text_section.
23760         * sysdeps/x86_64/sysdep.h: Likewise.
23761         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23762         section with atom_text_section.
23763         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23764         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23765         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23766         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23767         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23769         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23770         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23771         already be defined.  Change to take two parameters and don't assign
23772         result to variable.  Adjust all users.
23773         Define INTERNAL_GETTIME if not already defined.
23774         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23775         call.
23776         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23777         HAVE_CLOCK_GETTIME_VSYSCALL.
23778         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23780         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23781         gettimeofday vsyscall, just use time.
23783 2011-09-06  Andreas Schwab  <schwab@redhat.com>
23785         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23786         <errno.h>.
23788 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
23790         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23791         syscall on x86-64.
23792         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23793         syscall.
23794         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23795         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23796         syscall if possible.
23798 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23800         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23801         e_ident.  Don't pass to find_mapsXX.
23802         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23804 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23807         strchr-sse2-no-bsf strrchr-sse2-no-bsf
23808         * sysdeps/x86_64/multiarch/strchr.S: Update.
23809         Check bit_slow_BSF bit.
23810         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23811         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23812         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23814 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23816         [BZ #13134]
23817         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23818         before glibc 2.15.
23819         (tryshell): Define.
23820         (__spawni): Change last parameter to be flag.  Test
23821         SPAWN_XFLAGS_USE_PATH flag to use path or not.
23822         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23823         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23824         * posix/spawni.c: Likewise.
23825         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23826         * posix/spawnp.c: Likewise.  Change normal version to use
23827         SPAWN_XFLAGS_USE_PATH.
23828         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23829         SPAWN_XFLAGS_TRY_SHELL.
23831         [BZ #13150]
23832         * posix/glob.h: Remove gcc 1.x support.
23834         [BZ #13068]
23835         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23837 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23839         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23840         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23841         strrchr-sse2-bsf
23842         * sysdeps/i386/i686/multiarch/strchr.S: New file.
23843         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23844         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23845         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23846         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23847         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23849 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23851         * sysdeps/x86_64/wcscmp.S: New file.
23853         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23854         wcscmp-c wcscmp-sse2
23855         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23856         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23857         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23858         * wcsmbs/wcscmp.c: Allow renaming.
23860 2011-09-05  David S. Miller  <davem@davemloft.net>
23862         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23863         stack slot, rather than the struct return pointer slot.
23864         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23865         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23867         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23869 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
23871         * po/ja.po: Update from translation team.
23873         [BZ #13144]
23874         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23875         kernel in 64-bit binaries.
23877 2011-09-01  David S. Miller  <davem@davemloft.net>
23879         * elf/elf.h (HWCAP_SPARC_*): Move to..
23880         * sysdeps/sparc/sysdep.h: this new file and add new values.
23881         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23882         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23883         _DL_HWCAP_COUNT to 24.
23884         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23885         entries.
23886         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23887         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23888         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23889         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23890         instead of magic constants.
23891         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23893 2011-08-31  David S. Miller  <davem@davemloft.net>
23895         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23896         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23897         Reimplement to do errno handling inline.
23898         (SYSCALL_ERROR_HANDLER): New macro.
23899         (__SYSCALL_STRING): Do not do errno handling in asm.
23900         (__CLONE_SYSCALL_STRING): Delete.
23901         (__INTERNAL_SYSCALL_STRING): Delete.
23902         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23903         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23904         (PSEUDO): Reimplement to do errno handling inline.
23905         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23906         (SYSCALL_ERROR_HANDLER): New macro.
23907         (__SYSCALL_STRING): Do not do errno handling in asm.
23908         (__CLONE_SYSCALL_STRING): Delete.
23909         (__INTERNAL_SYSCALL_STRING): Delete.
23910         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23911         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23912         i386.
23913         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23914         (inline_syscall*): Add 'err' argument.
23915         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23916         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23917         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23918         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23920         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23921         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23923 2011-08-30  Andreas Schwab  <schwab@redhat.com>
23925         * elf/rtld.c (dl_main): Relocate objects in dependency order.
23927 2011-08-29  Jiri Olsa <jolsa@redhat.com>
23929         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23930         directive.
23932 2011-08-24  David S. Miller  <davem@davemloft.net>
23934         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23936 2011-08-24  Andreas Schwab  <schwab@redhat.com>
23938         * elf/Makefile: Add rules to build and run unload8 test.
23939         * elf/unload8.c: New file.
23940         * elf/unload8mod1.c: New file.
23941         * elf/unload8mod1x.c: New file.
23942         * elf/unload8mod2.c: New file.
23943         * elf/unload8mod3.c: New file.
23945         * elf/dl-close.c (_dl_close_worker): Reset private search list if
23946         it wasn't used.
23948 2011-08-23  David S. Miller  <davem@davemloft.net>
23950         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23951         subtract stack bias.
23952         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23953         %sp not %fp in calculations.
23954         (_JMPBUF_UNWINDS_ADJ): Likewise.
23956         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23957         (aio_suspend): Call it to force an exception region around the
23958         AIO_MISC_WAIT() invocation.
23960 2011-08-23  Andreas Schwab  <schwab@redhat.com>
23962         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23963         backslash.
23965 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
23967         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23968         protection macro.
23969         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23970         and <dl-machine.h>.
23971         (Elf64_FuncDesc): Remove.
23973 2011-08-22  David S. Miller  <davem@davemloft.net>
23975         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23976         sigaltstack check, add missing cfi directives.
23977         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23978         missing cfi directives, and sigaltstack handling.
23980 2011-08-16  Andreas Schwab  <schwab@redhat.com>
23982         [BZ #11724]
23983         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23984         object is seen twice.
23985         * elf/dl-fini.c (_dl_sort_fini): Likewise.
23987         * elf/Makefile (distribute): Add tst-initorder2.c.
23988         (tests): Add tst-initorder2.
23989         (modules-names): Add tst-initorder2a tst-initorder2b
23990         tst-initorder2c tst-initorder2d.  Add rules to build them.
23991         ($(objpfx)tst-initorder2.out): New rule.
23992         * elf/tst-initorder2.c: New file.
23993         * elf/tst-initorder2.exp: New file.
23995 2011-08-22  Andreas Schwab  <schwab@redhat.com>
23997         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23999         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24000         dependencies back to end of function.
24002         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24003         $(elfobjdir)/ld.so.
24005 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
24007         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24008         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24009         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24010         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24011         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24012         of __vdso_gettimeofday.
24013         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24014         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
24015         attribute_hidden.
24016         (_libc_vdso_platform_setup): Remove initialization of
24017         __vdso_gettimeofday and __vdso_time.
24019 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24021         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24022         and fgetc_unlocked.
24023         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24024         getc_unlocked.
24026         * elf/dl-open.c (add_to_global): Report additions to the global scope
24027         for LD_DEBUG=scopes.
24028         (dl_open_worker): Also print scope of newly loaded dependencies.
24029         (_dl_show_scope): Indicate if there is no scope.
24031         [BZ #13114]
24032         * stdio-common/Makefile (tests): Add bug24.
24033         * stdio-common/bug24.c: New file.
24035 2011-08-19  Andreas Jaeger  <aj@suse.de>
24037         [BZ #13114]
24038         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24039         non-existant file when using close-on-exec mode.
24041 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
24043         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24044         the very first instruction.
24046         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24047         the CFI state in the end.
24048         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24049         inclusion of dl-trampoline.h.
24050         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24052 2011-08-19  Andreas Schwab  <schwab@redhat.com>
24054         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24055         expectations for long double.
24057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24058         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24060 2011-08-14  David S. Miller  <davem@davemloft.net>
24062         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24063         artificual limit depends upon the system page size.
24065 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24067         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24068         * resolv/Makefile: Define CFLAGS-libresolv.
24070 2011-08-17  Andreas Schwab  <schwab@redhat.com>
24072         * nss/makedb.c (compute_tables): Make variables used in nested
24073         function static.
24075 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
24077         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24078         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24079         if buffer was too small.
24081         * elf/pldd.c (main): Attach to all threads in the process.
24082         Rewrite /proc handling to use *at functions.
24084 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
24086         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24087         specifies first scope to show.
24088         (dl_open_worker): Update callers.  Move printing scope of new
24089         object to before the relocation.
24090         * elf/rtld.c (dl_main): Update _dl_show_scope call.
24091         * sysdeps/generic/ldsodefs.h: Update declaration.
24093         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24094         string for the scope number.
24096 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
24098         * nscd/servicescache.c (cache_addserv): Make sure written is always
24099         initialized.
24101 2011-08-14  Roland McGrath  <roland@hack.frob.com>
24103         * sysdeps/i386/i486/bits/atomic.h
24104         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24105         statement expression, so as to suppress "set but not used" warning.
24106         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24108         * string/strncat.c (STRNCAT): Use prototype definition.
24110         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24111         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24112         -Iprograms here.
24113         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24114         (localedef-modules): Add localedef.
24115         (locale-modules): Add locale.
24117         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24118         * elf/rtld.c (dl_main): Invert order of assignment in last change,
24119         to avoid a warning.
24121 2011-08-14  David S. Miller  <davem@davemloft.net>
24123         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24124         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24126 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
24128         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
24129         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24130         * elf/rtld.c (dl_main): Set l_name of vDSO.
24131         Call _dl_show_scope when DL_DEBUG_SCOPES.
24132         (process_dl_debug): Recognize scopes flag and also set it for all.
24133         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24134         Declare _dl_show_scope.
24136         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24137         (do_dlopen): Pass caller_dlopen to dl_open.
24138         (__libc_dlopen_mode): Initialize caller_dlopen.
24140         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24141         of libc.  Make tolower call locale-independent.  Optimize a bit by
24142         using isdigit instead of isalnum.
24143         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24145 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
24147         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24148         was a dependency or dynamically loaded.
24150 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
24152         * intl/l10nflist.c: Allow architecture-specific pop function.
24153         * sysdeps/x86_64/l10nflist.c: New file.
24155         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24156         classification.
24158 2011-08-10  Andreas Schwab  <schwab@redhat.com>
24160         * include/dirent.h: Add libc_hidden_proto for scandirat and
24161         scandirat64.  Don't declare __scandirat64.
24162         * dirent/scandirat.c: Add libc_hidden_def.
24163         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24164         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24166 2011-08-10  David S. Miller  <davem@davemloft.net>
24168         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24169         enum.
24170         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24171         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24172         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24174 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
24176         * Versions.def [libc]: Add GLIBC_2.15.
24177         * dirent/Makefile (routines): Add scandirat and scandirat64.
24178         * dirent/Versions [libc]: Export scandirat and scandirat64 for
24179         GLIBC_2.15.
24180         * dirent/dirent.h: Declare scandirat and scandirat64.
24181         * dirent/scandirat.c: New file.
24182         * dirent/scandirat64.c: New file.
24183         * sysdeps/wordsize-64/scandirat.c: New file.
24184         * sysdeps/wordsize-64/scandirat64.c: New file.
24185         * dirent/opendir.c: Define opendirat.
24186         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
24187         using scandirat.
24188         * dirent/scandir64.c: Adjust for scandir.c change.
24189         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
24190         __scandirat64, and __scandir_cancel_handler.
24191         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
24192         additional parameter and use openat instead of open (outside of ld.so).
24193         Add new __opendir as wrapper around __opendirat.
24194         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24195         here without requiring old scandirat implementation.
24197 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
24199         * dirent/scandir.c (cancel_handler): Renamed to
24200         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
24201         defined.  Adjust users.
24202         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24203         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24205 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
24207         * string/test-string.h (IMPL): Use __STRING to expand name and then
24208         stringify it.
24210         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
24211         of cleanups.
24213 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24215         * string/Makefile: Update.
24216         (strop-tests): Append strncat.
24217         * string/test-wcscmp.c: New file.
24218         New comprehensive test for wcscmp.
24219         * string/test-strcmp.c: Update.
24220         (WIDE): New define.
24222 2011-07-22  Andreas Schwab  <schwab@redhat.com>
24224         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24225         line.
24227 2011-07-26  Andreas Schwab  <schwab@redhat.com>
24229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24230         encoding to ACE if AI_IDN.
24232 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
24234         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24235         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24237 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24239         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24240         Fix overflow bug in strncat.
24241         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24243         * string/test-strncat.c: Update.
24244         Add new tests for checking overflow bugs.
24246 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24249         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24250         * sysdeps/i386/i686/multiarch/strcat.S: New file.
24251         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24252         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24253         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24254         * sysdeps/i386/i686/multiarch/strncat.S: New file.
24255         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24256         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24258         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24259         (USE_AS_STRCAT): Define.
24260         Add strcat and strncat support.
24261         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24263 2011-07-25  Andreas Schwab  <schwab@redhat.com>
24265         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24266         __n bigger than INT_MAX+1.
24267         (__strncmp_g): Likewise.
24269 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
24271         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24272         * libio/stido.h: Likewise.
24274         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24275         (AF_NFC): Define.
24276         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24277         (AF_NFC): Define.
24279         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24280         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24281         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24282         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24283         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24285         [BZ #13021]
24286         * scripts/test-installation.pl: Don't expect libnss_test1 to be
24287         installed.
24289         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24290         typo.
24291         (_dl_x86_64_save_sse): Likewise.
24293 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
24295         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24296         OSXSAVE.
24297         (_dl_x86_64_save_sse): Likewise.
24299         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24301         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24303 2011-07-21  Andreas Schwab  <schwab@redhat.com>
24305         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24306         change.
24307         (_dl_x86_64_save_sse): Use correct AVX check.
24309 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24311         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24312         bug in strncpy/strncat.
24313         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24315 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
24317         * string/tester.c (test_strcat): Add tests for different alignments
24318         of source and destination.
24319         (test_strncat): Likewise.
24321 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24323         [BZ #12852]
24324         * posix/glob.c (glob): Check passed in values before using them in
24325         expressions to avoid some overflows.
24326         (glob_in_dir): Likewise.
24328         [BZ #13007]
24329         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24330         check for AVX enablement so that we don't crash with old kernels and
24331         new hardware.
24332         * elf/tst-audit4.c: Add same checks here.
24333         * elf/tst-audit6.c: Likewise.
24335         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
24337 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
24339         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24341 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
24343         * po/cs.po: Update from translation team.
24344         * po/bg.po: Likewise.
24346 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
24348         * misc/sys/cdefs.h: Add support for const attribute.
24349         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24350         to gnu_dev_{major,minor,makedev} functions.
24352 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
24354         * intl/dcigettext.c (get_output_charset): Add missing bracket.
24356 2011-07-20  Andreas Schwab  <schwab@redhat.com>
24358         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24359         strlen results.
24361 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24363         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24364         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24365         register in order to avoid conflicts with the soft frame pointer
24366         being held in r11 when necessary.
24367         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24368         (INTERNAL_VSYSCALL_NCS): Likewise.
24370 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
24372         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24373         * elf/dl-fini.c (_dl_fini): Adjust caller.
24374         * elf/dl-close.c (_dl_close_worker): Likewise.
24375         * sysdeps/generic/ldsodefs.h: Adjust declaration.
24377 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24379         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24380         "aux_cache->nlibs < 0".
24382         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24383         in the reload-count case.
24385 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24388         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24389         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24390         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24391         * sysdeps/x86_64/multiarch/strcat.S: New file.
24392         * sysdeps/x86_64/multiarch/strncat.S: New file.
24393         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24394         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24395         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24396         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24397         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24398         (USE_AS_STRCAT): Define.
24399         Add strcat and strncat support.
24400         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24401         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24402         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24403         * string/strncat.c: Update.
24404         (USE_AS_STRNCAT): Define.
24405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24406         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24407         and i7.
24408         * sysdeps/x86_64/multiarch/init-arch.h
24409         (bit_Prefer_PMINUB_for_stringop): New.
24410         (index_Prefer_PMINUB_for_stringop): Likewise.
24411         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24412         bit_Prefer_PMINUB_for_stringop.
24414 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24416         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24417         buffer64.
24418         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24419         of casting of buffer.
24420         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24421         buffer32 and buffer64.
24422         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24423         writes instead of casting of buffer.
24424         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24425         buffer32.
24426         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24427         casting of buffer.
24429 2011-07-19  Andreas Schwab  <schwab@redhat.com>
24431         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24433 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
24435         * nscd/nscd.c (termination_handler): Don't do anything for a database
24436         if it has not yet been initialized.
24438 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24440         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24442 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
24444         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24446 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
24448         * po/nl.po: Update from translation team.
24449         * po/sv.po: Likewise.
24451 2011-07-16  Roland McGrath  <roland@hack.frob.com>
24453         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24454         now disallowed by GCC.
24456         * configure.in (use-default-link): Default to yes if a test -shared
24457         link meets our qualifications.
24458         * configure: Regenerated.
24460         * config.make.in (output-format): New variable.
24461         * configure.in: Check for ld --print-output-format support.
24462         * configure: Regenerated.
24463         * Makerules ($(common-objpfx)format.lds)
24464         [$(output-format) != unknown]: Just use $(output-format),
24465         instead of the linker-script munging.
24467 2011-07-14  Roland McGrath  <roland@hack.frob.com>
24469         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24470         of $(common-objpfx)shlib.lds.
24471         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24473         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24474         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24476         * configure.in (-z relro check): Adjust test code to add a large
24477         writable data section after it.
24478         * configure: Regenerated.
24480 2011-07-11  Roland McGrath  <roland@hack.frob.com>
24482         * configure.in (-z relro check): Fix test code to make the variable
24483         truly const.
24484         * configure: Regenerated.
24486 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
24488         * nscd/nscd.h (struct traced_file): Define.
24489         (struct database_dyn): Remove inotify_descr, reset_res, and filename
24490         elements.  Add traced_files.
24491         (inotify_fd): Declare.
24492         (register_traced_file): Declare.
24493         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24494         (inotify_fd): Export.
24495         (resolv_conf_descr): Remove.
24496         (nscd_init): Move inotify descriptor creation to main.
24497         Don't register files for notification here.
24498         (register_traced_file): New function.
24499         (invalidate_cache): Don't use reset_res to determine whether to call
24500         res_init, go through the list of registered files.
24501         (main_loop_poll): The inotify descriptors are now stored in the
24502         structures for the traced files.
24503         (main_loop_epoll): Likewise
24504         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
24505         to __nss_disable_nscd.
24506         * nscd/cache.c (prune_cache): There is no single inotify descriptor
24507         for a database anymore.  Check the records for all the registered
24508         files instead.
24509         * nss/Makefile (libnss_files-routines): Add files-init.
24510         (libnss_db-routines): Add db-init.
24511         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24512         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24513         * nss/nss_db/db-init.c: New file.
24514         * nss/nss_files/files-init.c: New file.
24515         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
24516         __nss_lookup_function.
24517         (__nss_lookup_function): Call nss_load_library.
24518         (nss_load_all_libraries): New function.
24519         (__nss_disable_nscd): Take parameter with callback function for files
24520         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
24521         used for the cached services.
24522         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24523         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24524         options for features to all the files in nscd.
24526         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24528 2011-07-10  Roland McGrath  <roland@hack.frob.com>
24530         * csu/elf-init.c (__libc_csu_init): Comment typo.
24532 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
24534         * po/pl.po: Update from translation team.
24535         * po/ja.po: Likewise.
24536         * po/ru.po: Likewise.
24537         * po/ko.po: Likewise.
24538         * po/fr.po: Likewise.
24540 2011-07-09  Roland McGrath  <roland@hack.frob.com>
24542         * configure.in (.ctors/.dtors header and trailer check):
24543         Use an empirical test on a built program.
24544         * configure: Regenerated.
24546         * configure.in (-z relro check): Use an empirical test on a built DSO.
24547         Detect, but do not require, on ia64.
24548         * configure: Regenerated.
24550         * configure.in (READELF): Find it with AC_CHECK_TOOL.
24551         Update tests that use readelf to use $READELF instead.
24552         * configure: Regenerated.
24554 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
24556         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24557         if the result is not used.
24559 2011-07-05  Andreas Jaeger  <aj@suse.de>
24561         [BZ#9696]
24562         * stdlib/tst-strtod.c: Add testcase.
24564 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
24566         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
24567         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
24568         The latter has a higher limit.  Take additional parameter to pass to
24569         the new function.
24570         (__pathconf): Pass file to __statfs_link_max.
24571         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24572         __statfs_link_max.
24573         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24574         __statfs_link_max.
24576         [BZ #12868]
24577         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24578         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24579         Handle Lustre.
24580         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24581         (__statfs_filesize_max): Likewise.
24582         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24584 2011-07-05  Andreas Jaeger  <aj@suse.de>
24586         * resolv/res_comp.c (dn_skipname): Remove unused variable.
24588 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
24590         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24591         `status' variable.
24592         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24593         Likewise.
24595 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
24597         * Makefile (strop-tests): Add strncat.
24598         * string/test-strncat.c: New file.
24600 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
24602         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24604 2011-06-21  Andreas Jaeger  <aj@suse.de>
24606         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24607         Copy rule from iconvdata/Makefile.
24609 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24611         [BZ #12922]
24612         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24613         but no long options are defined, just return 'W'.
24615 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
24617         [BZ #9696]
24618         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24620 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
24622         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24623         netgroups to read.
24624         (innetgr): Likewise.
24626 2011-07-05  Roland McGrath  <roland@hack.frob.com>
24628         * config.make.in (install_root): Default to $(DESTDIR).
24630 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
24632         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24634 2011-07-02  Roland McGrath  <roland@hack.frob.com>
24636         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24638         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24639         containing directory rather than embedding absolute directory names.
24641         * scripts/check-local-headers.sh: Rewritten using awk.
24642         Match by word, not by line.  Print error messages for matches.
24643         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24645         * Makerules [shlib-lds-flags empty]:
24646         ($(common-objpfx)libc_pic.opts): New target.
24647         ($(common-objpfx)libc_pic.os.clean): New target.
24648         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24650         * config.make.in (OBJCOPY): New variable.
24651         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24652         * configure: Regenerated.
24654         * config.make.in (use-default-link): New variable.
24655         * configure.in (use_default_link): Grok --with-default-link to set it.
24656         * configure: Regenerated.
24657         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24658         (shlib-lds, shlib-lds-flags): Define to empty.
24660         * Makerules (shlib-lds): New variable.
24661         (shlib-lds-flags): New variable.
24662         (build-shlib, build-moduile, build-module-asneeded): Use it.
24663         ($(common-objpfx)libc.so): Use $(shlib-lds).
24664         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24665         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24667         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24668         DT_FLAGS/DT_FLAGS_1 with zero flags.
24670         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24671         linker script munging.
24673 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
24675         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24676         as 128-bit value.
24677         * crypt/sha512.c (sha512_process_block): Perform total addition using
24678         128-bit if possible.
24679         (__sha512_finish_ctx): Likewise.
24680         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24681         as 64-bit value.
24682         * crypt/sha256.c (SWAP64): Define.
24683         (sha256_process_block): Perform total addition using 64-bit if
24684         possible.
24685         (__sha256_finish_ctx): Likewise.
24687 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
24689         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
24690         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24691         * nscd/hstcache.c (cache_addhst): Likewise.
24692         * nscd/grpcache.c (cache_addgr): Likewise.
24693         * nscd/aicache.c (addhstaiX): Likewise
24694         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24696 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
24698         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24699         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24700         * nscd/hstcache.c (cache_addhst): Likewise.
24701         * nscd/grpcache.c (cache_addgr): Likewise.
24702         * nscd/aicache.c (addhstaiX): Likewise
24704 2011-07-01  Andreas Schwab  <schwab@redhat.com>
24706         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24707         domain only when needed.
24709 2011-06-30  Andreas Schwab  <schwab@redhat.com>
24711         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24712         is always restored.
24714 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
24716         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24717         are re-adding the entry.
24718         * nscd/servicescache.c (cache_addserv): Likewise.
24720 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
24722         * sysdeps/generic/dl-irel.h: fix protection against multiple
24723         inclusions.
24724         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24726 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
24728         [BZ #12935]
24729         * malloc/memusage.sh: Fix quoting in message.
24730         * debug/xtrace.sh: Likewise.
24732         * configure.in: Remove support for --experimental-malloc option, make
24733         it the default.
24734         * config.make.in: Likewise.
24735         * malloc/Makefile: Likewise.
24737 2011-06-27  Andreas Schwab  <schwab@redhat.com>
24739         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24740         two-byte characters.
24742 2011-06-27  Roland McGrath  <roland@hack.frob.com>
24744         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24745         AC_CACHE_CHECK invocation.
24746         * configure: Regenerated.
24748         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24750 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
24752         [BZ #12350]
24753         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
24754         bit from old_res_options.
24756         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24758         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24759         value type for setfct.
24761 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
24763         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24764         __gettimeofday instead of gettimeofday.
24766 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
24768         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24770 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24772         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24774         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24775         info.
24777 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24780         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24781         strcpy-sse2-unaligned strncpy-sse2-unaligned
24782         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24783         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24784         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24785         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24786         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24787         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24788         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24789         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24790         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24791         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24792         (STRCPY): Support SSE2 and SSSE3 versions.
24794 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
24796         [BZ #12874]
24797         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24798         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24799         kernels which artificially limit size of requests.
24801 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
24803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24804         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24805         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24806         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24807         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24808         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24809         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24810         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24811         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24812         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24813         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24814         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24815         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24816         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24817         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24818         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24819         Enable unaligned load optimization for Intel Core i3, i5 and i7
24820         processors.
24821         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24822         Define.
24823         (index_Fast_Unaligned_Load): Define.
24824         (HAS_FAST_UNALIGNED_LOAD): Define.
24826 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
24828         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24830 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24832         [BZ #12907]
24833         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24834         until it is clear that the information is realy needed.
24835         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24837 2011-06-22  Andreas Schwab  <schwab@redhat.com>
24839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24841 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
24843         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24844         /sys/devices/system/cpu/online if it is usable.
24846         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24847         reading the information from the /proc filesystem to once a second.
24849 2011-06-21  Andreas Jaeger  <aj@suse.de>
24851         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24852         NULL after inclusion of kernel headers.
24854 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
24856         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24857         calls to internal_setent.
24859         [BZ #12885]
24860         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24861         addresses using gethostbyname4_r ignore IPv4 addresses.
24863         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24864         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
24866         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24868 2011-06-20  David S. Miller  <davem@davemloft.net>
24870         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24871         inclusions.
24872         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24874         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24875         (elf_irel): Use it.
24876         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24877         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24878         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24879         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24880         * sysdeps/x86_64/dl-irel.h: Likewise.
24882         * elf/dl-runtime.c: Use elf_ifunc_invoke.
24883         * elf/dl-sym.c: Likewise.
24885 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24887         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
24888         need to dereference resplen2.
24890 2011-06-14  Andreas Schwab  <schwab@redhat.com>
24892         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24894 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
24896         * Makeconfig: Define vardbdir and inst_vardbdir.
24897         * nss/Makefile: Add rules to install db-Makefile.
24899         * nss/nss_db/db-XXX.c: Cleanup.
24901         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24902         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24903         GLIBC_PRIVATE.
24904         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24905         * nss/makedb.c: Implement -g option to specify that value strings
24906         are generated and should not be added to table iterated over for
24907         get*ent calls.
24908         * nss/nss_db/db-initgroups.c: New file.
24910         * nss/getent.c: Add support for initgroups lookups through getgrouplist
24911         interface.
24913         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24914         (internal_getgrouplist): Adjust to name change.
24915         Update use_initgroups_entry if this is not the first call.
24916         * nss/databases.def: Add initgroups entry.
24918         * nss/makedb.c (compute_tables): Check result of multiple hash table
24919         sizes to minimize maximum chain length.
24921 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
24923         * Versions.def: Add entry for libnss_db.
24924         * shlib-versions: Likewise.
24925         * nss/Makefile: Add rules to build libnss_db.
24926         * nss/Versions: Add libnss_db information.  Organize libnss_files
24927         entries better.
24928         * nss/db-Makefile: Add gshadow support.  Change rules for the new
24929         makedb progra.  Some minor improvements to generate smaller files.
24930         * nss/nss_db/nss_db.h: Move NSS database header data structures to
24931         here from...
24932         * nss/makedb.c: ...here.
24933         Improve database format to be smaller and require less memory at
24934         runtime.
24935         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
24936         db anymore.
24937         * nss/nss_db/db-netgrp.c: Likewise.
24938         * nss/nss_db/db-open.c: Likewise.
24939         * nss/nss_files/flies-XXX.x: Adjust comments.
24940         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24941         * nss/nss_files/files-grp.c: Likewise.
24942         * nss/nss_files/files-hosts.c: Likewise.
24943         * nss/nss_files/files-network.c: Likewise.
24944         * nss/nss_files/files-proto.c: Likewise.
24945         * nss/nss_files/files-pwd.c: Likewise.
24946         * nss/nss_files/files-rpc.c: Likewise.
24947         * nss/nss_files/files-service.c: Likewise.
24948         * nss/nss_files/files-sgrp.c: Likewise.
24949         * nss/nss_files/files-spwd.c: Likewise.
24950         * nss/nss_db/db-alias.c: Removed.
24951         * nss/nss_db/dummy-db.h: Removed.
24953 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
24955         * nss/makedb.c: Rewritten to not use database library.
24956         * nss/Makefile: Update to build new makedb program.
24958 2011-06-14  Andreas Jaeger  <aj@suse.de>
24960         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24961         memset declaration.
24963 2011-06-10  Andreas Schwab  <schwab@redhat.com>
24965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24966         tmpbuf.
24968 2011-06-10  Roland McGrath  <roland@hack.frob.com>
24970         * Makerules (shlib.lds): Fail if the linker script comes out empty.
24971         * elf/Makefile ($(objpfx)ld.so): Likewise.
24973         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24974         Don't list ld.so twice in dependencies.
24976         * posix/bug-regex31.c: Include <stdlib.h>.
24978         * nscd/hstcache.c (cache_addhst): Remove unused variable.
24980         * nis/nss_compat/compat-spwd.c
24981         (getspent_next_nss_netgr): Remove unused variable.
24982         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24984         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24985         nonmembers" output to use the right array.
24987         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24989         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24991         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24992         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24993         * catgets/gencat.c (read_input_file): Likewise.
24994         * locale/programs/locarchive.c (enlarge_archive): Likewise.
24996         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24997         variable definition inside #if's controlling its use.
24999         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25001         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25003         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25005         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25006         unreachable code.
25008         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25010         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25011         * configure: Regenerated.
25013         * Makerules: Revert last change.
25014         * elf/Makefile: Likewise.
25016 2011-06-09  Roland McGrath  <roland@hack.frob.com>
25018         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25019         * elf/Makefile ($(objpfx)librtld.os): Likewise.
25020         (reloc-link): Likewise.
25022 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
25024         * elf/Makefile: Add rules to build pldd.
25025         * elf/pldd.c: New file.
25026         * elf/pldd-xx.c: New file.
25028 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
25030         * version.h: Update for 2.15 development version.
25032 2011-06-07  David S. Miller  <davem@davemloft.net>
25034         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25035         ifuncs.
25036         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25037         elf_machine_lazy_rel): Likewise.
25038         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25039         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25040         elf_machine_lazy_rel): Likewise.
25041         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25042         dl_hwcap via passed in argument.
25043         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25044         Likewise.
25046 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25048         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
25050 2011-06-06  Roland McGrath  <roland@hack.frob.com>
25052         [BZ #12849]
25053         * manual/fdl-1.1.texi: New file, verbatim from:
25054         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25055         * manual/lgpl-2.1.texi: New file, verbatim from:
25056         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25057         * manual/Makefile (licenses): New variable, list those new file names.
25058         (texis): Use it.
25059         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25061         * manual/fdl.texi: File removed.
25062         * manual/lesser.texi: File removed.
25063         * manual/libc.texinfo (Copying, Documentation License):
25064         Use new @include file names, put @appendix directive before @include.
25066 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
25068         [BZ #12841]
25069         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25070         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25071         (mq_open): Add __NTH.
25073 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
25075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25076         Assume Intel Core i3/i5/i7 processor if AVX is available.
25078 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25080         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25081         typo.
25083 2011-05-31  Andreas Schwab  <schwab@redhat.com>
25085         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25086         memory.  Use alloca_account.  Fix memory leak when retrying.
25088 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
25090         * version.h (RELEASE): Bump for 2.14 release.
25091         * include/features.h (__GLIBC_MINOR__): Bump to 14.
25093         * config.make.in (RANLIB): Remove entry.
25095 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
25097         * po/Makefile (po-sed-cmd): Add ksh to extensions.
25098         (libc.pot): Work around missing support for .ksh extension in xgettext.
25100         [BZ #12684]
25101         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25102         if both request failed.
25103         (send_dg): In case of server errors clear resplen or *resplen2.
25105         [BZ #12454]
25106         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25107         when there are multiple maps.
25108         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25109         (_dl_fini): Remove test here.
25111         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25113 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
25115         [BZ #12350]
25116         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25117         bit from old_res_options.
25118         (gaih_inet): Likewise.
25120         [BZ #11099]
25121         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
25122         as signed.
25124         * resolv/res_init.c (res_setoptions): Make the code more compact.
25126         [BZ #11558]
25127         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25128         set RES_USEVC.
25130         [BZ #11634]
25131         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25133         * malloc/malloc.h: Mark malloc hook variables as deprecated.
25135         [BZ #11781]
25136         * malloc/malloc.h: Declare malloc hook variables as volatile.
25138         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25139         in last patch.
25141         [BZ #11799]
25142         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
25143         raise in the comment.
25144         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25145         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25146         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
25148 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
25150         [BZ #12811]
25151         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25152         grow the buffers more if it already has to be sufficient.
25153         (build_wcs_upper_buffer): Likewise.
25154         * posix/regexec.c (check_matching): Likewise.
25155         (clean_state_log_if_needed): Likewise.
25156         (extend_buffers): Don't enlarge buffers beyond size of the input
25157         buffer.
25158         Patches mostly by Emil Wojak <emil@wojak.eu>.
25159         * posix/bug-regex32.c: New file.
25160         * posix/Makefile (tests): Add bug-regex32.
25162         * locale/findlocale.c (_nl_find_locale): Return right away if
25163         _nl_explode_name failed.
25164         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25166         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25168         * debug/xtrace.sh: Unify messages.
25169         * malloc/memusage.sh: Likewise.
25171         [BZ #12813]
25172         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25173         time symbol from vDSO.  Substitute with vsyscall if not available.
25174         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25175         __vdso_time.
25177         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25178         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25179         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25180         Add sendmmsg and internal_sendmmsg.
25181         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25182         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25183         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25185         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25186         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25187         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25189 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
25191         [BZ #12813]
25192         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25193         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
25194         available.
25195         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25196         __vdso_getcpu.
25198         [BZ #12814]
25199         * iconvdata/Makefile (tests): Add bug-iconv9.
25200         * iconvdata/bug-iconv9.c: New file.
25202 2011-05-27  Andreas Schwab  <schwab@redhat.com>
25204         [BZ #12814]
25205         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25207 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
25209         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25210         (struct user_regs_struct): Change intcs field back to cs.
25212 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
25214         * po/ja.po: Update from translation team.
25216 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
25218         [BZ #12795]
25219         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25220         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25222 2011-05-20  Andreas Schwab  <schwab@redhat.com>
25224         * stdlib/longlong.h: Update from GCC.
25226 2011-05-23  Andreas Schwab  <schwab@redhat.com>
25228         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25229         parameter name.
25230         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25231         Add parameter name.
25232         (__sysconf): Pass it down.
25234 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
25236         [BZ #12671]
25237         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25238         some situations.
25239         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25240         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25241         add in in __libc_use_alloca calls.  Adjust callers.
25242         (glob): Use malloc in some situations.
25244         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25245         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25246         pltexit.
25248 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
25250         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25251         and CLOCK_BOOTTIME_ALARM.
25253         [BZ #12782]
25254         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25255         is returned.
25257         * string/_strerror.c (__strerror_r): Print negative errors as signed
25258         numbers.
25260         [BZ #12777]
25261         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25262         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25263         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25265         * configure.in: Fix typo in redirection and correct removal of test
25266         files in two cases.
25268         [BZ #12788]
25269         * locale/setlocale.c (new_composite_name): Fix test to check for
25270         identical name of all categories.
25272         [BZ #12792]
25273         * libio/filedoalloc.c (local_isatty): New function.
25274         (_IO_file_doallocate): Use local_isatty.
25275         * stdio-common/perror.c (perror): In case a new stream is used
25276         forward the stream error.
25277         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25278         error flag.
25280 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
25282         [BZ #11869]
25283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25284         alloca.
25285         * include/alloca.h (extend_alloca_account): Define.
25287         [BZ #11857]
25288         * posix/regex.h: Fix comments with documentation of user-accessible
25289         fields after compilation and describe correct free'ing of pattern
25290         after re_compile_pattern.
25291         Patch by Reuben Thomas <rrt@sc3d.org>.
25293 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
25295         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25296         and -mno-altivec to prevent the compiler from using Altivec and/or
25297         VSX instructions when the corresponding registers are not available.
25299 2011-05-19  Andreas Schwab  <schwab@redhat.com>
25301         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25303 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
25305         * libio/freopen.c (freopen): Use __dup2, not dup2.
25306         * libio/freopen64.c (freopen64): Likewise.
25308 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
25310         [BZ #12775]
25311         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25312         * math/Makefile (tests): Add test-powl.
25313         (CFLAGS-test-powl.c): Define.
25314         * math/test-powl.c: New file.
25316 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
25318         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25320 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
25322         [BZ #11837]
25323         * iconvdata/gb18030.c: Update to GB18020-2005.
25325 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
25327         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25328         RE_SYNTAX_POSIX_AWK): Update to match recent development.
25329         Patch by Aharon Robbins <arnold@skeeve.com>.
25331         [BZ #11892]
25332         * stdlib/putenv.c (putenv): Don't always create copy of the variable
25333         on the stack.
25335         [BZ #11895]
25336         * misc/pselect.c (__pselect): Handle timeout value errors hidden
25337         through underflows.
25339         [BZ #12766]
25340         * misc/error.c (error_at_line): Ensure file_name and old_file_name
25341         point to strings before performing equality test for error_one_per_line
25342         mode.
25344         [BZ #11697]
25345         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25347         [BZ #11820]
25348         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25349         (struct user_fpregs_struct): Avoid __uint*_t types.
25351         [BZ #6420]
25352         * malloc/mtrace.c (tr_where): Add additional parameter to point to
25353         symbol info.  Use it instead of calling _dl_addr locally.
25354         (lock_and_info): New function.
25355         (tr_freehook): Call lock_and_info and pass symbol info as additional
25356         parameter to tr_where.
25357         (tr_mallochook): Likewise.
25358         (tr_reallochook): Likewise.
25359         (tr_memalignhook): Likewise.
25361         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
25362         used and couldn't be at all thread-safe.
25364 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
25366         * libio/freopen.c (freopen): Don't close old file descriptor
25367         before the new one is opened.  Instead dup the new file descriptor
25368         to the old one after the new stream is created.
25369         * libio/freopen64.c (freopen64): Likewise.
25370         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25371         * libio/fileops.c (_IO_new_file_close_it): Handle new
25372         _IO_FLAGS2_NOCLOSE flag.
25373         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25374         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25375         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25376         _IO_FLAGS2_NOCLOSE flag.
25377         * include/unistd.h: Add hidden_proto for dup3.
25378         Define __have_dup3.
25379         * io/dup3.c: Define hidden symbol.
25380         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25382         [BZ #7101]
25383         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25384         when an incomplete long option is used.
25385         * posix/tst-getopt_long1.c: New file.
25386         * posix/Makefile (tests): Add tst-getopt_long1.
25388         [BZ #10138]
25389         * scripts/config.guess: Update from autoconf-2.68.
25390         * scripts/config.sub: Likewise.
25392         [BZ #10157]
25393         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25394         tests into ...
25395         (has_cpuclock): ...this.  New function.
25396         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25397         macro here based on has_cpuclock code.
25399         [BZ #10149]
25400         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25401         First byte (not low byte) is now always NUL.
25402         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25404         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25405         Use non-cancelable interfaces.
25407         [BZ #9809]
25408         * locale/iso-639.def: Add entry for Sorani.
25410         [BZ #11901]
25411         * include/stdlib.h: Move include protection to the right place.
25412         Define abort_msg_s.  Declare __abort_msg with it.
25413         * stdlib/abort.c (__abort_msg): Adjust type.
25414         * assert/assert.c (__assert_fail_base): New function.  Majority
25415         of code from __assert_fail.  Allocate memory for __abort_msg with
25416         mmap.
25417         (__assert_fail): Now call __assert_fail_base.
25418         * assert/assert-perr.c: Remove bulk of implementation.  Use
25419         __assert_fail_base.
25420         * include/assert.hL Declare __assert_fail_base.
25421         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25422         mmap.
25423         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25425 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
25427         [BZ #11952]
25428         [BZ #12453]
25429         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25430         until all modules are registered in the DTV.
25431         * elf/Makefile: Add rules to build and run tst-tls19.
25432         * elf/tst-tls19.c: New file.
25433         * elf/tst-tls19mod1.c: New file.
25434         * elf/tst-tls19mod2.c: New file.
25435         * elf/tst-tls19mod3.c: New file.
25436         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25438         [BZ #12083]
25439         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25440         correctly.
25442         [BZ #12601]
25443         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25444         two-byte sequence errors.
25445         * iconvdata/Makefile (tests): Add bug-iconv8.
25446         * iconvdata/bug-iconv8.c: New file.
25448         [BZ #12626]
25449         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25450         buf2 definition.
25452         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25454         [BZ #12432]
25455         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25456         (dummy_getcfa): New function.
25457         (init): Get _Unwind_GetCFA address, use dummy if not found.
25458         (backtrace_helper): In recursion check, also check whether CFA changes.
25459         (__backtrace): Completely initialize arg.
25461         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
25462         storing incomplete byte sequence in state object.  Avoid testing for
25463         guaranteed too small input if we know there is enough data available.
25465 2011-05-11  Andreas Schwab  <schwab@redhat.com>
25467         * Makeconfig (+link-pie): Indent.
25468         * Rules (binaries-pie): Define if $(have-fpie) and
25469         $(build-shared).
25470         (binaries-shared): Also filter out $(binaries-pie).
25471         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25472         * nscd/Makefile (others-pie): Add nscd.
25473         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25474         ($(objpfx)nscd): Remove command override.
25475         * login/Makefile (others-pie): Add pt_chown.
25476         ($(objpfx)pt_chown): Remove command override.
25477         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25478         remove command overrides.
25480 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
25482         * libio/tst_putwc.c: Fix error messages.
25484         [BZ #12724]
25485         * libio/fileops.c (_IO_new_file_close_it): Always flush when
25486         currently writing and seek to current position when not.
25487         * libio/Makefile (tests): Add bug-fclose1.
25488         * libio/bug-fclose1.c: New file.
25490 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
25492         [BZ #12511]
25493         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25494         don't set DF_1_NODELETE here.
25495         (do_lookup_x): When entering new entry test for copy relocation
25496         and if necessary set DF_1_NODELETE flag.
25497         * elf/tst-unique4.cc: New file.
25498         * elf/tst-unique4.h: New file.
25499         * elf/tst-unique4lib.cc: New file.
25500         * elf/Makefile: Add rules to build and run tst-unique4.
25501         Patch by Piotr Bury <pbury@goahead.com>.
25503 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
25505         [BZ #12052]
25506         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25508         [BZ #12625]
25509         * misc/mntent_r.c (addmntent): Flush the stream after the output
25511         [BZ #12393]
25512         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25513         (is_trusted_path_normalize): Skip initial colon.  Append slash
25514         to empty buffer.  Duplicate is_trusted_path code but allow
25515         constructed patch to be prefix.
25516         (is_dst): Allow $ORIGIN followed by /.
25517         (_dl_dst_substitute): Correct clearing of check_for_trusted.
25518         Correct testing of result of is_trusted_path_normalize
25519         (decompose_rpath): Fix warning.
25521 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
25523         [BZ #11257]
25524         * grp/initgroups.c (internal_getgrouplist): When we found the service
25525         list through the initgroups entry in nsswitch.conf do not always
25526         continue on a successful lookup.  Don't always use the
25527         __nss_group_database value if it is set.
25528         * nss/nsswitch.conf (initgroups): Change action for successful db
25529         lookup to continue for compatibility.
25531 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
25533         [BZ #11532]
25534         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25535         and CP774 modules.
25536         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25537         and CP774 modules.
25538         * iconvdata/tst-tables.sh: Likewise.
25539         * iconvdata/cp770.c: New file.
25540         * iconvdata/cp771.c: New file.
25541         * iconvdata/cp772.c: New file.
25542         * iconvdata/cp773.c: New file.
25543         * iconvdata/cp774.c: New file.
25544         * iconvdata/testdata/CP770: New file.
25545         * iconvdata/testdata/CP770..UTF8: New file.
25546         * iconvdata/testdata/CP771: New file.
25547         * iconvdata/testdata/CP771..UTF8: New file.
25548         * iconvdata/testdata/CP772: New file.
25549         * iconvdata/testdata/CP772..UTF8: New file.
25550         * iconvdata/testdata/CP773: New file.
25551         * iconvdata/testdata/CP773..UTF8: New file.
25552         * iconvdata/testdata/CP774: New file.
25553         * iconvdata/testdata/CP774..UTF8: New file.
25555         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25556         END CHARMAP line.
25557         * iconvdata/gen-8bit-gap.sh: Likewise.
25558         * iconvdata/gen-8bit.sh: Likewise.
25560         * locale/iso-639.def: Add ary entry.
25562         [BZ #11258]
25563         * locale/C-translit.h.in: Add U20A1 transliteration.
25565         [BZ #12178]
25566         * locale/iso-639.def: Add wae entry.
25567         Patch by Kevin Bortis <bortis@translate-wae.ch>.
25569         [BZ #12545]
25570         * locale/programs/localedef.c (construct_output_path): Use ssize_t
25571         for n.
25573         [BZ #12711]
25574         * locale/C-translit.h.in: Add entry for U20B9.
25575         Patch by pravin.d.s@gmail.com.
25577 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
25579         [BZ #12713]
25580         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25581         ENAMETOOLONG use generic getcwd.
25582         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
25583         in rtld.  Use *stat64.
25584         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
25585         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
25586         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
25587         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25588         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25589         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25590         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25591         __fstatat64 macros.
25592         * include/dirent.h: Add libc_hidden_proto for rewinddir.
25593         * dirent/rewinddir.c: Add libc_hidden_def.
25594         * sysdeps/mach/hurd/rewinddir.c: Likewise.
25595         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
25597         * include/dirent.h (__alloc_dir): Add flags parameter.
25598         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25599         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25600         __alloc_dir.
25601         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
25602         from fdopendir if O_CLOEXEC is already set.
25604 2011-03-15  Alan Modra  <amodra@gmail.com>
25606         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25607         l_tls_firstbyte_offset non-zero.  Save padding offset in
25608         l_tls_firstbyte_offset for later use.
25609         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25610         freeing static tls block.
25612 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
25614         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25615         where #ifdef was intended.  The intent is to prevent ARG_MAX from
25616         being defined by the kernel headers.
25618 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
25620         [BZ #12734]
25621         * resolv/resolv.h: Define RES_NOTLDQUERY.
25622         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25623         no-tld-query and set RES_NOTLDQUERY.
25624         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25625         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25626         modern BIND to search name as TLD unless forbidden.
25628 2011-05-07  Petr Baudis  <pasky@suse.cz>
25629             Ulrich Drepper  <drepper@gmail.com>
25631         [BZ #12393]
25632         * elf/dl-load.c (fillin_rpath): Move trusted path check...
25633         (is_trusted_path): ...to here.
25634         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
25635         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
25636         using is_trusted_path_normalize() in setuid scripts.
25638 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25640         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25641         __BEGIN/__END_DECLS.
25643 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
25645         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25646         NSS_STATUS_NOTFOUND if no record was found.
25648 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25650         * sunrpc/Makefile (headers): Add rpc/netdb.h.
25651         (headers-not-in-tirpc): Remove rpc/netdb.h
25652         * resolv/netdb.h: Revert last change.
25654 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25656         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25657         circular dependency between libgcc.a and libc.a.
25659 2011-05-05  Andreas Schwab  <schwab@redhat.com>
25661         * resolv/netdb.h: Don't include <rpc/netdb.h>.
25662         * nis/Makefile: Don't install rpcsvc/*.
25663         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25664         instead of <rpc/types.h>.
25665         (MAXHOSTNAMELEN): Define.
25667 2011-05-03  Andreas Schwab  <schwab@redhat.com>
25669         * elf/ldconfig.c (add_dir): Don't crash on empty path.
25671 2011-04-28  Maciej Babinski  <mbabinski@google.com>
25673         [BZ #12714]
25674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25675         gethostbyname4_r when IPv6 results are possible.
25677 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
25679         [BZ #12723]
25680         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25681         _PC_PIPE_BUF handling.
25683 2011-04-30  Bruno Haible  <bruno@clisp.org>
25685         [BZ #12717]
25686         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25687         * resolv/netdb.h (getnameinfo): Change type of flags parameter
25688         to 'int'.
25689         * inet/getnameinfo.c (getnameinfo): Likewise.
25691 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
25693         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25694         to groups setting in database lookup.
25695         * nss/nsswitch.conf: Add initgroups entry.
25697 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
25699         [BZ #12685]
25700         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25701         mode string.
25702         Patch by Eric Blake <eblake@redhat.com>.
25704 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
25706         * sunrpc/Makefile (need-export-routines): Add svc_run.
25707         (routines): Remove svc_run.
25708         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25709         * sunrpc/clnt_perr.c (clnt_perrno): Export.
25710         * sunrpc/svc_run.c (svc_run): Likewise.
25711         * sunrpc/svc_udp.c (svcudp_create): Likewise.
25713 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
25715         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25716         problem in reallocation in last patch.
25718 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
25720         * sunrpc/Makefile: Move inclusion of Rules.
25722 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25724         * nss/nss_files/files-initgroups.c: New file.
25725         * nss/Makefile (libnss_files-routines): Add files-initgroups.
25726         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25727         _nss_files_initgroups_dyn.
25729 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
25731         * elf/elf.h (R_ARM_IRELATIVE): Define.
25733 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
25735         * po/ru.po: Update from translation team.
25737 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25739         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25740         dependencies.
25742 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
25744         [BZ #12653]
25745         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25746         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25747         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25748         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25749         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25751 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
25753         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25754         differing bytes.
25755         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25756         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25757         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25759 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
25761         [BZ #12420]
25762         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25763         storing it.
25764         * stdlib/bug-getcontext.c: New file.
25765         * stdlib/Makefile: Add rules to build and run bug-getcontext.
25767 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25769         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25770         instructions into .machine "z9-109".
25771         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25772         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25774 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25776         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25777         between environment variables and auxiliary vector.
25779 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
25781         * Makefile: Add rules to build linkobj/libc.so.
25782         * include/libc-symbols.h: Define libc_hidden_nolink.
25783         * include/rpc/auth.h: Mark functions which are to be hidden.
25784         * include/rpc/auth_des.h: Likewise.
25785         * include/rpc/auth_unix.h: Likewise.
25786         * include/rpc/clnt.h: Likewise.
25787         * include/rpc/des_crypt.h: Likewise.
25788         * include/rpc/key_prot.h: Likewise.
25789         * include/rpc/pmap_clnt.h: Likewise.
25790         * include/rpc/pmap_prot.h: Likewise.
25791         * include/rpc/pmap_rmt.h: Likewise.
25792         * include/rpc/rpc_msg.h: Likewise.
25793         * include/rpc/svc.h: Likewise.
25794         * include/rpc/svc_auth.h: Likewise.
25795         * include/rpc/xdr.h: Likewise.
25796         * nis/Makefile: Link all DSOs against linkobj/libc.so.
25797         * nss/Makefile: Likewise.
25798         * sunrpc/Makefile: Don't install headers.  Build library with normal
25799         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
25800         * sunrpc/auth_des.c: Hide exported symbols by default, export some
25801         for the compat linking library.  Remove use of INTDEF/INTUSE.
25802         * sunrpc/auth_none.c: Likewise.
25803         * sunrpc/auth_unix.c: Likewise.
25804         * sunrpc/authdes_prot.c: Likewise.
25805         * sunrpc/authuxprot.c: Likewise.
25806         * sunrpc/clnt_gen.c: Likewise.
25807         * sunrpc/clnt_perr.c: Likewise.
25808         * sunrpc/clnt_raw.c: Likewise.
25809         * sunrpc/clnt_simp.c: Likewise.
25810         * sunrpc/clnt_tcp.c: Likewise.
25811         * sunrpc/clnt_udp.c: Likewise.
25812         * sunrpc/clnt_unix.c: Likewise.
25813         * sunrpc/des_crypt.c: Likewise.
25814         * sunrpc/des_soft.c: Likewise.
25815         * sunrpc/get_myaddr.c: Likewise.
25816         * sunrpc/key_call.c: Likewise.
25817         * sunrpc/key_prot.c: Likewise.
25818         * sunrpc/netname.c: Likewise.
25819         * sunrpc/pm_getmaps.c: Likewise.
25820         * sunrpc/pm_getport.c: Likewise.
25821         * sunrpc/pmap_clnt.c: Likewise.
25822         * sunrpc/pmap_prot.c: Likewise.
25823         * sunrpc/pmap_prot2.c: Likewise.
25824         * sunrpc/pmap_rmt.c: Likewise.
25825         * sunrpc/publickey.c: Likewise.
25826         * sunrpc/rpc_cmsg.c: Likewise.
25827         * sunrpc/rpc_common.c: Likewise.
25828         * sunrpc/rpc_dtable.c: Likewise.
25829         * sunrpc/rpc_prot.c: Likewise.
25830         * sunrpc/rpc_thread.c: Likewise.
25831         * sunrpc/rtime.c: Likewise.
25832         * sunrpc/svc.c: Likewise.
25833         * sunrpc/svc_auth.c: Likewise.
25834         * sunrpc/svc_authux.c: Likewise.
25835         * sunrpc/svc_raw.c: Likewise.
25836         * sunrpc/svc_run.c: Likewise.
25837         * sunrpc/svc_simple.c: Likewise.
25838         * sunrpc/svc_tcp.c: Likewise.
25839         * sunrpc/svc_udp.c: Likewise.
25840         * sunrpc/svc_unix.c: Likewise.
25841         * sunrpc/svcauth_des.c: Likewise.
25842         * sunrpc/xcrypt.c: Likewise.
25843         * sunrpc/xdr.c: Likewise.
25844         * sunrpc/xdr_array.c: Likewise.
25845         * sunrpc/xdr_float.c: Likewise.
25846         * sunrpc/xdr_intXX_t.c: Likewise.
25847         * sunrpc/xdr_mem.c: Likewise.
25848         * sunrpc/xdr_rec.c: Likewise.
25849         * sunrpc/xdr_ref.c: Likewise.
25850         * sunrpc/xdr_sizeof.c: Likewise.
25851         * sunrpc/xdr_stdio.c: Likewise.
25853 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
25855         [BZ #12650]
25856         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25857         * sysdeps/ia64/dl-tls.h: Likewise.
25858         * sysdeps/powerpc/dl-tls.h: Likewise.
25859         * sysdeps/s390/dl-tls.h: Likewise.
25860         * sysdeps/sh/dl-tls.h: Likewise.
25861         * sysdeps/sparc/dl-tls.h: Likewise.
25862         * sysdeps/x86_64/dl-tls.h: Likewise.
25863         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25865 2011-03-14  Andreas Schwab  <schwab@redhat.com>
25867         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25868         rpath element also skip the following colon.
25869         (expand_dynamic_string_token): Add is_path parameter and pass
25870         down to DL_DST_REQUIRED and _dl_dst_substitute.
25871         (decompose_rpath): Call expand_dynamic_string_token with
25872         non-zero is_path.  Ignore empty rpaths.
25873         (_dl_map_object_from_fd): Call expand_dynamic_string_token
25874         with zero is_path.
25876 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
25878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25879         Make cancelable.
25881 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
25883         [BZ #12655]
25884         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25885         Patch by Filipe David Manana <fdmanana@apache.org>.
25887 2011-04-07  Andreas Schwab  <schwab@redhat.com>
25889         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25890         Maintain aligned stack.
25891         (CHECK_RSP): Remove unused macro.
25893 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
25895         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25896         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25898 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
25900         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25902         * include/features.h: Mention __USE_XOPEN2K8 in comment.
25904 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
25906         [BZ #12518]
25907         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25908         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25909         * sysdeps/x86_64/memmove.c: New file.
25910         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25911         (memcpy): Renamed to ...
25912         (__new_memcpy): This.
25913         (memcpy): Provide GLIBC_2_14 memcpy.
25914         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25915         (memcpy): Provide GLIBC_2_2_5 memcpy.
25917 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25919         [BZ #12631]
25920         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25922 2011-03-30  Andreas Schwab  <schwab@redhat.com>
25924         * misc/syncfs.c: New file.
25925         * misc/Makefile (routines): Add syncfs.
25926         * posix/unistd.h: Declare syncfs.
25927         * sysdeps/unix/syscalls.list: Add syncfs.
25929 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25931         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25932         open_by_handle_at.
25933         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25934         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25935         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25936         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25938         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25939         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25941 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25943         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25944         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25945         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25946         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25947         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25948         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25949         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25951         * io/Makefile: Compile fallocate.c, fallocate64.c, and
25952         sync_file_range.c with -fexceptions.
25953         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25954         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25955         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25956         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25957         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25958         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25959         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
25960         sync_file_range as cancellation point
25961         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
25962         now a wrapper around __call_sync_file_range with cancellation handling.
25963         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25964         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
25965         function name to __call_sync_file_range.
25966         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25967         Add call_sync_file_range.
25969 2011-04-01  Andreas Schwab  <schwab@redhat.com>
25971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25972         bits/timex.h.
25974 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
25976         * iconv/iconv.h: Fix typo in comment.
25977         * io/fcntl.h: Likewise.
25978         * libio/stdio.h: Likewise.
25979         * posix/spawn.h: Likewise.
25980         * posix/unistd.h: Likewise.
25981         * stdlib/stdlib.h: Likewise.
25982         * time/time.h: Likewise.
25983         * wcsmbs/wchar.h: Likewise.
25985         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25986         open_by_handle): Add.
25987         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25988         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
25989         Augment a few comments.
25990         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25991         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25992         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25993         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25994         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25995         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25996         open_by_handle.
25998         * io/fcntl.h (AT_EMPTY_PATH): Define.
26000 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
26002         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26003         * sysdeps/unix/sysv/linux/bits/time.h: New file.
26004         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26005         to...
26006         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
26007         * Versions.def: Add GLIBC_2.14.
26008         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26009         Export.
26011 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
26013         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26014         round counter.
26015         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26017 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26019         [BZ #12597]
26020         * string/test-strncmp.c (do_page_test): New function.
26021         (check2): Likewise.
26022         (test_main): Call check2.
26023         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26025 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
26027         [BZ #12587]
26028         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26029         Handle cache information in CPU leaf 4.
26030         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26032 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
26034         [BZ #12583]
26035         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26036         character representation.
26037         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26039 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
26041         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26042         END(__isnan) to END(__isnanf) to match function entry point/label
26043         EALIGN(__isnanf,...).
26045 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
26047         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26049 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
26051         [BZ #12510]
26052         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26053         copy from the symbol referenced in the relocation to initialize the
26054         used variable.
26055         Patch by Piotr Bury <pbury@goahead.com>.
26056         * elf/Makefile: Add rules to build and tst-unique3.
26057         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26058         * elf/tst-unique3.cc: New file.
26059         * elf/tst-unique3.h: New file.
26060         * elf/tst-unique3lib.cc: New file.
26061         * elf/tst-unique3lib2.cc: New file.
26063         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26065 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
26067         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26068         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
26069         to _start.
26071 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
26073         * elf/dl-load.c (_dl_map_object): If we are looking for the first
26074         to-be-loaded object along a path to loader is ld.so.
26076 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26077             Ulrich Drepper  <drepper@gmail.com>
26079         * sysdeps/x86_64/memset.S: After aligning destination, code
26080         branches to different locations depending on the value of
26081         misalignment, when multiarch is enabled. Fix this.
26083 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
26085         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26086         Set _x86_64_preferred_memory_instruction for AMD processsors.
26087         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26088         Set bit_Prefer_SSE_for_memop for AMD processors.
26090 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
26092         * libio/fmemopen.c (fmemopen): Optimize a bit.
26094 2011-03-03  Andreas Schwab  <schwab@redhat.com>
26096         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26098 2011-03-03  Roland McGrath  <roland@redhat.com>
26100         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26102 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
26104         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
26105         __bzero_ultra1 instead of __memset_ultra1.
26107 2011-02-23  Andreas Schwab  <schwab@redhat.com>
26108             Ulrich Drepper  <drepper@gmail.com>
26110         [BZ #12509]
26111         * include/link.h (struct link_map): Add l_orig_initfini.
26112         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26113         returning unsuccessfully.
26114         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26115         close of a file loaded at startup, restore the original l_initfini
26116         list.
26117         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26118         list, store the pointer.
26119         * elf/Makefile ($(objpfx)noload-mem): New rule.
26120         (noload-ENV): Define.
26121         (tests): Add $(objpfx)noload-mem.
26122         * elf/noload.c: Include <memcheck.h>.
26123         (main): Call mtrace.  Close all opened handles.
26125 2011-02-17  Andreas Schwab  <schwab@redhat.com>
26127         [BZ #12454]
26128         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26129         dependencies are missing.
26131 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26133         Fix __if_freereq crash: Unlike the generic version which uses free,
26134         Hurd needs munmap.
26135         * sysdeps/mach/hurd/ifreq.h: New file.
26137 2011-01-27  Petr Baudis  <pasky@suse.cz>
26138             Ulrich Drepper  <drepper@gmail.com>
26140         [BZ 12445]#
26141         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26142         to extend_alloca().
26143         * stdio-common/bug23.c: New file.
26144         * stdio-common/Makefile (tests): Add bug23.
26146 2010-09-28  Andreas Schwab  <schwab@redhat.com>
26147             Ulrich Drepper  <drepper@gmail.com>
26149         [BZ #12489]
26150         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26151         before performing relro protection.  At old place add assertion
26152         to make sure nothing changed.
26154 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
26155             Glauber de Oliveira Costa  <glommer@gmail.com>
26157         * elf/elf.h: Add new ARM TLS relocs.
26159 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
26161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26162         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26163         cast from r3.
26164         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
26165         'tests' variable.
26166         * sysdeps/wordsize-64/tst-writev.c: New file.
26168 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
26170         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26171         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26172         insns in _dl_start to prevent a TOC reference before relocs are
26173         resolved.
26175 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
26177         [BZ #12469]
26178         * Makeconfig: Remove RANLIB definition.
26179         * Makerules: Don't use RANLIB.
26180         * aclocal.m4: Remove ranlib test.
26181         * configure.in: No need to check for ranlib.
26182         * elf/rtld-Rules: Don't use RANLIB.
26184 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26186         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26187         protection macro.
26188         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26189         inclusion protection macro.
26191         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26192         SIGRTMIN and SIGRTMAX and print information in that case only when
26193         SIGRTMIN is defined.
26195 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
26197         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26198         arginfo fn returning -1.
26200         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26201         and thousands string is zero terminated.
26203 2011-02-03  Andreas Schwab  <schwab@redhat.com>
26205         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26206         sysdeps/unix/sysv/linux/bits/socket.h.
26208 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26210         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26211         (__CPU_COUNT): Remove old macros.
26212         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26213         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26214         (__CPU_ALLOC, __CPU_FREE): Add macros.
26215         (__sched_cpualloc, __sched_cpufree): Add declarations.
26217 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
26219         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26220         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26221         * nscd/aicache.c (addhstaiX): Return timeout of added value.
26222         (readdhstai): Return value of addhstaiX call.
26223         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26224         (addgrbyX): Return value returned by cache_addgr.
26225         (readdgrbyname): Return value returned by addgrbyX.
26226         (readdgrbygid): Likewise.
26227         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26228         (addpwbyX): Return value returned by cache_addpw.
26229         (readdpwbyname): Return value returned by addhstbyX.
26230         (readdpwbyuid): Likewise.
26231         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26232         (addservbyX): Return value returned by cache_addserv.
26233         (readdservbyname): Return value returned by addservbyX:
26234         (readdservbyport): Likewise.
26235         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26236         (addhstbyX): Return value returned by cache_addhst.
26237         (readdhstbyname): Return value returned by addhstbyX.
26238         (readdhstbyaddr): Likewise.
26239         (readdhstbynamev6): Likewise.
26240         (readdhstbyaddrv6): Likewise.
26241         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26242         (readdinitgroups): Return value returned by addinitgroupsX.
26243         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26244         (prune_cache): Keep track of timeout value of re-added entries.
26245         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26246         * nscd/nscd.h: Adjust prototypes of readd* functions.
26248 2011-02-04  Roland McGrath  <roland@redhat.com>
26250         * nis/nis_server.c (nis_servstate): Use the right name for 0.
26251         (nis_stats): Likewise.
26252         * nis/nis_modify.c (nis_modify): Likewise.
26253         * nis/nis_remove.c (nis_remove): Likewise.
26254         * nis/nis_add.c (nis_add): Likewise.
26256         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26258         * posix/fnmatch_loop.c: Add some consts.
26260         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26262 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
26264         [BZ #12460]
26265         * config.make.in (config-cflags-novzeroupper): Define.
26266         * configure.in: Substitute libc_cv_cc_novzeroupper.
26267         * elf/Makefile (AVX-CFLAGS): Define.
26268         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26269         (CFLAGS-tst-auditmod4a.c): Likewise.
26270         (CFLAGS-tst-auditmod4b.c): Likewise.
26271         (CFLAGS-tst-auditmod6b.c): Likewise.
26272         (CFLAGS-tst-auditmod6c.c): Likewise.
26273         (CFLAGS-tst-auditmod7b.c): Likewise.
26274         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26276 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
26278         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26279         function to the callback.
26280         Patch partly by Jiri Olsa <jolsa@redhat.com>.
26282 2011-02-02  Andreas Schwab  <schwab@redhat.com>
26284         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26285         of errno.
26287 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
26289         [BZ #11724]
26290         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26291         of constructors.
26292         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26293         of destructors.
26294         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26296         [BZ #11724]
26297         * elf/Makefile: Add rules to build and run new test.
26298         * elf/tst-initorder.c: New file.
26299         * elf/tst-initorder.exp: New file.
26300         * elf/tst-initordera1.c: New file.
26301         * elf/tst-initordera2.c: New file.
26302         * elf/tst-initordera3.c: New file.
26303         * elf/tst-initordera4.c: New file.
26304         * elf/tst-initorderb1.c: New file.
26305         * elf/tst-initorderb2.c: New file.
26306         * elf/tst-order-a1.c: New file.
26307         * elf/tst-order-a2.c: New file.
26308         * elf/tst-order-a3.c: New file.
26309         * elf/tst-order-a4.c: New file.
26310         * elf/tst-order-b1.c: New file.
26311         * elf/tst-order-b2.c: New file.
26312         * elf/tst-order-main.c: New file.
26313         New test case by George Gensure <werkt0@gmail.com>.
26315 2010-10-01  Andreas Schwab  <schwab@redhat.com>
26317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26318         decoding ACE if AI_CANONIDN.
26320 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
26322         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26324 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
26326         * version.h (RELEASE): Bump for 2.13 release.
26327         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26329         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26331         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26332         MADV_NOHUGEPAGE.
26333         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26334         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26335         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26336         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26337         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26338         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26340         * posix/getconf.c: Update copyright year.
26341         * catgets/gencat.c: Likewise.
26342         * csu/version.c: Likewise.
26343         * debug/catchsegv.sh: Likewise.
26344         * debug/xtrace.sh: Likewise.
26345         * elf/ldconfig.c: Likewise.
26346         * elf/ldd.bash.in: Likewise.
26347         * elf/sprof.c (print_version): Likewise.
26348         * iconv/iconv_prog.c: Likewise.
26349         * iconv/iconvconfig.c: Likewise.
26350         * locale/programs/locale.c: Likewise.
26351         * locale/programs/localedef.c: Likewise.
26352         * malloc/memusage.sh: Likewise.
26353         * malloc/mtrace.pl: Likewise.
26354         * nscd/nscd.c (print_version): Likewise.
26355         * nss/getent.c: Likewise.
26357         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26358         PF_CAIF, and PF_ALG.
26359         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26361 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
26363         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26364         (modules-names): Use them.
26365         (ifunc-test-modules, ifunc-pie-tests): Define.
26366         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26367         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26368         (test-extras): Likewise.
26369         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26370         $(compile-command.c).
26371         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26372         (all-built-dso): Define.
26373         (check-textrel.out, check-execstack.out): Depend on it.
26375         * configure.in: Don't override --enable-multi-arch.
26377 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
26379         [BZ #6812]
26380         * nscd/hstcache.c (tryagain): Define.
26381         (cache_addhst): Return tryagain not notfound for temporary errors.
26382         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26383         failed.
26385 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
26387         [BZ #10563]
26388         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26389         to make the syscall.
26390         * sysdeps/unix/sysv/linux/setgroups.c: New file.
26392         [BZ #12378]
26393         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26394         and fall back to matching as normal character if the string ends before
26395         the matching ']' is found.  This is what POSIX requires.
26396         * posix/testfnm.c: Adjust test result.
26397         * posix/globtest.sh: Adjust test result.  Add new test.
26398         * posix/tst-fnmatch.input: Likewise.
26399         * posix/tst-fnmatch2.c: Add new test.
26401 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
26403         * elf/Makefile (check-execstack): Revert last change.  Depend on
26404         check-execstack.h.
26405         (check-execstack.h): New target.
26406         (generated): Add check-execstack.h.
26407         * elf/check-execstack.c: Include "check-execstack.h".
26408         (main): Revert last change.
26409         (handle_file): Return zero if GNU_STACK is absent and
26410         DEFAULT_STACK_PERMS doesn't include PF_X.
26412 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
26414         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26415         in child fails because the descriptor is already closed.
26416         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26417         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26418         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
26420         [BZ #12397]
26421         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26422         syscall.
26424         [BZ #10484]
26425         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26426         temporary buffer used to handle multi lookups locally.
26427         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
26429 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26431         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26432         loader is ld.so.
26434 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
26436         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26437         alignment for SSE2.
26439 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
26441         [BZ #12394]
26442         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26443         characters.  When rounding increased number of integer digits recompute
26444         number of groups.
26445         * stdio-common/tst-grouping.c: New file.
26446         * stdio-common/Makefile: Add rules to build and run tst-grouping.
26448 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
26450         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26451         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
26453         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26454         void.
26455         * bits/select.h: Likewise.
26457 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
26459         * po/ja.po: Update from translation team.
26461 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
26463         [BZ #11155]
26464         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26465         implementation just like for lxstat, fxstatat, et al.
26467 2010-12-27  Jim Meyering  <meyering@redhat.com>
26469         [BZ #12348]
26470         * posix/regexec.c (build_trtable): Return failure indication upon
26471         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
26473 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
26475         [BZ #12201]
26476         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26477         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26478         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26479         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26481         [BZ #12207]
26482         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26484         [BZ #12204]
26485         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26486         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26488 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
26490         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26491         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26492         script has SORT_BY_INIT_PRIORITY.
26493         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26494         NO_CTORS_DTORS_SECTIONS is defined.
26495         * elf/soinit.c: Likewise.
26496         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26497         NO_CTORS_DTORS_SECTIONS is defined.
26498         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26499         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26500         * sysdeps/sh/init-first.c: Likewise.
26501         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26503 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
26505         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26506         always use the slow path.
26508 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
26510         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26511         similar rule which adds the sysdep directories to the header search in
26512         order to pick up the correct platform stackinfo.h.
26513         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26514         perform test if it is, otherwise return successfully without testing.
26515         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26516         DEFAULT_STACK_PERMS define in stackinfo.h.
26517         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26518         defined in stackinfo.h.
26519         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26520         DEFAULT_STACK_PERMS defined in stackinfo.h.
26521         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26522         * sysdeps/ia64/stackinfo.h: Likewise.
26523         * sysdeps/s390/stackinfo.h: Likewise.
26524         * sysdeps/sh/stackinfo.h: Likewise.
26525         * sysdeps/sparc/stackinfo.h: Likewise.
26526         * sysdeps/x86_64/stackinfo.h: Likewise.
26527         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26528         PF_X for powerpc64.  Retain PF_X for powerpc32.
26530 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
26532         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26533         accurately.
26534         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26535         GETDENTS_64BIT_ALIGNED.
26537 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
26539         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
26541 2010-12-10  Andreas Schwab  <schwab@redhat.com>
26543         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26544         _GNU_SOURCE.
26546         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26547         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26548         Remove __restrict.
26549         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26550         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26552 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
26554         [BZ #11655]
26555         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26556         are initialized.
26558 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
26560         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26562 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
26564         * po/it.po: Update from translation team.
26566 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26568         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26569         unused codes.
26571 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
26573         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26575 2010-11-24  Andreas Schwab  <schwab@redhat.com>
26577         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26578         specially.
26579         (gaih_getanswer_slice): Likewise.
26581 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
26583         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26585 2010-05-31  Petr Baudis  <pasky@suse.cz>
26587         [BZ #11149]
26588         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26589         silently even in the chroot mode.
26591 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
26593         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26594         last patch a bit.  Pretty printing
26596 2010-05-31  Petr Baudis <pasky@suse.cz>
26598         [BZ #10085]
26599         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26600         initialization of skip_initgroups_dyn.
26602 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
26604         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26605         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26607 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
26609         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26611 2010-11-11  Andreas Schwab  <schwab@redhat.com>
26613         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26614         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26615         (tst-fnmatch-ENV): Set MALLOC_TRACE.
26616         ($(objpfx)tst-fnmatch-mem): New rule.
26617         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26618         * posix/tst-fnmatch.c (main): Call mtrace.
26620 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
26622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26623         Support Intel processor model 6 and model 0x2c.
26625 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
26627         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26628           signed comparison.
26630 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
26632         [BZ #12205]
26633         * string/test-strncasecmp.c (check_result): New function.
26634         (do_one_test): Use it.
26635         (check1): New function.
26636         (test_main): Use it.
26637         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26638         Support strcasecmp and strncasecmp.
26640 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
26642         [BZ #12194]
26643         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26644         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26646 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26648         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26649         IFUNC support.
26650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26651         memset-x86-64.
26652         * sysdeps/x86_64/multiarch/bzero.S: New file.
26653         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26654         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26655         * sysdeps/x86_64/multiarch/memset.S: New file.
26656         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26658         Set bit_Prefer_SSE_for_memop for Intel processors.
26659         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26660         Define.
26661         (index_Prefer_SSE_for_memop): Define.
26662         (HAS_PREFER_SSE_FOR_MEMOP): Define.
26664 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
26666         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26667         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26669 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
26671         [BZ #12191]
26672         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26673         (__x86_64_raw_data_cache_size_half): Likewise.
26674         (__x86_64_raw_shared_cache_size): Likewise.
26675         (__x86_64_raw_shared_cache_size_half): Likewise.
26677         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26678         (__x86_64_raw_data_cache_size_half): Likewise.
26679         (__x86_64_raw_shared_cache_size): Likewise.
26680         (__x86_64_raw_shared_cache_size_half): Likewise.
26681         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26682         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26683         and __x86_64_raw_shared_cache_size_half.  Round
26684         __x86_64_data_cache_size_half, __x86_64_data_cache_size
26685         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26686         to multiple of 256 bytes.
26688 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
26690         [BZ #12167]
26691         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26692         of inacessible symlinks.  Verify result of symlink before returning it.
26693         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26694         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26696 2010-10-28  Erich Ritz  <erichritz@gmail.com>
26698         * math/math.h (isinf): Fix typo in comment.
26700 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
26702         * po/da.po: Update from translation team.
26704 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
26706         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26707         is added to the list.
26709 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26710             Ulrich Drepper  <drepper@gmail.com>
26712         * elf/dl-object.c (_dl_new_object): Don't append the new object to
26713         the global list here.  Move code to...
26714         (_dl_add_to_namespace_list): ...here.  New function.
26715         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26716         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26717         * elf/dl-load.c (lose): Don't remove the element from the list.
26718         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26719         (_dl_map_object): Likewise.
26721 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
26723         [BZ #12159]
26724         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26725         into all bytes of SSE register.
26726         Patch by Richard Li <richardpku@gmail.com>.
26728 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
26730         [BZ #12140]
26731         * malloc/malloc.c (_int_free): Fill correct number of bytes when
26732         perturbing.
26734 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
26736         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26737         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26738         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26739         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26741         submachine.
26742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26744 2010-10-22  Andreas Schwab  <schwab@redhat.com>
26746         * include/dlfcn.h (__RTLD_SECURE): Define.
26747         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
26748         mode & __RTLD_SECURE instead.
26749         (open_path): Rename preloaded parameter to secure.
26750         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26751         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26752         * elf/dl-deps.c (openaux): Likewise.
26753         * elf/rtld.c (struct map_args): Remove is_preloaded.
26754         (map_doit): Don't use it.
26755         (dl_main): Likewise.
26756         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26757         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26759 2010-09-09  Andreas Schwab  <schwab@redhat.com>
26761         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26762         (sysd-rules-targets): Remove duplicates.
26763         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26764         rtld-%.$o dependency.
26766 2010-10-18  Andreas Schwab  <schwab@redhat.com>
26768         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26769         _dl_map_object do it.
26771 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
26773         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26774         fast fma builtins, define the macros in the C99 standard.
26775         (FP_FAST_FMAF): Likewise.
26776         (FP_FAST_FMAL): Likewise.
26777         * sysdeps/x86_64/bits/mathdef.h: Likewise.
26779         * bits/mathdef.h: Update copyright year.
26780         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26782 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
26784         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26785         builtins, define the macros in the C99 standard.
26786         (FP_FAST_FMAF): Likewise.
26787         (FP_FAST_FMAL): Likewise.
26788         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26789         multiply/add.
26790         (FP_FAST_FMAF): Likewise.
26792 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
26794         [BZ #3268]
26795         * math/libm-test.inc (fma_test): Some new testcases.
26796         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26797         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26798         y and infinite z.  Do multiplication by C already in long double.
26799         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26800         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26801         y and infinite z.  Do bitwise or of inexact bit into u.d.
26802         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26803         * sysdeps/i386/fpu/s_fmaf.S: Removed.
26804         * sysdeps/i386/fpu/s_fma.S: Removed.
26805         * sysdeps/i386/fpu/s_fmal.S: Removed.
26807 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
26809         [BZ #3268]
26810         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26811         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26812         computation is not scheduled after fetestexcept.  Fix value
26813         of minimum denormal long double.
26815 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
26817         [BZ #3268]
26818         * math/libm-test.inc (fma_test): Add some more tests.
26819         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26820         correctly.
26822 2010-10-15  Andreas Schwab  <schwab@redhat.com>
26824         * scripts/data/localplt-s390-linux-gnu.data: New file.
26825         * scripts/data/localplt-s390x-linux-gnu.data: New file.
26827 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
26829         [BZ #3268]
26830         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26831         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26832         instead of dbl-64.
26833         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26834         inlines.
26835         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26836         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26837         if one of x and y is very large and the other is subnormal.
26838         * sysdeps/s390/fpu/s_fmaf.c: New file.
26839         * sysdeps/s390/fpu/s_fma.c: New file.
26840         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26841         * sysdeps/powerpc/fpu/s_fma.S: New file.
26842         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26843         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26844         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26846 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
26848         [BZ #3268]
26849         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26850         fma tests.
26851         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26852         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26853         * sysdeps/i386/i686/multiarch/s_fma.c: Include
26854         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26855         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26856         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26857         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26859 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
26861         [BZ #12078]
26862         * posix/regcomp.c (parse_branch): One more memory leak plugged.
26863         * posix/bug-regex31.input: Add test case.
26865 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26867         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26868         * posix/bug-regex31.input: New file.
26870         [BZ #12078]
26871         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26872         (parse_sub_exp): Fix last change, use postorder.
26874         * posix/bug-regex31.c: New file.
26875         * posix/Makefile: Add rules to build and run bug-regex31.
26877         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26879         [BZ #12078]
26880         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26882         [BZ #12108]
26883         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26884         to have entries in sys_siglist.
26886         [BZ #12093]
26887         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26888         be NULL.
26890 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
26892         [BZ #3268]
26893         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26894         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26895         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26896         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26897         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26898         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26899         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26900         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26901         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26902         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26903         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26904         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26905         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26906         * math/ftestexcept.c (fetestexcept): Likewise.
26907         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26908         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26909         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26910         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26911         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26912         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26913         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26915 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
26917         [BZ #12107]
26918         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26919         newline.
26921 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
26923         * string/bug-strstr1.c: New file.
26924         * string/Makefile: Add rules to build and run bug-strstr1.
26926 2010-10-05  Eric Blake  <eblake@redhat.com>
26928         [BZ #12092]
26929         * string/str-two-way.h (two_way_long_needle): Always clear memory
26930         when skipping input due to the shift table.
26932 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
26934         [BZ #12005]
26935         * malloc/mcheck.c: Handle large requests.
26937         [BZ #12077]
26938         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26939         for strncmp and strncasecmp.
26940         * string/stratcliff.c: Add tests for strcmp and strncmp.
26941         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26943 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
26945         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26946         __set_fpscr.
26948 2010-09-30  Andreas Jaeger  <aj@suse.de>
26950         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26951         (CGROUP_SUPER_MAGIC): Define.
26952         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26953         Handle btrfs and cgroup file systems.
26954         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26955         Likewise.
26957 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
26959         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26960         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26962 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26964         [BZ #12067]
26965         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26966         trying to locate the ELF header.
26968 2010-09-27  Andreas Schwab  <schwab@redhat.com>
26970         [BZ #11611]
26971         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26972         Mask out sign-bit copies when constructing f_fsid.
26974 2010-09-24  Petr Baudis <pasky@suse.cz>
26976         * debug/stack_chk_fail_local.c: Add missing licence exception.
26977         * debug/warning-nop.c: Likewise.
26979 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
26981         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26982         implementing getdents64 using getdents syscall, set d_type if
26983         __ASSUME_GETDENTS32_D_TYPE.
26985 2010-09-16  Andreas Schwab  <schwab@redhat.com>
26987         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26988         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26990 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
26992         [BZ #12037]
26993         * posix/unistd.h: Undo change of feature selection for ftruncate from
26994         2010-01-11.
26996 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
26998         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
26999         detection.
27001 2010-09-20  Andreas Schwab  <schwab@redhat.com>
27003         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27004         fanotify_mark.
27005         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27007 2010-09-14  Andreas Schwab  <schwab@redhat.com>
27009         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27010         variables after CHECK_SP call.
27011         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27013 2010-09-13  Andreas Schwab  <schwab@redhat.com>
27014             Ulrich Drepper  <drepper@redhat.com>
27016         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27017         re-relocationg ld.so.
27018         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27019         _dl_init_paths call.
27020         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
27021         here anymore.
27023 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
27025         * resolv/res_init.c (__res_vinit): Count the default server we added.
27027 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
27028             Ulrich Drepper  <drepper@redhat.com>
27030         [BZ #11968]
27031         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27032         (____longjmp_chk): Use %ebx for saving value across system call.
27033         Add unwind info.
27035 2010-09-06  Andreas Schwab  <schwab@redhat.com>
27037         * manual/Makefile: Don't mix pattern rules with normal rules.
27039 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27041         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27042         operation.
27043         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27044         * libio/iofopncook.c (_IO_cookie_init): Likewise.
27045         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27046         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27047         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27048         Likewise.
27050 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
27052         [BZ #11979]
27053         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27054         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27056 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
27058         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27059         * sysdeps/x86_64/addmul_1.S: Likewise.
27060         * sysdeps/x86_64/lshift.S: Likewise.
27061         * sysdeps/x86_64/mul_1.S: Likewise.
27062         * sysdeps/x86_64/rshift.S: Likewise.
27063         * sysdeps/x86_64/sub_n.S: Likewise.
27064         * sysdeps/x86_64/submul_1.S: Likewise.
27066 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27068         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27069         Define __sched_param instead of SCHED_* and sched_param when
27070         <bits/sched.h> is included with __need_schedparam defined.
27071         * bits/sched.h [__need_schedparam]
27072         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
27073         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27074         (__defined_schedparam): Define to 1.
27075         (__sched_param): New structure, identical to sched_param.
27076         (__need_schedparam): Undefine.
27078 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
27080         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27081         (epoll_create1): Declare.
27083         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27085 2010-08-31  Andreas Schwab  <schwab@redhat.com>
27087         [BZ #7066]
27088         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27089         shifting retval into place.
27091 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
27093         * nis/rpcsvc/nis.h: Update copyright notice.
27094         * nis/rpcsvc/nis.x: Likewise.
27095         * nis/rpcsvc/nis_callback.h: Likewise.
27096         * nis/rpcsvc/nis_callback.x: Likewise.
27097         * nis/rpcsvc/nis_object.x: Likewise.
27098         * nis/rpcsvc/nis_tags.h: Likewise.
27099         * nis/rpcsvc/yp.h: Likewise.
27100         * nis/rpcsvc/yp.x: Likewise.
27101         * nis/rpcsvc/ypupd.h: Likewise.
27102         * nis/yp_xdr.c: Likewise.
27103         * nis/ypupdate_xdr.c: Likewise.
27105         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
27106         mainly the body of pmap_getport.  Add parameters to specify timeouts.
27107         (pmap_getport): Use __libc_rpc_getport.
27108         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27109         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27110         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27112 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
27114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27115         fanotify_mark.
27117 2010-08-27  Roland McGrath  <roland@redhat.com>
27119         * sysdeps/i386/i686/multiarch/Makefile
27120         (CFLAGS-varshift.c): New variable.
27122 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
27124         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27125         * sysdeps/i386/i686/multiarch/varshift.c: New file.
27127         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27129         * sysdeps/x86_64/strlen.S: Minimal code improvement.
27131 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
27133         * sysdeps/x86_64/strlen.S: Unroll the loop.
27134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27135         strlen-sse2 strlen-sse2-bsf.
27136         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27137         __strlen_no_bsf if bit_Slow_BSF is set.
27138         (__strlen_sse42): Removed.
27139         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27140         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27142 2010-08-25  Roland McGrath  <roland@redhat.com>
27144         * sysdeps/x86_64/multiarch/varshift.S: File removed.
27145         * sysdeps/x86_64/multiarch/varshift.c: New file.
27146         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27147         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27148         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27149         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27151 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
27153         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27154         strlen-sse2 strlen-sse2-bsf.
27155         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27156         __strlen_sse2_bsf if bit_Slow_BSF is unset.
27157         (__strlen_sse2): Removed.
27158         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27159         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27161         bit_Slow_BSF for Atom.
27162         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27163         (index_Slow_BSF): Define.
27164         (HAS_SLOW_BSF): Define.
27166 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
27168         [BZ #10851]
27169         * resolv/res_init.c (__res_vinit): When no server address at all
27170         is given default to loopback.
27172 2010-08-24  Roland McGrath  <roland@redhat.com>
27174         * configure.in: Remove config-name.h generation.
27175         * configure: Regenerated.
27176         * config-name.in: File removed.
27177         * scripts/config-uname.sh: New file.
27178         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27179         ($(objdir)config-name.h): New target.
27181         * sunrpc/rpc_parse.h: Avoid nested comment.
27183 2010-08-24  Richard Henderson  <rth@redhat.com>
27184             Ulrich Drepper  <drepper@redhat.com>
27185             H.J. Lu  <hongjiu.lu@intel.com>
27187         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27189         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27190         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
27191         _mm_alignr_epi8 with _mm_loadu_si128.
27192         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27193         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27194         (__m128i_shift_right): Removed.
27195         * sysdeps/i386/i686/multiarch/varshift.h: New file.
27196         * sysdeps/i386/i686/multiarch/varshift.S: New file.
27197         * sysdeps/x86_64/multiarch/varshift.h: New file.
27198         * sysdeps/x86_64/multiarch/varshift.S: New file.
27200 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
27202         * configure.in: Move assembler checks to before sysdep dir checking.
27204 2010-08-20  Petr Baudis  <pasky@suse.cz>
27206         * LICENSES: Sync the sunrpc license.
27208 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
27210         * sunrpc/auth_des.c: Update copyright notice once again.
27211         * sunrpc/auth_none.c: Likewise.
27212         * sunrpc/auth_unix.c: Likewise.
27213         * sunrpc/authdes_prot.c: Likewise.
27214         * sunrpc/authuxprot.c: Likewise.
27215         * sunrpc/bindrsvprt.c: Likewise.
27216         * sunrpc/clnt_gen.c: Likewise.
27217         * sunrpc/clnt_perr.c: Likewise.
27218         * sunrpc/clnt_raw.c: Likewise.
27219         * sunrpc/clnt_simp.c: Likewise.
27220         * sunrpc/clnt_tcp.c: Likewise.
27221         * sunrpc/clnt_udp.c: Likewise.
27222         * sunrpc/clnt_unix.c: Likewise.
27223         * sunrpc/des_crypt.c: Likewise.
27224         * sunrpc/des_soft.c: Likewise.
27225         * sunrpc/get_myaddr.c: Likewise.
27226         * sunrpc/getrpcport.c: Likewise.
27227         * sunrpc/key_call.c: Likewise.
27228         * sunrpc/key_prot.c: Likewise.
27229         * sunrpc/openchild.c: Likewise.
27230         * sunrpc/pm_getmaps.c: Likewise.
27231         * sunrpc/pm_getport.c: Likewise.
27232         * sunrpc/pmap_clnt.c: Likewise.
27233         * sunrpc/pmap_prot.c: Likewise.
27234         * sunrpc/pmap_prot2.c: Likewise.
27235         * sunrpc/pmap_rmt.c: Likewise.
27236         * sunrpc/rpc/auth.h: Likewise.
27237         * sunrpc/rpc/auth_unix.h: Likewise.
27238         * sunrpc/rpc/clnt.h: Likewise.
27239         * sunrpc/rpc/des_crypt.h: Likewise.
27240         * sunrpc/rpc/key_prot.h: Likewise.
27241         * sunrpc/rpc/netdb.h: Likewise.
27242         * sunrpc/rpc/pmap_clnt.h: Likewise.
27243         * sunrpc/rpc/pmap_prot.h: Likewise.
27244         * sunrpc/rpc/pmap_rmt.h: Likewise.
27245         * sunrpc/rpc/rpc.h: Likewise.
27246         * sunrpc/rpc/rpc_des.h: Likewise.
27247         * sunrpc/rpc/rpc_msg.h: Likewise.
27248         * sunrpc/rpc/svc.h: Likewise.
27249         * sunrpc/rpc/svc_auth.h: Likewise.
27250         * sunrpc/rpc/types.h: Likewise.
27251         * sunrpc/rpc/xdr.h: Likewise.
27252         * sunrpc/rpc_clntout.c: Likewise.
27253         * sunrpc/rpc_cmsg.c: Likewise.
27254         * sunrpc/rpc_common.c: Likewise.
27255         * sunrpc/rpc_cout.c: Likewise.
27256         * sunrpc/rpc_dtable.c: Likewise.
27257         * sunrpc/rpc_hout.c: Likewise.
27258         * sunrpc/rpc_main.c: Likewise.
27259         * sunrpc/rpc_parse.c: Likewise.
27260         * sunrpc/rpc_parse.h: Likewise.
27261         * sunrpc/rpc_prot.c: Likewise.
27262         * sunrpc/rpc_sample.c: Likewise.
27263         * sunrpc/rpc_scan.c: Likewise.
27264         * sunrpc/rpc_scan.h: Likewise.
27265         * sunrpc/rpc_svcout.c: Likewise.
27266         * sunrpc/rpc_tblout.c: Likewise.
27267         * sunrpc/rpc_util.c: Likewise.
27268         * sunrpc/rpc_util.h: Likewise.
27269         * sunrpc/rpcinfo.c: Likewise.
27270         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27271         * sunrpc/rpcsvc/key_prot.x: Likewise.
27272         * sunrpc/rpcsvc/klm_prot.x: Likewise.
27273         * sunrpc/rpcsvc/mount.x: Likewise.
27274         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27275         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27276         * sunrpc/rpcsvc/rex.x: Likewise.
27277         * sunrpc/rpcsvc/rstat.x: Likewise.
27278         * sunrpc/rpcsvc/rusers.x: Likewise.
27279         * sunrpc/rpcsvc/sm_inter.x: Likewise.
27280         * sunrpc/rpcsvc/spray.x: Likewise.
27281         * sunrpc/rpcsvc/yppasswd.x: Likewise.
27282         * sunrpc/rtime.c: Likewise.
27283         * sunrpc/svc.c: Likewise.
27284         * sunrpc/svc_auth.c: Likewise.
27285         * sunrpc/svc_authux.c: Likewise.
27286         * sunrpc/svc_raw.c: Likewise.
27287         * sunrpc/svc_run.c: Likewise.
27288         * sunrpc/svc_simple.c: Likewise.
27289         * sunrpc/svc_tcp.c: Likewise.
27290         * sunrpc/svc_udp.c: Likewise.
27291         * sunrpc/svc_unix.c: Likewise.
27292         * sunrpc/svcauth_des.c: Likewise.
27293         * sunrpc/xcrypt.c: Likewise.
27294         * sunrpc/xdr.c: Likewise.
27295         * sunrpc/xdr_array.c: Likewise.
27296         * sunrpc/xdr_float.c: Likewise.
27297         * sunrpc/xdr_mem.c: Likewise.
27298         * sunrpc/xdr_rec.c: Likewise.
27299         * sunrpc/xdr_ref.c: Likewise.
27300         * sunrpc/xdr_sizeof.c: Likewise.
27301         * sunrpc/xdr_stdio.c: Likewise.
27303         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27304         handling.
27306 2010-08-19  Andreas Schwab  <schwab@redhat.com>
27308         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27310 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
27312         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27313         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27314         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27315         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27316         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27317         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27318         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27319         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27320         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27321         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27322         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27323         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27324         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27325         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27327 2010-07-26  Anton Blanchard  <anton@samba.org>
27329         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27330         * malloc/arena.c (heap_trim): Likewise.
27332 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
27334         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27335         here.  Not...
27336         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27337         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27339 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
27341         * sysdeps/i386/elf/Makefile: New file.
27343 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27345         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27346         from fanotify_init.
27347         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27348         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27350 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
27352         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27353         of strncasecmp_l.
27354         * sysdeps/multiarch/strcmp.S: Likewise.
27356 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
27358         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27359         strncase_l-nonascii.
27360         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27361         Add strncase_l-ssse3.
27362         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27363         * sysdeps/x86_64/strcmp.S: Likewise.
27364         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27365         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27366         * sysdeps/x86_64/strncase.S: New file.
27367         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27368         * sysdeps/x86_64/strncase_l.S: New file.
27369         * string/Makefile (strop-tests): Add strncasecmp.
27370         * string/test-strncasecmp.c: New file.
27372         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27373         warning.
27375         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27376         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27378 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
27380         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27382 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
27384         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27385         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27386         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27388 2010-05-01  Alan Modra  <amodra@gmail.com>
27390         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27391         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27392         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27393         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27394         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27395         tidying.  Don't tail-call __sigjmp_save for static lib.
27396         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27397         save location.
27398         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27399         (CALL_MCOUNT): Add eh info, and nop after bl.
27400         (TAIL_CALL_SYSCALL_ERROR): New macro.
27401         (PSEUDO_RET): Use it.
27402         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27403         Correct save location of integer regs and cr.
27404         (_dl_profile_resolve): Correct cr save location.  Delete nops
27405         after bl when SHARED.  Reduce cfi size a little by better
27406         placement of cfi directives.
27407         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27408         make a stack frame.  Instead use parm save area as a temp.
27409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27410         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
27411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27412         Don't make a stack frame for parent, use parm save area.
27413         Increase child stack frame to 112 bytes.  Don't save unused reg,
27414         and adjust reg usage.  Set up cfi on error recovery and
27415         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27417         (__makecontext): Add dummy nop after jump to exit.
27418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27419         Use correct parm save area and cr save, reduce stack frame.
27420         Correct cfi for possible PSEUDO_RET frame setup.
27421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27422         Branch to local label emitted by PSEUDO_RET rather than
27423         __syscall_error.
27425 2010-08-12  Andreas Schwab  <schwab@redhat.com>
27427         [BZ #11904]
27428         * locale/programs/locale.c (print_assignment): New function.
27429         (show_locale_vars): Use it.
27431 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
27433         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27434         field.
27435         (struct statfs64): Likewise.
27436         (_STATFS_F_FLAGS): Define.
27437         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27438         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27439         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27440         (ST_VALID): Define locally.
27441         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27442         __statvfs_getflags, use the provided value.
27443         * sysdeps/unix/sysv/linux/kernel-features.h: Define
27444         __ASSUME_STATFS_F_FLAGS.
27446         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27448         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27449         Add sys/fanotify.h.
27450         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27451         fanotify_mask for GLIBC_2.13.
27452         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27453         fanotify_init and fanotify_mark.
27454         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27455         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27457         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27458         Add prlimit.
27459         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27460         prlimit64 for GLIBC_2.13.
27461         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27462         prlimit64.
27463         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27464         syscall.
27465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27466         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27467         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27468         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27469         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
27470         add prlimit alias.
27471         * sysdeps/unix/sysv/linux/prlimit.c: New file.
27473         [BZ #11903]
27474         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27475         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27477         * nss/Makefile: Add rules to build and run tst-nss-test1.
27478         * shlib-versions: Add entry for libnss_test1.
27479         * nss/nss_test1.c: New file.
27480         * nss/tst-nss-test1.c: New file.
27482         * nss/nsswitch.c (__nss_database_custom): Define new variable.
27483         (__nss_configure_lookup): Set appropriate entry in
27484         __nss_configure_lookup to true.
27485         * nss/nsswitch.h: Define enum with indeces of databases in
27486         databases and __nss_database_custom arrays.  Declare
27487         __nss_database_custom.
27488         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27489         to avoid using nscd when custom rules are installed.
27490         * nss/getXXbyYY_r.c: Likewise.
27491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27493         * nss/nss_files/files-parse.c: Whitespace fixes.
27495 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
27497         [BZ #11883]
27498         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27499         * posix/fnmatch_loop.c: Likewise.
27501 2010-07-17  Andi Kleen  <ak@linux.intel.com>
27503         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27504         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27505         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27506         * Versions.def [GLIBC_2.13]: Add.
27508 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
27510         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27511         Also fail if tpwd after pwuid call is NULL.
27513 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27515         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27516         when converting to ms.
27518 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27520         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27521         EOPNOTSUPP errors with ENOTTY.
27522         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27523         EOPNOTSUPP errors with ENOTTY.
27525 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
27527         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27528         Add strcasecmp_l-ssse3.
27529         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27530         strcasecmp.
27531         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27532         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27533         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27535 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
27537         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27539         * string/Makefile (strop-tests): Add strcasecmp.
27540         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27541         strcasecmp_l-nonascii.
27542         (gen-as-const-headers): Add locale-defines.sym.
27543         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27544         * sysdeps/x86_64/strcasecmp.S: New file.
27545         * sysdeps/x86_64/strcasecmp_l.S: New file.
27546         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27547         * sysdeps/x86_64/locale-defines.sym: New file.
27548         * string/test-strcasecmp.c: New file.
27550         * string/test-strcasestr.c: Test both ends of the range of characters.
27551         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27553 2010-07-29  Roland McGrath  <roland@redhat.com>
27555         [BZ #11856]
27556         * manual/locale.texi (Yes-or-No Questions): Fix example code.
27558 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
27560         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27561         for ld.so.
27563 2010-07-27  Andreas Schwab  <schwab@redhat.com>
27565         * manual/memory.texi (Malloc Tunable Parameters): Document
27566         M_PERTURB.
27568 2010-07-26  Roland McGrath  <roland@redhat.com>
27570         [BZ #11840]
27571         * configure.in (-fgnu89-inline check): Set and substitute
27572         gnu89_inline, not libc_cv_gnu89_inline.
27573         * configure: Regenerated.
27574         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27576 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
27578         * string/test-strnlen.c: New file.
27579         * string/Makefile (strop-tests): Add strnlen.
27580         * string/tester.c (test_strnlen): Add a few more test cases.
27581         * string/tst-strlen.c: Better error reporting.
27583         * sysdeps/x86_64/strnlen.S: New file.
27585 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
27587         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27588         lower-latency instructions.
27590 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
27592         * string/test-strcasestr.c: New file.
27593         * string/test-strstr.c: New file.
27594         * string/Makefile (strop-tests): Add strstr and strcasestr.
27595         * string/str-two-way.h: Don't undefine MAX.
27596         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27598 2010-07-21  Andreas Schwab  <schwab@redhat.com>
27600         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27601         strcasestr-nonascii.
27602         (CFLAGS-strcasestr-nonascii.c): Define.
27603         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27604         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27605         Remove unused attribute.
27607 2010-07-20  Roland McGrath  <roland@redhat.com>
27609         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27610         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
27611         ld.so.cache was broken.  With it, there is no way to disable dsocaps
27612         like LD_HWCAP_MASK can disable hwcaps.
27614 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27616         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27618 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
27620         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27621         call in strcasestr.
27622         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27623         __strcasestr_sse42_nonascii.
27624         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27625         strcasestr-nonascii.c.
27626         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27628 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
27630         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27631         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27632         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27633         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27635 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
27637         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27638         fcntl.
27640 2010-07-06  Andreas Schwab  <schwab@redhat.com>
27642         [BZ #11577]
27643         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27644         dl_signal_cerror.
27646 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
27648         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27649         _PC_PIPE_BUF using F_GETPIPE_SZ.
27651 2010-07-05  Roland McGrath  <roland@redhat.com>
27653         * manual/arith.texi (Rounding Functions): Fix rint description
27654         implicit in round description.
27656 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
27658         * elf/Makefile: Fix linking for a few tests to make recent linker
27659         happy.
27661 2010-06-30  Andreas Schwab  <schwab@redhat.com>
27663         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27664         $(common-objpfx)libc_nonshared.a.
27666 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
27668         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27669         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27670         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27671         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27672         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27673         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27674         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27675         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27690         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27691         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27692         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27693         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27694         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27695         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27696         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27697         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27698         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27699         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27700         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27701         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27717 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27719         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27720         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
27721         * string/memmove.c (memmove): Renamed to ...
27722         (MEMMOVE): ...this.  Default to memmove.
27723         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27724         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27725         (END_CHK): Define.
27726         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27727         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27728         mempcpy-ssse3-back memmove-ssse3-back.
27729         * sysdeps/x86_64/multiarch/bcopy.S: New file .
27730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27731         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27732         * sysdeps/x86_64/multiarch/memcpy.S: New file.
27733         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27734         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27735         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27736         * sysdeps/x86_64/multiarch/memmove.c: New file.
27737         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27738         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27739         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27740         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27741         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27742         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27743         Define.
27744         (index_Fast_Copy_Backward): Define.
27745         (HAS_ARCH_FEATURE): Define.
27746         (HAS_FAST_REP_STRING): Define.
27747         (HAS_FAST_COPY_BACKWARD): Define.
27749 2010-06-21  Andreas Schwab  <schwab@redhat.com>
27751         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27752         Restore proper fallback handling.
27754 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
27756         [BZ #11701]
27757         * posix/group_member.c (__group_member): Correct checking loop.
27759         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27760         OOM in getpwuid_r correctly.  Return error number when the caller
27761         should return, otherwise -1.
27762         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27763         call returning > 0 value.
27764         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27766 2010-06-07  Andreas Schwab  <schwab@redhat.com>
27768         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27769         libc_nonshared.a from targets in modules-names.
27771 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
27773         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27774         requires it.
27776 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
27778         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27779         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27780         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27781         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27783 2010-06-02  Andreas Schwab  <schwab@redhat.com>
27785         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27787 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
27789         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27790         and F_GETPIPE_SZ.
27791         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27792         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27793         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27794         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27795         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27796         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27798 2010-06-14  Roland McGrath  <roland@redhat.com>
27800         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27802 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
27804         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27805         __REDIRECT followed by __THROW.
27806         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27807         * posix/getopt.h (getopt): Likewise.
27809 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
27811         * hurd/lookup-at.c (__file_name_lookup_at): Accept
27812         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
27813         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27814         in AT_FLAGS.
27815         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27816         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27818 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
27820         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27822 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
27824         [BZ #11640]
27825         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27826         Properly check family and model.
27828 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
27830         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27832 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
27834         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27836 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
27838         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27839         symbol reference.
27841 2010-05-19  Andreas Schwab  <schwab@redhat.com>
27843         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27844         symbol reference.
27846 2010-05-21  Andreas Schwab  <schwab@redhat.com>
27848         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27849         and internal_recvmmsg.
27850         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27851         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27852         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27853         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27855         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27856         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27857         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27859 2010-05-20  Andreas Schwab  <schwab@redhat.com>
27861         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27863 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
27865         POWER7 optimizations.
27866         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27867         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27869 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
27871         * version.h: Update for 2.13 development version.
27873 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
27875         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27876         exceptions.  Return 0.
27878 2010-05-07  Roland McGrath  <roland@redhat.com>
27880         * elf/ldconfig.c (main): Add a const.
27882 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
27884         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27885         (args_options): Add no-idn option.
27886         (ahosts_keys_int): Add idn_flags to ai_flags.
27887         (parse_option): Handle 'i' option to clear idn_flags.
27889         * malloc/malloc.c (_int_free): Possible race in the most recently
27890         added check.  Only act on the data if no current modification
27891         happened.
27893 See ChangeLog.17 for earlier changes.